docs.go 635 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402640364046405640664076408640964106411641264136414641564166417641864196420642164226423642464256426642764286429643064316432643364346435643664376438643964406441644264436444644564466447644864496450645164526453645464556456645764586459646064616462646364646465646664676468646964706471647264736474647564766477647864796480648164826483648464856486648764886489649064916492649364946495649664976498649965006501650265036504650565066507650865096510651165126513651465156516651765186519652065216522652365246525652665276528652965306531653265336534653565366537653865396540654165426543654465456546654765486549655065516552655365546555655665576558655965606561656265636564656565666567656865696570657165726573657465756576657765786579658065816582658365846585658665876588658965906591659265936594659565966597659865996600660166026603660466056606660766086609661066116612661366146615661666176618661966206621662266236624662566266627662866296630663166326633663466356636663766386639664066416642664366446645664666476648664966506651665266536654665566566657665866596660666166626663666466656666666766686669667066716672667366746675667666776678667966806681668266836684668566866687668866896690669166926693669466956696669766986699670067016702670367046705670667076708670967106711671267136714671567166717671867196720672167226723672467256726672767286729673067316732673367346735673667376738673967406741674267436744674567466747674867496750675167526753675467556756675767586759676067616762676367646765676667676768676967706771677267736774677567766777677867796780678167826783678467856786678767886789679067916792679367946795679667976798679968006801680268036804680568066807680868096810681168126813681468156816681768186819682068216822682368246825682668276828682968306831683268336834683568366837683868396840684168426843684468456846684768486849685068516852685368546855685668576858685968606861686268636864686568666867686868696870687168726873687468756876687768786879688068816882688368846885688668876888688968906891689268936894689568966897689868996900690169026903690469056906690769086909691069116912691369146915691669176918691969206921692269236924692569266927692869296930693169326933693469356936693769386939694069416942694369446945694669476948694969506951695269536954695569566957695869596960696169626963696469656966696769686969697069716972697369746975697669776978697969806981698269836984698569866987698869896990699169926993699469956996699769986999700070017002700370047005700670077008700970107011701270137014701570167017701870197020702170227023702470257026702770287029703070317032703370347035703670377038703970407041704270437044704570467047704870497050705170527053705470557056705770587059706070617062706370647065706670677068706970707071707270737074707570767077707870797080708170827083708470857086708770887089709070917092709370947095709670977098709971007101710271037104710571067107710871097110711171127113711471157116711771187119712071217122712371247125712671277128712971307131713271337134713571367137713871397140714171427143714471457146714771487149715071517152715371547155715671577158715971607161716271637164716571667167716871697170717171727173717471757176717771787179718071817182718371847185718671877188718971907191719271937194719571967197719871997200720172027203720472057206720772087209721072117212721372147215721672177218721972207221722272237224722572267227722872297230723172327233723472357236723772387239724072417242724372447245724672477248724972507251725272537254725572567257725872597260726172627263726472657266726772687269727072717272727372747275727672777278727972807281728272837284728572867287728872897290729172927293729472957296729772987299730073017302730373047305730673077308730973107311731273137314731573167317731873197320732173227323732473257326732773287329733073317332733373347335733673377338733973407341734273437344734573467347734873497350735173527353735473557356735773587359736073617362736373647365736673677368736973707371737273737374737573767377737873797380738173827383738473857386738773887389739073917392739373947395739673977398739974007401740274037404740574067407740874097410741174127413741474157416741774187419742074217422742374247425742674277428742974307431743274337434743574367437743874397440744174427443744474457446744774487449745074517452745374547455745674577458745974607461746274637464746574667467746874697470747174727473747474757476747774787479748074817482748374847485748674877488748974907491749274937494749574967497749874997500750175027503750475057506750775087509751075117512751375147515751675177518751975207521752275237524752575267527752875297530753175327533753475357536753775387539754075417542754375447545754675477548754975507551755275537554755575567557755875597560756175627563756475657566756775687569757075717572757375747575757675777578757975807581758275837584758575867587758875897590759175927593759475957596759775987599760076017602760376047605760676077608760976107611761276137614761576167617761876197620762176227623762476257626762776287629763076317632763376347635763676377638763976407641764276437644764576467647764876497650765176527653765476557656765776587659766076617662766376647665766676677668766976707671767276737674767576767677767876797680768176827683768476857686768776887689769076917692769376947695769676977698769977007701770277037704770577067707770877097710771177127713771477157716771777187719772077217722772377247725772677277728772977307731773277337734773577367737773877397740774177427743774477457746774777487749775077517752775377547755775677577758775977607761776277637764776577667767776877697770777177727773777477757776777777787779778077817782778377847785778677877788778977907791779277937794779577967797779877997800780178027803780478057806780778087809781078117812781378147815781678177818781978207821782278237824782578267827782878297830783178327833783478357836783778387839784078417842784378447845784678477848784978507851785278537854785578567857785878597860786178627863786478657866786778687869787078717872787378747875787678777878787978807881788278837884788578867887788878897890789178927893789478957896789778987899790079017902790379047905790679077908790979107911791279137914791579167917791879197920792179227923792479257926792779287929793079317932793379347935793679377938793979407941794279437944794579467947794879497950795179527953795479557956795779587959796079617962796379647965796679677968796979707971797279737974797579767977797879797980798179827983798479857986798779887989799079917992799379947995799679977998799980008001800280038004800580068007800880098010801180128013801480158016801780188019802080218022802380248025802680278028802980308031803280338034803580368037803880398040804180428043804480458046804780488049805080518052805380548055805680578058805980608061806280638064806580668067806880698070807180728073807480758076807780788079808080818082808380848085808680878088808980908091809280938094809580968097809880998100810181028103810481058106810781088109811081118112811381148115811681178118811981208121812281238124812581268127812881298130813181328133813481358136813781388139814081418142814381448145814681478148814981508151815281538154815581568157815881598160816181628163816481658166816781688169817081718172817381748175817681778178817981808181818281838184818581868187818881898190819181928193819481958196819781988199820082018202820382048205820682078208820982108211821282138214821582168217821882198220822182228223822482258226822782288229823082318232823382348235823682378238823982408241824282438244824582468247824882498250825182528253825482558256825782588259826082618262826382648265826682678268826982708271827282738274827582768277827882798280828182828283828482858286828782888289829082918292829382948295829682978298829983008301830283038304830583068307830883098310831183128313831483158316831783188319832083218322832383248325832683278328832983308331833283338334833583368337833883398340834183428343834483458346834783488349835083518352835383548355835683578358835983608361836283638364836583668367836883698370837183728373837483758376837783788379838083818382838383848385838683878388838983908391839283938394839583968397839883998400840184028403840484058406840784088409841084118412841384148415841684178418841984208421842284238424842584268427842884298430843184328433843484358436843784388439844084418442844384448445844684478448844984508451845284538454845584568457845884598460846184628463846484658466846784688469847084718472847384748475847684778478847984808481848284838484848584868487848884898490849184928493849484958496849784988499850085018502850385048505850685078508850985108511851285138514851585168517851885198520852185228523852485258526852785288529853085318532853385348535853685378538853985408541854285438544854585468547854885498550855185528553855485558556855785588559856085618562856385648565856685678568856985708571857285738574857585768577857885798580858185828583858485858586858785888589859085918592859385948595859685978598859986008601860286038604860586068607860886098610861186128613861486158616861786188619862086218622862386248625862686278628862986308631863286338634863586368637863886398640864186428643864486458646864786488649865086518652865386548655865686578658865986608661866286638664866586668667866886698670867186728673867486758676867786788679868086818682868386848685868686878688868986908691869286938694869586968697869886998700870187028703870487058706870787088709871087118712871387148715871687178718871987208721872287238724872587268727872887298730873187328733873487358736873787388739874087418742874387448745874687478748874987508751875287538754875587568757875887598760876187628763876487658766876787688769877087718772877387748775877687778778877987808781878287838784878587868787878887898790879187928793879487958796879787988799880088018802880388048805880688078808880988108811881288138814881588168817881888198820882188228823882488258826882788288829883088318832883388348835883688378838883988408841884288438844884588468847884888498850885188528853885488558856885788588859886088618862886388648865886688678868886988708871887288738874887588768877887888798880888188828883888488858886888788888889889088918892889388948895889688978898889989008901890289038904890589068907890889098910891189128913891489158916891789188919892089218922892389248925892689278928892989308931893289338934893589368937893889398940894189428943894489458946894789488949895089518952895389548955895689578958895989608961896289638964896589668967896889698970897189728973897489758976897789788979898089818982898389848985898689878988898989908991899289938994899589968997899889999000900190029003900490059006900790089009901090119012901390149015901690179018901990209021902290239024902590269027902890299030903190329033903490359036903790389039904090419042904390449045904690479048904990509051905290539054905590569057905890599060906190629063906490659066906790689069907090719072907390749075907690779078907990809081908290839084908590869087908890899090909190929093909490959096909790989099910091019102910391049105910691079108910991109111911291139114911591169117911891199120912191229123912491259126912791289129913091319132913391349135913691379138913991409141914291439144914591469147914891499150915191529153915491559156915791589159916091619162916391649165916691679168916991709171917291739174917591769177917891799180918191829183918491859186918791889189919091919192919391949195919691979198919992009201920292039204920592069207920892099210921192129213921492159216921792189219922092219222922392249225922692279228922992309231923292339234923592369237923892399240924192429243924492459246924792489249925092519252925392549255925692579258925992609261926292639264926592669267926892699270927192729273927492759276927792789279928092819282928392849285928692879288928992909291929292939294929592969297929892999300930193029303930493059306930793089309931093119312931393149315931693179318931993209321932293239324932593269327932893299330933193329333933493359336933793389339934093419342934393449345934693479348934993509351935293539354935593569357935893599360936193629363936493659366936793689369937093719372937393749375937693779378937993809381938293839384938593869387938893899390939193929393939493959396939793989399940094019402940394049405940694079408940994109411941294139414941594169417941894199420942194229423942494259426942794289429943094319432943394349435943694379438943994409441944294439444944594469447944894499450945194529453945494559456945794589459946094619462946394649465946694679468946994709471947294739474947594769477947894799480948194829483948494859486948794889489949094919492949394949495949694979498949995009501950295039504950595069507950895099510951195129513951495159516951795189519952095219522952395249525952695279528952995309531953295339534953595369537953895399540954195429543954495459546954795489549955095519552955395549555955695579558955995609561956295639564956595669567956895699570957195729573957495759576957795789579958095819582958395849585958695879588958995909591959295939594959595969597959895999600960196029603960496059606960796089609961096119612961396149615961696179618961996209621962296239624962596269627962896299630963196329633963496359636963796389639964096419642964396449645964696479648964996509651965296539654965596569657965896599660966196629663966496659666966796689669967096719672967396749675967696779678967996809681968296839684968596869687968896899690969196929693969496959696969796989699970097019702970397049705970697079708970997109711971297139714971597169717971897199720972197229723972497259726972797289729973097319732973397349735973697379738973997409741974297439744974597469747974897499750975197529753975497559756975797589759976097619762976397649765976697679768976997709771977297739774977597769777977897799780978197829783978497859786978797889789979097919792979397949795979697979798979998009801980298039804980598069807980898099810981198129813981498159816981798189819982098219822982398249825982698279828982998309831983298339834983598369837983898399840984198429843984498459846984798489849985098519852985398549855985698579858985998609861986298639864986598669867986898699870987198729873987498759876987798789879988098819882988398849885988698879888988998909891989298939894989598969897989898999900990199029903990499059906990799089909991099119912991399149915991699179918991999209921992299239924992599269927992899299930993199329933993499359936993799389939994099419942994399449945994699479948994999509951995299539954995599569957995899599960996199629963996499659966996799689969997099719972997399749975997699779978997999809981998299839984998599869987998899899990999199929993999499959996999799989999100001000110002100031000410005100061000710008100091001010011100121001310014100151001610017100181001910020100211002210023100241002510026100271002810029100301003110032100331003410035100361003710038100391004010041100421004310044100451004610047100481004910050100511005210053100541005510056100571005810059100601006110062100631006410065100661006710068100691007010071100721007310074100751007610077100781007910080100811008210083100841008510086100871008810089100901009110092100931009410095100961009710098100991010010101101021010310104101051010610107101081010910110101111011210113101141011510116101171011810119101201012110122101231012410125101261012710128101291013010131101321013310134101351013610137101381013910140101411014210143101441014510146101471014810149101501015110152101531015410155101561015710158101591016010161101621016310164101651016610167101681016910170101711017210173101741017510176101771017810179101801018110182101831018410185101861018710188101891019010191101921019310194101951019610197101981019910200102011020210203102041020510206102071020810209102101021110212102131021410215102161021710218102191022010221102221022310224102251022610227102281022910230102311023210233102341023510236102371023810239102401024110242102431024410245102461024710248102491025010251102521025310254102551025610257102581025910260102611026210263102641026510266102671026810269102701027110272102731027410275102761027710278102791028010281102821028310284102851028610287102881028910290102911029210293102941029510296102971029810299103001030110302103031030410305103061030710308103091031010311103121031310314103151031610317103181031910320103211032210323103241032510326103271032810329103301033110332103331033410335103361033710338103391034010341103421034310344103451034610347103481034910350103511035210353103541035510356103571035810359103601036110362103631036410365103661036710368103691037010371103721037310374103751037610377103781037910380103811038210383103841038510386103871038810389103901039110392103931039410395103961039710398103991040010401104021040310404104051040610407104081040910410104111041210413104141041510416104171041810419104201042110422104231042410425104261042710428104291043010431104321043310434104351043610437104381043910440104411044210443104441044510446104471044810449104501045110452104531045410455104561045710458104591046010461104621046310464104651046610467104681046910470104711047210473104741047510476104771047810479104801048110482104831048410485104861048710488104891049010491104921049310494104951049610497104981049910500105011050210503105041050510506105071050810509105101051110512105131051410515105161051710518105191052010521105221052310524105251052610527105281052910530105311053210533105341053510536105371053810539105401054110542105431054410545105461054710548105491055010551105521055310554105551055610557105581055910560105611056210563105641056510566105671056810569105701057110572105731057410575105761057710578105791058010581105821058310584105851058610587105881058910590105911059210593105941059510596105971059810599106001060110602106031060410605106061060710608106091061010611106121061310614106151061610617106181061910620106211062210623106241062510626106271062810629106301063110632106331063410635106361063710638106391064010641106421064310644106451064610647106481064910650106511065210653106541065510656106571065810659106601066110662106631066410665106661066710668106691067010671106721067310674106751067610677106781067910680106811068210683106841068510686106871068810689106901069110692106931069410695106961069710698106991070010701107021070310704107051070610707107081070910710107111071210713107141071510716107171071810719107201072110722107231072410725107261072710728107291073010731107321073310734107351073610737107381073910740107411074210743107441074510746107471074810749107501075110752107531075410755107561075710758107591076010761107621076310764107651076610767107681076910770107711077210773107741077510776107771077810779107801078110782107831078410785107861078710788107891079010791107921079310794107951079610797107981079910800108011080210803108041080510806108071080810809108101081110812108131081410815108161081710818108191082010821108221082310824108251082610827108281082910830108311083210833108341083510836108371083810839108401084110842108431084410845108461084710848108491085010851108521085310854108551085610857108581085910860108611086210863108641086510866108671086810869108701087110872108731087410875108761087710878108791088010881108821088310884108851088610887108881088910890108911089210893108941089510896108971089810899109001090110902109031090410905109061090710908109091091010911109121091310914109151091610917109181091910920109211092210923109241092510926109271092810929109301093110932109331093410935109361093710938109391094010941109421094310944109451094610947109481094910950109511095210953109541095510956109571095810959109601096110962109631096410965109661096710968109691097010971109721097310974109751097610977109781097910980109811098210983109841098510986109871098810989109901099110992109931099410995109961099710998109991100011001110021100311004110051100611007110081100911010110111101211013110141101511016110171101811019110201102111022110231102411025110261102711028110291103011031110321103311034110351103611037110381103911040110411104211043110441104511046110471104811049110501105111052110531105411055110561105711058110591106011061110621106311064110651106611067110681106911070110711107211073110741107511076110771107811079110801108111082110831108411085110861108711088110891109011091110921109311094110951109611097110981109911100111011110211103111041110511106111071110811109111101111111112111131111411115111161111711118111191112011121111221112311124111251112611127111281112911130111311113211133111341113511136111371113811139111401114111142111431114411145111461114711148111491115011151111521115311154111551115611157111581115911160111611116211163111641116511166111671116811169111701117111172111731117411175111761117711178111791118011181111821118311184111851118611187111881118911190111911119211193111941119511196111971119811199112001120111202112031120411205112061120711208112091121011211112121121311214112151121611217112181121911220112211122211223112241122511226112271122811229112301123111232112331123411235112361123711238112391124011241112421124311244112451124611247112481124911250112511125211253112541125511256112571125811259112601126111262112631126411265112661126711268112691127011271112721127311274112751127611277112781127911280112811128211283112841128511286112871128811289112901129111292112931129411295112961129711298112991130011301113021130311304113051130611307113081130911310113111131211313113141131511316113171131811319113201132111322113231132411325113261132711328113291133011331113321133311334113351133611337113381133911340113411134211343113441134511346113471134811349113501135111352113531135411355113561135711358113591136011361113621136311364113651136611367113681136911370113711137211373113741137511376113771137811379113801138111382113831138411385113861138711388113891139011391113921139311394113951139611397113981139911400114011140211403114041140511406114071140811409114101141111412114131141411415114161141711418114191142011421114221142311424114251142611427114281142911430114311143211433114341143511436114371143811439114401144111442114431144411445114461144711448114491145011451114521145311454114551145611457114581145911460114611146211463114641146511466114671146811469114701147111472114731147411475114761147711478114791148011481114821148311484114851148611487114881148911490114911149211493114941149511496114971149811499115001150111502115031150411505115061150711508115091151011511115121151311514115151151611517115181151911520115211152211523115241152511526115271152811529115301153111532115331153411535115361153711538115391154011541115421154311544115451154611547115481154911550115511155211553115541155511556115571155811559115601156111562115631156411565115661156711568115691157011571115721157311574115751157611577115781157911580115811158211583115841158511586115871158811589115901159111592115931159411595115961159711598115991160011601116021160311604116051160611607116081160911610116111161211613116141161511616116171161811619116201162111622116231162411625116261162711628116291163011631116321163311634116351163611637116381163911640116411164211643116441164511646116471164811649116501165111652116531165411655116561165711658116591166011661116621166311664116651166611667116681166911670116711167211673116741167511676116771167811679116801168111682116831168411685116861168711688116891169011691116921169311694116951169611697116981169911700117011170211703117041170511706117071170811709117101171111712117131171411715117161171711718117191172011721117221172311724117251172611727117281172911730117311173211733117341173511736117371173811739117401174111742117431174411745117461174711748117491175011751117521175311754117551175611757117581175911760117611176211763117641176511766117671176811769117701177111772117731177411775117761177711778117791178011781117821178311784117851178611787117881178911790117911179211793117941179511796117971179811799118001180111802118031180411805118061180711808118091181011811118121181311814118151181611817118181181911820118211182211823118241182511826118271182811829118301183111832118331183411835118361183711838118391184011841118421184311844118451184611847118481184911850118511185211853118541185511856118571185811859118601186111862118631186411865118661186711868118691187011871118721187311874118751187611877118781187911880118811188211883118841188511886118871188811889118901189111892118931189411895118961189711898118991190011901119021190311904119051190611907119081190911910119111191211913119141191511916119171191811919119201192111922119231192411925119261192711928119291193011931119321193311934119351193611937119381193911940119411194211943119441194511946119471194811949119501195111952119531195411955119561195711958119591196011961119621196311964119651196611967119681196911970119711197211973119741197511976119771197811979119801198111982119831198411985119861198711988119891199011991119921199311994119951199611997119981199912000120011200212003120041200512006120071200812009120101201112012120131201412015120161201712018120191202012021120221202312024120251202612027120281202912030120311203212033120341203512036120371203812039120401204112042120431204412045120461204712048120491205012051120521205312054120551205612057120581205912060120611206212063120641206512066120671206812069120701207112072120731207412075120761207712078120791208012081120821208312084120851208612087120881208912090120911209212093120941209512096120971209812099121001210112102121031210412105121061210712108121091211012111121121211312114121151211612117121181211912120121211212212123121241212512126121271212812129121301213112132121331213412135121361213712138121391214012141121421214312144121451214612147121481214912150121511215212153121541215512156121571215812159121601216112162121631216412165121661216712168121691217012171121721217312174121751217612177121781217912180121811218212183121841218512186121871218812189121901219112192121931219412195121961219712198121991220012201122021220312204122051220612207122081220912210122111221212213122141221512216122171221812219122201222112222122231222412225122261222712228122291223012231122321223312234122351223612237122381223912240122411224212243122441224512246122471224812249122501225112252122531225412255122561225712258122591226012261122621226312264122651226612267122681226912270122711227212273122741227512276122771227812279122801228112282122831228412285122861228712288122891229012291122921229312294122951229612297122981229912300123011230212303123041230512306123071230812309123101231112312123131231412315123161231712318123191232012321123221232312324123251232612327123281232912330123311233212333123341233512336123371233812339123401234112342123431234412345123461234712348123491235012351123521235312354123551235612357123581235912360123611236212363123641236512366123671236812369123701237112372123731237412375123761237712378123791238012381123821238312384123851238612387123881238912390123911239212393123941239512396123971239812399124001240112402124031240412405124061240712408124091241012411124121241312414124151241612417124181241912420124211242212423124241242512426124271242812429124301243112432124331243412435124361243712438124391244012441124421244312444124451244612447124481244912450124511245212453124541245512456124571245812459124601246112462124631246412465124661246712468124691247012471124721247312474124751247612477124781247912480124811248212483124841248512486124871248812489124901249112492124931249412495124961249712498124991250012501125021250312504125051250612507125081250912510125111251212513125141251512516125171251812519125201252112522125231252412525125261252712528125291253012531125321253312534125351253612537125381253912540125411254212543125441254512546125471254812549125501255112552125531255412555125561255712558125591256012561125621256312564125651256612567125681256912570125711257212573125741257512576125771257812579125801258112582125831258412585125861258712588125891259012591125921259312594125951259612597125981259912600126011260212603126041260512606126071260812609126101261112612126131261412615126161261712618126191262012621126221262312624126251262612627126281262912630126311263212633126341263512636126371263812639126401264112642126431264412645126461264712648126491265012651126521265312654126551265612657126581265912660126611266212663126641266512666126671266812669126701267112672126731267412675126761267712678126791268012681126821268312684126851268612687126881268912690126911269212693126941269512696126971269812699127001270112702127031270412705127061270712708127091271012711127121271312714127151271612717127181271912720127211272212723127241272512726127271272812729127301273112732127331273412735127361273712738127391274012741127421274312744127451274612747127481274912750127511275212753127541275512756127571275812759127601276112762127631276412765127661276712768127691277012771127721277312774127751277612777127781277912780127811278212783127841278512786127871278812789127901279112792127931279412795127961279712798127991280012801128021280312804128051280612807128081280912810128111281212813128141281512816128171281812819128201282112822128231282412825128261282712828128291283012831128321283312834128351283612837128381283912840128411284212843128441284512846128471284812849128501285112852128531285412855128561285712858128591286012861128621286312864128651286612867128681286912870128711287212873128741287512876128771287812879128801288112882128831288412885128861288712888128891289012891128921289312894128951289612897128981289912900129011290212903129041290512906129071290812909129101291112912129131291412915129161291712918129191292012921129221292312924129251292612927129281292912930129311293212933129341293512936129371293812939129401294112942129431294412945129461294712948129491295012951129521295312954129551295612957129581295912960129611296212963129641296512966129671296812969129701297112972129731297412975129761297712978129791298012981129821298312984129851298612987129881298912990129911299212993129941299512996129971299812999130001300113002130031300413005130061300713008130091301013011130121301313014130151301613017130181301913020130211302213023130241302513026130271302813029130301303113032130331303413035130361303713038130391304013041130421304313044130451304613047130481304913050130511305213053130541305513056130571305813059130601306113062130631306413065130661306713068130691307013071130721307313074130751307613077130781307913080130811308213083130841308513086130871308813089130901309113092130931309413095130961309713098130991310013101131021310313104131051310613107131081310913110131111311213113131141311513116131171311813119131201312113122131231312413125131261312713128131291313013131131321313313134131351313613137131381313913140131411314213143131441314513146131471314813149131501315113152131531315413155131561315713158131591316013161131621316313164131651316613167131681316913170131711317213173131741317513176131771317813179131801318113182131831318413185131861318713188131891319013191131921319313194131951319613197131981319913200132011320213203132041320513206132071320813209132101321113212132131321413215132161321713218132191322013221132221322313224132251322613227132281322913230132311323213233132341323513236132371323813239132401324113242132431324413245132461324713248132491325013251132521325313254132551325613257132581325913260132611326213263132641326513266132671326813269132701327113272132731327413275132761327713278132791328013281132821328313284132851328613287132881328913290132911329213293132941329513296132971329813299133001330113302133031330413305133061330713308133091331013311133121331313314133151331613317133181331913320133211332213323133241332513326133271332813329133301333113332133331333413335133361333713338133391334013341133421334313344133451334613347133481334913350133511335213353133541335513356133571335813359133601336113362133631336413365133661336713368133691337013371133721337313374133751337613377133781337913380133811338213383133841338513386133871338813389133901339113392133931339413395133961339713398133991340013401134021340313404134051340613407134081340913410134111341213413134141341513416134171341813419134201342113422134231342413425134261342713428134291343013431134321343313434134351343613437134381343913440134411344213443134441344513446134471344813449134501345113452134531345413455134561345713458134591346013461134621346313464134651346613467134681346913470134711347213473134741347513476134771347813479134801348113482134831348413485134861348713488134891349013491134921349313494134951349613497134981349913500135011350213503135041350513506135071350813509135101351113512135131351413515135161351713518135191352013521135221352313524135251352613527135281352913530135311353213533135341353513536135371353813539135401354113542135431354413545135461354713548135491355013551135521355313554135551355613557135581355913560135611356213563135641356513566135671356813569135701357113572135731357413575135761357713578135791358013581135821358313584135851358613587135881358913590135911359213593135941359513596135971359813599136001360113602136031360413605136061360713608136091361013611136121361313614136151361613617136181361913620136211362213623136241362513626136271362813629136301363113632136331363413635136361363713638136391364013641136421364313644136451364613647136481364913650136511365213653136541365513656136571365813659136601366113662136631366413665136661366713668136691367013671136721367313674136751367613677136781367913680136811368213683136841368513686136871368813689136901369113692136931369413695136961369713698136991370013701137021370313704137051370613707137081370913710137111371213713137141371513716137171371813719137201372113722137231372413725137261372713728137291373013731137321373313734137351373613737137381373913740137411374213743137441374513746137471374813749137501375113752137531375413755137561375713758137591376013761137621376313764137651376613767137681376913770137711377213773137741377513776137771377813779137801378113782137831378413785137861378713788137891379013791137921379313794137951379613797137981379913800138011380213803138041380513806138071380813809138101381113812138131381413815138161381713818138191382013821138221382313824138251382613827138281382913830138311383213833138341383513836138371383813839138401384113842138431384413845138461384713848138491385013851138521385313854138551385613857138581385913860138611386213863138641386513866138671386813869138701387113872138731387413875138761387713878138791388013881138821388313884138851388613887138881388913890138911389213893138941389513896138971389813899139001390113902139031390413905139061390713908139091391013911139121391313914139151391613917139181391913920139211392213923139241392513926139271392813929139301393113932139331393413935139361393713938139391394013941139421394313944139451394613947139481394913950139511395213953139541395513956139571395813959139601396113962139631396413965139661396713968139691397013971139721397313974139751397613977139781397913980139811398213983139841398513986139871398813989139901399113992139931399413995139961399713998139991400014001140021400314004140051400614007140081400914010140111401214013140141401514016140171401814019140201402114022140231402414025140261402714028140291403014031140321403314034140351403614037140381403914040140411404214043140441404514046140471404814049140501405114052140531405414055140561405714058140591406014061140621406314064140651406614067140681406914070140711407214073140741407514076140771407814079140801408114082140831408414085140861408714088140891409014091140921409314094140951409614097140981409914100141011410214103141041410514106141071410814109141101411114112141131411414115141161411714118141191412014121141221412314124141251412614127141281412914130141311413214133141341413514136141371413814139141401414114142141431414414145141461414714148141491415014151141521415314154141551415614157141581415914160141611416214163141641416514166141671416814169141701417114172141731417414175141761417714178141791418014181141821418314184141851418614187141881418914190141911419214193141941419514196141971419814199142001420114202142031420414205142061420714208142091421014211142121421314214142151421614217142181421914220142211422214223142241422514226142271422814229142301423114232142331423414235142361423714238142391424014241142421424314244142451424614247142481424914250142511425214253142541425514256142571425814259142601426114262142631426414265142661426714268142691427014271142721427314274142751427614277142781427914280142811428214283142841428514286142871428814289142901429114292142931429414295142961429714298142991430014301143021430314304143051430614307143081430914310143111431214313143141431514316143171431814319143201432114322143231432414325143261432714328143291433014331143321433314334143351433614337143381433914340143411434214343143441434514346143471434814349143501435114352143531435414355143561435714358143591436014361143621436314364143651436614367143681436914370143711437214373143741437514376143771437814379143801438114382143831438414385143861438714388143891439014391143921439314394143951439614397143981439914400144011440214403144041440514406144071440814409144101441114412144131441414415144161441714418144191442014421144221442314424144251442614427144281442914430144311443214433144341443514436144371443814439144401444114442144431444414445144461444714448144491445014451144521445314454144551445614457144581445914460144611446214463144641446514466144671446814469144701447114472144731447414475144761447714478144791448014481144821448314484144851448614487144881448914490144911449214493144941449514496144971449814499145001450114502145031450414505145061450714508145091451014511145121451314514145151451614517145181451914520145211452214523145241452514526145271452814529145301453114532145331453414535145361453714538145391454014541145421454314544145451454614547145481454914550145511455214553145541455514556145571455814559145601456114562145631456414565145661456714568145691457014571145721457314574145751457614577145781457914580145811458214583145841458514586145871458814589145901459114592145931459414595145961459714598145991460014601146021460314604146051460614607146081460914610146111461214613146141461514616146171461814619146201462114622146231462414625146261462714628146291463014631146321463314634146351463614637146381463914640146411464214643146441464514646146471464814649146501465114652146531465414655146561465714658146591466014661146621466314664146651466614667146681466914670146711467214673146741467514676146771467814679146801468114682146831468414685146861468714688146891469014691146921469314694146951469614697146981469914700147011470214703147041470514706147071470814709147101471114712147131471414715147161471714718147191472014721147221472314724147251472614727147281472914730147311473214733147341473514736147371473814739147401474114742147431474414745147461474714748147491475014751147521475314754147551475614757147581475914760147611476214763147641476514766147671476814769147701477114772147731477414775147761477714778147791478014781147821478314784147851478614787147881478914790147911479214793147941479514796147971479814799148001480114802148031480414805148061480714808148091481014811148121481314814148151481614817148181481914820148211482214823148241482514826148271482814829148301483114832148331483414835148361483714838148391484014841148421484314844148451484614847148481484914850148511485214853148541485514856148571485814859148601486114862148631486414865148661486714868148691487014871148721487314874148751487614877148781487914880148811488214883148841488514886148871488814889148901489114892148931489414895148961489714898148991490014901149021490314904149051490614907149081490914910149111491214913149141491514916149171491814919149201492114922149231492414925149261492714928149291493014931149321493314934149351493614937149381493914940149411494214943149441494514946149471494814949149501495114952149531495414955149561495714958149591496014961149621496314964149651496614967149681496914970149711497214973149741497514976149771497814979149801498114982149831498414985149861498714988149891499014991149921499314994149951499614997149981499915000150011500215003150041500515006150071500815009150101501115012150131501415015150161501715018150191502015021150221502315024150251502615027150281502915030150311503215033150341503515036150371503815039150401504115042150431504415045150461504715048150491505015051150521505315054150551505615057150581505915060150611506215063150641506515066150671506815069150701507115072150731507415075150761507715078150791508015081150821508315084150851508615087150881508915090150911509215093150941509515096150971509815099151001510115102151031510415105151061510715108151091511015111151121511315114151151511615117151181511915120151211512215123151241512515126151271512815129151301513115132151331513415135151361513715138151391514015141151421514315144151451514615147151481514915150151511515215153151541515515156151571515815159151601516115162151631516415165151661516715168151691517015171151721517315174151751517615177151781517915180151811518215183151841518515186151871518815189151901519115192151931519415195151961519715198151991520015201152021520315204152051520615207152081520915210152111521215213152141521515216152171521815219152201522115222152231522415225152261522715228152291523015231152321523315234152351523615237152381523915240152411524215243152441524515246152471524815249152501525115252152531525415255152561525715258152591526015261152621526315264152651526615267152681526915270152711527215273152741527515276152771527815279152801528115282152831528415285152861528715288152891529015291152921529315294152951529615297152981529915300153011530215303153041530515306153071530815309153101531115312153131531415315153161531715318153191532015321153221532315324153251532615327153281532915330153311533215333153341533515336153371533815339153401534115342153431534415345153461534715348153491535015351153521535315354153551535615357153581535915360153611536215363153641536515366153671536815369153701537115372153731537415375153761537715378153791538015381153821538315384153851538615387153881538915390153911539215393153941539515396153971539815399154001540115402154031540415405154061540715408154091541015411154121541315414154151541615417154181541915420154211542215423154241542515426154271542815429154301543115432154331543415435154361543715438154391544015441154421544315444154451544615447154481544915450154511545215453154541545515456154571545815459154601546115462154631546415465154661546715468154691547015471154721547315474154751547615477154781547915480154811548215483154841548515486154871548815489154901549115492154931549415495154961549715498154991550015501155021550315504155051550615507155081550915510155111551215513155141551515516155171551815519155201552115522155231552415525155261552715528155291553015531155321553315534155351553615537155381553915540155411554215543155441554515546155471554815549155501555115552155531555415555155561555715558155591556015561155621556315564155651556615567155681556915570155711557215573155741557515576155771557815579155801558115582155831558415585155861558715588155891559015591155921559315594155951559615597155981559915600156011560215603156041560515606156071560815609156101561115612156131561415615156161561715618156191562015621156221562315624156251562615627156281562915630156311563215633156341563515636156371563815639156401564115642156431564415645156461564715648156491565015651156521565315654156551565615657156581565915660156611566215663156641566515666156671566815669156701567115672156731567415675156761567715678156791568015681156821568315684156851568615687156881568915690156911569215693156941569515696156971569815699157001570115702157031570415705157061570715708157091571015711157121571315714157151571615717157181571915720157211572215723157241572515726157271572815729157301573115732157331573415735157361573715738157391574015741157421574315744157451574615747157481574915750157511575215753157541575515756157571575815759157601576115762157631576415765157661576715768157691577015771157721577315774157751577615777157781577915780157811578215783157841578515786157871578815789157901579115792157931579415795157961579715798157991580015801158021580315804158051580615807158081580915810158111581215813158141581515816158171581815819158201582115822158231582415825158261582715828158291583015831158321583315834158351583615837158381583915840158411584215843158441584515846158471584815849158501585115852158531585415855158561585715858158591586015861158621586315864158651586615867158681586915870158711587215873158741587515876158771587815879158801588115882158831588415885158861588715888158891589015891158921589315894158951589615897158981589915900159011590215903159041590515906159071590815909159101591115912159131591415915159161591715918159191592015921159221592315924159251592615927159281592915930159311593215933159341593515936159371593815939159401594115942159431594415945159461594715948159491595015951159521595315954159551595615957159581595915960159611596215963159641596515966159671596815969159701597115972159731597415975159761597715978159791598015981159821598315984159851598615987159881598915990159911599215993159941599515996159971599815999160001600116002160031600416005160061600716008160091601016011160121601316014160151601616017160181601916020160211602216023160241602516026160271602816029160301603116032160331603416035160361603716038160391604016041160421604316044160451604616047160481604916050160511605216053160541605516056160571605816059160601606116062160631606416065160661606716068160691607016071160721607316074160751607616077160781607916080160811608216083160841608516086160871608816089160901609116092160931609416095160961609716098160991610016101161021610316104161051610616107161081610916110161111611216113161141611516116161171611816119161201612116122161231612416125161261612716128161291613016131161321613316134161351613616137161381613916140161411614216143161441614516146161471614816149161501615116152161531615416155161561615716158161591616016161161621616316164161651616616167161681616916170161711617216173161741617516176161771617816179161801618116182161831618416185161861618716188161891619016191161921619316194161951619616197161981619916200162011620216203162041620516206162071620816209162101621116212162131621416215162161621716218162191622016221162221622316224162251622616227162281622916230162311623216233162341623516236162371623816239162401624116242162431624416245162461624716248162491625016251162521625316254162551625616257162581625916260162611626216263162641626516266162671626816269162701627116272162731627416275162761627716278162791628016281162821628316284162851628616287162881628916290162911629216293162941629516296162971629816299163001630116302163031630416305163061630716308163091631016311163121631316314163151631616317163181631916320163211632216323163241632516326163271632816329163301633116332163331633416335163361633716338163391634016341163421634316344163451634616347163481634916350163511635216353163541635516356163571635816359163601636116362163631636416365163661636716368163691637016371163721637316374163751637616377163781637916380163811638216383163841638516386163871638816389163901639116392163931639416395163961639716398163991640016401164021640316404164051640616407164081640916410164111641216413164141641516416164171641816419164201642116422164231642416425164261642716428164291643016431164321643316434164351643616437164381643916440164411644216443164441644516446164471644816449164501645116452164531645416455164561645716458164591646016461164621646316464164651646616467164681646916470164711647216473164741647516476164771647816479164801648116482164831648416485164861648716488164891649016491164921649316494164951649616497164981649916500165011650216503165041650516506165071650816509165101651116512165131651416515165161651716518165191652016521165221652316524165251652616527165281652916530165311653216533165341653516536165371653816539165401654116542165431654416545165461654716548165491655016551165521655316554165551655616557165581655916560165611656216563165641656516566165671656816569165701657116572165731657416575165761657716578165791658016581165821658316584165851658616587165881658916590165911659216593165941659516596165971659816599166001660116602166031660416605166061660716608166091661016611166121661316614166151661616617166181661916620166211662216623166241662516626166271662816629166301663116632166331663416635166361663716638166391664016641166421664316644166451664616647166481664916650166511665216653166541665516656166571665816659166601666116662166631666416665166661666716668166691667016671166721667316674166751667616677166781667916680166811668216683166841668516686166871668816689166901669116692166931669416695166961669716698166991670016701167021670316704167051670616707167081670916710167111671216713167141671516716167171671816719167201672116722167231672416725167261672716728167291673016731167321673316734167351673616737167381673916740167411674216743167441674516746167471674816749167501675116752167531675416755167561675716758167591676016761167621676316764167651676616767167681676916770167711677216773167741677516776167771677816779167801678116782167831678416785167861678716788167891679016791167921679316794167951679616797167981679916800168011680216803168041680516806168071680816809168101681116812168131681416815168161681716818168191682016821168221682316824168251682616827168281682916830168311683216833168341683516836168371683816839168401684116842168431684416845168461684716848168491685016851168521685316854168551685616857168581685916860168611686216863168641686516866168671686816869168701687116872168731687416875168761687716878168791688016881168821688316884168851688616887168881688916890168911689216893168941689516896168971689816899169001690116902169031690416905169061690716908169091691016911169121691316914169151691616917169181691916920169211692216923169241692516926169271692816929169301693116932169331693416935169361693716938169391694016941169421694316944169451694616947169481694916950169511695216953169541695516956169571695816959169601696116962169631696416965169661696716968169691697016971169721697316974169751697616977169781697916980169811698216983169841698516986169871698816989169901699116992169931699416995169961699716998169991700017001170021700317004170051700617007170081700917010170111701217013170141701517016170171701817019170201702117022170231702417025170261702717028170291703017031170321703317034170351703617037170381703917040170411704217043170441704517046170471704817049170501705117052170531705417055170561705717058170591706017061170621706317064170651706617067170681706917070170711707217073170741707517076170771707817079170801708117082170831708417085170861708717088170891709017091170921709317094170951709617097170981709917100171011710217103171041710517106171071710817109171101711117112171131711417115171161711717118171191712017121171221712317124171251712617127171281712917130171311713217133171341713517136171371713817139171401714117142171431714417145171461714717148171491715017151171521715317154171551715617157171581715917160171611716217163171641716517166171671716817169171701717117172171731717417175171761717717178171791718017181171821718317184171851718617187171881718917190171911719217193171941719517196171971719817199172001720117202172031720417205172061720717208172091721017211172121721317214172151721617217172181721917220172211722217223172241722517226172271722817229172301723117232172331723417235172361723717238172391724017241172421724317244172451724617247172481724917250172511725217253172541725517256172571725817259172601726117262172631726417265172661726717268172691727017271172721727317274172751727617277172781727917280172811728217283172841728517286172871728817289172901729117292172931729417295172961729717298172991730017301173021730317304173051730617307173081730917310173111731217313173141731517316173171731817319173201732117322173231732417325173261732717328173291733017331173321733317334173351733617337173381733917340173411734217343173441734517346173471734817349173501735117352173531735417355173561735717358173591736017361173621736317364173651736617367173681736917370173711737217373173741737517376173771737817379173801738117382173831738417385173861738717388173891739017391173921739317394173951739617397173981739917400174011740217403174041740517406174071740817409174101741117412174131741417415174161741717418174191742017421174221742317424174251742617427174281742917430174311743217433174341743517436174371743817439174401744117442174431744417445174461744717448174491745017451174521745317454174551745617457174581745917460174611746217463174641746517466174671746817469174701747117472174731747417475174761747717478174791748017481174821748317484174851748617487174881748917490174911749217493174941749517496174971749817499175001750117502175031750417505175061750717508175091751017511175121751317514175151751617517175181751917520175211752217523175241752517526175271752817529175301753117532175331753417535175361753717538175391754017541175421754317544175451754617547175481754917550175511755217553175541755517556175571755817559175601756117562175631756417565175661756717568175691757017571175721757317574175751757617577175781757917580175811758217583175841758517586175871758817589175901759117592175931759417595175961759717598175991760017601176021760317604176051760617607176081760917610176111761217613176141761517616176171761817619176201762117622176231762417625176261762717628176291763017631176321763317634176351763617637176381763917640176411764217643176441764517646176471764817649176501765117652176531765417655176561765717658176591766017661176621766317664176651766617667176681766917670176711767217673176741767517676176771767817679
  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/QueryQuoteDay": {
  4880. "get": {
  4881. "security": [
  4882. {
  4883. "ApiKeyAuth": []
  4884. }
  4885. ],
  4886. "produces": [
  4887. "application/json"
  4888. ],
  4889. "tags": [
  4890. "行情服务"
  4891. ],
  4892. "summary": "获取商品盘面信息",
  4893. "parameters": [
  4894. {
  4895. "type": "string",
  4896. "description": "商品代码列表,格式:CU2102,CU2103,AL2107",
  4897. "name": "goodsCodes",
  4898. "in": "query",
  4899. "required": true
  4900. }
  4901. ],
  4902. "responses": {
  4903. "200": {
  4904. "description": "OK",
  4905. "schema": {
  4906. "$ref": "#/definitions/quote.QueryQuoteDayRsp"
  4907. }
  4908. },
  4909. "500": {
  4910. "description": "Internal Server Error",
  4911. "schema": {
  4912. "$ref": "#/definitions/app.Response"
  4913. }
  4914. }
  4915. }
  4916. }
  4917. },
  4918. "/Quote/QueryTSData": {
  4919. "get": {
  4920. "produces": [
  4921. "application/json"
  4922. ],
  4923. "tags": [
  4924. "行情服务"
  4925. ],
  4926. "summary": "分时图数据查询",
  4927. "parameters": [
  4928. {
  4929. "type": "string",
  4930. "description": "商品代码",
  4931. "name": "goodsCode",
  4932. "in": "query",
  4933. "required": true
  4934. }
  4935. ],
  4936. "responses": {
  4937. "200": {
  4938. "description": "OK",
  4939. "schema": {
  4940. "$ref": "#/definitions/quote.QueryTSDataRsp"
  4941. }
  4942. },
  4943. "500": {
  4944. "description": "Internal Server Error",
  4945. "schema": {
  4946. "$ref": "#/definitions/app.Response"
  4947. }
  4948. }
  4949. }
  4950. }
  4951. },
  4952. "/SZDZ/QueryConvertConfig": {
  4953. "get": {
  4954. "security": [
  4955. {
  4956. "ApiKeyAuth": []
  4957. }
  4958. ],
  4959. "produces": [
  4960. "application/json"
  4961. ],
  4962. "tags": [
  4963. "定制【尚志大宗】"
  4964. ],
  4965. "summary": "查询交易系统转换设置",
  4966. "parameters": [
  4967. {
  4968. "type": "integer",
  4969. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)",
  4970. "name": "convertType",
  4971. "in": "query"
  4972. },
  4973. {
  4974. "type": "string",
  4975. "description": "外部商品代码[JD\\PD]",
  4976. "name": "outerGoodsCode",
  4977. "in": "query"
  4978. },
  4979. {
  4980. "type": "string",
  4981. "description": "内部商品ID列表[交易],格式:1,2,3",
  4982. "name": "innerGoodsIDs",
  4983. "in": "query"
  4984. }
  4985. ],
  4986. "responses": {
  4987. "200": {
  4988. "description": "OK",
  4989. "schema": {
  4990. "$ref": "#/definitions/models.Szdz3convertconfig"
  4991. }
  4992. },
  4993. "500": {
  4994. "description": "Internal Server Error",
  4995. "schema": {
  4996. "$ref": "#/definitions/app.Response"
  4997. }
  4998. }
  4999. }
  5000. }
  5001. },
  5002. "/SZDZ/QueryConvertLog": {
  5003. "get": {
  5004. "security": [
  5005. {
  5006. "ApiKeyAuth": []
  5007. }
  5008. ],
  5009. "produces": [
  5010. "application/json"
  5011. ],
  5012. "tags": [
  5013. "定制【尚志大宗】"
  5014. ],
  5015. "summary": "交易系统转换流水查询",
  5016. "parameters": [
  5017. {
  5018. "type": "string",
  5019. "description": "资金账户 - 格式:1,2,3",
  5020. "name": "accountID",
  5021. "in": "query",
  5022. "required": true
  5023. },
  5024. {
  5025. "type": "string",
  5026. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  5027. "name": "startDate",
  5028. "in": "query"
  5029. },
  5030. {
  5031. "type": "string",
  5032. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  5033. "name": "endDate",
  5034. "in": "query"
  5035. }
  5036. ],
  5037. "responses": {
  5038. "200": {
  5039. "description": "OK",
  5040. "schema": {
  5041. "$ref": "#/definitions/szdz.QueryConvertLogRsp"
  5042. }
  5043. },
  5044. "500": {
  5045. "description": "Internal Server Error",
  5046. "schema": {
  5047. "$ref": "#/definitions/app.Response"
  5048. }
  5049. }
  5050. }
  5051. }
  5052. },
  5053. "/SZDZ/QueryGoodsPickup": {
  5054. "get": {
  5055. "security": [
  5056. {
  5057. "ApiKeyAuth": []
  5058. }
  5059. ],
  5060. "produces": [
  5061. "application/json"
  5062. ],
  5063. "tags": [
  5064. "定制【尚志大宗】"
  5065. ],
  5066. "summary": "商品提货单查询",
  5067. "parameters": [
  5068. {
  5069. "type": "string",
  5070. "description": "资金账户 - 格式:1,2,3",
  5071. "name": "accountID",
  5072. "in": "query",
  5073. "required": true
  5074. },
  5075. {
  5076. "type": "integer",
  5077. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  5078. "name": "takeOrderStatus",
  5079. "in": "query"
  5080. }
  5081. ],
  5082. "responses": {
  5083. "200": {
  5084. "description": "OK",
  5085. "schema": {
  5086. "$ref": "#/definitions/szdz.QueryGoodsPickupRsp"
  5087. }
  5088. },
  5089. "500": {
  5090. "description": "Internal Server Error",
  5091. "schema": {
  5092. "$ref": "#/definitions/app.Response"
  5093. }
  5094. }
  5095. }
  5096. }
  5097. },
  5098. "/SZDZ/QueryRecieptOrder": {
  5099. "get": {
  5100. "security": [
  5101. {
  5102. "ApiKeyAuth": []
  5103. }
  5104. ],
  5105. "description": "说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算",
  5106. "produces": [
  5107. "application/json"
  5108. ],
  5109. "tags": [
  5110. "定制【尚志大宗】"
  5111. ],
  5112. "summary": "点选挂牌委托单据查询(摘牌大厅)",
  5113. "parameters": [
  5114. {
  5115. "type": "integer",
  5116. "description": "页码",
  5117. "name": "page",
  5118. "in": "query"
  5119. },
  5120. {
  5121. "type": "integer",
  5122. "description": "每页条数",
  5123. "name": "pagesize",
  5124. "in": "query"
  5125. },
  5126. {
  5127. "type": "integer",
  5128. "description": "商品ID",
  5129. "name": "goodsID",
  5130. "in": "query",
  5131. "required": true
  5132. },
  5133. {
  5134. "type": "string",
  5135. "description": "所属账户名称",
  5136. "name": "accountName",
  5137. "in": "query"
  5138. },
  5139. {
  5140. "type": "integer",
  5141. "description": "市场ID",
  5142. "name": "marketID",
  5143. "in": "query"
  5144. },
  5145. {
  5146. "type": "integer",
  5147. "description": "方向 - 0:买 1:卖",
  5148. "name": "buyorsell",
  5149. "in": "query",
  5150. "required": true
  5151. }
  5152. ],
  5153. "responses": {
  5154. "200": {
  5155. "description": "OK",
  5156. "schema": {
  5157. "$ref": "#/definitions/szdz.QueryRecieptOrderRsp"
  5158. }
  5159. },
  5160. "500": {
  5161. "description": "Internal Server Error",
  5162. "schema": {
  5163. "$ref": "#/definitions/app.Response"
  5164. }
  5165. }
  5166. }
  5167. }
  5168. },
  5169. "/SZDZ/QuerySZDZTradePosition": {
  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": "资金账户",
  5187. "name": "accountID",
  5188. "in": "query",
  5189. "required": true
  5190. }
  5191. ],
  5192. "responses": {
  5193. "200": {
  5194. "description": "OK",
  5195. "schema": {
  5196. "$ref": "#/definitions/szdz.QuerySZDZTradePositionRsp"
  5197. }
  5198. },
  5199. "500": {
  5200. "description": "Internal Server Error",
  5201. "schema": {
  5202. "$ref": "#/definitions/app.Response"
  5203. }
  5204. }
  5205. }
  5206. }
  5207. },
  5208. "/SZDZ/SearchWhite": {
  5209. "get": {
  5210. "security": [
  5211. {
  5212. "ApiKeyAuth": []
  5213. }
  5214. ],
  5215. "produces": [
  5216. "application/json"
  5217. ],
  5218. "tags": [
  5219. "定制【尚志大宗】"
  5220. ],
  5221. "summary": "搜索白名单",
  5222. "parameters": [
  5223. {
  5224. "type": "integer",
  5225. "description": "用户ID",
  5226. "name": "userID",
  5227. "in": "query",
  5228. "required": true
  5229. }
  5230. ],
  5231. "responses": {
  5232. "200": {
  5233. "description": "OK",
  5234. "schema": {
  5235. "$ref": "#/definitions/models.Szdz3searchwhitelist"
  5236. }
  5237. },
  5238. "500": {
  5239. "description": "Internal Server Error",
  5240. "schema": {
  5241. "$ref": "#/definitions/app.Response"
  5242. }
  5243. }
  5244. }
  5245. }
  5246. },
  5247. "/Search/SearchGoodses": {
  5248. "get": {
  5249. "description": "说明:使用检索内容模糊匹配商品代码和商品名称",
  5250. "produces": [
  5251. "application/json"
  5252. ],
  5253. "tags": [
  5254. "检索服务"
  5255. ],
  5256. "summary": "检索商品信息",
  5257. "parameters": [
  5258. {
  5259. "type": "string",
  5260. "description": "检索内容",
  5261. "name": "content",
  5262. "in": "query",
  5263. "required": true
  5264. },
  5265. {
  5266. "type": "string",
  5267. "description": "交易模式,格式:1,2,3",
  5268. "name": "tradeModes",
  5269. "in": "query"
  5270. }
  5271. ],
  5272. "responses": {
  5273. "200": {
  5274. "description": "OK",
  5275. "schema": {
  5276. "$ref": "#/definitions/models.SearchGoods"
  5277. }
  5278. },
  5279. "500": {
  5280. "description": "Internal Server Error",
  5281. "schema": {
  5282. "$ref": "#/definitions/app.Response"
  5283. }
  5284. }
  5285. }
  5286. }
  5287. },
  5288. "/TaAccount/GetTaAccounts": {
  5289. "get": {
  5290. "security": [
  5291. {
  5292. "ApiKeyAuth": []
  5293. }
  5294. ],
  5295. "produces": [
  5296. "application/json"
  5297. ],
  5298. "tags": [
  5299. "资金账户"
  5300. ],
  5301. "summary": "获取资金账户信息",
  5302. "parameters": [
  5303. {
  5304. "type": "integer",
  5305. "description": "登录账户",
  5306. "name": "loginID",
  5307. "in": "query",
  5308. "required": true
  5309. },
  5310. {
  5311. "type": "integer",
  5312. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  5313. "name": "taAccountType",
  5314. "in": "query"
  5315. }
  5316. ],
  5317. "responses": {
  5318. "200": {
  5319. "description": "OK",
  5320. "schema": {
  5321. "$ref": "#/definitions/models.Taaccount"
  5322. }
  5323. },
  5324. "500": {
  5325. "description": "Internal Server Error",
  5326. "schema": {
  5327. "$ref": "#/definitions/app.Response"
  5328. }
  5329. }
  5330. }
  5331. }
  5332. },
  5333. "/TaAccount/QueryAmountLog": {
  5334. "get": {
  5335. "security": [
  5336. {
  5337. "ApiKeyAuth": []
  5338. }
  5339. ],
  5340. "produces": [
  5341. "application/json"
  5342. ],
  5343. "tags": [
  5344. "资金账户"
  5345. ],
  5346. "summary": "资金流水查询(当前)",
  5347. "parameters": [
  5348. {
  5349. "type": "integer",
  5350. "description": "页码",
  5351. "name": "page",
  5352. "in": "query"
  5353. },
  5354. {
  5355. "type": "integer",
  5356. "description": "每页条数",
  5357. "name": "pagesize",
  5358. "in": "query"
  5359. },
  5360. {
  5361. "type": "string",
  5362. "description": "资金账户 - 格式:1,2,3",
  5363. "name": "accountID",
  5364. "in": "query",
  5365. "required": true
  5366. },
  5367. {
  5368. "type": "string",
  5369. "description": "资金操作类型 - 格式:1,2,3",
  5370. "name": "OperateType",
  5371. "in": "query"
  5372. }
  5373. ],
  5374. "responses": {
  5375. "200": {
  5376. "description": "OK",
  5377. "schema": {
  5378. "$ref": "#/definitions/taaccount.QueryAmountLogRsp"
  5379. }
  5380. },
  5381. "500": {
  5382. "description": "Internal Server Error",
  5383. "schema": {
  5384. "$ref": "#/definitions/app.Response"
  5385. }
  5386. }
  5387. }
  5388. }
  5389. },
  5390. "/TaAccount/QueryHisAmountLog": {
  5391. "get": {
  5392. "security": [
  5393. {
  5394. "ApiKeyAuth": []
  5395. }
  5396. ],
  5397. "produces": [
  5398. "application/json"
  5399. ],
  5400. "tags": [
  5401. "资金账户"
  5402. ],
  5403. "summary": "资金流水查询(历史)",
  5404. "parameters": [
  5405. {
  5406. "type": "integer",
  5407. "description": "页码",
  5408. "name": "page",
  5409. "in": "query"
  5410. },
  5411. {
  5412. "type": "integer",
  5413. "description": "每页条数",
  5414. "name": "pagesize",
  5415. "in": "query"
  5416. },
  5417. {
  5418. "type": "string",
  5419. "description": "资金账户 - 格式:1,2,3",
  5420. "name": "accountID",
  5421. "in": "query",
  5422. "required": true
  5423. },
  5424. {
  5425. "type": "string",
  5426. "description": "资金操作类型 - 格式:1,2,3",
  5427. "name": "OperateType",
  5428. "in": "query"
  5429. },
  5430. {
  5431. "type": "string",
  5432. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  5433. "name": "startDate",
  5434. "in": "query"
  5435. },
  5436. {
  5437. "type": "string",
  5438. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  5439. "name": "endDate",
  5440. "in": "query"
  5441. }
  5442. ],
  5443. "responses": {
  5444. "200": {
  5445. "description": "OK",
  5446. "schema": {
  5447. "$ref": "#/definitions/taaccount.QueryHisAmountLogRsp"
  5448. }
  5449. },
  5450. "500": {
  5451. "description": "Internal Server Error",
  5452. "schema": {
  5453. "$ref": "#/definitions/app.Response"
  5454. }
  5455. }
  5456. }
  5457. }
  5458. },
  5459. "/Trade/QueryRecieptOrder": {
  5460. "get": {
  5461. "security": [
  5462. {
  5463. "ApiKeyAuth": []
  5464. }
  5465. ],
  5466. "description": "说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算",
  5467. "produces": [
  5468. "application/json"
  5469. ],
  5470. "tags": [
  5471. "通用交易"
  5472. ],
  5473. "summary": "点选挂牌委托单据查询(保证金摘牌大厅)",
  5474. "parameters": [
  5475. {
  5476. "type": "integer",
  5477. "description": "页码",
  5478. "name": "page",
  5479. "in": "query"
  5480. },
  5481. {
  5482. "type": "integer",
  5483. "description": "每页条数",
  5484. "name": "pagesize",
  5485. "in": "query"
  5486. },
  5487. {
  5488. "type": "integer",
  5489. "description": "商品ID",
  5490. "name": "goodsID",
  5491. "in": "query",
  5492. "required": true
  5493. },
  5494. {
  5495. "type": "string",
  5496. "description": "所属账户名称",
  5497. "name": "accountName",
  5498. "in": "query"
  5499. },
  5500. {
  5501. "type": "integer",
  5502. "description": "市场ID",
  5503. "name": "marketID",
  5504. "in": "query"
  5505. },
  5506. {
  5507. "type": "integer",
  5508. "description": "方向 - 0:买 1:卖",
  5509. "name": "buyorsell",
  5510. "in": "query",
  5511. "required": true
  5512. }
  5513. ],
  5514. "responses": {
  5515. "200": {
  5516. "description": "OK",
  5517. "schema": {
  5518. "$ref": "#/definitions/trade.QueryRecieptOrderRsp"
  5519. }
  5520. },
  5521. "500": {
  5522. "description": "Internal Server Error",
  5523. "schema": {
  5524. "$ref": "#/definitions/app.Response"
  5525. }
  5526. }
  5527. }
  5528. }
  5529. },
  5530. "/User/AddMessageBoard": {
  5531. "post": {
  5532. "security": [
  5533. {
  5534. "ApiKeyAuth": []
  5535. }
  5536. ],
  5537. "produces": [
  5538. "application/json"
  5539. ],
  5540. "tags": [
  5541. "用户信息"
  5542. ],
  5543. "summary": "添加用户留言板信息",
  5544. "parameters": [
  5545. {
  5546. "type": "integer",
  5547. "description": "用户ID",
  5548. "name": "userID",
  5549. "in": "query",
  5550. "required": true
  5551. },
  5552. {
  5553. "type": "string",
  5554. "description": "留言信息",
  5555. "name": "message",
  5556. "in": "query",
  5557. "required": true
  5558. }
  5559. ],
  5560. "responses": {
  5561. "200": {
  5562. "description": "OK",
  5563. "schema": {
  5564. "$ref": "#/definitions/app.Response"
  5565. }
  5566. },
  5567. "500": {
  5568. "description": "Internal Server Error",
  5569. "schema": {
  5570. "$ref": "#/definitions/app.Response"
  5571. }
  5572. }
  5573. }
  5574. }
  5575. },
  5576. "/User/AddUserFavoriteGoods": {
  5577. "post": {
  5578. "security": [
  5579. {
  5580. "ApiKeyAuth": []
  5581. }
  5582. ],
  5583. "produces": [
  5584. "application/json"
  5585. ],
  5586. "tags": [
  5587. "用户信息"
  5588. ],
  5589. "summary": "添加用户商品收藏信息",
  5590. "parameters": [
  5591. {
  5592. "type": "integer",
  5593. "description": "用户ID",
  5594. "name": "userID",
  5595. "in": "query",
  5596. "required": true
  5597. },
  5598. {
  5599. "type": "integer",
  5600. "description": "商品ID",
  5601. "name": "goodsID",
  5602. "in": "query",
  5603. "required": true
  5604. }
  5605. ],
  5606. "responses": {
  5607. "200": {
  5608. "description": "OK",
  5609. "schema": {
  5610. "$ref": "#/definitions/app.Response"
  5611. }
  5612. },
  5613. "500": {
  5614. "description": "Internal Server Error",
  5615. "schema": {
  5616. "$ref": "#/definitions/app.Response"
  5617. }
  5618. }
  5619. }
  5620. }
  5621. },
  5622. "/User/GetLoginID": {
  5623. "get": {
  5624. "description": "UserName 可传入“登录账号”、“登录代码”和“手机号码”",
  5625. "produces": [
  5626. "application/json"
  5627. ],
  5628. "tags": [
  5629. "用户信息"
  5630. ],
  5631. "summary": "获取登录ID",
  5632. "parameters": [
  5633. {
  5634. "type": "string",
  5635. "description": "登录代码",
  5636. "name": "username",
  5637. "in": "query",
  5638. "required": true
  5639. }
  5640. ],
  5641. "responses": {
  5642. "200": {
  5643. "description": "OK",
  5644. "schema": {
  5645. "$ref": "#/definitions/app.Response"
  5646. }
  5647. },
  5648. "500": {
  5649. "description": "Internal Server Error",
  5650. "schema": {
  5651. "$ref": "#/definitions/app.Response"
  5652. }
  5653. }
  5654. }
  5655. }
  5656. },
  5657. "/User/GetUserAccount": {
  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/models.Useraccount"
  5685. }
  5686. },
  5687. "500": {
  5688. "description": "Internal Server Error",
  5689. "schema": {
  5690. "$ref": "#/definitions/app.Response"
  5691. }
  5692. }
  5693. }
  5694. }
  5695. },
  5696. "/User/GetUserAuthStatus": {
  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/app.Response"
  5724. }
  5725. },
  5726. "500": {
  5727. "description": "Internal Server Error",
  5728. "schema": {
  5729. "$ref": "#/definitions/app.Response"
  5730. }
  5731. }
  5732. }
  5733. }
  5734. },
  5735. "/User/QueryMessageBoard": {
  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.Messageboard"
  5763. }
  5764. },
  5765. "500": {
  5766. "description": "Internal Server Error",
  5767. "schema": {
  5768. "$ref": "#/definitions/app.Response"
  5769. }
  5770. }
  5771. }
  5772. }
  5773. },
  5774. "/User/QueryUserFavoriteGoodses": {
  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.Userfavoritegoods"
  5802. }
  5803. },
  5804. "500": {
  5805. "description": "Internal Server Error",
  5806. "schema": {
  5807. "$ref": "#/definitions/app.Response"
  5808. }
  5809. }
  5810. }
  5811. }
  5812. },
  5813. "/User/QueryUserInfo": {
  5814. "get": {
  5815. "security": [
  5816. {
  5817. "ApiKeyAuth": []
  5818. }
  5819. ],
  5820. "produces": [
  5821. "application/json"
  5822. ],
  5823. "tags": [
  5824. "用户信息"
  5825. ],
  5826. "summary": "获取用户信息",
  5827. "parameters": [
  5828. {
  5829. "type": "integer",
  5830. "description": "用户ID",
  5831. "name": "userID",
  5832. "in": "query",
  5833. "required": true
  5834. }
  5835. ],
  5836. "responses": {
  5837. "200": {
  5838. "description": "OK",
  5839. "schema": {
  5840. "$ref": "#/definitions/models.Userinfo"
  5841. }
  5842. },
  5843. "500": {
  5844. "description": "Internal Server Error",
  5845. "schema": {
  5846. "$ref": "#/definitions/app.Response"
  5847. }
  5848. }
  5849. }
  5850. }
  5851. },
  5852. "/User/QueryUserReferNum": {
  5853. "get": {
  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. "responses": {
  5871. "200": {
  5872. "description": "OK",
  5873. "schema": {
  5874. "$ref": "#/definitions/app.Response"
  5875. }
  5876. },
  5877. "500": {
  5878. "description": "Internal Server Error",
  5879. "schema": {
  5880. "$ref": "#/definitions/app.Response"
  5881. }
  5882. }
  5883. }
  5884. }
  5885. },
  5886. "/User/RemoveUserFavoriteGoods": {
  5887. "post": {
  5888. "security": [
  5889. {
  5890. "ApiKeyAuth": []
  5891. }
  5892. ],
  5893. "produces": [
  5894. "application/json"
  5895. ],
  5896. "tags": [
  5897. "用户信息"
  5898. ],
  5899. "summary": "移除用户商品收藏信息",
  5900. "parameters": [
  5901. {
  5902. "type": "integer",
  5903. "description": "用户ID",
  5904. "name": "userID",
  5905. "in": "query",
  5906. "required": true
  5907. },
  5908. {
  5909. "type": "integer",
  5910. "description": "商品ID",
  5911. "name": "goodsID",
  5912. "in": "query",
  5913. "required": true
  5914. }
  5915. ],
  5916. "responses": {
  5917. "200": {
  5918. "description": "OK",
  5919. "schema": {
  5920. "$ref": "#/definitions/app.Response"
  5921. }
  5922. },
  5923. "500": {
  5924. "description": "Internal Server Error",
  5925. "schema": {
  5926. "$ref": "#/definitions/app.Response"
  5927. }
  5928. }
  5929. }
  5930. }
  5931. },
  5932. "/User/UpdateUserAccountStatus": {
  5933. "post": {
  5934. "security": [
  5935. {
  5936. "ApiKeyAuth": []
  5937. }
  5938. ],
  5939. "produces": [
  5940. "application/json"
  5941. ],
  5942. "tags": [
  5943. "用户信息"
  5944. ],
  5945. "summary": "更新用户状态",
  5946. "parameters": [
  5947. {
  5948. "type": "integer",
  5949. "description": "用户ID",
  5950. "name": "userID",
  5951. "in": "query",
  5952. "required": true
  5953. },
  5954. {
  5955. "type": "integer",
  5956. "description": "账户状态 - 4:正常 6:注销(停用)",
  5957. "name": "accountStatus",
  5958. "in": "query",
  5959. "required": true
  5960. }
  5961. ],
  5962. "responses": {
  5963. "200": {
  5964. "description": "OK",
  5965. "schema": {
  5966. "$ref": "#/definitions/app.Response"
  5967. }
  5968. },
  5969. "500": {
  5970. "description": "Internal Server Error",
  5971. "schema": {
  5972. "$ref": "#/definitions/app.Response"
  5973. }
  5974. }
  5975. }
  5976. }
  5977. },
  5978. "/WR/GetWRCategoryInfo": {
  5979. "get": {
  5980. "produces": [
  5981. "application/json"
  5982. ],
  5983. "tags": [
  5984. "仓单服务"
  5985. ],
  5986. "summary": "获取现货分类信息",
  5987. "responses": {
  5988. "200": {
  5989. "description": "OK",
  5990. "schema": {
  5991. "$ref": "#/definitions/models.WRCategoryTree"
  5992. }
  5993. },
  5994. "500": {
  5995. "description": "Internal Server Error",
  5996. "schema": {
  5997. "$ref": "#/definitions/app.Response"
  5998. }
  5999. }
  6000. }
  6001. }
  6002. },
  6003. "/WRTrade/GetAllDeliveryGoods": {
  6004. "get": {
  6005. "security": [
  6006. {
  6007. "ApiKeyAuth": []
  6008. },
  6009. {
  6010. "ApiKeyAuth": []
  6011. }
  6012. ],
  6013. "produces": [
  6014. "application/json",
  6015. "application/json"
  6016. ],
  6017. "tags": [
  6018. "仓单贸易",
  6019. "仓单贸易"
  6020. ],
  6021. "summary": "获取带仓单分类的种类信息",
  6022. "responses": {
  6023. "200": {
  6024. "description": "OK",
  6025. "schema": {
  6026. "$ref": "#/definitions/app.Response"
  6027. }
  6028. },
  6029. "500": {
  6030. "description": "Internal Server Error",
  6031. "schema": {
  6032. "$ref": "#/definitions/app.Response"
  6033. }
  6034. }
  6035. }
  6036. }
  6037. }
  6038. },
  6039. "definitions": {
  6040. "app.Response": {
  6041. "type": "object",
  6042. "properties": {
  6043. "code": {
  6044. "type": "integer"
  6045. },
  6046. "data": {
  6047. "type": "object"
  6048. },
  6049. "msg": {
  6050. "type": "string"
  6051. },
  6052. "page": {
  6053. "description": "页码",
  6054. "type": "integer"
  6055. },
  6056. "pagesize": {
  6057. "description": "每页条数",
  6058. "type": "integer"
  6059. },
  6060. "total": {
  6061. "description": "总条数",
  6062. "type": "integer"
  6063. }
  6064. }
  6065. },
  6066. "common.QueryNoticeRsp": {
  6067. "type": "object",
  6068. "required": [
  6069. "autoid"
  6070. ],
  6071. "properties": {
  6072. "auditoruserid": {
  6073. "description": "审核人",
  6074. "type": "integer"
  6075. },
  6076. "auditremark": {
  6077. "description": "审核备注",
  6078. "type": "string"
  6079. },
  6080. "audittime": {
  6081. "description": "审核日期",
  6082. "type": "string"
  6083. },
  6084. "autoid": {
  6085. "description": "自增ID",
  6086. "type": "integer"
  6087. },
  6088. "content": {
  6089. "description": "内容",
  6090. "type": "string"
  6091. },
  6092. "createtime": {
  6093. "description": "创建时间",
  6094. "type": "string"
  6095. },
  6096. "creatorid": {
  6097. "description": "建仓人",
  6098. "type": "integer"
  6099. },
  6100. "endtime": {
  6101. "description": "结束时间",
  6102. "type": "string"
  6103. },
  6104. "istop": {
  6105. "description": "是否置顶 - 0:不置顶 1:置顶",
  6106. "type": "integer"
  6107. },
  6108. "msgiconurl": {
  6109. "description": "消息图标Url",
  6110. "type": "string"
  6111. },
  6112. "msgtype": {
  6113. "description": "消息类型 - 1:公告通知 2:系统消息 3:商品到期提货通知",
  6114. "type": "integer"
  6115. },
  6116. "publisher": {
  6117. "description": "消息发布者",
  6118. "type": "string"
  6119. },
  6120. "readed": {
  6121. "description": "是否已读",
  6122. "type": "boolean"
  6123. },
  6124. "scheduletime": {
  6125. "description": "计划发送时间",
  6126. "type": "string"
  6127. },
  6128. "sendtype": {
  6129. "description": "推送方式 - 1:全体广播 2:按会员广播 3:个人推送 4:按会员广播(仅会员)",
  6130. "type": "integer"
  6131. },
  6132. "sentstatus": {
  6133. "description": "推送状态 - 0:未推送 1:已推送 2:审核拒绝",
  6134. "type": "integer"
  6135. },
  6136. "title": {
  6137. "description": "标题",
  6138. "type": "string"
  6139. },
  6140. "userid": {
  6141. "description": "会员/投资者ID推送方式 为 个人时,填写投资者ID",
  6142. "type": "integer"
  6143. }
  6144. }
  6145. },
  6146. "common.QueryProvincesAndCitiesRsp": {
  6147. "type": "object",
  6148. "properties": {
  6149. "cities": {
  6150. "description": "市",
  6151. "type": "array",
  6152. "items": {
  6153. "$ref": "#/definitions/models.Division"
  6154. }
  6155. },
  6156. "province": {
  6157. "description": "省",
  6158. "$ref": "#/definitions/models.Division"
  6159. }
  6160. }
  6161. },
  6162. "common.QueryTableDefineRsp": {
  6163. "type": "object",
  6164. "required": [
  6165. "tablekey"
  6166. ],
  6167. "properties": {
  6168. "columns": {
  6169. "description": "列头信息数组",
  6170. "type": "array",
  6171. "items": {
  6172. "$ref": "#/definitions/models.Tablecolumnconfig"
  6173. }
  6174. },
  6175. "remark": {
  6176. "description": "Remark",
  6177. "type": "string"
  6178. },
  6179. "tabelmenu": {
  6180. "description": "列表菜单",
  6181. "type": "string"
  6182. },
  6183. "tablekey": {
  6184. "description": "列表Key",
  6185. "type": "string"
  6186. },
  6187. "tablename": {
  6188. "description": "列表名称",
  6189. "type": "string"
  6190. },
  6191. "tabletype": {
  6192. "description": "列表类型 - 1:管理端 2:终端",
  6193. "type": "integer"
  6194. }
  6195. }
  6196. },
  6197. "common.QueryTraderMenuRsp": {
  6198. "type": "object",
  6199. "properties": {
  6200. "OperationMenu": {
  6201. "description": "功能菜单",
  6202. "type": "array",
  6203. "items": {
  6204. "$ref": "#/definitions/models.OperationPrimaryMenu"
  6205. }
  6206. },
  6207. "QuoteMenu": {
  6208. "description": "报价牌分类菜单",
  6209. "type": "array",
  6210. "items": {
  6211. "$ref": "#/definitions/models.QuotePrimaryMenu"
  6212. }
  6213. }
  6214. }
  6215. },
  6216. "cptrade.Cptradepositioncancel": {
  6217. "type": "object",
  6218. "required": [
  6219. "cancelid"
  6220. ],
  6221. "properties": {
  6222. "accountid": {
  6223. "description": "申请人账户ID",
  6224. "type": "integer"
  6225. },
  6226. "applystatus": {
  6227. "description": "申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  6228. "type": "integer"
  6229. },
  6230. "applytime": {
  6231. "description": "申请时间",
  6232. "type": "string"
  6233. },
  6234. "cancelid": {
  6235. "description": "注销ID(SEQ_CPTRADE_POSITIONCANCEL)",
  6236. "type": "integer"
  6237. },
  6238. "cancelqty": {
  6239. "description": "注销数量",
  6240. "type": "integer"
  6241. },
  6242. "createtime": {
  6243. "description": "创建时间",
  6244. "type": "string"
  6245. },
  6246. "creatorid": {
  6247. "description": "创建人ID",
  6248. "type": "integer"
  6249. },
  6250. "creatorname": {
  6251. "description": "创建人",
  6252. "type": "string"
  6253. },
  6254. "goodscode": {
  6255. "description": "订单商品代码",
  6256. "type": "string"
  6257. },
  6258. "goodsid": {
  6259. "description": "商品ID",
  6260. "type": "integer"
  6261. },
  6262. "goodsname": {
  6263. "description": "订单商品名称",
  6264. "type": "string"
  6265. },
  6266. "goodunit": {
  6267. "description": "报价单位",
  6268. "type": "string"
  6269. },
  6270. "handlestatus": {
  6271. "description": "处理状态",
  6272. "type": "integer"
  6273. },
  6274. "marketid": {
  6275. "description": "市场ID",
  6276. "type": "integer"
  6277. },
  6278. "marketname": {
  6279. "description": "市场名称",
  6280. "type": "string"
  6281. },
  6282. "tradedate": {
  6283. "description": "交易日(yyyyMMdd)",
  6284. "type": "string"
  6285. },
  6286. "userid": {
  6287. "description": "申请人ID",
  6288. "type": "integer"
  6289. }
  6290. }
  6291. },
  6292. "cptrade.Cptradepresaleapply": {
  6293. "type": "object",
  6294. "required": [
  6295. "applyid"
  6296. ],
  6297. "properties": {
  6298. "accountid": {
  6299. "description": "申请人账户ID",
  6300. "type": "integer"
  6301. },
  6302. "applyid": {
  6303. "description": "申请ID(181+Unix秒时间戳(10位)+xxxxxx)",
  6304. "type": "integer"
  6305. },
  6306. "applyremark": {
  6307. "description": "申请备注",
  6308. "type": "string"
  6309. },
  6310. "applystatus": {
  6311. "description": "申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  6312. "type": "integer"
  6313. },
  6314. "applytime": {
  6315. "description": "申请时间",
  6316. "type": "string"
  6317. },
  6318. "attachmenturl": {
  6319. "description": "附件地址",
  6320. "type": "string"
  6321. },
  6322. "endtime": {
  6323. "description": "预售结束时间",
  6324. "type": "string"
  6325. },
  6326. "goodscode": {
  6327. "description": "商品代码",
  6328. "type": "string"
  6329. },
  6330. "goodsid": {
  6331. "description": "商品ID",
  6332. "type": "integer"
  6333. },
  6334. "goodsname": {
  6335. "description": "商品名称",
  6336. "type": "string"
  6337. },
  6338. "goodunit": {
  6339. "description": "报价单位",
  6340. "type": "string"
  6341. },
  6342. "handlestatus": {
  6343. "description": "处理状态",
  6344. "type": "integer"
  6345. },
  6346. "marketid": {
  6347. "description": "预售市场ID",
  6348. "type": "integer"
  6349. },
  6350. "marketname": {
  6351. "description": "预售市场名称",
  6352. "type": "string"
  6353. },
  6354. "presaleqty": {
  6355. "description": "预售数量",
  6356. "type": "integer"
  6357. },
  6358. "relatedgoodscode": {
  6359. "description": "关联交易合约代码",
  6360. "type": "string"
  6361. },
  6362. "relatedgoodsid": {
  6363. "description": "关联交易合约ID",
  6364. "type": "integer"
  6365. },
  6366. "relatedgoodsname": {
  6367. "description": "关联交易合约名称",
  6368. "type": "string"
  6369. },
  6370. "starttime": {
  6371. "description": "预售开始时间",
  6372. "type": "string"
  6373. },
  6374. "tradedate": {
  6375. "description": "交易日(yyyyMMdd)",
  6376. "type": "string"
  6377. },
  6378. "trademode": {
  6379. "description": "交易模式 - 16:挂牌点选 21:大宗竞拍",
  6380. "type": "integer"
  6381. },
  6382. "userid": {
  6383. "description": "申请人ID",
  6384. "type": "integer"
  6385. }
  6386. }
  6387. },
  6388. "cptrade.Cptradeusergoodsdata": {
  6389. "type": "object",
  6390. "required": [
  6391. "accountid",
  6392. "goodsid"
  6393. ],
  6394. "properties": {
  6395. "EnabledQty": {
  6396. "description": "可用量",
  6397. "type": "integer"
  6398. },
  6399. "GoodsCode": {
  6400. "description": "订单商品代码",
  6401. "type": "string"
  6402. },
  6403. "GoodsName": {
  6404. "description": "订单商品名称",
  6405. "type": "string"
  6406. },
  6407. "WRStandardCode": {
  6408. "description": "仓单标准代码",
  6409. "type": "string"
  6410. },
  6411. "WRStandardName": {
  6412. "description": "仓单标准名称",
  6413. "type": "string"
  6414. },
  6415. "accountid": {
  6416. "description": "账户ID",
  6417. "type": "integer"
  6418. },
  6419. "cancelqty": {
  6420. "description": "注销量",
  6421. "type": "integer"
  6422. },
  6423. "curpresaleqty": {
  6424. "description": "当前预售量",
  6425. "type": "integer"
  6426. },
  6427. "deliveryqty": {
  6428. "description": "交割量",
  6429. "type": "integer"
  6430. },
  6431. "freezeamount": {
  6432. "description": "冻结金额",
  6433. "type": "number"
  6434. },
  6435. "goodsid": {
  6436. "description": "商品ID",
  6437. "type": "integer"
  6438. },
  6439. "goodunit": {
  6440. "description": "报价单位",
  6441. "type": "string"
  6442. },
  6443. "hasspotfreeze": {
  6444. "description": "是否有现货冻结 - 0:否 1:有",
  6445. "type": "integer"
  6446. },
  6447. "inqty": {
  6448. "description": "转入量(总数量)",
  6449. "type": "integer"
  6450. },
  6451. "marketid": {
  6452. "description": "市场ID",
  6453. "type": "integer"
  6454. },
  6455. "presaledamount": {
  6456. "description": "已预售总金额",
  6457. "type": "integer"
  6458. },
  6459. "presaledqty": {
  6460. "description": "已预售量",
  6461. "type": "integer"
  6462. },
  6463. "userid": {
  6464. "description": "用户ID",
  6465. "type": "integer"
  6466. },
  6467. "wrstandardid": {
  6468. "description": "仓单标准ID",
  6469. "type": "integer"
  6470. }
  6471. }
  6472. },
  6473. "cptrade.QueryCPTradeMyBidRsp": {
  6474. "type": "object",
  6475. "required": [
  6476. "accountid",
  6477. "goodsid",
  6478. "marketid",
  6479. "orderid",
  6480. "orderqty",
  6481. "ordertime",
  6482. "tradeprice",
  6483. "tradeqty"
  6484. ],
  6485. "properties": {
  6486. "accountid": {
  6487. "description": "账户ID[报价币种]",
  6488. "type": "integer"
  6489. },
  6490. "goodsid": {
  6491. "description": "商品ID",
  6492. "type": "integer"
  6493. },
  6494. "goodunit": {
  6495. "description": "报价单位",
  6496. "type": "string"
  6497. },
  6498. "marketid": {
  6499. "description": "市场ID",
  6500. "type": "integer"
  6501. },
  6502. "orderid": {
  6503. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  6504. "type": "integer"
  6505. },
  6506. "orderprice": {
  6507. "description": "委托价格",
  6508. "type": "number"
  6509. },
  6510. "orderqty": {
  6511. "description": "委托数量",
  6512. "type": "integer"
  6513. },
  6514. "ordertime": {
  6515. "description": "委托时间",
  6516. "type": "string"
  6517. },
  6518. "ordertotalprice": {
  6519. "description": "货款金额(委托总价格=委托价格*委托数量*合约单位)",
  6520. "type": "number"
  6521. },
  6522. "ordertotalweight": {
  6523. "description": "竞拍总重量(委托总重量=委托数量*合约单位)",
  6524. "type": "integer"
  6525. },
  6526. "totaltotalprice": {
  6527. "description": "成交货款金额(成交总价格=成交价格*成交数量*合约单位)",
  6528. "type": "number"
  6529. },
  6530. "tradeprice": {
  6531. "description": "成交价格",
  6532. "type": "number"
  6533. },
  6534. "tradeqty": {
  6535. "description": "成交数量",
  6536. "type": "integer"
  6537. }
  6538. }
  6539. },
  6540. "cptrade.QueryCPTradeOrderDetailRsq": {
  6541. "type": "object",
  6542. "required": [
  6543. "accountid",
  6544. "buildtype",
  6545. "buyorsell",
  6546. "goodsid",
  6547. "marketid",
  6548. "memberuserid",
  6549. "operatetype",
  6550. "orderqty",
  6551. "ordertime",
  6552. "pricemode",
  6553. "strorderid",
  6554. "tradedate",
  6555. "validtype"
  6556. ],
  6557. "properties": {
  6558. "accountid": {
  6559. "description": "账户ID[报价币种]",
  6560. "type": "integer"
  6561. },
  6562. "buildtype": {
  6563. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  6564. "type": "integer"
  6565. },
  6566. "buyorsell": {
  6567. "description": "买卖 - 0:买 1:卖",
  6568. "type": "integer"
  6569. },
  6570. "cancelorderid": {
  6571. "description": "撤单单号(撤单时填写)",
  6572. "type": "integer"
  6573. },
  6574. "cancelqty": {
  6575. "description": "撤单数量",
  6576. "type": "integer"
  6577. },
  6578. "clientordertime": {
  6579. "description": "客户端委托时间",
  6580. "type": "string"
  6581. },
  6582. "clientticket": {
  6583. "description": "客户端流水号",
  6584. "type": "string"
  6585. },
  6586. "clienttype": {
  6587. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  6588. "type": "integer"
  6589. },
  6590. "closeexchagechargevalue": {
  6591. "description": "平仓交易所手续费设置值",
  6592. "type": "number"
  6593. },
  6594. "closefeealgorithm": {
  6595. "description": "平仓手续费收取方式 1:比率 2:固定",
  6596. "type": "integer"
  6597. },
  6598. "closefreezecharge": {
  6599. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  6600. "type": "number"
  6601. },
  6602. "closememberchargevalue": {
  6603. "description": "平仓会员手续费设置值",
  6604. "type": "number"
  6605. },
  6606. "closeqty": {
  6607. "description": "平仓数量(先建后平操作 需要记录)",
  6608. "type": "integer"
  6609. },
  6610. "closetradeqty": {
  6611. "description": "平仓成交数量(先建后平操作,需要记录)",
  6612. "type": "integer"
  6613. },
  6614. "closeunfreezecharge": {
  6615. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  6616. "type": "number"
  6617. },
  6618. "delistingtype": {
  6619. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  6620. "type": "integer"
  6621. },
  6622. "freezecharge": {
  6623. "description": "冻结手续费",
  6624. "type": "number"
  6625. },
  6626. "freezemargin": {
  6627. "description": "冻结保证金(冻结交易金额)",
  6628. "type": "number"
  6629. },
  6630. "gcaccountid": {
  6631. "description": "账户ID[合约币种]",
  6632. "type": "integer"
  6633. },
  6634. "goodsid": {
  6635. "description": "商品ID",
  6636. "type": "integer"
  6637. },
  6638. "isconfirmexercise": {
  6639. "description": "是否确认行权- 0:否 1:是",
  6640. "type": "integer"
  6641. },
  6642. "ispreexercise": {
  6643. "description": "是否预申报- 0:否 1:是",
  6644. "type": "integer"
  6645. },
  6646. "listingselecttype": {
  6647. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  6648. "type": "integer"
  6649. },
  6650. "marginalgorithm": {
  6651. "description": "保证金收取方式 1:比率 2:固定",
  6652. "type": "integer"
  6653. },
  6654. "marginvalue": {
  6655. "description": "即市保证金设置值",
  6656. "type": "number"
  6657. },
  6658. "marketid": {
  6659. "description": "市场ID",
  6660. "type": "integer"
  6661. },
  6662. "marketmaxsub": {
  6663. "description": "市价最大偏移范围",
  6664. "type": "number"
  6665. },
  6666. "memberuserid": {
  6667. "description": "所属会员UserID",
  6668. "type": "integer"
  6669. },
  6670. "openexchagechargevalue": {
  6671. "description": "建仓交易所手续费设置值",
  6672. "type": "number"
  6673. },
  6674. "openfeealgorithm": {
  6675. "description": "建仓手续费收取方式 1:比率 2:固定",
  6676. "type": "integer"
  6677. },
  6678. "openfreezecharge": {
  6679. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  6680. "type": "number"
  6681. },
  6682. "openmemberchargevalue": {
  6683. "description": "建仓会员手续费设置值",
  6684. "type": "number"
  6685. },
  6686. "openqty": {
  6687. "description": "开仓数量(先建后平操作,需要记录)",
  6688. "type": "integer"
  6689. },
  6690. "opentradeqty": {
  6691. "description": "开仓成交数量(先建后平操作,需要记录)",
  6692. "type": "integer"
  6693. },
  6694. "openunfreezecharge": {
  6695. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  6696. "type": "number"
  6697. },
  6698. "operatetype": {
  6699. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  6700. "type": "integer"
  6701. },
  6702. "operatorid": {
  6703. "description": "登录账号(LoginID)",
  6704. "type": "integer"
  6705. },
  6706. "optiontype": {
  6707. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  6708. "type": "integer"
  6709. },
  6710. "orderprice": {
  6711. "description": "委托价格",
  6712. "type": "number"
  6713. },
  6714. "orderqty": {
  6715. "description": "委托数量",
  6716. "type": "integer"
  6717. },
  6718. "ordersrc": {
  6719. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  6720. "type": "integer"
  6721. },
  6722. "orderstatus": {
  6723. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  6724. "type": "integer"
  6725. },
  6726. "ordertime": {
  6727. "description": "委托时间",
  6728. "type": "string"
  6729. },
  6730. "preexerciseprice": {
  6731. "description": "预申报价格",
  6732. "type": "number"
  6733. },
  6734. "premium": {
  6735. "description": "权利金",
  6736. "type": "number"
  6737. },
  6738. "preorderid": {
  6739. "description": "关联预埋单号(止盈止损单时填写)",
  6740. "type": "integer"
  6741. },
  6742. "pricemode": {
  6743. "description": "取价方式 - 1:市价 2: 限价",
  6744. "type": "integer"
  6745. },
  6746. "quoteid": {
  6747. "description": "报价单ID",
  6748. "type": "integer"
  6749. },
  6750. "relatedid": {
  6751. "description": "关联单号(交割单)",
  6752. "type": "integer"
  6753. },
  6754. "retcode": {
  6755. "description": "错误代码",
  6756. "type": "integer"
  6757. },
  6758. "sessionid": {
  6759. "description": "会话ID",
  6760. "type": "integer"
  6761. },
  6762. "strorderid": {
  6763. "description": "委托单号",
  6764. "type": "string"
  6765. },
  6766. "tradedate": {
  6767. "description": "交易日(yyyyMMdd)",
  6768. "type": "string"
  6769. },
  6770. "tradeproperty": {
  6771. "description": "交易属性",
  6772. "type": "integer"
  6773. },
  6774. "tradeqty": {
  6775. "description": "成交数量",
  6776. "type": "integer"
  6777. },
  6778. "unfreezecharge": {
  6779. "description": "解冻手续费",
  6780. "type": "number"
  6781. },
  6782. "unfreezemargin": {
  6783. "description": "解冻保证金",
  6784. "type": "number"
  6785. },
  6786. "updatetime": {
  6787. "description": "更新时间",
  6788. "type": "string"
  6789. },
  6790. "uuid": {
  6791. "description": "发起端唯一id",
  6792. "type": "string"
  6793. },
  6794. "validtime": {
  6795. "description": "有效期限",
  6796. "type": "string"
  6797. },
  6798. "validtype": {
  6799. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  6800. "type": "integer"
  6801. },
  6802. "volumetype": {
  6803. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  6804. "type": "integer"
  6805. }
  6806. }
  6807. },
  6808. "cptrade.QueryMyCPTradeGoodsRsp": {
  6809. "type": "object",
  6810. "required": [
  6811. "goodscode",
  6812. "goodsid",
  6813. "goodsname",
  6814. "marketid",
  6815. "relatedgoodscode",
  6816. "relatedgoodsname"
  6817. ],
  6818. "properties": {
  6819. "accountid": {
  6820. "description": "卖方账户ID",
  6821. "type": "integer"
  6822. },
  6823. "agreeunit": {
  6824. "description": "合约单位",
  6825. "type": "number"
  6826. },
  6827. "applyid": {
  6828. "description": "关联申请ID",
  6829. "type": "integer"
  6830. },
  6831. "attachmenturl": {
  6832. "description": "附件地址",
  6833. "type": "string"
  6834. },
  6835. "createtime": {
  6836. "description": "创建时间",
  6837. "type": "string"
  6838. },
  6839. "currencyid": {
  6840. "description": "报价货币ID",
  6841. "type": "integer"
  6842. },
  6843. "decimalplace": {
  6844. "description": "报价小数位",
  6845. "type": "integer"
  6846. },
  6847. "endtime": {
  6848. "description": "预售结束时间",
  6849. "type": "string"
  6850. },
  6851. "floorprice": {
  6852. "description": "底价[大宗式竞拍]",
  6853. "type": "number"
  6854. },
  6855. "goodscode": {
  6856. "description": "商品代码(预售)",
  6857. "type": "string"
  6858. },
  6859. "goodsdetail": {
  6860. "description": "详情[大宗]",
  6861. "type": "string"
  6862. },
  6863. "goodsid": {
  6864. "description": "商品ID(自增ID SEQ_GOODS)",
  6865. "type": "integer"
  6866. },
  6867. "goodsname": {
  6868. "description": "商品名称(预售)",
  6869. "type": "string"
  6870. },
  6871. "goodunit": {
  6872. "description": "报价单位",
  6873. "type": "string"
  6874. },
  6875. "goodunitid": {
  6876. "description": "报价单位ID",
  6877. "type": "integer"
  6878. },
  6879. "marketid": {
  6880. "description": "所属市场ID",
  6881. "type": "integer"
  6882. },
  6883. "marketname": {
  6884. "description": "预售市场名称",
  6885. "type": "string"
  6886. },
  6887. "presaledamount": {
  6888. "description": "已预售总金额(预售结束时更新)",
  6889. "type": "number"
  6890. },
  6891. "presaledqty": {
  6892. "description": "已预售量(预售结束时更新)",
  6893. "type": "integer"
  6894. },
  6895. "presalemode": {
  6896. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  6897. "type": "integer"
  6898. },
  6899. "presaleqty": {
  6900. "description": "预售数量",
  6901. "type": "integer"
  6902. },
  6903. "refprice": {
  6904. "description": "参考价格[一口价]",
  6905. "type": "number"
  6906. },
  6907. "relatedgoodscode": {
  6908. "description": "商品代码(订单)",
  6909. "type": "string"
  6910. },
  6911. "relatedgoodsid": {
  6912. "description": "关联交易合约ID",
  6913. "type": "integer"
  6914. },
  6915. "relatedgoodsname": {
  6916. "description": "商品名称(订单)",
  6917. "type": "string"
  6918. },
  6919. "relatedmarketid": {
  6920. "description": "关联交易合约市场ID",
  6921. "type": "integer"
  6922. },
  6923. "sellstatus": {
  6924. "description": "卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理",
  6925. "type": "integer"
  6926. },
  6927. "startprice": {
  6928. "description": "起拍价[大宗式竞拍]",
  6929. "type": "number"
  6930. },
  6931. "starttime": {
  6932. "description": "预售开始时间",
  6933. "type": "string"
  6934. },
  6935. "tradedate": {
  6936. "description": "交易日(yyyyMMdd)",
  6937. "type": "string"
  6938. },
  6939. "tradeprice": {
  6940. "description": "成交价[大宗]",
  6941. "type": "number"
  6942. },
  6943. "userid": {
  6944. "description": "卖方用户ID",
  6945. "type": "integer"
  6946. }
  6947. }
  6948. },
  6949. "cptrade.QueryPresaleGoodsExRsp": {
  6950. "type": "object",
  6951. "required": [
  6952. "goodsid"
  6953. ],
  6954. "properties": {
  6955. "attachmenturl": {
  6956. "description": "附件地址",
  6957. "type": "string"
  6958. },
  6959. "createtime": {
  6960. "description": "创建时间",
  6961. "type": "string"
  6962. },
  6963. "endtime": {
  6964. "description": "预售结束时间",
  6965. "type": "string"
  6966. },
  6967. "floorprice": {
  6968. "description": "底价[大宗式竞拍]",
  6969. "type": "number"
  6970. },
  6971. "goodsdetail": {
  6972. "description": "详情[大宗]",
  6973. "type": "string"
  6974. },
  6975. "goodsid": {
  6976. "description": "商品ID(预售)",
  6977. "type": "integer"
  6978. },
  6979. "goodunit": {
  6980. "description": "报价单位",
  6981. "type": "string"
  6982. },
  6983. "marketid": {
  6984. "description": "预售市场ID - 根据预售模式选择市场",
  6985. "type": "integer"
  6986. },
  6987. "presaledamount": {
  6988. "description": "已预售总金额(预售结束时更新)",
  6989. "type": "number"
  6990. },
  6991. "presaledqty": {
  6992. "description": "已预售量(预售结束时更新)",
  6993. "type": "integer"
  6994. },
  6995. "presalemode": {
  6996. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  6997. "type": "integer"
  6998. },
  6999. "presaleqty": {
  7000. "description": "预售数量",
  7001. "type": "integer"
  7002. },
  7003. "refprice": {
  7004. "description": "参考价格[一口价]",
  7005. "type": "number"
  7006. },
  7007. "relatedgoodsid": {
  7008. "description": "关联交易合约ID",
  7009. "type": "integer"
  7010. },
  7011. "relatedmarketid": {
  7012. "description": "关联交易合约市场ID",
  7013. "type": "integer"
  7014. },
  7015. "sellstatus": {
  7016. "description": "卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理",
  7017. "type": "integer"
  7018. },
  7019. "startprice": {
  7020. "description": "起拍价[大宗式竞拍]",
  7021. "type": "number"
  7022. },
  7023. "starttime": {
  7024. "description": "预售开始时间",
  7025. "type": "string"
  7026. },
  7027. "tradedate": {
  7028. "description": "交易日(yyyyMMdd)",
  7029. "type": "string"
  7030. },
  7031. "tradeprice": {
  7032. "description": "成交价[大宗]",
  7033. "type": "number"
  7034. }
  7035. }
  7036. },
  7037. "delivery.QueryDeliveryRelationRsp": {
  7038. "type": "object",
  7039. "required": [
  7040. "begindate",
  7041. "enddate",
  7042. "goodsid",
  7043. "mindeliveryqty",
  7044. "xdeliveryratio"
  7045. ],
  7046. "properties": {
  7047. "begindate": {
  7048. "description": "起始日期(yyyyMMdd)",
  7049. "type": "string"
  7050. },
  7051. "buytemplateid": {
  7052. "description": "买履约计划模板ID",
  7053. "type": "integer"
  7054. },
  7055. "deliverygoodscode": {
  7056. "description": "品种代码",
  7057. "type": "string"
  7058. },
  7059. "deliverygoodsid": {
  7060. "description": "交割商品",
  7061. "type": "integer"
  7062. },
  7063. "deliverygoodsname": {
  7064. "description": "品种名称",
  7065. "type": "string"
  7066. },
  7067. "deliverymode": {
  7068. "description": "交割方式 - 1:点选式 2:申报式",
  7069. "type": "integer"
  7070. },
  7071. "deliverypricerule": {
  7072. "description": "交割价规则- 1:行情价 2:建仓价",
  7073. "type": "integer"
  7074. },
  7075. "deliverytype": {
  7076. "description": "交割模式 - 1:X交割 2:X+P交割 3:X+C交割 4:X+P+C交割",
  7077. "type": "integer"
  7078. },
  7079. "enddate": {
  7080. "description": "结束日期(yyyyMMdd)",
  7081. "type": "string"
  7082. },
  7083. "goodscode": {
  7084. "description": "商品代码",
  7085. "type": "string"
  7086. },
  7087. "goodsid": {
  7088. "description": "交易合约ID",
  7089. "type": "integer"
  7090. },
  7091. "goodsname": {
  7092. "description": "商品名称",
  7093. "type": "string"
  7094. },
  7095. "marketid": {
  7096. "description": "市场ID",
  7097. "type": "integer"
  7098. },
  7099. "mindeliveryqty": {
  7100. "description": "最小交割系数(K)",
  7101. "type": "integer"
  7102. },
  7103. "p2deliveryprice": {
  7104. "description": "P2合约价格(商品价时填写0,固定值时填写固定值)",
  7105. "type": "number"
  7106. },
  7107. "p2deliveryratio": {
  7108. "description": "P2合约系数(p)",
  7109. "type": "integer"
  7110. },
  7111. "p2goodsid": {
  7112. "description": "P2合约ID",
  7113. "type": "integer"
  7114. },
  7115. "p2pricemode": {
  7116. "description": "P2合约价格方式 - 1:商品价 2:固定值",
  7117. "type": "integer"
  7118. },
  7119. "pdeliveryprice": {
  7120. "description": "P合约价格(商品价时填写0,固定值时填写固定值)",
  7121. "type": "number"
  7122. },
  7123. "pdeliveryratio": {
  7124. "description": "P合约系数(n)",
  7125. "type": "integer"
  7126. },
  7127. "pgoodsid": {
  7128. "description": "P合约ID",
  7129. "type": "integer"
  7130. },
  7131. "ppricemode": {
  7132. "description": "P合约价格方式 - 1:商品价 2:固定值",
  7133. "type": "integer"
  7134. },
  7135. "rratio": {
  7136. "description": "兑换系数(R)",
  7137. "type": "integer"
  7138. },
  7139. "rratio1": {
  7140. "description": "兑换系数(交易合约)(R1)",
  7141. "type": "integer"
  7142. },
  7143. "rratio2": {
  7144. "description": "兑换系数(仓单标准)(R2)",
  7145. "type": "integer"
  7146. },
  7147. "selltemplateid": {
  7148. "description": "卖履约计划模板ID",
  7149. "type": "integer"
  7150. },
  7151. "wrstandardid": {
  7152. "description": "仓单标准ID",
  7153. "type": "integer"
  7154. },
  7155. "xdeliveryratio": {
  7156. "description": "交易合约系数(m)",
  7157. "type": "integer"
  7158. }
  7159. }
  7160. },
  7161. "ermcp.ExposureDetailRsp": {
  7162. "type": "object",
  7163. "properties": {
  7164. "areauserid": {
  7165. "description": "机构ID",
  7166. "type": "integer"
  7167. },
  7168. "changeQty": {
  7169. "description": "套保变动量",
  7170. "type": "number"
  7171. },
  7172. "contracttype": {
  7173. "description": "现货合同类型 - 1:采购 -1:销售",
  7174. "type": "integer"
  7175. },
  7176. "convertfactor": {
  7177. "description": "标仓系数",
  7178. "type": "number"
  7179. },
  7180. "convertratio": {
  7181. "description": "套保系数",
  7182. "type": "number"
  7183. },
  7184. "createtime": {
  7185. "description": "时间",
  7186. "type": "string"
  7187. },
  7188. "enumdicname": {
  7189. "description": "现货商品单位名称",
  7190. "type": "string"
  7191. },
  7192. "logtype": {
  7193. "description": "类型 - 1:套保计划 2:现货合同",
  7194. "type": "integer"
  7195. },
  7196. "middlegoodsId": {
  7197. "description": "套保商品id",
  7198. "type": "integer"
  7199. },
  7200. "middlegoodscode": {
  7201. "description": "套保商品代码",
  7202. "type": "string"
  7203. },
  7204. "middlegoodsname": {
  7205. "description": "套保商品名称",
  7206. "type": "string"
  7207. },
  7208. "qty": {
  7209. "description": "数量",
  7210. "type": "number"
  7211. },
  7212. "relateNo": {
  7213. "description": "现货合同/套保计划编号",
  7214. "type": "string"
  7215. },
  7216. "wrstandardcode": {
  7217. "description": "现货商品代码",
  7218. "type": "string"
  7219. },
  7220. "wrstandardid": {
  7221. "description": "现货商品ID",
  7222. "type": "integer"
  7223. },
  7224. "wrstandardname": {
  7225. "description": "现货商品名称",
  7226. "type": "string"
  7227. }
  7228. }
  7229. },
  7230. "ermcp.ExposureHedgePosDetailRsp": {
  7231. "type": "object",
  7232. "properties": {
  7233. "buyorsell": {
  7234. "description": "买卖方向 0-买 1-卖",
  7235. "type": "integer"
  7236. },
  7237. "channelbuildtype": {
  7238. "description": "开平方向 1-建仓 2-平仓",
  7239. "type": "integer"
  7240. },
  7241. "goodscode": {
  7242. "description": "商品代码",
  7243. "type": "string"
  7244. },
  7245. "goodsname": {
  7246. "description": "商品名称",
  7247. "type": "string"
  7248. },
  7249. "hedgegoodsid": {
  7250. "description": "商品id",
  7251. "type": "integer"
  7252. },
  7253. "tradeqty": {
  7254. "description": "数量(成交数量)",
  7255. "type": "integer"
  7256. },
  7257. "tradetime": {
  7258. "description": "时间(成交时间)",
  7259. "type": "string"
  7260. }
  7261. }
  7262. },
  7263. "ermcp.ExposureHedgePositionRsp": {
  7264. "type": "object",
  7265. "properties": {
  7266. "accountid": {
  7267. "description": "资金账号[外部母账户]",
  7268. "type": "integer"
  7269. },
  7270. "curbuyposition": {
  7271. "description": "期末买头寸",
  7272. "type": "integer"
  7273. },
  7274. "cursellposition": {
  7275. "description": "期末卖头寸",
  7276. "type": "integer"
  7277. },
  7278. "curtdbuyposition": {
  7279. "description": "期末今日买头寸",
  7280. "type": "integer"
  7281. },
  7282. "curtdsellposition": {
  7283. "description": "期末今日卖头寸",
  7284. "type": "integer"
  7285. },
  7286. "curydbuyposition": {
  7287. "description": "期末上日买头寸",
  7288. "type": "integer"
  7289. },
  7290. "curydsellposition": {
  7291. "description": "期末上日卖头寸",
  7292. "type": "integer"
  7293. },
  7294. "decreaseqty": {
  7295. "description": "减少数量 = (期末卖头寸 - 期初卖头寸)*-1",
  7296. "type": "integer"
  7297. },
  7298. "fretdbuyposition": {
  7299. "description": "冻结今日买头寸",
  7300. "type": "integer"
  7301. },
  7302. "fretdsellposition": {
  7303. "description": "冻结今日卖头寸",
  7304. "type": "integer"
  7305. },
  7306. "freydbuyposition": {
  7307. "description": "冻结上日买头寸",
  7308. "type": "integer"
  7309. },
  7310. "freydsellposition": {
  7311. "description": "冻结上日卖头寸",
  7312. "type": "integer"
  7313. },
  7314. "goodscode": {
  7315. "description": "商品代码",
  7316. "type": "string"
  7317. },
  7318. "goodsid": {
  7319. "description": "商品id",
  7320. "type": "integer"
  7321. },
  7322. "goodsname": {
  7323. "description": "商品名称",
  7324. "type": "string"
  7325. },
  7326. "hedgeaccountcode": {
  7327. "description": "对冲账号",
  7328. "type": "string"
  7329. },
  7330. "hedgegoodsid": {
  7331. "description": "对冲合约ID",
  7332. "type": "integer"
  7333. },
  7334. "increaseqty": {
  7335. "description": "增加数量 = 期末买头寸 - 期初买头寸",
  7336. "type": "integer"
  7337. },
  7338. "marketid": {
  7339. "description": "市场ID",
  7340. "type": "integer"
  7341. },
  7342. "relateduserid": {
  7343. "description": "关联用户id",
  7344. "type": "integer"
  7345. },
  7346. "totalcurqty": {
  7347. "description": "当前数量(净头寸) = 期末买头寸 - 期末卖头寸",
  7348. "type": "integer"
  7349. },
  7350. "totalydqty": {
  7351. "description": "昨日数量(净头寸) = 期初买头寸 - 期初卖头寸",
  7352. "type": "integer"
  7353. },
  7354. "tradedate": {
  7355. "description": "交易日(yyyyMMdd)",
  7356. "type": "string"
  7357. },
  7358. "ydbuyposition": {
  7359. "description": "期初买头寸",
  7360. "type": "integer"
  7361. },
  7362. "ydsellposition": {
  7363. "description": "期初卖头寸",
  7364. "type": "integer"
  7365. }
  7366. }
  7367. },
  7368. "ermcp.ExposureSpotDetailRsp": {
  7369. "type": "object",
  7370. "properties": {
  7371. "contracttype": {
  7372. "description": "合同类型 1-采购 -1-销售",
  7373. "type": "integer"
  7374. },
  7375. "createtime": {
  7376. "description": "创建时间",
  7377. "type": "string"
  7378. },
  7379. "enumdicname": {
  7380. "description": "现货商品单位名称",
  7381. "type": "string"
  7382. },
  7383. "logtype": {
  7384. "description": "记录类型 1-套保 2-现货合同",
  7385. "type": "integer"
  7386. },
  7387. "qty": {
  7388. "description": "数量",
  7389. "type": "number"
  7390. },
  7391. "recordname": {
  7392. "description": "类型名称",
  7393. "type": "string"
  7394. },
  7395. "relatedid": {
  7396. "description": "套保计划ID/现货合同ID",
  7397. "type": "string"
  7398. },
  7399. "relatedno": {
  7400. "description": "编号",
  7401. "type": "string"
  7402. },
  7403. "strtime": {
  7404. "description": "时间",
  7405. "type": "string"
  7406. },
  7407. "wrstandardcode": {
  7408. "description": "现货商品代码",
  7409. "type": "string"
  7410. },
  7411. "wrstandardname": {
  7412. "description": "现货商品名称",
  7413. "type": "string"
  7414. }
  7415. }
  7416. },
  7417. "ermcp.ExposureSpotRsp": {
  7418. "type": "object",
  7419. "properties": {
  7420. "areauserid": {
  7421. "description": "所属机构",
  7422. "type": "integer"
  7423. },
  7424. "decreaseqty": {
  7425. "description": "减少数量=-(销售已定价数量+采购计划数量)",
  7426. "type": "number"
  7427. },
  7428. "increaseqty": {
  7429. "description": "增加数量=销售计划数量+采购已定价数量",
  7430. "type": "number"
  7431. },
  7432. "oritoalspotqty": {
  7433. "description": "昨日数量",
  7434. "type": "number"
  7435. },
  7436. "totalspotqty": {
  7437. "description": "当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)",
  7438. "type": "number"
  7439. },
  7440. "updatetime": {
  7441. "description": "更新时间",
  7442. "type": "string"
  7443. },
  7444. "wrstandardcode": {
  7445. "description": "现货品种代码",
  7446. "type": "string"
  7447. },
  7448. "wrstandardid": {
  7449. "description": "现货商品ID",
  7450. "type": "integer"
  7451. },
  7452. "wrstandardname": {
  7453. "description": "现货品种",
  7454. "type": "string"
  7455. }
  7456. }
  7457. },
  7458. "ermcp.HisExposureRsp": {
  7459. "type": "object",
  7460. "properties": {
  7461. "data": {
  7462. "description": "历史敞口",
  7463. "type": "array",
  7464. "items": {
  7465. "$ref": "#/definitions/models.ErmcpHisExposure"
  7466. }
  7467. },
  7468. "enumdicname": {
  7469. "description": "单位名称",
  7470. "type": "string"
  7471. },
  7472. "middlegoodscode": {
  7473. "description": "套保品种代码",
  7474. "type": "string"
  7475. },
  7476. "middlegoodsid": {
  7477. "description": "套保品种ID",
  7478. "type": "integer"
  7479. },
  7480. "middlegoodsname": {
  7481. "description": "套保品种名称",
  7482. "type": "string"
  7483. }
  7484. }
  7485. },
  7486. "ermcp.QryAvalidGPRsp": {
  7487. "type": "object",
  7488. "properties": {
  7489. "goodsgroupid": {
  7490. "description": "期货品种id",
  7491. "type": "integer"
  7492. },
  7493. "goodsgroupname": {
  7494. "description": "期货品种名称",
  7495. "type": "string"
  7496. },
  7497. "goodunitid": {
  7498. "description": "品种单位id",
  7499. "type": "integer"
  7500. },
  7501. "goodunitname": {
  7502. "description": "品种单位名称",
  7503. "type": "string"
  7504. },
  7505. "outergroupcode": {
  7506. "description": "期货品种代码",
  7507. "type": "string"
  7508. }
  7509. }
  7510. },
  7511. "ermcp.QryBusinessDjRsp": {
  7512. "type": "object",
  7513. "properties": {
  7514. "amount": {
  7515. "description": "点价金额=(点价价格+升贴水)*点价数量",
  7516. "type": "number"
  7517. },
  7518. "applyid": {
  7519. "description": "申请人",
  7520. "type": "string"
  7521. },
  7522. "applyname": {
  7523. "description": "申请人名称",
  7524. "type": "string"
  7525. },
  7526. "applystatus": {
  7527. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  7528. "type": "integer"
  7529. },
  7530. "applytime": {
  7531. "description": "申请时间",
  7532. "type": "string"
  7533. },
  7534. "attachurl": {
  7535. "description": "附件",
  7536. "type": "string"
  7537. },
  7538. "auditname": {
  7539. "description": "审核人名称",
  7540. "type": "string"
  7541. },
  7542. "audittime": {
  7543. "description": "审核时间",
  7544. "type": "string"
  7545. },
  7546. "buyusername": {
  7547. "description": "采购方名称",
  7548. "type": "string"
  7549. },
  7550. "contractno": {
  7551. "description": "合同编号",
  7552. "type": "string"
  7553. },
  7554. "contractstatus": {
  7555. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  7556. "type": "integer"
  7557. },
  7558. "contracttype": {
  7559. "description": "现货合同类型 - 1:采购 -1:销售",
  7560. "type": "integer"
  7561. },
  7562. "enumdicname": {
  7563. "description": "单位名称",
  7564. "type": "string"
  7565. },
  7566. "goodscode": {
  7567. "description": "点价合约",
  7568. "type": "string"
  7569. },
  7570. "goodsname": {
  7571. "description": "商品名称",
  7572. "type": "string"
  7573. },
  7574. "operateapplyid": {
  7575. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  7576. "type": "string"
  7577. },
  7578. "operateapplytype": {
  7579. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  7580. "type": "integer"
  7581. },
  7582. "pricedPrice": {
  7583. "description": "点价价格(非必填)",
  7584. "type": "number"
  7585. },
  7586. "pricedQty": {
  7587. "description": "点价数量(非必填)",
  7588. "type": "number"
  7589. },
  7590. "pricemove": {
  7591. "description": "升贴水",
  7592. "type": "number"
  7593. },
  7594. "pricetype": {
  7595. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  7596. "type": "integer"
  7597. },
  7598. "relatedid": {
  7599. "description": "现货合同ID",
  7600. "type": "string"
  7601. },
  7602. "sellusername": {
  7603. "description": "销售方名字",
  7604. "type": "string"
  7605. },
  7606. "userid": {
  7607. "description": "用户ID",
  7608. "type": "integer"
  7609. }
  7610. }
  7611. },
  7612. "ermcp.QryBussinessFpRsp": {
  7613. "type": "object",
  7614. "properties": {
  7615. "applyid": {
  7616. "description": "申请人",
  7617. "type": "string"
  7618. },
  7619. "applyname": {
  7620. "description": "申请人名称",
  7621. "type": "string"
  7622. },
  7623. "applystatus": {
  7624. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  7625. "type": "integer"
  7626. },
  7627. "applytime": {
  7628. "description": "申请时间",
  7629. "type": "string"
  7630. },
  7631. "attachurl": {
  7632. "description": "附件",
  7633. "type": "string"
  7634. },
  7635. "auditname": {
  7636. "description": "审核人名称",
  7637. "type": "string"
  7638. },
  7639. "audittime": {
  7640. "description": "审核时间",
  7641. "type": "string"
  7642. },
  7643. "buyusername": {
  7644. "description": "采购方名称",
  7645. "type": "string"
  7646. },
  7647. "contractno": {
  7648. "description": "合同编号",
  7649. "type": "string"
  7650. },
  7651. "contractstatus": {
  7652. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  7653. "type": "integer"
  7654. },
  7655. "contracttype": {
  7656. "description": "现货合同类型 - 1:采购 -1:销售",
  7657. "type": "integer"
  7658. },
  7659. "enumdicname": {
  7660. "description": "单位名称",
  7661. "type": "string"
  7662. },
  7663. "goodscode": {
  7664. "description": "点价合约",
  7665. "type": "string"
  7666. },
  7667. "goodsname": {
  7668. "description": "商品名称",
  7669. "type": "string"
  7670. },
  7671. "invoiceAmount": {
  7672. "description": "已开收票金额(销售为开票,采购为收票)",
  7673. "type": "number"
  7674. },
  7675. "operateapplyid": {
  7676. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  7677. "type": "string"
  7678. },
  7679. "operateapplytype": {
  7680. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  7681. "type": "integer"
  7682. },
  7683. "pricemove": {
  7684. "description": "升贴水",
  7685. "type": "number"
  7686. },
  7687. "pricetype": {
  7688. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  7689. "type": "integer"
  7690. },
  7691. "relatedid": {
  7692. "description": "现货合同ID",
  7693. "type": "string"
  7694. },
  7695. "sellusername": {
  7696. "description": "销售方名字",
  7697. "type": "string"
  7698. },
  7699. "userid": {
  7700. "description": "用户ID",
  7701. "type": "integer"
  7702. }
  7703. }
  7704. },
  7705. "ermcp.QryBussinessJsExRsp": {
  7706. "type": "object",
  7707. "properties": {
  7708. "applyid": {
  7709. "description": "申请人",
  7710. "type": "string"
  7711. },
  7712. "applyname": {
  7713. "description": "申请人名称",
  7714. "type": "string"
  7715. },
  7716. "applystatus": {
  7717. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  7718. "type": "integer"
  7719. },
  7720. "applytime": {
  7721. "description": "申请时间",
  7722. "type": "string"
  7723. },
  7724. "attachurl": {
  7725. "description": "附件",
  7726. "type": "string"
  7727. },
  7728. "auditname": {
  7729. "description": "审核人名称",
  7730. "type": "string"
  7731. },
  7732. "audittime": {
  7733. "description": "审核时间",
  7734. "type": "string"
  7735. },
  7736. "buyusername": {
  7737. "description": "采购方名称",
  7738. "type": "string"
  7739. },
  7740. "contractno": {
  7741. "description": "合同编号",
  7742. "type": "string"
  7743. },
  7744. "contractstatus": {
  7745. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  7746. "type": "integer"
  7747. },
  7748. "contracttype": {
  7749. "description": "现货合同类型 - 1:采购 -1:销售",
  7750. "type": "integer"
  7751. },
  7752. "enumdicname": {
  7753. "description": "单位名称",
  7754. "type": "string"
  7755. },
  7756. "goodscode": {
  7757. "description": "点价合约",
  7758. "type": "string"
  7759. },
  7760. "goodsname": {
  7761. "description": "商品名称",
  7762. "type": "string"
  7763. },
  7764. "operateapplyid": {
  7765. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  7766. "type": "string"
  7767. },
  7768. "operateapplytype": {
  7769. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  7770. "type": "integer"
  7771. },
  7772. "pricemove": {
  7773. "description": "升贴水",
  7774. "type": "number"
  7775. },
  7776. "pricetype": {
  7777. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  7778. "type": "integer"
  7779. },
  7780. "reckontype": {
  7781. "description": "结算类型",
  7782. "type": "string"
  7783. },
  7784. "reckonvalue": {
  7785. "description": "值",
  7786. "type": "number"
  7787. },
  7788. "relatedid": {
  7789. "description": "现货合同ID",
  7790. "type": "string"
  7791. },
  7792. "sellusername": {
  7793. "description": "销售方名字",
  7794. "type": "string"
  7795. },
  7796. "userid": {
  7797. "description": "用户ID",
  7798. "type": "integer"
  7799. }
  7800. }
  7801. },
  7802. "ermcp.QryBussinessJsRsp": {
  7803. "type": "object",
  7804. "properties": {
  7805. "addmargin": {
  7806. "description": "追加保证金(非必填)",
  7807. "type": "number"
  7808. },
  7809. "applyid": {
  7810. "description": "申请人",
  7811. "type": "string"
  7812. },
  7813. "applyname": {
  7814. "description": "申请人名称",
  7815. "type": "string"
  7816. },
  7817. "applystatus": {
  7818. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  7819. "type": "integer"
  7820. },
  7821. "applytime": {
  7822. "description": "申请时间",
  7823. "type": "string"
  7824. },
  7825. "attachurl": {
  7826. "description": "附件",
  7827. "type": "string"
  7828. },
  7829. "auditname": {
  7830. "description": "审核人名称",
  7831. "type": "string"
  7832. },
  7833. "audittime": {
  7834. "description": "审核时间",
  7835. "type": "string"
  7836. },
  7837. "buyusername": {
  7838. "description": "采购方名称",
  7839. "type": "string"
  7840. },
  7841. "contractno": {
  7842. "description": "合同编号",
  7843. "type": "string"
  7844. },
  7845. "contractstatus": {
  7846. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  7847. "type": "integer"
  7848. },
  7849. "contracttype": {
  7850. "description": "现货合同类型 - 1:采购 -1:销售",
  7851. "type": "integer"
  7852. },
  7853. "decmargin": {
  7854. "description": "减少保证金(非必填)",
  7855. "type": "number"
  7856. },
  7857. "enumdicname": {
  7858. "description": "单位名称",
  7859. "type": "string"
  7860. },
  7861. "goodscode": {
  7862. "description": "点价合约",
  7863. "type": "string"
  7864. },
  7865. "goodsname": {
  7866. "description": "商品名称",
  7867. "type": "string"
  7868. },
  7869. "operateapplyid": {
  7870. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  7871. "type": "string"
  7872. },
  7873. "operateapplytype": {
  7874. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  7875. "type": "integer"
  7876. },
  7877. "pricemove": {
  7878. "description": "升贴水",
  7879. "type": "number"
  7880. },
  7881. "pricetype": {
  7882. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  7883. "type": "integer"
  7884. },
  7885. "reckonadjustamount": {
  7886. "description": "结算调整金额(非必填)",
  7887. "type": "number"
  7888. },
  7889. "reckonosamount": {
  7890. "description": "结算溢短金额(非必填)",
  7891. "type": "number"
  7892. },
  7893. "reckonotheramount": {
  7894. "description": "结算其他费用(非必填)",
  7895. "type": "number"
  7896. },
  7897. "reckonrealqty": {
  7898. "description": "结算实际数量(非必填)",
  7899. "type": "number"
  7900. },
  7901. "relatedid": {
  7902. "description": "现货合同ID",
  7903. "type": "string"
  7904. },
  7905. "sellusername": {
  7906. "description": "销售方名字",
  7907. "type": "string"
  7908. },
  7909. "userid": {
  7910. "description": "用户ID",
  7911. "type": "integer"
  7912. }
  7913. }
  7914. },
  7915. "ermcp.QryBussinessKxRsp": {
  7916. "type": "object",
  7917. "properties": {
  7918. "applyid": {
  7919. "description": "申请人",
  7920. "type": "string"
  7921. },
  7922. "applyname": {
  7923. "description": "申请人名称",
  7924. "type": "string"
  7925. },
  7926. "applystatus": {
  7927. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  7928. "type": "integer"
  7929. },
  7930. "applytime": {
  7931. "description": "申请时间",
  7932. "type": "string"
  7933. },
  7934. "attachurl": {
  7935. "description": "附件",
  7936. "type": "string"
  7937. },
  7938. "auditname": {
  7939. "description": "审核人名称",
  7940. "type": "string"
  7941. },
  7942. "audittime": {
  7943. "description": "审核时间",
  7944. "type": "string"
  7945. },
  7946. "buyusername": {
  7947. "description": "采购方名称",
  7948. "type": "string"
  7949. },
  7950. "contractno": {
  7951. "description": "合同编号",
  7952. "type": "string"
  7953. },
  7954. "contractstatus": {
  7955. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  7956. "type": "integer"
  7957. },
  7958. "contracttype": {
  7959. "description": "现货合同类型 - 1:采购 -1:销售",
  7960. "type": "integer"
  7961. },
  7962. "deductamount": {
  7963. "description": "退款(非必填)",
  7964. "type": "number"
  7965. },
  7966. "enumdicname": {
  7967. "description": "单位名称",
  7968. "type": "string"
  7969. },
  7970. "goodscode": {
  7971. "description": "点价合约",
  7972. "type": "string"
  7973. },
  7974. "goodsname": {
  7975. "description": "商品名称",
  7976. "type": "string"
  7977. },
  7978. "kxtype": {
  7979. "description": "款项类型 1-收付款(PayAmount字段有值) 2-退款(DeductAmount字段有值) 3-收付款/退款(2个字段都有)",
  7980. "type": "integer"
  7981. },
  7982. "operateapplyid": {
  7983. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  7984. "type": "string"
  7985. },
  7986. "operateapplytype": {
  7987. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  7988. "type": "integer"
  7989. },
  7990. "payamount": {
  7991. "description": "收付款(非必填)",
  7992. "type": "number"
  7993. },
  7994. "pricemove": {
  7995. "description": "升贴水",
  7996. "type": "number"
  7997. },
  7998. "pricetype": {
  7999. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  8000. "type": "integer"
  8001. },
  8002. "relatedid": {
  8003. "description": "现货合同ID",
  8004. "type": "string"
  8005. },
  8006. "sellusername": {
  8007. "description": "销售方名字",
  8008. "type": "string"
  8009. },
  8010. "userid": {
  8011. "description": "用户ID",
  8012. "type": "integer"
  8013. }
  8014. }
  8015. },
  8016. "ermcp.QryErmcpRsp": {
  8017. "type": "object",
  8018. "properties": {
  8019. "accountname": {
  8020. "description": "账户名称",
  8021. "type": "string"
  8022. },
  8023. "attachment": {
  8024. "description": "附件",
  8025. "type": "string"
  8026. },
  8027. "audittime": {
  8028. "description": "审核时间",
  8029. "type": "string"
  8030. },
  8031. "contracctstatus": {
  8032. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  8033. "type": "integer"
  8034. },
  8035. "contractmargin": {
  8036. "description": "合同保证金",
  8037. "type": "number"
  8038. },
  8039. "contractno": {
  8040. "description": "合同编号",
  8041. "type": "string"
  8042. },
  8043. "contracttype": {
  8044. "description": "合同类型 1-采购, -1-销售",
  8045. "type": "integer"
  8046. },
  8047. "convertfactor": {
  8048. "description": "标仓系数",
  8049. "type": "number"
  8050. },
  8051. "createtime": {
  8052. "description": "创建时间",
  8053. "type": "string"
  8054. },
  8055. "daikaiamount": {
  8056. "description": "待开票额",
  8057. "type": "number"
  8058. },
  8059. "deliveryenddate": {
  8060. "description": "交割结束日",
  8061. "type": "string"
  8062. },
  8063. "deliverygoodscode": {
  8064. "description": "现货商品代码",
  8065. "type": "string"
  8066. },
  8067. "deliverygoodsid": {
  8068. "description": "现货商品ID",
  8069. "type": "integer"
  8070. },
  8071. "deliverygoodsname": {
  8072. "description": "现货商品名称",
  8073. "type": "string"
  8074. },
  8075. "deliverystartdate": {
  8076. "description": "交割开始日",
  8077. "type": "string"
  8078. },
  8079. "enddate": {
  8080. "description": "点价结束日",
  8081. "type": "string"
  8082. },
  8083. "enumdicname": {
  8084. "description": "单位名称",
  8085. "type": "string"
  8086. },
  8087. "goodscode": {
  8088. "description": "点价商品代码",
  8089. "type": "string"
  8090. },
  8091. "goodsid": {
  8092. "description": "点价商品ID",
  8093. "type": "integer"
  8094. },
  8095. "goodsname": {
  8096. "description": "点价商品名称",
  8097. "type": "string"
  8098. },
  8099. "invoiceamount": {
  8100. "description": "已开票额",
  8101. "type": "number"
  8102. },
  8103. "loanamount": {
  8104. "description": "贷款总额=已定价额+调整金额",
  8105. "type": "number"
  8106. },
  8107. "margin": {
  8108. "description": "保证金",
  8109. "type": "number"
  8110. },
  8111. "payamount": {
  8112. "description": "已收付额(收款或付款)",
  8113. "type": "number"
  8114. },
  8115. "price": {
  8116. "description": "价格",
  8117. "type": "number"
  8118. },
  8119. "pricedamount": {
  8120. "description": "已定价额",
  8121. "type": "number"
  8122. },
  8123. "pricedavg": {
  8124. "description": "已点均价",
  8125. "type": "number"
  8126. },
  8127. "pricedqty": {
  8128. "description": "已定价量",
  8129. "type": "number"
  8130. },
  8131. "pricemove": {
  8132. "description": "升贴水",
  8133. "type": "number"
  8134. },
  8135. "pricetype": {
  8136. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  8137. "type": "integer"
  8138. },
  8139. "producttype": {
  8140. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  8141. "type": "integer"
  8142. },
  8143. "qty": {
  8144. "description": "合同量",
  8145. "type": "number"
  8146. },
  8147. "reckonadjustamount": {
  8148. "description": "调整金额",
  8149. "type": "number"
  8150. },
  8151. "reckonedamount": {
  8152. "description": "已收付额(已确定额)",
  8153. "type": "number"
  8154. },
  8155. "reckonotheramount": {
  8156. "description": "其它费用",
  8157. "type": "number"
  8158. },
  8159. "reckonrealqty": {
  8160. "description": "已确定量",
  8161. "type": "number"
  8162. },
  8163. "remark": {
  8164. "description": "备注",
  8165. "type": "string"
  8166. },
  8167. "spotcontractid": {
  8168. "description": "合同ID",
  8169. "type": "string"
  8170. },
  8171. "spotgoodsdesc": {
  8172. "description": "商品型号(商品规格)",
  8173. "type": "string"
  8174. },
  8175. "startdate": {
  8176. "description": "点价开始日",
  8177. "type": "string"
  8178. },
  8179. "totalamount": {
  8180. "description": "合计总额",
  8181. "type": "number"
  8182. },
  8183. "unpayamount": {
  8184. "description": "待支收额(支付或收款)",
  8185. "type": "number"
  8186. },
  8187. "unpricedqty": {
  8188. "description": "未定价量",
  8189. "type": "number"
  8190. },
  8191. "unsureqty": {
  8192. "description": "未确定量",
  8193. "type": "number"
  8194. },
  8195. "userid": {
  8196. "description": "用户ID",
  8197. "type": "integer"
  8198. }
  8199. }
  8200. },
  8201. "ermcp.QryGGCovertCfgRsp": {
  8202. "type": "object",
  8203. "properties": {
  8204. "convertratio": {
  8205. "description": "折算系数",
  8206. "type": "number"
  8207. },
  8208. "destgoodsgroupid": {
  8209. "description": "目标品种ID",
  8210. "type": "integer"
  8211. },
  8212. "dstcode": {
  8213. "description": "目录品种代码",
  8214. "type": "string"
  8215. },
  8216. "dstname": {
  8217. "description": "目标品种名称",
  8218. "type": "string"
  8219. },
  8220. "dstunitid": {
  8221. "description": "目标品种单位ID",
  8222. "type": "integer"
  8223. },
  8224. "dstunitidname": {
  8225. "description": "目标品种单位名称",
  8226. "type": "string"
  8227. },
  8228. "srccode": {
  8229. "description": "源品种代码",
  8230. "type": "string"
  8231. },
  8232. "srcgoodsgroupid": {
  8233. "description": "源品种ID",
  8234. "type": "integer"
  8235. },
  8236. "srcname": {
  8237. "description": "源品种名称",
  8238. "type": "string"
  8239. },
  8240. "srcunitid": {
  8241. "description": "源品种单位ID",
  8242. "type": "integer"
  8243. },
  8244. "srcunitidname": {
  8245. "description": "源品种单位名称",
  8246. "type": "string"
  8247. }
  8248. }
  8249. },
  8250. "ermcp.QryHedgePlanRsp": {
  8251. "type": "object",
  8252. "properties": {
  8253. "areauserid": {
  8254. "description": "用户ID",
  8255. "type": "integer"
  8256. },
  8257. "contracttype": {
  8258. "description": "计划类型 - 1:采购 -1:销售",
  8259. "type": "integer"
  8260. },
  8261. "convertfactor": {
  8262. "description": "标仓系数",
  8263. "type": "number"
  8264. },
  8265. "createtime": {
  8266. "description": "创建时间",
  8267. "type": "string"
  8268. },
  8269. "deliverygoodsid": {
  8270. "description": "现货品种ID",
  8271. "type": "integer"
  8272. },
  8273. "deliverygoodsname": {
  8274. "description": "现货品种名称",
  8275. "type": "string"
  8276. },
  8277. "hedgeplanid": {
  8278. "description": "套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)",
  8279. "type": "string"
  8280. },
  8281. "hedgeplanno": {
  8282. "description": "套保计划编号(名称)",
  8283. "type": "string"
  8284. },
  8285. "hedgeplanstatus": {
  8286. "description": "套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  8287. "type": "integer"
  8288. },
  8289. "planqty": {
  8290. "description": "计划数量",
  8291. "type": "number"
  8292. },
  8293. "plantime": {
  8294. "description": "计划时间",
  8295. "type": "string"
  8296. },
  8297. "producttype": {
  8298. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  8299. "type": "integer"
  8300. },
  8301. "remark": {
  8302. "description": "备注",
  8303. "type": "string"
  8304. },
  8305. "spotgoodsdesc": {
  8306. "description": "商品型号",
  8307. "type": "string"
  8308. },
  8309. "wrstandardid": {
  8310. "description": "现货商品ID",
  8311. "type": "integer"
  8312. },
  8313. "wrstandardname": {
  8314. "description": "现货商品名称",
  8315. "type": "string"
  8316. }
  8317. }
  8318. },
  8319. "ermcp.QryMGChangeLogRsp": {
  8320. "type": "object",
  8321. "properties": {
  8322. "aftervalue": {
  8323. "description": "变更后",
  8324. "type": "number"
  8325. },
  8326. "applyid": {
  8327. "description": "操作人",
  8328. "type": "integer"
  8329. },
  8330. "applyname": {
  8331. "description": "操作人名称",
  8332. "type": "string"
  8333. },
  8334. "applysrc": {
  8335. "description": "操作来源 - 1:管理端 2:终端",
  8336. "type": "integer"
  8337. },
  8338. "beforevalue": {
  8339. "description": "变更前",
  8340. "type": "number"
  8341. },
  8342. "changelogtype": {
  8343. "description": "变更流水类型 - 1:套保比率变更",
  8344. "type": "integer"
  8345. },
  8346. "handlestatus": {
  8347. "description": "处理状态",
  8348. "type": "integer"
  8349. },
  8350. "logdatetime": {
  8351. "description": "流水日期",
  8352. "type": "string"
  8353. },
  8354. "logid": {
  8355. "description": "流水ID",
  8356. "type": "integer"
  8357. },
  8358. "logremark": {
  8359. "description": "流水备注",
  8360. "type": "string"
  8361. },
  8362. "middlegoodsid": {
  8363. "description": "套保品种ID",
  8364. "type": "integer"
  8365. },
  8366. "tradedate": {
  8367. "description": "交易日(yyyyMMdd)",
  8368. "type": "string"
  8369. },
  8370. "updatetime": {
  8371. "description": "更新时间",
  8372. "type": "string"
  8373. }
  8374. }
  8375. },
  8376. "ermcp.QryMiddleGoodsDetailRsp": {
  8377. "type": "object",
  8378. "properties": {
  8379. "cvList": {
  8380. "description": "期货品种折算列表",
  8381. "type": "array",
  8382. "items": {
  8383. "$ref": "#/definitions/models.GoodsGroupConvert"
  8384. }
  8385. },
  8386. "mg": {
  8387. "description": "套保品种基本信息",
  8388. "$ref": "#/definitions/models.ErmcpMiddleGoodsModel"
  8389. }
  8390. }
  8391. },
  8392. "ermcp.QryMiddleGoodsRsp": {
  8393. "type": "object",
  8394. "properties": {
  8395. "areauserid": {
  8396. "description": "机构用户ID",
  8397. "type": "integer"
  8398. },
  8399. "enumdicname": {
  8400. "description": "单位名称",
  8401. "type": "string"
  8402. },
  8403. "evaluateratio": {
  8404. "description": "估价系数",
  8405. "type": "number"
  8406. },
  8407. "goodsgroupid": {
  8408. "description": "关联期货品种ID",
  8409. "type": "integer"
  8410. },
  8411. "isvalid": {
  8412. "description": "状态 0-无效(停用) 1-有效(正常)",
  8413. "type": "integer"
  8414. },
  8415. "middlegoodscode": {
  8416. "description": "套保品种代码",
  8417. "type": "string"
  8418. },
  8419. "middlegoodsid": {
  8420. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  8421. "type": "integer"
  8422. },
  8423. "middlegoodsname": {
  8424. "description": "套保品种名称",
  8425. "type": "string"
  8426. },
  8427. "modifytime": {
  8428. "description": "修改时间",
  8429. "type": "string"
  8430. },
  8431. "needhedgeratio": {
  8432. "description": "套保比率",
  8433. "type": "number"
  8434. },
  8435. "qtydecimalplace": {
  8436. "description": "数量小数位",
  8437. "type": "integer"
  8438. },
  8439. "relatedgoodsid": {
  8440. "description": "关联交易商品ID",
  8441. "type": "integer"
  8442. },
  8443. "relatedgoodstype": {
  8444. "description": "关联商品类型 - 1:期货合约 2:现货品种",
  8445. "type": "integer"
  8446. }
  8447. }
  8448. },
  8449. "ermcp.QryOPLogRsp": {
  8450. "type": "object",
  8451. "properties": {
  8452. "aftervalue": {
  8453. "description": "变更后",
  8454. "type": "number"
  8455. },
  8456. "applyid": {
  8457. "description": "操作人ID",
  8458. "type": "string"
  8459. },
  8460. "applyname": {
  8461. "description": "操作人名称",
  8462. "type": "string"
  8463. },
  8464. "beforevalue": {
  8465. "description": "变更前",
  8466. "type": "number"
  8467. },
  8468. "biztype": {
  8469. "description": "业务类型 - 1:套保计划 2:现货合同",
  8470. "type": "integer"
  8471. },
  8472. "contracttype": {
  8473. "description": "现货合同类型 - 1:采购 -1:销售",
  8474. "type": "integer"
  8475. },
  8476. "logvalue": {
  8477. "description": "数值",
  8478. "type": "number"
  8479. },
  8480. "operatelogtype": {
  8481. "description": "操作流水类型",
  8482. "type": "integer"
  8483. },
  8484. "operatelogtypedesc": {
  8485. "description": "操作流水类型名称",
  8486. "type": "string"
  8487. },
  8488. "relatedid": {
  8489. "description": "现货合同ID\\套保计划",
  8490. "type": "string"
  8491. },
  8492. "updatetime": {
  8493. "description": "更新时间",
  8494. "type": "string"
  8495. }
  8496. }
  8497. },
  8498. "ermcp.QryReportDaySpotDetailRsp": {
  8499. "type": "object",
  8500. "properties": {
  8501. "applyid": {
  8502. "description": "操作人",
  8503. "type": "integer"
  8504. },
  8505. "applyname": {
  8506. "description": "操作人名称",
  8507. "type": "string"
  8508. },
  8509. "biztype": {
  8510. "description": "业务类型 - 1:套保计划 2:现货合同",
  8511. "type": "integer"
  8512. },
  8513. "contracttype": {
  8514. "description": "现货合同类型 - 1:采购 -1:销售",
  8515. "type": "integer"
  8516. },
  8517. "enumdicName": {
  8518. "description": "单位名称",
  8519. "type": "string"
  8520. },
  8521. "logdatetime": {
  8522. "description": "流水日期(时间)",
  8523. "type": "string"
  8524. },
  8525. "logid": {
  8526. "description": "流水ID(604+Unix秒时间戳(10位)+xxxxxx)",
  8527. "type": "string"
  8528. },
  8529. "logtypename": {
  8530. "description": "合同类型(名称)",
  8531. "type": "string"
  8532. },
  8533. "logvalue": {
  8534. "description": "数值",
  8535. "type": "string"
  8536. },
  8537. "operatelogtype": {
  8538. "description": "操作流水类型 -",
  8539. "type": "integer"
  8540. },
  8541. "optypename": {
  8542. "description": "流水类型名称",
  8543. "type": "string"
  8544. },
  8545. "relatedid": {
  8546. "description": "现货合同ID\\套保计划",
  8547. "type": "string"
  8548. },
  8549. "relatedno": {
  8550. "description": "合同编号",
  8551. "type": "string"
  8552. },
  8553. "tradedate": {
  8554. "description": "交易日(yyyyMMdd)",
  8555. "type": "string"
  8556. },
  8557. "userid": {
  8558. "description": "机构ID",
  8559. "type": "integer"
  8560. },
  8561. "wrstandardcode": {
  8562. "description": "现货商品代码",
  8563. "type": "string"
  8564. },
  8565. "wrstandardid": {
  8566. "description": "现货商品ID",
  8567. "type": "integer"
  8568. },
  8569. "wrstandardname": {
  8570. "description": "现货商品名称",
  8571. "type": "string"
  8572. }
  8573. }
  8574. },
  8575. "ermcp.QryReportExposureDayRsp": {
  8576. "type": "object",
  8577. "properties": {
  8578. "areauserid": {
  8579. "description": "所属机构",
  8580. "type": "integer"
  8581. },
  8582. "buyfutureqty": {
  8583. "description": "买入期货数量",
  8584. "type": "number"
  8585. },
  8586. "buyplanqty": {
  8587. "description": "采购计划数量",
  8588. "type": "number"
  8589. },
  8590. "buypricedqty": {
  8591. "description": "采购合同已定价数量",
  8592. "type": "number"
  8593. },
  8594. "diffFutuQty": {
  8595. "description": "今日变动量(期货) = (买入 - 买入期初) - (卖出 - 卖出期初)",
  8596. "type": "number"
  8597. },
  8598. "diffSpotQty": {
  8599. "description": "今日变动量(现货) = 现货数量 - 期初现货数量",
  8600. "type": "number"
  8601. },
  8602. "enumdicname": {
  8603. "description": "单位名称",
  8604. "type": "string"
  8605. },
  8606. "middlegoodscode": {
  8607. "description": "套保品种代码",
  8608. "type": "string"
  8609. },
  8610. "middlegoodshedgeratio": {
  8611. "description": "应套保比例",
  8612. "type": "number"
  8613. },
  8614. "middlegoodsid": {
  8615. "description": "套保品种ID",
  8616. "type": "integer"
  8617. },
  8618. "middlegoodsname": {
  8619. "description": "套保品种名称",
  8620. "type": "string"
  8621. },
  8622. "needhedgeexposoure": {
  8623. "description": "应套保敞口",
  8624. "type": "number"
  8625. },
  8626. "needhedgeratio": {
  8627. "description": "应套保敞口比例",
  8628. "type": "number"
  8629. },
  8630. "oriTotalFutuQty": {
  8631. "description": "期初期货数量=期初买入期货数量-期初卖出期货数量",
  8632. "type": "number"
  8633. },
  8634. "oriTotalSpotQty": {
  8635. "description": "期初现货数量=(期初销售计划数量-期初销售合同已定价数量)-(期初采购计划数量-期初采购合同已定价数量)",
  8636. "type": "number"
  8637. },
  8638. "oribuyfutureqty": {
  8639. "description": "期初买入期货数量",
  8640. "type": "number"
  8641. },
  8642. "oribuyplanqty": {
  8643. "description": "期初采购计划数量",
  8644. "type": "number"
  8645. },
  8646. "oribuypricedqty": {
  8647. "description": "期初采购合同已定价数量",
  8648. "type": "number"
  8649. },
  8650. "orisellfutureqty": {
  8651. "description": "期初卖出期货数量",
  8652. "type": "number"
  8653. },
  8654. "orisellplanqty": {
  8655. "description": "期初销售计划数量",
  8656. "type": "number"
  8657. },
  8658. "orisellpricedqty": {
  8659. "description": "期初销售合同已定价数量",
  8660. "type": "number"
  8661. },
  8662. "reckondate": {
  8663. "description": "日照时期(yyyyMMdd)",
  8664. "type": "string"
  8665. },
  8666. "sellfutureqty": {
  8667. "description": "卖出期货数量",
  8668. "type": "number"
  8669. },
  8670. "sellplanqty": {
  8671. "description": "销售计划数量",
  8672. "type": "number"
  8673. },
  8674. "sellpricedqty": {
  8675. "description": "销售合同已定价数量",
  8676. "type": "number"
  8677. },
  8678. "totalexposure": {
  8679. "description": "总敞口",
  8680. "type": "number"
  8681. },
  8682. "totalfutureqty": {
  8683. "description": "期货数量",
  8684. "type": "number"
  8685. },
  8686. "totalhedgeratio": {
  8687. "description": "敞口比例",
  8688. "type": "number"
  8689. },
  8690. "totalneedhedgeqty": {
  8691. "description": "期货应套保量",
  8692. "type": "number"
  8693. },
  8694. "totalspotqty": {
  8695. "description": "现货数量",
  8696. "type": "number"
  8697. }
  8698. }
  8699. },
  8700. "ermcp.QryReportFinanceDayRsp": {
  8701. "type": "object",
  8702. "properties": {
  8703. "areauserid": {
  8704. "description": "所属机构",
  8705. "type": "integer"
  8706. },
  8707. "collectinvoiceamount": {
  8708. "description": "今日开票金额",
  8709. "type": "number"
  8710. },
  8711. "collectinvoicecount": {
  8712. "description": "今日开票笔数",
  8713. "type": "integer"
  8714. },
  8715. "collectmoneyamount": {
  8716. "description": "今日收款金额",
  8717. "type": "number"
  8718. },
  8719. "collectmoneycount": {
  8720. "description": "今日收款笔数",
  8721. "type": "integer"
  8722. },
  8723. "payinvoiceamount": {
  8724. "description": "今日收票金额",
  8725. "type": "number"
  8726. },
  8727. "payinvoicecount": {
  8728. "description": "今日收票笔数",
  8729. "type": "integer"
  8730. },
  8731. "paymoneyamount": {
  8732. "description": "今日付款金额",
  8733. "type": "number"
  8734. },
  8735. "paymoneycount": {
  8736. "description": "今日付款笔数",
  8737. "type": "integer"
  8738. },
  8739. "reckondate": {
  8740. "description": "日照时期(yyyyMMdd)",
  8741. "type": "string"
  8742. },
  8743. "updatetime": {
  8744. "description": "更新时间",
  8745. "type": "string"
  8746. }
  8747. }
  8748. },
  8749. "ermcp.QryReportFinanceKxRsp": {
  8750. "type": "object",
  8751. "properties": {
  8752. "applyid": {
  8753. "description": "操作人",
  8754. "type": "integer"
  8755. },
  8756. "applyname": {
  8757. "description": "操作人名称",
  8758. "type": "string"
  8759. },
  8760. "biztype": {
  8761. "description": "业务类型 - 1:套保计划 2:现货合同",
  8762. "type": "integer"
  8763. },
  8764. "contracttype": {
  8765. "description": "现货合同类型 - 1:采购 -1:销售",
  8766. "type": "integer"
  8767. },
  8768. "enumdicName": {
  8769. "description": "单位名称",
  8770. "type": "string"
  8771. },
  8772. "logdatetime": {
  8773. "description": "流水日期(时间)",
  8774. "type": "string"
  8775. },
  8776. "logid": {
  8777. "description": "流水ID(604+Unix秒时间戳(10位)+xxxxxx)",
  8778. "type": "string"
  8779. },
  8780. "logtypename": {
  8781. "description": "合同类型(名称)",
  8782. "type": "string"
  8783. },
  8784. "logvalue": {
  8785. "description": "数值",
  8786. "type": "string"
  8787. },
  8788. "operatelogtype": {
  8789. "description": "操作流水类型 -",
  8790. "type": "integer"
  8791. },
  8792. "optypename": {
  8793. "description": "流水类型名称",
  8794. "type": "string"
  8795. },
  8796. "relatedid": {
  8797. "description": "现货合同ID\\套保计划",
  8798. "type": "string"
  8799. },
  8800. "relatedno": {
  8801. "description": "合同编号",
  8802. "type": "string"
  8803. },
  8804. "tradedate": {
  8805. "description": "交易日(yyyyMMdd)",
  8806. "type": "string"
  8807. },
  8808. "userid": {
  8809. "description": "机构ID",
  8810. "type": "integer"
  8811. },
  8812. "wrstandardcode": {
  8813. "description": "现货商品代码",
  8814. "type": "string"
  8815. },
  8816. "wrstandardid": {
  8817. "description": "现货商品ID",
  8818. "type": "integer"
  8819. },
  8820. "wrstandardname": {
  8821. "description": "现货商品名称",
  8822. "type": "string"
  8823. }
  8824. }
  8825. },
  8826. "ermcp.QryReportFinanceMonRsp": {
  8827. "type": "object",
  8828. "properties": {
  8829. "areauserid": {
  8830. "description": "所属机构【原值】",
  8831. "type": "integer"
  8832. },
  8833. "collectinvoiceamount": {
  8834. "description": "今日开票金额【汇总】",
  8835. "type": "number"
  8836. },
  8837. "collectinvoicecount": {
  8838. "description": "今日开票笔数【汇总】",
  8839. "type": "integer"
  8840. },
  8841. "collectmoneyamount": {
  8842. "description": "今日收款金额【汇总】",
  8843. "type": "number"
  8844. },
  8845. "collectmoneycount": {
  8846. "description": "今日收款笔数 【汇总】",
  8847. "type": "integer"
  8848. },
  8849. "cycletime": {
  8850. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  8851. "type": "string"
  8852. },
  8853. "cycletype": {
  8854. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  8855. "type": "integer"
  8856. },
  8857. "dayFr": {
  8858. "description": "日报表明细",
  8859. "type": "array",
  8860. "items": {
  8861. "$ref": "#/definitions/models.ErmcpReportDayFR"
  8862. }
  8863. },
  8864. "payinvoiceamount": {
  8865. "description": "今日收票金额【汇总】",
  8866. "type": "number"
  8867. },
  8868. "payinvoicecount": {
  8869. "description": "今日收票笔数【汇总】",
  8870. "type": "integer"
  8871. },
  8872. "paymoneyamount": {
  8873. "description": "今日付款金额【汇总】",
  8874. "type": "number"
  8875. },
  8876. "paymoneycount": {
  8877. "description": "今日付款笔数【汇总】",
  8878. "type": "integer"
  8879. },
  8880. "updatetime": {
  8881. "description": "更新时间",
  8882. "type": "string"
  8883. }
  8884. }
  8885. },
  8886. "ermcp.QryReportSpotDayRsp": {
  8887. "type": "object",
  8888. "properties": {
  8889. "areauserid": {
  8890. "description": "所属机构T",
  8891. "type": "integer"
  8892. },
  8893. "enumdicname": {
  8894. "description": "现货商品单位名称",
  8895. "type": "string"
  8896. },
  8897. "reckondate": {
  8898. "description": "日照时期(yyyyMMdd)",
  8899. "type": "string"
  8900. },
  8901. "todaybuyreckonqty": {
  8902. "description": "采购确定量",
  8903. "type": "number"
  8904. },
  8905. "todaysellreckonqty": {
  8906. "description": "销售确定量",
  8907. "type": "number"
  8908. },
  8909. "totalbuypricedqty": {
  8910. "description": "采购定价量 = 期末 - 期初",
  8911. "type": "number"
  8912. },
  8913. "totalsellpricedqty": {
  8914. "description": "销售定价量 = 期末 - 期初",
  8915. "type": "number"
  8916. },
  8917. "wrstandardcode": {
  8918. "description": "现货商品代码",
  8919. "type": "string"
  8920. },
  8921. "wrstandardid": {
  8922. "description": "现货商品ID",
  8923. "type": "integer"
  8924. },
  8925. "wrstandardname": {
  8926. "description": "现货商品名称",
  8927. "type": "string"
  8928. }
  8929. }
  8930. },
  8931. "ermcp.QryReportSpotMonRsp": {
  8932. "type": "object",
  8933. "properties": {
  8934. "areauserid": {
  8935. "description": "所属机构T",
  8936. "type": "integer"
  8937. },
  8938. "cycletime": {
  8939. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  8940. "type": "string"
  8941. },
  8942. "cycletype": {
  8943. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  8944. "type": "integer"
  8945. },
  8946. "enumdicname": {
  8947. "description": "现货商品单位名称",
  8948. "type": "string"
  8949. },
  8950. "todaybuyreckonqty": {
  8951. "description": "采购确定量",
  8952. "type": "number"
  8953. },
  8954. "todaysellreckonqty": {
  8955. "description": "销售确定量",
  8956. "type": "number"
  8957. },
  8958. "totalbuypricedqty": {
  8959. "description": "采购定价量 = 期末 - 期初",
  8960. "type": "number"
  8961. },
  8962. "totalsellpricedqty": {
  8963. "description": "销售定价量 = 期末 - 期初",
  8964. "type": "number"
  8965. },
  8966. "wrstandardcode": {
  8967. "description": "现货商品代码",
  8968. "type": "string"
  8969. },
  8970. "wrstandardid": {
  8971. "description": "现货商品ID",
  8972. "type": "integer"
  8973. },
  8974. "wrstandardname": {
  8975. "description": "现货商品名称",
  8976. "type": "string"
  8977. }
  8978. }
  8979. },
  8980. "ermcp.QryReportSpotMonthDetailRsp": {
  8981. "type": "object",
  8982. "properties": {
  8983. "areauserid": {
  8984. "description": "所属机构T",
  8985. "type": "integer"
  8986. },
  8987. "enumdicname": {
  8988. "description": "现货商品单位名称",
  8989. "type": "string"
  8990. },
  8991. "reckondate": {
  8992. "description": "日照时期(yyyyMMdd)",
  8993. "type": "string"
  8994. },
  8995. "todaybuyreckonqty": {
  8996. "description": "采购确定量",
  8997. "type": "number"
  8998. },
  8999. "todaysellreckonqty": {
  9000. "description": "销售确定量",
  9001. "type": "number"
  9002. },
  9003. "totalbuypricedqty": {
  9004. "description": "采购定价量 = 期末 - 期初",
  9005. "type": "number"
  9006. },
  9007. "totalsellpricedqty": {
  9008. "description": "销售定价量 = 期末 - 期初",
  9009. "type": "number"
  9010. },
  9011. "wrstandardcode": {
  9012. "description": "现货商品代码",
  9013. "type": "string"
  9014. },
  9015. "wrstandardid": {
  9016. "description": "现货商品ID",
  9017. "type": "integer"
  9018. },
  9019. "wrstandardname": {
  9020. "description": "现货商品名称",
  9021. "type": "string"
  9022. }
  9023. }
  9024. },
  9025. "ermcp.QrySpotContractRsp": {
  9026. "type": "object",
  9027. "properties": {
  9028. "amount": {
  9029. "description": "金额 [1:一口价、3:暂定价]",
  9030. "type": "number"
  9031. },
  9032. "attachment": {
  9033. "description": "附件",
  9034. "type": "string"
  9035. },
  9036. "auditremark": {
  9037. "description": "审核意见",
  9038. "type": "string"
  9039. },
  9040. "audittime": {
  9041. "description": "审核时间",
  9042. "type": "string"
  9043. },
  9044. "brandname": {
  9045. "description": "品牌名称",
  9046. "type": "string"
  9047. },
  9048. "buyuserid": {
  9049. "description": "采购方ID",
  9050. "type": "integer"
  9051. },
  9052. "buyusername": {
  9053. "description": "采购方名称",
  9054. "type": "string"
  9055. },
  9056. "contracctstatus": {
  9057. "description": "合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  9058. "type": "integer"
  9059. },
  9060. "contractmargin": {
  9061. "description": "合同保证金",
  9062. "type": "number"
  9063. },
  9064. "contractno": {
  9065. "description": "现货合同编号",
  9066. "type": "string"
  9067. },
  9068. "contracttype": {
  9069. "description": "现货合同类型 - 1:采购 -1:销售",
  9070. "type": "integer"
  9071. },
  9072. "convertfactor": {
  9073. "description": "标仓系数",
  9074. "type": "number"
  9075. },
  9076. "createtime": {
  9077. "description": "创建时间",
  9078. "type": "string"
  9079. },
  9080. "deliveryenddate": {
  9081. "description": "交收期(结束)",
  9082. "type": "string"
  9083. },
  9084. "deliverygoodscode": {
  9085. "description": "现货品种代码",
  9086. "type": "string"
  9087. },
  9088. "deliverygoodsid": {
  9089. "description": "现货品种ID",
  9090. "type": "integer"
  9091. },
  9092. "deliverygoodsname": {
  9093. "description": "现货品种名称",
  9094. "type": "string"
  9095. },
  9096. "deliverystartdate": {
  9097. "description": "交收期(开始)",
  9098. "type": "string"
  9099. },
  9100. "enddate": {
  9101. "description": "点价结束日期 [2:点价 3:暂定价]",
  9102. "type": "string"
  9103. },
  9104. "enumdicname": {
  9105. "description": "单位名称",
  9106. "type": "string"
  9107. },
  9108. "goodscode": {
  9109. "description": "点价合约代码",
  9110. "type": "string"
  9111. },
  9112. "goodsid": {
  9113. "description": "点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]",
  9114. "type": "integer"
  9115. },
  9116. "goodsname": {
  9117. "description": "点价商品名称",
  9118. "type": "string"
  9119. },
  9120. "margin": {
  9121. "description": "当前保证金",
  9122. "type": "number"
  9123. },
  9124. "modelname": {
  9125. "description": "型号名称",
  9126. "type": "string"
  9127. },
  9128. "price": {
  9129. "description": "价格\\暂定价 [1:一口价、3:暂定价]",
  9130. "type": "number"
  9131. },
  9132. "pricemove": {
  9133. "description": "升贴水 [2:点价 3:暂定价]",
  9134. "type": "number"
  9135. },
  9136. "pricetype": {
  9137. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  9138. "type": "integer"
  9139. },
  9140. "producttype": {
  9141. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  9142. "type": "integer"
  9143. },
  9144. "qty": {
  9145. "description": "数量",
  9146. "type": "number"
  9147. },
  9148. "remark": {
  9149. "description": "备注",
  9150. "type": "string"
  9151. },
  9152. "selluserid": {
  9153. "description": "销售方ID",
  9154. "type": "integer"
  9155. },
  9156. "sellusername": {
  9157. "description": "销售方名称",
  9158. "type": "string"
  9159. },
  9160. "spotcontractid": {
  9161. "description": "现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)",
  9162. "type": "string"
  9163. },
  9164. "spotgoodsbrandid": {
  9165. "description": "现货品牌ID",
  9166. "type": "integer"
  9167. },
  9168. "spotgoodsdesc": {
  9169. "description": "商品型号",
  9170. "type": "string"
  9171. },
  9172. "spotgoodsmodelid": {
  9173. "description": "现货型号ID",
  9174. "type": "integer"
  9175. },
  9176. "startdate": {
  9177. "description": "点价开始日期 [2:点价 3:暂定价]",
  9178. "type": "string"
  9179. },
  9180. "userid": {
  9181. "description": "机构ID",
  9182. "type": "integer"
  9183. },
  9184. "wrstandardid": {
  9185. "description": "现货商品ID",
  9186. "type": "integer"
  9187. }
  9188. }
  9189. },
  9190. "ermcp.QryUserInfoRsp": {
  9191. "type": "object",
  9192. "properties": {
  9193. "address": {
  9194. "description": "通讯地址",
  9195. "type": "string"
  9196. },
  9197. "attachment1": {
  9198. "description": "附件1",
  9199. "type": "string"
  9200. },
  9201. "cardfrontphotourl": {
  9202. "description": "证件正面图片地址",
  9203. "type": "string"
  9204. },
  9205. "cardnum": {
  9206. "description": "证件号码",
  9207. "type": "string"
  9208. },
  9209. "cardtype": {
  9210. "description": "证件类型",
  9211. "type": "integer"
  9212. },
  9213. "cardtypename": {
  9214. "description": "证件类型名称",
  9215. "type": "string"
  9216. },
  9217. "cityid": {
  9218. "description": "市",
  9219. "type": "integer"
  9220. },
  9221. "countryid": {
  9222. "description": "国家",
  9223. "type": "integer"
  9224. },
  9225. "createtime": {
  9226. "description": "创建时间",
  9227. "type": "string"
  9228. },
  9229. "customername": {
  9230. "description": "企业名称",
  9231. "type": "string"
  9232. },
  9233. "memberuserid": {
  9234. "description": "所属机构ID",
  9235. "type": "integer"
  9236. },
  9237. "mobile": {
  9238. "description": "手机号码",
  9239. "type": "string"
  9240. },
  9241. "provinceid": {
  9242. "description": "省",
  9243. "type": "integer"
  9244. },
  9245. "remark": {
  9246. "description": "备注",
  9247. "type": "string"
  9248. },
  9249. "status": {
  9250. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销",
  9251. "type": "integer"
  9252. },
  9253. "statusdesc": {
  9254. "description": "账户状态中文描述",
  9255. "type": "string"
  9256. },
  9257. "telphone": {
  9258. "description": "联系电话",
  9259. "type": "string"
  9260. },
  9261. "userid": {
  9262. "description": "用户ID",
  9263. "type": "integer"
  9264. },
  9265. "userinfotype": {
  9266. "description": "客户类型",
  9267. "type": "string"
  9268. }
  9269. }
  9270. },
  9271. "ermcp.QryWrStandardDetailRsp": {
  9272. "type": "object",
  9273. "properties": {
  9274. "gbList": {
  9275. "description": "品牌列表",
  9276. "type": "array",
  9277. "items": {
  9278. "$ref": "#/definitions/models.GoodsBrand"
  9279. }
  9280. },
  9281. "gtList": {
  9282. "description": "型号列表",
  9283. "type": "array",
  9284. "items": {
  9285. "$ref": "#/definitions/models.GoodsTypeModel"
  9286. }
  9287. },
  9288. "wrd": {
  9289. "description": "基本信息",
  9290. "$ref": "#/definitions/models.ErmcpWrstandard"
  9291. },
  9292. "wrsList": {
  9293. "description": "套保信息列表",
  9294. "type": "array",
  9295. "items": {
  9296. "$ref": "#/definitions/models.WRSConverTDetail"
  9297. }
  9298. }
  9299. }
  9300. },
  9301. "ermcp.QryWrStandardRsp": {
  9302. "type": "object",
  9303. "properties": {
  9304. "areauserid": {
  9305. "description": "所属机构",
  9306. "type": "integer"
  9307. },
  9308. "createtime": {
  9309. "description": "创建时间",
  9310. "type": "string"
  9311. },
  9312. "creatorid": {
  9313. "description": "创建人",
  9314. "type": "integer"
  9315. },
  9316. "deliverygoodsid": {
  9317. "description": "品种ID",
  9318. "type": "integer"
  9319. },
  9320. "enumdicname": {
  9321. "description": "单位名称",
  9322. "type": "string"
  9323. },
  9324. "isvalid": {
  9325. "description": "是否有效 0-无效(停用) 1-有效(正常)",
  9326. "type": "integer"
  9327. },
  9328. "minivalue": {
  9329. "description": "最小变动值",
  9330. "type": "integer"
  9331. },
  9332. "minivaluedp": {
  9333. "description": "最小变动值小数位",
  9334. "type": "integer"
  9335. },
  9336. "realminivalue": {
  9337. "description": "实际最小变动值",
  9338. "type": "integer"
  9339. },
  9340. "realminivaluedp": {
  9341. "description": "实际最小变动值小数位",
  9342. "type": "integer"
  9343. },
  9344. "remark": {
  9345. "description": "备注",
  9346. "type": "string"
  9347. },
  9348. "unitid": {
  9349. "description": "单位ID",
  9350. "type": "integer"
  9351. },
  9352. "updatetime": {
  9353. "description": "更新时间",
  9354. "type": "string"
  9355. },
  9356. "wrstandardcode": {
  9357. "description": "现货商品代码",
  9358. "type": "string"
  9359. },
  9360. "wrstandardid": {
  9361. "description": "现货商品ID(SEQ_WRSTANDARD)",
  9362. "type": "integer"
  9363. },
  9364. "wrstandardname": {
  9365. "description": "现货商品名称",
  9366. "type": "string"
  9367. }
  9368. }
  9369. },
  9370. "ermcp.QueryErmcpTradePositionRsp": {
  9371. "type": "object",
  9372. "properties": {
  9373. "agreeunit": {
  9374. "description": "合约单位",
  9375. "type": "number"
  9376. },
  9377. "averageprice": {
  9378. "description": "持仓均价",
  9379. "type": "number"
  9380. },
  9381. "buyorsell": {
  9382. "description": "方向 - 0:买 1:卖",
  9383. "type": "integer"
  9384. },
  9385. "curholderamount": {
  9386. "description": "当前持仓总金额[商品币种]",
  9387. "type": "number"
  9388. },
  9389. "curpositionqty": {
  9390. "description": "当前持仓总数量(总仓数量)",
  9391. "type": "integer"
  9392. },
  9393. "curtdposition": {
  9394. "description": "期末今日头寸(今仓数量)",
  9395. "type": "integer"
  9396. },
  9397. "curtdpositionenabled": {
  9398. "description": "今仓可用",
  9399. "type": "integer"
  9400. },
  9401. "decimalplace": {
  9402. "description": "报价小数位",
  9403. "type": "integer"
  9404. },
  9405. "enableqty": {
  9406. "description": "可用量(总仓可用)",
  9407. "type": "integer"
  9408. },
  9409. "exexchangename": {
  9410. "description": "外部交易所名称",
  9411. "type": "string"
  9412. },
  9413. "goodscode": {
  9414. "description": "商品代码(内部)",
  9415. "type": "string"
  9416. },
  9417. "goodsid": {
  9418. "description": "商品ID(自增ID SEQ_GOODS)",
  9419. "type": "integer"
  9420. },
  9421. "goodsname": {
  9422. "description": "商品名称",
  9423. "type": "string"
  9424. },
  9425. "last": {
  9426. "description": "现价",
  9427. "type": "number"
  9428. },
  9429. "marketid": {
  9430. "description": "所属市场ID",
  9431. "type": "integer"
  9432. },
  9433. "outgoodscode": {
  9434. "description": "商品代码(外部)",
  9435. "type": "string"
  9436. },
  9437. "positionpl": {
  9438. "description": "持仓盈亏",
  9439. "type": "number"
  9440. },
  9441. "positionplrate": {
  9442. "description": "持仓盈亏率",
  9443. "type": "number"
  9444. },
  9445. "usedmargin": {
  9446. "description": "占用保证金[商品币种]",
  9447. "type": "number"
  9448. }
  9449. }
  9450. },
  9451. "ermcp.RealtimeExposurePositionRsp": {
  9452. "type": "object",
  9453. "properties": {
  9454. "agreeunit": {
  9455. "description": "合约单位",
  9456. "type": "string"
  9457. },
  9458. "areauserid": {
  9459. "description": "所属机构id",
  9460. "type": "integer"
  9461. },
  9462. "convertratio": {
  9463. "description": "期货品种系数(折算系数)",
  9464. "type": "number"
  9465. },
  9466. "curqty": {
  9467. "description": "当前持仓",
  9468. "type": "integer"
  9469. },
  9470. "diffhedgeqty": {
  9471. "description": "套保品种变动量=持仓变动量*期货合约单位*期货品种系数",
  9472. "type": "number"
  9473. },
  9474. "diffqty": {
  9475. "description": "持仓变动量=当前持仓-昨日持仓",
  9476. "type": "integer"
  9477. },
  9478. "goodscode": {
  9479. "description": "商品代码",
  9480. "type": "string"
  9481. },
  9482. "goodsid": {
  9483. "description": "商品id",
  9484. "type": "integer"
  9485. },
  9486. "goodsname": {
  9487. "description": "商品名称",
  9488. "type": "string"
  9489. },
  9490. "middlegoodsid": {
  9491. "description": "套保商品id",
  9492. "type": "integer"
  9493. },
  9494. "ydqty": {
  9495. "description": "昨日持仓",
  9496. "type": "integer"
  9497. }
  9498. }
  9499. },
  9500. "ermcp.RealtimeExposureRsp": {
  9501. "type": "object",
  9502. "properties": {
  9503. "areaUserID": {
  9504. "description": "所属机构",
  9505. "type": "integer"
  9506. },
  9507. "buyFutureQty": {
  9508. "description": "买入期货数量",
  9509. "type": "number"
  9510. },
  9511. "buyPlanQty": {
  9512. "description": "采购计划数量",
  9513. "type": "number"
  9514. },
  9515. "buyPricedQty": {
  9516. "description": "采购合同已定价数量",
  9517. "type": "number"
  9518. },
  9519. "diffFutuQty": {
  9520. "description": "今日变动量(期货) = (买入 - 买入期初) - (卖出 - 卖出期初)",
  9521. "type": "number"
  9522. },
  9523. "diffSpotQty": {
  9524. "description": "今日变动量(现货) = 现货数量 - 期初现货数量",
  9525. "type": "number"
  9526. },
  9527. "enumdicname": {
  9528. "description": "单位名称",
  9529. "type": "string"
  9530. },
  9531. "middleGoodsCode": {
  9532. "description": "套保品种代码",
  9533. "type": "string"
  9534. },
  9535. "middleGoodsHedgeRatio": {
  9536. "description": "应套保比例",
  9537. "type": "number"
  9538. },
  9539. "middleGoodsID": {
  9540. "description": "套保品种",
  9541. "type": "integer"
  9542. },
  9543. "middleGoodsName": {
  9544. "description": "套保品种名称",
  9545. "type": "string"
  9546. },
  9547. "needHedgeExposoure": {
  9548. "description": "应套保敞口",
  9549. "type": "number"
  9550. },
  9551. "needHedgeRatio": {
  9552. "description": "应套保敞口比例",
  9553. "type": "number"
  9554. },
  9555. "oriBuyFutureQty": {
  9556. "description": "期初买入期货数量",
  9557. "type": "number"
  9558. },
  9559. "oriBuyPlanQty": {
  9560. "description": "期初采购计划数量",
  9561. "type": "number"
  9562. },
  9563. "oriBuyPricedQty": {
  9564. "description": "期初采购合同已定价数量",
  9565. "type": "number"
  9566. },
  9567. "oriSellFutureQty": {
  9568. "description": "期初卖出期货数量",
  9569. "type": "number"
  9570. },
  9571. "oriSellPlanQty": {
  9572. "description": "期初销售计划数量",
  9573. "type": "number"
  9574. },
  9575. "oriSellPricedQty": {
  9576. "description": "期初销售合同已定价数量",
  9577. "type": "number"
  9578. },
  9579. "oriTotalFutuQty": {
  9580. "description": "期初期货数量=期初买入期货数量-期初卖出期货数量",
  9581. "type": "number"
  9582. },
  9583. "oriTotalSpotQty": {
  9584. "description": "期初现货数量=(期初销售计划数量-期初销售合同已定价数量)-(期初采购计划数量-期初采购合同已定价数量)",
  9585. "type": "number"
  9586. },
  9587. "sellFutureQty": {
  9588. "description": "卖出期货数量",
  9589. "type": "number"
  9590. },
  9591. "sellPlanQty": {
  9592. "description": "销售计划数量",
  9593. "type": "number"
  9594. },
  9595. "sellPricedQty": {
  9596. "description": "销售合同已定价数量",
  9597. "type": "number"
  9598. },
  9599. "totalExposure": {
  9600. "description": "总敞口",
  9601. "type": "number"
  9602. },
  9603. "totalFutureQty": {
  9604. "description": "期货数量",
  9605. "type": "number"
  9606. },
  9607. "totalHedgeRatio": {
  9608. "description": "敞口比例",
  9609. "type": "number"
  9610. },
  9611. "totalNeedHedgeQty": {
  9612. "description": "期货应套保量",
  9613. "type": "number"
  9614. },
  9615. "totalSpotQty": {
  9616. "description": "现货数量",
  9617. "type": "number"
  9618. }
  9619. }
  9620. },
  9621. "erms2.QueryArbitrageStrategyRsp": {
  9622. "type": "object",
  9623. "required": [
  9624. "asapplyid"
  9625. ],
  9626. "properties": {
  9627. "applybasis": {
  9628. "description": "申请基差",
  9629. "type": "number"
  9630. },
  9631. "asapplyid": {
  9632. "description": "策略申请ID(702+Unix秒时间戳(10位)+xxxxxx)",
  9633. "type": "string"
  9634. },
  9635. "asname": {
  9636. "description": "策略名称",
  9637. "type": "string"
  9638. },
  9639. "asno": {
  9640. "description": "策略编号",
  9641. "type": "string"
  9642. },
  9643. "basischangepl": {
  9644. "description": "基差变动损益[结算更新]",
  9645. "type": "number"
  9646. },
  9647. "biztype": {
  9648. "description": "业务类型 - 1:正向套利 -1:反向套利",
  9649. "type": "integer"
  9650. },
  9651. "closetradedate": {
  9652. "description": "完结交易日(yyyyMMdd)",
  9653. "type": "string"
  9654. },
  9655. "curbasis": {
  9656. "description": "当前基差[结算更新]",
  9657. "type": "number"
  9658. },
  9659. "deliverygoodsid": {
  9660. "description": "现货品种ID",
  9661. "type": "integer"
  9662. },
  9663. "futureavgprice": {
  9664. "description": "期货建仓均价",
  9665. "type": "number"
  9666. },
  9667. "futurecloseamount": {
  9668. "description": "期货平仓金额",
  9669. "type": "number"
  9670. },
  9671. "futurecloseqty": {
  9672. "description": "期货平仓数量",
  9673. "type": "number"
  9674. },
  9675. "futureopenamount": {
  9676. "description": "期货开仓金额",
  9677. "type": "number"
  9678. },
  9679. "futureopenqty": {
  9680. "description": "期货开仓数量",
  9681. "type": "number"
  9682. },
  9683. "futurepl": {
  9684. "description": "期货总盈亏[结算更新]",
  9685. "type": "number"
  9686. },
  9687. "futureqty": {
  9688. "description": "期货持仓数量",
  9689. "type": "number"
  9690. },
  9691. "futurequote": {
  9692. "description": "期货额度",
  9693. "type": "number"
  9694. },
  9695. "goodsgroupid": {
  9696. "description": "期货品种ID",
  9697. "type": "integer"
  9698. },
  9699. "marketid": {
  9700. "description": "市场ID",
  9701. "type": "integer"
  9702. },
  9703. "netexposure": {
  9704. "description": "单笔业务头寸净敞口 = 期货持仓数量 + 已定价现货不含税数量",
  9705. "type": "number"
  9706. },
  9707. "netexposurepl": {
  9708. "description": "净敞口损益 = TotalPL - BasisChangePL[结算更新]",
  9709. "type": "number"
  9710. },
  9711. "netexposurerate": {
  9712. "description": "净敞口比例 - 0:未结束 = (NetExposure/PriceSpotQtyNoTax) ; 已结束为0",
  9713. "type": "number"
  9714. },
  9715. "openbasis": {
  9716. "description": "建仓基差",
  9717. "type": "number"
  9718. },
  9719. "pricedspotqty": {
  9720. "description": "已定价现货数量",
  9721. "type": "number"
  9722. },
  9723. "pricedspotqtynotax": {
  9724. "description": "已定价现货不含税数量",
  9725. "type": "number"
  9726. },
  9727. "remark": {
  9728. "description": "备注",
  9729. "type": "string"
  9730. },
  9731. "spotavgprice": {
  9732. "description": "现货均价",
  9733. "type": "number"
  9734. },
  9735. "spotbuyamount": {
  9736. "description": "现货采购金额",
  9737. "type": "number"
  9738. },
  9739. "spotbuyqty": {
  9740. "description": "现货采购数量",
  9741. "type": "number"
  9742. },
  9743. "spotpl": {
  9744. "description": "现货总盈亏[结算更新]",
  9745. "type": "number"
  9746. },
  9747. "spotquota": {
  9748. "description": "现货额度",
  9749. "type": "number"
  9750. },
  9751. "spotsellamount": {
  9752. "description": "现货销售金额",
  9753. "type": "number"
  9754. },
  9755. "spotsellqty": {
  9756. "description": "现货销售数量",
  9757. "type": "number"
  9758. },
  9759. "spotusedquota": {
  9760. "description": "现货占用资金",
  9761. "type": "number"
  9762. },
  9763. "strategystatus": {
  9764. "description": "策略状态 - 0:未结束 1:已结束",
  9765. "type": "integer"
  9766. },
  9767. "totalpl": {
  9768. "description": "业务合计损益 = FuturePL + SpotPL [结算更新]",
  9769. "type": "number"
  9770. },
  9771. "tradedate": {
  9772. "description": "交易日(yyyyMMdd)",
  9773. "type": "string"
  9774. },
  9775. "updatetime": {
  9776. "description": "更新时间",
  9777. "type": "string"
  9778. },
  9779. "usedquota": {
  9780. "description": "已占用资金",
  9781. "type": "number"
  9782. },
  9783. "userid": {
  9784. "description": "所属机构",
  9785. "type": "integer"
  9786. }
  9787. }
  9788. },
  9789. "erms2.QueryInnerTradeDetailRsp": {
  9790. "type": "object",
  9791. "required": [
  9792. "asapplyid",
  9793. "buyorsell",
  9794. "goodscode",
  9795. "goodsgroupid",
  9796. "goodsgroupname",
  9797. "goodsname",
  9798. "tradeid"
  9799. ],
  9800. "properties": {
  9801. "accountid": {
  9802. "description": "账号ID",
  9803. "type": "integer"
  9804. },
  9805. "agreeunit": {
  9806. "description": "合约单位",
  9807. "type": "number"
  9808. },
  9809. "asapplyid": {
  9810. "description": "策略申请ID",
  9811. "type": "integer"
  9812. },
  9813. "asname": {
  9814. "description": "策略名称",
  9815. "type": "string"
  9816. },
  9817. "asno": {
  9818. "description": "策略编号",
  9819. "type": "string"
  9820. },
  9821. "buyorsell": {
  9822. "description": "方向 - 0:买 1:卖",
  9823. "type": "integer"
  9824. },
  9825. "channelbuildtype": {
  9826. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  9827. "type": "integer"
  9828. },
  9829. "closetype": {
  9830. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  9831. "type": "integer"
  9832. },
  9833. "decimalplace": {
  9834. "description": "报价小数位",
  9835. "type": "integer"
  9836. },
  9837. "detailtype": {
  9838. "description": "明细类型 - 1:套利对冲 2:期货换月 3:期货仓位调整",
  9839. "type": "integer"
  9840. },
  9841. "exexchangecode": {
  9842. "description": "外部交易所代码",
  9843. "type": "string"
  9844. },
  9845. "exexchangename": {
  9846. "description": "外部交易所名称",
  9847. "type": "string"
  9848. },
  9849. "goodscode": {
  9850. "description": "商品代码(合约)",
  9851. "type": "string"
  9852. },
  9853. "goodsgroupid": {
  9854. "description": "商品组ID(品种ID)",
  9855. "type": "integer"
  9856. },
  9857. "goodsgroupname": {
  9858. "description": "商品组名称(品种)",
  9859. "type": "string"
  9860. },
  9861. "goodsid": {
  9862. "description": "商品ID",
  9863. "type": "integer"
  9864. },
  9865. "goodsname": {
  9866. "description": "商品名称(合约)",
  9867. "type": "string"
  9868. },
  9869. "goodunit": {
  9870. "description": "报价单位",
  9871. "type": "string"
  9872. },
  9873. "marketid": {
  9874. "description": "市场ID",
  9875. "type": "integer"
  9876. },
  9877. "orderid": {
  9878. "description": "委托单号",
  9879. "type": "string"
  9880. },
  9881. "outgoodscode": {
  9882. "description": "商品代码(外部)",
  9883. "type": "string"
  9884. },
  9885. "relatedouttradeid": {
  9886. "description": "关联外部成交单ID",
  9887. "type": "string"
  9888. },
  9889. "remark": {
  9890. "description": "备注",
  9891. "type": "string"
  9892. },
  9893. "spotcontractid": {
  9894. "description": "现货合同ID [1:套利对冲 为合同ID,2:期货换月\\3:期货仓位调整时为0]",
  9895. "type": "integer"
  9896. },
  9897. "spotcontractno": {
  9898. "description": "现货合同编号",
  9899. "type": "string"
  9900. },
  9901. "tradeid": {
  9902. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  9903. "type": "string"
  9904. },
  9905. "tradeprice": {
  9906. "description": "成交价格",
  9907. "type": "number"
  9908. },
  9909. "tradeqty": {
  9910. "description": "成交数量",
  9911. "type": "integer"
  9912. },
  9913. "tradetime": {
  9914. "description": "成交时间",
  9915. "type": "string"
  9916. },
  9917. "updatetime": {
  9918. "description": "更新时间",
  9919. "type": "string"
  9920. }
  9921. }
  9922. },
  9923. "erms2.QuerySpotContractRsp": {
  9924. "type": "object",
  9925. "required": [
  9926. "spotcontractid"
  9927. ],
  9928. "properties": {
  9929. "accountid": {
  9930. "description": "资金账户ID",
  9931. "type": "integer"
  9932. },
  9933. "areauserid": {
  9934. "description": "所属机构",
  9935. "type": "integer"
  9936. },
  9937. "closedate": {
  9938. "description": "终止日期",
  9939. "type": "string"
  9940. },
  9941. "closeremark": {
  9942. "description": "结束备注",
  9943. "type": "string"
  9944. },
  9945. "closetradedate": {
  9946. "description": "完结交易日(yyyyMMdd)",
  9947. "type": "string"
  9948. },
  9949. "closetype": {
  9950. "description": "终止类型 - 1:违约 2:提前终止",
  9951. "type": "integer"
  9952. },
  9953. "contractamount": {
  9954. "description": "合同金额",
  9955. "type": "number"
  9956. },
  9957. "contractattachment": {
  9958. "description": "合同附件",
  9959. "type": "string"
  9960. },
  9961. "contractno": {
  9962. "description": "现货合同编号",
  9963. "type": "string"
  9964. },
  9965. "contractqty": {
  9966. "description": "合同数量(数值) (用于计算)",
  9967. "type": "number"
  9968. },
  9969. "contractqtychar": {
  9970. "description": "合同数量\\已订价数量 (用于显示)",
  9971. "type": "string"
  9972. },
  9973. "contractstatus": {
  9974. "description": "合同状态 - 0:未结束 1:已结束",
  9975. "type": "integer"
  9976. },
  9977. "contracttype": {
  9978. "description": "现货合同类型 - 1:采购合同 -1:销售合同",
  9979. "type": "integer"
  9980. },
  9981. "customeraccountid": {
  9982. "description": "客户资金账户ID",
  9983. "type": "integer"
  9984. },
  9985. "customeruserid": {
  9986. "description": "客户ID",
  9987. "type": "integer"
  9988. },
  9989. "deliverygoodsdesc": {
  9990. "description": "品种说明",
  9991. "type": "string"
  9992. },
  9993. "deliverygoodsid": {
  9994. "description": "现货品种ID",
  9995. "type": "integer"
  9996. },
  9997. "handlestatus": {
  9998. "description": "处理状态",
  9999. "type": "integer"
  10000. },
  10001. "invoiceatt": {
  10002. "description": "发票附件",
  10003. "type": "string"
  10004. },
  10005. "invoicedatetime": {
  10006. "description": "开收票更新时间",
  10007. "type": "string"
  10008. },
  10009. "invoiceopentime": {
  10010. "description": "开票时间",
  10011. "type": "string"
  10012. },
  10013. "invoiceremark": {
  10014. "description": "发票备注",
  10015. "type": "string"
  10016. },
  10017. "invoicestatus": {
  10018. "description": "开收票状态 - 0:未开票 1:已开票",
  10019. "type": "integer"
  10020. },
  10021. "lastdate": {
  10022. "description": "交货时间",
  10023. "type": "string"
  10024. },
  10025. "marketid": {
  10026. "description": "市场ID",
  10027. "type": "integer"
  10028. },
  10029. "paydatetime": {
  10030. "description": "收付款更新时间",
  10031. "type": "string"
  10032. },
  10033. "payremark": {
  10034. "description": "收付款备注",
  10035. "type": "string"
  10036. },
  10037. "paystatus": {
  10038. "description": "收付款状态 - 0:未支付 1:已收款 2:已付款",
  10039. "type": "integer"
  10040. },
  10041. "positionqty": {
  10042. "description": "头寸数量 - 合同数量去小数部分",
  10043. "type": "integer"
  10044. },
  10045. "producttype": {
  10046. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  10047. "type": "integer"
  10048. },
  10049. "relatedqty": {
  10050. "description": "已关联数量",
  10051. "type": "number"
  10052. },
  10053. "relatedstatus": {
  10054. "description": "关联完结状态 - 0:未结束 1:已结束",
  10055. "type": "integer"
  10056. },
  10057. "remark": {
  10058. "description": "备注",
  10059. "type": "string"
  10060. },
  10061. "signdate": {
  10062. "description": "签订日期",
  10063. "type": "string"
  10064. },
  10065. "spotcontractid": {
  10066. "description": "现货合同ID(701+Unix秒时间戳(10位)+xxxxxx)",
  10067. "type": "string"
  10068. },
  10069. "spotdatetime": {
  10070. "description": "收发货更新时间",
  10071. "type": "string"
  10072. },
  10073. "spotprice": {
  10074. "description": "价格",
  10075. "type": "number"
  10076. },
  10077. "spotremark": {
  10078. "description": "收发货备注",
  10079. "type": "string"
  10080. },
  10081. "spotstatus": {
  10082. "description": "收发货状态 - 0:未交收 1:已发货 2:已发货",
  10083. "type": "integer"
  10084. },
  10085. "tradedate": {
  10086. "description": "交易日(yyyyMMdd)",
  10087. "type": "string"
  10088. },
  10089. "userid": {
  10090. "description": "业务员用户ID",
  10091. "type": "integer"
  10092. },
  10093. "warehouseid": {
  10094. "description": "仓库ID",
  10095. "type": "integer"
  10096. },
  10097. "wrfactortypeid": {
  10098. "description": "仓单要素类型ID",
  10099. "type": "integer"
  10100. },
  10101. "wrstandardid": {
  10102. "description": "仓单标准ID(SEQ_WRSTANDARD)",
  10103. "type": "integer"
  10104. }
  10105. }
  10106. },
  10107. "erms3.AddErms2ASApplyReq": {
  10108. "type": "object",
  10109. "required": [
  10110. "asapplyid"
  10111. ],
  10112. "properties": {
  10113. "applybasis": {
  10114. "description": "申请基差",
  10115. "type": "number"
  10116. },
  10117. "applystatus": {
  10118. "description": "申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  10119. "type": "integer"
  10120. },
  10121. "asapplyid": {
  10122. "description": "策略申请ID(342+Unix秒时间戳(10位)+xxxxxx)",
  10123. "type": "integer"
  10124. },
  10125. "asname": {
  10126. "description": "策略名称",
  10127. "type": "string"
  10128. },
  10129. "asno": {
  10130. "description": "策略编号",
  10131. "type": "string"
  10132. },
  10133. "auditid": {
  10134. "description": "审核人",
  10135. "type": "integer"
  10136. },
  10137. "auditremark": {
  10138. "description": "审核备注",
  10139. "type": "string"
  10140. },
  10141. "audittime": {
  10142. "description": "审核时间",
  10143. "type": "string"
  10144. },
  10145. "biztype": {
  10146. "description": "业务类型 - 1:正向套利 2:反向套利",
  10147. "type": "integer"
  10148. },
  10149. "createtime": {
  10150. "description": "创建时间",
  10151. "type": "string"
  10152. },
  10153. "creatorid": {
  10154. "description": "创建人",
  10155. "type": "integer"
  10156. },
  10157. "deliverygoodsid": {
  10158. "description": "现货品种ID",
  10159. "type": "integer"
  10160. },
  10161. "futurequote": {
  10162. "description": "期货额度",
  10163. "type": "number"
  10164. },
  10165. "goodsgroupid": {
  10166. "description": "期货品种ID",
  10167. "type": "integer"
  10168. },
  10169. "marketid": {
  10170. "description": "市场ID",
  10171. "type": "integer"
  10172. },
  10173. "remark": {
  10174. "description": "备注",
  10175. "type": "string"
  10176. },
  10177. "spotquota": {
  10178. "description": "现货额度",
  10179. "type": "number"
  10180. },
  10181. "tradedate": {
  10182. "description": "交易日(yyyyMMdd)",
  10183. "type": "string"
  10184. },
  10185. "userid": {
  10186. "description": "所属机构",
  10187. "type": "integer"
  10188. }
  10189. }
  10190. },
  10191. "erms3.AddErms2SpotTradeApplyReq": {
  10192. "type": "object",
  10193. "required": [
  10194. "spottradeid"
  10195. ],
  10196. "properties": {
  10197. "applyjsondetail": {
  10198. "description": "申请明细(JSON)",
  10199. "type": "string"
  10200. },
  10201. "applystatus": {
  10202. "description": "申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  10203. "type": "integer"
  10204. },
  10205. "areauserid": {
  10206. "description": "所属机构",
  10207. "type": "integer"
  10208. },
  10209. "auditid": {
  10210. "description": "审核人",
  10211. "type": "integer"
  10212. },
  10213. "auditremark": {
  10214. "description": "审核备注",
  10215. "type": "string"
  10216. },
  10217. "audittime": {
  10218. "description": "审核时间",
  10219. "type": "string"
  10220. },
  10221. "createtime": {
  10222. "description": "创建时间",
  10223. "type": "string"
  10224. },
  10225. "creatorid": {
  10226. "description": "创建人",
  10227. "type": "integer"
  10228. },
  10229. "deliverygoodsid": {
  10230. "description": "现货品种ID",
  10231. "type": "integer"
  10232. },
  10233. "futureaccountid": {
  10234. "description": "期货资金账户",
  10235. "type": "integer"
  10236. },
  10237. "goodsgroupid": {
  10238. "description": "期货品种",
  10239. "type": "integer"
  10240. },
  10241. "marketid": {
  10242. "description": "市场ID",
  10243. "type": "integer"
  10244. },
  10245. "remark": {
  10246. "description": "备注",
  10247. "type": "string"
  10248. },
  10249. "spotaccountid": {
  10250. "description": "现货资金账户",
  10251. "type": "integer"
  10252. },
  10253. "spottradeid": {
  10254. "description": "业务ID(341+Unix秒时间戳(10位)+xxxxxx)",
  10255. "type": "integer"
  10256. },
  10257. "spottradename": {
  10258. "description": "业务名称",
  10259. "type": "string"
  10260. },
  10261. "spottradeno": {
  10262. "description": "业务编号",
  10263. "type": "string"
  10264. },
  10265. "tradedate": {
  10266. "description": "交易日(yyyyMMdd)",
  10267. "type": "string"
  10268. },
  10269. "wrstandardid": {
  10270. "description": "仓单标准ID",
  10271. "type": "integer"
  10272. }
  10273. }
  10274. },
  10275. "erms3.AddSpotContractApplyReq": {
  10276. "type": "object",
  10277. "required": [
  10278. "accountid",
  10279. "areauserid",
  10280. "contractno",
  10281. "contracttype",
  10282. "customeraccountid",
  10283. "customeruserid",
  10284. "details",
  10285. "orimargin",
  10286. "signdate"
  10287. ],
  10288. "properties": {
  10289. "accountid": {
  10290. "description": "资金账户ID",
  10291. "type": "integer"
  10292. },
  10293. "areauserid": {
  10294. "description": "所属机构",
  10295. "type": "integer"
  10296. },
  10297. "contractattachment": {
  10298. "description": "合同附件",
  10299. "type": "string"
  10300. },
  10301. "contractno": {
  10302. "description": "现货合同编号",
  10303. "type": "string"
  10304. },
  10305. "contracttype": {
  10306. "description": "现货合同类型 - 1:采购 -1:销售",
  10307. "type": "integer"
  10308. },
  10309. "creatorid": {
  10310. "description": "申请人",
  10311. "type": "integer"
  10312. },
  10313. "customeraccountid": {
  10314. "description": "客户资金账户ID",
  10315. "type": "integer"
  10316. },
  10317. "customeruserid": {
  10318. "description": "客户ID",
  10319. "type": "integer"
  10320. },
  10321. "details": {
  10322. "description": "明细",
  10323. "type": "array",
  10324. "items": {
  10325. "$ref": "#/definitions/erms3.SoptContractDetail"
  10326. }
  10327. },
  10328. "orimargin": {
  10329. "description": "初始保证金",
  10330. "type": "number"
  10331. },
  10332. "remark": {
  10333. "description": "备注",
  10334. "type": "string"
  10335. },
  10336. "signdate": {
  10337. "description": "签订日期",
  10338. "type": "string"
  10339. }
  10340. }
  10341. },
  10342. "erms3.AddSpotContractApplyRsp": {
  10343. "type": "object",
  10344. "required": [
  10345. "contractno"
  10346. ],
  10347. "properties": {
  10348. "contractno": {
  10349. "description": "现货合同编号",
  10350. "type": "string"
  10351. },
  10352. "spotcontractid": {
  10353. "description": "现货合同ID(345+Unix秒时间戳(10位)+xxxxxx)",
  10354. "type": "integer"
  10355. }
  10356. }
  10357. },
  10358. "erms3.AddUserInfoApplyReq": {
  10359. "type": "object",
  10360. "required": [
  10361. "userid"
  10362. ],
  10363. "properties": {
  10364. "accountid": {
  10365. "description": "交易系统帐号Id (加密存储)",
  10366. "type": "integer"
  10367. },
  10368. "areacode": {
  10369. "description": "机构代码",
  10370. "type": "string"
  10371. },
  10372. "areaid": {
  10373. "description": "机构Id",
  10374. "type": "integer"
  10375. },
  10376. "attachment1": {
  10377. "description": "附件1",
  10378. "type": "string"
  10379. },
  10380. "attachment2": {
  10381. "description": "附件2",
  10382. "type": "string"
  10383. },
  10384. "attachment3": {
  10385. "description": "附件3",
  10386. "type": "string"
  10387. },
  10388. "attachment4": {
  10389. "description": "附件4",
  10390. "type": "string"
  10391. },
  10392. "attachment5": {
  10393. "description": "附件5",
  10394. "type": "string"
  10395. },
  10396. "auditedby": {
  10397. "description": "审核人",
  10398. "type": "string"
  10399. },
  10400. "auditime": {
  10401. "description": "审核时间",
  10402. "type": "string"
  10403. },
  10404. "bankaccount": {
  10405. "description": "银行帐号 (加密存储)",
  10406. "type": "string"
  10407. },
  10408. "bankaccountname": {
  10409. "description": "收款人名称",
  10410. "type": "string"
  10411. },
  10412. "bankcardbackphotourl": {
  10413. "description": "银行卡背面照地址",
  10414. "type": "string"
  10415. },
  10416. "bankcardfrontphotourl": {
  10417. "description": "银行卡正面照地址",
  10418. "type": "string"
  10419. },
  10420. "bankid": {
  10421. "description": "银行编码",
  10422. "type": "string"
  10423. },
  10424. "bankname": {
  10425. "description": "银行名称",
  10426. "type": "string"
  10427. },
  10428. "bankpictureurl": {
  10429. "description": "银行卡正面地址",
  10430. "type": "string"
  10431. },
  10432. "biznature": {
  10433. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  10434. "type": "integer"
  10435. },
  10436. "bizscope": {
  10437. "description": "企业经营范围(企业)",
  10438. "type": "string"
  10439. },
  10440. "biztype": {
  10441. "description": "企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储",
  10442. "type": "integer"
  10443. },
  10444. "brokerid": {
  10445. "description": "经纪人ID(加密存储)",
  10446. "type": "string"
  10447. },
  10448. "cardaddress": {
  10449. "description": "证件地址 (加密存储)",
  10450. "type": "string"
  10451. },
  10452. "cardbackphotourl": {
  10453. "description": "背面证件照地址",
  10454. "type": "string"
  10455. },
  10456. "cardfrontphotourl": {
  10457. "description": "正面证件照地址",
  10458. "type": "string"
  10459. },
  10460. "cardnum": {
  10461. "description": "证件号码 (加密存储)",
  10462. "type": "string"
  10463. },
  10464. "cardtype": {
  10465. "description": "证件类型",
  10466. "type": "integer"
  10467. },
  10468. "cityid": {
  10469. "description": "市",
  10470. "type": "integer"
  10471. },
  10472. "company": {
  10473. "description": "公司(个人)",
  10474. "type": "string"
  10475. },
  10476. "contactcardbackphotourl": {
  10477. "description": "联系人证件背面图片地址",
  10478. "type": "string"
  10479. },
  10480. "contactcardfrontphotourl": {
  10481. "description": "联系人证件正面图片地址",
  10482. "type": "string"
  10483. },
  10484. "contactname": {
  10485. "description": "联系人",
  10486. "type": "string"
  10487. },
  10488. "countryid": {
  10489. "description": "国家",
  10490. "type": "integer"
  10491. },
  10492. "createtime": {
  10493. "description": "开户申请时间",
  10494. "type": "string"
  10495. },
  10496. "cusbankid": {
  10497. "description": "签约类型",
  10498. "type": "string"
  10499. },
  10500. "cusbankname": {
  10501. "description": "签约类型名称",
  10502. "type": "string"
  10503. },
  10504. "customername": {
  10505. "description": "客户名称(企业名称)",
  10506. "type": "string"
  10507. },
  10508. "districtid": {
  10509. "description": "地区",
  10510. "type": "integer"
  10511. },
  10512. "email": {
  10513. "description": "Email地址(加密存储)",
  10514. "type": "string"
  10515. },
  10516. "halfbodyphotourl": {
  10517. "description": "半身照地址",
  10518. "type": "string"
  10519. },
  10520. "headurl": {
  10521. "description": "头像地址",
  10522. "type": "string"
  10523. },
  10524. "ipaddress": {
  10525. "description": "IP地址",
  10526. "type": "string"
  10527. },
  10528. "isvalidate": {
  10529. "description": "是否有效 (删除后标记为失效) - 0:无效 1:有效",
  10530. "type": "string"
  10531. },
  10532. "legalcardbackphotourl": {
  10533. "description": "法人身份证背面照地址",
  10534. "type": "string"
  10535. },
  10536. "legalcardfrontphotourl": {
  10537. "description": "法人身份证正面照地址",
  10538. "type": "string"
  10539. },
  10540. "legalpersonname": {
  10541. "description": "法人姓名(企业)",
  10542. "type": "string"
  10543. },
  10544. "logincode": {
  10545. "description": "登录帐号 (加密存储)",
  10546. "type": "string"
  10547. },
  10548. "memberareaid": {
  10549. "description": "所属会员ID",
  10550. "type": "integer"
  10551. },
  10552. "mobile2": {
  10553. "description": "手机号码[明文-尚志]",
  10554. "type": "string"
  10555. },
  10556. "mobilephone": {
  10557. "description": "手机号码 (加密存储)",
  10558. "type": "string"
  10559. },
  10560. "modifiedby": {
  10561. "description": "修改人帐号",
  10562. "type": "integer"
  10563. },
  10564. "modifiedtime": {
  10565. "description": "修改时间",
  10566. "type": "string"
  10567. },
  10568. "nickname": {
  10569. "description": "昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)",
  10570. "type": "string"
  10571. },
  10572. "openmode": {
  10573. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)",
  10574. "type": "integer"
  10575. },
  10576. "otherurl": {
  10577. "description": "其它图片地址[使用分号分隔]",
  10578. "type": "string"
  10579. },
  10580. "postalcode": {
  10581. "description": "邮政编码",
  10582. "type": "string"
  10583. },
  10584. "provinceid": {
  10585. "description": "省",
  10586. "type": "integer"
  10587. },
  10588. "proxystatementurl": {
  10589. "description": "授权委托书",
  10590. "type": "string"
  10591. },
  10592. "qq": {
  10593. "description": "QQ(加密存储",
  10594. "type": "string"
  10595. },
  10596. "referral": {
  10597. "description": "推荐人编码",
  10598. "type": "string"
  10599. },
  10600. "remark": {
  10601. "description": "备注",
  10602. "type": "string"
  10603. },
  10604. "removebeforestatus": {
  10605. "description": "REMOVEBEFORESTATUS",
  10606. "type": "integer"
  10607. },
  10608. "sex": {
  10609. "description": "性别 - 0:女 1:男",
  10610. "type": "integer"
  10611. },
  10612. "signedstatus": {
  10613. "description": "账户一号签签约状态",
  10614. "type": "integer"
  10615. },
  10616. "signpdfurl": {
  10617. "description": "签约pdf文件",
  10618. "type": "string"
  10619. },
  10620. "subbranch": {
  10621. "description": "开户支行",
  10622. "type": "string"
  10623. },
  10624. "telphone": {
  10625. "description": "联系电话(加密存储)",
  10626. "type": "string"
  10627. },
  10628. "userid": {
  10629. "description": "用户ID(自增ID)",
  10630. "type": "integer"
  10631. },
  10632. "userinfotype": {
  10633. "description": "用户信息类型 - 1:个人 2:企业",
  10634. "type": "integer"
  10635. },
  10636. "username": {
  10637. "description": "用户姓名",
  10638. "type": "string"
  10639. },
  10640. "userstate": {
  10641. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  10642. "type": "integer"
  10643. },
  10644. "usertype": {
  10645. "description": "用户类型 - 1:投资者 2:机构",
  10646. "type": "integer"
  10647. },
  10648. "videourl": {
  10649. "description": "视频地址",
  10650. "type": "string"
  10651. },
  10652. "wechat": {
  10653. "description": "微信号 (加密存储)",
  10654. "type": "string"
  10655. }
  10656. }
  10657. },
  10658. "erms3.CustomerInfo": {
  10659. "type": "object",
  10660. "required": [
  10661. "userid"
  10662. ],
  10663. "properties": {
  10664. "accountids": {
  10665. "description": "资金账户ID列表",
  10666. "type": "array",
  10667. "items": {
  10668. "type": "integer"
  10669. }
  10670. },
  10671. "customername": {
  10672. "description": "名称(企业名称)",
  10673. "type": "string"
  10674. },
  10675. "mobile": {
  10676. "description": "手机号码",
  10677. "type": "string"
  10678. },
  10679. "userid": {
  10680. "description": "用户ID",
  10681. "type": "integer"
  10682. }
  10683. }
  10684. },
  10685. "erms3.ModifyUserInfoApplyReq": {
  10686. "type": "object",
  10687. "required": [
  10688. "userid"
  10689. ],
  10690. "properties": {
  10691. "accountid": {
  10692. "description": "交易系统帐号Id (加密存储)",
  10693. "type": "integer"
  10694. },
  10695. "areacode": {
  10696. "description": "机构代码",
  10697. "type": "string"
  10698. },
  10699. "areaid": {
  10700. "description": "机构Id",
  10701. "type": "integer"
  10702. },
  10703. "attachment1": {
  10704. "description": "附件1",
  10705. "type": "string"
  10706. },
  10707. "attachment2": {
  10708. "description": "附件2",
  10709. "type": "string"
  10710. },
  10711. "attachment3": {
  10712. "description": "附件3",
  10713. "type": "string"
  10714. },
  10715. "attachment4": {
  10716. "description": "附件4",
  10717. "type": "string"
  10718. },
  10719. "attachment5": {
  10720. "description": "附件5",
  10721. "type": "string"
  10722. },
  10723. "auditedby": {
  10724. "description": "审核人",
  10725. "type": "string"
  10726. },
  10727. "auditime": {
  10728. "description": "审核时间",
  10729. "type": "string"
  10730. },
  10731. "bankaccount": {
  10732. "description": "银行帐号 (加密存储)",
  10733. "type": "string"
  10734. },
  10735. "bankaccountname": {
  10736. "description": "收款人名称",
  10737. "type": "string"
  10738. },
  10739. "bankcardbackphotourl": {
  10740. "description": "银行卡背面照地址",
  10741. "type": "string"
  10742. },
  10743. "bankcardfrontphotourl": {
  10744. "description": "银行卡正面照地址",
  10745. "type": "string"
  10746. },
  10747. "bankid": {
  10748. "description": "银行编码",
  10749. "type": "string"
  10750. },
  10751. "bankname": {
  10752. "description": "银行名称",
  10753. "type": "string"
  10754. },
  10755. "bankpictureurl": {
  10756. "description": "银行卡正面地址",
  10757. "type": "string"
  10758. },
  10759. "biznature": {
  10760. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  10761. "type": "integer"
  10762. },
  10763. "bizscope": {
  10764. "description": "企业经营范围(企业)",
  10765. "type": "string"
  10766. },
  10767. "biztype": {
  10768. "description": "企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储",
  10769. "type": "integer"
  10770. },
  10771. "brokerid": {
  10772. "description": "经纪人ID(加密存储)",
  10773. "type": "string"
  10774. },
  10775. "cardaddress": {
  10776. "description": "证件地址 (加密存储)",
  10777. "type": "string"
  10778. },
  10779. "cardbackphotourl": {
  10780. "description": "背面证件照地址",
  10781. "type": "string"
  10782. },
  10783. "cardfrontphotourl": {
  10784. "description": "正面证件照地址",
  10785. "type": "string"
  10786. },
  10787. "cardnum": {
  10788. "description": "证件号码 (加密存储)",
  10789. "type": "string"
  10790. },
  10791. "cardtype": {
  10792. "description": "证件类型",
  10793. "type": "integer"
  10794. },
  10795. "cityid": {
  10796. "description": "市",
  10797. "type": "integer"
  10798. },
  10799. "company": {
  10800. "description": "公司(个人)",
  10801. "type": "string"
  10802. },
  10803. "contactcardbackphotourl": {
  10804. "description": "联系人证件背面图片地址",
  10805. "type": "string"
  10806. },
  10807. "contactcardfrontphotourl": {
  10808. "description": "联系人证件正面图片地址",
  10809. "type": "string"
  10810. },
  10811. "contactname": {
  10812. "description": "联系人",
  10813. "type": "string"
  10814. },
  10815. "countryid": {
  10816. "description": "国家",
  10817. "type": "integer"
  10818. },
  10819. "createtime": {
  10820. "description": "开户申请时间",
  10821. "type": "string"
  10822. },
  10823. "cusbankid": {
  10824. "description": "签约类型",
  10825. "type": "string"
  10826. },
  10827. "cusbankname": {
  10828. "description": "签约类型名称",
  10829. "type": "string"
  10830. },
  10831. "customername": {
  10832. "description": "客户名称(企业名称)",
  10833. "type": "string"
  10834. },
  10835. "districtid": {
  10836. "description": "地区",
  10837. "type": "integer"
  10838. },
  10839. "email": {
  10840. "description": "Email地址(加密存储)",
  10841. "type": "string"
  10842. },
  10843. "halfbodyphotourl": {
  10844. "description": "半身照地址",
  10845. "type": "string"
  10846. },
  10847. "headurl": {
  10848. "description": "头像地址",
  10849. "type": "string"
  10850. },
  10851. "ipaddress": {
  10852. "description": "IP地址",
  10853. "type": "string"
  10854. },
  10855. "isvalidate": {
  10856. "description": "是否有效 (删除后标记为失效) - 0:无效 1:有效",
  10857. "type": "string"
  10858. },
  10859. "legalcardbackphotourl": {
  10860. "description": "法人身份证背面照地址",
  10861. "type": "string"
  10862. },
  10863. "legalcardfrontphotourl": {
  10864. "description": "法人身份证正面照地址",
  10865. "type": "string"
  10866. },
  10867. "legalpersonname": {
  10868. "description": "法人姓名(企业)",
  10869. "type": "string"
  10870. },
  10871. "logincode": {
  10872. "description": "登录帐号 (加密存储)",
  10873. "type": "string"
  10874. },
  10875. "memberareaid": {
  10876. "description": "所属会员ID",
  10877. "type": "integer"
  10878. },
  10879. "mobile2": {
  10880. "description": "手机号码[明文-尚志]",
  10881. "type": "string"
  10882. },
  10883. "mobilephone": {
  10884. "description": "手机号码 (加密存储)",
  10885. "type": "string"
  10886. },
  10887. "modifiedby": {
  10888. "description": "修改人帐号",
  10889. "type": "integer"
  10890. },
  10891. "modifiedtime": {
  10892. "description": "修改时间",
  10893. "type": "string"
  10894. },
  10895. "nickname": {
  10896. "description": "昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)",
  10897. "type": "string"
  10898. },
  10899. "openmode": {
  10900. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)",
  10901. "type": "integer"
  10902. },
  10903. "otherurl": {
  10904. "description": "其它图片地址[使用分号分隔]",
  10905. "type": "string"
  10906. },
  10907. "postalcode": {
  10908. "description": "邮政编码",
  10909. "type": "string"
  10910. },
  10911. "provinceid": {
  10912. "description": "省",
  10913. "type": "integer"
  10914. },
  10915. "proxystatementurl": {
  10916. "description": "授权委托书",
  10917. "type": "string"
  10918. },
  10919. "qq": {
  10920. "description": "QQ(加密存储",
  10921. "type": "string"
  10922. },
  10923. "referral": {
  10924. "description": "推荐人编码",
  10925. "type": "string"
  10926. },
  10927. "remark": {
  10928. "description": "备注",
  10929. "type": "string"
  10930. },
  10931. "removebeforestatus": {
  10932. "description": "REMOVEBEFORESTATUS",
  10933. "type": "integer"
  10934. },
  10935. "sex": {
  10936. "description": "性别 - 0:女 1:男",
  10937. "type": "integer"
  10938. },
  10939. "signedstatus": {
  10940. "description": "账户一号签签约状态",
  10941. "type": "integer"
  10942. },
  10943. "signpdfurl": {
  10944. "description": "签约pdf文件",
  10945. "type": "string"
  10946. },
  10947. "subbranch": {
  10948. "description": "开户支行",
  10949. "type": "string"
  10950. },
  10951. "telphone": {
  10952. "description": "联系电话(加密存储)",
  10953. "type": "string"
  10954. },
  10955. "userid": {
  10956. "description": "用户ID(自增ID)",
  10957. "type": "integer"
  10958. },
  10959. "userinfotype": {
  10960. "description": "用户信息类型 - 1:个人 2:企业",
  10961. "type": "integer"
  10962. },
  10963. "username": {
  10964. "description": "用户姓名",
  10965. "type": "string"
  10966. },
  10967. "userstate": {
  10968. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  10969. "type": "integer"
  10970. },
  10971. "usertype": {
  10972. "description": "用户类型 - 1:投资者 2:机构",
  10973. "type": "integer"
  10974. },
  10975. "videourl": {
  10976. "description": "视频地址",
  10977. "type": "string"
  10978. },
  10979. "wechat": {
  10980. "description": "微信号 (加密存储)",
  10981. "type": "string"
  10982. }
  10983. }
  10984. },
  10985. "erms3.QryAuditContractRsp": {
  10986. "type": "object",
  10987. "required": [
  10988. "matchcustomername",
  10989. "spotcontractid"
  10990. ],
  10991. "properties": {
  10992. "accountid": {
  10993. "description": "交易员ID",
  10994. "type": "string"
  10995. },
  10996. "applystatus": {
  10997. "description": "申请状态 - 0:未审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  10998. "type": "integer"
  10999. },
  11000. "curdeliveryqty": {
  11001. "description": "未交收量",
  11002. "type": "integer"
  11003. },
  11004. "customername": {
  11005. "description": "采购方ID",
  11006. "type": "string"
  11007. },
  11008. "deliverygoodsid": {
  11009. "description": "品种ID",
  11010. "type": "string"
  11011. },
  11012. "deliveryqty": {
  11013. "description": "交收量",
  11014. "type": "integer"
  11015. },
  11016. "enumdicname": {
  11017. "description": "单位名称",
  11018. "type": "string"
  11019. },
  11020. "matchaccountid": {
  11021. "description": "业务员ID",
  11022. "type": "string"
  11023. },
  11024. "matchcustomername": {
  11025. "description": "销售方ID",
  11026. "type": "string"
  11027. },
  11028. "pricedqty": {
  11029. "description": "定价量",
  11030. "type": "number"
  11031. },
  11032. "signdate": {
  11033. "description": "签订日期",
  11034. "type": "string"
  11035. },
  11036. "spotcontractid": {
  11037. "description": "合同ID",
  11038. "type": "string"
  11039. },
  11040. "totaldqty": {
  11041. "description": "合同量",
  11042. "type": "number"
  11043. },
  11044. "unpricedqty": {
  11045. "description": "未定价量",
  11046. "type": "number"
  11047. },
  11048. "wrstandardname": {
  11049. "description": "商品名称",
  11050. "type": "string"
  11051. }
  11052. }
  11053. },
  11054. "erms3.QryPendingBizRsp": {
  11055. "type": "object",
  11056. "properties": {
  11057. "accountid": {
  11058. "description": "现货账户",
  11059. "type": "string"
  11060. },
  11061. "areaname": {
  11062. "description": "所属部门",
  11063. "type": "string"
  11064. },
  11065. "bizid": {
  11066. "description": "业务ID",
  11067. "type": "string"
  11068. },
  11069. "bizname": {
  11070. "description": "业务名称",
  11071. "type": "string"
  11072. },
  11073. "status": {
  11074. "description": "状态,0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  11075. "type": "integer"
  11076. },
  11077. "type": {
  11078. "description": "业务类型,1-期现套利,2-仓单回购,3-现货贸易",
  11079. "type": "integer"
  11080. }
  11081. }
  11082. },
  11083. "erms3.QueryBusinessInfoRsp": {
  11084. "type": "object",
  11085. "properties": {
  11086. "businessid": {
  11087. "description": "业务ID.",
  11088. "type": "integer"
  11089. },
  11090. "buyamount": {
  11091. "description": "采购额.",
  11092. "type": "number"
  11093. },
  11094. "buyqty": {
  11095. "description": "采购量.",
  11096. "type": "string"
  11097. },
  11098. "futurepl": {
  11099. "description": "期货盈亏.",
  11100. "type": "number"
  11101. },
  11102. "futureqty": {
  11103. "description": "期货敞口.",
  11104. "type": "string"
  11105. },
  11106. "goodsid": {
  11107. "description": "商品名称/商品代码.",
  11108. "type": "string"
  11109. },
  11110. "hedgingqty": {
  11111. "description": "套保量.",
  11112. "type": "string"
  11113. },
  11114. "sellamount": {
  11115. "description": "销售额.",
  11116. "type": "number"
  11117. },
  11118. "sellqty": {
  11119. "description": "销售量.",
  11120. "type": "string"
  11121. },
  11122. "spotmarketvalue": {
  11123. "description": "现货市值.",
  11124. "type": "number"
  11125. },
  11126. "spotpl": {
  11127. "description": "浮动权益.",
  11128. "type": "number"
  11129. },
  11130. "spotqty": {
  11131. "description": "现货量.",
  11132. "type": "string"
  11133. },
  11134. "statu": {
  11135. "description": "状态,0-未结束 1-已结束.",
  11136. "type": "integer"
  11137. },
  11138. "totalpl": {
  11139. "description": "总盈亏.",
  11140. "type": "number"
  11141. },
  11142. "totalqty": {
  11143. "description": "总敞口.",
  11144. "type": "string"
  11145. },
  11146. "type": {
  11147. "description": "业务类型,1-期现套利,2-仓单回购,3-现货贸易.",
  11148. "type": "integer"
  11149. }
  11150. }
  11151. },
  11152. "erms3.QuerySpotContractAppleFormRsp": {
  11153. "type": "object",
  11154. "properties": {
  11155. "goodses": {
  11156. "description": "合约列表",
  11157. "type": "array",
  11158. "items": {
  11159. "$ref": "#/definitions/models.GoodsIDAndName"
  11160. }
  11161. },
  11162. "oppositeusers": {
  11163. "description": "对方账号列表",
  11164. "type": "array",
  11165. "items": {
  11166. "$ref": "#/definitions/erms3.CustomerInfo"
  11167. }
  11168. },
  11169. "ouruser": {
  11170. "description": "我方账号",
  11171. "$ref": "#/definitions/erms3.CustomerInfo"
  11172. },
  11173. "warehouseinfos": {
  11174. "description": "仓库信息列表",
  11175. "type": "array",
  11176. "items": {
  11177. "$ref": "#/definitions/models.Warehouseinfo"
  11178. }
  11179. },
  11180. "wrstandards": {
  11181. "description": "仓单标准列表",
  11182. "type": "array",
  11183. "items": {
  11184. "$ref": "#/definitions/models.WRStandardInfo"
  11185. }
  11186. }
  11187. }
  11188. },
  11189. "erms3.QuerySpotContractInfoRsp": {
  11190. "type": "object",
  11191. "properties": {
  11192. "accountid": {
  11193. "description": "表示交易员ID.",
  11194. "type": "integer"
  11195. },
  11196. "curdeliveryqty": {
  11197. "description": "表示未交收量.",
  11198. "type": "number"
  11199. },
  11200. "customername": {
  11201. "description": "若合同类型为采购合同,表示采购方ID;若合同类型为销售合同,表示销售方ID.",
  11202. "type": "string"
  11203. },
  11204. "deliverygoodsid": {
  11205. "description": "表示品种ID.",
  11206. "type": "string"
  11207. },
  11208. "deliveryqty": {
  11209. "description": "表示交收量.",
  11210. "type": "number"
  11211. },
  11212. "matchaccountid": {
  11213. "description": "表示业务员ID.",
  11214. "type": "integer"
  11215. },
  11216. "matchcustomername": {
  11217. "description": "若合同类型为采购合同,表示销售方;若合同类型为销售合同,表示采购方ID.",
  11218. "type": "string"
  11219. },
  11220. "priceqty": {
  11221. "description": "表示定价量.",
  11222. "type": "number"
  11223. },
  11224. "relatedbizid": {
  11225. "description": "表示业务ID.",
  11226. "type": "string"
  11227. },
  11228. "signdate": {
  11229. "description": "表示签订日期.",
  11230. "type": "string"
  11231. },
  11232. "spotcontractid": {
  11233. "description": "合同ID",
  11234. "type": "string"
  11235. },
  11236. "status": {
  11237. "description": "表示状态,0-履约中 1-已完成.",
  11238. "type": "integer"
  11239. },
  11240. "totalqty": {
  11241. "description": "表示合同量.",
  11242. "type": "number"
  11243. },
  11244. "unpricedqty": {
  11245. "description": "表示未定价量.",
  11246. "type": "number"
  11247. },
  11248. "wrstandardname": {
  11249. "description": "表示商品ID.",
  11250. "type": "string"
  11251. }
  11252. }
  11253. },
  11254. "erms3.QueryUserInfoAppliesRsp": {
  11255. "type": "object",
  11256. "required": [
  11257. "userid"
  11258. ],
  11259. "properties": {
  11260. "biznature": {
  11261. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  11262. "type": "integer"
  11263. },
  11264. "contactname": {
  11265. "description": "联系人",
  11266. "type": "string"
  11267. },
  11268. "createtime": {
  11269. "description": "开户申请时间",
  11270. "type": "string"
  11271. },
  11272. "userid": {
  11273. "description": "用户ID(自增ID)",
  11274. "type": "integer"
  11275. },
  11276. "userinfotype": {
  11277. "description": "用户信息类型 - 1:个人 2:企业",
  11278. "type": "integer"
  11279. },
  11280. "username": {
  11281. "description": "用户姓名",
  11282. "type": "string"
  11283. },
  11284. "userstate": {
  11285. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  11286. "type": "integer"
  11287. }
  11288. }
  11289. },
  11290. "erms3.QueryUserInfosRsp": {
  11291. "type": "object",
  11292. "required": [
  11293. "userid"
  11294. ],
  11295. "properties": {
  11296. "biznature": {
  11297. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  11298. "type": "integer"
  11299. },
  11300. "contactname": {
  11301. "description": "联系人",
  11302. "type": "string"
  11303. },
  11304. "customername": {
  11305. "description": "客户名称(企业名称)",
  11306. "type": "string"
  11307. },
  11308. "userid": {
  11309. "description": "用户ID",
  11310. "type": "integer"
  11311. },
  11312. "userinfotype": {
  11313. "description": "用户信息类型 - 1:个人 2:企业",
  11314. "type": "integer"
  11315. },
  11316. "userstatus": {
  11317. "description": "用户状态 - 1:正常 2:注销",
  11318. "type": "integer"
  11319. }
  11320. }
  11321. },
  11322. "erms3.SoptContractDetail": {
  11323. "type": "object",
  11324. "required": [
  11325. "deliverygoodsid",
  11326. "producttype",
  11327. "unitname",
  11328. "warehouseid",
  11329. "wrstandardid",
  11330. "wrstandardname"
  11331. ],
  11332. "properties": {
  11333. "deliverygoodsdesc": {
  11334. "description": "现货品种说明",
  11335. "type": "string"
  11336. },
  11337. "deliverygoodsid": {
  11338. "description": "现货品种ID",
  11339. "type": "integer"
  11340. },
  11341. "deliverygoodsname": {
  11342. "description": "现货品种名称",
  11343. "type": "string"
  11344. },
  11345. "pointdesc": {
  11346. "description": "点价描述",
  11347. "type": "string"
  11348. },
  11349. "producttype": {
  11350. "description": "产品类型 1:标准仓单 2:等标 3:非标",
  11351. "type": "integer"
  11352. },
  11353. "producttypename": {
  11354. "description": "产品类型名称",
  11355. "type": "string"
  11356. },
  11357. "spotPointOrderVoList": {
  11358. "description": "点价列表",
  11359. "type": "array",
  11360. "items": {
  11361. "$ref": "#/definitions/erms3.SpotPointOrder"
  11362. }
  11363. },
  11364. "spotPriceOrderList": {
  11365. "description": "定价列表",
  11366. "type": "array",
  11367. "items": {
  11368. "$ref": "#/definitions/erms3.SpotPriceOrder"
  11369. }
  11370. },
  11371. "unitname": {
  11372. "description": "单位名称",
  11373. "type": "string"
  11374. },
  11375. "warehouseid": {
  11376. "description": "仓库ID",
  11377. "type": "integer"
  11378. },
  11379. "warehousename": {
  11380. "description": "仓库名称",
  11381. "type": "string"
  11382. },
  11383. "wrstandardid": {
  11384. "description": "交易标的ID",
  11385. "type": "integer"
  11386. },
  11387. "wrstandardname": {
  11388. "description": "交易标的名称",
  11389. "type": "string"
  11390. }
  11391. }
  11392. },
  11393. "erms3.SpotPointOrder": {
  11394. "type": "object",
  11395. "required": [
  11396. "basic",
  11397. "goodsid",
  11398. "qty"
  11399. ],
  11400. "properties": {
  11401. "basic": {
  11402. "description": "基差",
  11403. "type": "number"
  11404. },
  11405. "deliveryenddate": {
  11406. "description": "交收结束日期",
  11407. "type": "string"
  11408. },
  11409. "deliverystartdate": {
  11410. "description": "交收开始日期",
  11411. "type": "string"
  11412. },
  11413. "enddate": {
  11414. "description": "点价结束日期",
  11415. "type": "string"
  11416. },
  11417. "goodsid": {
  11418. "description": "商品ID",
  11419. "type": "integer"
  11420. },
  11421. "goodsname": {
  11422. "description": "商品名称",
  11423. "type": "string"
  11424. },
  11425. "qty": {
  11426. "description": "数量",
  11427. "type": "number"
  11428. },
  11429. "startdate": {
  11430. "description": "点价开始日期",
  11431. "type": "string"
  11432. }
  11433. }
  11434. },
  11435. "erms3.SpotPriceOrder": {
  11436. "type": "object",
  11437. "required": [
  11438. "amount",
  11439. "price",
  11440. "qty"
  11441. ],
  11442. "properties": {
  11443. "amount": {
  11444. "description": "金额",
  11445. "type": "number"
  11446. },
  11447. "deliveryenddate": {
  11448. "description": "交收结束日期",
  11449. "type": "string"
  11450. },
  11451. "deliverystartdate": {
  11452. "description": "交收开始日期",
  11453. "type": "string"
  11454. },
  11455. "price": {
  11456. "description": "价格",
  11457. "type": "number"
  11458. },
  11459. "qty": {
  11460. "description": "数量",
  11461. "type": "number"
  11462. }
  11463. }
  11464. },
  11465. "hsby.GetHsbyMyCountRsp": {
  11466. "type": "object",
  11467. "properties": {
  11468. "myCouponCount": {
  11469. "description": "我的优惠卷数量",
  11470. "type": "integer"
  11471. },
  11472. "myOrderDetailListingCount": {
  11473. "description": "我的订单求购中数量",
  11474. "type": "integer"
  11475. },
  11476. "myOrderDetailPreCount": {
  11477. "description": "我的订单抢购中数量",
  11478. "type": "integer"
  11479. },
  11480. "myPackageUnReceiveCount": {
  11481. "description": "我的包裹待收货数量",
  11482. "type": "integer"
  11483. },
  11484. "myPackageUnSendCount": {
  11485. "description": "我的包裹待发货数量",
  11486. "type": "integer"
  11487. },
  11488. "myPayOrderCount": {
  11489. "description": "我的订单待付款数量",
  11490. "type": "integer"
  11491. }
  11492. }
  11493. },
  11494. "hsby.QueryProvincesAndCitiesRsp": {
  11495. "type": "object",
  11496. "properties": {
  11497. "cities": {
  11498. "description": "市",
  11499. "type": "array",
  11500. "items": {
  11501. "$ref": "#/definitions/models.Division"
  11502. }
  11503. },
  11504. "province": {
  11505. "description": "省",
  11506. "$ref": "#/definitions/models.Division"
  11507. }
  11508. }
  11509. },
  11510. "models.Clientfixedadconfig": {
  11511. "type": "object",
  11512. "required": [
  11513. "adsort",
  11514. "adtype"
  11515. ],
  11516. "properties": {
  11517. "adsort": {
  11518. "description": "排序",
  11519. "type": "integer"
  11520. },
  11521. "adtype": {
  11522. "description": "广告位类型 - 1:新品抢购(HSBY)",
  11523. "type": "integer"
  11524. },
  11525. "areauserid": {
  11526. "description": "所属机构ID",
  11527. "type": "integer"
  11528. },
  11529. "createdate": {
  11530. "description": "创建时间",
  11531. "type": "string"
  11532. },
  11533. "creatorid": {
  11534. "description": "创建人",
  11535. "type": "integer"
  11536. },
  11537. "imagepath": {
  11538. "description": "图片",
  11539. "type": "string"
  11540. },
  11541. "isshow": {
  11542. "description": "是否展示 - 0:不展示 1:展示",
  11543. "type": "integer"
  11544. },
  11545. "modifierid": {
  11546. "description": "操作人",
  11547. "type": "integer"
  11548. },
  11549. "recsize": {
  11550. "description": "推荐尺寸",
  11551. "type": "string"
  11552. },
  11553. "title": {
  11554. "description": "标题",
  11555. "type": "string"
  11556. },
  11557. "updatedate": {
  11558. "description": "更新时间",
  11559. "type": "string"
  11560. },
  11561. "urlcontent": {
  11562. "description": "链接(地址或商品ID)",
  11563. "type": "string"
  11564. },
  11565. "urltype": {
  11566. "description": "链接类型 - 1:直接地址 2:商品ID",
  11567. "type": "integer"
  11568. }
  11569. }
  11570. },
  11571. "models.Division": {
  11572. "type": "object",
  11573. "required": [
  11574. "autoid",
  11575. "divisioncode"
  11576. ],
  11577. "properties": {
  11578. "autoid": {
  11579. "description": "自增ID",
  11580. "type": "integer"
  11581. },
  11582. "divisioncode": {
  11583. "description": "行政代码",
  11584. "type": "string"
  11585. },
  11586. "divisionlevel": {
  11587. "description": "行政级别",
  11588. "type": "string"
  11589. },
  11590. "divisionname": {
  11591. "description": "行政名称",
  11592. "type": "string"
  11593. },
  11594. "modifierid": {
  11595. "description": "修改人",
  11596. "type": "integer"
  11597. },
  11598. "modifytime": {
  11599. "description": "修改时间",
  11600. "type": "string"
  11601. },
  11602. "parentcode": {
  11603. "description": "上级行政代码",
  11604. "type": "string"
  11605. },
  11606. "pathname": {
  11607. "description": "路径名称",
  11608. "type": "string"
  11609. },
  11610. "postcode": {
  11611. "description": "邮政编码",
  11612. "type": "string"
  11613. },
  11614. "separablename": {
  11615. "description": "可拆分的全称",
  11616. "type": "string"
  11617. },
  11618. "shortcode": {
  11619. "description": "地区简码",
  11620. "type": "string"
  11621. }
  11622. }
  11623. },
  11624. "models.Enumdicitem": {
  11625. "type": "object",
  11626. "required": [
  11627. "autoid",
  11628. "enumdiccode",
  11629. "enumdicid",
  11630. "enumitemname"
  11631. ],
  11632. "properties": {
  11633. "autoid": {
  11634. "description": "自增ID",
  11635. "type": "integer"
  11636. },
  11637. "bankmappedvalue": {
  11638. "description": "银行服务对应值",
  11639. "type": "string"
  11640. },
  11641. "enumdiccode": {
  11642. "description": "所属枚举代码",
  11643. "type": "string"
  11644. },
  11645. "enumdicid": {
  11646. "description": "所属枚举ID",
  11647. "type": "integer"
  11648. },
  11649. "enumdicname": {
  11650. "description": "枚举项名称",
  11651. "type": "string"
  11652. },
  11653. "enumitemname": {
  11654. "description": "枚举项值",
  11655. "type": "integer"
  11656. },
  11657. "enumitemstatus": {
  11658. "description": "枚举项状态 - 1.启用 2.不启用",
  11659. "type": "integer"
  11660. },
  11661. "enumitemvalue": {
  11662. "description": "通用值 - [币种通用简写]",
  11663. "type": "string"
  11664. },
  11665. "param1": {
  11666. "description": "参数1[币种:币种小数位]",
  11667. "type": "string"
  11668. },
  11669. "param2": {
  11670. "description": "参数1[币种:币种显示单位]",
  11671. "type": "string"
  11672. },
  11673. "remark": {
  11674. "description": "备注",
  11675. "type": "string"
  11676. }
  11677. }
  11678. },
  11679. "models.ErmcpHisExposure": {
  11680. "type": "object",
  11681. "properties": {
  11682. "needhedgeexposoure": {
  11683. "description": "应套保敞口",
  11684. "type": "number"
  11685. },
  11686. "reckondate": {
  11687. "description": "日照时期(yyyyMMdd)",
  11688. "type": "string"
  11689. },
  11690. "totalexposure": {
  11691. "description": "总敞口",
  11692. "type": "number"
  11693. }
  11694. }
  11695. },
  11696. "models.ErmcpMiddleGoodsModel": {
  11697. "type": "object",
  11698. "properties": {
  11699. "areauserid": {
  11700. "description": "机构用户ID",
  11701. "type": "integer"
  11702. },
  11703. "enumdicname": {
  11704. "description": "单位名称",
  11705. "type": "string"
  11706. },
  11707. "evaluateratio": {
  11708. "description": "估价系数",
  11709. "type": "number"
  11710. },
  11711. "goodsgroupid": {
  11712. "description": "关联期货品种ID",
  11713. "type": "integer"
  11714. },
  11715. "isvalid": {
  11716. "description": "状态 0-无效(停用) 1-有效(正常)",
  11717. "type": "integer"
  11718. },
  11719. "middlegoodscode": {
  11720. "description": "套保品种代码",
  11721. "type": "string"
  11722. },
  11723. "middlegoodsid": {
  11724. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  11725. "type": "integer"
  11726. },
  11727. "middlegoodsname": {
  11728. "description": "套保品种名称",
  11729. "type": "string"
  11730. },
  11731. "modifytime": {
  11732. "description": "修改时间",
  11733. "type": "string"
  11734. },
  11735. "needhedgeratio": {
  11736. "description": "套保比率",
  11737. "type": "number"
  11738. },
  11739. "qtydecimalplace": {
  11740. "description": "数量小数位",
  11741. "type": "integer"
  11742. },
  11743. "relatedgoodsid": {
  11744. "description": "关联交易商品ID",
  11745. "type": "integer"
  11746. },
  11747. "relatedgoodstype": {
  11748. "description": "关联商品类型 - 1:期货合约 2:现货品种",
  11749. "type": "integer"
  11750. }
  11751. }
  11752. },
  11753. "models.ErmcpReportDayFR": {
  11754. "type": "object",
  11755. "properties": {
  11756. "areauserid": {
  11757. "description": "所属机构",
  11758. "type": "integer"
  11759. },
  11760. "collectinvoiceamount": {
  11761. "description": "今日开票金额",
  11762. "type": "number"
  11763. },
  11764. "collectinvoicecount": {
  11765. "description": "今日开票笔数",
  11766. "type": "integer"
  11767. },
  11768. "collectmoneyamount": {
  11769. "description": "今日收款金额",
  11770. "type": "number"
  11771. },
  11772. "collectmoneycount": {
  11773. "description": "今日收款笔数",
  11774. "type": "integer"
  11775. },
  11776. "payinvoiceamount": {
  11777. "description": "今日收票金额",
  11778. "type": "number"
  11779. },
  11780. "payinvoicecount": {
  11781. "description": "今日收票笔数",
  11782. "type": "integer"
  11783. },
  11784. "paymoneyamount": {
  11785. "description": "今日付款金额",
  11786. "type": "number"
  11787. },
  11788. "paymoneycount": {
  11789. "description": "今日付款笔数",
  11790. "type": "integer"
  11791. },
  11792. "reckondate": {
  11793. "description": "日照时期(yyyyMMdd)",
  11794. "type": "string"
  11795. },
  11796. "updatetime": {
  11797. "description": "更新时间",
  11798. "type": "string"
  11799. }
  11800. }
  11801. },
  11802. "models.ErmcpWrstandard": {
  11803. "type": "object",
  11804. "properties": {
  11805. "areauserid": {
  11806. "description": "所属机构",
  11807. "type": "integer"
  11808. },
  11809. "createtime": {
  11810. "description": "创建时间",
  11811. "type": "string"
  11812. },
  11813. "creatorid": {
  11814. "description": "创建人",
  11815. "type": "integer"
  11816. },
  11817. "deliverygoodsid": {
  11818. "description": "品种ID",
  11819. "type": "integer"
  11820. },
  11821. "enumdicname": {
  11822. "description": "单位名称",
  11823. "type": "string"
  11824. },
  11825. "isvalid": {
  11826. "description": "是否有效 0-无效(停用) 1-有效(正常)",
  11827. "type": "integer"
  11828. },
  11829. "minivalue": {
  11830. "description": "最小变动值",
  11831. "type": "integer"
  11832. },
  11833. "minivaluedp": {
  11834. "description": "最小变动值小数位",
  11835. "type": "integer"
  11836. },
  11837. "realminivalue": {
  11838. "description": "实际最小变动值",
  11839. "type": "integer"
  11840. },
  11841. "realminivaluedp": {
  11842. "description": "实际最小变动值小数位",
  11843. "type": "integer"
  11844. },
  11845. "remark": {
  11846. "description": "备注",
  11847. "type": "string"
  11848. },
  11849. "unitid": {
  11850. "description": "单位ID",
  11851. "type": "integer"
  11852. },
  11853. "updatetime": {
  11854. "description": "更新时间",
  11855. "type": "string"
  11856. },
  11857. "wrstandardcode": {
  11858. "description": "现货商品代码",
  11859. "type": "string"
  11860. },
  11861. "wrstandardid": {
  11862. "description": "现货商品ID(SEQ_WRSTANDARD)",
  11863. "type": "integer"
  11864. },
  11865. "wrstandardname": {
  11866. "description": "现货商品名称",
  11867. "type": "string"
  11868. }
  11869. }
  11870. },
  11871. "models.Goods": {
  11872. "type": "object",
  11873. "required": [
  11874. "goodscode",
  11875. "goodsid",
  11876. "goodsname",
  11877. "marketid"
  11878. ],
  11879. "properties": {
  11880. "agreeunit": {
  11881. "description": "合约单位",
  11882. "type": "number"
  11883. },
  11884. "auditaccountid": {
  11885. "description": "审核操作员账号",
  11886. "type": "integer"
  11887. },
  11888. "audittime": {
  11889. "description": "审核时间",
  11890. "type": "string"
  11891. },
  11892. "cancelaccountid": {
  11893. "description": "注销操作员账号",
  11894. "type": "integer"
  11895. },
  11896. "canceltime": {
  11897. "description": "注销时间",
  11898. "type": "string"
  11899. },
  11900. "closepricemode": {
  11901. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  11902. "type": "integer"
  11903. },
  11904. "closepriceparam": {
  11905. "description": "强平最新价浮动比例 - 方式为2时使用 (\u003c1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价",
  11906. "type": "number"
  11907. },
  11908. "createtime": {
  11909. "description": "创建时间",
  11910. "type": "string"
  11911. },
  11912. "creatorid": {
  11913. "description": "创建人",
  11914. "type": "integer"
  11915. },
  11916. "currencyid": {
  11917. "description": "报价货币ID",
  11918. "type": "integer"
  11919. },
  11920. "cutmode": {
  11921. "description": "斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓",
  11922. "type": "integer"
  11923. },
  11924. "decimalplace": {
  11925. "description": "报价小数位",
  11926. "type": "integer"
  11927. },
  11928. "delistingdate": {
  11929. "description": "商品退市时间(状态:退市) -- 已作废",
  11930. "type": "string"
  11931. },
  11932. "delistingmode": {
  11933. "description": "退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\\币币兑换)",
  11934. "type": "integer"
  11935. },
  11936. "deliveryflag": {
  11937. "description": "交割标志 - 0:不可交割 1:可交割",
  11938. "type": "integer"
  11939. },
  11940. "forceclosemode": {
  11941. "description": "定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]",
  11942. "type": "integer"
  11943. },
  11944. "forceclosevalue": {
  11945. "description": "定期强平参数 [收益权]",
  11946. "type": "integer"
  11947. },
  11948. "goodscode": {
  11949. "description": "商品代码(内部)",
  11950. "type": "string"
  11951. },
  11952. "goodscurrencyid": {
  11953. "description": "合约货币ID",
  11954. "type": "integer"
  11955. },
  11956. "goodsgroupid": {
  11957. "description": "所属商品组ID",
  11958. "type": "integer"
  11959. },
  11960. "goodsid": {
  11961. "description": "商品ID(自增ID SEQ_GOODS)",
  11962. "type": "integer"
  11963. },
  11964. "goodsname": {
  11965. "description": "商品名称",
  11966. "type": "string"
  11967. },
  11968. "goodsquotetype": {
  11969. "description": "合约报价类型: 1-直接报价 2-间接报价",
  11970. "type": "integer"
  11971. },
  11972. "goodsstatus": {
  11973. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  11974. "type": "integer"
  11975. },
  11976. "goodstradetype": {
  11977. "description": "商品交易权限类型 - 1:可建可平 3:不可建可平",
  11978. "type": "integer"
  11979. },
  11980. "goodunitid": {
  11981. "description": "报价单位ID",
  11982. "type": "integer"
  11983. },
  11984. "hasquoter": {
  11985. "description": "是否有报价商 - 0:无报价商 1:有报价商",
  11986. "type": "integer"
  11987. },
  11988. "hqprotecttime": {
  11989. "description": "行情保护时间(秒)",
  11990. "type": "integer"
  11991. },
  11992. "innerdealmode": {
  11993. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  11994. "type": "integer"
  11995. },
  11996. "isbuylimited": {
  11997. "description": "是否限制建仓量 - 0:不限制 1:限制",
  11998. "type": "integer"
  11999. },
  12000. "lasttradedate": {
  12001. "description": "最后交易日期(状态:待退市)",
  12002. "type": "string"
  12003. },
  12004. "listingdate": {
  12005. "description": "交易开始日期",
  12006. "type": "string"
  12007. },
  12008. "marketid": {
  12009. "description": "所属市场ID",
  12010. "type": "integer"
  12011. },
  12012. "modifierid": {
  12013. "description": "修改人",
  12014. "type": "integer"
  12015. },
  12016. "modifystatus": {
  12017. "description": "变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核",
  12018. "type": "integer"
  12019. },
  12020. "modifytime": {
  12021. "description": "修改时间",
  12022. "type": "string"
  12023. },
  12024. "outerdealmode": {
  12025. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  12026. "type": "integer"
  12027. },
  12028. "outgoodscode": {
  12029. "description": "商品代码(外部)",
  12030. "type": "string"
  12031. },
  12032. "qtydecimalplace": {
  12033. "description": "成交量小数位",
  12034. "type": "integer"
  12035. },
  12036. "quotegear": {
  12037. "description": "行情档位(1-10)",
  12038. "type": "integer"
  12039. },
  12040. "quoteminunit": {
  12041. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  12042. "type": "integer"
  12043. },
  12044. "quoteshowtype": {
  12045. "description": "行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价",
  12046. "type": "integer"
  12047. },
  12048. "quoteshowtypeinterval": {
  12049. "description": "行情报价间隔时间(秒)(成交价时为0)",
  12050. "type": "integer"
  12051. },
  12052. "remark": {
  12053. "description": "备注",
  12054. "type": "string"
  12055. }
  12056. }
  12057. },
  12058. "models.GoodsBrand": {
  12059. "type": "object",
  12060. "properties": {
  12061. "brandid": {
  12062. "description": "品牌ID",
  12063. "type": "integer"
  12064. },
  12065. "brandname": {
  12066. "description": "品牌名称",
  12067. "type": "string"
  12068. },
  12069. "isvalid": {
  12070. "description": "是否有效 - 0:无效 1:有效",
  12071. "type": "integer"
  12072. }
  12073. }
  12074. },
  12075. "models.GoodsGroupConvert": {
  12076. "type": "object",
  12077. "properties": {
  12078. "convertratio": {
  12079. "description": "折算系数",
  12080. "type": "number"
  12081. },
  12082. "dstgoodsgroupid": {
  12083. "description": "目标期货品种ID",
  12084. "type": "integer"
  12085. },
  12086. "goodsgroupname": {
  12087. "description": "期货品种名称",
  12088. "type": "string"
  12089. },
  12090. "outergroupcode": {
  12091. "description": "期货品种代码",
  12092. "type": "string"
  12093. },
  12094. "srcgoodsgroupid": {
  12095. "description": "源期货品种ID",
  12096. "type": "integer"
  12097. }
  12098. }
  12099. },
  12100. "models.GoodsIDAndName": {
  12101. "type": "object",
  12102. "required": [
  12103. "goodscode",
  12104. "goodsid",
  12105. "goodsname",
  12106. "marketid"
  12107. ],
  12108. "properties": {
  12109. "goodscode": {
  12110. "description": "商品代码(内部)",
  12111. "type": "string"
  12112. },
  12113. "goodsid": {
  12114. "description": "商品ID(自增ID SEQ_GOODS)",
  12115. "type": "integer"
  12116. },
  12117. "goodsname": {
  12118. "description": "商品名称",
  12119. "type": "string"
  12120. },
  12121. "marketid": {
  12122. "description": "所属市场ID",
  12123. "type": "integer"
  12124. }
  12125. }
  12126. },
  12127. "models.GoodsTypeModel": {
  12128. "type": "object",
  12129. "properties": {
  12130. "modelid": {
  12131. "description": "型号ID",
  12132. "type": "integer"
  12133. },
  12134. "modelname": {
  12135. "description": "型号名称",
  12136. "type": "string"
  12137. },
  12138. "updatetime": {
  12139. "description": "更新时间",
  12140. "type": "string"
  12141. }
  12142. }
  12143. },
  12144. "models.HsbyBuyMyPayOrder": {
  12145. "type": "object",
  12146. "required": [
  12147. "goodscode",
  12148. "goodsname",
  12149. "tradeid",
  12150. "trademode"
  12151. ],
  12152. "properties": {
  12153. "agreeunit": {
  12154. "description": "合约单位",
  12155. "type": "number"
  12156. },
  12157. "buyaccountid": {
  12158. "description": "买方账号ID[报价币种]",
  12159. "type": "integer"
  12160. },
  12161. "buyorderid": {
  12162. "description": "买方委托单号",
  12163. "type": "string"
  12164. },
  12165. "createtime": {
  12166. "description": "创建时间",
  12167. "type": "string"
  12168. },
  12169. "currencysign": {
  12170. "description": "货币符号",
  12171. "type": "string"
  12172. },
  12173. "decimalplace": {
  12174. "description": "报价小数位",
  12175. "type": "integer"
  12176. },
  12177. "goodscode": {
  12178. "description": "商品代码(内部)",
  12179. "type": "string"
  12180. },
  12181. "goodsid": {
  12182. "description": "商品ID",
  12183. "type": "integer"
  12184. },
  12185. "goodsname": {
  12186. "description": "商品名称",
  12187. "type": "string"
  12188. },
  12189. "marketid": {
  12190. "description": "市场ID",
  12191. "type": "integer"
  12192. },
  12193. "offamount": {
  12194. "description": "优惠金额",
  12195. "type": "number"
  12196. },
  12197. "payamount": {
  12198. "description": "支付金额 = TradeAmount + TradeCharge - OffAmount",
  12199. "type": "number"
  12200. },
  12201. "payflag": {
  12202. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  12203. "type": "integer"
  12204. },
  12205. "paylimitedtime": {
  12206. "description": "支付期限",
  12207. "type": "string"
  12208. },
  12209. "paytime": {
  12210. "description": "付款时间",
  12211. "type": "string"
  12212. },
  12213. "picurls1": {
  12214. "description": "预售商品介绍图片[多张用逗号分隔]",
  12215. "type": "string"
  12216. },
  12217. "picurls2": {
  12218. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  12219. "type": "string"
  12220. },
  12221. "sellaccountid": {
  12222. "description": "卖方账号ID[报价币种]",
  12223. "type": "integer"
  12224. },
  12225. "sellorderid": {
  12226. "description": "卖方委托单号",
  12227. "type": "string"
  12228. },
  12229. "tradeamount": {
  12230. "description": "成交金额",
  12231. "type": "number"
  12232. },
  12233. "tradecharge": {
  12234. "description": "成交手续费(买方)",
  12235. "type": "number"
  12236. },
  12237. "tradedate": {
  12238. "description": "交易日(yyyyMMdd)",
  12239. "type": "string"
  12240. },
  12241. "tradeid": {
  12242. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  12243. "type": "string"
  12244. },
  12245. "trademode": {
  12246. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  12247. "type": "integer"
  12248. },
  12249. "tradeprice": {
  12250. "description": "成交价格",
  12251. "type": "number"
  12252. },
  12253. "tradeqty": {
  12254. "description": "成交数量",
  12255. "type": "integer"
  12256. },
  12257. "vendorname1": {
  12258. "description": "预售商品供应商名称",
  12259. "type": "string"
  12260. },
  12261. "vendorname2": {
  12262. "description": "挂牌商品供应商名称",
  12263. "type": "string"
  12264. }
  12265. }
  12266. },
  12267. "models.HsbyBuyMyTradeDetail": {
  12268. "type": "object",
  12269. "required": [
  12270. "accountid",
  12271. "buyorsell",
  12272. "goodscode",
  12273. "goodsid",
  12274. "goodsname",
  12275. "marketid",
  12276. "orderid",
  12277. "qty",
  12278. "time",
  12279. "trademode"
  12280. ],
  12281. "properties": {
  12282. "accountid": {
  12283. "description": "账户ID[报价币种]",
  12284. "type": "integer"
  12285. },
  12286. "agreeunit": {
  12287. "description": "合约单位",
  12288. "type": "number"
  12289. },
  12290. "amount": {
  12291. "description": "金额 = 价格 * 数量 * 合约单位",
  12292. "type": "number"
  12293. },
  12294. "buyorsell": {
  12295. "description": "买卖 - 0:买 1:卖",
  12296. "type": "integer"
  12297. },
  12298. "currencysign": {
  12299. "description": "货币符号",
  12300. "type": "string"
  12301. },
  12302. "decimalplace": {
  12303. "description": "报价小数位",
  12304. "type": "integer"
  12305. },
  12306. "goodscode": {
  12307. "description": "商品代码(内部)",
  12308. "type": "string"
  12309. },
  12310. "goodsid": {
  12311. "description": "商品ID",
  12312. "type": "integer"
  12313. },
  12314. "goodsname": {
  12315. "description": "商品名称",
  12316. "type": "string"
  12317. },
  12318. "marketid": {
  12319. "description": "市场ID",
  12320. "type": "integer"
  12321. },
  12322. "orderid": {
  12323. "description": "单号(成交单号)",
  12324. "type": "string"
  12325. },
  12326. "picurls1": {
  12327. "description": "预售商品介绍图片[多张用逗号分隔]",
  12328. "type": "string"
  12329. },
  12330. "picurls2": {
  12331. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  12332. "type": "string"
  12333. },
  12334. "price": {
  12335. "description": "价格",
  12336. "type": "number"
  12337. },
  12338. "qty": {
  12339. "description": "数量",
  12340. "type": "integer"
  12341. },
  12342. "time": {
  12343. "description": "时间",
  12344. "type": "string"
  12345. },
  12346. "trademode": {
  12347. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  12348. "type": "integer"
  12349. },
  12350. "vendorname1": {
  12351. "description": "预售商品供应商名称",
  12352. "type": "string"
  12353. },
  12354. "vendorname2": {
  12355. "description": "挂牌商品供应商名称",
  12356. "type": "string"
  12357. }
  12358. }
  12359. },
  12360. "models.HsbyGoodsOrderDetail": {
  12361. "type": "object",
  12362. "required": [
  12363. "buyorsell",
  12364. "orderid",
  12365. "ordertime"
  12366. ],
  12367. "properties": {
  12368. "buyorsell": {
  12369. "description": "买卖 - 0:买 1:卖",
  12370. "type": "integer"
  12371. },
  12372. "currencysign": {
  12373. "description": "货币符号",
  12374. "type": "string"
  12375. },
  12376. "customername": {
  12377. "description": "客户名称(企业名称),已脱敏",
  12378. "type": "string"
  12379. },
  12380. "enableqty": {
  12381. "description": "可用数量",
  12382. "type": "integer"
  12383. },
  12384. "goodunit": {
  12385. "description": "报价单位",
  12386. "type": "string"
  12387. },
  12388. "orderid": {
  12389. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  12390. "type": "string"
  12391. },
  12392. "orderprice": {
  12393. "description": "委托价格",
  12394. "type": "number"
  12395. },
  12396. "ordertime": {
  12397. "description": "委托时间",
  12398. "type": "string"
  12399. }
  12400. }
  12401. },
  12402. "models.HsbyListingGoodsDetail": {
  12403. "type": "object",
  12404. "required": [
  12405. "goodscode",
  12406. "goodsid",
  12407. "goodsname",
  12408. "marketid",
  12409. "trademode"
  12410. ],
  12411. "properties": {
  12412. "agreeunit": {
  12413. "description": "合约单位",
  12414. "type": "number"
  12415. },
  12416. "buymaxqty": {
  12417. "description": "购买上限 [71] - 0为不限",
  12418. "type": "integer"
  12419. },
  12420. "currency": {
  12421. "description": "货币",
  12422. "type": "string"
  12423. },
  12424. "currencysign": {
  12425. "description": "货币符号",
  12426. "type": "string"
  12427. },
  12428. "decimalplace": {
  12429. "description": "报价小数位",
  12430. "type": "integer"
  12431. },
  12432. "desccityid": {
  12433. "description": "目的地(市)ID",
  12434. "type": "integer"
  12435. },
  12436. "descprovinceid": {
  12437. "description": "目的地(省)ID",
  12438. "type": "integer"
  12439. },
  12440. "goodscode": {
  12441. "description": "商品代码(内部)",
  12442. "type": "string"
  12443. },
  12444. "goodsdesc": {
  12445. "description": "商品详情",
  12446. "type": "string"
  12447. },
  12448. "goodsid": {
  12449. "description": "商品ID(自增ID SEQ_GOODS)",
  12450. "type": "integer"
  12451. },
  12452. "goodsname": {
  12453. "description": "商品名称",
  12454. "type": "string"
  12455. },
  12456. "goodsprice": {
  12457. "description": "商品价格",
  12458. "type": "number"
  12459. },
  12460. "hotindex": {
  12461. "description": "景点热度",
  12462. "type": "integer"
  12463. },
  12464. "last": {
  12465. "description": "现价",
  12466. "type": "number"
  12467. },
  12468. "limitdown": {
  12469. "description": "跌停价",
  12470. "type": "number"
  12471. },
  12472. "limitup": {
  12473. "description": "涨停价",
  12474. "type": "number"
  12475. },
  12476. "lotsize": {
  12477. "description": "手数最小变动单位",
  12478. "type": "integer"
  12479. },
  12480. "marketid": {
  12481. "description": "所属市场ID",
  12482. "type": "integer"
  12483. },
  12484. "picurls": {
  12485. "description": "介绍图片[多张用逗号分隔]",
  12486. "type": "string"
  12487. },
  12488. "quoteminunit": {
  12489. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  12490. "type": "integer"
  12491. },
  12492. "stepvalue": {
  12493. "description": "价格最小变动单位",
  12494. "type": "number"
  12495. },
  12496. "trademode": {
  12497. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  12498. "type": "integer"
  12499. },
  12500. "vendorattr": {
  12501. "description": "供应商附件(多张,逗号分隔)",
  12502. "type": "string"
  12503. },
  12504. "vendorname": {
  12505. "description": "供应商名称",
  12506. "type": "string"
  12507. },
  12508. "vendorphone": {
  12509. "description": "供应商客服电话",
  12510. "type": "string"
  12511. },
  12512. "videourls": {
  12513. "description": "介绍视频[多张用逗号分隔]",
  12514. "type": "string"
  12515. }
  12516. }
  12517. },
  12518. "models.HsbyMarketGoods": {
  12519. "type": "object",
  12520. "required": [
  12521. "accountid",
  12522. "buyorsell",
  12523. "goodscode",
  12524. "goodsid",
  12525. "goodsname",
  12526. "marketid",
  12527. "orderid",
  12528. "trademode"
  12529. ],
  12530. "properties": {
  12531. "accountid": {
  12532. "description": "账户ID[报价币种]",
  12533. "type": "integer"
  12534. },
  12535. "agreeunit": {
  12536. "description": "合约单位",
  12537. "type": "number"
  12538. },
  12539. "buyorsell": {
  12540. "description": "买卖 - 0:买 1:卖",
  12541. "type": "integer"
  12542. },
  12543. "categoryid": {
  12544. "description": "类别ID(WRCATEGORY)",
  12545. "type": "integer"
  12546. },
  12547. "currency": {
  12548. "description": "货币",
  12549. "type": "string"
  12550. },
  12551. "currencysign": {
  12552. "description": "货币符号",
  12553. "type": "string"
  12554. },
  12555. "customername": {
  12556. "description": "卖家名称",
  12557. "type": "string"
  12558. },
  12559. "decimalplace": {
  12560. "description": "报价小数位",
  12561. "type": "integer"
  12562. },
  12563. "goodscode": {
  12564. "description": "商品代码(内部)",
  12565. "type": "string"
  12566. },
  12567. "goodsid": {
  12568. "description": "商品ID",
  12569. "type": "integer"
  12570. },
  12571. "goodsname": {
  12572. "description": "商品名称",
  12573. "type": "string"
  12574. },
  12575. "goodsprice": {
  12576. "description": "商品价格",
  12577. "type": "number"
  12578. },
  12579. "hascoupon": {
  12580. "description": "是否可用优惠卷",
  12581. "type": "boolean"
  12582. },
  12583. "hotindex": {
  12584. "description": "景点热度",
  12585. "type": "integer"
  12586. },
  12587. "marketid": {
  12588. "description": "市场ID",
  12589. "type": "integer"
  12590. },
  12591. "orderid": {
  12592. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  12593. "type": "string"
  12594. },
  12595. "orderprice": {
  12596. "description": "委托价格",
  12597. "type": "number"
  12598. },
  12599. "orderstatus": {
  12600. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  12601. "type": "integer"
  12602. },
  12603. "picurls": {
  12604. "description": "介绍图片[多张用逗号分隔]",
  12605. "type": "string"
  12606. },
  12607. "quoteminunit": {
  12608. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  12609. "type": "integer"
  12610. },
  12611. "sellUserID": {
  12612. "description": "卖方UserID",
  12613. "type": "integer"
  12614. },
  12615. "trademode": {
  12616. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  12617. "type": "integer"
  12618. },
  12619. "videourls": {
  12620. "description": "介绍视频[多张用逗号分隔]",
  12621. "type": "string"
  12622. }
  12623. }
  12624. },
  12625. "models.HsbyMarketGoodsDetail": {
  12626. "type": "object",
  12627. "required": [
  12628. "accountid",
  12629. "buyorsell",
  12630. "goodscode",
  12631. "goodsid",
  12632. "goodsname",
  12633. "marketid",
  12634. "orderid",
  12635. "orderqty",
  12636. "trademode"
  12637. ],
  12638. "properties": {
  12639. "accountid": {
  12640. "description": "账户ID[报价币种]",
  12641. "type": "integer"
  12642. },
  12643. "agreeunit": {
  12644. "description": "合约单位",
  12645. "type": "number"
  12646. },
  12647. "buymaxqty": {
  12648. "description": "购买上限 [71] - 0为不限",
  12649. "type": "integer"
  12650. },
  12651. "buyorsell": {
  12652. "description": "买卖 - 0:买 1:卖",
  12653. "type": "integer"
  12654. },
  12655. "cancelqty": {
  12656. "description": "撤单数量",
  12657. "type": "integer"
  12658. },
  12659. "categoryid": {
  12660. "description": "类别ID(WRCATEGORY)",
  12661. "type": "integer"
  12662. },
  12663. "currency": {
  12664. "description": "货币",
  12665. "type": "string"
  12666. },
  12667. "currencysign": {
  12668. "description": "货币符号",
  12669. "type": "string"
  12670. },
  12671. "customername": {
  12672. "description": "卖家名称",
  12673. "type": "string"
  12674. },
  12675. "decimalplace": {
  12676. "description": "报价小数位",
  12677. "type": "integer"
  12678. },
  12679. "goodscode": {
  12680. "description": "商品代码(内部)",
  12681. "type": "string"
  12682. },
  12683. "goodsdesc": {
  12684. "description": "商品详情",
  12685. "type": "string"
  12686. },
  12687. "goodsid": {
  12688. "description": "商品ID",
  12689. "type": "integer"
  12690. },
  12691. "goodsname": {
  12692. "description": "商品名称",
  12693. "type": "string"
  12694. },
  12695. "goodsprice": {
  12696. "description": "商品价格",
  12697. "type": "number"
  12698. },
  12699. "hotindex": {
  12700. "description": "景点热度",
  12701. "type": "integer"
  12702. },
  12703. "lotsize": {
  12704. "description": "手数最小变动单位",
  12705. "type": "integer"
  12706. },
  12707. "marketid": {
  12708. "description": "市场ID",
  12709. "type": "integer"
  12710. },
  12711. "orderid": {
  12712. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  12713. "type": "string"
  12714. },
  12715. "orderprice": {
  12716. "description": "委托价格",
  12717. "type": "number"
  12718. },
  12719. "orderqty": {
  12720. "description": "委托数量",
  12721. "type": "integer"
  12722. },
  12723. "orderstatus": {
  12724. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  12725. "type": "integer"
  12726. },
  12727. "picurls": {
  12728. "description": "介绍图片[多张用逗号分隔]",
  12729. "type": "string"
  12730. },
  12731. "quoteminunit": {
  12732. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  12733. "type": "integer"
  12734. },
  12735. "sellUserID": {
  12736. "description": "卖方UserID",
  12737. "type": "integer"
  12738. },
  12739. "trademode": {
  12740. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  12741. "type": "integer"
  12742. },
  12743. "tradeqty": {
  12744. "description": "成交数量",
  12745. "type": "integer"
  12746. },
  12747. "vendorattr": {
  12748. "description": "供应商附件(多张,逗号分隔)",
  12749. "type": "string"
  12750. },
  12751. "vendorname": {
  12752. "description": "供应商名称",
  12753. "type": "string"
  12754. },
  12755. "vendorphone": {
  12756. "description": "供应商客服电话",
  12757. "type": "string"
  12758. },
  12759. "videourls": {
  12760. "description": "介绍视频[多张用逗号分隔]",
  12761. "type": "string"
  12762. }
  12763. }
  12764. },
  12765. "models.HsbyMarketInfo": {
  12766. "type": "object",
  12767. "required": [
  12768. "marketid",
  12769. "marketstatus",
  12770. "trademode"
  12771. ],
  12772. "properties": {
  12773. "marketid": {
  12774. "description": "市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务",
  12775. "type": "integer"
  12776. },
  12777. "marketname": {
  12778. "description": "市场名称",
  12779. "type": "string"
  12780. },
  12781. "marketstatus": {
  12782. "description": "生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销",
  12783. "type": "integer"
  12784. },
  12785. "trademode": {
  12786. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  12787. "type": "integer"
  12788. }
  12789. }
  12790. },
  12791. "models.HsbyMyGoods": {
  12792. "type": "object",
  12793. "required": [
  12794. "accountid",
  12795. "goodscode",
  12796. "goodsid",
  12797. "goodsname",
  12798. "marketid",
  12799. "trademode"
  12800. ],
  12801. "properties": {
  12802. "accountid": {
  12803. "description": "账号Id",
  12804. "type": "integer"
  12805. },
  12806. "agreeunit": {
  12807. "description": "合约单位",
  12808. "type": "number"
  12809. },
  12810. "buyaverageprice": {
  12811. "description": "持仓均价",
  12812. "type": "number"
  12813. },
  12814. "buycurholderamount": {
  12815. "description": "买当前持仓总金额[商品币种]",
  12816. "type": "number"
  12817. },
  12818. "buycurpositionqty": {
  12819. "description": "买当前持仓总数量",
  12820. "type": "integer"
  12821. },
  12822. "buymaxqty": {
  12823. "description": "购买上限 [71] - 0为不限",
  12824. "type": "integer"
  12825. },
  12826. "currencysign": {
  12827. "description": "货币符号",
  12828. "type": "string"
  12829. },
  12830. "decimalplace": {
  12831. "description": "报价小数位",
  12832. "type": "integer"
  12833. },
  12834. "enableqty": {
  12835. "description": "可用数量",
  12836. "type": "integer"
  12837. },
  12838. "goodscode": {
  12839. "description": "商品代码(内部)",
  12840. "type": "string"
  12841. },
  12842. "goodsid": {
  12843. "description": "商品Id",
  12844. "type": "integer"
  12845. },
  12846. "goodsname": {
  12847. "description": "商品名称",
  12848. "type": "string"
  12849. },
  12850. "goodsprice": {
  12851. "description": "商品价格",
  12852. "type": "number"
  12853. },
  12854. "goodsstatus": {
  12855. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  12856. "type": "integer"
  12857. },
  12858. "last": {
  12859. "description": "现价(仅使用于挂牌点选)",
  12860. "type": "number"
  12861. },
  12862. "limitdown": {
  12863. "description": "跌停价(仅使用于挂牌点选)",
  12864. "type": "number"
  12865. },
  12866. "limitup": {
  12867. "description": "涨停价(仅使用于挂牌点选)",
  12868. "type": "number"
  12869. },
  12870. "lotsize": {
  12871. "description": "手数最小变动单位",
  12872. "type": "integer"
  12873. },
  12874. "marketid": {
  12875. "description": "所属市场ID",
  12876. "type": "integer"
  12877. },
  12878. "picurls": {
  12879. "description": "介绍图片[多张用逗号分隔]",
  12880. "type": "string"
  12881. },
  12882. "quoteminunit": {
  12883. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  12884. "type": "integer"
  12885. },
  12886. "stepvalue": {
  12887. "description": "价格最小变动单位",
  12888. "type": "number"
  12889. },
  12890. "trademode": {
  12891. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  12892. "type": "integer"
  12893. }
  12894. }
  12895. },
  12896. "models.HsbyMyPackage": {
  12897. "type": "object",
  12898. "required": [
  12899. "goodscode",
  12900. "goodsname",
  12901. "takeorderid",
  12902. "trademode"
  12903. ],
  12904. "properties": {
  12905. "accountid": {
  12906. "description": "账户ID",
  12907. "type": "integer"
  12908. },
  12909. "address": {
  12910. "description": "提货人详细地址",
  12911. "type": "string"
  12912. },
  12913. "agreeunit": {
  12914. "description": "合约单位",
  12915. "type": "number"
  12916. },
  12917. "amount": {
  12918. "description": "提货金额",
  12919. "type": "number"
  12920. },
  12921. "auditer": {
  12922. "description": "审核人",
  12923. "type": "integer"
  12924. },
  12925. "audittime": {
  12926. "description": "审核时间",
  12927. "type": "string"
  12928. },
  12929. "averageprice": {
  12930. "description": "均价",
  12931. "type": "number"
  12932. },
  12933. "cardnum": {
  12934. "description": "提货人证件号码",
  12935. "type": "string"
  12936. },
  12937. "cardtypeid": {
  12938. "description": "提货人证件类型",
  12939. "type": "integer"
  12940. },
  12941. "checkremark": {
  12942. "description": "审核备注",
  12943. "type": "string"
  12944. },
  12945. "currencysign": {
  12946. "description": "货币符号",
  12947. "type": "string"
  12948. },
  12949. "decimalplace": {
  12950. "description": "报价小数位",
  12951. "type": "integer"
  12952. },
  12953. "goodscode": {
  12954. "description": "商品代码(内部)",
  12955. "type": "string"
  12956. },
  12957. "goodsid": {
  12958. "description": "商品ID",
  12959. "type": "integer"
  12960. },
  12961. "goodsname": {
  12962. "description": "商品名称",
  12963. "type": "string"
  12964. },
  12965. "handlestatus": {
  12966. "description": "处理状态",
  12967. "type": "integer"
  12968. },
  12969. "marketid": {
  12970. "description": "市场ID",
  12971. "type": "integer"
  12972. },
  12973. "phonenum": {
  12974. "description": "提货人联系方式",
  12975. "type": "string"
  12976. },
  12977. "picurls": {
  12978. "description": "介绍图片[多张用逗号分隔]",
  12979. "type": "string"
  12980. },
  12981. "qty": {
  12982. "description": "提货数量",
  12983. "type": "number"
  12984. },
  12985. "recivername": {
  12986. "description": "提货人姓名",
  12987. "type": "string"
  12988. },
  12989. "reqtime": {
  12990. "description": "更新时间",
  12991. "type": "string"
  12992. },
  12993. "takemode": {
  12994. "description": "提货方式 - 2:自提 3:配送",
  12995. "type": "integer"
  12996. },
  12997. "takeorderid": {
  12998. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  12999. "type": "string"
  13000. },
  13001. "takeorderstatus": {
  13002. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  13003. "type": "integer"
  13004. },
  13005. "takeremark": {
  13006. "description": "提货备注",
  13007. "type": "string"
  13008. },
  13009. "tradedate": {
  13010. "description": "交易日(yyyyMMdd)",
  13011. "type": "string"
  13012. },
  13013. "trademode": {
  13014. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  13015. "type": "integer"
  13016. },
  13017. "userid": {
  13018. "description": "用户ID",
  13019. "type": "integer"
  13020. },
  13021. "vendorname": {
  13022. "description": "供应商名称",
  13023. "type": "string"
  13024. }
  13025. }
  13026. },
  13027. "models.HsbyPreGoods": {
  13028. "type": "object",
  13029. "required": [
  13030. "goodscode",
  13031. "goodsid",
  13032. "goodsname",
  13033. "marketid",
  13034. "trademode"
  13035. ],
  13036. "properties": {
  13037. "agreeunit": {
  13038. "description": "合约单位",
  13039. "type": "number"
  13040. },
  13041. "currency": {
  13042. "description": "货币",
  13043. "type": "string"
  13044. },
  13045. "currencysign": {
  13046. "description": "货币符号",
  13047. "type": "string"
  13048. },
  13049. "decimalplace": {
  13050. "description": "报价小数位",
  13051. "type": "integer"
  13052. },
  13053. "desccityid": {
  13054. "description": "目的地(市)",
  13055. "type": "integer"
  13056. },
  13057. "descprovinceid": {
  13058. "description": "目的地(省)",
  13059. "type": "integer"
  13060. },
  13061. "enableqty": {
  13062. "description": "剩余数量",
  13063. "type": "integer"
  13064. },
  13065. "goodscode": {
  13066. "description": "商品代码(内部)",
  13067. "type": "string"
  13068. },
  13069. "goodsid": {
  13070. "description": "商品ID(自增ID SEQ_GOODS)",
  13071. "type": "integer"
  13072. },
  13073. "goodsname": {
  13074. "description": "商品名称",
  13075. "type": "string"
  13076. },
  13077. "goodsstatus": {
  13078. "description": "商品状态- 2:未上市 3:上市",
  13079. "type": "integer"
  13080. },
  13081. "lasttradedate": {
  13082. "description": "最后交易日期(状态:待退市)",
  13083. "type": "string"
  13084. },
  13085. "listingdate": {
  13086. "description": "交易开始日期",
  13087. "type": "string"
  13088. },
  13089. "marketid": {
  13090. "description": "所属市场ID",
  13091. "type": "integer"
  13092. },
  13093. "picurls": {
  13094. "description": "介绍图片[多张用逗号分隔]",
  13095. "type": "string"
  13096. },
  13097. "presaledqty": {
  13098. "description": "已预售量(预售结束时更新)",
  13099. "type": "integer"
  13100. },
  13101. "presaleqty": {
  13102. "description": "预售数量",
  13103. "type": "integer"
  13104. },
  13105. "quoteminunit": {
  13106. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  13107. "type": "integer"
  13108. },
  13109. "refprice": {
  13110. "description": "参考价格[一口价]",
  13111. "type": "number"
  13112. },
  13113. "relatedgoodsid": {
  13114. "description": "关联交易合约ID",
  13115. "type": "integer"
  13116. },
  13117. "trademode": {
  13118. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  13119. "type": "integer"
  13120. },
  13121. "videourls": {
  13122. "description": "介绍视频[多张用逗号分隔]",
  13123. "type": "string"
  13124. }
  13125. }
  13126. },
  13127. "models.HsbyPreGoodsDetail": {
  13128. "type": "object",
  13129. "required": [
  13130. "goodscode",
  13131. "goodsid",
  13132. "goodsname",
  13133. "marketid",
  13134. "trademode"
  13135. ],
  13136. "properties": {
  13137. "agreeunit": {
  13138. "description": "合约单位",
  13139. "type": "number"
  13140. },
  13141. "buymaxqty": {
  13142. "description": "购买上限 [71] - 0为不限",
  13143. "type": "integer"
  13144. },
  13145. "currency": {
  13146. "description": "货币",
  13147. "type": "string"
  13148. },
  13149. "currencysign": {
  13150. "description": "货币符号",
  13151. "type": "string"
  13152. },
  13153. "customername": {
  13154. "description": "发行单位",
  13155. "type": "string"
  13156. },
  13157. "decimalplace": {
  13158. "description": "报价小数位",
  13159. "type": "integer"
  13160. },
  13161. "desccityid": {
  13162. "description": "目的地(市)ID",
  13163. "type": "integer"
  13164. },
  13165. "descprovinceid": {
  13166. "description": "目的地(省)ID",
  13167. "type": "integer"
  13168. },
  13169. "enableqty": {
  13170. "description": "剩余数量",
  13171. "type": "integer"
  13172. },
  13173. "goodscode": {
  13174. "description": "商品代码(内部)",
  13175. "type": "string"
  13176. },
  13177. "goodsdesc": {
  13178. "description": "商品详情",
  13179. "type": "string"
  13180. },
  13181. "goodsid": {
  13182. "description": "商品ID(自增ID SEQ_GOODS)",
  13183. "type": "integer"
  13184. },
  13185. "goodsname": {
  13186. "description": "商品名称",
  13187. "type": "string"
  13188. },
  13189. "goodsstatus": {
  13190. "description": "商品状态- 2:未上市 3:上市",
  13191. "type": "integer"
  13192. },
  13193. "goodunit": {
  13194. "description": "报价单位",
  13195. "type": "string"
  13196. },
  13197. "lasttradedate": {
  13198. "description": "最后交易日期(状态:待退市)",
  13199. "type": "string"
  13200. },
  13201. "listingdate": {
  13202. "description": "交易开始日期",
  13203. "type": "string"
  13204. },
  13205. "lotsize": {
  13206. "description": "手数最小变动单位",
  13207. "type": "integer"
  13208. },
  13209. "marketid": {
  13210. "description": "所属市场ID",
  13211. "type": "integer"
  13212. },
  13213. "picurls": {
  13214. "description": "介绍图片[多张用逗号分隔]",
  13215. "type": "string"
  13216. },
  13217. "presaledqty": {
  13218. "description": "已预售量(预售结束时更新)",
  13219. "type": "integer"
  13220. },
  13221. "presaleqty": {
  13222. "description": "预售数量",
  13223. "type": "integer"
  13224. },
  13225. "quoteminunit": {
  13226. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  13227. "type": "integer"
  13228. },
  13229. "refprice": {
  13230. "description": "参考价格[一口价]",
  13231. "type": "number"
  13232. },
  13233. "relatedgoodsid": {
  13234. "description": "关联交易合约ID",
  13235. "type": "integer"
  13236. },
  13237. "stepvalue": {
  13238. "description": "价格最小变动单位",
  13239. "type": "number"
  13240. },
  13241. "trademode": {
  13242. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  13243. "type": "integer"
  13244. },
  13245. "vendorattr": {
  13246. "description": "供应商附件(多张,逗号分隔)",
  13247. "type": "string"
  13248. },
  13249. "vendorname": {
  13250. "description": "供应商名称",
  13251. "type": "string"
  13252. },
  13253. "vendorphone": {
  13254. "description": "供应商客服电话",
  13255. "type": "string"
  13256. },
  13257. "videourls": {
  13258. "description": "介绍视频[多张用逗号分隔]",
  13259. "type": "string"
  13260. }
  13261. }
  13262. },
  13263. "models.HsbySellCollectionOrder": {
  13264. "type": "object",
  13265. "required": [
  13266. "goodscode",
  13267. "goodsname",
  13268. "tradeid",
  13269. "trademode"
  13270. ],
  13271. "properties": {
  13272. "agreeunit": {
  13273. "description": "合约单位",
  13274. "type": "number"
  13275. },
  13276. "buyaccountid": {
  13277. "description": "买方账号ID[报价币种]",
  13278. "type": "integer"
  13279. },
  13280. "buyorderid": {
  13281. "description": "买方委托单号",
  13282. "type": "string"
  13283. },
  13284. "createtime": {
  13285. "description": "创建时间",
  13286. "type": "string"
  13287. },
  13288. "currencysign": {
  13289. "description": "货币符号",
  13290. "type": "string"
  13291. },
  13292. "decimalplace": {
  13293. "description": "报价小数位",
  13294. "type": "integer"
  13295. },
  13296. "goodscode": {
  13297. "description": "商品代码(内部)",
  13298. "type": "string"
  13299. },
  13300. "goodsid": {
  13301. "description": "商品ID",
  13302. "type": "integer"
  13303. },
  13304. "goodsname": {
  13305. "description": "商品名称",
  13306. "type": "string"
  13307. },
  13308. "marketid": {
  13309. "description": "市场ID",
  13310. "type": "integer"
  13311. },
  13312. "offamount": {
  13313. "description": "优惠金额",
  13314. "type": "number"
  13315. },
  13316. "payamount": {
  13317. "description": "支付金额 = TradeAmount + TradeCharge - OffAmount",
  13318. "type": "number"
  13319. },
  13320. "payflag": {
  13321. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  13322. "type": "integer"
  13323. },
  13324. "paylimitedtime": {
  13325. "description": "支付期限",
  13326. "type": "string"
  13327. },
  13328. "paytime": {
  13329. "description": "付款时间",
  13330. "type": "string"
  13331. },
  13332. "picurls": {
  13333. "description": "商品介绍图片[多张用逗号分隔]",
  13334. "type": "string"
  13335. },
  13336. "sellaccountid": {
  13337. "description": "卖方账号ID[报价币种]",
  13338. "type": "integer"
  13339. },
  13340. "sellorderid": {
  13341. "description": "卖方委托单号",
  13342. "type": "string"
  13343. },
  13344. "tradeamount": {
  13345. "description": "成交金额",
  13346. "type": "number"
  13347. },
  13348. "tradecharge": {
  13349. "description": "成交手续费(买方)",
  13350. "type": "number"
  13351. },
  13352. "tradedate": {
  13353. "description": "交易日(yyyyMMdd)",
  13354. "type": "string"
  13355. },
  13356. "tradeid": {
  13357. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  13358. "type": "string"
  13359. },
  13360. "trademode": {
  13361. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  13362. "type": "integer"
  13363. },
  13364. "tradeprice": {
  13365. "description": "成交价格",
  13366. "type": "number"
  13367. },
  13368. "tradeqty": {
  13369. "description": "成交数量",
  13370. "type": "integer"
  13371. }
  13372. }
  13373. },
  13374. "models.HsbySellMyDetail": {
  13375. "type": "object",
  13376. "required": [
  13377. "accountid",
  13378. "buyorsell",
  13379. "goodscode",
  13380. "goodsid",
  13381. "goodsname",
  13382. "marketid",
  13383. "orderid",
  13384. "time",
  13385. "trademode"
  13386. ],
  13387. "properties": {
  13388. "accountid": {
  13389. "description": "账户ID[报价币种]",
  13390. "type": "integer"
  13391. },
  13392. "agreeunit": {
  13393. "description": "合约单位",
  13394. "type": "number"
  13395. },
  13396. "buyorsell": {
  13397. "description": "买卖 - 0:买 1:卖",
  13398. "type": "integer"
  13399. },
  13400. "currencysign": {
  13401. "description": "货币符号",
  13402. "type": "string"
  13403. },
  13404. "decimalplace": {
  13405. "description": "报价小数位",
  13406. "type": "integer"
  13407. },
  13408. "goodscode": {
  13409. "description": "商品代码(内部)",
  13410. "type": "string"
  13411. },
  13412. "goodsid": {
  13413. "description": "商品ID",
  13414. "type": "integer"
  13415. },
  13416. "goodsname": {
  13417. "description": "商品名称",
  13418. "type": "string"
  13419. },
  13420. "marketid": {
  13421. "description": "市场ID",
  13422. "type": "integer"
  13423. },
  13424. "orderid": {
  13425. "description": "单号(发布中 - 委托单号;已完成 - 成交单号)",
  13426. "type": "string"
  13427. },
  13428. "ordertype": {
  13429. "description": "单据类型:0 - 发布中, 1 - 已完成",
  13430. "type": "integer"
  13431. },
  13432. "picurls": {
  13433. "description": "介绍图片[多张用逗号分隔]",
  13434. "type": "string"
  13435. },
  13436. "price": {
  13437. "description": "价格",
  13438. "type": "number"
  13439. },
  13440. "qty": {
  13441. "description": "数量",
  13442. "type": "integer"
  13443. },
  13444. "time": {
  13445. "description": "时间",
  13446. "type": "string"
  13447. },
  13448. "trademode": {
  13449. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  13450. "type": "integer"
  13451. },
  13452. "vendorname": {
  13453. "description": "供应商名称",
  13454. "type": "string"
  13455. }
  13456. }
  13457. },
  13458. "models.HsbyTopGoods": {
  13459. "type": "object",
  13460. "required": [
  13461. "goodscode",
  13462. "goodsid",
  13463. "goodsname",
  13464. "marketid",
  13465. "trademode"
  13466. ],
  13467. "properties": {
  13468. "agreeunit": {
  13469. "description": "合约单位",
  13470. "type": "number"
  13471. },
  13472. "currency": {
  13473. "description": "货币",
  13474. "type": "string"
  13475. },
  13476. "currencysign": {
  13477. "description": "货币符号",
  13478. "type": "string"
  13479. },
  13480. "decimalplace": {
  13481. "description": "报价小数位",
  13482. "type": "integer"
  13483. },
  13484. "desccityid": {
  13485. "description": "目的地(市)",
  13486. "type": "integer"
  13487. },
  13488. "descprovinceid": {
  13489. "description": "目的地(省)",
  13490. "type": "integer"
  13491. },
  13492. "goodscode": {
  13493. "description": "商品代码(内部)",
  13494. "type": "string"
  13495. },
  13496. "goodsid": {
  13497. "description": "商品ID(自增ID SEQ_GOODS)",
  13498. "type": "integer"
  13499. },
  13500. "goodsname": {
  13501. "description": "商品名称",
  13502. "type": "string"
  13503. },
  13504. "hotindex": {
  13505. "description": "景点热度",
  13506. "type": "integer"
  13507. },
  13508. "last": {
  13509. "description": "现价",
  13510. "type": "number"
  13511. },
  13512. "marketid": {
  13513. "description": "所属市场ID",
  13514. "type": "integer"
  13515. },
  13516. "picurls": {
  13517. "description": "介绍图片[多张用逗号分隔]",
  13518. "type": "string"
  13519. },
  13520. "quoteminunit": {
  13521. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  13522. "type": "integer"
  13523. },
  13524. "trademode": {
  13525. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  13526. "type": "integer"
  13527. },
  13528. "videourls": {
  13529. "description": "介绍视频[多张用逗号分隔]",
  13530. "type": "string"
  13531. }
  13532. }
  13533. },
  13534. "models.HybsMyBuyOrderDetail": {
  13535. "type": "object",
  13536. "required": [
  13537. "accountid",
  13538. "buyorsell",
  13539. "goodscode",
  13540. "goodsid",
  13541. "goodsname",
  13542. "marketid",
  13543. "orderid",
  13544. "orderqty",
  13545. "ordertime",
  13546. "trademode"
  13547. ],
  13548. "properties": {
  13549. "accountid": {
  13550. "description": "账户ID[报价币种]",
  13551. "type": "integer"
  13552. },
  13553. "agreeunit": {
  13554. "description": "合约单位",
  13555. "type": "number"
  13556. },
  13557. "buyorsell": {
  13558. "description": "买卖 - 0:买 1:卖",
  13559. "type": "integer"
  13560. },
  13561. "cancelqty": {
  13562. "description": "撤单数量",
  13563. "type": "integer"
  13564. },
  13565. "currencysign": {
  13566. "description": "货币符号",
  13567. "type": "string"
  13568. },
  13569. "decimalplace": {
  13570. "description": "报价小数位",
  13571. "type": "integer"
  13572. },
  13573. "goodscode": {
  13574. "description": "商品代码(内部)",
  13575. "type": "string"
  13576. },
  13577. "goodsid": {
  13578. "description": "商品ID",
  13579. "type": "integer"
  13580. },
  13581. "goodsname": {
  13582. "description": "商品名称",
  13583. "type": "string"
  13584. },
  13585. "listingselecttype": {
  13586. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  13587. "type": "integer"
  13588. },
  13589. "marketid": {
  13590. "description": "市场ID",
  13591. "type": "integer"
  13592. },
  13593. "mybuystatus": {
  13594. "description": "\"我的订单\"显示状态- 1:抢购中 2:求购中 3:已完成 4:已撤消 5:委托失败",
  13595. "type": "integer"
  13596. },
  13597. "orderamount": {
  13598. "description": "委托金额",
  13599. "type": "number"
  13600. },
  13601. "orderid": {
  13602. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  13603. "type": "string"
  13604. },
  13605. "orderprice": {
  13606. "description": "委托价格",
  13607. "type": "number"
  13608. },
  13609. "orderqty": {
  13610. "description": "委托数量",
  13611. "type": "integer"
  13612. },
  13613. "orderstatus": {
  13614. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  13615. "type": "integer"
  13616. },
  13617. "ordertime": {
  13618. "description": "委托时间",
  13619. "type": "string"
  13620. },
  13621. "picurls1": {
  13622. "description": "预售商品介绍图片[多张用逗号分隔]",
  13623. "type": "string"
  13624. },
  13625. "picurls2": {
  13626. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  13627. "type": "string"
  13628. },
  13629. "trademode": {
  13630. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  13631. "type": "integer"
  13632. },
  13633. "tradeqty": {
  13634. "description": "成交数量",
  13635. "type": "integer"
  13636. },
  13637. "vendorname1": {
  13638. "description": "预售商品供应商名称",
  13639. "type": "string"
  13640. },
  13641. "vendorname2": {
  13642. "description": "挂牌商品供应商名称",
  13643. "type": "string"
  13644. }
  13645. }
  13646. },
  13647. "models.Market": {
  13648. "type": "object",
  13649. "required": [
  13650. "marketid",
  13651. "marketstatus",
  13652. "openmethod",
  13653. "reckonpricealgorithm",
  13654. "trademode",
  13655. "tradeproperty"
  13656. ],
  13657. "properties": {
  13658. "auctionwrtype": {
  13659. "description": "竞拍仓单类型 - 1:无仓单 2:有仓单 3;有无仓单均可",
  13660. "type": "integer"
  13661. },
  13662. "canacceptquote": {
  13663. "description": "确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]",
  13664. "type": "integer"
  13665. },
  13666. "cangoodsexercise": {
  13667. "description": "[期权]是否可现货行权- 0:否 1:是",
  13668. "type": "integer"
  13669. },
  13670. "cangoodsexercisetype": {
  13671. "description": "可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]",
  13672. "type": "integer"
  13673. },
  13674. "canmanualquotestrike": {
  13675. "description": "是否可手动报行权价- 0:否 1:是 [期权]",
  13676. "type": "integer"
  13677. },
  13678. "canmutistage": {
  13679. "description": "是否可多段运行 – 0:不可 1:可 [挂牌期权]",
  13680. "type": "integer"
  13681. },
  13682. "canpreexercise": {
  13683. "description": "[期权]是否可预申报- 0:否 1:是",
  13684. "type": "integer"
  13685. },
  13686. "clearinterval": {
  13687. "description": "待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))",
  13688. "type": "integer"
  13689. },
  13690. "contracttmp": {
  13691. "description": "合同模板[荷兰式][竞价式][仓单贸易]",
  13692. "type": "string"
  13693. },
  13694. "exchareaid": {
  13695. "description": "所属交易所,可以没有",
  13696. "type": "integer"
  13697. },
  13698. "goodstype": {
  13699. "description": "商品类型 - 1:交易商品 2:仓单商品",
  13700. "type": "integer"
  13701. },
  13702. "hasrebate": {
  13703. "description": "是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏",
  13704. "type": "integer"
  13705. },
  13706. "hastradecredit": {
  13707. "description": "是否交易授信[做市收益权] - 0:不授信 1:授信",
  13708. "type": "integer"
  13709. },
  13710. "haswr": {
  13711. "description": "[竞拍]是否需要仓单 - 0:不需要 1:需要-作废",
  13712. "type": "integer"
  13713. },
  13714. "isdeductmargin": {
  13715. "description": "竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除",
  13716. "type": "integer"
  13717. },
  13718. "isrecordsource": {
  13719. "description": "是否记录成交源 - 0:不记录 1:记录 [所有权]",
  13720. "type": "integer"
  13721. },
  13722. "isreleasemargin": {
  13723. "description": "成交参与保证金是否释放[竞价式] - 0:不释放 1释放",
  13724. "type": "integer"
  13725. },
  13726. "marginformula": {
  13727. "description": "持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  13728. "type": "integer"
  13729. },
  13730. "marginformula2": {
  13731. "description": "持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  13732. "type": "integer"
  13733. },
  13734. "marketid": {
  13735. "description": "市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务",
  13736. "type": "integer"
  13737. },
  13738. "marketname": {
  13739. "description": "市场名称",
  13740. "type": "string"
  13741. },
  13742. "marketserviceid": {
  13743. "description": "市场服务ID",
  13744. "type": "integer"
  13745. },
  13746. "marketstatus": {
  13747. "description": "生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销",
  13748. "type": "integer"
  13749. },
  13750. "markettype": {
  13751. "description": "市场类型- 1:非交易服务 2:交易服务",
  13752. "type": "integer"
  13753. },
  13754. "matchermode": {
  13755. "description": "指定对手模式[仓单贸易模式专用] - 1:任意对手",
  13756. "type": "integer"
  13757. },
  13758. "openmethod": {
  13759. "description": "开盘模式 - 0 自动 1手动",
  13760. "type": "integer"
  13761. },
  13762. "otcuserid": {
  13763. "description": "场外期权做市商[场外期权]",
  13764. "type": "integer"
  13765. },
  13766. "outersynctime": {
  13767. "description": "外部同步时间点(h24:mi:ss)[场外期权]",
  13768. "type": "string"
  13769. },
  13770. "pendingflag": {
  13771. "description": "待开市时间标识[通道交易-对冲] - 0:当日 1:上日",
  13772. "type": "integer"
  13773. },
  13774. "pendingtime": {
  13775. "description": "待开市时间[通道交易-对冲](HH:mm)",
  13776. "type": "string"
  13777. },
  13778. "performancetempid": {
  13779. "description": "履约计划模板ID - 作废",
  13780. "type": "integer"
  13781. },
  13782. "premiumquotemode": {
  13783. "description": "权利金报价方式 - 1:自动 2:手动",
  13784. "type": "integer"
  13785. },
  13786. "rebateratio": {
  13787. "description": "返利比率[竞价式]",
  13788. "type": "number"
  13789. },
  13790. "reckonorder": {
  13791. "description": "结算顺序",
  13792. "type": "integer"
  13793. },
  13794. "reckonpricealgorithm": {
  13795. "description": "结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价 6.卖一价 7.买一卖一均价 8.外部结算价",
  13796. "type": "integer"
  13797. },
  13798. "reckonpriceparam": {
  13799. "description": "结算价参数",
  13800. "type": "integer"
  13801. },
  13802. "reckontime": {
  13803. "description": "结算时间[通道交易-对冲](HH:mm)",
  13804. "type": "string"
  13805. },
  13806. "roleprioritytype": {
  13807. "description": "角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]",
  13808. "type": "integer"
  13809. },
  13810. "selllistingauditflag": {
  13811. "description": "卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要",
  13812. "type": "integer"
  13813. },
  13814. "trademarkettype": {
  13815. "description": "交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场",
  13816. "type": "integer"
  13817. },
  13818. "trademode": {
  13819. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  13820. "type": "integer"
  13821. },
  13822. "tradeproperty": {
  13823. "description": "交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易 8:场外期权",
  13824. "type": "integer"
  13825. },
  13826. "tradetype": {
  13827. "description": "下单方式[通道交易] - 1:直接转单 2:净头寸下单",
  13828. "type": "integer"
  13829. }
  13830. }
  13831. },
  13832. "models.Marketrun": {
  13833. "type": "object",
  13834. "required": [
  13835. "marketid",
  13836. "nexttradedate",
  13837. "reckonflag",
  13838. "runstatus",
  13839. "tradedate",
  13840. "tradedate2"
  13841. ],
  13842. "properties": {
  13843. "afternexttradedate": {
  13844. "description": "下下交易日",
  13845. "type": "string"
  13846. },
  13847. "clearquoteflag": {
  13848. "description": "行情清盘标志- 1:未发送 2:已发送 3:已回复",
  13849. "type": "integer"
  13850. },
  13851. "lastreckondate": {
  13852. "description": "最新交易日(结算成功)",
  13853. "type": "string"
  13854. },
  13855. "machinedate": {
  13856. "description": "机器时间",
  13857. "type": "string"
  13858. },
  13859. "manualflag": {
  13860. "description": "手动开市标志- 0:否 1:是 (市场为手动时,是否触发了手动开市标志)",
  13861. "type": "integer"
  13862. },
  13863. "marketid": {
  13864. "description": "市场ID",
  13865. "type": "integer"
  13866. },
  13867. "nexttradedate": {
  13868. "description": "下一交易日",
  13869. "type": "string"
  13870. },
  13871. "pretradedate": {
  13872. "description": "上一交易日",
  13873. "type": "string"
  13874. },
  13875. "reckonflag": {
  13876. "description": "结算标识 - 0: 停止结算 1: 正常(管理端控制此字段,交易服务根据此字段判断是否做结算)",
  13877. "type": "integer"
  13878. },
  13879. "runstatus": {
  13880. "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.今日免清算",
  13881. "type": "integer"
  13882. },
  13883. "sectionid": {
  13884. "description": "时间段号[多时段时用]",
  13885. "type": "integer"
  13886. },
  13887. "tradedate": {
  13888. "description": "当前交易日(服务) 资金结算完成即变更,供交易服务使用",
  13889. "type": "string"
  13890. },
  13891. "tradedate2": {
  13892. "description": "当前交易日(行情) 在第一个市场待开市时变更为TradeDate,供行情及终端系统使用",
  13893. "type": "string"
  13894. },
  13895. "updatetime": {
  13896. "description": "更新时间",
  13897. "type": "string"
  13898. }
  13899. }
  13900. },
  13901. "models.Messageboard": {
  13902. "type": "object",
  13903. "required": [
  13904. "messageboardid"
  13905. ],
  13906. "properties": {
  13907. "createtime": {
  13908. "description": "创建时间",
  13909. "type": "string"
  13910. },
  13911. "message": {
  13912. "description": "留言信息",
  13913. "type": "string"
  13914. },
  13915. "messageboardid": {
  13916. "description": "留言簿ID(SEQ_MessageBoard)",
  13917. "type": "integer"
  13918. },
  13919. "userid": {
  13920. "description": "用户ID",
  13921. "type": "integer"
  13922. }
  13923. }
  13924. },
  13925. "models.MyCoupon": {
  13926. "type": "object",
  13927. "required": [
  13928. "accountid",
  13929. "coupontypeid"
  13930. ],
  13931. "properties": {
  13932. "accountid": {
  13933. "description": "资金账户ID",
  13934. "type": "integer"
  13935. },
  13936. "areauserid": {
  13937. "description": "所属机构",
  13938. "type": "integer"
  13939. },
  13940. "conditionvalue": {
  13941. "description": "条件阈值(可为0)",
  13942. "type": "number"
  13943. },
  13944. "couponcategroy": {
  13945. "description": "种类 - 1:现金券 2:折扣券 3:折扣券(单张)",
  13946. "type": "integer"
  13947. },
  13948. "couponname": {
  13949. "description": "优惠券名称",
  13950. "type": "string"
  13951. },
  13952. "coupontypeid": {
  13953. "description": "优惠券类型ID",
  13954. "type": "string"
  13955. },
  13956. "couponvalue": {
  13957. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值]",
  13958. "type": "number"
  13959. },
  13960. "curfreezeqty": {
  13961. "description": "期末冻结数量",
  13962. "type": "integer"
  13963. },
  13964. "curqty": {
  13965. "description": "期末数量",
  13966. "type": "integer"
  13967. },
  13968. "isgeneral": {
  13969. "description": "是否通用券 - 0:否 1:是",
  13970. "type": "integer"
  13971. },
  13972. "isunusable": {
  13973. "description": "是否不可用",
  13974. "type": "boolean"
  13975. },
  13976. "limitedflag": {
  13977. "description": "是否指定商品 - 0:不限 1:限制",
  13978. "type": "integer"
  13979. },
  13980. "limitedgoodsids": {
  13981. "description": "指定商品IDs[逗号分隔,前后加逗号]",
  13982. "type": "string"
  13983. },
  13984. "orifreezeqty": {
  13985. "description": "期初冻结数量",
  13986. "type": "integer"
  13987. },
  13988. "oriqty": {
  13989. "description": "期初数量",
  13990. "type": "integer"
  13991. },
  13992. "reasontype": {
  13993. "description": "不可用原因 - 0:未确认 1:不可用于此商品 2:不可用于此卖家",
  13994. "type": "integer"
  13995. },
  13996. "todaydecrease": {
  13997. "description": "今日减少",
  13998. "type": "integer"
  13999. },
  14000. "todayincrease": {
  14001. "description": "今日增加",
  14002. "type": "integer"
  14003. },
  14004. "userid": {
  14005. "description": "用户ID",
  14006. "type": "integer"
  14007. },
  14008. "userscope": {
  14009. "description": "卖家范围(用户ID,逗号分隔,前后加逗号) [IsGeneral =0时使用]",
  14010. "type": "string"
  14011. }
  14012. }
  14013. },
  14014. "models.MyCouponHold": {
  14015. "type": "object",
  14016. "required": [
  14017. "couponholdid"
  14018. ],
  14019. "properties": {
  14020. "accountid": {
  14021. "description": "资金账户ID",
  14022. "type": "integer"
  14023. },
  14024. "conditionvalue": {
  14025. "description": "条件阈值(可为0)",
  14026. "type": "number"
  14027. },
  14028. "couponcategroy": {
  14029. "description": "种类 - 1:现金券 2:折扣券 3:折扣券(单个商品)",
  14030. "type": "integer"
  14031. },
  14032. "couponholdid": {
  14033. "description": "优惠券持仓ID(229+Unix秒时间戳(10位)+xxxxxx)",
  14034. "type": "string"
  14035. },
  14036. "couponname": {
  14037. "description": "优惠券名称",
  14038. "type": "string"
  14039. },
  14040. "coupontypeid": {
  14041. "description": "优惠券类型ID - SEQ_COUPONTYPE",
  14042. "type": "string"
  14043. },
  14044. "couponvalue": {
  14045. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值]",
  14046. "type": "number"
  14047. },
  14048. "createtime": {
  14049. "description": "创建时间",
  14050. "type": "string"
  14051. },
  14052. "enddate": {
  14053. "description": "结束日期",
  14054. "type": "string"
  14055. },
  14056. "giveapplyid": {
  14057. "description": "发放申请ID(SEQ_COUPONGIVEAPPLY)",
  14058. "type": "integer"
  14059. },
  14060. "holdstatus": {
  14061. "description": "持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期",
  14062. "type": "integer"
  14063. },
  14064. "isgeneral": {
  14065. "description": "是否通用券 - 0:否 1:是",
  14066. "type": "integer"
  14067. },
  14068. "limitedflag": {
  14069. "description": "是否指定商品 - 0:不限 1:限制",
  14070. "type": "integer"
  14071. },
  14072. "limitedgoodsids": {
  14073. "description": "指定商品IDs[逗号分隔]",
  14074. "type": "string"
  14075. },
  14076. "qty": {
  14077. "description": "数量(按1平铺)",
  14078. "type": "integer"
  14079. },
  14080. "startdate": {
  14081. "description": "开始日期",
  14082. "type": "string"
  14083. },
  14084. "userid": {
  14085. "description": "用户ID",
  14086. "type": "integer"
  14087. },
  14088. "userscope": {
  14089. "description": "卖家范围(用户ID,逗号分隔) [IsGeneral =0时使用]",
  14090. "type": "string"
  14091. }
  14092. }
  14093. },
  14094. "models.MyUsedCoupon": {
  14095. "type": "object",
  14096. "required": [
  14097. "coupontypeid",
  14098. "orderid"
  14099. ],
  14100. "properties": {
  14101. "accountid": {
  14102. "description": "资金账户ID(买方)",
  14103. "type": "integer"
  14104. },
  14105. "conditionvalue": {
  14106. "description": "条件阈值(可为0)",
  14107. "type": "number"
  14108. },
  14109. "couponcategroy": {
  14110. "description": "种类 - 1:现金券 2:折扣券",
  14111. "type": "integer"
  14112. },
  14113. "couponname": {
  14114. "description": "优惠券名称",
  14115. "type": "string"
  14116. },
  14117. "coupontypeid": {
  14118. "description": "优惠券类型ID(买方)",
  14119. "type": "string"
  14120. },
  14121. "couponvalue": {
  14122. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值(0-100)]",
  14123. "type": "number"
  14124. },
  14125. "createtime": {
  14126. "description": "创建时间",
  14127. "type": "string"
  14128. },
  14129. "goodsid": {
  14130. "description": "商品ID",
  14131. "type": "integer"
  14132. },
  14133. "handlestatus": {
  14134. "description": "处理状态",
  14135. "type": "integer"
  14136. },
  14137. "marketid": {
  14138. "description": "市场ID",
  14139. "type": "integer"
  14140. },
  14141. "offamount": {
  14142. "description": "优惠金额",
  14143. "type": "number"
  14144. },
  14145. "orderid": {
  14146. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  14147. "type": "string"
  14148. },
  14149. "sellaccountid": {
  14150. "description": "资金账户ID(卖方)",
  14151. "type": "integer"
  14152. },
  14153. "tradeamount": {
  14154. "description": "成交金额",
  14155. "type": "number"
  14156. },
  14157. "tradeid": {
  14158. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  14159. "type": "string"
  14160. },
  14161. "usedqty": {
  14162. "description": "使用数量",
  14163. "type": "integer"
  14164. }
  14165. }
  14166. },
  14167. "models.OperationPrimaryMenu": {
  14168. "type": "object",
  14169. "properties": {
  14170. "Children": {
  14171. "description": "二级功能菜单",
  14172. "type": "array",
  14173. "items": {
  14174. "$ref": "#/definitions/models.OperationSecondaryMenu"
  14175. }
  14176. },
  14177. "Key": {
  14178. "description": "菜单KEY",
  14179. "type": "string"
  14180. },
  14181. "Label": {
  14182. "description": "菜单标题",
  14183. "type": "string"
  14184. }
  14185. }
  14186. },
  14187. "models.OperationSecondaryMenu": {
  14188. "type": "object",
  14189. "properties": {
  14190. "Key": {
  14191. "description": "菜单KEY",
  14192. "type": "string"
  14193. },
  14194. "Label": {
  14195. "description": "菜单标题",
  14196. "type": "string"
  14197. },
  14198. "TabList": {
  14199. "description": "三级功能菜单",
  14200. "type": "array",
  14201. "items": {
  14202. "$ref": "#/definitions/models.OperationTabMenu"
  14203. }
  14204. }
  14205. }
  14206. },
  14207. "models.OperationTabMenu": {
  14208. "type": "object",
  14209. "properties": {
  14210. "Key": {
  14211. "description": "菜单KEY",
  14212. "type": "string"
  14213. },
  14214. "Label": {
  14215. "description": "菜单标题",
  14216. "type": "string"
  14217. }
  14218. }
  14219. },
  14220. "models.QueryErrorInfosRsp": {
  14221. "type": "object",
  14222. "required": [
  14223. "errorid"
  14224. ],
  14225. "properties": {
  14226. "description": {
  14227. "description": "异常描述",
  14228. "type": "string"
  14229. },
  14230. "errorcode": {
  14231. "description": "异常代码",
  14232. "type": "string"
  14233. },
  14234. "errorid": {
  14235. "description": "异常ID",
  14236. "type": "integer"
  14237. },
  14238. "modulecode": {
  14239. "description": "所属模块",
  14240. "type": "string"
  14241. },
  14242. "operatecode": {
  14243. "description": "所属操作",
  14244. "type": "string"
  14245. },
  14246. "rownumber": {
  14247. "description": "行号",
  14248. "type": "string"
  14249. }
  14250. }
  14251. },
  14252. "models.QuotePrimaryMenu": {
  14253. "type": "object",
  14254. "properties": {
  14255. "Index": {
  14256. "description": "序号",
  14257. "type": "integer"
  14258. },
  14259. "Key": {
  14260. "description": "键名",
  14261. "type": "string"
  14262. },
  14263. "Name": {
  14264. "description": "菜单名称",
  14265. "type": "string"
  14266. },
  14267. "SubMenus": {
  14268. "description": "子菜单",
  14269. "type": "array",
  14270. "items": {
  14271. "$ref": "#/definitions/models.QuoteSecondaryMenu"
  14272. }
  14273. },
  14274. "SubTitleType": {
  14275. "description": "子菜单标题模式:0-市场名称;1-外部交易所名称",
  14276. "type": "integer"
  14277. },
  14278. "TradeModes": {
  14279. "description": "包含市场交易类型",
  14280. "type": "string"
  14281. }
  14282. }
  14283. },
  14284. "models.QuoteSecondaryMenu": {
  14285. "type": "object",
  14286. "properties": {
  14287. "ExExchangeCode": {
  14288. "description": "外部交易所代码",
  14289. "type": "string"
  14290. },
  14291. "ExExchangeID": {
  14292. "description": "外部交易所ID",
  14293. "type": "integer"
  14294. },
  14295. "GoodsGroupIDs": {
  14296. "description": "商品组ID列表",
  14297. "type": "array",
  14298. "items": {
  14299. "type": "integer"
  14300. }
  14301. },
  14302. "Index": {
  14303. "description": "序号",
  14304. "type": "integer"
  14305. },
  14306. "MarketID": {
  14307. "description": "市场ID",
  14308. "type": "integer"
  14309. },
  14310. "MenuTitle": {
  14311. "description": "菜单标题(市场名称或外部交易所名称)",
  14312. "type": "string"
  14313. },
  14314. "TradeMode": {
  14315. "description": "交易模式",
  14316. "type": "integer"
  14317. }
  14318. }
  14319. },
  14320. "models.SearchGoods": {
  14321. "type": "object",
  14322. "required": [
  14323. "goodscode",
  14324. "goodsid",
  14325. "goodsname",
  14326. "marketid",
  14327. "trademode"
  14328. ],
  14329. "properties": {
  14330. "goodscode": {
  14331. "description": "商品代码(内部)",
  14332. "type": "string"
  14333. },
  14334. "goodsid": {
  14335. "description": "商品ID(自增ID SEQ_GOODS)",
  14336. "type": "integer"
  14337. },
  14338. "goodsname": {
  14339. "description": "商品名称",
  14340. "type": "string"
  14341. },
  14342. "marketid": {
  14343. "description": "所属市场ID",
  14344. "type": "integer"
  14345. },
  14346. "marketname": {
  14347. "description": "市场名称",
  14348. "type": "string"
  14349. },
  14350. "trademode": {
  14351. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  14352. "type": "integer"
  14353. }
  14354. }
  14355. },
  14356. "models.Szdz2imageconfig": {
  14357. "type": "object",
  14358. "required": [
  14359. "configid"
  14360. ],
  14361. "properties": {
  14362. "configid": {
  14363. "description": "配置ID(SEQ_SZDZ2_IMAGECONFIG)",
  14364. "type": "integer"
  14365. },
  14366. "imagepath": {
  14367. "description": "图片",
  14368. "type": "string"
  14369. },
  14370. "imagetype": {
  14371. "description": "类型 - 1:App首页轮播 2:我的",
  14372. "type": "integer"
  14373. },
  14374. "sort": {
  14375. "description": "排序",
  14376. "type": "integer"
  14377. },
  14378. "title": {
  14379. "description": "标题",
  14380. "type": "string"
  14381. },
  14382. "url": {
  14383. "description": "链接",
  14384. "type": "string"
  14385. }
  14386. }
  14387. },
  14388. "models.Szdz3convertconfig": {
  14389. "type": "object",
  14390. "required": [
  14391. "converttype",
  14392. "innergoodsid",
  14393. "outergoodscode"
  14394. ],
  14395. "properties": {
  14396. "canin": {
  14397. "description": "是否可转入 - 0:不可 1:可 [5:花生米转交易]",
  14398. "type": "integer"
  14399. },
  14400. "canout": {
  14401. "description": "是否可转出 - 0:不可 1:可 [5:花生米转交易]",
  14402. "type": "integer"
  14403. },
  14404. "converttype": {
  14405. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)",
  14406. "type": "integer"
  14407. },
  14408. "createtime": {
  14409. "description": "创建时间",
  14410. "type": "string"
  14411. },
  14412. "creatorid": {
  14413. "description": "创建人",
  14414. "type": "integer"
  14415. },
  14416. "daymaxvalue": {
  14417. "description": "当日最大转入限制",
  14418. "type": "number"
  14419. },
  14420. "freezedays": {
  14421. "description": "冻结天数 [5:花生米转交易]",
  14422. "type": "integer"
  14423. },
  14424. "innergoodsid": {
  14425. "description": "内部商品ID[交易]",
  14426. "type": "integer"
  14427. },
  14428. "inratio": {
  14429. "description": "目标值",
  14430. "type": "integer"
  14431. },
  14432. "modifierid": {
  14433. "description": "修改人",
  14434. "type": "integer"
  14435. },
  14436. "modifytime": {
  14437. "description": "修改时间",
  14438. "type": "string"
  14439. },
  14440. "outergoodscode": {
  14441. "description": "外部商品代码[JD\\PD]",
  14442. "type": "string"
  14443. },
  14444. "outratio": {
  14445. "description": "源值",
  14446. "type": "integer"
  14447. },
  14448. "pddecimalplace": {
  14449. "description": "PD小数位",
  14450. "type": "integer"
  14451. },
  14452. "timemaxvalue": {
  14453. "description": "单次最大转入限制",
  14454. "type": "number"
  14455. },
  14456. "timeminvalue": {
  14457. "description": "单次最小转入限制",
  14458. "type": "number"
  14459. }
  14460. }
  14461. },
  14462. "models.Szdz3searchwhitelist": {
  14463. "type": "object",
  14464. "required": [
  14465. "userid"
  14466. ],
  14467. "properties": {
  14468. "createtime": {
  14469. "description": "创建时间",
  14470. "type": "string"
  14471. },
  14472. "creatorid": {
  14473. "description": "创建人",
  14474. "type": "integer"
  14475. },
  14476. "modifierid": {
  14477. "description": "修改人",
  14478. "type": "integer"
  14479. },
  14480. "modifytime": {
  14481. "description": "修改时间",
  14482. "type": "string"
  14483. },
  14484. "userid": {
  14485. "description": "用户ID",
  14486. "type": "integer"
  14487. }
  14488. }
  14489. },
  14490. "models.Taaccount": {
  14491. "type": "object",
  14492. "required": [
  14493. "accountid",
  14494. "userid"
  14495. ],
  14496. "properties": {
  14497. "accountflag": {
  14498. "description": "账户标识 - 0\\1 (默认为0, 当上级账户与本账户的关联用户均为自己时更新为1)",
  14499. "type": "integer"
  14500. },
  14501. "accountid": {
  14502. "description": "资金账户ID",
  14503. "type": "integer"
  14504. },
  14505. "accountname": {
  14506. "description": "账户名称",
  14507. "type": "string"
  14508. },
  14509. "balance": {
  14510. "description": "期初余额",
  14511. "type": "number"
  14512. },
  14513. "capitalbalance": {
  14514. "description": "本金余额[外部子账户实际出入金余额]",
  14515. "type": "number"
  14516. },
  14517. "changeflag": {
  14518. "description": "变动标志(当前账户资金有任何变动更新为1系统结算时更新0;供清算时使用) 0:无变动 1:有变动",
  14519. "type": "integer"
  14520. },
  14521. "changetime": {
  14522. "description": "账户状态变更时间",
  14523. "type": "string"
  14524. },
  14525. "closepl": {
  14526. "description": "今日平仓盈亏",
  14527. "type": "number"
  14528. },
  14529. "creditdecrease": {
  14530. "description": "今日授信减少",
  14531. "type": "number"
  14532. },
  14533. "creditincrease": {
  14534. "description": "今日授信增加",
  14535. "type": "number"
  14536. },
  14537. "currencyid": {
  14538. "description": "货币ID",
  14539. "type": "integer"
  14540. },
  14541. "currentbalance": {
  14542. "description": "期末余额",
  14543. "type": "number"
  14544. },
  14545. "freezecharge": {
  14546. "description": "手续费冻结",
  14547. "type": "number"
  14548. },
  14549. "freezemargin": {
  14550. "description": "冻结保证金",
  14551. "type": "number"
  14552. },
  14553. "fromaccountid": {
  14554. "description": "所属上级账户",
  14555. "type": "integer"
  14556. },
  14557. "inamount": {
  14558. "description": "今日入金金额(包括三方入金)",
  14559. "type": "number"
  14560. },
  14561. "ismain": {
  14562. "description": "是否母账号 0:不是母账户 1:是母账户",
  14563. "type": "integer"
  14564. },
  14565. "ismarketaccount": {
  14566. "description": "是否机构接单账号 0:不是 1:是",
  14567. "type": "integer"
  14568. },
  14569. "isreckonaccount": {
  14570. "description": "是否机构分润账号 0:不是 1:是",
  14571. "type": "integer"
  14572. },
  14573. "mortgagecredit": {
  14574. "description": "授信金额",
  14575. "type": "number"
  14576. },
  14577. "orifreezecharge": {
  14578. "description": "期初手续费冻结",
  14579. "type": "number"
  14580. },
  14581. "orifreezemargin": {
  14582. "description": "期初冻结保证金",
  14583. "type": "number"
  14584. },
  14585. "orimortgagecredit": {
  14586. "description": "期初授信金额",
  14587. "type": "number"
  14588. },
  14589. "oriothercredit": {
  14590. "description": "期初其它授信金额",
  14591. "type": "number"
  14592. },
  14593. "oriotherfreezemargin": {
  14594. "description": "期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)",
  14595. "type": "number"
  14596. },
  14597. "orioutamountfreeze": {
  14598. "description": "期初出金冻结",
  14599. "type": "number"
  14600. },
  14601. "oriusedmargin": {
  14602. "description": "期初占用保证金",
  14603. "type": "number"
  14604. },
  14605. "othercredit": {
  14606. "description": "其它授信金额",
  14607. "type": "number"
  14608. },
  14609. "othercreditdecrease": {
  14610. "description": "今日其它授信减少",
  14611. "type": "number"
  14612. },
  14613. "othercreditincrease": {
  14614. "description": "今日其它授信增加",
  14615. "type": "number"
  14616. },
  14617. "otherfreezemargin": {
  14618. "description": "其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)",
  14619. "type": "number"
  14620. },
  14621. "otherincome": {
  14622. "description": "其他收入(交割收款 申购收款 全款卖出 商城卖出 买家退货 会员手续费收入)",
  14623. "type": "number"
  14624. },
  14625. "otherpay": {
  14626. "description": "其他支出(交割付款 申购付款 全款买入 商城买入 卖家退货)",
  14627. "type": "number"
  14628. },
  14629. "outamount": {
  14630. "description": "今日出金金额(包括三方出金)",
  14631. "type": "number"
  14632. },
  14633. "outamountfreeze": {
  14634. "description": "出金冻结",
  14635. "type": "number"
  14636. },
  14637. "outthreshold": {
  14638. "description": "出金阈值",
  14639. "type": "number"
  14640. },
  14641. "parentaccountid": {
  14642. "description": "所属根账号",
  14643. "type": "integer"
  14644. },
  14645. "paycharge": {
  14646. "description": "今日手续费支出",
  14647. "type": "number"
  14648. },
  14649. "relatedaccountstatus": {
  14650. "description": "关联用户交易权限状态 - 1:正常(可交易) 2:受限(可平仓,不可建仓) 3:冻结(不可交易)",
  14651. "type": "integer"
  14652. },
  14653. "relateduserid": {
  14654. "description": "关联用户",
  14655. "type": "integer"
  14656. },
  14657. "serivcegroup": {
  14658. "description": "服务分组",
  14659. "type": "integer"
  14660. },
  14661. "signstatus": {
  14662. "description": "签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中",
  14663. "type": "integer"
  14664. },
  14665. "sublevelpath": {
  14666. "description": "账号层级路径(逗号分隔,首尾加逗号)",
  14667. "type": "string"
  14668. },
  14669. "taaccounttype": {
  14670. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  14671. "type": "integer"
  14672. },
  14673. "thirdinamount": {
  14674. "description": "今日三方入金",
  14675. "type": "number"
  14676. },
  14677. "thirdoutamount": {
  14678. "description": "今日三方出金",
  14679. "type": "number"
  14680. },
  14681. "tradestatus": {
  14682. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  14683. "type": "integer"
  14684. },
  14685. "tradestatuschangetime": {
  14686. "description": "激活时间",
  14687. "type": "string"
  14688. },
  14689. "transferamount": {
  14690. "description": "今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)",
  14691. "type": "number"
  14692. },
  14693. "usedmargin": {
  14694. "description": "占用保证金",
  14695. "type": "number"
  14696. },
  14697. "userid": {
  14698. "description": "用户ID",
  14699. "type": "integer"
  14700. }
  14701. }
  14702. },
  14703. "models.Tablecolumnconfig": {
  14704. "type": "object",
  14705. "required": [
  14706. "autoid"
  14707. ],
  14708. "properties": {
  14709. "aligntype": {
  14710. "description": "对齐方式 - 1:居中对齐 2:左对齐 3:右对齐",
  14711. "type": "integer"
  14712. },
  14713. "autoid": {
  14714. "description": "AutoID",
  14715. "type": "integer"
  14716. },
  14717. "columnfield": {
  14718. "description": "列字段",
  14719. "type": "string"
  14720. },
  14721. "columntitle": {
  14722. "description": "列Title",
  14723. "type": "string"
  14724. },
  14725. "columnwidth": {
  14726. "description": "列宽",
  14727. "type": "string"
  14728. },
  14729. "formatterstring": {
  14730. "description": "格式化字符",
  14731. "type": "string"
  14732. },
  14733. "formattertype": {
  14734. "description": "格式化类型",
  14735. "type": "string"
  14736. },
  14737. "groupname": {
  14738. "description": "表头分组名称",
  14739. "type": "string"
  14740. },
  14741. "isshow": {
  14742. "description": "是否显示 - 0:不显示 1:显示",
  14743. "type": "integer"
  14744. },
  14745. "needsummary": {
  14746. "description": "是否需要汇总 - 0:不需要 1:需要",
  14747. "type": "integer"
  14748. },
  14749. "orderindex": {
  14750. "description": "顺序",
  14751. "type": "integer"
  14752. },
  14753. "remark": {
  14754. "description": "备注",
  14755. "type": "string"
  14756. },
  14757. "summarytype": {
  14758. "description": "汇总类型 - 1:加总 2:最后一个",
  14759. "type": "integer"
  14760. },
  14761. "tablekey": {
  14762. "description": "列表Key",
  14763. "type": "string"
  14764. }
  14765. }
  14766. },
  14767. "models.Useraccount": {
  14768. "type": "object",
  14769. "required": [
  14770. "userid"
  14771. ],
  14772. "properties": {
  14773. "accountname": {
  14774. "description": "账户名称(机构名称)",
  14775. "type": "string"
  14776. },
  14777. "accountstatus": {
  14778. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销",
  14779. "type": "integer"
  14780. },
  14781. "auditremark": {
  14782. "description": "审核备注",
  14783. "type": "string"
  14784. },
  14785. "audittime": {
  14786. "description": "审核时间",
  14787. "type": "string"
  14788. },
  14789. "audituserid": {
  14790. "description": "审核人",
  14791. "type": "integer"
  14792. },
  14793. "broker": {
  14794. "description": "所属经纪人ID",
  14795. "type": "integer"
  14796. },
  14797. "canceltime": {
  14798. "description": "销户时间",
  14799. "type": "string"
  14800. },
  14801. "canceluserid": {
  14802. "description": "销户人",
  14803. "type": "integer"
  14804. },
  14805. "createtime": {
  14806. "description": "创建时间",
  14807. "type": "string"
  14808. },
  14809. "creatorid": {
  14810. "description": "创建人",
  14811. "type": "integer"
  14812. },
  14813. "hasauth": {
  14814. "description": "是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝",
  14815. "type": "integer"
  14816. },
  14817. "isanonymous": {
  14818. "description": "是否匿名下单 - 0:否 1:是",
  14819. "type": "integer"
  14820. },
  14821. "maxinvestornum": {
  14822. "description": "最大用户数(经纪会员下投资者个数)",
  14823. "type": "integer"
  14824. },
  14825. "memberuserid": {
  14826. "description": "所属会员ID",
  14827. "type": "integer"
  14828. },
  14829. "modifierid": {
  14830. "description": "修改人",
  14831. "type": "integer"
  14832. },
  14833. "modifyremark": {
  14834. "description": "变更备注",
  14835. "type": "string"
  14836. },
  14837. "modifystatus": {
  14838. "description": "变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)",
  14839. "type": "integer"
  14840. },
  14841. "modifytime": {
  14842. "description": "修改时间",
  14843. "type": "string"
  14844. },
  14845. "parentuserid": {
  14846. "description": "所属机构ID",
  14847. "type": "integer"
  14848. },
  14849. "reckonaccountid": {
  14850. "description": "默认结算资金账号ID(机构分润使用) 作废",
  14851. "type": "integer"
  14852. },
  14853. "refercount": {
  14854. "description": "推荐总人数",
  14855. "type": "integer"
  14856. },
  14857. "refereeuserid": {
  14858. "description": "推荐人ID",
  14859. "type": "integer"
  14860. },
  14861. "refernum": {
  14862. "description": "推荐码",
  14863. "type": "string"
  14864. },
  14865. "subarealevelpath": {
  14866. "description": "子机构层级路径(逗号分隔,首尾加逗号)",
  14867. "type": "string"
  14868. },
  14869. "userid": {
  14870. "description": "用户ID",
  14871. "type": "integer"
  14872. },
  14873. "usertype": {
  14874. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户",
  14875. "type": "integer"
  14876. }
  14877. }
  14878. },
  14879. "models.Userfavoritegoods": {
  14880. "type": "object",
  14881. "required": [
  14882. "goodsid"
  14883. ],
  14884. "properties": {
  14885. "goodsid": {
  14886. "description": "商品ID",
  14887. "type": "integer"
  14888. }
  14889. }
  14890. },
  14891. "models.Userinfo": {
  14892. "type": "object",
  14893. "required": [
  14894. "userid"
  14895. ],
  14896. "properties": {
  14897. "address": {
  14898. "description": "地址",
  14899. "type": "string"
  14900. },
  14901. "attachment1": {
  14902. "description": "附件1",
  14903. "type": "string"
  14904. },
  14905. "attachment2": {
  14906. "description": "附件2",
  14907. "type": "string"
  14908. },
  14909. "bankaccount": {
  14910. "description": "银行帐号 (加密存储)",
  14911. "type": "string"
  14912. },
  14913. "bankaccountname": {
  14914. "description": "收款人名称",
  14915. "type": "string"
  14916. },
  14917. "bankcardfrontphotourl": {
  14918. "description": "银行卡正面照地址",
  14919. "type": "string"
  14920. },
  14921. "bankid": {
  14922. "description": "银行编码",
  14923. "type": "string"
  14924. },
  14925. "bankname": {
  14926. "description": "银行名称",
  14927. "type": "string"
  14928. },
  14929. "biznature": {
  14930. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  14931. "type": "integer"
  14932. },
  14933. "bizscope": {
  14934. "description": "企业经营范围(企业)",
  14935. "type": "string"
  14936. },
  14937. "cardbackphotourl": {
  14938. "description": "证件背面图片地址",
  14939. "type": "string"
  14940. },
  14941. "cardfrontphotourl": {
  14942. "description": "证件正面图片地址",
  14943. "type": "string"
  14944. },
  14945. "cardnum": {
  14946. "description": "证件号码(加密存储)",
  14947. "type": "string"
  14948. },
  14949. "cardtypeid": {
  14950. "description": "证件类型ID",
  14951. "type": "integer"
  14952. },
  14953. "cityid": {
  14954. "description": "市",
  14955. "type": "integer"
  14956. },
  14957. "company": {
  14958. "description": "公司(个人)",
  14959. "type": "string"
  14960. },
  14961. "contactname": {
  14962. "description": "联系人",
  14963. "type": "string"
  14964. },
  14965. "countryid": {
  14966. "description": "国家",
  14967. "type": "integer"
  14968. },
  14969. "createtime": {
  14970. "description": "创建时间",
  14971. "type": "string"
  14972. },
  14973. "creatorid": {
  14974. "description": "创建人",
  14975. "type": "integer"
  14976. },
  14977. "customername": {
  14978. "description": "客户名称(企业名称)",
  14979. "type": "string"
  14980. },
  14981. "districtid": {
  14982. "description": "地区",
  14983. "type": "integer"
  14984. },
  14985. "email": {
  14986. "description": "邮件(加密存储)",
  14987. "type": "string"
  14988. },
  14989. "fax": {
  14990. "description": "传真(加密存储)",
  14991. "type": "string"
  14992. },
  14993. "halfbodyphotourl": {
  14994. "description": "半身照地址",
  14995. "type": "string"
  14996. },
  14997. "hasencrypt": {
  14998. "description": "数据是否已加密 - 0:未加密 1:已加密",
  14999. "type": "integer"
  15000. },
  15001. "headurl": {
  15002. "description": "头像地址",
  15003. "type": "string"
  15004. },
  15005. "legalcardbackphotourl": {
  15006. "description": "法人身份证背面照地址",
  15007. "type": "string"
  15008. },
  15009. "legalcardfrontphotourl": {
  15010. "description": "法人身份证正面照地址",
  15011. "type": "string"
  15012. },
  15013. "legalpersonname": {
  15014. "description": "法人姓名(企业)",
  15015. "type": "string"
  15016. },
  15017. "mobile": {
  15018. "description": "手机号码(加密存储)",
  15019. "type": "string"
  15020. },
  15021. "mobile2": {
  15022. "description": "手机号码[明文-尚志]",
  15023. "type": "string"
  15024. },
  15025. "modifierid": {
  15026. "description": "修改人",
  15027. "type": "integer"
  15028. },
  15029. "modifiertime": {
  15030. "description": "修改时间",
  15031. "type": "string"
  15032. },
  15033. "needinvoice": {
  15034. "description": "是否需要发票 - 0:不需要 1:需要",
  15035. "type": "integer"
  15036. },
  15037. "nickname": {
  15038. "description": "昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)",
  15039. "type": "string"
  15040. },
  15041. "openmode": {
  15042. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户",
  15043. "type": "integer"
  15044. },
  15045. "otherurl": {
  15046. "description": "其它图片地址[使用分号分隔]",
  15047. "type": "string"
  15048. },
  15049. "postalcode": {
  15050. "description": "邮政编码",
  15051. "type": "string"
  15052. },
  15053. "provinceid": {
  15054. "description": "省",
  15055. "type": "integer"
  15056. },
  15057. "qq": {
  15058. "description": "QQ(加密存储",
  15059. "type": "string"
  15060. },
  15061. "remark": {
  15062. "description": "备注",
  15063. "type": "string"
  15064. },
  15065. "sex": {
  15066. "description": "用户性别 0: 女 1: 男",
  15067. "type": "integer"
  15068. },
  15069. "signpdfurl": {
  15070. "description": "签约pdf文件",
  15071. "type": "string"
  15072. },
  15073. "telphone": {
  15074. "description": "联系电话(加密存储)",
  15075. "type": "string"
  15076. },
  15077. "userid": {
  15078. "description": "用户ID",
  15079. "type": "integer"
  15080. },
  15081. "userinfotype": {
  15082. "description": "用户信息类型 - 1:个人 2:企业",
  15083. "type": "integer"
  15084. },
  15085. "userstatus": {
  15086. "description": "用户状态 - 1:正常 2:注销",
  15087. "type": "integer"
  15088. },
  15089. "usertype": {
  15090. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户",
  15091. "type": "integer"
  15092. },
  15093. "wechat": {
  15094. "description": "微信(加密存储)",
  15095. "type": "string"
  15096. },
  15097. "wskhinfo": {
  15098. "description": "开户申请信息(JSON)",
  15099. "type": "string"
  15100. }
  15101. }
  15102. },
  15103. "models.WRCategoryTree": {
  15104. "type": "object",
  15105. "required": [
  15106. "categoryid"
  15107. ],
  15108. "properties": {
  15109. "areauserid": {
  15110. "description": "所属机构",
  15111. "type": "integer"
  15112. },
  15113. "categorydesc": {
  15114. "description": "类别描述",
  15115. "type": "string"
  15116. },
  15117. "categoryid": {
  15118. "description": "类别ID(SEQ_WRCATEGORY)",
  15119. "type": "integer"
  15120. },
  15121. "categoryname": {
  15122. "description": "类别名称",
  15123. "type": "string"
  15124. },
  15125. "iconurl": {
  15126. "description": "图标地址",
  15127. "type": "string"
  15128. },
  15129. "orderindex": {
  15130. "description": "顺序",
  15131. "type": "integer"
  15132. },
  15133. "parentcategoryid": {
  15134. "description": "父类别ID",
  15135. "type": "integer"
  15136. },
  15137. "subcategory": {
  15138. "description": "子分类",
  15139. "type": "array",
  15140. "items": {
  15141. "$ref": "#/definitions/models.WRCategoryTree"
  15142. }
  15143. }
  15144. }
  15145. },
  15146. "models.WRSConverTDetail": {
  15147. "type": "object",
  15148. "properties": {
  15149. "convertratio": {
  15150. "description": "套保系数",
  15151. "type": "number"
  15152. },
  15153. "deliverygoodsid": {
  15154. "description": "现货品种ID",
  15155. "type": "integer"
  15156. },
  15157. "middlegoodscode": {
  15158. "description": "套保品种代码",
  15159. "type": "string"
  15160. },
  15161. "middlegoodsid": {
  15162. "description": "套保品种ID",
  15163. "type": "integer"
  15164. },
  15165. "middlegoodsname": {
  15166. "description": "套保品种名称",
  15167. "type": "string"
  15168. },
  15169. "modifytime": {
  15170. "description": "修改时间",
  15171. "type": "string"
  15172. },
  15173. "wrstandardid": {
  15174. "description": "现货商品ID",
  15175. "type": "integer"
  15176. }
  15177. }
  15178. },
  15179. "models.WRStandardInfo": {
  15180. "type": "object",
  15181. "required": [
  15182. "wrstandardid"
  15183. ],
  15184. "properties": {
  15185. "createtime": {
  15186. "description": "创建时间",
  15187. "type": "string"
  15188. },
  15189. "creatorid": {
  15190. "description": "创建人",
  15191. "type": "integer"
  15192. },
  15193. "deliverygoodsid": {
  15194. "description": "品种ID",
  15195. "type": "integer"
  15196. },
  15197. "deliverygoodsname": {
  15198. "description": "交割商品名称",
  15199. "type": "string"
  15200. },
  15201. "factoryitemjson": {
  15202. "description": "要素项定义Json[{\"DGFactoryItemTypeID\": ,\"ItemTypeMode\": ,\"FactoryItemIDs\": },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem-\u003eDGFactoryItemTypeIDItemTypeMode - 要素项类型模式 --DGFactoryItem-\u003eItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem-\u003eDGFactoryItemID, 逗号分隔",
  15203. "type": "string"
  15204. },
  15205. "isvalid": {
  15206. "description": "是否有效 - 0:无效 1:有效",
  15207. "type": "integer"
  15208. },
  15209. "minivalue": {
  15210. "description": "最小变动值",
  15211. "type": "integer"
  15212. },
  15213. "minivaluedp": {
  15214. "description": "最小变动值小数位",
  15215. "type": "integer"
  15216. },
  15217. "realminivalue": {
  15218. "description": "实际最小变动值",
  15219. "type": "integer"
  15220. },
  15221. "realminivaluedp": {
  15222. "description": "实际最小变动值小数位",
  15223. "type": "integer"
  15224. },
  15225. "unitid": {
  15226. "description": "单位ID",
  15227. "type": "integer"
  15228. },
  15229. "unitname": {
  15230. "description": "单位",
  15231. "type": "string"
  15232. },
  15233. "updatetime": {
  15234. "description": "更新时间",
  15235. "type": "string"
  15236. },
  15237. "updatorid": {
  15238. "description": "更新人",
  15239. "type": "integer"
  15240. },
  15241. "wrsstatus": {
  15242. "description": "状态 - 作废 - 0:未激活 1:正常",
  15243. "type": "integer"
  15244. },
  15245. "wrstandardcode": {
  15246. "description": "仓单标准代码",
  15247. "type": "string"
  15248. },
  15249. "wrstandardid": {
  15250. "description": "仓单标准ID(SEQ_WRSTANDARD)",
  15251. "type": "integer"
  15252. },
  15253. "wrstandardname": {
  15254. "description": "仓单标准名称",
  15255. "type": "string"
  15256. }
  15257. }
  15258. },
  15259. "models.Warehouseinfo": {
  15260. "type": "object",
  15261. "required": [
  15262. "autoid",
  15263. "warehousecode"
  15264. ],
  15265. "properties": {
  15266. "address": {
  15267. "description": "详细地址",
  15268. "type": "string"
  15269. },
  15270. "areauserid": {
  15271. "description": "所属机构",
  15272. "type": "integer"
  15273. },
  15274. "autoid": {
  15275. "description": "自增ID",
  15276. "type": "integer"
  15277. },
  15278. "cityid": {
  15279. "description": "市",
  15280. "type": "integer"
  15281. },
  15282. "contactname": {
  15283. "description": "联系人",
  15284. "type": "string"
  15285. },
  15286. "contactnum": {
  15287. "description": "联系电话",
  15288. "type": "string"
  15289. },
  15290. "countryid": {
  15291. "description": "国家",
  15292. "type": "integer"
  15293. },
  15294. "createtime": {
  15295. "description": "创建时间",
  15296. "type": "string"
  15297. },
  15298. "districtid": {
  15299. "description": "区",
  15300. "type": "integer"
  15301. },
  15302. "hasvideo": {
  15303. "description": "是否有视频 - 0:无 1:有",
  15304. "type": "integer"
  15305. },
  15306. "provinceid": {
  15307. "description": "省",
  15308. "type": "integer"
  15309. },
  15310. "remark": {
  15311. "description": "审核备注",
  15312. "type": "string"
  15313. },
  15314. "videourl": {
  15315. "description": "视频地址",
  15316. "type": "string"
  15317. },
  15318. "warehousecode": {
  15319. "description": "仓库代码",
  15320. "type": "string"
  15321. },
  15322. "warehousename": {
  15323. "description": "仓库名称",
  15324. "type": "string"
  15325. },
  15326. "warehousestatus": {
  15327. "description": "仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝",
  15328. "type": "integer"
  15329. },
  15330. "warehousetype": {
  15331. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  15332. "type": "integer"
  15333. }
  15334. }
  15335. },
  15336. "order.QueryHisTradeDetailRsp": {
  15337. "type": "object",
  15338. "required": [
  15339. "accountid",
  15340. "buyorsell",
  15341. "goodsid",
  15342. "histradedate",
  15343. "marketid",
  15344. "memberuserid",
  15345. "orderid",
  15346. "tradeamount",
  15347. "tradedate",
  15348. "tradeid",
  15349. "tradeprice",
  15350. "tradeqty",
  15351. "tradetime"
  15352. ],
  15353. "properties": {
  15354. "accountid": {
  15355. "description": "账户ID[报价币种]",
  15356. "type": "integer"
  15357. },
  15358. "buildtype": {
  15359. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  15360. "type": "integer"
  15361. },
  15362. "buyorsell": {
  15363. "description": "方向 - 0:买 1:卖",
  15364. "type": "integer"
  15365. },
  15366. "charge": {
  15367. "description": "手续费",
  15368. "type": "number"
  15369. },
  15370. "closecharge": {
  15371. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  15372. "type": "number"
  15373. },
  15374. "closeexchagechargevalue": {
  15375. "description": "平仓交易所手续费设置值",
  15376. "type": "number"
  15377. },
  15378. "closefeealgorithm": {
  15379. "description": "平仓手续费收取方式 1:比率 2:固定",
  15380. "type": "integer"
  15381. },
  15382. "closememberchargevalue": {
  15383. "description": "平仓会员手续费设置值",
  15384. "type": "number"
  15385. },
  15386. "closepl": {
  15387. "description": "平仓盈亏",
  15388. "type": "number"
  15389. },
  15390. "closepl2": {
  15391. "description": "平仓盈亏[逐笔]",
  15392. "type": "number"
  15393. },
  15394. "closeqty": {
  15395. "description": "平仓数量(先建后平操作 需要记录)",
  15396. "type": "integer"
  15397. },
  15398. "creditamount": {
  15399. "description": "授信金额",
  15400. "type": "number"
  15401. },
  15402. "gcaccountid": {
  15403. "description": "账户ID[合约币种]",
  15404. "type": "integer"
  15405. },
  15406. "goodscode": {
  15407. "description": "商品代码",
  15408. "type": "string"
  15409. },
  15410. "goodsid": {
  15411. "description": "商品ID",
  15412. "type": "integer"
  15413. },
  15414. "goodsname": {
  15415. "description": "商品名称",
  15416. "type": "string"
  15417. },
  15418. "histradedate": {
  15419. "description": "历史交易日",
  15420. "type": "string"
  15421. },
  15422. "intclosepl": {
  15423. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  15424. "type": "integer"
  15425. },
  15426. "isconfirmexercise": {
  15427. "description": "是否确认行权- 0:否 1:是",
  15428. "type": "integer"
  15429. },
  15430. "ismain": {
  15431. "description": "是否主单 - 0:不是 1:是",
  15432. "type": "integer"
  15433. },
  15434. "ispreexercise": {
  15435. "description": "是否预申报- 0:否 1:是",
  15436. "type": "integer"
  15437. },
  15438. "isreckoned": {
  15439. "description": "是否结算 - 0:未结算 1:已结算",
  15440. "type": "integer"
  15441. },
  15442. "isvaliddata": {
  15443. "description": "是否有效 - 0:无效 1:有效",
  15444. "type": "integer"
  15445. },
  15446. "listingselecttype": {
  15447. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  15448. "type": "integer"
  15449. },
  15450. "marketid": {
  15451. "description": "市场ID",
  15452. "type": "integer"
  15453. },
  15454. "marketname": {
  15455. "description": "市场名称",
  15456. "type": "string"
  15457. },
  15458. "matchaccountid": {
  15459. "description": "对手账号id",
  15460. "type": "integer"
  15461. },
  15462. "memberuserid": {
  15463. "description": "会员id 个人投资者 需要填写",
  15464. "type": "integer"
  15465. },
  15466. "opencharge": {
  15467. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  15468. "type": "number"
  15469. },
  15470. "openexchagechargevalue": {
  15471. "description": "建仓交易所手续费设置值",
  15472. "type": "number"
  15473. },
  15474. "openfeealgorithm": {
  15475. "description": "建仓手续费收取方式 1:比率 2:固定",
  15476. "type": "integer"
  15477. },
  15478. "openmemberchargevalue": {
  15479. "description": "建仓会员手续费设置值",
  15480. "type": "number"
  15481. },
  15482. "openqty": {
  15483. "description": "开仓数量(先建后平操作 需要记录)",
  15484. "type": "integer"
  15485. },
  15486. "optiontype": {
  15487. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  15488. "type": "integer"
  15489. },
  15490. "orderid": {
  15491. "description": "委托单号",
  15492. "type": "string"
  15493. },
  15494. "performanceplanid": {
  15495. "description": "履约计划ID[期权]",
  15496. "type": "integer"
  15497. },
  15498. "performancestatus": {
  15499. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  15500. "type": "integer"
  15501. },
  15502. "preexerciseprice": {
  15503. "description": "预申报价格",
  15504. "type": "number"
  15505. },
  15506. "premium": {
  15507. "description": "权利金 - [持仓单的权利金]",
  15508. "type": "number"
  15509. },
  15510. "relatedouttradeid": {
  15511. "description": "关联外部成交单ID",
  15512. "type": "integer"
  15513. },
  15514. "status": {
  15515. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  15516. "type": "integer"
  15517. },
  15518. "tradeamount": {
  15519. "description": "成交金额[账户币种,用于所有权]",
  15520. "type": "number"
  15521. },
  15522. "tradedate": {
  15523. "description": "交易日(yyyyMMdd)",
  15524. "type": "string"
  15525. },
  15526. "tradeid": {
  15527. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  15528. "type": "string"
  15529. },
  15530. "trademode": {
  15531. "description": "交易模式",
  15532. "type": "integer"
  15533. },
  15534. "tradeprice": {
  15535. "description": "成交价格",
  15536. "type": "number"
  15537. },
  15538. "tradeproperty": {
  15539. "description": "交易属性",
  15540. "type": "integer"
  15541. },
  15542. "tradeqty": {
  15543. "description": "成交数量",
  15544. "type": "integer"
  15545. },
  15546. "tradetime": {
  15547. "description": "成交时间",
  15548. "type": "string"
  15549. },
  15550. "tradetype": {
  15551. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  15552. "type": "integer"
  15553. }
  15554. }
  15555. },
  15556. "order.QueryHisTradeOrderDetailRsp": {
  15557. "type": "object",
  15558. "required": [
  15559. "accountid",
  15560. "buildtype",
  15561. "buyorsell",
  15562. "goodsid",
  15563. "histradedate",
  15564. "marketid",
  15565. "memberuserid",
  15566. "operatetype",
  15567. "orderid",
  15568. "orderqty",
  15569. "ordertime",
  15570. "pricemode",
  15571. "tradedate",
  15572. "validtype"
  15573. ],
  15574. "properties": {
  15575. "accountid": {
  15576. "description": "账户ID[报价币种]",
  15577. "type": "integer"
  15578. },
  15579. "buildtype": {
  15580. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  15581. "type": "integer"
  15582. },
  15583. "buyorsell": {
  15584. "description": "买卖 - 0:买 1:卖",
  15585. "type": "integer"
  15586. },
  15587. "cancelorderid": {
  15588. "description": "撤单单号(撤单时填写)",
  15589. "type": "string"
  15590. },
  15591. "cancelqty": {
  15592. "description": "撤单数量",
  15593. "type": "integer"
  15594. },
  15595. "clientordertime": {
  15596. "description": "客户端委托时间",
  15597. "type": "string"
  15598. },
  15599. "clientticket": {
  15600. "description": "客户端流水号",
  15601. "type": "string"
  15602. },
  15603. "clienttype": {
  15604. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  15605. "type": "integer"
  15606. },
  15607. "closeexchagechargevalue": {
  15608. "description": "平仓交易所手续费设置值",
  15609. "type": "number"
  15610. },
  15611. "closefeealgorithm": {
  15612. "description": "平仓手续费收取方式 1:比率 2:固定",
  15613. "type": "integer"
  15614. },
  15615. "closefreezecharge": {
  15616. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  15617. "type": "number"
  15618. },
  15619. "closememberchargevalue": {
  15620. "description": "平仓会员手续费设置值",
  15621. "type": "number"
  15622. },
  15623. "closeqty": {
  15624. "description": "平仓数量(先建后平操作 需要记录)",
  15625. "type": "integer"
  15626. },
  15627. "closetradeqty": {
  15628. "description": "平仓成交数量(先建后平操作,需要记录)",
  15629. "type": "integer"
  15630. },
  15631. "closeunfreezecharge": {
  15632. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  15633. "type": "number"
  15634. },
  15635. "delistingtype": {
  15636. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  15637. "type": "integer"
  15638. },
  15639. "freezecharge": {
  15640. "description": "冻结手续费",
  15641. "type": "number"
  15642. },
  15643. "freezemargin": {
  15644. "description": "冻结保证金(冻结交易金额)",
  15645. "type": "number"
  15646. },
  15647. "gcaccountid": {
  15648. "description": "账户ID[合约币种]",
  15649. "type": "integer"
  15650. },
  15651. "goodscode": {
  15652. "description": "商品代码",
  15653. "type": "string"
  15654. },
  15655. "goodsid": {
  15656. "description": "商品ID",
  15657. "type": "integer"
  15658. },
  15659. "goodsname": {
  15660. "description": "商品名称",
  15661. "type": "string"
  15662. },
  15663. "histradedate": {
  15664. "description": "历史交易日",
  15665. "type": "string"
  15666. },
  15667. "isconfirmexercise": {
  15668. "description": "是否确认行权- 0:否 1:是",
  15669. "type": "integer"
  15670. },
  15671. "ispreexercise": {
  15672. "description": "是否预申报- 0:否 1:是",
  15673. "type": "integer"
  15674. },
  15675. "isvaliddata": {
  15676. "description": "是否有效 - 0:无效 1:有效",
  15677. "type": "integer"
  15678. },
  15679. "listingselecttype": {
  15680. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  15681. "type": "integer"
  15682. },
  15683. "marginalgorithm": {
  15684. "description": "保证金收取方式 1:比率 2:固定",
  15685. "type": "integer"
  15686. },
  15687. "marginvalue": {
  15688. "description": "即市保证金设置值",
  15689. "type": "number"
  15690. },
  15691. "marketid": {
  15692. "description": "市场ID",
  15693. "type": "integer"
  15694. },
  15695. "marketmaxsub": {
  15696. "description": "市价最大偏移范围",
  15697. "type": "number"
  15698. },
  15699. "marketname": {
  15700. "description": "市场名称",
  15701. "type": "string"
  15702. },
  15703. "memberuserid": {
  15704. "description": "所属会员UserID",
  15705. "type": "integer"
  15706. },
  15707. "openexchagechargevalue": {
  15708. "description": "建仓交易所手续费设置值",
  15709. "type": "number"
  15710. },
  15711. "openfeealgorithm": {
  15712. "description": "建仓手续费收取方式 1:比率 2:固定",
  15713. "type": "integer"
  15714. },
  15715. "openfreezecharge": {
  15716. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  15717. "type": "number"
  15718. },
  15719. "openmemberchargevalue": {
  15720. "description": "建仓会员手续费设置值",
  15721. "type": "number"
  15722. },
  15723. "openqty": {
  15724. "description": "开仓数量(先建后平操作,需要记录)",
  15725. "type": "integer"
  15726. },
  15727. "opentradeqty": {
  15728. "description": "开仓成交数量(先建后平操作,需要记录)",
  15729. "type": "integer"
  15730. },
  15731. "openunfreezecharge": {
  15732. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  15733. "type": "number"
  15734. },
  15735. "operatetype": {
  15736. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  15737. "type": "integer"
  15738. },
  15739. "operatorid": {
  15740. "description": "登录账号(LoginID)",
  15741. "type": "integer"
  15742. },
  15743. "optiontype": {
  15744. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  15745. "type": "integer"
  15746. },
  15747. "orderid": {
  15748. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  15749. "type": "string"
  15750. },
  15751. "orderprice": {
  15752. "description": "委托价格",
  15753. "type": "number"
  15754. },
  15755. "orderqty": {
  15756. "description": "委托数量",
  15757. "type": "integer"
  15758. },
  15759. "ordersrc": {
  15760. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  15761. "type": "integer"
  15762. },
  15763. "orderstatus": {
  15764. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  15765. "type": "integer"
  15766. },
  15767. "ordertime": {
  15768. "description": "委托时间",
  15769. "type": "string"
  15770. },
  15771. "preexerciseprice": {
  15772. "description": "预申报价格",
  15773. "type": "number"
  15774. },
  15775. "premium": {
  15776. "description": "权利金",
  15777. "type": "number"
  15778. },
  15779. "preorderid": {
  15780. "description": "关联预埋单号(止盈止损单时填写)",
  15781. "type": "string"
  15782. },
  15783. "pricemode": {
  15784. "description": "取价方式 - 1:市价 2: 限价",
  15785. "type": "integer"
  15786. },
  15787. "quoteid": {
  15788. "description": "报价单ID",
  15789. "type": "integer"
  15790. },
  15791. "relatedid": {
  15792. "description": "关联单号(交割单)",
  15793. "type": "string"
  15794. },
  15795. "retcode": {
  15796. "description": "错误代码",
  15797. "type": "integer"
  15798. },
  15799. "sessionid": {
  15800. "description": "会话ID",
  15801. "type": "integer"
  15802. },
  15803. "tradedate": {
  15804. "description": "交易日(yyyyMMdd)",
  15805. "type": "string"
  15806. },
  15807. "trademode": {
  15808. "description": "交易模式",
  15809. "type": "integer"
  15810. },
  15811. "tradeproperty": {
  15812. "description": "交易属性",
  15813. "type": "integer"
  15814. },
  15815. "tradeqty": {
  15816. "description": "成交数量",
  15817. "type": "integer"
  15818. },
  15819. "unfreezecharge": {
  15820. "description": "解冻手续费",
  15821. "type": "number"
  15822. },
  15823. "unfreezemargin": {
  15824. "description": "解冻保证金",
  15825. "type": "number"
  15826. },
  15827. "updatetime": {
  15828. "description": "更新时间",
  15829. "type": "string"
  15830. },
  15831. "uuid": {
  15832. "description": "发起端唯一id",
  15833. "type": "string"
  15834. },
  15835. "validtime": {
  15836. "description": "有效期限",
  15837. "type": "string"
  15838. },
  15839. "validtype": {
  15840. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  15841. "type": "integer"
  15842. },
  15843. "volumetype": {
  15844. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  15845. "type": "integer"
  15846. }
  15847. }
  15848. },
  15849. "order.QueryTradeDetailRsp": {
  15850. "type": "object",
  15851. "required": [
  15852. "accountid",
  15853. "buyorsell",
  15854. "goodsid",
  15855. "marketid",
  15856. "memberuserid",
  15857. "orderid",
  15858. "tradeamount",
  15859. "tradedate",
  15860. "tradeid",
  15861. "tradeprice",
  15862. "tradeqty",
  15863. "tradetime"
  15864. ],
  15865. "properties": {
  15866. "accountid": {
  15867. "description": "账户ID[报价币种]",
  15868. "type": "integer"
  15869. },
  15870. "buildtype": {
  15871. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  15872. "type": "integer"
  15873. },
  15874. "buyorsell": {
  15875. "description": "方向 - 0:买 1:卖",
  15876. "type": "integer"
  15877. },
  15878. "charge": {
  15879. "description": "手续费",
  15880. "type": "number"
  15881. },
  15882. "closecharge": {
  15883. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  15884. "type": "number"
  15885. },
  15886. "closeexchagechargevalue": {
  15887. "description": "平仓交易所手续费设置值",
  15888. "type": "number"
  15889. },
  15890. "closefeealgorithm": {
  15891. "description": "平仓手续费收取方式 1:比率 2:固定",
  15892. "type": "integer"
  15893. },
  15894. "closememberchargevalue": {
  15895. "description": "平仓会员手续费设置值",
  15896. "type": "number"
  15897. },
  15898. "closepl": {
  15899. "description": "平仓盈亏",
  15900. "type": "number"
  15901. },
  15902. "closepl2": {
  15903. "description": "平仓盈亏[逐笔]",
  15904. "type": "number"
  15905. },
  15906. "closeqty": {
  15907. "description": "平仓数量(先建后平操作 需要记录)",
  15908. "type": "integer"
  15909. },
  15910. "creditamount": {
  15911. "description": "授信金额",
  15912. "type": "number"
  15913. },
  15914. "gcaccountid": {
  15915. "description": "账户ID[合约币种]",
  15916. "type": "integer"
  15917. },
  15918. "goodscode": {
  15919. "description": "商品代码",
  15920. "type": "string"
  15921. },
  15922. "goodsid": {
  15923. "description": "商品ID",
  15924. "type": "integer"
  15925. },
  15926. "goodsname": {
  15927. "description": "商品名称",
  15928. "type": "string"
  15929. },
  15930. "intclosepl": {
  15931. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  15932. "type": "integer"
  15933. },
  15934. "isconfirmexercise": {
  15935. "description": "是否确认行权- 0:否 1:是",
  15936. "type": "integer"
  15937. },
  15938. "ismain": {
  15939. "description": "是否主单 - 0:不是 1:是",
  15940. "type": "integer"
  15941. },
  15942. "ispreexercise": {
  15943. "description": "是否预申报- 0:否 1:是",
  15944. "type": "integer"
  15945. },
  15946. "isreckoned": {
  15947. "description": "是否结算 - 0:未结算 1:已结算",
  15948. "type": "integer"
  15949. },
  15950. "listingselecttype": {
  15951. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  15952. "type": "integer"
  15953. },
  15954. "marketid": {
  15955. "description": "市场ID",
  15956. "type": "integer"
  15957. },
  15958. "marketname": {
  15959. "description": "市场名称",
  15960. "type": "string"
  15961. },
  15962. "matchaccountid": {
  15963. "description": "对手账号id",
  15964. "type": "integer"
  15965. },
  15966. "memberuserid": {
  15967. "description": "会员id 个人投资者 需要填写",
  15968. "type": "integer"
  15969. },
  15970. "opencharge": {
  15971. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  15972. "type": "number"
  15973. },
  15974. "openexchagechargevalue": {
  15975. "description": "建仓交易所手续费设置值",
  15976. "type": "number"
  15977. },
  15978. "openfeealgorithm": {
  15979. "description": "建仓手续费收取方式 1:比率 2:固定",
  15980. "type": "integer"
  15981. },
  15982. "openmemberchargevalue": {
  15983. "description": "建仓会员手续费设置值",
  15984. "type": "number"
  15985. },
  15986. "openqty": {
  15987. "description": "开仓数量(先建后平操作 需要记录)",
  15988. "type": "integer"
  15989. },
  15990. "optiontype": {
  15991. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  15992. "type": "integer"
  15993. },
  15994. "orderid": {
  15995. "description": "委托单号",
  15996. "type": "string"
  15997. },
  15998. "performanceplanid": {
  15999. "description": "履约计划ID[期权]",
  16000. "type": "integer"
  16001. },
  16002. "performancestatus": {
  16003. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  16004. "type": "integer"
  16005. },
  16006. "preexerciseprice": {
  16007. "description": "预申报价格",
  16008. "type": "number"
  16009. },
  16010. "premium": {
  16011. "description": "权利金 - [持仓单的权利金]",
  16012. "type": "number"
  16013. },
  16014. "relatedouttradeid": {
  16015. "description": "关联外部成交单ID",
  16016. "type": "integer"
  16017. },
  16018. "status": {
  16019. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  16020. "type": "integer"
  16021. },
  16022. "tradeamount": {
  16023. "description": "成交金额[账户币种,用于所有权]",
  16024. "type": "number"
  16025. },
  16026. "tradedate": {
  16027. "description": "交易日(yyyyMMdd)",
  16028. "type": "string"
  16029. },
  16030. "tradeid": {
  16031. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  16032. "type": "string"
  16033. },
  16034. "trademode": {
  16035. "description": "交易模式",
  16036. "type": "integer"
  16037. },
  16038. "tradeprice": {
  16039. "description": "成交价格",
  16040. "type": "number"
  16041. },
  16042. "tradeproperty": {
  16043. "description": "交易属性",
  16044. "type": "integer"
  16045. },
  16046. "tradeqty": {
  16047. "description": "成交数量",
  16048. "type": "integer"
  16049. },
  16050. "tradetime": {
  16051. "description": "成交时间",
  16052. "type": "string"
  16053. },
  16054. "tradetype": {
  16055. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  16056. "type": "integer"
  16057. }
  16058. }
  16059. },
  16060. "order.QueryTradeOrderDetailRsp": {
  16061. "type": "object",
  16062. "required": [
  16063. "accountid",
  16064. "buildtype",
  16065. "buyorsell",
  16066. "goodsid",
  16067. "marketid",
  16068. "operatetype",
  16069. "orderqty",
  16070. "ordertime",
  16071. "pricemode",
  16072. "tradedate",
  16073. "validtype"
  16074. ],
  16075. "properties": {
  16076. "accountid": {
  16077. "description": "账户ID[报价币种]",
  16078. "type": "integer"
  16079. },
  16080. "buildtype": {
  16081. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  16082. "type": "integer"
  16083. },
  16084. "buyorsell": {
  16085. "description": "买卖 - 0:买 1:卖",
  16086. "type": "integer"
  16087. },
  16088. "cancelorderid": {
  16089. "description": "撤单单号(撤单时填写)",
  16090. "type": "string"
  16091. },
  16092. "cancelqty": {
  16093. "description": "撤单数量",
  16094. "type": "integer"
  16095. },
  16096. "clienttype": {
  16097. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  16098. "type": "integer"
  16099. },
  16100. "closefreezecharge": {
  16101. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  16102. "type": "number"
  16103. },
  16104. "closeqty": {
  16105. "description": "平仓数量(先建后平操作 需要记录)",
  16106. "type": "integer"
  16107. },
  16108. "closetradeqty": {
  16109. "description": "平仓成交数量(先建后平操作,需要记录)",
  16110. "type": "integer"
  16111. },
  16112. "closeunfreezecharge": {
  16113. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  16114. "type": "number"
  16115. },
  16116. "delistingtype": {
  16117. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  16118. "type": "integer"
  16119. },
  16120. "enableqty": {
  16121. "description": "可用数量 = 委托数量 - 成交数量 - 撤单数量",
  16122. "type": "integer"
  16123. },
  16124. "freezecharge": {
  16125. "description": "冻结手续费",
  16126. "type": "number"
  16127. },
  16128. "freezemargin": {
  16129. "description": "冻结保证金(冻结交易金额)",
  16130. "type": "number"
  16131. },
  16132. "goodscode": {
  16133. "description": "商品代码",
  16134. "type": "string"
  16135. },
  16136. "goodsid": {
  16137. "description": "商品ID",
  16138. "type": "integer"
  16139. },
  16140. "goodsname": {
  16141. "description": "商品名称",
  16142. "type": "string"
  16143. },
  16144. "listingselecttype": {
  16145. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  16146. "type": "integer"
  16147. },
  16148. "marketid": {
  16149. "description": "市场ID",
  16150. "type": "integer"
  16151. },
  16152. "marketname": {
  16153. "description": "市场名称",
  16154. "type": "string"
  16155. },
  16156. "openfreezecharge": {
  16157. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  16158. "type": "number"
  16159. },
  16160. "openqty": {
  16161. "description": "开仓数量(先建后平操作,需要记录)",
  16162. "type": "integer"
  16163. },
  16164. "opentradeqty": {
  16165. "description": "开仓成交数量(先建后平操作,需要记录)",
  16166. "type": "integer"
  16167. },
  16168. "openunfreezecharge": {
  16169. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  16170. "type": "number"
  16171. },
  16172. "operatetype": {
  16173. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  16174. "type": "integer"
  16175. },
  16176. "operatorid": {
  16177. "description": "登录账号(LoginID)",
  16178. "type": "integer"
  16179. },
  16180. "orderid": {
  16181. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  16182. "type": "string"
  16183. },
  16184. "orderprice": {
  16185. "description": "委托价格",
  16186. "type": "number"
  16187. },
  16188. "orderqty": {
  16189. "description": "委托数量",
  16190. "type": "integer"
  16191. },
  16192. "ordersrc": {
  16193. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  16194. "type": "integer"
  16195. },
  16196. "orderstatus": {
  16197. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  16198. "type": "integer"
  16199. },
  16200. "ordertime": {
  16201. "description": "委托时间",
  16202. "type": "string"
  16203. },
  16204. "preorderid": {
  16205. "description": "关联预埋单号(止盈止损单时填写)",
  16206. "type": "string"
  16207. },
  16208. "pricemode": {
  16209. "description": "取价方式 - 1:市价 2: 限价",
  16210. "type": "integer"
  16211. },
  16212. "relatedid": {
  16213. "description": "关联单号(交割单)",
  16214. "type": "string"
  16215. },
  16216. "tradedate": {
  16217. "description": "交易日(yyyyMMdd)",
  16218. "type": "string"
  16219. },
  16220. "trademode": {
  16221. "description": "交易模式",
  16222. "type": "integer"
  16223. },
  16224. "tradeqty": {
  16225. "description": "成交数量",
  16226. "type": "integer"
  16227. },
  16228. "unfreezecharge": {
  16229. "description": "解冻手续费",
  16230. "type": "number"
  16231. },
  16232. "unfreezemargin": {
  16233. "description": "解冻保证金",
  16234. "type": "number"
  16235. },
  16236. "validtime": {
  16237. "description": "有效期限",
  16238. "type": "string"
  16239. },
  16240. "validtype": {
  16241. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  16242. "type": "integer"
  16243. },
  16244. "volumetype": {
  16245. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  16246. "type": "integer"
  16247. }
  16248. }
  16249. },
  16250. "order.QueryTradePositionRsp": {
  16251. "type": "object",
  16252. "required": [
  16253. "goodsid"
  16254. ],
  16255. "properties": {
  16256. "accountid": {
  16257. "description": "资金账户",
  16258. "type": "integer"
  16259. },
  16260. "agreeunit": {
  16261. "description": "合约单位",
  16262. "type": "number"
  16263. },
  16264. "averageprice": {
  16265. "description": "持仓均价",
  16266. "type": "number"
  16267. },
  16268. "buyorsell": {
  16269. "description": "方向 - 0:买 1:卖",
  16270. "type": "integer"
  16271. },
  16272. "closetotalqty": {
  16273. "description": "平仓总数量",
  16274. "type": "integer"
  16275. },
  16276. "curholderamount": {
  16277. "description": "当前持仓总金额[商品币种]",
  16278. "type": "number"
  16279. },
  16280. "curpositionqty": {
  16281. "description": "当前持仓总数量",
  16282. "type": "integer"
  16283. },
  16284. "currencyid": {
  16285. "description": "报价货币ID",
  16286. "type": "integer"
  16287. },
  16288. "curtdposition": {
  16289. "description": "期末今日头寸",
  16290. "type": "integer"
  16291. },
  16292. "decimalplace": {
  16293. "description": "报价小数位",
  16294. "type": "integer"
  16295. },
  16296. "enableqty": {
  16297. "description": "可用量",
  16298. "type": "integer"
  16299. },
  16300. "fretdposition": {
  16301. "description": "冻结今日头寸",
  16302. "type": "integer"
  16303. },
  16304. "frozenqty": {
  16305. "description": "持仓冻结数量",
  16306. "type": "integer"
  16307. },
  16308. "goodscode": {
  16309. "description": "商品代码",
  16310. "type": "string"
  16311. },
  16312. "goodsid": {
  16313. "description": "商品Id",
  16314. "type": "integer"
  16315. },
  16316. "goodsname": {
  16317. "description": "商品名称",
  16318. "type": "string"
  16319. },
  16320. "goodunit": {
  16321. "description": "报价单位",
  16322. "type": "string"
  16323. },
  16324. "goodunitid": {
  16325. "description": "报价单位ID",
  16326. "type": "integer"
  16327. },
  16328. "holderamount": {
  16329. "description": "期初持仓总金额[商品币种]",
  16330. "type": "number"
  16331. },
  16332. "marketid": {
  16333. "description": "所属市场ID",
  16334. "type": "integer"
  16335. },
  16336. "openreqqty": {
  16337. "description": "开仓申请数量(用于比较最大持仓数量)",
  16338. "type": "integer"
  16339. },
  16340. "opentotalqty": {
  16341. "description": "开仓总数量",
  16342. "type": "integer"
  16343. },
  16344. "otherfrozenqty": {
  16345. "description": "持仓其他冻结数量(交割冻结)",
  16346. "type": "integer"
  16347. },
  16348. "positionqty": {
  16349. "description": "期初持仓数量",
  16350. "type": "integer"
  16351. },
  16352. "tnqty": {
  16353. "description": "T+N冻结总量",
  16354. "type": "integer"
  16355. },
  16356. "tnusedqty": {
  16357. "description": "T+N使用量(可以使用T+N的冻结数量)",
  16358. "type": "integer"
  16359. },
  16360. "trademode": {
  16361. "description": "交易模式",
  16362. "type": "integer"
  16363. },
  16364. "usedmargin": {
  16365. "description": "占用保证金[商品币种]",
  16366. "type": "number"
  16367. }
  16368. }
  16369. },
  16370. "quote.HistoryData": {
  16371. "type": "object",
  16372. "properties": {
  16373. "c": {
  16374. "description": "收盘价",
  16375. "type": "number"
  16376. },
  16377. "f": {
  16378. "description": "是否补充数据",
  16379. "type": "boolean"
  16380. },
  16381. "h": {
  16382. "description": "最高价",
  16383. "type": "number"
  16384. },
  16385. "hv": {
  16386. "description": "持仓量",
  16387. "type": "integer"
  16388. },
  16389. "l": {
  16390. "description": "最低价",
  16391. "type": "number"
  16392. },
  16393. "o": {
  16394. "description": "开盘价",
  16395. "type": "number"
  16396. },
  16397. "s": {
  16398. "description": "结算价,日线周期(包括)以上才有",
  16399. "type": "number"
  16400. },
  16401. "ts": {
  16402. "description": "时间",
  16403. "type": "string"
  16404. },
  16405. "tt": {
  16406. "description": "总金额",
  16407. "type": "number"
  16408. },
  16409. "tv": {
  16410. "description": "总量",
  16411. "type": "integer"
  16412. }
  16413. }
  16414. },
  16415. "quote.QueryQuoteDayRsp": {
  16416. "type": "object",
  16417. "properties": {
  16418. "ask": {
  16419. "description": "卖1",
  16420. "type": "number"
  16421. },
  16422. "ask10": {
  16423. "description": "卖10",
  16424. "type": "number"
  16425. },
  16426. "ask2": {
  16427. "description": "卖2",
  16428. "type": "number"
  16429. },
  16430. "ask3": {
  16431. "description": "卖3",
  16432. "type": "number"
  16433. },
  16434. "ask4": {
  16435. "description": "卖4",
  16436. "type": "number"
  16437. },
  16438. "ask5": {
  16439. "description": "卖5",
  16440. "type": "number"
  16441. },
  16442. "ask6": {
  16443. "description": "卖6",
  16444. "type": "number"
  16445. },
  16446. "ask7": {
  16447. "description": "卖7",
  16448. "type": "number"
  16449. },
  16450. "ask8": {
  16451. "description": "卖8",
  16452. "type": "number"
  16453. },
  16454. "ask9": {
  16455. "description": "卖9",
  16456. "type": "number"
  16457. },
  16458. "askorderid": {
  16459. "description": "卖单号1",
  16460. "type": "integer"
  16461. },
  16462. "askorderid2": {
  16463. "description": "卖单号2",
  16464. "type": "integer"
  16465. },
  16466. "askorderid3": {
  16467. "description": "卖单号3",
  16468. "type": "integer"
  16469. },
  16470. "askorderid4": {
  16471. "description": "卖单号4",
  16472. "type": "integer"
  16473. },
  16474. "askorderid5": {
  16475. "description": "卖单号5",
  16476. "type": "integer"
  16477. },
  16478. "askordervolume": {
  16479. "description": "卖单量1",
  16480. "type": "integer"
  16481. },
  16482. "askordervolume10": {
  16483. "description": "卖单量10",
  16484. "type": "integer"
  16485. },
  16486. "askordervolume2": {
  16487. "description": "卖单量2",
  16488. "type": "integer"
  16489. },
  16490. "askordervolume3": {
  16491. "description": "卖单量3",
  16492. "type": "integer"
  16493. },
  16494. "askordervolume4": {
  16495. "description": "卖单量4",
  16496. "type": "integer"
  16497. },
  16498. "askordervolume5": {
  16499. "description": "卖单量5",
  16500. "type": "integer"
  16501. },
  16502. "askordervolume6": {
  16503. "description": "卖单量6",
  16504. "type": "integer"
  16505. },
  16506. "askordervolume7": {
  16507. "description": "卖单量7",
  16508. "type": "integer"
  16509. },
  16510. "askordervolume8": {
  16511. "description": "卖单量8",
  16512. "type": "integer"
  16513. },
  16514. "askordervolume9": {
  16515. "description": "卖单量9",
  16516. "type": "integer"
  16517. },
  16518. "askqueueinfo": {
  16519. "description": "大利市卖港股用",
  16520. "type": "string"
  16521. },
  16522. "askvolume": {
  16523. "description": "卖量1",
  16524. "type": "integer"
  16525. },
  16526. "askvolume10": {
  16527. "description": "卖量10",
  16528. "type": "integer"
  16529. },
  16530. "askvolume2": {
  16531. "description": "卖量2",
  16532. "type": "integer"
  16533. },
  16534. "askvolume3": {
  16535. "description": "卖量3",
  16536. "type": "integer"
  16537. },
  16538. "askvolume4": {
  16539. "description": "卖量4",
  16540. "type": "integer"
  16541. },
  16542. "askvolume5": {
  16543. "description": "卖量5",
  16544. "type": "integer"
  16545. },
  16546. "askvolume6": {
  16547. "description": "卖量6",
  16548. "type": "integer"
  16549. },
  16550. "askvolume7": {
  16551. "description": "卖量7",
  16552. "type": "integer"
  16553. },
  16554. "askvolume8": {
  16555. "description": "卖量8",
  16556. "type": "integer"
  16557. },
  16558. "askvolume9": {
  16559. "description": "卖量9",
  16560. "type": "integer"
  16561. },
  16562. "averageprice": {
  16563. "description": "均价",
  16564. "type": "number"
  16565. },
  16566. "bid": {
  16567. "description": "买1",
  16568. "type": "number"
  16569. },
  16570. "bid10": {
  16571. "description": "买10",
  16572. "type": "number"
  16573. },
  16574. "bid2": {
  16575. "description": "买2",
  16576. "type": "number"
  16577. },
  16578. "bid3": {
  16579. "description": "买3",
  16580. "type": "number"
  16581. },
  16582. "bid4": {
  16583. "description": "买4",
  16584. "type": "number"
  16585. },
  16586. "bid5": {
  16587. "description": "买5",
  16588. "type": "number"
  16589. },
  16590. "bid6": {
  16591. "description": "买6",
  16592. "type": "number"
  16593. },
  16594. "bid7": {
  16595. "description": "买7",
  16596. "type": "number"
  16597. },
  16598. "bid8": {
  16599. "description": "买8",
  16600. "type": "number"
  16601. },
  16602. "bid9": {
  16603. "description": "买9",
  16604. "type": "number"
  16605. },
  16606. "bidorderid": {
  16607. "description": "买单号1",
  16608. "type": "integer"
  16609. },
  16610. "bidorderid2": {
  16611. "description": "买单号2",
  16612. "type": "integer"
  16613. },
  16614. "bidorderid3": {
  16615. "description": "买单号3",
  16616. "type": "integer"
  16617. },
  16618. "bidorderid4": {
  16619. "description": "买单号4",
  16620. "type": "integer"
  16621. },
  16622. "bidorderid5": {
  16623. "description": "买单号5",
  16624. "type": "integer"
  16625. },
  16626. "bidordervolume": {
  16627. "description": "买单量1",
  16628. "type": "integer"
  16629. },
  16630. "bidordervolume10": {
  16631. "description": "买单量10",
  16632. "type": "integer"
  16633. },
  16634. "bidordervolume2": {
  16635. "description": "买单量2",
  16636. "type": "integer"
  16637. },
  16638. "bidordervolume3": {
  16639. "description": "买单量3",
  16640. "type": "integer"
  16641. },
  16642. "bidordervolume4": {
  16643. "description": "买单量4",
  16644. "type": "integer"
  16645. },
  16646. "bidordervolume5": {
  16647. "description": "买单量5",
  16648. "type": "integer"
  16649. },
  16650. "bidordervolume6": {
  16651. "description": "买单量6",
  16652. "type": "integer"
  16653. },
  16654. "bidordervolume7": {
  16655. "description": "买单量7",
  16656. "type": "integer"
  16657. },
  16658. "bidordervolume8": {
  16659. "description": "买单量8",
  16660. "type": "integer"
  16661. },
  16662. "bidordervolume9": {
  16663. "description": "买单量9",
  16664. "type": "integer"
  16665. },
  16666. "bidqueueinfo": {
  16667. "description": "大利市买港股用",
  16668. "type": "string"
  16669. },
  16670. "bidvolume": {
  16671. "description": "买量1",
  16672. "type": "integer"
  16673. },
  16674. "bidvolume10": {
  16675. "description": "买量10",
  16676. "type": "integer"
  16677. },
  16678. "bidvolume2": {
  16679. "description": "买量2",
  16680. "type": "integer"
  16681. },
  16682. "bidvolume3": {
  16683. "description": "买量3",
  16684. "type": "integer"
  16685. },
  16686. "bidvolume4": {
  16687. "description": "买量4",
  16688. "type": "integer"
  16689. },
  16690. "bidvolume5": {
  16691. "description": "买量5",
  16692. "type": "integer"
  16693. },
  16694. "bidvolume6": {
  16695. "description": "买量6",
  16696. "type": "integer"
  16697. },
  16698. "bidvolume7": {
  16699. "description": "买量7",
  16700. "type": "integer"
  16701. },
  16702. "bidvolume8": {
  16703. "description": "买量8",
  16704. "type": "integer"
  16705. },
  16706. "bidvolume9": {
  16707. "description": "买量9",
  16708. "type": "integer"
  16709. },
  16710. "calloptionpremiums": {
  16711. "description": "认购期权1",
  16712. "type": "integer"
  16713. },
  16714. "calloptionpremiums2": {
  16715. "description": "认购期权2",
  16716. "type": "integer"
  16717. },
  16718. "calloptionpremiums3": {
  16719. "description": "认购期权3",
  16720. "type": "integer"
  16721. },
  16722. "calloptionpremiums4": {
  16723. "description": "认购期权4",
  16724. "type": "integer"
  16725. },
  16726. "calloptionpremiums5": {
  16727. "description": "认购期权5",
  16728. "type": "integer"
  16729. },
  16730. "cleartime": {
  16731. "description": "清盘时间",
  16732. "type": "integer"
  16733. },
  16734. "exchangecode": {
  16735. "description": "交易所代码",
  16736. "type": "integer"
  16737. },
  16738. "exchangedate": {
  16739. "description": "交易日",
  16740. "type": "integer"
  16741. },
  16742. "goodscode": {
  16743. "description": "商品代码",
  16744. "type": "string"
  16745. },
  16746. "grepmarketprice": {
  16747. "description": "暗盘价 港股专用",
  16748. "type": "number"
  16749. },
  16750. "highest": {
  16751. "description": "最高价",
  16752. "type": "number"
  16753. },
  16754. "holdincrement": {
  16755. "description": "单笔持仓",
  16756. "type": "integer"
  16757. },
  16758. "holdvolume": {
  16759. "description": "持仓",
  16760. "type": "integer"
  16761. },
  16762. "iep": {
  16763. "description": "平衡价 港股专用",
  16764. "type": "number"
  16765. },
  16766. "iev": {
  16767. "description": "平衡量 港股专用",
  16768. "type": "number"
  16769. },
  16770. "inventory": {
  16771. "description": "库存",
  16772. "type": "integer"
  16773. },
  16774. "iscleared": {
  16775. "description": "是否清盘标志",
  16776. "type": "integer"
  16777. },
  16778. "issettled": {
  16779. "description": "是否结算标志",
  16780. "type": "integer"
  16781. },
  16782. "last": {
  16783. "description": "最新价",
  16784. "type": "number"
  16785. },
  16786. "lastlot": {
  16787. "description": "最新成交手数",
  16788. "type": "integer"
  16789. },
  16790. "lasttime": {
  16791. "description": "行情时间(只有现价变化行情时间才变化)",
  16792. "type": "string"
  16793. },
  16794. "lastturnover": {
  16795. "description": "最新成交金额",
  16796. "type": "number"
  16797. },
  16798. "lastvolume": {
  16799. "description": "最新成交量",
  16800. "type": "integer"
  16801. },
  16802. "limitdown": {
  16803. "description": "跌停价",
  16804. "type": "number"
  16805. },
  16806. "limitup": {
  16807. "description": "涨停价",
  16808. "type": "number"
  16809. },
  16810. "lowest": {
  16811. "description": "最低价",
  16812. "type": "number"
  16813. },
  16814. "nontotalholdervolume": {
  16815. "description": "非交易持仓量",
  16816. "type": "integer"
  16817. },
  16818. "nontotallot": {
  16819. "description": "非交易总手数",
  16820. "type": "integer"
  16821. },
  16822. "nontotalturnover": {
  16823. "description": "非交易总金额",
  16824. "type": "integer"
  16825. },
  16826. "nontotalvolume": {
  16827. "description": "非交易总量",
  16828. "type": "integer"
  16829. },
  16830. "opened": {
  16831. "description": "开盘价",
  16832. "type": "number"
  16833. },
  16834. "opentime": {
  16835. "description": "开盘时间",
  16836. "type": "string"
  16837. },
  16838. "orderid": {
  16839. "description": "序号",
  16840. "type": "integer"
  16841. },
  16842. "preclose": {
  16843. "description": "昨收",
  16844. "type": "number"
  16845. },
  16846. "preholdvolume": {
  16847. "description": "昨持仓",
  16848. "type": "integer"
  16849. },
  16850. "presettle": {
  16851. "description": "昨结价",
  16852. "type": "number"
  16853. },
  16854. "publictradetype": {
  16855. "description": "公共交易标志类型 港股专用",
  16856. "type": "string"
  16857. },
  16858. "putoptionpremiums": {
  16859. "description": "认沽期权1",
  16860. "type": "integer"
  16861. },
  16862. "putoptionpremiums2": {
  16863. "description": "认沽期权2",
  16864. "type": "integer"
  16865. },
  16866. "putoptionpremiums3": {
  16867. "description": "认沽期权3",
  16868. "type": "integer"
  16869. },
  16870. "putoptionpremiums4": {
  16871. "description": "认沽期权4",
  16872. "type": "integer"
  16873. },
  16874. "putoptionpremiums5": {
  16875. "description": "认沽期权5",
  16876. "type": "integer"
  16877. },
  16878. "settle": {
  16879. "description": "结算价",
  16880. "type": "number"
  16881. },
  16882. "strikeprice": {
  16883. "description": "发行价",
  16884. "type": "number"
  16885. },
  16886. "totalaskvolume": {
  16887. "description": "内盘",
  16888. "type": "integer"
  16889. },
  16890. "totalbidvolume": {
  16891. "description": "外盘",
  16892. "type": "integer"
  16893. },
  16894. "totallot": {
  16895. "description": "总手数",
  16896. "type": "integer"
  16897. },
  16898. "totalturnover": {
  16899. "description": "总金额",
  16900. "type": "number"
  16901. },
  16902. "totalvolume": {
  16903. "description": "总量",
  16904. "type": "integer"
  16905. },
  16906. "utclasttime": {
  16907. "description": "utc的行情时间",
  16908. "type": "string"
  16909. }
  16910. }
  16911. },
  16912. "quote.QueryTSDataRsp": {
  16913. "type": "object",
  16914. "properties": {
  16915. "decimalPlace": {
  16916. "description": "小数位",
  16917. "type": "integer"
  16918. },
  16919. "endTime": {
  16920. "description": "结束时间",
  16921. "type": "string"
  16922. },
  16923. "goodsCode": {
  16924. "description": "商品代码",
  16925. "type": "string"
  16926. },
  16927. "historyDatas": {
  16928. "description": "历史数据",
  16929. "type": "array",
  16930. "items": {
  16931. "$ref": "#/definitions/quote.HistoryData"
  16932. }
  16933. },
  16934. "outGoodsCode": {
  16935. "description": "外部商品代码",
  16936. "type": "string"
  16937. },
  16938. "preSettle": {
  16939. "description": "昨结",
  16940. "type": "number"
  16941. },
  16942. "startTime": {
  16943. "description": "开始时间",
  16944. "type": "string"
  16945. },
  16946. "tradeDate": {
  16947. "description": "交易日",
  16948. "type": "string"
  16949. }
  16950. }
  16951. },
  16952. "szdz.QueryConvertLogRsp": {
  16953. "type": "object",
  16954. "required": [
  16955. "logid"
  16956. ],
  16957. "properties": {
  16958. "accountid": {
  16959. "description": "资金账户ID",
  16960. "type": "integer"
  16961. },
  16962. "clientticket": {
  16963. "description": "客户端流水号",
  16964. "type": "string"
  16965. },
  16966. "converttype": {
  16967. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍",
  16968. "type": "integer"
  16969. },
  16970. "createtime": {
  16971. "description": "记账时间",
  16972. "type": "string"
  16973. },
  16974. "daymaxvalue": {
  16975. "description": "配置当日最大转入限制",
  16976. "type": "number"
  16977. },
  16978. "daymaxvalue2": {
  16979. "description": "配置当日最大转入限制(转入)",
  16980. "type": "number"
  16981. },
  16982. "goodscode": {
  16983. "description": "商品代码",
  16984. "type": "string"
  16985. },
  16986. "goodsname": {
  16987. "description": "商品名称",
  16988. "type": "string"
  16989. },
  16990. "handlestatus": {
  16991. "description": "处理状态",
  16992. "type": "integer"
  16993. },
  16994. "innergoodsid": {
  16995. "description": "内部商品ID",
  16996. "type": "integer"
  16997. },
  16998. "inratio": {
  16999. "description": "配置转入比值",
  17000. "type": "integer"
  17001. },
  17002. "invalue": {
  17003. "description": "目标值",
  17004. "type": "number"
  17005. },
  17006. "logid": {
  17007. "description": "LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  17008. "type": "integer"
  17009. },
  17010. "mobile": {
  17011. "description": "手机号码(加密存储)",
  17012. "type": "string"
  17013. },
  17014. "outergoodscode": {
  17015. "description": "外部商品代码[JD\\PD]",
  17016. "type": "string"
  17017. },
  17018. "outratio": {
  17019. "description": "配置转出比值",
  17020. "type": "integer"
  17021. },
  17022. "outvalue": {
  17023. "description": "源值",
  17024. "type": "number"
  17025. },
  17026. "pddecimalplace": {
  17027. "description": "PD小数位",
  17028. "type": "integer"
  17029. },
  17030. "qty": {
  17031. "description": "数量",
  17032. "type": "string"
  17033. },
  17034. "remark": {
  17035. "description": "备注",
  17036. "type": "string"
  17037. },
  17038. "sessionid": {
  17039. "description": "会话ID",
  17040. "type": "integer"
  17041. },
  17042. "timemaxvalue": {
  17043. "description": "配置单次最大转入限制",
  17044. "type": "number"
  17045. },
  17046. "timemaxvalue2": {
  17047. "description": "配置单次最大转入限制(转入)",
  17048. "type": "number"
  17049. },
  17050. "timeminvalue": {
  17051. "description": "配置单次最小数量限制",
  17052. "type": "number"
  17053. },
  17054. "timeminvalue2": {
  17055. "description": "配置单次最小数量限制(转入)",
  17056. "type": "number"
  17057. },
  17058. "tradedate": {
  17059. "description": "交易日(yyyyMMdd)",
  17060. "type": "string"
  17061. },
  17062. "userid": {
  17063. "description": "用户ID",
  17064. "type": "integer"
  17065. }
  17066. }
  17067. },
  17068. "szdz.QueryGoodsPickupRsp": {
  17069. "type": "object",
  17070. "required": [
  17071. "takeorderid"
  17072. ],
  17073. "properties": {
  17074. "accountid": {
  17075. "description": "账户ID",
  17076. "type": "integer"
  17077. },
  17078. "address": {
  17079. "description": "提货人详细地址",
  17080. "type": "string"
  17081. },
  17082. "auditer": {
  17083. "description": "审核人",
  17084. "type": "integer"
  17085. },
  17086. "audittime": {
  17087. "description": "审核时间",
  17088. "type": "string"
  17089. },
  17090. "cardnum": {
  17091. "description": "提货人证件号码",
  17092. "type": "string"
  17093. },
  17094. "cardtypeid": {
  17095. "description": "提货人证件类型",
  17096. "type": "integer"
  17097. },
  17098. "checkremark": {
  17099. "description": "审核备注",
  17100. "type": "string"
  17101. },
  17102. "goodscode": {
  17103. "description": "商品代码",
  17104. "type": "string"
  17105. },
  17106. "goodsid": {
  17107. "description": "商品ID",
  17108. "type": "integer"
  17109. },
  17110. "goodsname": {
  17111. "description": "商品名称",
  17112. "type": "string"
  17113. },
  17114. "handlestatus": {
  17115. "description": "处理状态",
  17116. "type": "integer"
  17117. },
  17118. "marketid": {
  17119. "description": "市场ID",
  17120. "type": "integer"
  17121. },
  17122. "phonenum": {
  17123. "description": "提货人联系方式",
  17124. "type": "string"
  17125. },
  17126. "qty": {
  17127. "description": "提货数量",
  17128. "type": "number"
  17129. },
  17130. "recivername": {
  17131. "description": "提货人姓名",
  17132. "type": "string"
  17133. },
  17134. "reqtime": {
  17135. "description": "更新时间",
  17136. "type": "string"
  17137. },
  17138. "takemode": {
  17139. "description": "提货方式 - 2:自提 3:配送",
  17140. "type": "integer"
  17141. },
  17142. "takeorderid": {
  17143. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  17144. "type": "string"
  17145. },
  17146. "takeorderstatus": {
  17147. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  17148. "type": "integer"
  17149. },
  17150. "takeremark": {
  17151. "description": "提货备注",
  17152. "type": "string"
  17153. },
  17154. "tradedate": {
  17155. "description": "交易日(yyyyMMdd)",
  17156. "type": "string"
  17157. },
  17158. "userid": {
  17159. "description": "用户ID",
  17160. "type": "integer"
  17161. }
  17162. }
  17163. },
  17164. "szdz.QueryRecieptOrderRsp": {
  17165. "type": "object",
  17166. "required": [
  17167. "ordertime"
  17168. ],
  17169. "properties": {
  17170. "accountName": {
  17171. "description": "所属账号名称(已脱敏)",
  17172. "type": "string"
  17173. },
  17174. "accountid": {
  17175. "description": "资金账号",
  17176. "type": "integer"
  17177. },
  17178. "buyorsell": {
  17179. "description": "方向 - 0:买 1:卖",
  17180. "type": "integer"
  17181. },
  17182. "enableqty": {
  17183. "description": "可摘数量",
  17184. "type": "integer"
  17185. },
  17186. "goodscode": {
  17187. "description": "商品代码",
  17188. "type": "string"
  17189. },
  17190. "goodsid": {
  17191. "description": "商品ID",
  17192. "type": "integer"
  17193. },
  17194. "goodsname": {
  17195. "description": "商品名称",
  17196. "type": "string"
  17197. },
  17198. "orderid": {
  17199. "description": "委托单号",
  17200. "type": "string"
  17201. },
  17202. "orderprice": {
  17203. "description": "委托价格",
  17204. "type": "number"
  17205. },
  17206. "ordertime": {
  17207. "description": "委托时间",
  17208. "type": "string"
  17209. },
  17210. "tradedate": {
  17211. "description": "交易日(yyyyMMdd)",
  17212. "type": "string"
  17213. }
  17214. }
  17215. },
  17216. "szdz.QuerySZDZTradePositionRsp": {
  17217. "type": "object",
  17218. "properties": {
  17219. "accountid": {
  17220. "description": "账号Id",
  17221. "type": "integer"
  17222. },
  17223. "agreeunit": {
  17224. "description": "合约单位",
  17225. "type": "number"
  17226. },
  17227. "averageprice": {
  17228. "description": "持仓均价",
  17229. "type": "number"
  17230. },
  17231. "buyorsell": {
  17232. "description": "方向 - 0:买 1:卖",
  17233. "type": "integer"
  17234. },
  17235. "closetotalqty": {
  17236. "description": "平仓总数量",
  17237. "type": "integer"
  17238. },
  17239. "curholderamount": {
  17240. "description": "当前持仓总金额",
  17241. "type": "number"
  17242. },
  17243. "curpositionqty": {
  17244. "description": "当前持仓总数量",
  17245. "type": "integer"
  17246. },
  17247. "currencyid": {
  17248. "description": "报价货币ID",
  17249. "type": "integer"
  17250. },
  17251. "curtdposition": {
  17252. "description": "期末今日头寸",
  17253. "type": "integer"
  17254. },
  17255. "decimalplace": {
  17256. "description": "报价小数位",
  17257. "type": "integer"
  17258. },
  17259. "enableqty": {
  17260. "description": "可用量",
  17261. "type": "integer"
  17262. },
  17263. "fretdposition": {
  17264. "description": "冻结今日头寸",
  17265. "type": "integer"
  17266. },
  17267. "frozenqty": {
  17268. "description": "持仓冻结数量",
  17269. "type": "integer"
  17270. },
  17271. "goodscode": {
  17272. "description": "商品代码(内部)",
  17273. "type": "string"
  17274. },
  17275. "goodsid": {
  17276. "description": "商品Id",
  17277. "type": "integer"
  17278. },
  17279. "goodsname": {
  17280. "description": "商品名称",
  17281. "type": "string"
  17282. },
  17283. "goodunit": {
  17284. "description": "报价单位",
  17285. "type": "string"
  17286. },
  17287. "goodunitid": {
  17288. "description": "报价单位ID",
  17289. "type": "integer"
  17290. },
  17291. "holderamount": {
  17292. "description": "期初持仓总金额",
  17293. "type": "number"
  17294. },
  17295. "marketid": {
  17296. "description": "市场ID",
  17297. "type": "integer"
  17298. },
  17299. "openreqqty": {
  17300. "description": "开仓申请数量",
  17301. "type": "integer"
  17302. },
  17303. "opentotalqty": {
  17304. "description": "开仓总数量",
  17305. "type": "integer"
  17306. },
  17307. "otherfrozenqty": {
  17308. "description": "持仓其他冻结数量(交割冻结)",
  17309. "type": "integer"
  17310. },
  17311. "positionqty": {
  17312. "description": "期初持仓数量",
  17313. "type": "integer"
  17314. },
  17315. "szdz3freezqty": {
  17316. "description": "尚志大宗转换冻结总数量",
  17317. "type": "integer"
  17318. },
  17319. "tnqty": {
  17320. "description": "T+N冻结总量",
  17321. "type": "integer"
  17322. },
  17323. "tnusedqty": {
  17324. "description": "T+N使用量",
  17325. "type": "integer"
  17326. },
  17327. "trademode": {
  17328. "description": "交易模式",
  17329. "type": "integer"
  17330. },
  17331. "usedmargin": {
  17332. "description": "占用保证金",
  17333. "type": "number"
  17334. }
  17335. }
  17336. },
  17337. "taaccount.QueryAmountLogRsp": {
  17338. "type": "object",
  17339. "required": [
  17340. "accountid",
  17341. "amount",
  17342. "amountadjusttype",
  17343. "autoid",
  17344. "balance",
  17345. "createtime",
  17346. "currentbalance",
  17347. "operatetype"
  17348. ],
  17349. "properties": {
  17350. "OPERATETYPENAME": {
  17351. "description": "资金操作类型名称",
  17352. "type": "string"
  17353. },
  17354. "accountid": {
  17355. "description": "资金账户ID",
  17356. "type": "integer"
  17357. },
  17358. "agoodscode": {
  17359. "description": "竞拍商品代码",
  17360. "type": "string"
  17361. },
  17362. "agoodsname": {
  17363. "description": "竞拍商品名称",
  17364. "type": "string"
  17365. },
  17366. "amount": {
  17367. "description": "资金金额",
  17368. "type": "number"
  17369. },
  17370. "amountadjusttype": {
  17371. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  17372. "type": "integer"
  17373. },
  17374. "autoid": {
  17375. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  17376. "type": "integer"
  17377. },
  17378. "balance": {
  17379. "description": "期初余额",
  17380. "type": "number"
  17381. },
  17382. "businesscode": {
  17383. "description": "业务编号",
  17384. "type": "integer"
  17385. },
  17386. "createtime": {
  17387. "description": "发生时间",
  17388. "type": "string"
  17389. },
  17390. "currencyid": {
  17391. "description": "币种ID",
  17392. "type": "integer"
  17393. },
  17394. "currentbalance": {
  17395. "description": "期末余额(变动后金额)",
  17396. "type": "number"
  17397. },
  17398. "dgoodscode": {
  17399. "description": "交割商品代码",
  17400. "type": "string"
  17401. },
  17402. "dgoodsname": {
  17403. "description": "交割商品名称",
  17404. "type": "string"
  17405. },
  17406. "goodscode": {
  17407. "description": "商品代码",
  17408. "type": "string"
  17409. },
  17410. "goodsid": {
  17411. "description": "商品ID",
  17412. "type": "integer"
  17413. },
  17414. "goodsname": {
  17415. "description": "商品名称",
  17416. "type": "string"
  17417. },
  17418. "marketid": {
  17419. "description": "市场ID",
  17420. "type": "integer"
  17421. },
  17422. "marketname": {
  17423. "description": "市场名称",
  17424. "type": "string"
  17425. },
  17426. "moneyticket": {
  17427. "description": "资金流水号:银行端流水号",
  17428. "type": "integer"
  17429. },
  17430. "operatetype": {
  17431. "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:营销收款",
  17432. "type": "integer"
  17433. },
  17434. "relationorderid": {
  17435. "description": "关联单号",
  17436. "type": "string"
  17437. },
  17438. "remark": {
  17439. "description": "备注",
  17440. "type": "string"
  17441. },
  17442. "trademode": {
  17443. "description": "交易模式",
  17444. "type": "integer"
  17445. }
  17446. }
  17447. },
  17448. "taaccount.QueryHisAmountLogRsp": {
  17449. "type": "object",
  17450. "required": [
  17451. "accountid",
  17452. "amount",
  17453. "amountadjusttype",
  17454. "autoid",
  17455. "balance",
  17456. "createtime",
  17457. "currentbalance",
  17458. "histradedate",
  17459. "operatetype"
  17460. ],
  17461. "properties": {
  17462. "OPERATETYPENAME": {
  17463. "description": "资金操作类型名称",
  17464. "type": "string"
  17465. },
  17466. "accountid": {
  17467. "description": "资金账户ID",
  17468. "type": "integer"
  17469. },
  17470. "agoodscode": {
  17471. "description": "竞拍商品代码",
  17472. "type": "string"
  17473. },
  17474. "agoodsname": {
  17475. "description": "竞拍商品名称",
  17476. "type": "string"
  17477. },
  17478. "amount": {
  17479. "description": "资金金额",
  17480. "type": "number"
  17481. },
  17482. "amountadjusttype": {
  17483. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  17484. "type": "integer"
  17485. },
  17486. "autoid": {
  17487. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  17488. "type": "integer"
  17489. },
  17490. "balance": {
  17491. "description": "期初余额",
  17492. "type": "number"
  17493. },
  17494. "businesscode": {
  17495. "description": "业务编号",
  17496. "type": "integer"
  17497. },
  17498. "createtime": {
  17499. "description": "发生时间",
  17500. "type": "string"
  17501. },
  17502. "currencyid": {
  17503. "description": "币种ID",
  17504. "type": "integer"
  17505. },
  17506. "currentbalance": {
  17507. "description": "期末余额(变动后金额)",
  17508. "type": "number"
  17509. },
  17510. "dgoodscode": {
  17511. "description": "交割商品代码",
  17512. "type": "string"
  17513. },
  17514. "dgoodsname": {
  17515. "description": "交割商品名称",
  17516. "type": "string"
  17517. },
  17518. "goodscode": {
  17519. "description": "商品代码",
  17520. "type": "string"
  17521. },
  17522. "goodsid": {
  17523. "description": "商品ID",
  17524. "type": "integer"
  17525. },
  17526. "goodsname": {
  17527. "description": "商品名称",
  17528. "type": "string"
  17529. },
  17530. "histradedate": {
  17531. "description": "历史交易日",
  17532. "type": "string"
  17533. },
  17534. "isvaliddata": {
  17535. "description": "是否有效 - 0:无效 1:有效",
  17536. "type": "integer"
  17537. },
  17538. "marketid": {
  17539. "description": "市场ID",
  17540. "type": "integer"
  17541. },
  17542. "marketname": {
  17543. "description": "市场名称",
  17544. "type": "string"
  17545. },
  17546. "moneyticket": {
  17547. "description": "资金流水号:银行端流水号",
  17548. "type": "integer"
  17549. },
  17550. "operatetype": {
  17551. "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:营销收款",
  17552. "type": "integer"
  17553. },
  17554. "relationorderid": {
  17555. "description": "关联单号",
  17556. "type": "string"
  17557. },
  17558. "remark": {
  17559. "description": "备注",
  17560. "type": "string"
  17561. },
  17562. "trademode": {
  17563. "description": "交易模式",
  17564. "type": "integer"
  17565. }
  17566. }
  17567. },
  17568. "trade.QueryRecieptOrderRsp": {
  17569. "type": "object",
  17570. "required": [
  17571. "ordertime"
  17572. ],
  17573. "properties": {
  17574. "accountName": {
  17575. "description": "所属账号名称(已脱敏)",
  17576. "type": "string"
  17577. },
  17578. "accountid": {
  17579. "description": "资金账号",
  17580. "type": "integer"
  17581. },
  17582. "buyorsell": {
  17583. "description": "方向 - 0:买 1:卖",
  17584. "type": "integer"
  17585. },
  17586. "enableqty": {
  17587. "description": "可摘数量",
  17588. "type": "integer"
  17589. },
  17590. "goodscode": {
  17591. "description": "商品代码",
  17592. "type": "string"
  17593. },
  17594. "goodsid": {
  17595. "description": "商品ID",
  17596. "type": "integer"
  17597. },
  17598. "goodsname": {
  17599. "description": "商品名称",
  17600. "type": "string"
  17601. },
  17602. "orderid": {
  17603. "description": "委托单号",
  17604. "type": "string"
  17605. },
  17606. "orderprice": {
  17607. "description": "委托价格",
  17608. "type": "number"
  17609. },
  17610. "ordertime": {
  17611. "description": "委托时间",
  17612. "type": "string"
  17613. },
  17614. "tradedate": {
  17615. "description": "交易日(yyyyMMdd)",
  17616. "type": "string"
  17617. }
  17618. }
  17619. }
  17620. },
  17621. "securityDefinitions": {
  17622. "ApiKeyAuth": {
  17623. "type": "apiKey",
  17624. "name": "Authorization",
  17625. "in": "header"
  17626. }
  17627. }
  17628. }`
  17629. type swaggerInfo struct {
  17630. Version string
  17631. Host string
  17632. BasePath string
  17633. Schemes []string
  17634. Title string
  17635. Description string
  17636. }
  17637. // SwaggerInfo holds exported Swagger Info so clients can modify it
  17638. var SwaggerInfo = swaggerInfo{
  17639. Version: "1.0",
  17640. Host: "",
  17641. BasePath: "/api",
  17642. Schemes: []string{},
  17643. Title: "MTP2.0 查询服务 API",
  17644. Description: "新的查询服务,替代原通用查询服务。游客Token:c886a057f3d820d4dbc41473686c7c2d",
  17645. }
  17646. type s struct{}
  17647. func (s *s) ReadDoc() string {
  17648. sInfo := SwaggerInfo
  17649. sInfo.Description = strings.Replace(sInfo.Description, "\n", "\\n", -1)
  17650. t, err := template.New("swagger_info").Funcs(template.FuncMap{
  17651. "marshal": func(v interface{}) string {
  17652. a, _ := json.Marshal(v)
  17653. return string(a)
  17654. },
  17655. }).Parse(doc)
  17656. if err != nil {
  17657. return doc
  17658. }
  17659. var tpl bytes.Buffer
  17660. if err := t.Execute(&tpl, sInfo); err != nil {
  17661. return doc
  17662. }
  17663. return tpl.String()
  17664. }
  17665. func init() {
  17666. swag.Register(swag.Name, &s{})
  17667. }