docs.go 617 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027502850295030503150325033503450355036503750385039504050415042504350445045504650475048504950505051505250535054505550565057505850595060506150625063506450655066506750685069507050715072507350745075507650775078507950805081508250835084508550865087508850895090509150925093509450955096509750985099510051015102510351045105510651075108510951105111511251135114511551165117511851195120512151225123512451255126512751285129513051315132513351345135513651375138513951405141514251435144514551465147514851495150515151525153515451555156515751585159516051615162516351645165516651675168516951705171517251735174517551765177517851795180518151825183518451855186518751885189519051915192519351945195519651975198519952005201520252035204520552065207520852095210521152125213521452155216521752185219522052215222522352245225522652275228522952305231523252335234523552365237523852395240524152425243524452455246524752485249525052515252525352545255525652575258525952605261526252635264526552665267526852695270527152725273527452755276527752785279528052815282528352845285528652875288528952905291529252935294529552965297529852995300530153025303530453055306530753085309531053115312531353145315531653175318531953205321532253235324532553265327532853295330533153325333533453355336533753385339534053415342534353445345534653475348534953505351535253535354535553565357535853595360536153625363536453655366536753685369537053715372537353745375537653775378537953805381538253835384538553865387538853895390539153925393539453955396539753985399540054015402540354045405540654075408540954105411541254135414541554165417541854195420542154225423542454255426542754285429543054315432543354345435543654375438543954405441544254435444544554465447544854495450545154525453545454555456545754585459546054615462546354645465546654675468546954705471547254735474547554765477547854795480548154825483548454855486548754885489549054915492549354945495549654975498549955005501550255035504550555065507550855095510551155125513551455155516551755185519552055215522552355245525552655275528552955305531553255335534553555365537553855395540554155425543554455455546554755485549555055515552555355545555555655575558555955605561556255635564556555665567556855695570557155725573557455755576557755785579558055815582558355845585558655875588558955905591559255935594559555965597559855995600560156025603560456055606560756085609561056115612561356145615561656175618561956205621562256235624562556265627562856295630563156325633563456355636563756385639564056415642564356445645564656475648564956505651565256535654565556565657565856595660566156625663566456655666566756685669567056715672567356745675567656775678567956805681568256835684568556865687568856895690569156925693569456955696569756985699570057015702570357045705570657075708570957105711571257135714571557165717571857195720572157225723572457255726572757285729573057315732573357345735573657375738573957405741574257435744574557465747574857495750575157525753575457555756575757585759576057615762576357645765576657675768576957705771577257735774577557765777577857795780578157825783578457855786578757885789579057915792579357945795579657975798579958005801580258035804580558065807580858095810581158125813581458155816581758185819582058215822582358245825582658275828582958305831583258335834583558365837583858395840584158425843584458455846584758485849585058515852585358545855585658575858585958605861586258635864586558665867586858695870587158725873587458755876587758785879588058815882588358845885588658875888588958905891589258935894589558965897589858995900590159025903590459055906590759085909591059115912591359145915591659175918591959205921592259235924592559265927592859295930593159325933593459355936593759385939594059415942594359445945594659475948594959505951595259535954595559565957595859595960596159625963596459655966596759685969597059715972597359745975597659775978597959805981598259835984598559865987598859895990599159925993599459955996599759985999600060016002600360046005600660076008600960106011601260136014601560166017601860196020602160226023602460256026602760286029603060316032603360346035603660376038603960406041604260436044604560466047604860496050605160526053605460556056605760586059606060616062606360646065606660676068606960706071607260736074607560766077607860796080608160826083608460856086608760886089609060916092609360946095609660976098609961006101610261036104610561066107610861096110611161126113611461156116611761186119612061216122612361246125612661276128612961306131613261336134613561366137613861396140614161426143614461456146614761486149615061516152615361546155615661576158615961606161616261636164616561666167616861696170617161726173617461756176617761786179618061816182618361846185618661876188618961906191619261936194619561966197619861996200620162026203620462056206620762086209621062116212621362146215621662176218621962206221622262236224622562266227622862296230623162326233623462356236623762386239624062416242624362446245624662476248624962506251625262536254625562566257625862596260626162626263626462656266626762686269627062716272627362746275627662776278627962806281628262836284628562866287628862896290629162926293629462956296629762986299630063016302630363046305630663076308630963106311631263136314631563166317631863196320632163226323632463256326632763286329633063316332633363346335633663376338633963406341634263436344634563466347634863496350635163526353635463556356635763586359636063616362636363646365636663676368636963706371637263736374637563766377637863796380638163826383638463856386638763886389639063916392639363946395639663976398639964006401640264036404640564066407640864096410641164126413641464156416641764186419642064216422642364246425642664276428642964306431643264336434643564366437643864396440644164426443644464456446644764486449645064516452645364546455645664576458645964606461646264636464646564666467646864696470647164726473647464756476647764786479648064816482648364846485648664876488648964906491649264936494649564966497649864996500650165026503650465056506650765086509651065116512651365146515651665176518651965206521652265236524652565266527652865296530653165326533653465356536653765386539654065416542654365446545654665476548654965506551655265536554655565566557655865596560656165626563656465656566656765686569657065716572657365746575657665776578657965806581658265836584658565866587658865896590659165926593659465956596659765986599660066016602660366046605660666076608660966106611661266136614661566166617661866196620662166226623662466256626662766286629663066316632663366346635663666376638663966406641664266436644664566466647664866496650665166526653665466556656665766586659666066616662666366646665666666676668666966706671667266736674667566766677667866796680668166826683668466856686668766886689669066916692669366946695669666976698669967006701670267036704670567066707670867096710671167126713671467156716671767186719672067216722672367246725672667276728672967306731673267336734673567366737673867396740674167426743674467456746674767486749675067516752675367546755675667576758675967606761676267636764676567666767676867696770677167726773677467756776677767786779678067816782678367846785678667876788678967906791679267936794679567966797679867996800680168026803680468056806680768086809681068116812681368146815681668176818681968206821682268236824682568266827682868296830683168326833683468356836683768386839684068416842684368446845684668476848684968506851685268536854685568566857685868596860686168626863686468656866686768686869687068716872687368746875687668776878687968806881688268836884688568866887688868896890689168926893689468956896689768986899690069016902690369046905690669076908690969106911691269136914691569166917691869196920692169226923692469256926692769286929693069316932693369346935693669376938693969406941694269436944694569466947694869496950695169526953695469556956695769586959696069616962696369646965696669676968696969706971697269736974697569766977697869796980698169826983698469856986698769886989699069916992699369946995699669976998699970007001700270037004700570067007700870097010701170127013701470157016701770187019702070217022702370247025702670277028702970307031703270337034703570367037703870397040704170427043704470457046704770487049705070517052705370547055705670577058705970607061706270637064706570667067706870697070707170727073707470757076707770787079708070817082708370847085708670877088708970907091709270937094709570967097709870997100710171027103710471057106710771087109711071117112711371147115711671177118711971207121712271237124712571267127712871297130713171327133713471357136713771387139714071417142714371447145714671477148714971507151715271537154715571567157715871597160716171627163716471657166716771687169717071717172717371747175717671777178717971807181718271837184718571867187718871897190719171927193719471957196719771987199720072017202720372047205720672077208720972107211721272137214721572167217721872197220722172227223722472257226722772287229723072317232723372347235723672377238723972407241724272437244724572467247724872497250725172527253725472557256725772587259726072617262726372647265726672677268726972707271727272737274727572767277727872797280728172827283728472857286728772887289729072917292729372947295729672977298729973007301730273037304730573067307730873097310731173127313731473157316731773187319732073217322732373247325732673277328732973307331733273337334733573367337733873397340734173427343734473457346734773487349735073517352735373547355735673577358735973607361736273637364736573667367736873697370737173727373737473757376737773787379738073817382738373847385738673877388738973907391739273937394739573967397739873997400740174027403740474057406740774087409741074117412741374147415741674177418741974207421742274237424742574267427742874297430743174327433743474357436743774387439744074417442744374447445744674477448744974507451745274537454745574567457745874597460746174627463746474657466746774687469747074717472747374747475747674777478747974807481748274837484748574867487748874897490749174927493749474957496749774987499750075017502750375047505750675077508750975107511751275137514751575167517751875197520752175227523752475257526752775287529753075317532753375347535753675377538753975407541754275437544754575467547754875497550755175527553755475557556755775587559756075617562756375647565756675677568756975707571757275737574757575767577757875797580758175827583758475857586758775887589759075917592759375947595759675977598759976007601760276037604760576067607760876097610761176127613761476157616761776187619762076217622762376247625762676277628762976307631763276337634763576367637763876397640764176427643764476457646764776487649765076517652765376547655765676577658765976607661766276637664766576667667766876697670767176727673767476757676767776787679768076817682768376847685768676877688768976907691769276937694769576967697769876997700770177027703770477057706770777087709771077117712771377147715771677177718771977207721772277237724772577267727772877297730773177327733773477357736773777387739774077417742774377447745774677477748774977507751775277537754775577567757775877597760776177627763776477657766776777687769777077717772777377747775777677777778777977807781778277837784778577867787778877897790779177927793779477957796779777987799780078017802780378047805780678077808780978107811781278137814781578167817781878197820782178227823782478257826782778287829783078317832783378347835783678377838783978407841784278437844784578467847784878497850785178527853785478557856785778587859786078617862786378647865786678677868786978707871787278737874787578767877787878797880788178827883788478857886788778887889789078917892789378947895789678977898789979007901790279037904790579067907790879097910791179127913791479157916791779187919792079217922792379247925792679277928792979307931793279337934793579367937793879397940794179427943794479457946794779487949795079517952795379547955795679577958795979607961796279637964796579667967796879697970797179727973797479757976797779787979798079817982798379847985798679877988798979907991799279937994799579967997799879998000800180028003800480058006800780088009801080118012801380148015801680178018801980208021802280238024802580268027802880298030803180328033803480358036803780388039804080418042804380448045804680478048804980508051805280538054805580568057805880598060806180628063806480658066806780688069807080718072807380748075807680778078807980808081808280838084808580868087808880898090809180928093809480958096809780988099810081018102810381048105810681078108810981108111811281138114811581168117811881198120812181228123812481258126812781288129813081318132813381348135813681378138813981408141814281438144814581468147814881498150815181528153815481558156815781588159816081618162816381648165816681678168816981708171817281738174817581768177817881798180818181828183818481858186818781888189819081918192819381948195819681978198819982008201820282038204820582068207820882098210821182128213821482158216821782188219822082218222822382248225822682278228822982308231823282338234823582368237823882398240824182428243824482458246824782488249825082518252825382548255825682578258825982608261826282638264826582668267826882698270827182728273827482758276827782788279828082818282828382848285828682878288828982908291829282938294829582968297829882998300830183028303830483058306830783088309831083118312831383148315831683178318831983208321832283238324832583268327832883298330833183328333833483358336833783388339834083418342834383448345834683478348834983508351835283538354835583568357835883598360836183628363836483658366836783688369837083718372837383748375837683778378837983808381838283838384838583868387838883898390839183928393839483958396839783988399840084018402840384048405840684078408840984108411841284138414841584168417841884198420842184228423842484258426842784288429843084318432843384348435843684378438843984408441844284438444844584468447844884498450845184528453845484558456845784588459846084618462846384648465846684678468846984708471847284738474847584768477847884798480848184828483848484858486848784888489849084918492849384948495849684978498849985008501850285038504850585068507850885098510851185128513851485158516851785188519852085218522852385248525852685278528852985308531853285338534853585368537853885398540854185428543854485458546854785488549855085518552855385548555855685578558855985608561856285638564856585668567856885698570857185728573857485758576857785788579858085818582858385848585858685878588858985908591859285938594859585968597859885998600860186028603860486058606860786088609861086118612861386148615861686178618861986208621862286238624862586268627862886298630863186328633863486358636863786388639864086418642864386448645864686478648864986508651865286538654865586568657865886598660866186628663866486658666866786688669867086718672867386748675867686778678867986808681868286838684868586868687868886898690869186928693869486958696869786988699870087018702870387048705870687078708870987108711871287138714871587168717871887198720872187228723872487258726872787288729873087318732873387348735873687378738873987408741874287438744874587468747874887498750875187528753875487558756875787588759876087618762876387648765876687678768876987708771877287738774877587768777877887798780878187828783878487858786878787888789879087918792879387948795879687978798879988008801880288038804880588068807880888098810881188128813881488158816881788188819882088218822882388248825882688278828882988308831883288338834883588368837883888398840884188428843884488458846884788488849885088518852885388548855885688578858885988608861886288638864886588668867886888698870887188728873887488758876887788788879888088818882888388848885888688878888888988908891889288938894889588968897889888998900890189028903890489058906890789088909891089118912891389148915891689178918891989208921892289238924892589268927892889298930893189328933893489358936893789388939894089418942894389448945894689478948894989508951895289538954895589568957895889598960896189628963896489658966896789688969897089718972897389748975897689778978897989808981898289838984898589868987898889898990899189928993899489958996899789988999900090019002900390049005900690079008900990109011901290139014901590169017901890199020902190229023902490259026902790289029903090319032903390349035903690379038903990409041904290439044904590469047904890499050905190529053905490559056905790589059906090619062906390649065906690679068906990709071907290739074907590769077907890799080908190829083908490859086908790889089909090919092909390949095909690979098909991009101910291039104910591069107910891099110911191129113911491159116911791189119912091219122912391249125912691279128912991309131913291339134913591369137913891399140914191429143914491459146914791489149915091519152915391549155915691579158915991609161916291639164916591669167916891699170917191729173917491759176917791789179918091819182918391849185918691879188918991909191919291939194919591969197919891999200920192029203920492059206920792089209921092119212921392149215921692179218921992209221922292239224922592269227922892299230923192329233923492359236923792389239924092419242924392449245924692479248924992509251925292539254925592569257925892599260926192629263926492659266926792689269927092719272927392749275927692779278927992809281928292839284928592869287928892899290929192929293929492959296929792989299930093019302930393049305930693079308930993109311931293139314931593169317931893199320932193229323932493259326932793289329933093319332933393349335933693379338933993409341934293439344934593469347934893499350935193529353935493559356935793589359936093619362936393649365936693679368936993709371937293739374937593769377937893799380938193829383938493859386938793889389939093919392939393949395939693979398939994009401940294039404940594069407940894099410941194129413941494159416941794189419942094219422942394249425942694279428942994309431943294339434943594369437943894399440944194429443944494459446944794489449945094519452945394549455945694579458945994609461946294639464946594669467946894699470947194729473947494759476947794789479948094819482948394849485948694879488948994909491949294939494949594969497949894999500950195029503950495059506950795089509951095119512951395149515951695179518951995209521952295239524952595269527952895299530953195329533953495359536953795389539954095419542954395449545954695479548954995509551955295539554955595569557955895599560956195629563956495659566956795689569957095719572957395749575957695779578957995809581958295839584958595869587958895899590959195929593959495959596959795989599960096019602960396049605960696079608960996109611961296139614961596169617961896199620962196229623962496259626962796289629963096319632963396349635963696379638963996409641964296439644964596469647964896499650965196529653965496559656965796589659966096619662966396649665966696679668966996709671967296739674967596769677967896799680968196829683968496859686968796889689969096919692969396949695969696979698969997009701970297039704970597069707970897099710971197129713971497159716971797189719972097219722972397249725972697279728972997309731973297339734973597369737973897399740974197429743974497459746974797489749975097519752975397549755975697579758975997609761976297639764976597669767976897699770977197729773977497759776977797789779978097819782978397849785978697879788978997909791979297939794979597969797979897999800980198029803980498059806980798089809981098119812981398149815981698179818981998209821982298239824982598269827982898299830983198329833983498359836983798389839984098419842984398449845984698479848984998509851985298539854985598569857985898599860986198629863986498659866986798689869987098719872987398749875987698779878987998809881988298839884988598869887988898899890989198929893989498959896989798989899990099019902990399049905990699079908990999109911991299139914991599169917991899199920992199229923992499259926992799289929993099319932993399349935993699379938993999409941994299439944994599469947994899499950995199529953995499559956995799589959996099619962996399649965996699679968996999709971997299739974997599769977997899799980998199829983998499859986998799889989999099919992999399949995999699979998999910000100011000210003100041000510006100071000810009100101001110012100131001410015100161001710018100191002010021100221002310024100251002610027100281002910030100311003210033100341003510036100371003810039100401004110042100431004410045100461004710048100491005010051100521005310054100551005610057100581005910060100611006210063100641006510066100671006810069100701007110072100731007410075100761007710078100791008010081100821008310084100851008610087100881008910090100911009210093100941009510096100971009810099101001010110102101031010410105101061010710108101091011010111101121011310114101151011610117101181011910120101211012210123101241012510126101271012810129101301013110132101331013410135101361013710138101391014010141101421014310144101451014610147101481014910150101511015210153101541015510156101571015810159101601016110162101631016410165101661016710168101691017010171101721017310174101751017610177101781017910180101811018210183101841018510186101871018810189101901019110192101931019410195101961019710198101991020010201102021020310204102051020610207102081020910210102111021210213102141021510216102171021810219102201022110222102231022410225102261022710228102291023010231102321023310234102351023610237102381023910240102411024210243102441024510246102471024810249102501025110252102531025410255102561025710258102591026010261102621026310264102651026610267102681026910270102711027210273102741027510276102771027810279102801028110282102831028410285102861028710288102891029010291102921029310294102951029610297102981029910300103011030210303103041030510306103071030810309103101031110312103131031410315103161031710318103191032010321103221032310324103251032610327103281032910330103311033210333103341033510336103371033810339103401034110342103431034410345103461034710348103491035010351103521035310354103551035610357103581035910360103611036210363103641036510366103671036810369103701037110372103731037410375103761037710378103791038010381103821038310384103851038610387103881038910390103911039210393103941039510396103971039810399104001040110402104031040410405104061040710408104091041010411104121041310414104151041610417104181041910420104211042210423104241042510426104271042810429104301043110432104331043410435104361043710438104391044010441104421044310444104451044610447104481044910450104511045210453104541045510456104571045810459104601046110462104631046410465104661046710468104691047010471104721047310474104751047610477104781047910480104811048210483104841048510486104871048810489104901049110492104931049410495104961049710498104991050010501105021050310504105051050610507105081050910510105111051210513105141051510516105171051810519105201052110522105231052410525105261052710528105291053010531105321053310534105351053610537105381053910540105411054210543105441054510546105471054810549105501055110552105531055410555105561055710558105591056010561105621056310564105651056610567105681056910570105711057210573105741057510576105771057810579105801058110582105831058410585105861058710588105891059010591105921059310594105951059610597105981059910600106011060210603106041060510606106071060810609106101061110612106131061410615106161061710618106191062010621106221062310624106251062610627106281062910630106311063210633106341063510636106371063810639106401064110642106431064410645106461064710648106491065010651106521065310654106551065610657106581065910660106611066210663106641066510666106671066810669106701067110672106731067410675106761067710678106791068010681106821068310684106851068610687106881068910690106911069210693106941069510696106971069810699107001070110702107031070410705107061070710708107091071010711107121071310714107151071610717107181071910720107211072210723107241072510726107271072810729107301073110732107331073410735107361073710738107391074010741107421074310744107451074610747107481074910750107511075210753107541075510756107571075810759107601076110762107631076410765107661076710768107691077010771107721077310774107751077610777107781077910780107811078210783107841078510786107871078810789107901079110792107931079410795107961079710798107991080010801108021080310804108051080610807108081080910810108111081210813108141081510816108171081810819108201082110822108231082410825108261082710828108291083010831108321083310834108351083610837108381083910840108411084210843108441084510846108471084810849108501085110852108531085410855108561085710858108591086010861108621086310864108651086610867108681086910870108711087210873108741087510876108771087810879108801088110882108831088410885108861088710888108891089010891108921089310894108951089610897108981089910900109011090210903109041090510906109071090810909109101091110912109131091410915109161091710918109191092010921109221092310924109251092610927109281092910930109311093210933109341093510936109371093810939109401094110942109431094410945109461094710948109491095010951109521095310954109551095610957109581095910960109611096210963109641096510966109671096810969109701097110972109731097410975109761097710978109791098010981109821098310984109851098610987109881098910990109911099210993109941099510996109971099810999110001100111002110031100411005110061100711008110091101011011110121101311014110151101611017110181101911020110211102211023110241102511026110271102811029110301103111032110331103411035110361103711038110391104011041110421104311044110451104611047110481104911050110511105211053110541105511056110571105811059110601106111062110631106411065110661106711068110691107011071110721107311074110751107611077110781107911080110811108211083110841108511086110871108811089110901109111092110931109411095110961109711098110991110011101111021110311104111051110611107111081110911110111111111211113111141111511116111171111811119111201112111122111231112411125111261112711128111291113011131111321113311134111351113611137111381113911140111411114211143111441114511146111471114811149111501115111152111531115411155111561115711158111591116011161111621116311164111651116611167111681116911170111711117211173111741117511176111771117811179111801118111182111831118411185111861118711188111891119011191111921119311194111951119611197111981119911200112011120211203112041120511206112071120811209112101121111212112131121411215112161121711218112191122011221112221122311224112251122611227112281122911230112311123211233112341123511236112371123811239112401124111242112431124411245112461124711248112491125011251112521125311254112551125611257112581125911260112611126211263112641126511266112671126811269112701127111272112731127411275112761127711278112791128011281112821128311284112851128611287112881128911290112911129211293112941129511296112971129811299113001130111302113031130411305113061130711308113091131011311113121131311314113151131611317113181131911320113211132211323113241132511326113271132811329113301133111332113331133411335113361133711338113391134011341113421134311344113451134611347113481134911350113511135211353113541135511356113571135811359113601136111362113631136411365113661136711368113691137011371113721137311374113751137611377113781137911380113811138211383113841138511386113871138811389113901139111392113931139411395113961139711398113991140011401114021140311404114051140611407114081140911410114111141211413114141141511416114171141811419114201142111422114231142411425114261142711428114291143011431114321143311434114351143611437114381143911440114411144211443114441144511446114471144811449114501145111452114531145411455114561145711458114591146011461114621146311464114651146611467114681146911470114711147211473114741147511476114771147811479114801148111482114831148411485114861148711488114891149011491114921149311494114951149611497114981149911500115011150211503115041150511506115071150811509115101151111512115131151411515115161151711518115191152011521115221152311524115251152611527115281152911530115311153211533115341153511536115371153811539115401154111542115431154411545115461154711548115491155011551115521155311554115551155611557115581155911560115611156211563115641156511566115671156811569115701157111572115731157411575115761157711578115791158011581115821158311584115851158611587115881158911590115911159211593115941159511596115971159811599116001160111602116031160411605116061160711608116091161011611116121161311614116151161611617116181161911620116211162211623116241162511626116271162811629116301163111632116331163411635116361163711638116391164011641116421164311644116451164611647116481164911650116511165211653116541165511656116571165811659116601166111662116631166411665116661166711668116691167011671116721167311674116751167611677116781167911680116811168211683116841168511686116871168811689116901169111692116931169411695116961169711698116991170011701117021170311704117051170611707117081170911710117111171211713117141171511716117171171811719117201172111722117231172411725117261172711728117291173011731117321173311734117351173611737117381173911740117411174211743117441174511746117471174811749117501175111752117531175411755117561175711758117591176011761117621176311764117651176611767117681176911770117711177211773117741177511776117771177811779117801178111782117831178411785117861178711788117891179011791117921179311794117951179611797117981179911800118011180211803118041180511806118071180811809118101181111812118131181411815118161181711818118191182011821118221182311824118251182611827118281182911830118311183211833118341183511836118371183811839118401184111842118431184411845118461184711848118491185011851118521185311854118551185611857118581185911860118611186211863118641186511866118671186811869118701187111872118731187411875118761187711878118791188011881118821188311884118851188611887118881188911890118911189211893118941189511896118971189811899119001190111902119031190411905119061190711908119091191011911119121191311914119151191611917119181191911920119211192211923119241192511926119271192811929119301193111932119331193411935119361193711938119391194011941119421194311944119451194611947119481194911950119511195211953119541195511956119571195811959119601196111962119631196411965119661196711968119691197011971119721197311974119751197611977119781197911980119811198211983119841198511986119871198811989119901199111992119931199411995119961199711998119991200012001120021200312004120051200612007120081200912010120111201212013120141201512016120171201812019120201202112022120231202412025120261202712028120291203012031120321203312034120351203612037120381203912040120411204212043120441204512046120471204812049120501205112052120531205412055120561205712058120591206012061120621206312064120651206612067120681206912070120711207212073120741207512076120771207812079120801208112082120831208412085120861208712088120891209012091120921209312094120951209612097120981209912100121011210212103121041210512106121071210812109121101211112112121131211412115121161211712118121191212012121121221212312124121251212612127121281212912130121311213212133121341213512136121371213812139121401214112142121431214412145121461214712148121491215012151121521215312154121551215612157121581215912160121611216212163121641216512166121671216812169121701217112172121731217412175121761217712178121791218012181121821218312184121851218612187121881218912190121911219212193121941219512196121971219812199122001220112202122031220412205122061220712208122091221012211122121221312214122151221612217122181221912220122211222212223122241222512226122271222812229122301223112232122331223412235122361223712238122391224012241122421224312244122451224612247122481224912250122511225212253122541225512256122571225812259122601226112262122631226412265122661226712268122691227012271122721227312274122751227612277122781227912280122811228212283122841228512286122871228812289122901229112292122931229412295122961229712298122991230012301123021230312304123051230612307123081230912310123111231212313123141231512316123171231812319123201232112322123231232412325123261232712328123291233012331123321233312334123351233612337123381233912340123411234212343123441234512346123471234812349123501235112352123531235412355123561235712358123591236012361123621236312364123651236612367123681236912370123711237212373123741237512376123771237812379123801238112382123831238412385123861238712388123891239012391123921239312394123951239612397123981239912400124011240212403124041240512406124071240812409124101241112412124131241412415124161241712418124191242012421124221242312424124251242612427124281242912430124311243212433124341243512436124371243812439124401244112442124431244412445124461244712448124491245012451124521245312454124551245612457124581245912460124611246212463124641246512466124671246812469124701247112472124731247412475124761247712478124791248012481124821248312484124851248612487124881248912490124911249212493124941249512496124971249812499125001250112502125031250412505125061250712508125091251012511125121251312514125151251612517125181251912520125211252212523125241252512526125271252812529125301253112532125331253412535125361253712538125391254012541125421254312544125451254612547125481254912550125511255212553125541255512556125571255812559125601256112562125631256412565125661256712568125691257012571125721257312574125751257612577125781257912580125811258212583125841258512586125871258812589125901259112592125931259412595125961259712598125991260012601126021260312604126051260612607126081260912610126111261212613126141261512616126171261812619126201262112622126231262412625126261262712628126291263012631126321263312634126351263612637126381263912640126411264212643126441264512646126471264812649126501265112652126531265412655126561265712658126591266012661126621266312664126651266612667126681266912670126711267212673126741267512676126771267812679126801268112682126831268412685126861268712688126891269012691126921269312694126951269612697126981269912700127011270212703127041270512706127071270812709127101271112712127131271412715127161271712718127191272012721127221272312724127251272612727127281272912730127311273212733127341273512736127371273812739127401274112742127431274412745127461274712748127491275012751127521275312754127551275612757127581275912760127611276212763127641276512766127671276812769127701277112772127731277412775127761277712778127791278012781127821278312784127851278612787127881278912790127911279212793127941279512796127971279812799128001280112802128031280412805128061280712808128091281012811128121281312814128151281612817128181281912820128211282212823128241282512826128271282812829128301283112832128331283412835128361283712838128391284012841128421284312844128451284612847128481284912850128511285212853128541285512856128571285812859128601286112862128631286412865128661286712868128691287012871128721287312874128751287612877128781287912880128811288212883128841288512886128871288812889128901289112892128931289412895128961289712898128991290012901129021290312904129051290612907129081290912910129111291212913129141291512916129171291812919129201292112922129231292412925129261292712928129291293012931129321293312934129351293612937129381293912940129411294212943129441294512946129471294812949129501295112952129531295412955129561295712958129591296012961129621296312964129651296612967129681296912970129711297212973129741297512976129771297812979129801298112982129831298412985129861298712988129891299012991129921299312994129951299612997129981299913000130011300213003130041300513006130071300813009130101301113012130131301413015130161301713018130191302013021130221302313024130251302613027130281302913030130311303213033130341303513036130371303813039130401304113042130431304413045130461304713048130491305013051130521305313054130551305613057130581305913060130611306213063130641306513066130671306813069130701307113072130731307413075130761307713078130791308013081130821308313084130851308613087130881308913090130911309213093130941309513096130971309813099131001310113102131031310413105131061310713108131091311013111131121311313114131151311613117131181311913120131211312213123131241312513126131271312813129131301313113132131331313413135131361313713138131391314013141131421314313144131451314613147131481314913150131511315213153131541315513156131571315813159131601316113162131631316413165131661316713168131691317013171131721317313174131751317613177131781317913180131811318213183131841318513186131871318813189131901319113192131931319413195131961319713198131991320013201132021320313204132051320613207132081320913210132111321213213132141321513216132171321813219132201322113222132231322413225132261322713228132291323013231132321323313234132351323613237132381323913240132411324213243132441324513246132471324813249132501325113252132531325413255132561325713258132591326013261132621326313264132651326613267132681326913270132711327213273132741327513276132771327813279132801328113282132831328413285132861328713288132891329013291132921329313294132951329613297132981329913300133011330213303133041330513306133071330813309133101331113312133131331413315133161331713318133191332013321133221332313324133251332613327133281332913330133311333213333133341333513336133371333813339133401334113342133431334413345133461334713348133491335013351133521335313354133551335613357133581335913360133611336213363133641336513366133671336813369133701337113372133731337413375133761337713378133791338013381133821338313384133851338613387133881338913390133911339213393133941339513396133971339813399134001340113402134031340413405134061340713408134091341013411134121341313414134151341613417134181341913420134211342213423134241342513426134271342813429134301343113432134331343413435134361343713438134391344013441134421344313444134451344613447134481344913450134511345213453134541345513456134571345813459134601346113462134631346413465134661346713468134691347013471134721347313474134751347613477134781347913480134811348213483134841348513486134871348813489134901349113492134931349413495134961349713498134991350013501135021350313504135051350613507135081350913510135111351213513135141351513516135171351813519135201352113522135231352413525135261352713528135291353013531135321353313534135351353613537135381353913540135411354213543135441354513546135471354813549135501355113552135531355413555135561355713558135591356013561135621356313564135651356613567135681356913570135711357213573135741357513576135771357813579135801358113582135831358413585135861358713588135891359013591135921359313594135951359613597135981359913600136011360213603136041360513606136071360813609136101361113612136131361413615136161361713618136191362013621136221362313624136251362613627136281362913630136311363213633136341363513636136371363813639136401364113642136431364413645136461364713648136491365013651136521365313654136551365613657136581365913660136611366213663136641366513666136671366813669136701367113672136731367413675136761367713678136791368013681136821368313684136851368613687136881368913690136911369213693136941369513696136971369813699137001370113702137031370413705137061370713708137091371013711137121371313714137151371613717137181371913720137211372213723137241372513726137271372813729137301373113732137331373413735137361373713738137391374013741137421374313744137451374613747137481374913750137511375213753137541375513756137571375813759137601376113762137631376413765137661376713768137691377013771137721377313774137751377613777137781377913780137811378213783137841378513786137871378813789137901379113792137931379413795137961379713798137991380013801138021380313804138051380613807138081380913810138111381213813138141381513816138171381813819138201382113822138231382413825138261382713828138291383013831138321383313834138351383613837138381383913840138411384213843138441384513846138471384813849138501385113852138531385413855138561385713858138591386013861138621386313864138651386613867138681386913870138711387213873138741387513876138771387813879138801388113882138831388413885138861388713888138891389013891138921389313894138951389613897138981389913900139011390213903139041390513906139071390813909139101391113912139131391413915139161391713918139191392013921139221392313924139251392613927139281392913930139311393213933139341393513936139371393813939139401394113942139431394413945139461394713948139491395013951139521395313954139551395613957139581395913960139611396213963139641396513966139671396813969139701397113972139731397413975139761397713978139791398013981139821398313984139851398613987139881398913990139911399213993139941399513996139971399813999140001400114002140031400414005140061400714008140091401014011140121401314014140151401614017140181401914020140211402214023140241402514026140271402814029140301403114032140331403414035140361403714038140391404014041140421404314044140451404614047140481404914050140511405214053140541405514056140571405814059140601406114062140631406414065140661406714068140691407014071140721407314074140751407614077140781407914080140811408214083140841408514086140871408814089140901409114092140931409414095140961409714098140991410014101141021410314104141051410614107141081410914110141111411214113141141411514116141171411814119141201412114122141231412414125141261412714128141291413014131141321413314134141351413614137141381413914140141411414214143141441414514146141471414814149141501415114152141531415414155141561415714158141591416014161141621416314164141651416614167141681416914170141711417214173141741417514176141771417814179141801418114182141831418414185141861418714188141891419014191141921419314194141951419614197141981419914200142011420214203142041420514206142071420814209142101421114212142131421414215142161421714218142191422014221142221422314224142251422614227142281422914230142311423214233142341423514236142371423814239142401424114242142431424414245142461424714248142491425014251142521425314254142551425614257142581425914260142611426214263142641426514266142671426814269142701427114272142731427414275142761427714278142791428014281142821428314284142851428614287142881428914290142911429214293142941429514296142971429814299143001430114302143031430414305143061430714308143091431014311143121431314314143151431614317143181431914320143211432214323143241432514326143271432814329143301433114332143331433414335143361433714338143391434014341143421434314344143451434614347143481434914350143511435214353143541435514356143571435814359143601436114362143631436414365143661436714368143691437014371143721437314374143751437614377143781437914380143811438214383143841438514386143871438814389143901439114392143931439414395143961439714398143991440014401144021440314404144051440614407144081440914410144111441214413144141441514416144171441814419144201442114422144231442414425144261442714428144291443014431144321443314434144351443614437144381443914440144411444214443144441444514446144471444814449144501445114452144531445414455144561445714458144591446014461144621446314464144651446614467144681446914470144711447214473144741447514476144771447814479144801448114482144831448414485144861448714488144891449014491144921449314494144951449614497144981449914500145011450214503145041450514506145071450814509145101451114512145131451414515145161451714518145191452014521145221452314524145251452614527145281452914530145311453214533145341453514536145371453814539145401454114542145431454414545145461454714548145491455014551145521455314554145551455614557145581455914560145611456214563145641456514566145671456814569145701457114572145731457414575145761457714578145791458014581145821458314584145851458614587145881458914590145911459214593145941459514596145971459814599146001460114602146031460414605146061460714608146091461014611146121461314614146151461614617146181461914620146211462214623146241462514626146271462814629146301463114632146331463414635146361463714638146391464014641146421464314644146451464614647146481464914650146511465214653146541465514656146571465814659146601466114662146631466414665146661466714668146691467014671146721467314674146751467614677146781467914680146811468214683146841468514686146871468814689146901469114692146931469414695146961469714698146991470014701147021470314704147051470614707147081470914710147111471214713147141471514716147171471814719147201472114722147231472414725147261472714728147291473014731147321473314734147351473614737147381473914740147411474214743147441474514746147471474814749147501475114752147531475414755147561475714758147591476014761147621476314764147651476614767147681476914770147711477214773147741477514776147771477814779147801478114782147831478414785147861478714788147891479014791147921479314794147951479614797147981479914800148011480214803148041480514806148071480814809148101481114812148131481414815148161481714818148191482014821148221482314824148251482614827148281482914830148311483214833148341483514836148371483814839148401484114842148431484414845148461484714848148491485014851148521485314854148551485614857148581485914860148611486214863148641486514866148671486814869148701487114872148731487414875148761487714878148791488014881148821488314884148851488614887148881488914890148911489214893148941489514896148971489814899149001490114902149031490414905149061490714908149091491014911149121491314914149151491614917149181491914920149211492214923149241492514926149271492814929149301493114932149331493414935149361493714938149391494014941149421494314944149451494614947149481494914950149511495214953149541495514956149571495814959149601496114962149631496414965149661496714968149691497014971149721497314974149751497614977149781497914980149811498214983149841498514986149871498814989149901499114992149931499414995149961499714998149991500015001150021500315004150051500615007150081500915010150111501215013150141501515016150171501815019150201502115022150231502415025150261502715028150291503015031150321503315034150351503615037150381503915040150411504215043150441504515046150471504815049150501505115052150531505415055150561505715058150591506015061150621506315064150651506615067150681506915070150711507215073150741507515076150771507815079150801508115082150831508415085150861508715088150891509015091150921509315094150951509615097150981509915100151011510215103151041510515106151071510815109151101511115112151131511415115151161511715118151191512015121151221512315124151251512615127151281512915130151311513215133151341513515136151371513815139151401514115142151431514415145151461514715148151491515015151151521515315154151551515615157151581515915160151611516215163151641516515166151671516815169151701517115172151731517415175151761517715178151791518015181151821518315184151851518615187151881518915190151911519215193151941519515196151971519815199152001520115202152031520415205152061520715208152091521015211152121521315214152151521615217152181521915220152211522215223152241522515226152271522815229152301523115232152331523415235152361523715238152391524015241152421524315244152451524615247152481524915250152511525215253152541525515256152571525815259152601526115262152631526415265152661526715268152691527015271152721527315274152751527615277152781527915280152811528215283152841528515286152871528815289152901529115292152931529415295152961529715298152991530015301153021530315304153051530615307153081530915310153111531215313153141531515316153171531815319153201532115322153231532415325153261532715328153291533015331153321533315334153351533615337153381533915340153411534215343153441534515346153471534815349153501535115352153531535415355153561535715358153591536015361153621536315364153651536615367153681536915370153711537215373153741537515376153771537815379153801538115382153831538415385153861538715388153891539015391153921539315394153951539615397153981539915400154011540215403154041540515406154071540815409154101541115412154131541415415154161541715418154191542015421154221542315424154251542615427154281542915430154311543215433154341543515436154371543815439154401544115442154431544415445154461544715448154491545015451154521545315454154551545615457154581545915460154611546215463154641546515466154671546815469154701547115472154731547415475154761547715478154791548015481154821548315484154851548615487154881548915490154911549215493154941549515496154971549815499155001550115502155031550415505155061550715508155091551015511155121551315514155151551615517155181551915520155211552215523155241552515526155271552815529155301553115532155331553415535155361553715538155391554015541155421554315544155451554615547155481554915550155511555215553155541555515556155571555815559155601556115562155631556415565155661556715568155691557015571155721557315574155751557615577155781557915580155811558215583155841558515586155871558815589155901559115592155931559415595155961559715598155991560015601156021560315604156051560615607156081560915610156111561215613156141561515616156171561815619156201562115622156231562415625156261562715628156291563015631156321563315634156351563615637156381563915640156411564215643156441564515646156471564815649156501565115652156531565415655156561565715658156591566015661156621566315664156651566615667156681566915670156711567215673156741567515676156771567815679156801568115682156831568415685156861568715688156891569015691156921569315694156951569615697156981569915700157011570215703157041570515706157071570815709157101571115712157131571415715157161571715718157191572015721157221572315724157251572615727157281572915730157311573215733157341573515736157371573815739157401574115742157431574415745157461574715748157491575015751157521575315754157551575615757157581575915760157611576215763157641576515766157671576815769157701577115772157731577415775157761577715778157791578015781157821578315784157851578615787157881578915790157911579215793157941579515796157971579815799158001580115802158031580415805158061580715808158091581015811158121581315814158151581615817158181581915820158211582215823158241582515826158271582815829158301583115832158331583415835158361583715838158391584015841158421584315844158451584615847158481584915850158511585215853158541585515856158571585815859158601586115862158631586415865158661586715868158691587015871158721587315874158751587615877158781587915880158811588215883158841588515886158871588815889158901589115892158931589415895158961589715898158991590015901159021590315904159051590615907159081590915910159111591215913159141591515916159171591815919159201592115922159231592415925159261592715928159291593015931159321593315934159351593615937159381593915940159411594215943159441594515946159471594815949159501595115952159531595415955159561595715958159591596015961159621596315964159651596615967159681596915970159711597215973159741597515976159771597815979159801598115982159831598415985159861598715988159891599015991159921599315994159951599615997159981599916000160011600216003160041600516006160071600816009160101601116012160131601416015160161601716018160191602016021160221602316024160251602616027160281602916030160311603216033160341603516036160371603816039160401604116042160431604416045160461604716048160491605016051160521605316054160551605616057160581605916060160611606216063160641606516066160671606816069160701607116072160731607416075160761607716078160791608016081160821608316084160851608616087160881608916090160911609216093160941609516096160971609816099161001610116102161031610416105161061610716108161091611016111161121611316114161151611616117161181611916120161211612216123161241612516126161271612816129161301613116132161331613416135161361613716138161391614016141161421614316144161451614616147161481614916150161511615216153161541615516156161571615816159161601616116162161631616416165161661616716168161691617016171161721617316174161751617616177161781617916180161811618216183161841618516186161871618816189161901619116192161931619416195161961619716198161991620016201162021620316204162051620616207162081620916210162111621216213162141621516216162171621816219162201622116222162231622416225162261622716228162291623016231162321623316234162351623616237162381623916240162411624216243162441624516246162471624816249162501625116252162531625416255162561625716258162591626016261162621626316264162651626616267162681626916270162711627216273162741627516276162771627816279162801628116282162831628416285162861628716288162891629016291162921629316294162951629616297162981629916300163011630216303163041630516306163071630816309163101631116312163131631416315163161631716318163191632016321163221632316324163251632616327163281632916330163311633216333163341633516336163371633816339163401634116342163431634416345163461634716348163491635016351163521635316354163551635616357163581635916360163611636216363163641636516366163671636816369163701637116372163731637416375163761637716378163791638016381163821638316384163851638616387163881638916390163911639216393163941639516396163971639816399164001640116402164031640416405164061640716408164091641016411164121641316414164151641616417164181641916420164211642216423164241642516426164271642816429164301643116432164331643416435164361643716438164391644016441164421644316444164451644616447164481644916450164511645216453164541645516456164571645816459164601646116462164631646416465164661646716468164691647016471164721647316474164751647616477164781647916480164811648216483164841648516486164871648816489164901649116492164931649416495164961649716498164991650016501165021650316504165051650616507165081650916510165111651216513165141651516516165171651816519165201652116522165231652416525165261652716528165291653016531165321653316534165351653616537165381653916540165411654216543165441654516546165471654816549165501655116552165531655416555165561655716558165591656016561165621656316564165651656616567165681656916570165711657216573165741657516576165771657816579165801658116582165831658416585165861658716588165891659016591165921659316594165951659616597165981659916600166011660216603166041660516606166071660816609166101661116612166131661416615166161661716618166191662016621166221662316624166251662616627166281662916630166311663216633166341663516636166371663816639166401664116642166431664416645166461664716648166491665016651166521665316654166551665616657166581665916660166611666216663166641666516666166671666816669166701667116672166731667416675166761667716678166791668016681166821668316684166851668616687166881668916690166911669216693166941669516696166971669816699167001670116702167031670416705167061670716708167091671016711167121671316714167151671616717167181671916720167211672216723167241672516726167271672816729167301673116732167331673416735167361673716738167391674016741167421674316744167451674616747167481674916750167511675216753167541675516756167571675816759167601676116762167631676416765167661676716768167691677016771167721677316774167751677616777167781677916780167811678216783167841678516786167871678816789167901679116792167931679416795167961679716798167991680016801168021680316804168051680616807168081680916810168111681216813168141681516816168171681816819168201682116822168231682416825168261682716828168291683016831168321683316834168351683616837168381683916840168411684216843168441684516846168471684816849168501685116852168531685416855168561685716858168591686016861168621686316864168651686616867168681686916870168711687216873168741687516876168771687816879168801688116882168831688416885168861688716888168891689016891168921689316894168951689616897168981689916900169011690216903169041690516906169071690816909169101691116912169131691416915169161691716918169191692016921169221692316924169251692616927169281692916930169311693216933169341693516936169371693816939169401694116942169431694416945169461694716948169491695016951169521695316954169551695616957169581695916960169611696216963169641696516966169671696816969169701697116972169731697416975169761697716978169791698016981169821698316984169851698616987169881698916990169911699216993169941699516996169971699816999170001700117002170031700417005170061700717008170091701017011170121701317014170151701617017170181701917020170211702217023170241702517026170271702817029170301703117032170331703417035170361703717038170391704017041170421704317044170451704617047170481704917050170511705217053170541705517056170571705817059170601706117062170631706417065170661706717068170691707017071170721707317074170751707617077170781707917080170811708217083170841708517086170871708817089170901709117092170931709417095170961709717098170991710017101171021710317104171051710617107171081710917110171111711217113171141711517116171171711817119171201712117122171231712417125171261712717128171291713017131171321713317134171351713617137171381713917140171411714217143
  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. "marketid": {
  9391. "description": "所属市场ID",
  9392. "type": "integer"
  9393. },
  9394. "outgoodscode": {
  9395. "description": "商品代码(外部)",
  9396. "type": "string"
  9397. },
  9398. "positionpl": {
  9399. "description": "持仓盈亏",
  9400. "type": "number"
  9401. },
  9402. "positionplrate": {
  9403. "description": "持仓盈亏率",
  9404. "type": "number"
  9405. },
  9406. "usedmargin": {
  9407. "description": "占用保证金[商品币种]",
  9408. "type": "number"
  9409. }
  9410. }
  9411. },
  9412. "ermcp.RealtimeExposurePositionRsp": {
  9413. "type": "object",
  9414. "properties": {
  9415. "agreeunit": {
  9416. "description": "合约单位",
  9417. "type": "string"
  9418. },
  9419. "areauserid": {
  9420. "description": "所属机构id",
  9421. "type": "integer"
  9422. },
  9423. "convertratio": {
  9424. "description": "期货品种系数(折算系数)",
  9425. "type": "number"
  9426. },
  9427. "curqty": {
  9428. "description": "当前持仓",
  9429. "type": "integer"
  9430. },
  9431. "diffhedgeqty": {
  9432. "description": "套保品种变动量=持仓变动量*期货合约单位*期货品种系数",
  9433. "type": "number"
  9434. },
  9435. "diffqty": {
  9436. "description": "持仓变动量=当前持仓-昨日持仓",
  9437. "type": "integer"
  9438. },
  9439. "goodscode": {
  9440. "description": "商品代码",
  9441. "type": "string"
  9442. },
  9443. "goodsid": {
  9444. "description": "商品id",
  9445. "type": "integer"
  9446. },
  9447. "goodsname": {
  9448. "description": "商品名称",
  9449. "type": "string"
  9450. },
  9451. "middlegoodsid": {
  9452. "description": "套保商品id",
  9453. "type": "integer"
  9454. },
  9455. "ydqty": {
  9456. "description": "昨日持仓",
  9457. "type": "integer"
  9458. }
  9459. }
  9460. },
  9461. "ermcp.RealtimeExposureRsp": {
  9462. "type": "object",
  9463. "properties": {
  9464. "areaUserID": {
  9465. "description": "所属机构",
  9466. "type": "integer"
  9467. },
  9468. "buyFutureQty": {
  9469. "description": "买入期货数量",
  9470. "type": "number"
  9471. },
  9472. "buyPlanQty": {
  9473. "description": "采购计划数量",
  9474. "type": "number"
  9475. },
  9476. "buyPricedQty": {
  9477. "description": "采购合同已定价数量",
  9478. "type": "number"
  9479. },
  9480. "diffFutuQty": {
  9481. "description": "今日变动量(期货) = (买入 - 买入期初) - (卖出 - 卖出期初)",
  9482. "type": "number"
  9483. },
  9484. "diffSpotQty": {
  9485. "description": "今日变动量(现货) = 现货数量 - 期初现货数量",
  9486. "type": "number"
  9487. },
  9488. "enumdicname": {
  9489. "description": "单位名称",
  9490. "type": "string"
  9491. },
  9492. "middleGoodsCode": {
  9493. "description": "套保品种代码",
  9494. "type": "string"
  9495. },
  9496. "middleGoodsHedgeRatio": {
  9497. "description": "应套保比例",
  9498. "type": "number"
  9499. },
  9500. "middleGoodsID": {
  9501. "description": "套保品种",
  9502. "type": "integer"
  9503. },
  9504. "middleGoodsName": {
  9505. "description": "套保品种名称",
  9506. "type": "string"
  9507. },
  9508. "needHedgeExposoure": {
  9509. "description": "应套保敞口",
  9510. "type": "number"
  9511. },
  9512. "needHedgeRatio": {
  9513. "description": "应套保敞口比例",
  9514. "type": "number"
  9515. },
  9516. "oriBuyFutureQty": {
  9517. "description": "期初买入期货数量",
  9518. "type": "number"
  9519. },
  9520. "oriBuyPlanQty": {
  9521. "description": "期初采购计划数量",
  9522. "type": "number"
  9523. },
  9524. "oriBuyPricedQty": {
  9525. "description": "期初采购合同已定价数量",
  9526. "type": "number"
  9527. },
  9528. "oriSellFutureQty": {
  9529. "description": "期初卖出期货数量",
  9530. "type": "number"
  9531. },
  9532. "oriSellPlanQty": {
  9533. "description": "期初销售计划数量",
  9534. "type": "number"
  9535. },
  9536. "oriSellPricedQty": {
  9537. "description": "期初销售合同已定价数量",
  9538. "type": "number"
  9539. },
  9540. "oriTotalFutuQty": {
  9541. "description": "期初期货数量=期初买入期货数量-期初卖出期货数量",
  9542. "type": "number"
  9543. },
  9544. "oriTotalSpotQty": {
  9545. "description": "期初现货数量=(期初销售计划数量-期初销售合同已定价数量)-(期初采购计划数量-期初采购合同已定价数量)",
  9546. "type": "number"
  9547. },
  9548. "sellFutureQty": {
  9549. "description": "卖出期货数量",
  9550. "type": "number"
  9551. },
  9552. "sellPlanQty": {
  9553. "description": "销售计划数量",
  9554. "type": "number"
  9555. },
  9556. "sellPricedQty": {
  9557. "description": "销售合同已定价数量",
  9558. "type": "number"
  9559. },
  9560. "totalExposure": {
  9561. "description": "总敞口",
  9562. "type": "number"
  9563. },
  9564. "totalFutureQty": {
  9565. "description": "期货数量",
  9566. "type": "number"
  9567. },
  9568. "totalHedgeRatio": {
  9569. "description": "敞口比例",
  9570. "type": "number"
  9571. },
  9572. "totalNeedHedgeQty": {
  9573. "description": "期货应套保量",
  9574. "type": "number"
  9575. },
  9576. "totalSpotQty": {
  9577. "description": "现货数量",
  9578. "type": "number"
  9579. }
  9580. }
  9581. },
  9582. "erms2.QueryArbitrageStrategyRsp": {
  9583. "type": "object",
  9584. "required": [
  9585. "asapplyid"
  9586. ],
  9587. "properties": {
  9588. "applybasis": {
  9589. "description": "申请基差",
  9590. "type": "number"
  9591. },
  9592. "asapplyid": {
  9593. "description": "策略申请ID(702+Unix秒时间戳(10位)+xxxxxx)",
  9594. "type": "string"
  9595. },
  9596. "asname": {
  9597. "description": "策略名称",
  9598. "type": "string"
  9599. },
  9600. "asno": {
  9601. "description": "策略编号",
  9602. "type": "string"
  9603. },
  9604. "basischangepl": {
  9605. "description": "基差变动损益[结算更新]",
  9606. "type": "number"
  9607. },
  9608. "biztype": {
  9609. "description": "业务类型 - 1:正向套利 -1:反向套利",
  9610. "type": "integer"
  9611. },
  9612. "closetradedate": {
  9613. "description": "完结交易日(yyyyMMdd)",
  9614. "type": "string"
  9615. },
  9616. "curbasis": {
  9617. "description": "当前基差[结算更新]",
  9618. "type": "number"
  9619. },
  9620. "deliverygoodsid": {
  9621. "description": "现货品种ID",
  9622. "type": "integer"
  9623. },
  9624. "futureavgprice": {
  9625. "description": "期货建仓均价",
  9626. "type": "number"
  9627. },
  9628. "futurecloseamount": {
  9629. "description": "期货平仓金额",
  9630. "type": "number"
  9631. },
  9632. "futurecloseqty": {
  9633. "description": "期货平仓数量",
  9634. "type": "number"
  9635. },
  9636. "futureopenamount": {
  9637. "description": "期货开仓金额",
  9638. "type": "number"
  9639. },
  9640. "futureopenqty": {
  9641. "description": "期货开仓数量",
  9642. "type": "number"
  9643. },
  9644. "futurepl": {
  9645. "description": "期货总盈亏[结算更新]",
  9646. "type": "number"
  9647. },
  9648. "futureqty": {
  9649. "description": "期货持仓数量",
  9650. "type": "number"
  9651. },
  9652. "futurequote": {
  9653. "description": "期货额度",
  9654. "type": "number"
  9655. },
  9656. "goodsgroupid": {
  9657. "description": "期货品种ID",
  9658. "type": "integer"
  9659. },
  9660. "marketid": {
  9661. "description": "市场ID",
  9662. "type": "integer"
  9663. },
  9664. "netexposure": {
  9665. "description": "单笔业务头寸净敞口 = 期货持仓数量 + 已定价现货不含税数量",
  9666. "type": "number"
  9667. },
  9668. "netexposurepl": {
  9669. "description": "净敞口损益 = TotalPL - BasisChangePL[结算更新]",
  9670. "type": "number"
  9671. },
  9672. "netexposurerate": {
  9673. "description": "净敞口比例 - 0:未结束 = (NetExposure/PriceSpotQtyNoTax) ; 已结束为0",
  9674. "type": "number"
  9675. },
  9676. "openbasis": {
  9677. "description": "建仓基差",
  9678. "type": "number"
  9679. },
  9680. "pricedspotqty": {
  9681. "description": "已定价现货数量",
  9682. "type": "number"
  9683. },
  9684. "pricedspotqtynotax": {
  9685. "description": "已定价现货不含税数量",
  9686. "type": "number"
  9687. },
  9688. "remark": {
  9689. "description": "备注",
  9690. "type": "string"
  9691. },
  9692. "spotavgprice": {
  9693. "description": "现货均价",
  9694. "type": "number"
  9695. },
  9696. "spotbuyamount": {
  9697. "description": "现货采购金额",
  9698. "type": "number"
  9699. },
  9700. "spotbuyqty": {
  9701. "description": "现货采购数量",
  9702. "type": "number"
  9703. },
  9704. "spotpl": {
  9705. "description": "现货总盈亏[结算更新]",
  9706. "type": "number"
  9707. },
  9708. "spotquota": {
  9709. "description": "现货额度",
  9710. "type": "number"
  9711. },
  9712. "spotsellamount": {
  9713. "description": "现货销售金额",
  9714. "type": "number"
  9715. },
  9716. "spotsellqty": {
  9717. "description": "现货销售数量",
  9718. "type": "number"
  9719. },
  9720. "spotusedquota": {
  9721. "description": "现货占用资金",
  9722. "type": "number"
  9723. },
  9724. "strategystatus": {
  9725. "description": "策略状态 - 0:未结束 1:已结束",
  9726. "type": "integer"
  9727. },
  9728. "totalpl": {
  9729. "description": "业务合计损益 = FuturePL + SpotPL [结算更新]",
  9730. "type": "number"
  9731. },
  9732. "tradedate": {
  9733. "description": "交易日(yyyyMMdd)",
  9734. "type": "string"
  9735. },
  9736. "updatetime": {
  9737. "description": "更新时间",
  9738. "type": "string"
  9739. },
  9740. "usedquota": {
  9741. "description": "已占用资金",
  9742. "type": "number"
  9743. },
  9744. "userid": {
  9745. "description": "所属机构",
  9746. "type": "integer"
  9747. }
  9748. }
  9749. },
  9750. "erms2.QueryInnerTradeDetailRsp": {
  9751. "type": "object",
  9752. "required": [
  9753. "asapplyid",
  9754. "buyorsell",
  9755. "goodscode",
  9756. "goodsgroupid",
  9757. "goodsgroupname",
  9758. "goodsname",
  9759. "tradeid"
  9760. ],
  9761. "properties": {
  9762. "accountid": {
  9763. "description": "账号ID",
  9764. "type": "integer"
  9765. },
  9766. "agreeunit": {
  9767. "description": "合约单位",
  9768. "type": "number"
  9769. },
  9770. "asapplyid": {
  9771. "description": "策略申请ID",
  9772. "type": "integer"
  9773. },
  9774. "asname": {
  9775. "description": "策略名称",
  9776. "type": "string"
  9777. },
  9778. "asno": {
  9779. "description": "策略编号",
  9780. "type": "string"
  9781. },
  9782. "buyorsell": {
  9783. "description": "方向 - 0:买 1:卖",
  9784. "type": "integer"
  9785. },
  9786. "channelbuildtype": {
  9787. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  9788. "type": "integer"
  9789. },
  9790. "closetype": {
  9791. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  9792. "type": "integer"
  9793. },
  9794. "decimalplace": {
  9795. "description": "报价小数位",
  9796. "type": "integer"
  9797. },
  9798. "detailtype": {
  9799. "description": "明细类型 - 1:套利对冲 2:期货换月 3:期货仓位调整",
  9800. "type": "integer"
  9801. },
  9802. "exexchangecode": {
  9803. "description": "外部交易所代码",
  9804. "type": "string"
  9805. },
  9806. "exexchangename": {
  9807. "description": "外部交易所名称",
  9808. "type": "string"
  9809. },
  9810. "goodscode": {
  9811. "description": "商品代码(合约)",
  9812. "type": "string"
  9813. },
  9814. "goodsgroupid": {
  9815. "description": "商品组ID(品种ID)",
  9816. "type": "integer"
  9817. },
  9818. "goodsgroupname": {
  9819. "description": "商品组名称(品种)",
  9820. "type": "string"
  9821. },
  9822. "goodsid": {
  9823. "description": "商品ID",
  9824. "type": "integer"
  9825. },
  9826. "goodsname": {
  9827. "description": "商品名称(合约)",
  9828. "type": "string"
  9829. },
  9830. "goodunit": {
  9831. "description": "报价单位",
  9832. "type": "string"
  9833. },
  9834. "marketid": {
  9835. "description": "市场ID",
  9836. "type": "integer"
  9837. },
  9838. "orderid": {
  9839. "description": "委托单号",
  9840. "type": "string"
  9841. },
  9842. "outgoodscode": {
  9843. "description": "商品代码(外部)",
  9844. "type": "string"
  9845. },
  9846. "relatedouttradeid": {
  9847. "description": "关联外部成交单ID",
  9848. "type": "string"
  9849. },
  9850. "remark": {
  9851. "description": "备注",
  9852. "type": "string"
  9853. },
  9854. "spotcontractid": {
  9855. "description": "现货合同ID [1:套利对冲 为合同ID,2:期货换月\\3:期货仓位调整时为0]",
  9856. "type": "integer"
  9857. },
  9858. "spotcontractno": {
  9859. "description": "现货合同编号",
  9860. "type": "string"
  9861. },
  9862. "tradeid": {
  9863. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  9864. "type": "string"
  9865. },
  9866. "tradeprice": {
  9867. "description": "成交价格",
  9868. "type": "number"
  9869. },
  9870. "tradeqty": {
  9871. "description": "成交数量",
  9872. "type": "integer"
  9873. },
  9874. "tradetime": {
  9875. "description": "成交时间",
  9876. "type": "string"
  9877. },
  9878. "updatetime": {
  9879. "description": "更新时间",
  9880. "type": "string"
  9881. }
  9882. }
  9883. },
  9884. "erms2.QuerySpotContractRsp": {
  9885. "type": "object",
  9886. "required": [
  9887. "spotcontractid"
  9888. ],
  9889. "properties": {
  9890. "accountid": {
  9891. "description": "资金账户ID",
  9892. "type": "integer"
  9893. },
  9894. "areauserid": {
  9895. "description": "所属机构",
  9896. "type": "integer"
  9897. },
  9898. "closedate": {
  9899. "description": "终止日期",
  9900. "type": "string"
  9901. },
  9902. "closeremark": {
  9903. "description": "结束备注",
  9904. "type": "string"
  9905. },
  9906. "closetradedate": {
  9907. "description": "完结交易日(yyyyMMdd)",
  9908. "type": "string"
  9909. },
  9910. "closetype": {
  9911. "description": "终止类型 - 1:违约 2:提前终止",
  9912. "type": "integer"
  9913. },
  9914. "contractamount": {
  9915. "description": "合同金额",
  9916. "type": "number"
  9917. },
  9918. "contractattachment": {
  9919. "description": "合同附件",
  9920. "type": "string"
  9921. },
  9922. "contractno": {
  9923. "description": "现货合同编号",
  9924. "type": "string"
  9925. },
  9926. "contractqty": {
  9927. "description": "合同数量(数值) (用于计算)",
  9928. "type": "number"
  9929. },
  9930. "contractqtychar": {
  9931. "description": "合同数量\\已订价数量 (用于显示)",
  9932. "type": "string"
  9933. },
  9934. "contractstatus": {
  9935. "description": "合同状态 - 0:未结束 1:已结束",
  9936. "type": "integer"
  9937. },
  9938. "contracttype": {
  9939. "description": "现货合同类型 - 1:采购合同 -1:销售合同",
  9940. "type": "integer"
  9941. },
  9942. "customeraccountid": {
  9943. "description": "客户资金账户ID",
  9944. "type": "integer"
  9945. },
  9946. "customeruserid": {
  9947. "description": "客户ID",
  9948. "type": "integer"
  9949. },
  9950. "deliverygoodsdesc": {
  9951. "description": "品种说明",
  9952. "type": "string"
  9953. },
  9954. "deliverygoodsid": {
  9955. "description": "现货品种ID",
  9956. "type": "integer"
  9957. },
  9958. "handlestatus": {
  9959. "description": "处理状态",
  9960. "type": "integer"
  9961. },
  9962. "invoiceatt": {
  9963. "description": "发票附件",
  9964. "type": "string"
  9965. },
  9966. "invoicedatetime": {
  9967. "description": "开收票更新时间",
  9968. "type": "string"
  9969. },
  9970. "invoiceopentime": {
  9971. "description": "开票时间",
  9972. "type": "string"
  9973. },
  9974. "invoiceremark": {
  9975. "description": "发票备注",
  9976. "type": "string"
  9977. },
  9978. "invoicestatus": {
  9979. "description": "开收票状态 - 0:未开票 1:已开票",
  9980. "type": "integer"
  9981. },
  9982. "lastdate": {
  9983. "description": "交货时间",
  9984. "type": "string"
  9985. },
  9986. "marketid": {
  9987. "description": "市场ID",
  9988. "type": "integer"
  9989. },
  9990. "paydatetime": {
  9991. "description": "收付款更新时间",
  9992. "type": "string"
  9993. },
  9994. "payremark": {
  9995. "description": "收付款备注",
  9996. "type": "string"
  9997. },
  9998. "paystatus": {
  9999. "description": "收付款状态 - 0:未支付 1:已收款 2:已付款",
  10000. "type": "integer"
  10001. },
  10002. "positionqty": {
  10003. "description": "头寸数量 - 合同数量去小数部分",
  10004. "type": "integer"
  10005. },
  10006. "producttype": {
  10007. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  10008. "type": "integer"
  10009. },
  10010. "relatedqty": {
  10011. "description": "已关联数量",
  10012. "type": "number"
  10013. },
  10014. "relatedstatus": {
  10015. "description": "关联完结状态 - 0:未结束 1:已结束",
  10016. "type": "integer"
  10017. },
  10018. "remark": {
  10019. "description": "备注",
  10020. "type": "string"
  10021. },
  10022. "signdate": {
  10023. "description": "签订日期",
  10024. "type": "string"
  10025. },
  10026. "spotcontractid": {
  10027. "description": "现货合同ID(701+Unix秒时间戳(10位)+xxxxxx)",
  10028. "type": "string"
  10029. },
  10030. "spotdatetime": {
  10031. "description": "收发货更新时间",
  10032. "type": "string"
  10033. },
  10034. "spotprice": {
  10035. "description": "价格",
  10036. "type": "number"
  10037. },
  10038. "spotremark": {
  10039. "description": "收发货备注",
  10040. "type": "string"
  10041. },
  10042. "spotstatus": {
  10043. "description": "收发货状态 - 0:未交收 1:已发货 2:已发货",
  10044. "type": "integer"
  10045. },
  10046. "tradedate": {
  10047. "description": "交易日(yyyyMMdd)",
  10048. "type": "string"
  10049. },
  10050. "userid": {
  10051. "description": "业务员用户ID",
  10052. "type": "integer"
  10053. },
  10054. "warehouseid": {
  10055. "description": "仓库ID",
  10056. "type": "integer"
  10057. },
  10058. "wrfactortypeid": {
  10059. "description": "仓单要素类型ID",
  10060. "type": "integer"
  10061. },
  10062. "wrstandardid": {
  10063. "description": "仓单标准ID(SEQ_WRSTANDARD)",
  10064. "type": "integer"
  10065. }
  10066. }
  10067. },
  10068. "erms3.AddErms2ASApplyReq": {
  10069. "type": "object",
  10070. "required": [
  10071. "asapplyid"
  10072. ],
  10073. "properties": {
  10074. "applybasis": {
  10075. "description": "申请基差",
  10076. "type": "number"
  10077. },
  10078. "applystatus": {
  10079. "description": "申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  10080. "type": "integer"
  10081. },
  10082. "asapplyid": {
  10083. "description": "策略申请ID(342+Unix秒时间戳(10位)+xxxxxx)",
  10084. "type": "integer"
  10085. },
  10086. "asname": {
  10087. "description": "策略名称",
  10088. "type": "string"
  10089. },
  10090. "asno": {
  10091. "description": "策略编号",
  10092. "type": "string"
  10093. },
  10094. "auditid": {
  10095. "description": "审核人",
  10096. "type": "integer"
  10097. },
  10098. "auditremark": {
  10099. "description": "审核备注",
  10100. "type": "string"
  10101. },
  10102. "audittime": {
  10103. "description": "审核时间",
  10104. "type": "string"
  10105. },
  10106. "biztype": {
  10107. "description": "业务类型 - 1:正向套利 2:反向套利",
  10108. "type": "integer"
  10109. },
  10110. "createtime": {
  10111. "description": "创建时间",
  10112. "type": "string"
  10113. },
  10114. "creatorid": {
  10115. "description": "创建人",
  10116. "type": "integer"
  10117. },
  10118. "deliverygoodsid": {
  10119. "description": "现货品种ID",
  10120. "type": "integer"
  10121. },
  10122. "futurequote": {
  10123. "description": "期货额度",
  10124. "type": "number"
  10125. },
  10126. "goodsgroupid": {
  10127. "description": "期货品种ID",
  10128. "type": "integer"
  10129. },
  10130. "marketid": {
  10131. "description": "市场ID",
  10132. "type": "integer"
  10133. },
  10134. "remark": {
  10135. "description": "备注",
  10136. "type": "string"
  10137. },
  10138. "spotquota": {
  10139. "description": "现货额度",
  10140. "type": "number"
  10141. },
  10142. "tradedate": {
  10143. "description": "交易日(yyyyMMdd)",
  10144. "type": "string"
  10145. },
  10146. "userid": {
  10147. "description": "所属机构",
  10148. "type": "integer"
  10149. }
  10150. }
  10151. },
  10152. "erms3.AddErms2SpotTradeApplyReq": {
  10153. "type": "object",
  10154. "required": [
  10155. "spottradeid"
  10156. ],
  10157. "properties": {
  10158. "applyjsondetail": {
  10159. "description": "申请明细(JSON)",
  10160. "type": "string"
  10161. },
  10162. "applystatus": {
  10163. "description": "申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  10164. "type": "integer"
  10165. },
  10166. "areauserid": {
  10167. "description": "所属机构",
  10168. "type": "integer"
  10169. },
  10170. "auditid": {
  10171. "description": "审核人",
  10172. "type": "integer"
  10173. },
  10174. "auditremark": {
  10175. "description": "审核备注",
  10176. "type": "string"
  10177. },
  10178. "audittime": {
  10179. "description": "审核时间",
  10180. "type": "string"
  10181. },
  10182. "createtime": {
  10183. "description": "创建时间",
  10184. "type": "string"
  10185. },
  10186. "creatorid": {
  10187. "description": "创建人",
  10188. "type": "integer"
  10189. },
  10190. "deliverygoodsid": {
  10191. "description": "现货品种ID",
  10192. "type": "integer"
  10193. },
  10194. "futureaccountid": {
  10195. "description": "期货资金账户",
  10196. "type": "integer"
  10197. },
  10198. "goodsgroupid": {
  10199. "description": "期货品种",
  10200. "type": "integer"
  10201. },
  10202. "marketid": {
  10203. "description": "市场ID",
  10204. "type": "integer"
  10205. },
  10206. "remark": {
  10207. "description": "备注",
  10208. "type": "string"
  10209. },
  10210. "spotaccountid": {
  10211. "description": "现货资金账户",
  10212. "type": "integer"
  10213. },
  10214. "spottradeid": {
  10215. "description": "业务ID(341+Unix秒时间戳(10位)+xxxxxx)",
  10216. "type": "integer"
  10217. },
  10218. "spottradename": {
  10219. "description": "业务名称",
  10220. "type": "string"
  10221. },
  10222. "spottradeno": {
  10223. "description": "业务编号",
  10224. "type": "string"
  10225. },
  10226. "tradedate": {
  10227. "description": "交易日(yyyyMMdd)",
  10228. "type": "string"
  10229. },
  10230. "wrstandardid": {
  10231. "description": "仓单标准ID",
  10232. "type": "integer"
  10233. }
  10234. }
  10235. },
  10236. "erms3.AddSpotContractApplyReq": {
  10237. "type": "object",
  10238. "required": [
  10239. "accountid",
  10240. "areauserid",
  10241. "contractno",
  10242. "contracttype",
  10243. "customeraccountid",
  10244. "customeruserid",
  10245. "details",
  10246. "orimargin",
  10247. "signdate"
  10248. ],
  10249. "properties": {
  10250. "accountid": {
  10251. "description": "资金账户ID",
  10252. "type": "integer"
  10253. },
  10254. "areauserid": {
  10255. "description": "所属机构",
  10256. "type": "integer"
  10257. },
  10258. "contractattachment": {
  10259. "description": "合同附件",
  10260. "type": "string"
  10261. },
  10262. "contractno": {
  10263. "description": "现货合同编号",
  10264. "type": "string"
  10265. },
  10266. "contracttype": {
  10267. "description": "现货合同类型 - 1:采购 -1:销售",
  10268. "type": "integer"
  10269. },
  10270. "creatorid": {
  10271. "description": "申请人",
  10272. "type": "integer"
  10273. },
  10274. "customeraccountid": {
  10275. "description": "客户资金账户ID",
  10276. "type": "integer"
  10277. },
  10278. "customeruserid": {
  10279. "description": "客户ID",
  10280. "type": "integer"
  10281. },
  10282. "details": {
  10283. "description": "明细",
  10284. "type": "array",
  10285. "items": {
  10286. "$ref": "#/definitions/erms3.SoptContractDetail"
  10287. }
  10288. },
  10289. "orimargin": {
  10290. "description": "初始保证金",
  10291. "type": "number"
  10292. },
  10293. "remark": {
  10294. "description": "备注",
  10295. "type": "string"
  10296. },
  10297. "signdate": {
  10298. "description": "签订日期",
  10299. "type": "string"
  10300. }
  10301. }
  10302. },
  10303. "erms3.AddSpotContractApplyRsp": {
  10304. "type": "object",
  10305. "required": [
  10306. "contractno"
  10307. ],
  10308. "properties": {
  10309. "contractno": {
  10310. "description": "现货合同编号",
  10311. "type": "string"
  10312. },
  10313. "spotcontractid": {
  10314. "description": "现货合同ID(345+Unix秒时间戳(10位)+xxxxxx)",
  10315. "type": "integer"
  10316. }
  10317. }
  10318. },
  10319. "erms3.AddUserInfoApplyReq": {
  10320. "type": "object",
  10321. "required": [
  10322. "userid"
  10323. ],
  10324. "properties": {
  10325. "accountid": {
  10326. "description": "交易系统帐号Id (加密存储)",
  10327. "type": "integer"
  10328. },
  10329. "areacode": {
  10330. "description": "机构代码",
  10331. "type": "string"
  10332. },
  10333. "areaid": {
  10334. "description": "机构Id",
  10335. "type": "integer"
  10336. },
  10337. "attachment1": {
  10338. "description": "附件1",
  10339. "type": "string"
  10340. },
  10341. "attachment2": {
  10342. "description": "附件2",
  10343. "type": "string"
  10344. },
  10345. "attachment3": {
  10346. "description": "附件3",
  10347. "type": "string"
  10348. },
  10349. "attachment4": {
  10350. "description": "附件4",
  10351. "type": "string"
  10352. },
  10353. "attachment5": {
  10354. "description": "附件5",
  10355. "type": "string"
  10356. },
  10357. "auditedby": {
  10358. "description": "审核人",
  10359. "type": "string"
  10360. },
  10361. "auditime": {
  10362. "description": "审核时间",
  10363. "type": "string"
  10364. },
  10365. "bankaccount": {
  10366. "description": "银行帐号 (加密存储)",
  10367. "type": "string"
  10368. },
  10369. "bankaccountname": {
  10370. "description": "收款人名称",
  10371. "type": "string"
  10372. },
  10373. "bankcardbackphotourl": {
  10374. "description": "银行卡背面照地址",
  10375. "type": "string"
  10376. },
  10377. "bankcardfrontphotourl": {
  10378. "description": "银行卡正面照地址",
  10379. "type": "string"
  10380. },
  10381. "bankid": {
  10382. "description": "银行编码",
  10383. "type": "string"
  10384. },
  10385. "bankname": {
  10386. "description": "银行名称",
  10387. "type": "string"
  10388. },
  10389. "bankpictureurl": {
  10390. "description": "银行卡正面地址",
  10391. "type": "string"
  10392. },
  10393. "biznature": {
  10394. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  10395. "type": "integer"
  10396. },
  10397. "bizscope": {
  10398. "description": "企业经营范围(企业)",
  10399. "type": "string"
  10400. },
  10401. "biztype": {
  10402. "description": "企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储",
  10403. "type": "integer"
  10404. },
  10405. "brokerid": {
  10406. "description": "经纪人ID(加密存储)",
  10407. "type": "string"
  10408. },
  10409. "cardaddress": {
  10410. "description": "证件地址 (加密存储)",
  10411. "type": "string"
  10412. },
  10413. "cardbackphotourl": {
  10414. "description": "背面证件照地址",
  10415. "type": "string"
  10416. },
  10417. "cardfrontphotourl": {
  10418. "description": "正面证件照地址",
  10419. "type": "string"
  10420. },
  10421. "cardnum": {
  10422. "description": "证件号码 (加密存储)",
  10423. "type": "string"
  10424. },
  10425. "cardtype": {
  10426. "description": "证件类型",
  10427. "type": "integer"
  10428. },
  10429. "cityid": {
  10430. "description": "市",
  10431. "type": "integer"
  10432. },
  10433. "company": {
  10434. "description": "公司(个人)",
  10435. "type": "string"
  10436. },
  10437. "contactcardbackphotourl": {
  10438. "description": "联系人证件背面图片地址",
  10439. "type": "string"
  10440. },
  10441. "contactcardfrontphotourl": {
  10442. "description": "联系人证件正面图片地址",
  10443. "type": "string"
  10444. },
  10445. "contactname": {
  10446. "description": "联系人",
  10447. "type": "string"
  10448. },
  10449. "countryid": {
  10450. "description": "国家",
  10451. "type": "integer"
  10452. },
  10453. "createtime": {
  10454. "description": "开户申请时间",
  10455. "type": "string"
  10456. },
  10457. "cusbankid": {
  10458. "description": "签约类型",
  10459. "type": "string"
  10460. },
  10461. "cusbankname": {
  10462. "description": "签约类型名称",
  10463. "type": "string"
  10464. },
  10465. "customername": {
  10466. "description": "客户名称(企业名称)",
  10467. "type": "string"
  10468. },
  10469. "districtid": {
  10470. "description": "地区",
  10471. "type": "integer"
  10472. },
  10473. "email": {
  10474. "description": "Email地址(加密存储)",
  10475. "type": "string"
  10476. },
  10477. "halfbodyphotourl": {
  10478. "description": "半身照地址",
  10479. "type": "string"
  10480. },
  10481. "headurl": {
  10482. "description": "头像地址",
  10483. "type": "string"
  10484. },
  10485. "ipaddress": {
  10486. "description": "IP地址",
  10487. "type": "string"
  10488. },
  10489. "isvalidate": {
  10490. "description": "是否有效 (删除后标记为失效) - 0:无效 1:有效",
  10491. "type": "string"
  10492. },
  10493. "legalcardbackphotourl": {
  10494. "description": "法人身份证背面照地址",
  10495. "type": "string"
  10496. },
  10497. "legalcardfrontphotourl": {
  10498. "description": "法人身份证正面照地址",
  10499. "type": "string"
  10500. },
  10501. "legalpersonname": {
  10502. "description": "法人姓名(企业)",
  10503. "type": "string"
  10504. },
  10505. "logincode": {
  10506. "description": "登录帐号 (加密存储)",
  10507. "type": "string"
  10508. },
  10509. "memberareaid": {
  10510. "description": "所属会员ID",
  10511. "type": "integer"
  10512. },
  10513. "mobile2": {
  10514. "description": "手机号码[明文-尚志]",
  10515. "type": "string"
  10516. },
  10517. "mobilephone": {
  10518. "description": "手机号码 (加密存储)",
  10519. "type": "string"
  10520. },
  10521. "modifiedby": {
  10522. "description": "修改人帐号",
  10523. "type": "integer"
  10524. },
  10525. "modifiedtime": {
  10526. "description": "修改时间",
  10527. "type": "string"
  10528. },
  10529. "nickname": {
  10530. "description": "昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)",
  10531. "type": "string"
  10532. },
  10533. "openmode": {
  10534. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)",
  10535. "type": "integer"
  10536. },
  10537. "otherurl": {
  10538. "description": "其它图片地址[使用分号分隔]",
  10539. "type": "string"
  10540. },
  10541. "postalcode": {
  10542. "description": "邮政编码",
  10543. "type": "string"
  10544. },
  10545. "provinceid": {
  10546. "description": "省",
  10547. "type": "integer"
  10548. },
  10549. "proxystatementurl": {
  10550. "description": "授权委托书",
  10551. "type": "string"
  10552. },
  10553. "qq": {
  10554. "description": "QQ(加密存储",
  10555. "type": "string"
  10556. },
  10557. "referral": {
  10558. "description": "推荐人编码",
  10559. "type": "string"
  10560. },
  10561. "remark": {
  10562. "description": "备注",
  10563. "type": "string"
  10564. },
  10565. "removebeforestatus": {
  10566. "description": "REMOVEBEFORESTATUS",
  10567. "type": "integer"
  10568. },
  10569. "sex": {
  10570. "description": "性别 - 0:女 1:男",
  10571. "type": "integer"
  10572. },
  10573. "signedstatus": {
  10574. "description": "账户一号签签约状态",
  10575. "type": "integer"
  10576. },
  10577. "signpdfurl": {
  10578. "description": "签约pdf文件",
  10579. "type": "string"
  10580. },
  10581. "subbranch": {
  10582. "description": "开户支行",
  10583. "type": "string"
  10584. },
  10585. "telphone": {
  10586. "description": "联系电话(加密存储)",
  10587. "type": "string"
  10588. },
  10589. "userid": {
  10590. "description": "用户ID(自增ID)",
  10591. "type": "integer"
  10592. },
  10593. "userinfotype": {
  10594. "description": "用户信息类型 - 1:个人 2:企业",
  10595. "type": "integer"
  10596. },
  10597. "username": {
  10598. "description": "用户姓名",
  10599. "type": "string"
  10600. },
  10601. "userstate": {
  10602. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  10603. "type": "integer"
  10604. },
  10605. "usertype": {
  10606. "description": "用户类型 - 1:投资者 2:机构",
  10607. "type": "integer"
  10608. },
  10609. "videourl": {
  10610. "description": "视频地址",
  10611. "type": "string"
  10612. },
  10613. "wechat": {
  10614. "description": "微信号 (加密存储)",
  10615. "type": "string"
  10616. }
  10617. }
  10618. },
  10619. "erms3.CustomerInfo": {
  10620. "type": "object",
  10621. "required": [
  10622. "userid"
  10623. ],
  10624. "properties": {
  10625. "accountids": {
  10626. "description": "资金账户ID列表",
  10627. "type": "array",
  10628. "items": {
  10629. "type": "integer"
  10630. }
  10631. },
  10632. "customername": {
  10633. "description": "名称(企业名称)",
  10634. "type": "string"
  10635. },
  10636. "mobile": {
  10637. "description": "手机号码",
  10638. "type": "string"
  10639. },
  10640. "userid": {
  10641. "description": "用户ID",
  10642. "type": "integer"
  10643. }
  10644. }
  10645. },
  10646. "erms3.ModifyUserInfoApplyReq": {
  10647. "type": "object",
  10648. "required": [
  10649. "userid"
  10650. ],
  10651. "properties": {
  10652. "accountid": {
  10653. "description": "交易系统帐号Id (加密存储)",
  10654. "type": "integer"
  10655. },
  10656. "areacode": {
  10657. "description": "机构代码",
  10658. "type": "string"
  10659. },
  10660. "areaid": {
  10661. "description": "机构Id",
  10662. "type": "integer"
  10663. },
  10664. "attachment1": {
  10665. "description": "附件1",
  10666. "type": "string"
  10667. },
  10668. "attachment2": {
  10669. "description": "附件2",
  10670. "type": "string"
  10671. },
  10672. "attachment3": {
  10673. "description": "附件3",
  10674. "type": "string"
  10675. },
  10676. "attachment4": {
  10677. "description": "附件4",
  10678. "type": "string"
  10679. },
  10680. "attachment5": {
  10681. "description": "附件5",
  10682. "type": "string"
  10683. },
  10684. "auditedby": {
  10685. "description": "审核人",
  10686. "type": "string"
  10687. },
  10688. "auditime": {
  10689. "description": "审核时间",
  10690. "type": "string"
  10691. },
  10692. "bankaccount": {
  10693. "description": "银行帐号 (加密存储)",
  10694. "type": "string"
  10695. },
  10696. "bankaccountname": {
  10697. "description": "收款人名称",
  10698. "type": "string"
  10699. },
  10700. "bankcardbackphotourl": {
  10701. "description": "银行卡背面照地址",
  10702. "type": "string"
  10703. },
  10704. "bankcardfrontphotourl": {
  10705. "description": "银行卡正面照地址",
  10706. "type": "string"
  10707. },
  10708. "bankid": {
  10709. "description": "银行编码",
  10710. "type": "string"
  10711. },
  10712. "bankname": {
  10713. "description": "银行名称",
  10714. "type": "string"
  10715. },
  10716. "bankpictureurl": {
  10717. "description": "银行卡正面地址",
  10718. "type": "string"
  10719. },
  10720. "biznature": {
  10721. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  10722. "type": "integer"
  10723. },
  10724. "bizscope": {
  10725. "description": "企业经营范围(企业)",
  10726. "type": "string"
  10727. },
  10728. "biztype": {
  10729. "description": "企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储",
  10730. "type": "integer"
  10731. },
  10732. "brokerid": {
  10733. "description": "经纪人ID(加密存储)",
  10734. "type": "string"
  10735. },
  10736. "cardaddress": {
  10737. "description": "证件地址 (加密存储)",
  10738. "type": "string"
  10739. },
  10740. "cardbackphotourl": {
  10741. "description": "背面证件照地址",
  10742. "type": "string"
  10743. },
  10744. "cardfrontphotourl": {
  10745. "description": "正面证件照地址",
  10746. "type": "string"
  10747. },
  10748. "cardnum": {
  10749. "description": "证件号码 (加密存储)",
  10750. "type": "string"
  10751. },
  10752. "cardtype": {
  10753. "description": "证件类型",
  10754. "type": "integer"
  10755. },
  10756. "cityid": {
  10757. "description": "市",
  10758. "type": "integer"
  10759. },
  10760. "company": {
  10761. "description": "公司(个人)",
  10762. "type": "string"
  10763. },
  10764. "contactcardbackphotourl": {
  10765. "description": "联系人证件背面图片地址",
  10766. "type": "string"
  10767. },
  10768. "contactcardfrontphotourl": {
  10769. "description": "联系人证件正面图片地址",
  10770. "type": "string"
  10771. },
  10772. "contactname": {
  10773. "description": "联系人",
  10774. "type": "string"
  10775. },
  10776. "countryid": {
  10777. "description": "国家",
  10778. "type": "integer"
  10779. },
  10780. "createtime": {
  10781. "description": "开户申请时间",
  10782. "type": "string"
  10783. },
  10784. "cusbankid": {
  10785. "description": "签约类型",
  10786. "type": "string"
  10787. },
  10788. "cusbankname": {
  10789. "description": "签约类型名称",
  10790. "type": "string"
  10791. },
  10792. "customername": {
  10793. "description": "客户名称(企业名称)",
  10794. "type": "string"
  10795. },
  10796. "districtid": {
  10797. "description": "地区",
  10798. "type": "integer"
  10799. },
  10800. "email": {
  10801. "description": "Email地址(加密存储)",
  10802. "type": "string"
  10803. },
  10804. "halfbodyphotourl": {
  10805. "description": "半身照地址",
  10806. "type": "string"
  10807. },
  10808. "headurl": {
  10809. "description": "头像地址",
  10810. "type": "string"
  10811. },
  10812. "ipaddress": {
  10813. "description": "IP地址",
  10814. "type": "string"
  10815. },
  10816. "isvalidate": {
  10817. "description": "是否有效 (删除后标记为失效) - 0:无效 1:有效",
  10818. "type": "string"
  10819. },
  10820. "legalcardbackphotourl": {
  10821. "description": "法人身份证背面照地址",
  10822. "type": "string"
  10823. },
  10824. "legalcardfrontphotourl": {
  10825. "description": "法人身份证正面照地址",
  10826. "type": "string"
  10827. },
  10828. "legalpersonname": {
  10829. "description": "法人姓名(企业)",
  10830. "type": "string"
  10831. },
  10832. "logincode": {
  10833. "description": "登录帐号 (加密存储)",
  10834. "type": "string"
  10835. },
  10836. "memberareaid": {
  10837. "description": "所属会员ID",
  10838. "type": "integer"
  10839. },
  10840. "mobile2": {
  10841. "description": "手机号码[明文-尚志]",
  10842. "type": "string"
  10843. },
  10844. "mobilephone": {
  10845. "description": "手机号码 (加密存储)",
  10846. "type": "string"
  10847. },
  10848. "modifiedby": {
  10849. "description": "修改人帐号",
  10850. "type": "integer"
  10851. },
  10852. "modifiedtime": {
  10853. "description": "修改时间",
  10854. "type": "string"
  10855. },
  10856. "nickname": {
  10857. "description": "昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)",
  10858. "type": "string"
  10859. },
  10860. "openmode": {
  10861. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)",
  10862. "type": "integer"
  10863. },
  10864. "otherurl": {
  10865. "description": "其它图片地址[使用分号分隔]",
  10866. "type": "string"
  10867. },
  10868. "postalcode": {
  10869. "description": "邮政编码",
  10870. "type": "string"
  10871. },
  10872. "provinceid": {
  10873. "description": "省",
  10874. "type": "integer"
  10875. },
  10876. "proxystatementurl": {
  10877. "description": "授权委托书",
  10878. "type": "string"
  10879. },
  10880. "qq": {
  10881. "description": "QQ(加密存储",
  10882. "type": "string"
  10883. },
  10884. "referral": {
  10885. "description": "推荐人编码",
  10886. "type": "string"
  10887. },
  10888. "remark": {
  10889. "description": "备注",
  10890. "type": "string"
  10891. },
  10892. "removebeforestatus": {
  10893. "description": "REMOVEBEFORESTATUS",
  10894. "type": "integer"
  10895. },
  10896. "sex": {
  10897. "description": "性别 - 0:女 1:男",
  10898. "type": "integer"
  10899. },
  10900. "signedstatus": {
  10901. "description": "账户一号签签约状态",
  10902. "type": "integer"
  10903. },
  10904. "signpdfurl": {
  10905. "description": "签约pdf文件",
  10906. "type": "string"
  10907. },
  10908. "subbranch": {
  10909. "description": "开户支行",
  10910. "type": "string"
  10911. },
  10912. "telphone": {
  10913. "description": "联系电话(加密存储)",
  10914. "type": "string"
  10915. },
  10916. "userid": {
  10917. "description": "用户ID(自增ID)",
  10918. "type": "integer"
  10919. },
  10920. "userinfotype": {
  10921. "description": "用户信息类型 - 1:个人 2:企业",
  10922. "type": "integer"
  10923. },
  10924. "username": {
  10925. "description": "用户姓名",
  10926. "type": "string"
  10927. },
  10928. "userstate": {
  10929. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  10930. "type": "integer"
  10931. },
  10932. "usertype": {
  10933. "description": "用户类型 - 1:投资者 2:机构",
  10934. "type": "integer"
  10935. },
  10936. "videourl": {
  10937. "description": "视频地址",
  10938. "type": "string"
  10939. },
  10940. "wechat": {
  10941. "description": "微信号 (加密存储)",
  10942. "type": "string"
  10943. }
  10944. }
  10945. },
  10946. "erms3.QryAuditContractRsp": {
  10947. "type": "object",
  10948. "required": [
  10949. "matchcustomername",
  10950. "spotcontractid"
  10951. ],
  10952. "properties": {
  10953. "accountid": {
  10954. "description": "交易员ID",
  10955. "type": "string"
  10956. },
  10957. "applystatus": {
  10958. "description": "申请状态 - 0:未审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  10959. "type": "integer"
  10960. },
  10961. "curdeliveryqty": {
  10962. "description": "未交收量",
  10963. "type": "integer"
  10964. },
  10965. "customername": {
  10966. "description": "采购方ID",
  10967. "type": "string"
  10968. },
  10969. "deliverygoodsid": {
  10970. "description": "品种ID",
  10971. "type": "string"
  10972. },
  10973. "deliveryqty": {
  10974. "description": "交收量",
  10975. "type": "integer"
  10976. },
  10977. "enumdicname": {
  10978. "description": "单位名称",
  10979. "type": "string"
  10980. },
  10981. "matchaccountid": {
  10982. "description": "业务员ID",
  10983. "type": "string"
  10984. },
  10985. "matchcustomername": {
  10986. "description": "销售方ID",
  10987. "type": "string"
  10988. },
  10989. "pricedqty": {
  10990. "description": "定价量",
  10991. "type": "number"
  10992. },
  10993. "signdate": {
  10994. "description": "签订日期",
  10995. "type": "string"
  10996. },
  10997. "spotcontractid": {
  10998. "description": "合同ID",
  10999. "type": "string"
  11000. },
  11001. "totaldqty": {
  11002. "description": "合同量",
  11003. "type": "number"
  11004. },
  11005. "unpricedqty": {
  11006. "description": "未定价量",
  11007. "type": "number"
  11008. },
  11009. "wrstandardname": {
  11010. "description": "商品名称",
  11011. "type": "string"
  11012. }
  11013. }
  11014. },
  11015. "erms3.QryPendingBizRsp": {
  11016. "type": "object",
  11017. "properties": {
  11018. "accountid": {
  11019. "description": "现货账户",
  11020. "type": "string"
  11021. },
  11022. "areaname": {
  11023. "description": "所属部门",
  11024. "type": "string"
  11025. },
  11026. "bizid": {
  11027. "description": "业务ID",
  11028. "type": "string"
  11029. },
  11030. "bizname": {
  11031. "description": "业务名称",
  11032. "type": "string"
  11033. },
  11034. "status": {
  11035. "description": "状态,0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  11036. "type": "integer"
  11037. },
  11038. "type": {
  11039. "description": "业务类型,1-期现套利,2-仓单回购,3-现货贸易",
  11040. "type": "integer"
  11041. }
  11042. }
  11043. },
  11044. "erms3.QueryBusinessInfoRsp": {
  11045. "type": "object",
  11046. "properties": {
  11047. "businessid": {
  11048. "description": "业务ID.",
  11049. "type": "integer"
  11050. },
  11051. "buyamount": {
  11052. "description": "采购额.",
  11053. "type": "number"
  11054. },
  11055. "buyqty": {
  11056. "description": "采购量.",
  11057. "type": "string"
  11058. },
  11059. "futurepl": {
  11060. "description": "期货盈亏.",
  11061. "type": "number"
  11062. },
  11063. "futureqty": {
  11064. "description": "期货敞口.",
  11065. "type": "string"
  11066. },
  11067. "goodsid": {
  11068. "description": "商品名称/商品代码.",
  11069. "type": "string"
  11070. },
  11071. "hedgingqty": {
  11072. "description": "套保量.",
  11073. "type": "string"
  11074. },
  11075. "sellamount": {
  11076. "description": "销售额.",
  11077. "type": "number"
  11078. },
  11079. "sellqty": {
  11080. "description": "销售量.",
  11081. "type": "string"
  11082. },
  11083. "spotmarketvalue": {
  11084. "description": "现货市值.",
  11085. "type": "number"
  11086. },
  11087. "spotpl": {
  11088. "description": "浮动权益.",
  11089. "type": "number"
  11090. },
  11091. "spotqty": {
  11092. "description": "现货量.",
  11093. "type": "string"
  11094. },
  11095. "statu": {
  11096. "description": "状态,0-未结束 1-已结束.",
  11097. "type": "integer"
  11098. },
  11099. "totalpl": {
  11100. "description": "总盈亏.",
  11101. "type": "number"
  11102. },
  11103. "totalqty": {
  11104. "description": "总敞口.",
  11105. "type": "string"
  11106. },
  11107. "type": {
  11108. "description": "业务类型,1-期现套利,2-仓单回购,3-现货贸易.",
  11109. "type": "integer"
  11110. }
  11111. }
  11112. },
  11113. "erms3.QuerySpotContractAppleFormRsp": {
  11114. "type": "object",
  11115. "properties": {
  11116. "goodses": {
  11117. "description": "合约列表",
  11118. "type": "array",
  11119. "items": {
  11120. "$ref": "#/definitions/models.GoodsIDAndName"
  11121. }
  11122. },
  11123. "oppositeusers": {
  11124. "description": "对方账号列表",
  11125. "type": "array",
  11126. "items": {
  11127. "$ref": "#/definitions/erms3.CustomerInfo"
  11128. }
  11129. },
  11130. "ouruser": {
  11131. "description": "我方账号",
  11132. "$ref": "#/definitions/erms3.CustomerInfo"
  11133. },
  11134. "warehouseinfos": {
  11135. "description": "仓库信息列表",
  11136. "type": "array",
  11137. "items": {
  11138. "$ref": "#/definitions/models.Warehouseinfo"
  11139. }
  11140. },
  11141. "wrstandards": {
  11142. "description": "仓单标准列表",
  11143. "type": "array",
  11144. "items": {
  11145. "$ref": "#/definitions/models.WRStandardInfo"
  11146. }
  11147. }
  11148. }
  11149. },
  11150. "erms3.QuerySpotContractInfoRsp": {
  11151. "type": "object",
  11152. "properties": {
  11153. "accountid": {
  11154. "description": "表示交易员ID.",
  11155. "type": "integer"
  11156. },
  11157. "curdeliveryqty": {
  11158. "description": "表示未交收量.",
  11159. "type": "number"
  11160. },
  11161. "customername": {
  11162. "description": "若合同类型为采购合同,表示采购方ID;若合同类型为销售合同,表示销售方ID.",
  11163. "type": "string"
  11164. },
  11165. "deliverygoodsid": {
  11166. "description": "表示品种ID.",
  11167. "type": "string"
  11168. },
  11169. "deliveryqty": {
  11170. "description": "表示交收量.",
  11171. "type": "number"
  11172. },
  11173. "matchaccountid": {
  11174. "description": "表示业务员ID.",
  11175. "type": "integer"
  11176. },
  11177. "matchcustomername": {
  11178. "description": "若合同类型为采购合同,表示销售方;若合同类型为销售合同,表示采购方ID.",
  11179. "type": "string"
  11180. },
  11181. "priceqty": {
  11182. "description": "表示定价量.",
  11183. "type": "number"
  11184. },
  11185. "relatedbizid": {
  11186. "description": "表示业务ID.",
  11187. "type": "string"
  11188. },
  11189. "signdate": {
  11190. "description": "表示签订日期.",
  11191. "type": "string"
  11192. },
  11193. "spotcontractid": {
  11194. "description": "合同ID",
  11195. "type": "string"
  11196. },
  11197. "status": {
  11198. "description": "表示状态,0-履约中 1-已完成.",
  11199. "type": "integer"
  11200. },
  11201. "totalqty": {
  11202. "description": "表示合同量.",
  11203. "type": "number"
  11204. },
  11205. "unpricedqty": {
  11206. "description": "表示未定价量.",
  11207. "type": "number"
  11208. },
  11209. "wrstandardname": {
  11210. "description": "表示商品ID.",
  11211. "type": "string"
  11212. }
  11213. }
  11214. },
  11215. "erms3.QueryUserInfoAppliesRsp": {
  11216. "type": "object",
  11217. "required": [
  11218. "userid"
  11219. ],
  11220. "properties": {
  11221. "biznature": {
  11222. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  11223. "type": "integer"
  11224. },
  11225. "contactname": {
  11226. "description": "联系人",
  11227. "type": "string"
  11228. },
  11229. "createtime": {
  11230. "description": "开户申请时间",
  11231. "type": "string"
  11232. },
  11233. "userid": {
  11234. "description": "用户ID(自增ID)",
  11235. "type": "integer"
  11236. },
  11237. "userinfotype": {
  11238. "description": "用户信息类型 - 1:个人 2:企业",
  11239. "type": "integer"
  11240. },
  11241. "username": {
  11242. "description": "用户姓名",
  11243. "type": "string"
  11244. },
  11245. "userstate": {
  11246. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  11247. "type": "integer"
  11248. }
  11249. }
  11250. },
  11251. "erms3.QueryUserInfosRsp": {
  11252. "type": "object",
  11253. "required": [
  11254. "userid"
  11255. ],
  11256. "properties": {
  11257. "biznature": {
  11258. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  11259. "type": "integer"
  11260. },
  11261. "contactname": {
  11262. "description": "联系人",
  11263. "type": "string"
  11264. },
  11265. "customername": {
  11266. "description": "客户名称(企业名称)",
  11267. "type": "string"
  11268. },
  11269. "userid": {
  11270. "description": "用户ID",
  11271. "type": "integer"
  11272. },
  11273. "userinfotype": {
  11274. "description": "用户信息类型 - 1:个人 2:企业",
  11275. "type": "integer"
  11276. },
  11277. "userstatus": {
  11278. "description": "用户状态 - 1:正常 2:注销",
  11279. "type": "integer"
  11280. }
  11281. }
  11282. },
  11283. "erms3.SoptContractDetail": {
  11284. "type": "object",
  11285. "required": [
  11286. "deliverygoodsid",
  11287. "producttype",
  11288. "unitname",
  11289. "warehouseid",
  11290. "wrstandardid",
  11291. "wrstandardname"
  11292. ],
  11293. "properties": {
  11294. "deliverygoodsdesc": {
  11295. "description": "现货品种说明",
  11296. "type": "string"
  11297. },
  11298. "deliverygoodsid": {
  11299. "description": "现货品种ID",
  11300. "type": "integer"
  11301. },
  11302. "deliverygoodsname": {
  11303. "description": "现货品种名称",
  11304. "type": "string"
  11305. },
  11306. "pointdesc": {
  11307. "description": "点价描述",
  11308. "type": "string"
  11309. },
  11310. "producttype": {
  11311. "description": "产品类型 1:标准仓单 2:等标 3:非标",
  11312. "type": "integer"
  11313. },
  11314. "producttypename": {
  11315. "description": "产品类型名称",
  11316. "type": "string"
  11317. },
  11318. "spotPointOrderVoList": {
  11319. "description": "点价列表",
  11320. "type": "array",
  11321. "items": {
  11322. "$ref": "#/definitions/erms3.SpotPointOrder"
  11323. }
  11324. },
  11325. "spotPriceOrderList": {
  11326. "description": "定价列表",
  11327. "type": "array",
  11328. "items": {
  11329. "$ref": "#/definitions/erms3.SpotPriceOrder"
  11330. }
  11331. },
  11332. "unitname": {
  11333. "description": "单位名称",
  11334. "type": "string"
  11335. },
  11336. "warehouseid": {
  11337. "description": "仓库ID",
  11338. "type": "integer"
  11339. },
  11340. "warehousename": {
  11341. "description": "仓库名称",
  11342. "type": "string"
  11343. },
  11344. "wrstandardid": {
  11345. "description": "交易标的ID",
  11346. "type": "integer"
  11347. },
  11348. "wrstandardname": {
  11349. "description": "交易标的名称",
  11350. "type": "string"
  11351. }
  11352. }
  11353. },
  11354. "erms3.SpotPointOrder": {
  11355. "type": "object",
  11356. "required": [
  11357. "basic",
  11358. "goodsid",
  11359. "qty"
  11360. ],
  11361. "properties": {
  11362. "basic": {
  11363. "description": "基差",
  11364. "type": "number"
  11365. },
  11366. "deliveryenddate": {
  11367. "description": "交收结束日期",
  11368. "type": "string"
  11369. },
  11370. "deliverystartdate": {
  11371. "description": "交收开始日期",
  11372. "type": "string"
  11373. },
  11374. "enddate": {
  11375. "description": "点价结束日期",
  11376. "type": "string"
  11377. },
  11378. "goodsid": {
  11379. "description": "商品ID",
  11380. "type": "integer"
  11381. },
  11382. "goodsname": {
  11383. "description": "商品名称",
  11384. "type": "string"
  11385. },
  11386. "qty": {
  11387. "description": "数量",
  11388. "type": "number"
  11389. },
  11390. "startdate": {
  11391. "description": "点价开始日期",
  11392. "type": "string"
  11393. }
  11394. }
  11395. },
  11396. "erms3.SpotPriceOrder": {
  11397. "type": "object",
  11398. "required": [
  11399. "amount",
  11400. "price",
  11401. "qty"
  11402. ],
  11403. "properties": {
  11404. "amount": {
  11405. "description": "金额",
  11406. "type": "number"
  11407. },
  11408. "deliveryenddate": {
  11409. "description": "交收结束日期",
  11410. "type": "string"
  11411. },
  11412. "deliverystartdate": {
  11413. "description": "交收开始日期",
  11414. "type": "string"
  11415. },
  11416. "price": {
  11417. "description": "价格",
  11418. "type": "number"
  11419. },
  11420. "qty": {
  11421. "description": "数量",
  11422. "type": "number"
  11423. }
  11424. }
  11425. },
  11426. "hsby.GetHsbyMyCountRsp": {
  11427. "type": "object",
  11428. "properties": {
  11429. "myCouponCount": {
  11430. "description": "我的优惠卷数量",
  11431. "type": "integer"
  11432. },
  11433. "myOrderDetailListingCount": {
  11434. "description": "我的订单求购中数量",
  11435. "type": "integer"
  11436. },
  11437. "myOrderDetailPreCount": {
  11438. "description": "我的订单抢购中数量",
  11439. "type": "integer"
  11440. },
  11441. "myPackageUnReceiveCount": {
  11442. "description": "我的包裹待收货数量",
  11443. "type": "integer"
  11444. },
  11445. "myPackageUnSendCount": {
  11446. "description": "我的包裹待发货数量",
  11447. "type": "integer"
  11448. },
  11449. "myPayOrderCount": {
  11450. "description": "我的订单待付款数量",
  11451. "type": "integer"
  11452. }
  11453. }
  11454. },
  11455. "hsby.QueryProvincesAndCitiesRsp": {
  11456. "type": "object",
  11457. "properties": {
  11458. "cities": {
  11459. "description": "市",
  11460. "type": "array",
  11461. "items": {
  11462. "$ref": "#/definitions/models.Division"
  11463. }
  11464. },
  11465. "province": {
  11466. "description": "省",
  11467. "$ref": "#/definitions/models.Division"
  11468. }
  11469. }
  11470. },
  11471. "models.Clientfixedadconfig": {
  11472. "type": "object",
  11473. "required": [
  11474. "adsort",
  11475. "adtype"
  11476. ],
  11477. "properties": {
  11478. "adsort": {
  11479. "description": "排序",
  11480. "type": "integer"
  11481. },
  11482. "adtype": {
  11483. "description": "广告位类型 - 1:新品抢购(HSBY)",
  11484. "type": "integer"
  11485. },
  11486. "areauserid": {
  11487. "description": "所属机构ID",
  11488. "type": "integer"
  11489. },
  11490. "createdate": {
  11491. "description": "创建时间",
  11492. "type": "string"
  11493. },
  11494. "creatorid": {
  11495. "description": "创建人",
  11496. "type": "integer"
  11497. },
  11498. "imagepath": {
  11499. "description": "图片",
  11500. "type": "string"
  11501. },
  11502. "isshow": {
  11503. "description": "是否展示 - 0:不展示 1:展示",
  11504. "type": "integer"
  11505. },
  11506. "modifierid": {
  11507. "description": "操作人",
  11508. "type": "integer"
  11509. },
  11510. "recsize": {
  11511. "description": "推荐尺寸",
  11512. "type": "string"
  11513. },
  11514. "title": {
  11515. "description": "标题",
  11516. "type": "string"
  11517. },
  11518. "updatedate": {
  11519. "description": "更新时间",
  11520. "type": "string"
  11521. },
  11522. "urlcontent": {
  11523. "description": "链接(地址或商品ID)",
  11524. "type": "string"
  11525. },
  11526. "urltype": {
  11527. "description": "链接类型 - 1:直接地址 2:商品ID",
  11528. "type": "integer"
  11529. }
  11530. }
  11531. },
  11532. "models.Division": {
  11533. "type": "object",
  11534. "required": [
  11535. "autoid",
  11536. "divisioncode"
  11537. ],
  11538. "properties": {
  11539. "autoid": {
  11540. "description": "自增ID",
  11541. "type": "integer"
  11542. },
  11543. "divisioncode": {
  11544. "description": "行政代码",
  11545. "type": "string"
  11546. },
  11547. "divisionlevel": {
  11548. "description": "行政级别",
  11549. "type": "string"
  11550. },
  11551. "divisionname": {
  11552. "description": "行政名称",
  11553. "type": "string"
  11554. },
  11555. "modifierid": {
  11556. "description": "修改人",
  11557. "type": "integer"
  11558. },
  11559. "modifytime": {
  11560. "description": "修改时间",
  11561. "type": "string"
  11562. },
  11563. "parentcode": {
  11564. "description": "上级行政代码",
  11565. "type": "string"
  11566. },
  11567. "pathname": {
  11568. "description": "路径名称",
  11569. "type": "string"
  11570. },
  11571. "postcode": {
  11572. "description": "邮政编码",
  11573. "type": "string"
  11574. },
  11575. "separablename": {
  11576. "description": "可拆分的全称",
  11577. "type": "string"
  11578. },
  11579. "shortcode": {
  11580. "description": "地区简码",
  11581. "type": "string"
  11582. }
  11583. }
  11584. },
  11585. "models.Enumdicitem": {
  11586. "type": "object",
  11587. "required": [
  11588. "autoid",
  11589. "enumdiccode",
  11590. "enumdicid",
  11591. "enumitemname"
  11592. ],
  11593. "properties": {
  11594. "autoid": {
  11595. "description": "自增ID",
  11596. "type": "integer"
  11597. },
  11598. "bankmappedvalue": {
  11599. "description": "银行服务对应值",
  11600. "type": "string"
  11601. },
  11602. "enumdiccode": {
  11603. "description": "所属枚举代码",
  11604. "type": "string"
  11605. },
  11606. "enumdicid": {
  11607. "description": "所属枚举ID",
  11608. "type": "integer"
  11609. },
  11610. "enumdicname": {
  11611. "description": "枚举项名称",
  11612. "type": "string"
  11613. },
  11614. "enumitemname": {
  11615. "description": "枚举项值",
  11616. "type": "integer"
  11617. },
  11618. "enumitemstatus": {
  11619. "description": "枚举项状态 - 1.启用 2.不启用",
  11620. "type": "integer"
  11621. },
  11622. "enumitemvalue": {
  11623. "description": "通用值 - [币种通用简写]",
  11624. "type": "string"
  11625. },
  11626. "param1": {
  11627. "description": "参数1[币种:币种小数位]",
  11628. "type": "string"
  11629. },
  11630. "param2": {
  11631. "description": "参数1[币种:币种显示单位]",
  11632. "type": "string"
  11633. },
  11634. "remark": {
  11635. "description": "备注",
  11636. "type": "string"
  11637. }
  11638. }
  11639. },
  11640. "models.ErmcpHisExposure": {
  11641. "type": "object",
  11642. "properties": {
  11643. "needhedgeexposoure": {
  11644. "description": "应套保敞口",
  11645. "type": "number"
  11646. },
  11647. "reckondate": {
  11648. "description": "日照时期(yyyyMMdd)",
  11649. "type": "string"
  11650. },
  11651. "totalexposure": {
  11652. "description": "总敞口",
  11653. "type": "number"
  11654. }
  11655. }
  11656. },
  11657. "models.ErmcpMiddleGoodsModel": {
  11658. "type": "object",
  11659. "properties": {
  11660. "areauserid": {
  11661. "description": "机构用户ID",
  11662. "type": "integer"
  11663. },
  11664. "enumdicname": {
  11665. "description": "单位名称",
  11666. "type": "string"
  11667. },
  11668. "evaluateratio": {
  11669. "description": "估价系数",
  11670. "type": "number"
  11671. },
  11672. "goodsgroupid": {
  11673. "description": "关联期货品种ID",
  11674. "type": "integer"
  11675. },
  11676. "isvalid": {
  11677. "description": "状态 0-无效(停用) 1-有效(正常)",
  11678. "type": "integer"
  11679. },
  11680. "middlegoodscode": {
  11681. "description": "套保品种代码",
  11682. "type": "string"
  11683. },
  11684. "middlegoodsid": {
  11685. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  11686. "type": "integer"
  11687. },
  11688. "middlegoodsname": {
  11689. "description": "套保品种名称",
  11690. "type": "string"
  11691. },
  11692. "modifytime": {
  11693. "description": "修改时间",
  11694. "type": "string"
  11695. },
  11696. "needhedgeratio": {
  11697. "description": "套保比率",
  11698. "type": "number"
  11699. },
  11700. "qtydecimalplace": {
  11701. "description": "数量小数位",
  11702. "type": "integer"
  11703. },
  11704. "relatedgoodsid": {
  11705. "description": "关联交易商品ID",
  11706. "type": "integer"
  11707. },
  11708. "relatedgoodstype": {
  11709. "description": "关联商品类型 - 1:期货合约 2:现货品种",
  11710. "type": "integer"
  11711. }
  11712. }
  11713. },
  11714. "models.ErmcpReportDayFR": {
  11715. "type": "object",
  11716. "properties": {
  11717. "areauserid": {
  11718. "description": "所属机构",
  11719. "type": "integer"
  11720. },
  11721. "collectinvoiceamount": {
  11722. "description": "今日开票金额",
  11723. "type": "number"
  11724. },
  11725. "collectinvoicecount": {
  11726. "description": "今日开票笔数",
  11727. "type": "integer"
  11728. },
  11729. "collectmoneyamount": {
  11730. "description": "今日收款金额",
  11731. "type": "number"
  11732. },
  11733. "collectmoneycount": {
  11734. "description": "今日收款笔数",
  11735. "type": "integer"
  11736. },
  11737. "payinvoiceamount": {
  11738. "description": "今日收票金额",
  11739. "type": "number"
  11740. },
  11741. "payinvoicecount": {
  11742. "description": "今日收票笔数",
  11743. "type": "integer"
  11744. },
  11745. "paymoneyamount": {
  11746. "description": "今日付款金额",
  11747. "type": "number"
  11748. },
  11749. "paymoneycount": {
  11750. "description": "今日付款笔数",
  11751. "type": "integer"
  11752. },
  11753. "reckondate": {
  11754. "description": "日照时期(yyyyMMdd)",
  11755. "type": "string"
  11756. },
  11757. "updatetime": {
  11758. "description": "更新时间",
  11759. "type": "string"
  11760. }
  11761. }
  11762. },
  11763. "models.ErmcpWrstandard": {
  11764. "type": "object",
  11765. "properties": {
  11766. "areauserid": {
  11767. "description": "所属机构",
  11768. "type": "integer"
  11769. },
  11770. "createtime": {
  11771. "description": "创建时间",
  11772. "type": "string"
  11773. },
  11774. "creatorid": {
  11775. "description": "创建人",
  11776. "type": "integer"
  11777. },
  11778. "deliverygoodsid": {
  11779. "description": "品种ID",
  11780. "type": "integer"
  11781. },
  11782. "enumdicname": {
  11783. "description": "单位名称",
  11784. "type": "string"
  11785. },
  11786. "isvalid": {
  11787. "description": "是否有效 0-无效(停用) 1-有效(正常)",
  11788. "type": "integer"
  11789. },
  11790. "minivalue": {
  11791. "description": "最小变动值",
  11792. "type": "integer"
  11793. },
  11794. "minivaluedp": {
  11795. "description": "最小变动值小数位",
  11796. "type": "integer"
  11797. },
  11798. "realminivalue": {
  11799. "description": "实际最小变动值",
  11800. "type": "integer"
  11801. },
  11802. "realminivaluedp": {
  11803. "description": "实际最小变动值小数位",
  11804. "type": "integer"
  11805. },
  11806. "remark": {
  11807. "description": "备注",
  11808. "type": "string"
  11809. },
  11810. "unitid": {
  11811. "description": "单位ID",
  11812. "type": "integer"
  11813. },
  11814. "updatetime": {
  11815. "description": "更新时间",
  11816. "type": "string"
  11817. },
  11818. "wrstandardcode": {
  11819. "description": "现货商品代码",
  11820. "type": "string"
  11821. },
  11822. "wrstandardid": {
  11823. "description": "现货商品ID(SEQ_WRSTANDARD)",
  11824. "type": "integer"
  11825. },
  11826. "wrstandardname": {
  11827. "description": "现货商品名称",
  11828. "type": "string"
  11829. }
  11830. }
  11831. },
  11832. "models.Goods": {
  11833. "type": "object",
  11834. "required": [
  11835. "goodscode",
  11836. "goodsid",
  11837. "goodsname",
  11838. "marketid"
  11839. ],
  11840. "properties": {
  11841. "agreeunit": {
  11842. "description": "合约单位",
  11843. "type": "number"
  11844. },
  11845. "auditaccountid": {
  11846. "description": "审核操作员账号",
  11847. "type": "integer"
  11848. },
  11849. "audittime": {
  11850. "description": "审核时间",
  11851. "type": "string"
  11852. },
  11853. "cancelaccountid": {
  11854. "description": "注销操作员账号",
  11855. "type": "integer"
  11856. },
  11857. "canceltime": {
  11858. "description": "注销时间",
  11859. "type": "string"
  11860. },
  11861. "closepricemode": {
  11862. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  11863. "type": "integer"
  11864. },
  11865. "closepriceparam": {
  11866. "description": "强平最新价浮动比例 - 方式为2时使用 (\u003c1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价",
  11867. "type": "number"
  11868. },
  11869. "createtime": {
  11870. "description": "创建时间",
  11871. "type": "string"
  11872. },
  11873. "creatorid": {
  11874. "description": "创建人",
  11875. "type": "integer"
  11876. },
  11877. "currencyid": {
  11878. "description": "报价货币ID",
  11879. "type": "integer"
  11880. },
  11881. "cutmode": {
  11882. "description": "斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓",
  11883. "type": "integer"
  11884. },
  11885. "decimalplace": {
  11886. "description": "报价小数位",
  11887. "type": "integer"
  11888. },
  11889. "delistingdate": {
  11890. "description": "商品退市时间(状态:退市) -- 已作废",
  11891. "type": "string"
  11892. },
  11893. "delistingmode": {
  11894. "description": "退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\\币币兑换)",
  11895. "type": "integer"
  11896. },
  11897. "deliveryflag": {
  11898. "description": "交割标志 - 0:不可交割 1:可交割",
  11899. "type": "integer"
  11900. },
  11901. "forceclosemode": {
  11902. "description": "定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]",
  11903. "type": "integer"
  11904. },
  11905. "forceclosevalue": {
  11906. "description": "定期强平参数 [收益权]",
  11907. "type": "integer"
  11908. },
  11909. "goodscode": {
  11910. "description": "商品代码(内部)",
  11911. "type": "string"
  11912. },
  11913. "goodscurrencyid": {
  11914. "description": "合约货币ID",
  11915. "type": "integer"
  11916. },
  11917. "goodsgroupid": {
  11918. "description": "所属商品组ID",
  11919. "type": "integer"
  11920. },
  11921. "goodsid": {
  11922. "description": "商品ID(自增ID SEQ_GOODS)",
  11923. "type": "integer"
  11924. },
  11925. "goodsname": {
  11926. "description": "商品名称",
  11927. "type": "string"
  11928. },
  11929. "goodsquotetype": {
  11930. "description": "合约报价类型: 1-直接报价 2-间接报价",
  11931. "type": "integer"
  11932. },
  11933. "goodsstatus": {
  11934. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  11935. "type": "integer"
  11936. },
  11937. "goodstradetype": {
  11938. "description": "商品交易权限类型 - 1:可建可平 3:不可建可平",
  11939. "type": "integer"
  11940. },
  11941. "goodunitid": {
  11942. "description": "报价单位ID",
  11943. "type": "integer"
  11944. },
  11945. "hasquoter": {
  11946. "description": "是否有报价商 - 0:无报价商 1:有报价商",
  11947. "type": "integer"
  11948. },
  11949. "hqprotecttime": {
  11950. "description": "行情保护时间(秒)",
  11951. "type": "integer"
  11952. },
  11953. "innerdealmode": {
  11954. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  11955. "type": "integer"
  11956. },
  11957. "isbuylimited": {
  11958. "description": "是否限制建仓量 - 0:不限制 1:限制",
  11959. "type": "integer"
  11960. },
  11961. "lasttradedate": {
  11962. "description": "最后交易日期(状态:待退市)",
  11963. "type": "string"
  11964. },
  11965. "listingdate": {
  11966. "description": "交易开始日期",
  11967. "type": "string"
  11968. },
  11969. "marketid": {
  11970. "description": "所属市场ID",
  11971. "type": "integer"
  11972. },
  11973. "modifierid": {
  11974. "description": "修改人",
  11975. "type": "integer"
  11976. },
  11977. "modifystatus": {
  11978. "description": "变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核",
  11979. "type": "integer"
  11980. },
  11981. "modifytime": {
  11982. "description": "修改时间",
  11983. "type": "string"
  11984. },
  11985. "outerdealmode": {
  11986. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  11987. "type": "integer"
  11988. },
  11989. "outgoodscode": {
  11990. "description": "商品代码(外部)",
  11991. "type": "string"
  11992. },
  11993. "qtydecimalplace": {
  11994. "description": "成交量小数位",
  11995. "type": "integer"
  11996. },
  11997. "quotegear": {
  11998. "description": "行情档位(1-10)",
  11999. "type": "integer"
  12000. },
  12001. "quoteminunit": {
  12002. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  12003. "type": "integer"
  12004. },
  12005. "quoteshowtype": {
  12006. "description": "行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价",
  12007. "type": "integer"
  12008. },
  12009. "quoteshowtypeinterval": {
  12010. "description": "行情报价间隔时间(秒)(成交价时为0)",
  12011. "type": "integer"
  12012. },
  12013. "remark": {
  12014. "description": "备注",
  12015. "type": "string"
  12016. }
  12017. }
  12018. },
  12019. "models.GoodsBrand": {
  12020. "type": "object",
  12021. "properties": {
  12022. "brandid": {
  12023. "description": "品牌ID",
  12024. "type": "integer"
  12025. },
  12026. "brandname": {
  12027. "description": "品牌名称",
  12028. "type": "string"
  12029. },
  12030. "isvalid": {
  12031. "description": "是否有效 - 0:无效 1:有效",
  12032. "type": "integer"
  12033. }
  12034. }
  12035. },
  12036. "models.GoodsGroupConvert": {
  12037. "type": "object",
  12038. "properties": {
  12039. "convertratio": {
  12040. "description": "折算系数",
  12041. "type": "number"
  12042. },
  12043. "dstgoodsgroupid": {
  12044. "description": "目标期货品种ID",
  12045. "type": "integer"
  12046. },
  12047. "goodsgroupname": {
  12048. "description": "期货品种名称",
  12049. "type": "string"
  12050. },
  12051. "outergroupcode": {
  12052. "description": "期货品种代码",
  12053. "type": "string"
  12054. },
  12055. "srcgoodsgroupid": {
  12056. "description": "源期货品种ID",
  12057. "type": "integer"
  12058. }
  12059. }
  12060. },
  12061. "models.GoodsIDAndName": {
  12062. "type": "object",
  12063. "required": [
  12064. "goodscode",
  12065. "goodsid",
  12066. "goodsname",
  12067. "marketid"
  12068. ],
  12069. "properties": {
  12070. "goodscode": {
  12071. "description": "商品代码(内部)",
  12072. "type": "string"
  12073. },
  12074. "goodsid": {
  12075. "description": "商品ID(自增ID SEQ_GOODS)",
  12076. "type": "integer"
  12077. },
  12078. "goodsname": {
  12079. "description": "商品名称",
  12080. "type": "string"
  12081. },
  12082. "marketid": {
  12083. "description": "所属市场ID",
  12084. "type": "integer"
  12085. }
  12086. }
  12087. },
  12088. "models.GoodsTypeModel": {
  12089. "type": "object",
  12090. "properties": {
  12091. "modelid": {
  12092. "description": "型号ID",
  12093. "type": "integer"
  12094. },
  12095. "modelname": {
  12096. "description": "型号名称",
  12097. "type": "string"
  12098. },
  12099. "updatetime": {
  12100. "description": "更新时间",
  12101. "type": "string"
  12102. }
  12103. }
  12104. },
  12105. "models.HsbyBuyMyPayOrder": {
  12106. "type": "object",
  12107. "required": [
  12108. "goodscode",
  12109. "goodsname",
  12110. "tradeid",
  12111. "trademode"
  12112. ],
  12113. "properties": {
  12114. "agreeunit": {
  12115. "description": "合约单位",
  12116. "type": "number"
  12117. },
  12118. "buyaccountid": {
  12119. "description": "买方账号ID[报价币种]",
  12120. "type": "integer"
  12121. },
  12122. "buyorderid": {
  12123. "description": "买方委托单号",
  12124. "type": "string"
  12125. },
  12126. "createtime": {
  12127. "description": "创建时间",
  12128. "type": "string"
  12129. },
  12130. "currencysign": {
  12131. "description": "货币符号",
  12132. "type": "string"
  12133. },
  12134. "decimalplace": {
  12135. "description": "报价小数位",
  12136. "type": "integer"
  12137. },
  12138. "goodscode": {
  12139. "description": "商品代码(内部)",
  12140. "type": "string"
  12141. },
  12142. "goodsid": {
  12143. "description": "商品ID",
  12144. "type": "integer"
  12145. },
  12146. "goodsname": {
  12147. "description": "商品名称",
  12148. "type": "string"
  12149. },
  12150. "marketid": {
  12151. "description": "市场ID",
  12152. "type": "integer"
  12153. },
  12154. "offamount": {
  12155. "description": "优惠金额",
  12156. "type": "number"
  12157. },
  12158. "payamount": {
  12159. "description": "支付金额 = TradeAmount + TradeCharge - OffAmount",
  12160. "type": "number"
  12161. },
  12162. "payflag": {
  12163. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  12164. "type": "integer"
  12165. },
  12166. "paylimitedtime": {
  12167. "description": "支付期限",
  12168. "type": "string"
  12169. },
  12170. "paytime": {
  12171. "description": "付款时间",
  12172. "type": "string"
  12173. },
  12174. "picurls1": {
  12175. "description": "预售商品介绍图片[多张用逗号分隔]",
  12176. "type": "string"
  12177. },
  12178. "picurls2": {
  12179. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  12180. "type": "string"
  12181. },
  12182. "sellaccountid": {
  12183. "description": "卖方账号ID[报价币种]",
  12184. "type": "integer"
  12185. },
  12186. "sellorderid": {
  12187. "description": "卖方委托单号",
  12188. "type": "string"
  12189. },
  12190. "tradeamount": {
  12191. "description": "成交金额",
  12192. "type": "number"
  12193. },
  12194. "tradecharge": {
  12195. "description": "成交手续费(买方)",
  12196. "type": "number"
  12197. },
  12198. "tradedate": {
  12199. "description": "交易日(yyyyMMdd)",
  12200. "type": "string"
  12201. },
  12202. "tradeid": {
  12203. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  12204. "type": "string"
  12205. },
  12206. "trademode": {
  12207. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  12208. "type": "integer"
  12209. },
  12210. "tradeprice": {
  12211. "description": "成交价格",
  12212. "type": "number"
  12213. },
  12214. "tradeqty": {
  12215. "description": "成交数量",
  12216. "type": "integer"
  12217. },
  12218. "vendorname1": {
  12219. "description": "预售商品供应商名称",
  12220. "type": "string"
  12221. },
  12222. "vendorname2": {
  12223. "description": "挂牌商品供应商名称",
  12224. "type": "string"
  12225. }
  12226. }
  12227. },
  12228. "models.HsbyBuyMyTradeDetail": {
  12229. "type": "object",
  12230. "required": [
  12231. "accountid",
  12232. "buyorsell",
  12233. "goodscode",
  12234. "goodsid",
  12235. "goodsname",
  12236. "marketid",
  12237. "orderid",
  12238. "qty",
  12239. "time",
  12240. "trademode"
  12241. ],
  12242. "properties": {
  12243. "accountid": {
  12244. "description": "账户ID[报价币种]",
  12245. "type": "integer"
  12246. },
  12247. "agreeunit": {
  12248. "description": "合约单位",
  12249. "type": "number"
  12250. },
  12251. "amount": {
  12252. "description": "金额 = 价格 * 数量 * 合约单位",
  12253. "type": "number"
  12254. },
  12255. "buyorsell": {
  12256. "description": "买卖 - 0:买 1:卖",
  12257. "type": "integer"
  12258. },
  12259. "currencysign": {
  12260. "description": "货币符号",
  12261. "type": "string"
  12262. },
  12263. "decimalplace": {
  12264. "description": "报价小数位",
  12265. "type": "integer"
  12266. },
  12267. "goodscode": {
  12268. "description": "商品代码(内部)",
  12269. "type": "string"
  12270. },
  12271. "goodsid": {
  12272. "description": "商品ID",
  12273. "type": "integer"
  12274. },
  12275. "goodsname": {
  12276. "description": "商品名称",
  12277. "type": "string"
  12278. },
  12279. "marketid": {
  12280. "description": "市场ID",
  12281. "type": "integer"
  12282. },
  12283. "orderid": {
  12284. "description": "单号(成交单号)",
  12285. "type": "string"
  12286. },
  12287. "picurls1": {
  12288. "description": "预售商品介绍图片[多张用逗号分隔]",
  12289. "type": "string"
  12290. },
  12291. "picurls2": {
  12292. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  12293. "type": "string"
  12294. },
  12295. "price": {
  12296. "description": "价格",
  12297. "type": "number"
  12298. },
  12299. "qty": {
  12300. "description": "数量",
  12301. "type": "integer"
  12302. },
  12303. "time": {
  12304. "description": "时间",
  12305. "type": "string"
  12306. },
  12307. "trademode": {
  12308. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  12309. "type": "integer"
  12310. },
  12311. "vendorname1": {
  12312. "description": "预售商品供应商名称",
  12313. "type": "string"
  12314. },
  12315. "vendorname2": {
  12316. "description": "挂牌商品供应商名称",
  12317. "type": "string"
  12318. }
  12319. }
  12320. },
  12321. "models.HsbyGoodsOrderDetail": {
  12322. "type": "object",
  12323. "required": [
  12324. "buyorsell",
  12325. "orderid",
  12326. "ordertime"
  12327. ],
  12328. "properties": {
  12329. "buyorsell": {
  12330. "description": "买卖 - 0:买 1:卖",
  12331. "type": "integer"
  12332. },
  12333. "currencysign": {
  12334. "description": "货币符号",
  12335. "type": "string"
  12336. },
  12337. "customername": {
  12338. "description": "客户名称(企业名称),已脱敏",
  12339. "type": "string"
  12340. },
  12341. "enableqty": {
  12342. "description": "可用数量",
  12343. "type": "integer"
  12344. },
  12345. "goodunit": {
  12346. "description": "报价单位",
  12347. "type": "string"
  12348. },
  12349. "orderid": {
  12350. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  12351. "type": "string"
  12352. },
  12353. "orderprice": {
  12354. "description": "委托价格",
  12355. "type": "number"
  12356. },
  12357. "ordertime": {
  12358. "description": "委托时间",
  12359. "type": "string"
  12360. }
  12361. }
  12362. },
  12363. "models.HsbyListingGoodsDetail": {
  12364. "type": "object",
  12365. "required": [
  12366. "goodscode",
  12367. "goodsid",
  12368. "goodsname",
  12369. "marketid",
  12370. "trademode"
  12371. ],
  12372. "properties": {
  12373. "agreeunit": {
  12374. "description": "合约单位",
  12375. "type": "number"
  12376. },
  12377. "buymaxqty": {
  12378. "description": "购买上限 [71] - 0为不限",
  12379. "type": "integer"
  12380. },
  12381. "currency": {
  12382. "description": "货币",
  12383. "type": "string"
  12384. },
  12385. "currencysign": {
  12386. "description": "货币符号",
  12387. "type": "string"
  12388. },
  12389. "decimalplace": {
  12390. "description": "报价小数位",
  12391. "type": "integer"
  12392. },
  12393. "desccityid": {
  12394. "description": "目的地(市)ID",
  12395. "type": "integer"
  12396. },
  12397. "descprovinceid": {
  12398. "description": "目的地(省)ID",
  12399. "type": "integer"
  12400. },
  12401. "goodscode": {
  12402. "description": "商品代码(内部)",
  12403. "type": "string"
  12404. },
  12405. "goodsdesc": {
  12406. "description": "商品详情",
  12407. "type": "string"
  12408. },
  12409. "goodsid": {
  12410. "description": "商品ID(自增ID SEQ_GOODS)",
  12411. "type": "integer"
  12412. },
  12413. "goodsname": {
  12414. "description": "商品名称",
  12415. "type": "string"
  12416. },
  12417. "goodsprice": {
  12418. "description": "商品价格",
  12419. "type": "number"
  12420. },
  12421. "hotindex": {
  12422. "description": "景点热度",
  12423. "type": "integer"
  12424. },
  12425. "last": {
  12426. "description": "现价",
  12427. "type": "number"
  12428. },
  12429. "limitdown": {
  12430. "description": "跌停价",
  12431. "type": "number"
  12432. },
  12433. "limitup": {
  12434. "description": "涨停价",
  12435. "type": "number"
  12436. },
  12437. "lotsize": {
  12438. "description": "手数最小变动单位",
  12439. "type": "integer"
  12440. },
  12441. "marketid": {
  12442. "description": "所属市场ID",
  12443. "type": "integer"
  12444. },
  12445. "picurls": {
  12446. "description": "介绍图片[多张用逗号分隔]",
  12447. "type": "string"
  12448. },
  12449. "quoteminunit": {
  12450. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  12451. "type": "integer"
  12452. },
  12453. "stepvalue": {
  12454. "description": "价格最小变动单位",
  12455. "type": "number"
  12456. },
  12457. "trademode": {
  12458. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  12459. "type": "integer"
  12460. },
  12461. "vendorattr": {
  12462. "description": "供应商附件(多张,逗号分隔)",
  12463. "type": "string"
  12464. },
  12465. "vendorname": {
  12466. "description": "供应商名称",
  12467. "type": "string"
  12468. },
  12469. "vendorphone": {
  12470. "description": "供应商客服电话",
  12471. "type": "string"
  12472. },
  12473. "videourls": {
  12474. "description": "介绍视频[多张用逗号分隔]",
  12475. "type": "string"
  12476. }
  12477. }
  12478. },
  12479. "models.HsbyMarketGoods": {
  12480. "type": "object",
  12481. "required": [
  12482. "accountid",
  12483. "buyorsell",
  12484. "goodscode",
  12485. "goodsid",
  12486. "goodsname",
  12487. "marketid",
  12488. "orderid",
  12489. "trademode"
  12490. ],
  12491. "properties": {
  12492. "accountid": {
  12493. "description": "账户ID[报价币种]",
  12494. "type": "integer"
  12495. },
  12496. "agreeunit": {
  12497. "description": "合约单位",
  12498. "type": "number"
  12499. },
  12500. "buyorsell": {
  12501. "description": "买卖 - 0:买 1:卖",
  12502. "type": "integer"
  12503. },
  12504. "categoryid": {
  12505. "description": "类别ID(WRCATEGORY)",
  12506. "type": "integer"
  12507. },
  12508. "currency": {
  12509. "description": "货币",
  12510. "type": "string"
  12511. },
  12512. "currencysign": {
  12513. "description": "货币符号",
  12514. "type": "string"
  12515. },
  12516. "customername": {
  12517. "description": "卖家名称",
  12518. "type": "string"
  12519. },
  12520. "decimalplace": {
  12521. "description": "报价小数位",
  12522. "type": "integer"
  12523. },
  12524. "goodscode": {
  12525. "description": "商品代码(内部)",
  12526. "type": "string"
  12527. },
  12528. "goodsid": {
  12529. "description": "商品ID",
  12530. "type": "integer"
  12531. },
  12532. "goodsname": {
  12533. "description": "商品名称",
  12534. "type": "string"
  12535. },
  12536. "goodsprice": {
  12537. "description": "商品价格",
  12538. "type": "number"
  12539. },
  12540. "hascoupon": {
  12541. "description": "是否可用优惠卷",
  12542. "type": "boolean"
  12543. },
  12544. "hotindex": {
  12545. "description": "景点热度",
  12546. "type": "integer"
  12547. },
  12548. "marketid": {
  12549. "description": "市场ID",
  12550. "type": "integer"
  12551. },
  12552. "orderid": {
  12553. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  12554. "type": "string"
  12555. },
  12556. "orderprice": {
  12557. "description": "委托价格",
  12558. "type": "number"
  12559. },
  12560. "orderstatus": {
  12561. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  12562. "type": "integer"
  12563. },
  12564. "picurls": {
  12565. "description": "介绍图片[多张用逗号分隔]",
  12566. "type": "string"
  12567. },
  12568. "quoteminunit": {
  12569. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  12570. "type": "integer"
  12571. },
  12572. "sellUserID": {
  12573. "description": "卖方UserID",
  12574. "type": "integer"
  12575. },
  12576. "trademode": {
  12577. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  12578. "type": "integer"
  12579. },
  12580. "videourls": {
  12581. "description": "介绍视频[多张用逗号分隔]",
  12582. "type": "string"
  12583. }
  12584. }
  12585. },
  12586. "models.HsbyMarketGoodsDetail": {
  12587. "type": "object",
  12588. "required": [
  12589. "accountid",
  12590. "buyorsell",
  12591. "goodscode",
  12592. "goodsid",
  12593. "goodsname",
  12594. "marketid",
  12595. "orderid",
  12596. "orderqty",
  12597. "trademode"
  12598. ],
  12599. "properties": {
  12600. "accountid": {
  12601. "description": "账户ID[报价币种]",
  12602. "type": "integer"
  12603. },
  12604. "agreeunit": {
  12605. "description": "合约单位",
  12606. "type": "number"
  12607. },
  12608. "buymaxqty": {
  12609. "description": "购买上限 [71] - 0为不限",
  12610. "type": "integer"
  12611. },
  12612. "buyorsell": {
  12613. "description": "买卖 - 0:买 1:卖",
  12614. "type": "integer"
  12615. },
  12616. "cancelqty": {
  12617. "description": "撤单数量",
  12618. "type": "integer"
  12619. },
  12620. "categoryid": {
  12621. "description": "类别ID(WRCATEGORY)",
  12622. "type": "integer"
  12623. },
  12624. "currency": {
  12625. "description": "货币",
  12626. "type": "string"
  12627. },
  12628. "currencysign": {
  12629. "description": "货币符号",
  12630. "type": "string"
  12631. },
  12632. "customername": {
  12633. "description": "卖家名称",
  12634. "type": "string"
  12635. },
  12636. "decimalplace": {
  12637. "description": "报价小数位",
  12638. "type": "integer"
  12639. },
  12640. "goodscode": {
  12641. "description": "商品代码(内部)",
  12642. "type": "string"
  12643. },
  12644. "goodsdesc": {
  12645. "description": "商品详情",
  12646. "type": "string"
  12647. },
  12648. "goodsid": {
  12649. "description": "商品ID",
  12650. "type": "integer"
  12651. },
  12652. "goodsname": {
  12653. "description": "商品名称",
  12654. "type": "string"
  12655. },
  12656. "goodsprice": {
  12657. "description": "商品价格",
  12658. "type": "number"
  12659. },
  12660. "hotindex": {
  12661. "description": "景点热度",
  12662. "type": "integer"
  12663. },
  12664. "lotsize": {
  12665. "description": "手数最小变动单位",
  12666. "type": "integer"
  12667. },
  12668. "marketid": {
  12669. "description": "市场ID",
  12670. "type": "integer"
  12671. },
  12672. "orderid": {
  12673. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  12674. "type": "string"
  12675. },
  12676. "orderprice": {
  12677. "description": "委托价格",
  12678. "type": "number"
  12679. },
  12680. "orderqty": {
  12681. "description": "委托数量",
  12682. "type": "integer"
  12683. },
  12684. "orderstatus": {
  12685. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  12686. "type": "integer"
  12687. },
  12688. "picurls": {
  12689. "description": "介绍图片[多张用逗号分隔]",
  12690. "type": "string"
  12691. },
  12692. "quoteminunit": {
  12693. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  12694. "type": "integer"
  12695. },
  12696. "sellUserID": {
  12697. "description": "卖方UserID",
  12698. "type": "integer"
  12699. },
  12700. "trademode": {
  12701. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  12702. "type": "integer"
  12703. },
  12704. "tradeqty": {
  12705. "description": "成交数量",
  12706. "type": "integer"
  12707. },
  12708. "vendorattr": {
  12709. "description": "供应商附件(多张,逗号分隔)",
  12710. "type": "string"
  12711. },
  12712. "vendorname": {
  12713. "description": "供应商名称",
  12714. "type": "string"
  12715. },
  12716. "vendorphone": {
  12717. "description": "供应商客服电话",
  12718. "type": "string"
  12719. },
  12720. "videourls": {
  12721. "description": "介绍视频[多张用逗号分隔]",
  12722. "type": "string"
  12723. }
  12724. }
  12725. },
  12726. "models.HsbyMarketInfo": {
  12727. "type": "object",
  12728. "required": [
  12729. "marketid",
  12730. "marketstatus",
  12731. "trademode"
  12732. ],
  12733. "properties": {
  12734. "marketid": {
  12735. "description": "市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务",
  12736. "type": "integer"
  12737. },
  12738. "marketname": {
  12739. "description": "市场名称",
  12740. "type": "string"
  12741. },
  12742. "marketstatus": {
  12743. "description": "生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销",
  12744. "type": "integer"
  12745. },
  12746. "trademode": {
  12747. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  12748. "type": "integer"
  12749. }
  12750. }
  12751. },
  12752. "models.HsbyMyGoods": {
  12753. "type": "object",
  12754. "required": [
  12755. "accountid",
  12756. "goodscode",
  12757. "goodsid",
  12758. "goodsname",
  12759. "marketid",
  12760. "trademode"
  12761. ],
  12762. "properties": {
  12763. "accountid": {
  12764. "description": "账号Id",
  12765. "type": "integer"
  12766. },
  12767. "agreeunit": {
  12768. "description": "合约单位",
  12769. "type": "number"
  12770. },
  12771. "buyaverageprice": {
  12772. "description": "持仓均价",
  12773. "type": "number"
  12774. },
  12775. "buycurholderamount": {
  12776. "description": "买当前持仓总金额[商品币种]",
  12777. "type": "number"
  12778. },
  12779. "buycurpositionqty": {
  12780. "description": "买当前持仓总数量",
  12781. "type": "integer"
  12782. },
  12783. "buymaxqty": {
  12784. "description": "购买上限 [71] - 0为不限",
  12785. "type": "integer"
  12786. },
  12787. "currencysign": {
  12788. "description": "货币符号",
  12789. "type": "string"
  12790. },
  12791. "decimalplace": {
  12792. "description": "报价小数位",
  12793. "type": "integer"
  12794. },
  12795. "enableqty": {
  12796. "description": "可用数量",
  12797. "type": "integer"
  12798. },
  12799. "goodscode": {
  12800. "description": "商品代码(内部)",
  12801. "type": "string"
  12802. },
  12803. "goodsid": {
  12804. "description": "商品Id",
  12805. "type": "integer"
  12806. },
  12807. "goodsname": {
  12808. "description": "商品名称",
  12809. "type": "string"
  12810. },
  12811. "goodsprice": {
  12812. "description": "商品价格",
  12813. "type": "number"
  12814. },
  12815. "goodsstatus": {
  12816. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  12817. "type": "integer"
  12818. },
  12819. "last": {
  12820. "description": "现价(仅使用于挂牌点选)",
  12821. "type": "number"
  12822. },
  12823. "limitdown": {
  12824. "description": "跌停价(仅使用于挂牌点选)",
  12825. "type": "number"
  12826. },
  12827. "limitup": {
  12828. "description": "涨停价(仅使用于挂牌点选)",
  12829. "type": "number"
  12830. },
  12831. "lotsize": {
  12832. "description": "手数最小变动单位",
  12833. "type": "integer"
  12834. },
  12835. "marketid": {
  12836. "description": "所属市场ID",
  12837. "type": "integer"
  12838. },
  12839. "picurls": {
  12840. "description": "介绍图片[多张用逗号分隔]",
  12841. "type": "string"
  12842. },
  12843. "quoteminunit": {
  12844. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  12845. "type": "integer"
  12846. },
  12847. "stepvalue": {
  12848. "description": "价格最小变动单位",
  12849. "type": "number"
  12850. },
  12851. "trademode": {
  12852. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  12853. "type": "integer"
  12854. }
  12855. }
  12856. },
  12857. "models.HsbyMyPackage": {
  12858. "type": "object",
  12859. "required": [
  12860. "goodscode",
  12861. "goodsname",
  12862. "takeorderid",
  12863. "trademode"
  12864. ],
  12865. "properties": {
  12866. "accountid": {
  12867. "description": "账户ID",
  12868. "type": "integer"
  12869. },
  12870. "address": {
  12871. "description": "提货人详细地址",
  12872. "type": "string"
  12873. },
  12874. "agreeunit": {
  12875. "description": "合约单位",
  12876. "type": "number"
  12877. },
  12878. "amount": {
  12879. "description": "提货金额",
  12880. "type": "number"
  12881. },
  12882. "auditer": {
  12883. "description": "审核人",
  12884. "type": "integer"
  12885. },
  12886. "audittime": {
  12887. "description": "审核时间",
  12888. "type": "string"
  12889. },
  12890. "averageprice": {
  12891. "description": "均价",
  12892. "type": "number"
  12893. },
  12894. "cardnum": {
  12895. "description": "提货人证件号码",
  12896. "type": "string"
  12897. },
  12898. "cardtypeid": {
  12899. "description": "提货人证件类型",
  12900. "type": "integer"
  12901. },
  12902. "checkremark": {
  12903. "description": "审核备注",
  12904. "type": "string"
  12905. },
  12906. "currencysign": {
  12907. "description": "货币符号",
  12908. "type": "string"
  12909. },
  12910. "decimalplace": {
  12911. "description": "报价小数位",
  12912. "type": "integer"
  12913. },
  12914. "goodscode": {
  12915. "description": "商品代码(内部)",
  12916. "type": "string"
  12917. },
  12918. "goodsid": {
  12919. "description": "商品ID",
  12920. "type": "integer"
  12921. },
  12922. "goodsname": {
  12923. "description": "商品名称",
  12924. "type": "string"
  12925. },
  12926. "handlestatus": {
  12927. "description": "处理状态",
  12928. "type": "integer"
  12929. },
  12930. "marketid": {
  12931. "description": "市场ID",
  12932. "type": "integer"
  12933. },
  12934. "phonenum": {
  12935. "description": "提货人联系方式",
  12936. "type": "string"
  12937. },
  12938. "picurls": {
  12939. "description": "介绍图片[多张用逗号分隔]",
  12940. "type": "string"
  12941. },
  12942. "qty": {
  12943. "description": "提货数量",
  12944. "type": "number"
  12945. },
  12946. "recivername": {
  12947. "description": "提货人姓名",
  12948. "type": "string"
  12949. },
  12950. "reqtime": {
  12951. "description": "更新时间",
  12952. "type": "string"
  12953. },
  12954. "takemode": {
  12955. "description": "提货方式 - 2:自提 3:配送",
  12956. "type": "integer"
  12957. },
  12958. "takeorderid": {
  12959. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  12960. "type": "string"
  12961. },
  12962. "takeorderstatus": {
  12963. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  12964. "type": "integer"
  12965. },
  12966. "takeremark": {
  12967. "description": "提货备注",
  12968. "type": "string"
  12969. },
  12970. "tradedate": {
  12971. "description": "交易日(yyyyMMdd)",
  12972. "type": "string"
  12973. },
  12974. "trademode": {
  12975. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  12976. "type": "integer"
  12977. },
  12978. "userid": {
  12979. "description": "用户ID",
  12980. "type": "integer"
  12981. },
  12982. "vendorname": {
  12983. "description": "供应商名称",
  12984. "type": "string"
  12985. }
  12986. }
  12987. },
  12988. "models.HsbyPreGoods": {
  12989. "type": "object",
  12990. "required": [
  12991. "goodscode",
  12992. "goodsid",
  12993. "goodsname",
  12994. "marketid",
  12995. "trademode"
  12996. ],
  12997. "properties": {
  12998. "agreeunit": {
  12999. "description": "合约单位",
  13000. "type": "number"
  13001. },
  13002. "currency": {
  13003. "description": "货币",
  13004. "type": "string"
  13005. },
  13006. "currencysign": {
  13007. "description": "货币符号",
  13008. "type": "string"
  13009. },
  13010. "decimalplace": {
  13011. "description": "报价小数位",
  13012. "type": "integer"
  13013. },
  13014. "desccityid": {
  13015. "description": "目的地(市)",
  13016. "type": "integer"
  13017. },
  13018. "descprovinceid": {
  13019. "description": "目的地(省)",
  13020. "type": "integer"
  13021. },
  13022. "enableqty": {
  13023. "description": "剩余数量",
  13024. "type": "integer"
  13025. },
  13026. "goodscode": {
  13027. "description": "商品代码(内部)",
  13028. "type": "string"
  13029. },
  13030. "goodsid": {
  13031. "description": "商品ID(自增ID SEQ_GOODS)",
  13032. "type": "integer"
  13033. },
  13034. "goodsname": {
  13035. "description": "商品名称",
  13036. "type": "string"
  13037. },
  13038. "goodsstatus": {
  13039. "description": "商品状态- 2:未上市 3:上市",
  13040. "type": "integer"
  13041. },
  13042. "lasttradedate": {
  13043. "description": "最后交易日期(状态:待退市)",
  13044. "type": "string"
  13045. },
  13046. "listingdate": {
  13047. "description": "交易开始日期",
  13048. "type": "string"
  13049. },
  13050. "marketid": {
  13051. "description": "所属市场ID",
  13052. "type": "integer"
  13053. },
  13054. "picurls": {
  13055. "description": "介绍图片[多张用逗号分隔]",
  13056. "type": "string"
  13057. },
  13058. "presaledqty": {
  13059. "description": "已预售量(预售结束时更新)",
  13060. "type": "integer"
  13061. },
  13062. "presaleqty": {
  13063. "description": "预售数量",
  13064. "type": "integer"
  13065. },
  13066. "quoteminunit": {
  13067. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  13068. "type": "integer"
  13069. },
  13070. "refprice": {
  13071. "description": "参考价格[一口价]",
  13072. "type": "number"
  13073. },
  13074. "relatedgoodsid": {
  13075. "description": "关联交易合约ID",
  13076. "type": "integer"
  13077. },
  13078. "trademode": {
  13079. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  13080. "type": "integer"
  13081. },
  13082. "videourls": {
  13083. "description": "介绍视频[多张用逗号分隔]",
  13084. "type": "string"
  13085. }
  13086. }
  13087. },
  13088. "models.HsbyPreGoodsDetail": {
  13089. "type": "object",
  13090. "required": [
  13091. "goodscode",
  13092. "goodsid",
  13093. "goodsname",
  13094. "marketid",
  13095. "trademode"
  13096. ],
  13097. "properties": {
  13098. "agreeunit": {
  13099. "description": "合约单位",
  13100. "type": "number"
  13101. },
  13102. "buymaxqty": {
  13103. "description": "购买上限 [71] - 0为不限",
  13104. "type": "integer"
  13105. },
  13106. "currency": {
  13107. "description": "货币",
  13108. "type": "string"
  13109. },
  13110. "currencysign": {
  13111. "description": "货币符号",
  13112. "type": "string"
  13113. },
  13114. "customername": {
  13115. "description": "发行单位",
  13116. "type": "string"
  13117. },
  13118. "decimalplace": {
  13119. "description": "报价小数位",
  13120. "type": "integer"
  13121. },
  13122. "desccityid": {
  13123. "description": "目的地(市)ID",
  13124. "type": "integer"
  13125. },
  13126. "descprovinceid": {
  13127. "description": "目的地(省)ID",
  13128. "type": "integer"
  13129. },
  13130. "enableqty": {
  13131. "description": "剩余数量",
  13132. "type": "integer"
  13133. },
  13134. "goodscode": {
  13135. "description": "商品代码(内部)",
  13136. "type": "string"
  13137. },
  13138. "goodsdesc": {
  13139. "description": "商品详情",
  13140. "type": "string"
  13141. },
  13142. "goodsid": {
  13143. "description": "商品ID(自增ID SEQ_GOODS)",
  13144. "type": "integer"
  13145. },
  13146. "goodsname": {
  13147. "description": "商品名称",
  13148. "type": "string"
  13149. },
  13150. "goodsstatus": {
  13151. "description": "商品状态- 2:未上市 3:上市",
  13152. "type": "integer"
  13153. },
  13154. "goodunit": {
  13155. "description": "报价单位",
  13156. "type": "string"
  13157. },
  13158. "lasttradedate": {
  13159. "description": "最后交易日期(状态:待退市)",
  13160. "type": "string"
  13161. },
  13162. "listingdate": {
  13163. "description": "交易开始日期",
  13164. "type": "string"
  13165. },
  13166. "lotsize": {
  13167. "description": "手数最小变动单位",
  13168. "type": "integer"
  13169. },
  13170. "marketid": {
  13171. "description": "所属市场ID",
  13172. "type": "integer"
  13173. },
  13174. "picurls": {
  13175. "description": "介绍图片[多张用逗号分隔]",
  13176. "type": "string"
  13177. },
  13178. "presaledqty": {
  13179. "description": "已预售量(预售结束时更新)",
  13180. "type": "integer"
  13181. },
  13182. "presaleqty": {
  13183. "description": "预售数量",
  13184. "type": "integer"
  13185. },
  13186. "quoteminunit": {
  13187. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  13188. "type": "integer"
  13189. },
  13190. "refprice": {
  13191. "description": "参考价格[一口价]",
  13192. "type": "number"
  13193. },
  13194. "relatedgoodsid": {
  13195. "description": "关联交易合约ID",
  13196. "type": "integer"
  13197. },
  13198. "stepvalue": {
  13199. "description": "价格最小变动单位",
  13200. "type": "number"
  13201. },
  13202. "trademode": {
  13203. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  13204. "type": "integer"
  13205. },
  13206. "vendorattr": {
  13207. "description": "供应商附件(多张,逗号分隔)",
  13208. "type": "string"
  13209. },
  13210. "vendorname": {
  13211. "description": "供应商名称",
  13212. "type": "string"
  13213. },
  13214. "vendorphone": {
  13215. "description": "供应商客服电话",
  13216. "type": "string"
  13217. },
  13218. "videourls": {
  13219. "description": "介绍视频[多张用逗号分隔]",
  13220. "type": "string"
  13221. }
  13222. }
  13223. },
  13224. "models.HsbySellCollectionOrder": {
  13225. "type": "object",
  13226. "required": [
  13227. "goodscode",
  13228. "goodsname",
  13229. "tradeid",
  13230. "trademode"
  13231. ],
  13232. "properties": {
  13233. "agreeunit": {
  13234. "description": "合约单位",
  13235. "type": "number"
  13236. },
  13237. "buyaccountid": {
  13238. "description": "买方账号ID[报价币种]",
  13239. "type": "integer"
  13240. },
  13241. "buyorderid": {
  13242. "description": "买方委托单号",
  13243. "type": "string"
  13244. },
  13245. "createtime": {
  13246. "description": "创建时间",
  13247. "type": "string"
  13248. },
  13249. "currencysign": {
  13250. "description": "货币符号",
  13251. "type": "string"
  13252. },
  13253. "decimalplace": {
  13254. "description": "报价小数位",
  13255. "type": "integer"
  13256. },
  13257. "goodscode": {
  13258. "description": "商品代码(内部)",
  13259. "type": "string"
  13260. },
  13261. "goodsid": {
  13262. "description": "商品ID",
  13263. "type": "integer"
  13264. },
  13265. "goodsname": {
  13266. "description": "商品名称",
  13267. "type": "string"
  13268. },
  13269. "marketid": {
  13270. "description": "市场ID",
  13271. "type": "integer"
  13272. },
  13273. "offamount": {
  13274. "description": "优惠金额",
  13275. "type": "number"
  13276. },
  13277. "payamount": {
  13278. "description": "支付金额 = TradeAmount + TradeCharge - OffAmount",
  13279. "type": "number"
  13280. },
  13281. "payflag": {
  13282. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  13283. "type": "integer"
  13284. },
  13285. "paylimitedtime": {
  13286. "description": "支付期限",
  13287. "type": "string"
  13288. },
  13289. "paytime": {
  13290. "description": "付款时间",
  13291. "type": "string"
  13292. },
  13293. "picurls": {
  13294. "description": "商品介绍图片[多张用逗号分隔]",
  13295. "type": "string"
  13296. },
  13297. "sellaccountid": {
  13298. "description": "卖方账号ID[报价币种]",
  13299. "type": "integer"
  13300. },
  13301. "sellorderid": {
  13302. "description": "卖方委托单号",
  13303. "type": "string"
  13304. },
  13305. "tradeamount": {
  13306. "description": "成交金额",
  13307. "type": "number"
  13308. },
  13309. "tradecharge": {
  13310. "description": "成交手续费(买方)",
  13311. "type": "number"
  13312. },
  13313. "tradedate": {
  13314. "description": "交易日(yyyyMMdd)",
  13315. "type": "string"
  13316. },
  13317. "tradeid": {
  13318. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  13319. "type": "string"
  13320. },
  13321. "trademode": {
  13322. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  13323. "type": "integer"
  13324. },
  13325. "tradeprice": {
  13326. "description": "成交价格",
  13327. "type": "number"
  13328. },
  13329. "tradeqty": {
  13330. "description": "成交数量",
  13331. "type": "integer"
  13332. }
  13333. }
  13334. },
  13335. "models.HsbySellMyDetail": {
  13336. "type": "object",
  13337. "required": [
  13338. "accountid",
  13339. "buyorsell",
  13340. "goodscode",
  13341. "goodsid",
  13342. "goodsname",
  13343. "marketid",
  13344. "orderid",
  13345. "time",
  13346. "trademode"
  13347. ],
  13348. "properties": {
  13349. "accountid": {
  13350. "description": "账户ID[报价币种]",
  13351. "type": "integer"
  13352. },
  13353. "agreeunit": {
  13354. "description": "合约单位",
  13355. "type": "number"
  13356. },
  13357. "buyorsell": {
  13358. "description": "买卖 - 0:买 1:卖",
  13359. "type": "integer"
  13360. },
  13361. "currencysign": {
  13362. "description": "货币符号",
  13363. "type": "string"
  13364. },
  13365. "decimalplace": {
  13366. "description": "报价小数位",
  13367. "type": "integer"
  13368. },
  13369. "goodscode": {
  13370. "description": "商品代码(内部)",
  13371. "type": "string"
  13372. },
  13373. "goodsid": {
  13374. "description": "商品ID",
  13375. "type": "integer"
  13376. },
  13377. "goodsname": {
  13378. "description": "商品名称",
  13379. "type": "string"
  13380. },
  13381. "marketid": {
  13382. "description": "市场ID",
  13383. "type": "integer"
  13384. },
  13385. "orderid": {
  13386. "description": "单号(发布中 - 委托单号;已完成 - 成交单号)",
  13387. "type": "string"
  13388. },
  13389. "ordertype": {
  13390. "description": "单据类型:0 - 发布中, 1 - 已完成",
  13391. "type": "integer"
  13392. },
  13393. "picurls": {
  13394. "description": "介绍图片[多张用逗号分隔]",
  13395. "type": "string"
  13396. },
  13397. "price": {
  13398. "description": "价格",
  13399. "type": "number"
  13400. },
  13401. "qty": {
  13402. "description": "数量",
  13403. "type": "integer"
  13404. },
  13405. "time": {
  13406. "description": "时间",
  13407. "type": "string"
  13408. },
  13409. "trademode": {
  13410. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  13411. "type": "integer"
  13412. },
  13413. "vendorname": {
  13414. "description": "供应商名称",
  13415. "type": "string"
  13416. }
  13417. }
  13418. },
  13419. "models.HsbyTopGoods": {
  13420. "type": "object",
  13421. "required": [
  13422. "goodscode",
  13423. "goodsid",
  13424. "goodsname",
  13425. "marketid",
  13426. "trademode"
  13427. ],
  13428. "properties": {
  13429. "agreeunit": {
  13430. "description": "合约单位",
  13431. "type": "number"
  13432. },
  13433. "currency": {
  13434. "description": "货币",
  13435. "type": "string"
  13436. },
  13437. "currencysign": {
  13438. "description": "货币符号",
  13439. "type": "string"
  13440. },
  13441. "decimalplace": {
  13442. "description": "报价小数位",
  13443. "type": "integer"
  13444. },
  13445. "desccityid": {
  13446. "description": "目的地(市)",
  13447. "type": "integer"
  13448. },
  13449. "descprovinceid": {
  13450. "description": "目的地(省)",
  13451. "type": "integer"
  13452. },
  13453. "goodscode": {
  13454. "description": "商品代码(内部)",
  13455. "type": "string"
  13456. },
  13457. "goodsid": {
  13458. "description": "商品ID(自增ID SEQ_GOODS)",
  13459. "type": "integer"
  13460. },
  13461. "goodsname": {
  13462. "description": "商品名称",
  13463. "type": "string"
  13464. },
  13465. "hotindex": {
  13466. "description": "景点热度",
  13467. "type": "integer"
  13468. },
  13469. "last": {
  13470. "description": "现价",
  13471. "type": "number"
  13472. },
  13473. "marketid": {
  13474. "description": "所属市场ID",
  13475. "type": "integer"
  13476. },
  13477. "picurls": {
  13478. "description": "介绍图片[多张用逗号分隔]",
  13479. "type": "string"
  13480. },
  13481. "quoteminunit": {
  13482. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  13483. "type": "integer"
  13484. },
  13485. "trademode": {
  13486. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  13487. "type": "integer"
  13488. },
  13489. "videourls": {
  13490. "description": "介绍视频[多张用逗号分隔]",
  13491. "type": "string"
  13492. }
  13493. }
  13494. },
  13495. "models.HybsMyBuyOrderDetail": {
  13496. "type": "object",
  13497. "required": [
  13498. "accountid",
  13499. "buyorsell",
  13500. "goodscode",
  13501. "goodsid",
  13502. "goodsname",
  13503. "marketid",
  13504. "orderid",
  13505. "orderqty",
  13506. "ordertime",
  13507. "trademode"
  13508. ],
  13509. "properties": {
  13510. "accountid": {
  13511. "description": "账户ID[报价币种]",
  13512. "type": "integer"
  13513. },
  13514. "agreeunit": {
  13515. "description": "合约单位",
  13516. "type": "number"
  13517. },
  13518. "buyorsell": {
  13519. "description": "买卖 - 0:买 1:卖",
  13520. "type": "integer"
  13521. },
  13522. "cancelqty": {
  13523. "description": "撤单数量",
  13524. "type": "integer"
  13525. },
  13526. "currencysign": {
  13527. "description": "货币符号",
  13528. "type": "string"
  13529. },
  13530. "decimalplace": {
  13531. "description": "报价小数位",
  13532. "type": "integer"
  13533. },
  13534. "goodscode": {
  13535. "description": "商品代码(内部)",
  13536. "type": "string"
  13537. },
  13538. "goodsid": {
  13539. "description": "商品ID",
  13540. "type": "integer"
  13541. },
  13542. "goodsname": {
  13543. "description": "商品名称",
  13544. "type": "string"
  13545. },
  13546. "listingselecttype": {
  13547. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  13548. "type": "integer"
  13549. },
  13550. "marketid": {
  13551. "description": "市场ID",
  13552. "type": "integer"
  13553. },
  13554. "mybuystatus": {
  13555. "description": "\"我的订单\"显示状态- 1:抢购中 2:求购中 3:已完成 4:已撤消 5:委托失败",
  13556. "type": "integer"
  13557. },
  13558. "orderamount": {
  13559. "description": "委托金额",
  13560. "type": "number"
  13561. },
  13562. "orderid": {
  13563. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  13564. "type": "string"
  13565. },
  13566. "orderprice": {
  13567. "description": "委托价格",
  13568. "type": "number"
  13569. },
  13570. "orderqty": {
  13571. "description": "委托数量",
  13572. "type": "integer"
  13573. },
  13574. "orderstatus": {
  13575. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  13576. "type": "integer"
  13577. },
  13578. "ordertime": {
  13579. "description": "委托时间",
  13580. "type": "string"
  13581. },
  13582. "picurls1": {
  13583. "description": "预售商品介绍图片[多张用逗号分隔]",
  13584. "type": "string"
  13585. },
  13586. "picurls2": {
  13587. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  13588. "type": "string"
  13589. },
  13590. "trademode": {
  13591. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  13592. "type": "integer"
  13593. },
  13594. "tradeqty": {
  13595. "description": "成交数量",
  13596. "type": "integer"
  13597. },
  13598. "vendorname1": {
  13599. "description": "预售商品供应商名称",
  13600. "type": "string"
  13601. },
  13602. "vendorname2": {
  13603. "description": "挂牌商品供应商名称",
  13604. "type": "string"
  13605. }
  13606. }
  13607. },
  13608. "models.Market": {
  13609. "type": "object",
  13610. "required": [
  13611. "marketid",
  13612. "marketstatus",
  13613. "openmethod",
  13614. "reckonpricealgorithm",
  13615. "trademode",
  13616. "tradeproperty"
  13617. ],
  13618. "properties": {
  13619. "auctionwrtype": {
  13620. "description": "竞拍仓单类型 - 1:无仓单 2:有仓单 3;有无仓单均可",
  13621. "type": "integer"
  13622. },
  13623. "canacceptquote": {
  13624. "description": "确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]",
  13625. "type": "integer"
  13626. },
  13627. "cangoodsexercise": {
  13628. "description": "[期权]是否可现货行权- 0:否 1:是",
  13629. "type": "integer"
  13630. },
  13631. "cangoodsexercisetype": {
  13632. "description": "可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]",
  13633. "type": "integer"
  13634. },
  13635. "canmanualquotestrike": {
  13636. "description": "是否可手动报行权价- 0:否 1:是 [期权]",
  13637. "type": "integer"
  13638. },
  13639. "canmutistage": {
  13640. "description": "是否可多段运行 – 0:不可 1:可 [挂牌期权]",
  13641. "type": "integer"
  13642. },
  13643. "canpreexercise": {
  13644. "description": "[期权]是否可预申报- 0:否 1:是",
  13645. "type": "integer"
  13646. },
  13647. "clearinterval": {
  13648. "description": "待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))",
  13649. "type": "integer"
  13650. },
  13651. "contracttmp": {
  13652. "description": "合同模板[荷兰式][竞价式][仓单贸易]",
  13653. "type": "string"
  13654. },
  13655. "exchareaid": {
  13656. "description": "所属交易所,可以没有",
  13657. "type": "integer"
  13658. },
  13659. "goodstype": {
  13660. "description": "商品类型 - 1:交易商品 2:仓单商品",
  13661. "type": "integer"
  13662. },
  13663. "hasrebate": {
  13664. "description": "是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏",
  13665. "type": "integer"
  13666. },
  13667. "hastradecredit": {
  13668. "description": "是否交易授信[做市收益权] - 0:不授信 1:授信",
  13669. "type": "integer"
  13670. },
  13671. "haswr": {
  13672. "description": "[竞拍]是否需要仓单 - 0:不需要 1:需要-作废",
  13673. "type": "integer"
  13674. },
  13675. "isdeductmargin": {
  13676. "description": "竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除",
  13677. "type": "integer"
  13678. },
  13679. "isrecordsource": {
  13680. "description": "是否记录成交源 - 0:不记录 1:记录 [所有权]",
  13681. "type": "integer"
  13682. },
  13683. "isreleasemargin": {
  13684. "description": "成交参与保证金是否释放[竞价式] - 0:不释放 1释放",
  13685. "type": "integer"
  13686. },
  13687. "marginformula": {
  13688. "description": "持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  13689. "type": "integer"
  13690. },
  13691. "marginformula2": {
  13692. "description": "持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  13693. "type": "integer"
  13694. },
  13695. "marketid": {
  13696. "description": "市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务",
  13697. "type": "integer"
  13698. },
  13699. "marketname": {
  13700. "description": "市场名称",
  13701. "type": "string"
  13702. },
  13703. "marketserviceid": {
  13704. "description": "市场服务ID",
  13705. "type": "integer"
  13706. },
  13707. "marketstatus": {
  13708. "description": "生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销",
  13709. "type": "integer"
  13710. },
  13711. "markettype": {
  13712. "description": "市场类型- 1:非交易服务 2:交易服务",
  13713. "type": "integer"
  13714. },
  13715. "matchermode": {
  13716. "description": "指定对手模式[仓单贸易模式专用] - 1:任意对手",
  13717. "type": "integer"
  13718. },
  13719. "openmethod": {
  13720. "description": "开盘模式 - 0 自动 1手动",
  13721. "type": "integer"
  13722. },
  13723. "otcuserid": {
  13724. "description": "场外期权做市商[场外期权]",
  13725. "type": "integer"
  13726. },
  13727. "outersynctime": {
  13728. "description": "外部同步时间点(h24:mi:ss)[场外期权]",
  13729. "type": "string"
  13730. },
  13731. "pendingflag": {
  13732. "description": "待开市时间标识[通道交易-对冲] - 0:当日 1:上日",
  13733. "type": "integer"
  13734. },
  13735. "pendingtime": {
  13736. "description": "待开市时间[通道交易-对冲](HH:mm)",
  13737. "type": "string"
  13738. },
  13739. "performancetempid": {
  13740. "description": "履约计划模板ID - 作废",
  13741. "type": "integer"
  13742. },
  13743. "premiumquotemode": {
  13744. "description": "权利金报价方式 - 1:自动 2:手动",
  13745. "type": "integer"
  13746. },
  13747. "rebateratio": {
  13748. "description": "返利比率[竞价式]",
  13749. "type": "number"
  13750. },
  13751. "reckonorder": {
  13752. "description": "结算顺序",
  13753. "type": "integer"
  13754. },
  13755. "reckonpricealgorithm": {
  13756. "description": "结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价 6.卖一价 7.买一卖一均价 8.外部结算价",
  13757. "type": "integer"
  13758. },
  13759. "reckonpriceparam": {
  13760. "description": "结算价参数",
  13761. "type": "integer"
  13762. },
  13763. "reckontime": {
  13764. "description": "结算时间[通道交易-对冲](HH:mm)",
  13765. "type": "string"
  13766. },
  13767. "roleprioritytype": {
  13768. "description": "角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]",
  13769. "type": "integer"
  13770. },
  13771. "selllistingauditflag": {
  13772. "description": "卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要",
  13773. "type": "integer"
  13774. },
  13775. "trademarkettype": {
  13776. "description": "交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场",
  13777. "type": "integer"
  13778. },
  13779. "trademode": {
  13780. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  13781. "type": "integer"
  13782. },
  13783. "tradeproperty": {
  13784. "description": "交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易 8:场外期权",
  13785. "type": "integer"
  13786. },
  13787. "tradetype": {
  13788. "description": "下单方式[通道交易] - 1:直接转单 2:净头寸下单",
  13789. "type": "integer"
  13790. }
  13791. }
  13792. },
  13793. "models.Marketrun": {
  13794. "type": "object",
  13795. "required": [
  13796. "marketid",
  13797. "nexttradedate",
  13798. "reckonflag",
  13799. "runstatus",
  13800. "tradedate",
  13801. "tradedate2"
  13802. ],
  13803. "properties": {
  13804. "afternexttradedate": {
  13805. "description": "下下交易日",
  13806. "type": "string"
  13807. },
  13808. "clearquoteflag": {
  13809. "description": "行情清盘标志- 1:未发送 2:已发送 3:已回复",
  13810. "type": "integer"
  13811. },
  13812. "lastreckondate": {
  13813. "description": "最新交易日(结算成功)",
  13814. "type": "string"
  13815. },
  13816. "machinedate": {
  13817. "description": "机器时间",
  13818. "type": "string"
  13819. },
  13820. "manualflag": {
  13821. "description": "手动开市标志- 0:否 1:是 (市场为手动时,是否触发了手动开市标志)",
  13822. "type": "integer"
  13823. },
  13824. "marketid": {
  13825. "description": "市场ID",
  13826. "type": "integer"
  13827. },
  13828. "nexttradedate": {
  13829. "description": "下一交易日",
  13830. "type": "string"
  13831. },
  13832. "pretradedate": {
  13833. "description": "上一交易日",
  13834. "type": "string"
  13835. },
  13836. "reckonflag": {
  13837. "description": "结算标识 - 0: 停止结算 1: 正常(管理端控制此字段,交易服务根据此字段判断是否做结算)",
  13838. "type": "integer"
  13839. },
  13840. "runstatus": {
  13841. "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.今日免清算",
  13842. "type": "integer"
  13843. },
  13844. "sectionid": {
  13845. "description": "时间段号[多时段时用]",
  13846. "type": "integer"
  13847. },
  13848. "tradedate": {
  13849. "description": "当前交易日(服务) 资金结算完成即变更,供交易服务使用",
  13850. "type": "string"
  13851. },
  13852. "tradedate2": {
  13853. "description": "当前交易日(行情) 在第一个市场待开市时变更为TradeDate,供行情及终端系统使用",
  13854. "type": "string"
  13855. },
  13856. "updatetime": {
  13857. "description": "更新时间",
  13858. "type": "string"
  13859. }
  13860. }
  13861. },
  13862. "models.Messageboard": {
  13863. "type": "object",
  13864. "required": [
  13865. "messageboardid"
  13866. ],
  13867. "properties": {
  13868. "createtime": {
  13869. "description": "创建时间",
  13870. "type": "string"
  13871. },
  13872. "message": {
  13873. "description": "留言信息",
  13874. "type": "string"
  13875. },
  13876. "messageboardid": {
  13877. "description": "留言簿ID(SEQ_MessageBoard)",
  13878. "type": "integer"
  13879. },
  13880. "userid": {
  13881. "description": "用户ID",
  13882. "type": "integer"
  13883. }
  13884. }
  13885. },
  13886. "models.MyCoupon": {
  13887. "type": "object",
  13888. "required": [
  13889. "accountid",
  13890. "coupontypeid"
  13891. ],
  13892. "properties": {
  13893. "accountid": {
  13894. "description": "资金账户ID",
  13895. "type": "integer"
  13896. },
  13897. "areauserid": {
  13898. "description": "所属机构",
  13899. "type": "integer"
  13900. },
  13901. "conditionvalue": {
  13902. "description": "条件阈值(可为0)",
  13903. "type": "number"
  13904. },
  13905. "couponcategroy": {
  13906. "description": "种类 - 1:现金券 2:折扣券 3:折扣券(单张)",
  13907. "type": "integer"
  13908. },
  13909. "couponname": {
  13910. "description": "优惠券名称",
  13911. "type": "string"
  13912. },
  13913. "coupontypeid": {
  13914. "description": "优惠券类型ID",
  13915. "type": "string"
  13916. },
  13917. "couponvalue": {
  13918. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值]",
  13919. "type": "number"
  13920. },
  13921. "curfreezeqty": {
  13922. "description": "期末冻结数量",
  13923. "type": "integer"
  13924. },
  13925. "curqty": {
  13926. "description": "期末数量",
  13927. "type": "integer"
  13928. },
  13929. "isgeneral": {
  13930. "description": "是否通用券 - 0:否 1:是",
  13931. "type": "integer"
  13932. },
  13933. "isunusable": {
  13934. "description": "是否不可用",
  13935. "type": "boolean"
  13936. },
  13937. "limitedflag": {
  13938. "description": "是否指定商品 - 0:不限 1:限制",
  13939. "type": "integer"
  13940. },
  13941. "limitedgoodsids": {
  13942. "description": "指定商品IDs[逗号分隔,前后加逗号]",
  13943. "type": "string"
  13944. },
  13945. "orifreezeqty": {
  13946. "description": "期初冻结数量",
  13947. "type": "integer"
  13948. },
  13949. "oriqty": {
  13950. "description": "期初数量",
  13951. "type": "integer"
  13952. },
  13953. "reasontype": {
  13954. "description": "不可用原因 - 0:未确认 1:不可用于此商品 2:不可用于此卖家",
  13955. "type": "integer"
  13956. },
  13957. "todaydecrease": {
  13958. "description": "今日减少",
  13959. "type": "integer"
  13960. },
  13961. "todayincrease": {
  13962. "description": "今日增加",
  13963. "type": "integer"
  13964. },
  13965. "userid": {
  13966. "description": "用户ID",
  13967. "type": "integer"
  13968. },
  13969. "userscope": {
  13970. "description": "卖家范围(用户ID,逗号分隔,前后加逗号) [IsGeneral =0时使用]",
  13971. "type": "string"
  13972. }
  13973. }
  13974. },
  13975. "models.MyCouponHold": {
  13976. "type": "object",
  13977. "required": [
  13978. "couponholdid"
  13979. ],
  13980. "properties": {
  13981. "accountid": {
  13982. "description": "资金账户ID",
  13983. "type": "integer"
  13984. },
  13985. "conditionvalue": {
  13986. "description": "条件阈值(可为0)",
  13987. "type": "number"
  13988. },
  13989. "couponcategroy": {
  13990. "description": "种类 - 1:现金券 2:折扣券 3:折扣券(单个商品)",
  13991. "type": "integer"
  13992. },
  13993. "couponholdid": {
  13994. "description": "优惠券持仓ID(229+Unix秒时间戳(10位)+xxxxxx)",
  13995. "type": "string"
  13996. },
  13997. "couponname": {
  13998. "description": "优惠券名称",
  13999. "type": "string"
  14000. },
  14001. "coupontypeid": {
  14002. "description": "优惠券类型ID - SEQ_COUPONTYPE",
  14003. "type": "string"
  14004. },
  14005. "couponvalue": {
  14006. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值]",
  14007. "type": "number"
  14008. },
  14009. "createtime": {
  14010. "description": "创建时间",
  14011. "type": "string"
  14012. },
  14013. "enddate": {
  14014. "description": "结束日期",
  14015. "type": "string"
  14016. },
  14017. "giveapplyid": {
  14018. "description": "发放申请ID(SEQ_COUPONGIVEAPPLY)",
  14019. "type": "integer"
  14020. },
  14021. "holdstatus": {
  14022. "description": "持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期",
  14023. "type": "integer"
  14024. },
  14025. "isgeneral": {
  14026. "description": "是否通用券 - 0:否 1:是",
  14027. "type": "integer"
  14028. },
  14029. "limitedflag": {
  14030. "description": "是否指定商品 - 0:不限 1:限制",
  14031. "type": "integer"
  14032. },
  14033. "limitedgoodsids": {
  14034. "description": "指定商品IDs[逗号分隔]",
  14035. "type": "string"
  14036. },
  14037. "qty": {
  14038. "description": "数量(按1平铺)",
  14039. "type": "integer"
  14040. },
  14041. "startdate": {
  14042. "description": "开始日期",
  14043. "type": "string"
  14044. },
  14045. "userid": {
  14046. "description": "用户ID",
  14047. "type": "integer"
  14048. },
  14049. "userscope": {
  14050. "description": "卖家范围(用户ID,逗号分隔) [IsGeneral =0时使用]",
  14051. "type": "string"
  14052. }
  14053. }
  14054. },
  14055. "models.MyUsedCoupon": {
  14056. "type": "object",
  14057. "required": [
  14058. "coupontypeid",
  14059. "orderid"
  14060. ],
  14061. "properties": {
  14062. "accountid": {
  14063. "description": "资金账户ID(买方)",
  14064. "type": "integer"
  14065. },
  14066. "conditionvalue": {
  14067. "description": "条件阈值(可为0)",
  14068. "type": "number"
  14069. },
  14070. "couponcategroy": {
  14071. "description": "种类 - 1:现金券 2:折扣券",
  14072. "type": "integer"
  14073. },
  14074. "couponname": {
  14075. "description": "优惠券名称",
  14076. "type": "string"
  14077. },
  14078. "coupontypeid": {
  14079. "description": "优惠券类型ID(买方)",
  14080. "type": "string"
  14081. },
  14082. "couponvalue": {
  14083. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值(0-100)]",
  14084. "type": "number"
  14085. },
  14086. "createtime": {
  14087. "description": "创建时间",
  14088. "type": "string"
  14089. },
  14090. "goodsid": {
  14091. "description": "商品ID",
  14092. "type": "integer"
  14093. },
  14094. "handlestatus": {
  14095. "description": "处理状态",
  14096. "type": "integer"
  14097. },
  14098. "marketid": {
  14099. "description": "市场ID",
  14100. "type": "integer"
  14101. },
  14102. "offamount": {
  14103. "description": "优惠金额",
  14104. "type": "number"
  14105. },
  14106. "orderid": {
  14107. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  14108. "type": "string"
  14109. },
  14110. "sellaccountid": {
  14111. "description": "资金账户ID(卖方)",
  14112. "type": "integer"
  14113. },
  14114. "tradeamount": {
  14115. "description": "成交金额",
  14116. "type": "number"
  14117. },
  14118. "tradeid": {
  14119. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  14120. "type": "string"
  14121. },
  14122. "usedqty": {
  14123. "description": "使用数量",
  14124. "type": "integer"
  14125. }
  14126. }
  14127. },
  14128. "models.OperationPrimaryMenu": {
  14129. "type": "object",
  14130. "properties": {
  14131. "Children": {
  14132. "description": "二级功能菜单",
  14133. "type": "array",
  14134. "items": {
  14135. "$ref": "#/definitions/models.OperationSecondaryMenu"
  14136. }
  14137. },
  14138. "Key": {
  14139. "description": "菜单KEY",
  14140. "type": "string"
  14141. },
  14142. "Label": {
  14143. "description": "菜单标题",
  14144. "type": "string"
  14145. }
  14146. }
  14147. },
  14148. "models.OperationSecondaryMenu": {
  14149. "type": "object",
  14150. "properties": {
  14151. "Key": {
  14152. "description": "菜单KEY",
  14153. "type": "string"
  14154. },
  14155. "Label": {
  14156. "description": "菜单标题",
  14157. "type": "string"
  14158. },
  14159. "TabList": {
  14160. "description": "三级功能菜单",
  14161. "type": "array",
  14162. "items": {
  14163. "$ref": "#/definitions/models.OperationTabMenu"
  14164. }
  14165. }
  14166. }
  14167. },
  14168. "models.OperationTabMenu": {
  14169. "type": "object",
  14170. "properties": {
  14171. "Key": {
  14172. "description": "菜单KEY",
  14173. "type": "string"
  14174. },
  14175. "Label": {
  14176. "description": "菜单标题",
  14177. "type": "string"
  14178. }
  14179. }
  14180. },
  14181. "models.QueryErrorInfosRsp": {
  14182. "type": "object",
  14183. "required": [
  14184. "errorid"
  14185. ],
  14186. "properties": {
  14187. "description": {
  14188. "description": "异常描述",
  14189. "type": "string"
  14190. },
  14191. "errorcode": {
  14192. "description": "异常代码",
  14193. "type": "string"
  14194. },
  14195. "errorid": {
  14196. "description": "异常ID",
  14197. "type": "integer"
  14198. },
  14199. "modulecode": {
  14200. "description": "所属模块",
  14201. "type": "string"
  14202. },
  14203. "operatecode": {
  14204. "description": "所属操作",
  14205. "type": "string"
  14206. },
  14207. "rownumber": {
  14208. "description": "行号",
  14209. "type": "string"
  14210. }
  14211. }
  14212. },
  14213. "models.QuotePrimaryMenu": {
  14214. "type": "object",
  14215. "properties": {
  14216. "Index": {
  14217. "description": "序号",
  14218. "type": "integer"
  14219. },
  14220. "Key": {
  14221. "description": "键名",
  14222. "type": "string"
  14223. },
  14224. "Name": {
  14225. "description": "菜单名称",
  14226. "type": "string"
  14227. },
  14228. "SubMenus": {
  14229. "description": "子菜单",
  14230. "type": "array",
  14231. "items": {
  14232. "$ref": "#/definitions/models.QuoteSecondaryMenu"
  14233. }
  14234. },
  14235. "SubTitleType": {
  14236. "description": "子菜单标题模式:0-市场名称;1-外部交易所名称",
  14237. "type": "integer"
  14238. },
  14239. "TradeModes": {
  14240. "description": "包含市场交易类型",
  14241. "type": "string"
  14242. }
  14243. }
  14244. },
  14245. "models.QuoteSecondaryMenu": {
  14246. "type": "object",
  14247. "properties": {
  14248. "ExExchangeCode": {
  14249. "description": "外部交易所代码",
  14250. "type": "string"
  14251. },
  14252. "ExExchangeID": {
  14253. "description": "外部交易所ID",
  14254. "type": "integer"
  14255. },
  14256. "GoodsGroupIDs": {
  14257. "description": "商品组ID列表",
  14258. "type": "array",
  14259. "items": {
  14260. "type": "integer"
  14261. }
  14262. },
  14263. "Index": {
  14264. "description": "序号",
  14265. "type": "integer"
  14266. },
  14267. "MarketID": {
  14268. "description": "市场ID",
  14269. "type": "integer"
  14270. },
  14271. "MenuTitle": {
  14272. "description": "菜单标题(市场名称或外部交易所名称)",
  14273. "type": "string"
  14274. },
  14275. "TradeMode": {
  14276. "description": "交易模式",
  14277. "type": "integer"
  14278. }
  14279. }
  14280. },
  14281. "models.SearchGoods": {
  14282. "type": "object",
  14283. "required": [
  14284. "goodscode",
  14285. "goodsid",
  14286. "goodsname",
  14287. "marketid",
  14288. "trademode"
  14289. ],
  14290. "properties": {
  14291. "goodscode": {
  14292. "description": "商品代码(内部)",
  14293. "type": "string"
  14294. },
  14295. "goodsid": {
  14296. "description": "商品ID(自增ID SEQ_GOODS)",
  14297. "type": "integer"
  14298. },
  14299. "goodsname": {
  14300. "description": "商品名称",
  14301. "type": "string"
  14302. },
  14303. "marketid": {
  14304. "description": "所属市场ID",
  14305. "type": "integer"
  14306. },
  14307. "marketname": {
  14308. "description": "市场名称",
  14309. "type": "string"
  14310. },
  14311. "trademode": {
  14312. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  14313. "type": "integer"
  14314. }
  14315. }
  14316. },
  14317. "models.Szdz2imageconfig": {
  14318. "type": "object",
  14319. "required": [
  14320. "configid"
  14321. ],
  14322. "properties": {
  14323. "configid": {
  14324. "description": "配置ID(SEQ_SZDZ2_IMAGECONFIG)",
  14325. "type": "integer"
  14326. },
  14327. "imagepath": {
  14328. "description": "图片",
  14329. "type": "string"
  14330. },
  14331. "imagetype": {
  14332. "description": "类型 - 1:App首页轮播 2:我的",
  14333. "type": "integer"
  14334. },
  14335. "sort": {
  14336. "description": "排序",
  14337. "type": "integer"
  14338. },
  14339. "title": {
  14340. "description": "标题",
  14341. "type": "string"
  14342. },
  14343. "url": {
  14344. "description": "链接",
  14345. "type": "string"
  14346. }
  14347. }
  14348. },
  14349. "models.Szdz3convertconfig": {
  14350. "type": "object",
  14351. "required": [
  14352. "converttype",
  14353. "innergoodsid",
  14354. "outergoodscode"
  14355. ],
  14356. "properties": {
  14357. "canin": {
  14358. "description": "是否可转入 - 0:不可 1:可 [5:花生米转交易]",
  14359. "type": "integer"
  14360. },
  14361. "canout": {
  14362. "description": "是否可转出 - 0:不可 1:可 [5:花生米转交易]",
  14363. "type": "integer"
  14364. },
  14365. "converttype": {
  14366. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)",
  14367. "type": "integer"
  14368. },
  14369. "createtime": {
  14370. "description": "创建时间",
  14371. "type": "string"
  14372. },
  14373. "creatorid": {
  14374. "description": "创建人",
  14375. "type": "integer"
  14376. },
  14377. "daymaxvalue": {
  14378. "description": "当日最大转入限制",
  14379. "type": "number"
  14380. },
  14381. "freezedays": {
  14382. "description": "冻结天数 [5:花生米转交易]",
  14383. "type": "integer"
  14384. },
  14385. "innergoodsid": {
  14386. "description": "内部商品ID[交易]",
  14387. "type": "integer"
  14388. },
  14389. "inratio": {
  14390. "description": "目标值",
  14391. "type": "integer"
  14392. },
  14393. "modifierid": {
  14394. "description": "修改人",
  14395. "type": "integer"
  14396. },
  14397. "modifytime": {
  14398. "description": "修改时间",
  14399. "type": "string"
  14400. },
  14401. "outergoodscode": {
  14402. "description": "外部商品代码[JD\\PD]",
  14403. "type": "string"
  14404. },
  14405. "outratio": {
  14406. "description": "源值",
  14407. "type": "integer"
  14408. },
  14409. "pddecimalplace": {
  14410. "description": "PD小数位",
  14411. "type": "integer"
  14412. },
  14413. "timemaxvalue": {
  14414. "description": "单次最大转入限制",
  14415. "type": "number"
  14416. },
  14417. "timeminvalue": {
  14418. "description": "单次最小转入限制",
  14419. "type": "number"
  14420. }
  14421. }
  14422. },
  14423. "models.Szdz3searchwhitelist": {
  14424. "type": "object",
  14425. "required": [
  14426. "userid"
  14427. ],
  14428. "properties": {
  14429. "createtime": {
  14430. "description": "创建时间",
  14431. "type": "string"
  14432. },
  14433. "creatorid": {
  14434. "description": "创建人",
  14435. "type": "integer"
  14436. },
  14437. "modifierid": {
  14438. "description": "修改人",
  14439. "type": "integer"
  14440. },
  14441. "modifytime": {
  14442. "description": "修改时间",
  14443. "type": "string"
  14444. },
  14445. "userid": {
  14446. "description": "用户ID",
  14447. "type": "integer"
  14448. }
  14449. }
  14450. },
  14451. "models.Taaccount": {
  14452. "type": "object",
  14453. "required": [
  14454. "accountid",
  14455. "userid"
  14456. ],
  14457. "properties": {
  14458. "accountflag": {
  14459. "description": "账户标识 - 0\\1 (默认为0, 当上级账户与本账户的关联用户均为自己时更新为1)",
  14460. "type": "integer"
  14461. },
  14462. "accountid": {
  14463. "description": "资金账户ID",
  14464. "type": "integer"
  14465. },
  14466. "accountname": {
  14467. "description": "账户名称",
  14468. "type": "string"
  14469. },
  14470. "balance": {
  14471. "description": "期初余额",
  14472. "type": "number"
  14473. },
  14474. "capitalbalance": {
  14475. "description": "本金余额[外部子账户实际出入金余额]",
  14476. "type": "number"
  14477. },
  14478. "changeflag": {
  14479. "description": "变动标志(当前账户资金有任何变动更新为1系统结算时更新0;供清算时使用) 0:无变动 1:有变动",
  14480. "type": "integer"
  14481. },
  14482. "changetime": {
  14483. "description": "账户状态变更时间",
  14484. "type": "string"
  14485. },
  14486. "closepl": {
  14487. "description": "今日平仓盈亏",
  14488. "type": "number"
  14489. },
  14490. "creditdecrease": {
  14491. "description": "今日授信减少",
  14492. "type": "number"
  14493. },
  14494. "creditincrease": {
  14495. "description": "今日授信增加",
  14496. "type": "number"
  14497. },
  14498. "currencyid": {
  14499. "description": "货币ID",
  14500. "type": "integer"
  14501. },
  14502. "currentbalance": {
  14503. "description": "期末余额",
  14504. "type": "number"
  14505. },
  14506. "freezecharge": {
  14507. "description": "手续费冻结",
  14508. "type": "number"
  14509. },
  14510. "freezemargin": {
  14511. "description": "冻结保证金",
  14512. "type": "number"
  14513. },
  14514. "fromaccountid": {
  14515. "description": "所属上级账户",
  14516. "type": "integer"
  14517. },
  14518. "inamount": {
  14519. "description": "今日入金金额(包括三方入金)",
  14520. "type": "number"
  14521. },
  14522. "ismain": {
  14523. "description": "是否母账号 0:不是母账户 1:是母账户",
  14524. "type": "integer"
  14525. },
  14526. "ismarketaccount": {
  14527. "description": "是否机构接单账号 0:不是 1:是",
  14528. "type": "integer"
  14529. },
  14530. "isreckonaccount": {
  14531. "description": "是否机构分润账号 0:不是 1:是",
  14532. "type": "integer"
  14533. },
  14534. "mortgagecredit": {
  14535. "description": "授信金额",
  14536. "type": "number"
  14537. },
  14538. "orifreezecharge": {
  14539. "description": "期初手续费冻结",
  14540. "type": "number"
  14541. },
  14542. "orifreezemargin": {
  14543. "description": "期初冻结保证金",
  14544. "type": "number"
  14545. },
  14546. "orimortgagecredit": {
  14547. "description": "期初授信金额",
  14548. "type": "number"
  14549. },
  14550. "oriothercredit": {
  14551. "description": "期初其它授信金额",
  14552. "type": "number"
  14553. },
  14554. "oriotherfreezemargin": {
  14555. "description": "期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)",
  14556. "type": "number"
  14557. },
  14558. "orioutamountfreeze": {
  14559. "description": "期初出金冻结",
  14560. "type": "number"
  14561. },
  14562. "oriusedmargin": {
  14563. "description": "期初占用保证金",
  14564. "type": "number"
  14565. },
  14566. "othercredit": {
  14567. "description": "其它授信金额",
  14568. "type": "number"
  14569. },
  14570. "othercreditdecrease": {
  14571. "description": "今日其它授信减少",
  14572. "type": "number"
  14573. },
  14574. "othercreditincrease": {
  14575. "description": "今日其它授信增加",
  14576. "type": "number"
  14577. },
  14578. "otherfreezemargin": {
  14579. "description": "其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)",
  14580. "type": "number"
  14581. },
  14582. "otherincome": {
  14583. "description": "其他收入(交割收款 申购收款 全款卖出 商城卖出 买家退货 会员手续费收入)",
  14584. "type": "number"
  14585. },
  14586. "otherpay": {
  14587. "description": "其他支出(交割付款 申购付款 全款买入 商城买入 卖家退货)",
  14588. "type": "number"
  14589. },
  14590. "outamount": {
  14591. "description": "今日出金金额(包括三方出金)",
  14592. "type": "number"
  14593. },
  14594. "outamountfreeze": {
  14595. "description": "出金冻结",
  14596. "type": "number"
  14597. },
  14598. "outthreshold": {
  14599. "description": "出金阈值",
  14600. "type": "number"
  14601. },
  14602. "parentaccountid": {
  14603. "description": "所属根账号",
  14604. "type": "integer"
  14605. },
  14606. "paycharge": {
  14607. "description": "今日手续费支出",
  14608. "type": "number"
  14609. },
  14610. "relatedaccountstatus": {
  14611. "description": "关联用户交易权限状态 - 1:正常(可交易) 2:受限(可平仓,不可建仓) 3:冻结(不可交易)",
  14612. "type": "integer"
  14613. },
  14614. "relateduserid": {
  14615. "description": "关联用户",
  14616. "type": "integer"
  14617. },
  14618. "serivcegroup": {
  14619. "description": "服务分组",
  14620. "type": "integer"
  14621. },
  14622. "signstatus": {
  14623. "description": "签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中",
  14624. "type": "integer"
  14625. },
  14626. "sublevelpath": {
  14627. "description": "账号层级路径(逗号分隔,首尾加逗号)",
  14628. "type": "string"
  14629. },
  14630. "taaccounttype": {
  14631. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  14632. "type": "integer"
  14633. },
  14634. "thirdinamount": {
  14635. "description": "今日三方入金",
  14636. "type": "number"
  14637. },
  14638. "thirdoutamount": {
  14639. "description": "今日三方出金",
  14640. "type": "number"
  14641. },
  14642. "tradestatus": {
  14643. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  14644. "type": "integer"
  14645. },
  14646. "tradestatuschangetime": {
  14647. "description": "激活时间",
  14648. "type": "string"
  14649. },
  14650. "transferamount": {
  14651. "description": "今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)",
  14652. "type": "number"
  14653. },
  14654. "usedmargin": {
  14655. "description": "占用保证金",
  14656. "type": "number"
  14657. },
  14658. "userid": {
  14659. "description": "用户ID",
  14660. "type": "integer"
  14661. }
  14662. }
  14663. },
  14664. "models.Tablecolumnconfig": {
  14665. "type": "object",
  14666. "required": [
  14667. "autoid"
  14668. ],
  14669. "properties": {
  14670. "aligntype": {
  14671. "description": "对齐方式 - 1:居中对齐 2:左对齐 3:右对齐",
  14672. "type": "integer"
  14673. },
  14674. "autoid": {
  14675. "description": "AutoID",
  14676. "type": "integer"
  14677. },
  14678. "columnfield": {
  14679. "description": "列字段",
  14680. "type": "string"
  14681. },
  14682. "columntitle": {
  14683. "description": "列Title",
  14684. "type": "string"
  14685. },
  14686. "columnwidth": {
  14687. "description": "列宽",
  14688. "type": "string"
  14689. },
  14690. "formatterstring": {
  14691. "description": "格式化字符",
  14692. "type": "string"
  14693. },
  14694. "formattertype": {
  14695. "description": "格式化类型",
  14696. "type": "string"
  14697. },
  14698. "groupname": {
  14699. "description": "表头分组名称",
  14700. "type": "string"
  14701. },
  14702. "isshow": {
  14703. "description": "是否显示 - 0:不显示 1:显示",
  14704. "type": "integer"
  14705. },
  14706. "needsummary": {
  14707. "description": "是否需要汇总 - 0:不需要 1:需要",
  14708. "type": "integer"
  14709. },
  14710. "orderindex": {
  14711. "description": "顺序",
  14712. "type": "integer"
  14713. },
  14714. "remark": {
  14715. "description": "备注",
  14716. "type": "string"
  14717. },
  14718. "summarytype": {
  14719. "description": "汇总类型 - 1:加总 2:最后一个",
  14720. "type": "integer"
  14721. },
  14722. "tablekey": {
  14723. "description": "列表Key",
  14724. "type": "string"
  14725. }
  14726. }
  14727. },
  14728. "models.Useraccount": {
  14729. "type": "object",
  14730. "required": [
  14731. "userid"
  14732. ],
  14733. "properties": {
  14734. "accountname": {
  14735. "description": "账户名称(机构名称)",
  14736. "type": "string"
  14737. },
  14738. "accountstatus": {
  14739. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销",
  14740. "type": "integer"
  14741. },
  14742. "auditremark": {
  14743. "description": "审核备注",
  14744. "type": "string"
  14745. },
  14746. "audittime": {
  14747. "description": "审核时间",
  14748. "type": "string"
  14749. },
  14750. "audituserid": {
  14751. "description": "审核人",
  14752. "type": "integer"
  14753. },
  14754. "broker": {
  14755. "description": "所属经纪人ID",
  14756. "type": "integer"
  14757. },
  14758. "canceltime": {
  14759. "description": "销户时间",
  14760. "type": "string"
  14761. },
  14762. "canceluserid": {
  14763. "description": "销户人",
  14764. "type": "integer"
  14765. },
  14766. "createtime": {
  14767. "description": "创建时间",
  14768. "type": "string"
  14769. },
  14770. "creatorid": {
  14771. "description": "创建人",
  14772. "type": "integer"
  14773. },
  14774. "hasauth": {
  14775. "description": "是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝",
  14776. "type": "integer"
  14777. },
  14778. "isanonymous": {
  14779. "description": "是否匿名下单 - 0:否 1:是",
  14780. "type": "integer"
  14781. },
  14782. "maxinvestornum": {
  14783. "description": "最大用户数(经纪会员下投资者个数)",
  14784. "type": "integer"
  14785. },
  14786. "memberuserid": {
  14787. "description": "所属会员ID",
  14788. "type": "integer"
  14789. },
  14790. "modifierid": {
  14791. "description": "修改人",
  14792. "type": "integer"
  14793. },
  14794. "modifyremark": {
  14795. "description": "变更备注",
  14796. "type": "string"
  14797. },
  14798. "modifystatus": {
  14799. "description": "变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)",
  14800. "type": "integer"
  14801. },
  14802. "modifytime": {
  14803. "description": "修改时间",
  14804. "type": "string"
  14805. },
  14806. "parentuserid": {
  14807. "description": "所属机构ID",
  14808. "type": "integer"
  14809. },
  14810. "reckonaccountid": {
  14811. "description": "默认结算资金账号ID(机构分润使用) 作废",
  14812. "type": "integer"
  14813. },
  14814. "refercount": {
  14815. "description": "推荐总人数",
  14816. "type": "integer"
  14817. },
  14818. "refereeuserid": {
  14819. "description": "推荐人ID",
  14820. "type": "integer"
  14821. },
  14822. "refernum": {
  14823. "description": "推荐码",
  14824. "type": "string"
  14825. },
  14826. "subarealevelpath": {
  14827. "description": "子机构层级路径(逗号分隔,首尾加逗号)",
  14828. "type": "string"
  14829. },
  14830. "userid": {
  14831. "description": "用户ID",
  14832. "type": "integer"
  14833. },
  14834. "usertype": {
  14835. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户",
  14836. "type": "integer"
  14837. }
  14838. }
  14839. },
  14840. "models.Userfavoritegoods": {
  14841. "type": "object",
  14842. "required": [
  14843. "goodsid"
  14844. ],
  14845. "properties": {
  14846. "goodsid": {
  14847. "description": "商品ID",
  14848. "type": "integer"
  14849. }
  14850. }
  14851. },
  14852. "models.Userinfo": {
  14853. "type": "object",
  14854. "required": [
  14855. "userid"
  14856. ],
  14857. "properties": {
  14858. "address": {
  14859. "description": "地址",
  14860. "type": "string"
  14861. },
  14862. "attachment1": {
  14863. "description": "附件1",
  14864. "type": "string"
  14865. },
  14866. "attachment2": {
  14867. "description": "附件2",
  14868. "type": "string"
  14869. },
  14870. "bankaccount": {
  14871. "description": "银行帐号 (加密存储)",
  14872. "type": "string"
  14873. },
  14874. "bankaccountname": {
  14875. "description": "收款人名称",
  14876. "type": "string"
  14877. },
  14878. "bankcardfrontphotourl": {
  14879. "description": "银行卡正面照地址",
  14880. "type": "string"
  14881. },
  14882. "bankid": {
  14883. "description": "银行编码",
  14884. "type": "string"
  14885. },
  14886. "bankname": {
  14887. "description": "银行名称",
  14888. "type": "string"
  14889. },
  14890. "biznature": {
  14891. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  14892. "type": "integer"
  14893. },
  14894. "bizscope": {
  14895. "description": "企业经营范围(企业)",
  14896. "type": "string"
  14897. },
  14898. "cardbackphotourl": {
  14899. "description": "证件背面图片地址",
  14900. "type": "string"
  14901. },
  14902. "cardfrontphotourl": {
  14903. "description": "证件正面图片地址",
  14904. "type": "string"
  14905. },
  14906. "cardnum": {
  14907. "description": "证件号码(加密存储)",
  14908. "type": "string"
  14909. },
  14910. "cardtypeid": {
  14911. "description": "证件类型ID",
  14912. "type": "integer"
  14913. },
  14914. "cityid": {
  14915. "description": "市",
  14916. "type": "integer"
  14917. },
  14918. "company": {
  14919. "description": "公司(个人)",
  14920. "type": "string"
  14921. },
  14922. "contactname": {
  14923. "description": "联系人",
  14924. "type": "string"
  14925. },
  14926. "countryid": {
  14927. "description": "国家",
  14928. "type": "integer"
  14929. },
  14930. "createtime": {
  14931. "description": "创建时间",
  14932. "type": "string"
  14933. },
  14934. "creatorid": {
  14935. "description": "创建人",
  14936. "type": "integer"
  14937. },
  14938. "customername": {
  14939. "description": "客户名称(企业名称)",
  14940. "type": "string"
  14941. },
  14942. "districtid": {
  14943. "description": "地区",
  14944. "type": "integer"
  14945. },
  14946. "email": {
  14947. "description": "邮件(加密存储)",
  14948. "type": "string"
  14949. },
  14950. "fax": {
  14951. "description": "传真(加密存储)",
  14952. "type": "string"
  14953. },
  14954. "halfbodyphotourl": {
  14955. "description": "半身照地址",
  14956. "type": "string"
  14957. },
  14958. "hasencrypt": {
  14959. "description": "数据是否已加密 - 0:未加密 1:已加密",
  14960. "type": "integer"
  14961. },
  14962. "headurl": {
  14963. "description": "头像地址",
  14964. "type": "string"
  14965. },
  14966. "legalcardbackphotourl": {
  14967. "description": "法人身份证背面照地址",
  14968. "type": "string"
  14969. },
  14970. "legalcardfrontphotourl": {
  14971. "description": "法人身份证正面照地址",
  14972. "type": "string"
  14973. },
  14974. "legalpersonname": {
  14975. "description": "法人姓名(企业)",
  14976. "type": "string"
  14977. },
  14978. "mobile": {
  14979. "description": "手机号码(加密存储)",
  14980. "type": "string"
  14981. },
  14982. "mobile2": {
  14983. "description": "手机号码[明文-尚志]",
  14984. "type": "string"
  14985. },
  14986. "modifierid": {
  14987. "description": "修改人",
  14988. "type": "integer"
  14989. },
  14990. "modifiertime": {
  14991. "description": "修改时间",
  14992. "type": "string"
  14993. },
  14994. "needinvoice": {
  14995. "description": "是否需要发票 - 0:不需要 1:需要",
  14996. "type": "integer"
  14997. },
  14998. "nickname": {
  14999. "description": "昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)",
  15000. "type": "string"
  15001. },
  15002. "openmode": {
  15003. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户",
  15004. "type": "integer"
  15005. },
  15006. "otherurl": {
  15007. "description": "其它图片地址[使用分号分隔]",
  15008. "type": "string"
  15009. },
  15010. "postalcode": {
  15011. "description": "邮政编码",
  15012. "type": "string"
  15013. },
  15014. "provinceid": {
  15015. "description": "省",
  15016. "type": "integer"
  15017. },
  15018. "qq": {
  15019. "description": "QQ(加密存储",
  15020. "type": "string"
  15021. },
  15022. "remark": {
  15023. "description": "备注",
  15024. "type": "string"
  15025. },
  15026. "sex": {
  15027. "description": "用户性别 0: 女 1: 男",
  15028. "type": "integer"
  15029. },
  15030. "signpdfurl": {
  15031. "description": "签约pdf文件",
  15032. "type": "string"
  15033. },
  15034. "telphone": {
  15035. "description": "联系电话(加密存储)",
  15036. "type": "string"
  15037. },
  15038. "userid": {
  15039. "description": "用户ID",
  15040. "type": "integer"
  15041. },
  15042. "userinfotype": {
  15043. "description": "用户信息类型 - 1:个人 2:企业",
  15044. "type": "integer"
  15045. },
  15046. "userstatus": {
  15047. "description": "用户状态 - 1:正常 2:注销",
  15048. "type": "integer"
  15049. },
  15050. "usertype": {
  15051. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户",
  15052. "type": "integer"
  15053. },
  15054. "wechat": {
  15055. "description": "微信(加密存储)",
  15056. "type": "string"
  15057. },
  15058. "wskhinfo": {
  15059. "description": "开户申请信息(JSON)",
  15060. "type": "string"
  15061. }
  15062. }
  15063. },
  15064. "models.WRCategoryTree": {
  15065. "type": "object",
  15066. "required": [
  15067. "categoryid"
  15068. ],
  15069. "properties": {
  15070. "areauserid": {
  15071. "description": "所属机构",
  15072. "type": "integer"
  15073. },
  15074. "categorydesc": {
  15075. "description": "类别描述",
  15076. "type": "string"
  15077. },
  15078. "categoryid": {
  15079. "description": "类别ID(SEQ_WRCATEGORY)",
  15080. "type": "integer"
  15081. },
  15082. "categoryname": {
  15083. "description": "类别名称",
  15084. "type": "string"
  15085. },
  15086. "iconurl": {
  15087. "description": "图标地址",
  15088. "type": "string"
  15089. },
  15090. "orderindex": {
  15091. "description": "顺序",
  15092. "type": "integer"
  15093. },
  15094. "parentcategoryid": {
  15095. "description": "父类别ID",
  15096. "type": "integer"
  15097. },
  15098. "subcategory": {
  15099. "description": "子分类",
  15100. "type": "array",
  15101. "items": {
  15102. "$ref": "#/definitions/models.WRCategoryTree"
  15103. }
  15104. }
  15105. }
  15106. },
  15107. "models.WRSConverTDetail": {
  15108. "type": "object",
  15109. "properties": {
  15110. "convertratio": {
  15111. "description": "套保系数",
  15112. "type": "number"
  15113. },
  15114. "deliverygoodsid": {
  15115. "description": "现货品种ID",
  15116. "type": "integer"
  15117. },
  15118. "middlegoodscode": {
  15119. "description": "套保品种代码",
  15120. "type": "string"
  15121. },
  15122. "middlegoodsid": {
  15123. "description": "套保品种ID",
  15124. "type": "integer"
  15125. },
  15126. "middlegoodsname": {
  15127. "description": "套保品种名称",
  15128. "type": "string"
  15129. },
  15130. "modifytime": {
  15131. "description": "修改时间",
  15132. "type": "string"
  15133. },
  15134. "wrstandardid": {
  15135. "description": "现货商品ID",
  15136. "type": "integer"
  15137. }
  15138. }
  15139. },
  15140. "models.WRStandardInfo": {
  15141. "type": "object",
  15142. "required": [
  15143. "wrstandardid"
  15144. ],
  15145. "properties": {
  15146. "createtime": {
  15147. "description": "创建时间",
  15148. "type": "string"
  15149. },
  15150. "creatorid": {
  15151. "description": "创建人",
  15152. "type": "integer"
  15153. },
  15154. "deliverygoodsid": {
  15155. "description": "品种ID",
  15156. "type": "integer"
  15157. },
  15158. "deliverygoodsname": {
  15159. "description": "交割商品名称",
  15160. "type": "string"
  15161. },
  15162. "factoryitemjson": {
  15163. "description": "要素项定义Json[{\"DGFactoryItemTypeID\": ,\"ItemTypeMode\": ,\"FactoryItemIDs\": },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem-\u003eDGFactoryItemTypeIDItemTypeMode - 要素项类型模式 --DGFactoryItem-\u003eItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem-\u003eDGFactoryItemID, 逗号分隔",
  15164. "type": "string"
  15165. },
  15166. "isvalid": {
  15167. "description": "是否有效 - 0:无效 1:有效",
  15168. "type": "integer"
  15169. },
  15170. "minivalue": {
  15171. "description": "最小变动值",
  15172. "type": "integer"
  15173. },
  15174. "minivaluedp": {
  15175. "description": "最小变动值小数位",
  15176. "type": "integer"
  15177. },
  15178. "realminivalue": {
  15179. "description": "实际最小变动值",
  15180. "type": "integer"
  15181. },
  15182. "realminivaluedp": {
  15183. "description": "实际最小变动值小数位",
  15184. "type": "integer"
  15185. },
  15186. "unitid": {
  15187. "description": "单位ID",
  15188. "type": "integer"
  15189. },
  15190. "unitname": {
  15191. "description": "单位",
  15192. "type": "string"
  15193. },
  15194. "updatetime": {
  15195. "description": "更新时间",
  15196. "type": "string"
  15197. },
  15198. "updatorid": {
  15199. "description": "更新人",
  15200. "type": "integer"
  15201. },
  15202. "wrsstatus": {
  15203. "description": "状态 - 作废 - 0:未激活 1:正常",
  15204. "type": "integer"
  15205. },
  15206. "wrstandardcode": {
  15207. "description": "仓单标准代码",
  15208. "type": "string"
  15209. },
  15210. "wrstandardid": {
  15211. "description": "仓单标准ID(SEQ_WRSTANDARD)",
  15212. "type": "integer"
  15213. },
  15214. "wrstandardname": {
  15215. "description": "仓单标准名称",
  15216. "type": "string"
  15217. }
  15218. }
  15219. },
  15220. "models.Warehouseinfo": {
  15221. "type": "object",
  15222. "required": [
  15223. "autoid",
  15224. "warehousecode"
  15225. ],
  15226. "properties": {
  15227. "address": {
  15228. "description": "详细地址",
  15229. "type": "string"
  15230. },
  15231. "areauserid": {
  15232. "description": "所属机构",
  15233. "type": "integer"
  15234. },
  15235. "autoid": {
  15236. "description": "自增ID",
  15237. "type": "integer"
  15238. },
  15239. "cityid": {
  15240. "description": "市",
  15241. "type": "integer"
  15242. },
  15243. "contactname": {
  15244. "description": "联系人",
  15245. "type": "string"
  15246. },
  15247. "contactnum": {
  15248. "description": "联系电话",
  15249. "type": "string"
  15250. },
  15251. "countryid": {
  15252. "description": "国家",
  15253. "type": "integer"
  15254. },
  15255. "createtime": {
  15256. "description": "创建时间",
  15257. "type": "string"
  15258. },
  15259. "districtid": {
  15260. "description": "区",
  15261. "type": "integer"
  15262. },
  15263. "hasvideo": {
  15264. "description": "是否有视频 - 0:无 1:有",
  15265. "type": "integer"
  15266. },
  15267. "provinceid": {
  15268. "description": "省",
  15269. "type": "integer"
  15270. },
  15271. "remark": {
  15272. "description": "审核备注",
  15273. "type": "string"
  15274. },
  15275. "videourl": {
  15276. "description": "视频地址",
  15277. "type": "string"
  15278. },
  15279. "warehousecode": {
  15280. "description": "仓库代码",
  15281. "type": "string"
  15282. },
  15283. "warehousename": {
  15284. "description": "仓库名称",
  15285. "type": "string"
  15286. },
  15287. "warehousestatus": {
  15288. "description": "仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝",
  15289. "type": "integer"
  15290. },
  15291. "warehousetype": {
  15292. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  15293. "type": "integer"
  15294. }
  15295. }
  15296. },
  15297. "order.QueryHisTradeDetailRsp": {
  15298. "type": "object",
  15299. "required": [
  15300. "accountid",
  15301. "buyorsell",
  15302. "goodsid",
  15303. "histradedate",
  15304. "marketid",
  15305. "memberuserid",
  15306. "orderid",
  15307. "tradeamount",
  15308. "tradedate",
  15309. "tradeid",
  15310. "tradeprice",
  15311. "tradeqty",
  15312. "tradetime"
  15313. ],
  15314. "properties": {
  15315. "accountid": {
  15316. "description": "账户ID[报价币种]",
  15317. "type": "integer"
  15318. },
  15319. "buildtype": {
  15320. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  15321. "type": "integer"
  15322. },
  15323. "buyorsell": {
  15324. "description": "方向 - 0:买 1:卖",
  15325. "type": "integer"
  15326. },
  15327. "charge": {
  15328. "description": "手续费",
  15329. "type": "number"
  15330. },
  15331. "closecharge": {
  15332. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  15333. "type": "number"
  15334. },
  15335. "closeexchagechargevalue": {
  15336. "description": "平仓交易所手续费设置值",
  15337. "type": "number"
  15338. },
  15339. "closefeealgorithm": {
  15340. "description": "平仓手续费收取方式 1:比率 2:固定",
  15341. "type": "integer"
  15342. },
  15343. "closememberchargevalue": {
  15344. "description": "平仓会员手续费设置值",
  15345. "type": "number"
  15346. },
  15347. "closepl": {
  15348. "description": "平仓盈亏",
  15349. "type": "number"
  15350. },
  15351. "closepl2": {
  15352. "description": "平仓盈亏[逐笔]",
  15353. "type": "number"
  15354. },
  15355. "closeqty": {
  15356. "description": "平仓数量(先建后平操作 需要记录)",
  15357. "type": "integer"
  15358. },
  15359. "creditamount": {
  15360. "description": "授信金额",
  15361. "type": "number"
  15362. },
  15363. "gcaccountid": {
  15364. "description": "账户ID[合约币种]",
  15365. "type": "integer"
  15366. },
  15367. "goodscode": {
  15368. "description": "商品代码",
  15369. "type": "string"
  15370. },
  15371. "goodsid": {
  15372. "description": "商品ID",
  15373. "type": "integer"
  15374. },
  15375. "goodsname": {
  15376. "description": "商品名称",
  15377. "type": "string"
  15378. },
  15379. "histradedate": {
  15380. "description": "历史交易日",
  15381. "type": "string"
  15382. },
  15383. "intclosepl": {
  15384. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  15385. "type": "integer"
  15386. },
  15387. "isconfirmexercise": {
  15388. "description": "是否确认行权- 0:否 1:是",
  15389. "type": "integer"
  15390. },
  15391. "ismain": {
  15392. "description": "是否主单 - 0:不是 1:是",
  15393. "type": "integer"
  15394. },
  15395. "ispreexercise": {
  15396. "description": "是否预申报- 0:否 1:是",
  15397. "type": "integer"
  15398. },
  15399. "isreckoned": {
  15400. "description": "是否结算 - 0:未结算 1:已结算",
  15401. "type": "integer"
  15402. },
  15403. "isvaliddata": {
  15404. "description": "是否有效 - 0:无效 1:有效",
  15405. "type": "integer"
  15406. },
  15407. "listingselecttype": {
  15408. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  15409. "type": "integer"
  15410. },
  15411. "marketid": {
  15412. "description": "市场ID",
  15413. "type": "integer"
  15414. },
  15415. "marketname": {
  15416. "description": "市场名称",
  15417. "type": "string"
  15418. },
  15419. "matchaccountid": {
  15420. "description": "对手账号id",
  15421. "type": "integer"
  15422. },
  15423. "memberuserid": {
  15424. "description": "会员id 个人投资者 需要填写",
  15425. "type": "integer"
  15426. },
  15427. "opencharge": {
  15428. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  15429. "type": "number"
  15430. },
  15431. "openexchagechargevalue": {
  15432. "description": "建仓交易所手续费设置值",
  15433. "type": "number"
  15434. },
  15435. "openfeealgorithm": {
  15436. "description": "建仓手续费收取方式 1:比率 2:固定",
  15437. "type": "integer"
  15438. },
  15439. "openmemberchargevalue": {
  15440. "description": "建仓会员手续费设置值",
  15441. "type": "number"
  15442. },
  15443. "openqty": {
  15444. "description": "开仓数量(先建后平操作 需要记录)",
  15445. "type": "integer"
  15446. },
  15447. "optiontype": {
  15448. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  15449. "type": "integer"
  15450. },
  15451. "orderid": {
  15452. "description": "委托单号",
  15453. "type": "string"
  15454. },
  15455. "performanceplanid": {
  15456. "description": "履约计划ID[期权]",
  15457. "type": "integer"
  15458. },
  15459. "performancestatus": {
  15460. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  15461. "type": "integer"
  15462. },
  15463. "preexerciseprice": {
  15464. "description": "预申报价格",
  15465. "type": "number"
  15466. },
  15467. "premium": {
  15468. "description": "权利金 - [持仓单的权利金]",
  15469. "type": "number"
  15470. },
  15471. "relatedouttradeid": {
  15472. "description": "关联外部成交单ID",
  15473. "type": "integer"
  15474. },
  15475. "status": {
  15476. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  15477. "type": "integer"
  15478. },
  15479. "tradeamount": {
  15480. "description": "成交金额[账户币种,用于所有权]",
  15481. "type": "number"
  15482. },
  15483. "tradedate": {
  15484. "description": "交易日(yyyyMMdd)",
  15485. "type": "string"
  15486. },
  15487. "tradeid": {
  15488. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  15489. "type": "string"
  15490. },
  15491. "trademode": {
  15492. "description": "交易模式",
  15493. "type": "integer"
  15494. },
  15495. "tradeprice": {
  15496. "description": "成交价格",
  15497. "type": "number"
  15498. },
  15499. "tradeproperty": {
  15500. "description": "交易属性",
  15501. "type": "integer"
  15502. },
  15503. "tradeqty": {
  15504. "description": "成交数量",
  15505. "type": "integer"
  15506. },
  15507. "tradetime": {
  15508. "description": "成交时间",
  15509. "type": "string"
  15510. },
  15511. "tradetype": {
  15512. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  15513. "type": "integer"
  15514. }
  15515. }
  15516. },
  15517. "order.QueryHisTradeOrderDetailRsp": {
  15518. "type": "object",
  15519. "required": [
  15520. "accountid",
  15521. "buildtype",
  15522. "buyorsell",
  15523. "goodsid",
  15524. "histradedate",
  15525. "marketid",
  15526. "memberuserid",
  15527. "operatetype",
  15528. "orderid",
  15529. "orderqty",
  15530. "ordertime",
  15531. "pricemode",
  15532. "tradedate",
  15533. "validtype"
  15534. ],
  15535. "properties": {
  15536. "accountid": {
  15537. "description": "账户ID[报价币种]",
  15538. "type": "integer"
  15539. },
  15540. "buildtype": {
  15541. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  15542. "type": "integer"
  15543. },
  15544. "buyorsell": {
  15545. "description": "买卖 - 0:买 1:卖",
  15546. "type": "integer"
  15547. },
  15548. "cancelorderid": {
  15549. "description": "撤单单号(撤单时填写)",
  15550. "type": "string"
  15551. },
  15552. "cancelqty": {
  15553. "description": "撤单数量",
  15554. "type": "integer"
  15555. },
  15556. "clientordertime": {
  15557. "description": "客户端委托时间",
  15558. "type": "string"
  15559. },
  15560. "clientticket": {
  15561. "description": "客户端流水号",
  15562. "type": "string"
  15563. },
  15564. "clienttype": {
  15565. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  15566. "type": "integer"
  15567. },
  15568. "closeexchagechargevalue": {
  15569. "description": "平仓交易所手续费设置值",
  15570. "type": "number"
  15571. },
  15572. "closefeealgorithm": {
  15573. "description": "平仓手续费收取方式 1:比率 2:固定",
  15574. "type": "integer"
  15575. },
  15576. "closefreezecharge": {
  15577. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  15578. "type": "number"
  15579. },
  15580. "closememberchargevalue": {
  15581. "description": "平仓会员手续费设置值",
  15582. "type": "number"
  15583. },
  15584. "closeqty": {
  15585. "description": "平仓数量(先建后平操作 需要记录)",
  15586. "type": "integer"
  15587. },
  15588. "closetradeqty": {
  15589. "description": "平仓成交数量(先建后平操作,需要记录)",
  15590. "type": "integer"
  15591. },
  15592. "closeunfreezecharge": {
  15593. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  15594. "type": "number"
  15595. },
  15596. "delistingtype": {
  15597. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  15598. "type": "integer"
  15599. },
  15600. "freezecharge": {
  15601. "description": "冻结手续费",
  15602. "type": "number"
  15603. },
  15604. "freezemargin": {
  15605. "description": "冻结保证金(冻结交易金额)",
  15606. "type": "number"
  15607. },
  15608. "gcaccountid": {
  15609. "description": "账户ID[合约币种]",
  15610. "type": "integer"
  15611. },
  15612. "goodscode": {
  15613. "description": "商品代码",
  15614. "type": "string"
  15615. },
  15616. "goodsid": {
  15617. "description": "商品ID",
  15618. "type": "integer"
  15619. },
  15620. "goodsname": {
  15621. "description": "商品名称",
  15622. "type": "string"
  15623. },
  15624. "histradedate": {
  15625. "description": "历史交易日",
  15626. "type": "string"
  15627. },
  15628. "isconfirmexercise": {
  15629. "description": "是否确认行权- 0:否 1:是",
  15630. "type": "integer"
  15631. },
  15632. "ispreexercise": {
  15633. "description": "是否预申报- 0:否 1:是",
  15634. "type": "integer"
  15635. },
  15636. "isvaliddata": {
  15637. "description": "是否有效 - 0:无效 1:有效",
  15638. "type": "integer"
  15639. },
  15640. "listingselecttype": {
  15641. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  15642. "type": "integer"
  15643. },
  15644. "marginalgorithm": {
  15645. "description": "保证金收取方式 1:比率 2:固定",
  15646. "type": "integer"
  15647. },
  15648. "marginvalue": {
  15649. "description": "即市保证金设置值",
  15650. "type": "number"
  15651. },
  15652. "marketid": {
  15653. "description": "市场ID",
  15654. "type": "integer"
  15655. },
  15656. "marketmaxsub": {
  15657. "description": "市价最大偏移范围",
  15658. "type": "number"
  15659. },
  15660. "marketname": {
  15661. "description": "市场名称",
  15662. "type": "string"
  15663. },
  15664. "memberuserid": {
  15665. "description": "所属会员UserID",
  15666. "type": "integer"
  15667. },
  15668. "openexchagechargevalue": {
  15669. "description": "建仓交易所手续费设置值",
  15670. "type": "number"
  15671. },
  15672. "openfeealgorithm": {
  15673. "description": "建仓手续费收取方式 1:比率 2:固定",
  15674. "type": "integer"
  15675. },
  15676. "openfreezecharge": {
  15677. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  15678. "type": "number"
  15679. },
  15680. "openmemberchargevalue": {
  15681. "description": "建仓会员手续费设置值",
  15682. "type": "number"
  15683. },
  15684. "openqty": {
  15685. "description": "开仓数量(先建后平操作,需要记录)",
  15686. "type": "integer"
  15687. },
  15688. "opentradeqty": {
  15689. "description": "开仓成交数量(先建后平操作,需要记录)",
  15690. "type": "integer"
  15691. },
  15692. "openunfreezecharge": {
  15693. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  15694. "type": "number"
  15695. },
  15696. "operatetype": {
  15697. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  15698. "type": "integer"
  15699. },
  15700. "operatorid": {
  15701. "description": "登录账号(LoginID)",
  15702. "type": "integer"
  15703. },
  15704. "optiontype": {
  15705. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  15706. "type": "integer"
  15707. },
  15708. "orderid": {
  15709. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  15710. "type": "string"
  15711. },
  15712. "orderprice": {
  15713. "description": "委托价格",
  15714. "type": "number"
  15715. },
  15716. "orderqty": {
  15717. "description": "委托数量",
  15718. "type": "integer"
  15719. },
  15720. "ordersrc": {
  15721. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  15722. "type": "integer"
  15723. },
  15724. "orderstatus": {
  15725. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  15726. "type": "integer"
  15727. },
  15728. "ordertime": {
  15729. "description": "委托时间",
  15730. "type": "string"
  15731. },
  15732. "preexerciseprice": {
  15733. "description": "预申报价格",
  15734. "type": "number"
  15735. },
  15736. "premium": {
  15737. "description": "权利金",
  15738. "type": "number"
  15739. },
  15740. "preorderid": {
  15741. "description": "关联预埋单号(止盈止损单时填写)",
  15742. "type": "string"
  15743. },
  15744. "pricemode": {
  15745. "description": "取价方式 - 1:市价 2: 限价",
  15746. "type": "integer"
  15747. },
  15748. "quoteid": {
  15749. "description": "报价单ID",
  15750. "type": "integer"
  15751. },
  15752. "relatedid": {
  15753. "description": "关联单号(交割单)",
  15754. "type": "string"
  15755. },
  15756. "retcode": {
  15757. "description": "错误代码",
  15758. "type": "integer"
  15759. },
  15760. "sessionid": {
  15761. "description": "会话ID",
  15762. "type": "integer"
  15763. },
  15764. "tradedate": {
  15765. "description": "交易日(yyyyMMdd)",
  15766. "type": "string"
  15767. },
  15768. "trademode": {
  15769. "description": "交易模式",
  15770. "type": "integer"
  15771. },
  15772. "tradeproperty": {
  15773. "description": "交易属性",
  15774. "type": "integer"
  15775. },
  15776. "tradeqty": {
  15777. "description": "成交数量",
  15778. "type": "integer"
  15779. },
  15780. "unfreezecharge": {
  15781. "description": "解冻手续费",
  15782. "type": "number"
  15783. },
  15784. "unfreezemargin": {
  15785. "description": "解冻保证金",
  15786. "type": "number"
  15787. },
  15788. "updatetime": {
  15789. "description": "更新时间",
  15790. "type": "string"
  15791. },
  15792. "uuid": {
  15793. "description": "发起端唯一id",
  15794. "type": "string"
  15795. },
  15796. "validtime": {
  15797. "description": "有效期限",
  15798. "type": "string"
  15799. },
  15800. "validtype": {
  15801. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  15802. "type": "integer"
  15803. },
  15804. "volumetype": {
  15805. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  15806. "type": "integer"
  15807. }
  15808. }
  15809. },
  15810. "order.QueryTradeDetailRsp": {
  15811. "type": "object",
  15812. "required": [
  15813. "accountid",
  15814. "buyorsell",
  15815. "goodsid",
  15816. "marketid",
  15817. "memberuserid",
  15818. "orderid",
  15819. "tradeamount",
  15820. "tradedate",
  15821. "tradeid",
  15822. "tradeprice",
  15823. "tradeqty",
  15824. "tradetime"
  15825. ],
  15826. "properties": {
  15827. "accountid": {
  15828. "description": "账户ID[报价币种]",
  15829. "type": "integer"
  15830. },
  15831. "buildtype": {
  15832. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  15833. "type": "integer"
  15834. },
  15835. "buyorsell": {
  15836. "description": "方向 - 0:买 1:卖",
  15837. "type": "integer"
  15838. },
  15839. "charge": {
  15840. "description": "手续费",
  15841. "type": "number"
  15842. },
  15843. "closecharge": {
  15844. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  15845. "type": "number"
  15846. },
  15847. "closeexchagechargevalue": {
  15848. "description": "平仓交易所手续费设置值",
  15849. "type": "number"
  15850. },
  15851. "closefeealgorithm": {
  15852. "description": "平仓手续费收取方式 1:比率 2:固定",
  15853. "type": "integer"
  15854. },
  15855. "closememberchargevalue": {
  15856. "description": "平仓会员手续费设置值",
  15857. "type": "number"
  15858. },
  15859. "closepl": {
  15860. "description": "平仓盈亏",
  15861. "type": "number"
  15862. },
  15863. "closepl2": {
  15864. "description": "平仓盈亏[逐笔]",
  15865. "type": "number"
  15866. },
  15867. "closeqty": {
  15868. "description": "平仓数量(先建后平操作 需要记录)",
  15869. "type": "integer"
  15870. },
  15871. "creditamount": {
  15872. "description": "授信金额",
  15873. "type": "number"
  15874. },
  15875. "gcaccountid": {
  15876. "description": "账户ID[合约币种]",
  15877. "type": "integer"
  15878. },
  15879. "goodscode": {
  15880. "description": "商品代码",
  15881. "type": "string"
  15882. },
  15883. "goodsid": {
  15884. "description": "商品ID",
  15885. "type": "integer"
  15886. },
  15887. "goodsname": {
  15888. "description": "商品名称",
  15889. "type": "string"
  15890. },
  15891. "intclosepl": {
  15892. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  15893. "type": "integer"
  15894. },
  15895. "isconfirmexercise": {
  15896. "description": "是否确认行权- 0:否 1:是",
  15897. "type": "integer"
  15898. },
  15899. "ismain": {
  15900. "description": "是否主单 - 0:不是 1:是",
  15901. "type": "integer"
  15902. },
  15903. "ispreexercise": {
  15904. "description": "是否预申报- 0:否 1:是",
  15905. "type": "integer"
  15906. },
  15907. "isreckoned": {
  15908. "description": "是否结算 - 0:未结算 1:已结算",
  15909. "type": "integer"
  15910. },
  15911. "listingselecttype": {
  15912. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  15913. "type": "integer"
  15914. },
  15915. "marketid": {
  15916. "description": "市场ID",
  15917. "type": "integer"
  15918. },
  15919. "marketname": {
  15920. "description": "市场名称",
  15921. "type": "string"
  15922. },
  15923. "matchaccountid": {
  15924. "description": "对手账号id",
  15925. "type": "integer"
  15926. },
  15927. "memberuserid": {
  15928. "description": "会员id 个人投资者 需要填写",
  15929. "type": "integer"
  15930. },
  15931. "opencharge": {
  15932. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  15933. "type": "number"
  15934. },
  15935. "openexchagechargevalue": {
  15936. "description": "建仓交易所手续费设置值",
  15937. "type": "number"
  15938. },
  15939. "openfeealgorithm": {
  15940. "description": "建仓手续费收取方式 1:比率 2:固定",
  15941. "type": "integer"
  15942. },
  15943. "openmemberchargevalue": {
  15944. "description": "建仓会员手续费设置值",
  15945. "type": "number"
  15946. },
  15947. "openqty": {
  15948. "description": "开仓数量(先建后平操作 需要记录)",
  15949. "type": "integer"
  15950. },
  15951. "optiontype": {
  15952. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  15953. "type": "integer"
  15954. },
  15955. "orderid": {
  15956. "description": "委托单号",
  15957. "type": "string"
  15958. },
  15959. "performanceplanid": {
  15960. "description": "履约计划ID[期权]",
  15961. "type": "integer"
  15962. },
  15963. "performancestatus": {
  15964. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  15965. "type": "integer"
  15966. },
  15967. "preexerciseprice": {
  15968. "description": "预申报价格",
  15969. "type": "number"
  15970. },
  15971. "premium": {
  15972. "description": "权利金 - [持仓单的权利金]",
  15973. "type": "number"
  15974. },
  15975. "relatedouttradeid": {
  15976. "description": "关联外部成交单ID",
  15977. "type": "integer"
  15978. },
  15979. "status": {
  15980. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  15981. "type": "integer"
  15982. },
  15983. "tradeamount": {
  15984. "description": "成交金额[账户币种,用于所有权]",
  15985. "type": "number"
  15986. },
  15987. "tradedate": {
  15988. "description": "交易日(yyyyMMdd)",
  15989. "type": "string"
  15990. },
  15991. "tradeid": {
  15992. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  15993. "type": "string"
  15994. },
  15995. "trademode": {
  15996. "description": "交易模式",
  15997. "type": "integer"
  15998. },
  15999. "tradeprice": {
  16000. "description": "成交价格",
  16001. "type": "number"
  16002. },
  16003. "tradeproperty": {
  16004. "description": "交易属性",
  16005. "type": "integer"
  16006. },
  16007. "tradeqty": {
  16008. "description": "成交数量",
  16009. "type": "integer"
  16010. },
  16011. "tradetime": {
  16012. "description": "成交时间",
  16013. "type": "string"
  16014. },
  16015. "tradetype": {
  16016. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  16017. "type": "integer"
  16018. }
  16019. }
  16020. },
  16021. "order.QueryTradeOrderDetailRsp": {
  16022. "type": "object",
  16023. "required": [
  16024. "accountid",
  16025. "buildtype",
  16026. "buyorsell",
  16027. "goodsid",
  16028. "marketid",
  16029. "operatetype",
  16030. "orderqty",
  16031. "ordertime",
  16032. "pricemode",
  16033. "tradedate",
  16034. "validtype"
  16035. ],
  16036. "properties": {
  16037. "accountid": {
  16038. "description": "账户ID[报价币种]",
  16039. "type": "integer"
  16040. },
  16041. "buildtype": {
  16042. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  16043. "type": "integer"
  16044. },
  16045. "buyorsell": {
  16046. "description": "买卖 - 0:买 1:卖",
  16047. "type": "integer"
  16048. },
  16049. "cancelorderid": {
  16050. "description": "撤单单号(撤单时填写)",
  16051. "type": "string"
  16052. },
  16053. "cancelqty": {
  16054. "description": "撤单数量",
  16055. "type": "integer"
  16056. },
  16057. "clienttype": {
  16058. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  16059. "type": "integer"
  16060. },
  16061. "closefreezecharge": {
  16062. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  16063. "type": "number"
  16064. },
  16065. "closeqty": {
  16066. "description": "平仓数量(先建后平操作 需要记录)",
  16067. "type": "integer"
  16068. },
  16069. "closetradeqty": {
  16070. "description": "平仓成交数量(先建后平操作,需要记录)",
  16071. "type": "integer"
  16072. },
  16073. "closeunfreezecharge": {
  16074. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  16075. "type": "number"
  16076. },
  16077. "delistingtype": {
  16078. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  16079. "type": "integer"
  16080. },
  16081. "enableqty": {
  16082. "description": "可用数量 = 委托数量 - 成交数量 - 撤单数量",
  16083. "type": "integer"
  16084. },
  16085. "freezecharge": {
  16086. "description": "冻结手续费",
  16087. "type": "number"
  16088. },
  16089. "freezemargin": {
  16090. "description": "冻结保证金(冻结交易金额)",
  16091. "type": "number"
  16092. },
  16093. "goodscode": {
  16094. "description": "商品代码",
  16095. "type": "string"
  16096. },
  16097. "goodsid": {
  16098. "description": "商品ID",
  16099. "type": "integer"
  16100. },
  16101. "goodsname": {
  16102. "description": "商品名称",
  16103. "type": "string"
  16104. },
  16105. "listingselecttype": {
  16106. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  16107. "type": "integer"
  16108. },
  16109. "marketid": {
  16110. "description": "市场ID",
  16111. "type": "integer"
  16112. },
  16113. "marketname": {
  16114. "description": "市场名称",
  16115. "type": "string"
  16116. },
  16117. "openfreezecharge": {
  16118. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  16119. "type": "number"
  16120. },
  16121. "openqty": {
  16122. "description": "开仓数量(先建后平操作,需要记录)",
  16123. "type": "integer"
  16124. },
  16125. "opentradeqty": {
  16126. "description": "开仓成交数量(先建后平操作,需要记录)",
  16127. "type": "integer"
  16128. },
  16129. "openunfreezecharge": {
  16130. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  16131. "type": "number"
  16132. },
  16133. "operatetype": {
  16134. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  16135. "type": "integer"
  16136. },
  16137. "operatorid": {
  16138. "description": "登录账号(LoginID)",
  16139. "type": "integer"
  16140. },
  16141. "orderid": {
  16142. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  16143. "type": "string"
  16144. },
  16145. "orderprice": {
  16146. "description": "委托价格",
  16147. "type": "number"
  16148. },
  16149. "orderqty": {
  16150. "description": "委托数量",
  16151. "type": "integer"
  16152. },
  16153. "ordersrc": {
  16154. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  16155. "type": "integer"
  16156. },
  16157. "orderstatus": {
  16158. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  16159. "type": "integer"
  16160. },
  16161. "ordertime": {
  16162. "description": "委托时间",
  16163. "type": "string"
  16164. },
  16165. "preorderid": {
  16166. "description": "关联预埋单号(止盈止损单时填写)",
  16167. "type": "string"
  16168. },
  16169. "pricemode": {
  16170. "description": "取价方式 - 1:市价 2: 限价",
  16171. "type": "integer"
  16172. },
  16173. "relatedid": {
  16174. "description": "关联单号(交割单)",
  16175. "type": "string"
  16176. },
  16177. "tradedate": {
  16178. "description": "交易日(yyyyMMdd)",
  16179. "type": "string"
  16180. },
  16181. "trademode": {
  16182. "description": "交易模式",
  16183. "type": "integer"
  16184. },
  16185. "tradeqty": {
  16186. "description": "成交数量",
  16187. "type": "integer"
  16188. },
  16189. "unfreezecharge": {
  16190. "description": "解冻手续费",
  16191. "type": "number"
  16192. },
  16193. "unfreezemargin": {
  16194. "description": "解冻保证金",
  16195. "type": "number"
  16196. },
  16197. "validtime": {
  16198. "description": "有效期限",
  16199. "type": "string"
  16200. },
  16201. "validtype": {
  16202. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  16203. "type": "integer"
  16204. },
  16205. "volumetype": {
  16206. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  16207. "type": "integer"
  16208. }
  16209. }
  16210. },
  16211. "order.QueryTradePositionRsp": {
  16212. "type": "object",
  16213. "required": [
  16214. "goodsid"
  16215. ],
  16216. "properties": {
  16217. "accountid": {
  16218. "description": "资金账户",
  16219. "type": "integer"
  16220. },
  16221. "agreeunit": {
  16222. "description": "合约单位",
  16223. "type": "number"
  16224. },
  16225. "averageprice": {
  16226. "description": "持仓均价",
  16227. "type": "number"
  16228. },
  16229. "buyorsell": {
  16230. "description": "方向 - 0:买 1:卖",
  16231. "type": "integer"
  16232. },
  16233. "closetotalqty": {
  16234. "description": "平仓总数量",
  16235. "type": "integer"
  16236. },
  16237. "curholderamount": {
  16238. "description": "当前持仓总金额[商品币种]",
  16239. "type": "number"
  16240. },
  16241. "curpositionqty": {
  16242. "description": "当前持仓总数量",
  16243. "type": "integer"
  16244. },
  16245. "currencyid": {
  16246. "description": "报价货币ID",
  16247. "type": "integer"
  16248. },
  16249. "curtdposition": {
  16250. "description": "期末今日头寸",
  16251. "type": "integer"
  16252. },
  16253. "decimalplace": {
  16254. "description": "报价小数位",
  16255. "type": "integer"
  16256. },
  16257. "enableqty": {
  16258. "description": "可用量",
  16259. "type": "integer"
  16260. },
  16261. "fretdposition": {
  16262. "description": "冻结今日头寸",
  16263. "type": "integer"
  16264. },
  16265. "frozenqty": {
  16266. "description": "持仓冻结数量",
  16267. "type": "integer"
  16268. },
  16269. "goodscode": {
  16270. "description": "商品代码",
  16271. "type": "string"
  16272. },
  16273. "goodsid": {
  16274. "description": "商品Id",
  16275. "type": "integer"
  16276. },
  16277. "goodsname": {
  16278. "description": "商品名称",
  16279. "type": "string"
  16280. },
  16281. "goodunit": {
  16282. "description": "报价单位",
  16283. "type": "string"
  16284. },
  16285. "goodunitid": {
  16286. "description": "报价单位ID",
  16287. "type": "integer"
  16288. },
  16289. "holderamount": {
  16290. "description": "期初持仓总金额[商品币种]",
  16291. "type": "number"
  16292. },
  16293. "marketid": {
  16294. "description": "所属市场ID",
  16295. "type": "integer"
  16296. },
  16297. "openreqqty": {
  16298. "description": "开仓申请数量(用于比较最大持仓数量)",
  16299. "type": "integer"
  16300. },
  16301. "opentotalqty": {
  16302. "description": "开仓总数量",
  16303. "type": "integer"
  16304. },
  16305. "otherfrozenqty": {
  16306. "description": "持仓其他冻结数量(交割冻结)",
  16307. "type": "integer"
  16308. },
  16309. "positionqty": {
  16310. "description": "期初持仓数量",
  16311. "type": "integer"
  16312. },
  16313. "tnqty": {
  16314. "description": "T+N冻结总量",
  16315. "type": "integer"
  16316. },
  16317. "tnusedqty": {
  16318. "description": "T+N使用量(可以使用T+N的冻结数量)",
  16319. "type": "integer"
  16320. },
  16321. "trademode": {
  16322. "description": "交易模式",
  16323. "type": "integer"
  16324. },
  16325. "usedmargin": {
  16326. "description": "占用保证金[商品币种]",
  16327. "type": "number"
  16328. }
  16329. }
  16330. },
  16331. "quote.HistoryData": {
  16332. "type": "object",
  16333. "properties": {
  16334. "c": {
  16335. "description": "收盘价",
  16336. "type": "number"
  16337. },
  16338. "f": {
  16339. "description": "是否补充数据",
  16340. "type": "boolean"
  16341. },
  16342. "h": {
  16343. "description": "最高价",
  16344. "type": "number"
  16345. },
  16346. "hv": {
  16347. "description": "持仓量",
  16348. "type": "integer"
  16349. },
  16350. "l": {
  16351. "description": "最低价",
  16352. "type": "number"
  16353. },
  16354. "o": {
  16355. "description": "开盘价",
  16356. "type": "number"
  16357. },
  16358. "s": {
  16359. "description": "结算价,日线周期(包括)以上才有",
  16360. "type": "number"
  16361. },
  16362. "ts": {
  16363. "description": "时间",
  16364. "type": "string"
  16365. },
  16366. "tt": {
  16367. "description": "总金额",
  16368. "type": "number"
  16369. },
  16370. "tv": {
  16371. "description": "总量",
  16372. "type": "integer"
  16373. }
  16374. }
  16375. },
  16376. "quote.QueryTSDataRsp": {
  16377. "type": "object",
  16378. "properties": {
  16379. "decimalPlace": {
  16380. "description": "小数位",
  16381. "type": "integer"
  16382. },
  16383. "endTime": {
  16384. "description": "结束时间",
  16385. "type": "string"
  16386. },
  16387. "goodsCode": {
  16388. "description": "商品代码",
  16389. "type": "string"
  16390. },
  16391. "historyDatas": {
  16392. "description": "历史数据",
  16393. "type": "array",
  16394. "items": {
  16395. "$ref": "#/definitions/quote.HistoryData"
  16396. }
  16397. },
  16398. "outGoodsCode": {
  16399. "description": "外部商品代码",
  16400. "type": "string"
  16401. },
  16402. "preSettle": {
  16403. "description": "昨结",
  16404. "type": "number"
  16405. },
  16406. "startTime": {
  16407. "description": "开始时间",
  16408. "type": "string"
  16409. },
  16410. "tradeDate": {
  16411. "description": "交易日",
  16412. "type": "string"
  16413. }
  16414. }
  16415. },
  16416. "szdz.QueryConvertLogRsp": {
  16417. "type": "object",
  16418. "required": [
  16419. "logid"
  16420. ],
  16421. "properties": {
  16422. "accountid": {
  16423. "description": "资金账户ID",
  16424. "type": "integer"
  16425. },
  16426. "clientticket": {
  16427. "description": "客户端流水号",
  16428. "type": "string"
  16429. },
  16430. "converttype": {
  16431. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍",
  16432. "type": "integer"
  16433. },
  16434. "createtime": {
  16435. "description": "记账时间",
  16436. "type": "string"
  16437. },
  16438. "daymaxvalue": {
  16439. "description": "配置当日最大转入限制",
  16440. "type": "number"
  16441. },
  16442. "daymaxvalue2": {
  16443. "description": "配置当日最大转入限制(转入)",
  16444. "type": "number"
  16445. },
  16446. "goodscode": {
  16447. "description": "商品代码",
  16448. "type": "string"
  16449. },
  16450. "goodsname": {
  16451. "description": "商品名称",
  16452. "type": "string"
  16453. },
  16454. "handlestatus": {
  16455. "description": "处理状态",
  16456. "type": "integer"
  16457. },
  16458. "innergoodsid": {
  16459. "description": "内部商品ID",
  16460. "type": "integer"
  16461. },
  16462. "inratio": {
  16463. "description": "配置转入比值",
  16464. "type": "integer"
  16465. },
  16466. "invalue": {
  16467. "description": "目标值",
  16468. "type": "number"
  16469. },
  16470. "logid": {
  16471. "description": "LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  16472. "type": "integer"
  16473. },
  16474. "mobile": {
  16475. "description": "手机号码(加密存储)",
  16476. "type": "string"
  16477. },
  16478. "outergoodscode": {
  16479. "description": "外部商品代码[JD\\PD]",
  16480. "type": "string"
  16481. },
  16482. "outratio": {
  16483. "description": "配置转出比值",
  16484. "type": "integer"
  16485. },
  16486. "outvalue": {
  16487. "description": "源值",
  16488. "type": "number"
  16489. },
  16490. "pddecimalplace": {
  16491. "description": "PD小数位",
  16492. "type": "integer"
  16493. },
  16494. "qty": {
  16495. "description": "数量",
  16496. "type": "string"
  16497. },
  16498. "remark": {
  16499. "description": "备注",
  16500. "type": "string"
  16501. },
  16502. "sessionid": {
  16503. "description": "会话ID",
  16504. "type": "integer"
  16505. },
  16506. "timemaxvalue": {
  16507. "description": "配置单次最大转入限制",
  16508. "type": "number"
  16509. },
  16510. "timemaxvalue2": {
  16511. "description": "配置单次最大转入限制(转入)",
  16512. "type": "number"
  16513. },
  16514. "timeminvalue": {
  16515. "description": "配置单次最小数量限制",
  16516. "type": "number"
  16517. },
  16518. "timeminvalue2": {
  16519. "description": "配置单次最小数量限制(转入)",
  16520. "type": "number"
  16521. },
  16522. "tradedate": {
  16523. "description": "交易日(yyyyMMdd)",
  16524. "type": "string"
  16525. },
  16526. "userid": {
  16527. "description": "用户ID",
  16528. "type": "integer"
  16529. }
  16530. }
  16531. },
  16532. "szdz.QueryGoodsPickupRsp": {
  16533. "type": "object",
  16534. "required": [
  16535. "takeorderid"
  16536. ],
  16537. "properties": {
  16538. "accountid": {
  16539. "description": "账户ID",
  16540. "type": "integer"
  16541. },
  16542. "address": {
  16543. "description": "提货人详细地址",
  16544. "type": "string"
  16545. },
  16546. "auditer": {
  16547. "description": "审核人",
  16548. "type": "integer"
  16549. },
  16550. "audittime": {
  16551. "description": "审核时间",
  16552. "type": "string"
  16553. },
  16554. "cardnum": {
  16555. "description": "提货人证件号码",
  16556. "type": "string"
  16557. },
  16558. "cardtypeid": {
  16559. "description": "提货人证件类型",
  16560. "type": "integer"
  16561. },
  16562. "checkremark": {
  16563. "description": "审核备注",
  16564. "type": "string"
  16565. },
  16566. "goodscode": {
  16567. "description": "商品代码",
  16568. "type": "string"
  16569. },
  16570. "goodsid": {
  16571. "description": "商品ID",
  16572. "type": "integer"
  16573. },
  16574. "goodsname": {
  16575. "description": "商品名称",
  16576. "type": "string"
  16577. },
  16578. "handlestatus": {
  16579. "description": "处理状态",
  16580. "type": "integer"
  16581. },
  16582. "marketid": {
  16583. "description": "市场ID",
  16584. "type": "integer"
  16585. },
  16586. "phonenum": {
  16587. "description": "提货人联系方式",
  16588. "type": "string"
  16589. },
  16590. "qty": {
  16591. "description": "提货数量",
  16592. "type": "number"
  16593. },
  16594. "recivername": {
  16595. "description": "提货人姓名",
  16596. "type": "string"
  16597. },
  16598. "reqtime": {
  16599. "description": "更新时间",
  16600. "type": "string"
  16601. },
  16602. "takemode": {
  16603. "description": "提货方式 - 2:自提 3:配送",
  16604. "type": "integer"
  16605. },
  16606. "takeorderid": {
  16607. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  16608. "type": "string"
  16609. },
  16610. "takeorderstatus": {
  16611. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  16612. "type": "integer"
  16613. },
  16614. "takeremark": {
  16615. "description": "提货备注",
  16616. "type": "string"
  16617. },
  16618. "tradedate": {
  16619. "description": "交易日(yyyyMMdd)",
  16620. "type": "string"
  16621. },
  16622. "userid": {
  16623. "description": "用户ID",
  16624. "type": "integer"
  16625. }
  16626. }
  16627. },
  16628. "szdz.QueryRecieptOrderRsp": {
  16629. "type": "object",
  16630. "required": [
  16631. "ordertime"
  16632. ],
  16633. "properties": {
  16634. "accountName": {
  16635. "description": "所属账号名称(已脱敏)",
  16636. "type": "string"
  16637. },
  16638. "accountid": {
  16639. "description": "资金账号",
  16640. "type": "integer"
  16641. },
  16642. "buyorsell": {
  16643. "description": "方向 - 0:买 1:卖",
  16644. "type": "integer"
  16645. },
  16646. "enableqty": {
  16647. "description": "可摘数量",
  16648. "type": "integer"
  16649. },
  16650. "goodscode": {
  16651. "description": "商品代码",
  16652. "type": "string"
  16653. },
  16654. "goodsid": {
  16655. "description": "商品ID",
  16656. "type": "integer"
  16657. },
  16658. "goodsname": {
  16659. "description": "商品名称",
  16660. "type": "string"
  16661. },
  16662. "orderid": {
  16663. "description": "委托单号",
  16664. "type": "string"
  16665. },
  16666. "orderprice": {
  16667. "description": "委托价格",
  16668. "type": "number"
  16669. },
  16670. "ordertime": {
  16671. "description": "委托时间",
  16672. "type": "string"
  16673. },
  16674. "tradedate": {
  16675. "description": "交易日(yyyyMMdd)",
  16676. "type": "string"
  16677. }
  16678. }
  16679. },
  16680. "szdz.QuerySZDZTradePositionRsp": {
  16681. "type": "object",
  16682. "properties": {
  16683. "accountid": {
  16684. "description": "账号Id",
  16685. "type": "integer"
  16686. },
  16687. "agreeunit": {
  16688. "description": "合约单位",
  16689. "type": "number"
  16690. },
  16691. "averageprice": {
  16692. "description": "持仓均价",
  16693. "type": "number"
  16694. },
  16695. "buyorsell": {
  16696. "description": "方向 - 0:买 1:卖",
  16697. "type": "integer"
  16698. },
  16699. "closetotalqty": {
  16700. "description": "平仓总数量",
  16701. "type": "integer"
  16702. },
  16703. "curholderamount": {
  16704. "description": "当前持仓总金额",
  16705. "type": "number"
  16706. },
  16707. "curpositionqty": {
  16708. "description": "当前持仓总数量",
  16709. "type": "integer"
  16710. },
  16711. "currencyid": {
  16712. "description": "报价货币ID",
  16713. "type": "integer"
  16714. },
  16715. "curtdposition": {
  16716. "description": "期末今日头寸",
  16717. "type": "integer"
  16718. },
  16719. "decimalplace": {
  16720. "description": "报价小数位",
  16721. "type": "integer"
  16722. },
  16723. "enableqty": {
  16724. "description": "可用量",
  16725. "type": "integer"
  16726. },
  16727. "fretdposition": {
  16728. "description": "冻结今日头寸",
  16729. "type": "integer"
  16730. },
  16731. "frozenqty": {
  16732. "description": "持仓冻结数量",
  16733. "type": "integer"
  16734. },
  16735. "goodscode": {
  16736. "description": "商品代码(内部)",
  16737. "type": "string"
  16738. },
  16739. "goodsid": {
  16740. "description": "商品Id",
  16741. "type": "integer"
  16742. },
  16743. "goodsname": {
  16744. "description": "商品名称",
  16745. "type": "string"
  16746. },
  16747. "goodunit": {
  16748. "description": "报价单位",
  16749. "type": "string"
  16750. },
  16751. "goodunitid": {
  16752. "description": "报价单位ID",
  16753. "type": "integer"
  16754. },
  16755. "holderamount": {
  16756. "description": "期初持仓总金额",
  16757. "type": "number"
  16758. },
  16759. "marketid": {
  16760. "description": "市场ID",
  16761. "type": "integer"
  16762. },
  16763. "openreqqty": {
  16764. "description": "开仓申请数量",
  16765. "type": "integer"
  16766. },
  16767. "opentotalqty": {
  16768. "description": "开仓总数量",
  16769. "type": "integer"
  16770. },
  16771. "otherfrozenqty": {
  16772. "description": "持仓其他冻结数量(交割冻结)",
  16773. "type": "integer"
  16774. },
  16775. "positionqty": {
  16776. "description": "期初持仓数量",
  16777. "type": "integer"
  16778. },
  16779. "szdz3freezqty": {
  16780. "description": "尚志大宗转换冻结总数量",
  16781. "type": "integer"
  16782. },
  16783. "tnqty": {
  16784. "description": "T+N冻结总量",
  16785. "type": "integer"
  16786. },
  16787. "tnusedqty": {
  16788. "description": "T+N使用量",
  16789. "type": "integer"
  16790. },
  16791. "trademode": {
  16792. "description": "交易模式",
  16793. "type": "integer"
  16794. },
  16795. "usedmargin": {
  16796. "description": "占用保证金",
  16797. "type": "number"
  16798. }
  16799. }
  16800. },
  16801. "taaccount.QueryAmountLogRsp": {
  16802. "type": "object",
  16803. "required": [
  16804. "accountid",
  16805. "amount",
  16806. "amountadjusttype",
  16807. "autoid",
  16808. "balance",
  16809. "createtime",
  16810. "currentbalance",
  16811. "operatetype"
  16812. ],
  16813. "properties": {
  16814. "OPERATETYPENAME": {
  16815. "description": "资金操作类型名称",
  16816. "type": "string"
  16817. },
  16818. "accountid": {
  16819. "description": "资金账户ID",
  16820. "type": "integer"
  16821. },
  16822. "agoodscode": {
  16823. "description": "竞拍商品代码",
  16824. "type": "string"
  16825. },
  16826. "agoodsname": {
  16827. "description": "竞拍商品名称",
  16828. "type": "string"
  16829. },
  16830. "amount": {
  16831. "description": "资金金额",
  16832. "type": "number"
  16833. },
  16834. "amountadjusttype": {
  16835. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  16836. "type": "integer"
  16837. },
  16838. "autoid": {
  16839. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  16840. "type": "integer"
  16841. },
  16842. "balance": {
  16843. "description": "期初余额",
  16844. "type": "number"
  16845. },
  16846. "businesscode": {
  16847. "description": "业务编号",
  16848. "type": "integer"
  16849. },
  16850. "createtime": {
  16851. "description": "发生时间",
  16852. "type": "string"
  16853. },
  16854. "currencyid": {
  16855. "description": "币种ID",
  16856. "type": "integer"
  16857. },
  16858. "currentbalance": {
  16859. "description": "期末余额(变动后金额)",
  16860. "type": "number"
  16861. },
  16862. "dgoodscode": {
  16863. "description": "交割商品代码",
  16864. "type": "string"
  16865. },
  16866. "dgoodsname": {
  16867. "description": "交割商品名称",
  16868. "type": "string"
  16869. },
  16870. "goodscode": {
  16871. "description": "商品代码",
  16872. "type": "string"
  16873. },
  16874. "goodsid": {
  16875. "description": "商品ID",
  16876. "type": "integer"
  16877. },
  16878. "goodsname": {
  16879. "description": "商品名称",
  16880. "type": "string"
  16881. },
  16882. "marketid": {
  16883. "description": "市场ID",
  16884. "type": "integer"
  16885. },
  16886. "marketname": {
  16887. "description": "市场名称",
  16888. "type": "string"
  16889. },
  16890. "moneyticket": {
  16891. "description": "资金流水号:银行端流水号",
  16892. "type": "integer"
  16893. },
  16894. "operatetype": {
  16895. "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:营销收款",
  16896. "type": "integer"
  16897. },
  16898. "relationorderid": {
  16899. "description": "关联单号",
  16900. "type": "string"
  16901. },
  16902. "remark": {
  16903. "description": "备注",
  16904. "type": "string"
  16905. },
  16906. "trademode": {
  16907. "description": "交易模式",
  16908. "type": "integer"
  16909. }
  16910. }
  16911. },
  16912. "taaccount.QueryHisAmountLogRsp": {
  16913. "type": "object",
  16914. "required": [
  16915. "accountid",
  16916. "amount",
  16917. "amountadjusttype",
  16918. "autoid",
  16919. "balance",
  16920. "createtime",
  16921. "currentbalance",
  16922. "histradedate",
  16923. "operatetype"
  16924. ],
  16925. "properties": {
  16926. "OPERATETYPENAME": {
  16927. "description": "资金操作类型名称",
  16928. "type": "string"
  16929. },
  16930. "accountid": {
  16931. "description": "资金账户ID",
  16932. "type": "integer"
  16933. },
  16934. "agoodscode": {
  16935. "description": "竞拍商品代码",
  16936. "type": "string"
  16937. },
  16938. "agoodsname": {
  16939. "description": "竞拍商品名称",
  16940. "type": "string"
  16941. },
  16942. "amount": {
  16943. "description": "资金金额",
  16944. "type": "number"
  16945. },
  16946. "amountadjusttype": {
  16947. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  16948. "type": "integer"
  16949. },
  16950. "autoid": {
  16951. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  16952. "type": "integer"
  16953. },
  16954. "balance": {
  16955. "description": "期初余额",
  16956. "type": "number"
  16957. },
  16958. "businesscode": {
  16959. "description": "业务编号",
  16960. "type": "integer"
  16961. },
  16962. "createtime": {
  16963. "description": "发生时间",
  16964. "type": "string"
  16965. },
  16966. "currencyid": {
  16967. "description": "币种ID",
  16968. "type": "integer"
  16969. },
  16970. "currentbalance": {
  16971. "description": "期末余额(变动后金额)",
  16972. "type": "number"
  16973. },
  16974. "dgoodscode": {
  16975. "description": "交割商品代码",
  16976. "type": "string"
  16977. },
  16978. "dgoodsname": {
  16979. "description": "交割商品名称",
  16980. "type": "string"
  16981. },
  16982. "goodscode": {
  16983. "description": "商品代码",
  16984. "type": "string"
  16985. },
  16986. "goodsid": {
  16987. "description": "商品ID",
  16988. "type": "integer"
  16989. },
  16990. "goodsname": {
  16991. "description": "商品名称",
  16992. "type": "string"
  16993. },
  16994. "histradedate": {
  16995. "description": "历史交易日",
  16996. "type": "string"
  16997. },
  16998. "isvaliddata": {
  16999. "description": "是否有效 - 0:无效 1:有效",
  17000. "type": "integer"
  17001. },
  17002. "marketid": {
  17003. "description": "市场ID",
  17004. "type": "integer"
  17005. },
  17006. "marketname": {
  17007. "description": "市场名称",
  17008. "type": "string"
  17009. },
  17010. "moneyticket": {
  17011. "description": "资金流水号:银行端流水号",
  17012. "type": "integer"
  17013. },
  17014. "operatetype": {
  17015. "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:营销收款",
  17016. "type": "integer"
  17017. },
  17018. "relationorderid": {
  17019. "description": "关联单号",
  17020. "type": "string"
  17021. },
  17022. "remark": {
  17023. "description": "备注",
  17024. "type": "string"
  17025. },
  17026. "trademode": {
  17027. "description": "交易模式",
  17028. "type": "integer"
  17029. }
  17030. }
  17031. },
  17032. "trade.QueryRecieptOrderRsp": {
  17033. "type": "object",
  17034. "required": [
  17035. "ordertime"
  17036. ],
  17037. "properties": {
  17038. "accountName": {
  17039. "description": "所属账号名称(已脱敏)",
  17040. "type": "string"
  17041. },
  17042. "accountid": {
  17043. "description": "资金账号",
  17044. "type": "integer"
  17045. },
  17046. "buyorsell": {
  17047. "description": "方向 - 0:买 1:卖",
  17048. "type": "integer"
  17049. },
  17050. "enableqty": {
  17051. "description": "可摘数量",
  17052. "type": "integer"
  17053. },
  17054. "goodscode": {
  17055. "description": "商品代码",
  17056. "type": "string"
  17057. },
  17058. "goodsid": {
  17059. "description": "商品ID",
  17060. "type": "integer"
  17061. },
  17062. "goodsname": {
  17063. "description": "商品名称",
  17064. "type": "string"
  17065. },
  17066. "orderid": {
  17067. "description": "委托单号",
  17068. "type": "string"
  17069. },
  17070. "orderprice": {
  17071. "description": "委托价格",
  17072. "type": "number"
  17073. },
  17074. "ordertime": {
  17075. "description": "委托时间",
  17076. "type": "string"
  17077. },
  17078. "tradedate": {
  17079. "description": "交易日(yyyyMMdd)",
  17080. "type": "string"
  17081. }
  17082. }
  17083. }
  17084. },
  17085. "securityDefinitions": {
  17086. "ApiKeyAuth": {
  17087. "type": "apiKey",
  17088. "name": "Authorization",
  17089. "in": "header"
  17090. }
  17091. }
  17092. }`
  17093. type swaggerInfo struct {
  17094. Version string
  17095. Host string
  17096. BasePath string
  17097. Schemes []string
  17098. Title string
  17099. Description string
  17100. }
  17101. // SwaggerInfo holds exported Swagger Info so clients can modify it
  17102. var SwaggerInfo = swaggerInfo{
  17103. Version: "1.0",
  17104. Host: "",
  17105. BasePath: "/api",
  17106. Schemes: []string{},
  17107. Title: "MTP2.0 查询服务 API",
  17108. Description: "新的查询服务,替代原通用查询服务。游客Token:c886a057f3d820d4dbc41473686c7c2d",
  17109. }
  17110. type s struct{}
  17111. func (s *s) ReadDoc() string {
  17112. sInfo := SwaggerInfo
  17113. sInfo.Description = strings.Replace(sInfo.Description, "\n", "\\n", -1)
  17114. t, err := template.New("swagger_info").Funcs(template.FuncMap{
  17115. "marshal": func(v interface{}) string {
  17116. a, _ := json.Marshal(v)
  17117. return string(a)
  17118. },
  17119. }).Parse(doc)
  17120. if err != nil {
  17121. return doc
  17122. }
  17123. var tpl bytes.Buffer
  17124. if err := t.Execute(&tpl, sInfo); err != nil {
  17125. return doc
  17126. }
  17127. return tpl.String()
  17128. }
  17129. func init() {
  17130. swag.Register(swag.Name, &s{})
  17131. }