docs.go 639 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402640364046405640664076408640964106411641264136414641564166417641864196420642164226423642464256426642764286429643064316432643364346435643664376438643964406441644264436444644564466447644864496450645164526453645464556456645764586459646064616462646364646465646664676468646964706471647264736474647564766477647864796480648164826483648464856486648764886489649064916492649364946495649664976498649965006501650265036504650565066507650865096510651165126513651465156516651765186519652065216522652365246525652665276528652965306531653265336534653565366537653865396540654165426543654465456546654765486549655065516552655365546555655665576558655965606561656265636564656565666567656865696570657165726573657465756576657765786579658065816582658365846585658665876588658965906591659265936594659565966597659865996600660166026603660466056606660766086609661066116612661366146615661666176618661966206621662266236624662566266627662866296630663166326633663466356636663766386639664066416642664366446645664666476648664966506651665266536654665566566657665866596660666166626663666466656666666766686669667066716672667366746675667666776678667966806681668266836684668566866687668866896690669166926693669466956696669766986699670067016702670367046705670667076708670967106711671267136714671567166717671867196720672167226723672467256726672767286729673067316732673367346735673667376738673967406741674267436744674567466747674867496750675167526753675467556756675767586759676067616762676367646765676667676768676967706771677267736774677567766777677867796780678167826783678467856786678767886789679067916792679367946795679667976798679968006801680268036804680568066807680868096810681168126813681468156816681768186819682068216822682368246825682668276828682968306831683268336834683568366837683868396840684168426843684468456846684768486849685068516852685368546855685668576858685968606861686268636864686568666867686868696870687168726873687468756876687768786879688068816882688368846885688668876888688968906891689268936894689568966897689868996900690169026903690469056906690769086909691069116912691369146915691669176918691969206921692269236924692569266927692869296930693169326933693469356936693769386939694069416942694369446945694669476948694969506951695269536954695569566957695869596960696169626963696469656966696769686969697069716972697369746975697669776978697969806981698269836984698569866987698869896990699169926993699469956996699769986999700070017002700370047005700670077008700970107011701270137014701570167017701870197020702170227023702470257026702770287029703070317032703370347035703670377038703970407041704270437044704570467047704870497050705170527053705470557056705770587059706070617062706370647065706670677068706970707071707270737074707570767077707870797080708170827083708470857086708770887089709070917092709370947095709670977098709971007101710271037104710571067107710871097110711171127113711471157116711771187119712071217122712371247125712671277128712971307131713271337134713571367137713871397140714171427143714471457146714771487149715071517152715371547155715671577158715971607161716271637164716571667167716871697170717171727173717471757176717771787179718071817182718371847185718671877188718971907191719271937194719571967197719871997200720172027203720472057206720772087209721072117212721372147215721672177218721972207221722272237224722572267227722872297230723172327233723472357236723772387239724072417242724372447245724672477248724972507251725272537254725572567257725872597260726172627263726472657266726772687269727072717272727372747275727672777278727972807281728272837284728572867287728872897290729172927293729472957296729772987299730073017302730373047305730673077308730973107311731273137314731573167317731873197320732173227323732473257326732773287329733073317332733373347335733673377338733973407341734273437344734573467347734873497350735173527353735473557356735773587359736073617362736373647365736673677368736973707371737273737374737573767377737873797380738173827383738473857386738773887389739073917392739373947395739673977398739974007401740274037404740574067407740874097410741174127413741474157416741774187419742074217422742374247425742674277428742974307431743274337434743574367437743874397440744174427443744474457446744774487449745074517452745374547455745674577458745974607461746274637464746574667467746874697470747174727473747474757476747774787479748074817482748374847485748674877488748974907491749274937494749574967497749874997500750175027503750475057506750775087509751075117512751375147515751675177518751975207521752275237524752575267527752875297530753175327533753475357536753775387539754075417542754375447545754675477548754975507551755275537554755575567557755875597560756175627563756475657566756775687569757075717572757375747575757675777578757975807581758275837584758575867587758875897590759175927593759475957596759775987599760076017602760376047605760676077608760976107611761276137614761576167617761876197620762176227623762476257626762776287629763076317632763376347635763676377638763976407641764276437644764576467647764876497650765176527653765476557656765776587659766076617662766376647665766676677668766976707671767276737674767576767677767876797680768176827683768476857686768776887689769076917692769376947695769676977698769977007701770277037704770577067707770877097710771177127713771477157716771777187719772077217722772377247725772677277728772977307731773277337734773577367737773877397740774177427743774477457746774777487749775077517752775377547755775677577758775977607761776277637764776577667767776877697770777177727773777477757776777777787779778077817782778377847785778677877788778977907791779277937794779577967797779877997800780178027803780478057806780778087809781078117812781378147815781678177818781978207821782278237824782578267827782878297830783178327833783478357836783778387839784078417842784378447845784678477848784978507851785278537854785578567857785878597860786178627863786478657866786778687869787078717872787378747875787678777878787978807881788278837884788578867887788878897890789178927893789478957896789778987899790079017902790379047905790679077908790979107911791279137914791579167917791879197920792179227923792479257926792779287929793079317932793379347935793679377938793979407941794279437944794579467947794879497950795179527953795479557956795779587959796079617962796379647965796679677968796979707971797279737974797579767977797879797980798179827983798479857986798779887989799079917992799379947995799679977998799980008001800280038004800580068007800880098010801180128013801480158016801780188019802080218022802380248025802680278028802980308031803280338034803580368037803880398040804180428043804480458046804780488049805080518052805380548055805680578058805980608061806280638064806580668067806880698070807180728073807480758076807780788079808080818082808380848085808680878088808980908091809280938094809580968097809880998100810181028103810481058106810781088109811081118112811381148115811681178118811981208121812281238124812581268127812881298130813181328133813481358136813781388139814081418142814381448145814681478148814981508151815281538154815581568157815881598160816181628163816481658166816781688169817081718172817381748175817681778178817981808181818281838184818581868187818881898190819181928193819481958196819781988199820082018202820382048205820682078208820982108211821282138214821582168217821882198220822182228223822482258226822782288229823082318232823382348235823682378238823982408241824282438244824582468247824882498250825182528253825482558256825782588259826082618262826382648265826682678268826982708271827282738274827582768277827882798280828182828283828482858286828782888289829082918292829382948295829682978298829983008301830283038304830583068307830883098310831183128313831483158316831783188319832083218322832383248325832683278328832983308331833283338334833583368337833883398340834183428343834483458346834783488349835083518352835383548355835683578358835983608361836283638364836583668367836883698370837183728373837483758376837783788379838083818382838383848385838683878388838983908391839283938394839583968397839883998400840184028403840484058406840784088409841084118412841384148415841684178418841984208421842284238424842584268427842884298430843184328433843484358436843784388439844084418442844384448445844684478448844984508451845284538454845584568457845884598460846184628463846484658466846784688469847084718472847384748475847684778478847984808481848284838484848584868487848884898490849184928493849484958496849784988499850085018502850385048505850685078508850985108511851285138514851585168517851885198520852185228523852485258526852785288529853085318532853385348535853685378538853985408541854285438544854585468547854885498550855185528553855485558556855785588559856085618562856385648565856685678568856985708571857285738574857585768577857885798580858185828583858485858586858785888589859085918592859385948595859685978598859986008601860286038604860586068607860886098610861186128613861486158616861786188619862086218622862386248625862686278628862986308631863286338634863586368637863886398640864186428643864486458646864786488649865086518652865386548655865686578658865986608661866286638664866586668667866886698670867186728673867486758676867786788679868086818682868386848685868686878688868986908691869286938694869586968697869886998700870187028703870487058706870787088709871087118712871387148715871687178718871987208721872287238724872587268727872887298730873187328733873487358736873787388739874087418742874387448745874687478748874987508751875287538754875587568757875887598760876187628763876487658766876787688769877087718772877387748775877687778778877987808781878287838784878587868787878887898790879187928793879487958796879787988799880088018802880388048805880688078808880988108811881288138814881588168817881888198820882188228823882488258826882788288829883088318832883388348835883688378838883988408841884288438844884588468847884888498850885188528853885488558856885788588859886088618862886388648865886688678868886988708871887288738874887588768877887888798880888188828883888488858886888788888889889088918892889388948895889688978898889989008901890289038904890589068907890889098910891189128913891489158916891789188919892089218922892389248925892689278928892989308931893289338934893589368937893889398940894189428943894489458946894789488949895089518952895389548955895689578958895989608961896289638964896589668967896889698970897189728973897489758976897789788979898089818982898389848985898689878988898989908991899289938994899589968997899889999000900190029003900490059006900790089009901090119012901390149015901690179018901990209021902290239024902590269027902890299030903190329033903490359036903790389039904090419042904390449045904690479048904990509051905290539054905590569057905890599060906190629063906490659066906790689069907090719072907390749075907690779078907990809081908290839084908590869087908890899090909190929093909490959096909790989099910091019102910391049105910691079108910991109111911291139114911591169117911891199120912191229123912491259126912791289129913091319132913391349135913691379138913991409141914291439144914591469147914891499150915191529153915491559156915791589159916091619162916391649165916691679168916991709171917291739174917591769177917891799180918191829183918491859186918791889189919091919192919391949195919691979198919992009201920292039204920592069207920892099210921192129213921492159216921792189219922092219222922392249225922692279228922992309231923292339234923592369237923892399240924192429243924492459246924792489249925092519252925392549255925692579258925992609261926292639264926592669267926892699270927192729273927492759276927792789279928092819282928392849285928692879288928992909291929292939294929592969297929892999300930193029303930493059306930793089309931093119312931393149315931693179318931993209321932293239324932593269327932893299330933193329333933493359336933793389339934093419342934393449345934693479348934993509351935293539354935593569357935893599360936193629363936493659366936793689369937093719372937393749375937693779378937993809381938293839384938593869387938893899390939193929393939493959396939793989399940094019402940394049405940694079408940994109411941294139414941594169417941894199420942194229423942494259426942794289429943094319432943394349435943694379438943994409441944294439444944594469447944894499450945194529453945494559456945794589459946094619462946394649465946694679468946994709471947294739474947594769477947894799480948194829483948494859486948794889489949094919492949394949495949694979498949995009501950295039504950595069507950895099510951195129513951495159516951795189519952095219522952395249525952695279528952995309531953295339534953595369537953895399540954195429543954495459546954795489549955095519552955395549555955695579558955995609561956295639564956595669567956895699570957195729573957495759576957795789579958095819582958395849585958695879588958995909591959295939594959595969597959895999600960196029603960496059606960796089609961096119612961396149615961696179618961996209621962296239624962596269627962896299630963196329633963496359636963796389639964096419642964396449645964696479648964996509651965296539654965596569657965896599660966196629663966496659666966796689669967096719672967396749675967696779678967996809681968296839684968596869687968896899690969196929693969496959696969796989699970097019702970397049705970697079708970997109711971297139714971597169717971897199720972197229723972497259726972797289729973097319732973397349735973697379738973997409741974297439744974597469747974897499750975197529753975497559756975797589759976097619762976397649765976697679768976997709771977297739774977597769777977897799780978197829783978497859786978797889789979097919792979397949795979697979798979998009801980298039804980598069807980898099810981198129813981498159816981798189819982098219822982398249825982698279828982998309831983298339834983598369837983898399840984198429843984498459846984798489849985098519852985398549855985698579858985998609861986298639864986598669867986898699870987198729873987498759876987798789879988098819882988398849885988698879888988998909891989298939894989598969897989898999900990199029903990499059906990799089909991099119912991399149915991699179918991999209921992299239924992599269927992899299930993199329933993499359936993799389939994099419942994399449945994699479948994999509951995299539954995599569957995899599960996199629963996499659966996799689969997099719972997399749975997699779978997999809981998299839984998599869987998899899990999199929993999499959996999799989999100001000110002100031000410005100061000710008100091001010011100121001310014100151001610017100181001910020100211002210023100241002510026100271002810029100301003110032100331003410035100361003710038100391004010041100421004310044100451004610047100481004910050100511005210053100541005510056100571005810059100601006110062100631006410065100661006710068100691007010071100721007310074100751007610077100781007910080100811008210083100841008510086100871008810089100901009110092100931009410095100961009710098100991010010101101021010310104101051010610107101081010910110101111011210113101141011510116101171011810119101201012110122101231012410125101261012710128101291013010131101321013310134101351013610137101381013910140101411014210143101441014510146101471014810149101501015110152101531015410155101561015710158101591016010161101621016310164101651016610167101681016910170101711017210173101741017510176101771017810179101801018110182101831018410185101861018710188101891019010191101921019310194101951019610197101981019910200102011020210203102041020510206102071020810209102101021110212102131021410215102161021710218102191022010221102221022310224102251022610227102281022910230102311023210233102341023510236102371023810239102401024110242102431024410245102461024710248102491025010251102521025310254102551025610257102581025910260102611026210263102641026510266102671026810269102701027110272102731027410275102761027710278102791028010281102821028310284102851028610287102881028910290102911029210293102941029510296102971029810299103001030110302103031030410305103061030710308103091031010311103121031310314103151031610317103181031910320103211032210323103241032510326103271032810329103301033110332103331033410335103361033710338103391034010341103421034310344103451034610347103481034910350103511035210353103541035510356103571035810359103601036110362103631036410365103661036710368103691037010371103721037310374103751037610377103781037910380103811038210383103841038510386103871038810389103901039110392103931039410395103961039710398103991040010401104021040310404104051040610407104081040910410104111041210413104141041510416104171041810419104201042110422104231042410425104261042710428104291043010431104321043310434104351043610437104381043910440104411044210443104441044510446104471044810449104501045110452104531045410455104561045710458104591046010461104621046310464104651046610467104681046910470104711047210473104741047510476104771047810479104801048110482104831048410485104861048710488104891049010491104921049310494104951049610497104981049910500105011050210503105041050510506105071050810509105101051110512105131051410515105161051710518105191052010521105221052310524105251052610527105281052910530105311053210533105341053510536105371053810539105401054110542105431054410545105461054710548105491055010551105521055310554105551055610557105581055910560105611056210563105641056510566105671056810569105701057110572105731057410575105761057710578105791058010581105821058310584105851058610587105881058910590105911059210593105941059510596105971059810599106001060110602106031060410605106061060710608106091061010611106121061310614106151061610617106181061910620106211062210623106241062510626106271062810629106301063110632106331063410635106361063710638106391064010641106421064310644106451064610647106481064910650106511065210653106541065510656106571065810659106601066110662106631066410665106661066710668106691067010671106721067310674106751067610677106781067910680106811068210683106841068510686106871068810689106901069110692106931069410695106961069710698106991070010701107021070310704107051070610707107081070910710107111071210713107141071510716107171071810719107201072110722107231072410725107261072710728107291073010731107321073310734107351073610737107381073910740107411074210743107441074510746107471074810749107501075110752107531075410755107561075710758107591076010761107621076310764107651076610767107681076910770107711077210773107741077510776107771077810779107801078110782107831078410785107861078710788107891079010791107921079310794107951079610797107981079910800108011080210803108041080510806108071080810809108101081110812108131081410815108161081710818108191082010821108221082310824108251082610827108281082910830108311083210833108341083510836108371083810839108401084110842108431084410845108461084710848108491085010851108521085310854108551085610857108581085910860108611086210863108641086510866108671086810869108701087110872108731087410875108761087710878108791088010881108821088310884108851088610887108881088910890108911089210893108941089510896108971089810899109001090110902109031090410905109061090710908109091091010911109121091310914109151091610917109181091910920109211092210923109241092510926109271092810929109301093110932109331093410935109361093710938109391094010941109421094310944109451094610947109481094910950109511095210953109541095510956109571095810959109601096110962109631096410965109661096710968109691097010971109721097310974109751097610977109781097910980109811098210983109841098510986109871098810989109901099110992109931099410995109961099710998109991100011001110021100311004110051100611007110081100911010110111101211013110141101511016110171101811019110201102111022110231102411025110261102711028110291103011031110321103311034110351103611037110381103911040110411104211043110441104511046110471104811049110501105111052110531105411055110561105711058110591106011061110621106311064110651106611067110681106911070110711107211073110741107511076110771107811079110801108111082110831108411085110861108711088110891109011091110921109311094110951109611097110981109911100111011110211103111041110511106111071110811109111101111111112111131111411115111161111711118111191112011121111221112311124111251112611127111281112911130111311113211133111341113511136111371113811139111401114111142111431114411145111461114711148111491115011151111521115311154111551115611157111581115911160111611116211163111641116511166111671116811169111701117111172111731117411175111761117711178111791118011181111821118311184111851118611187111881118911190111911119211193111941119511196111971119811199112001120111202112031120411205112061120711208112091121011211112121121311214112151121611217112181121911220112211122211223112241122511226112271122811229112301123111232112331123411235112361123711238112391124011241112421124311244112451124611247112481124911250112511125211253112541125511256112571125811259112601126111262112631126411265112661126711268112691127011271112721127311274112751127611277112781127911280112811128211283112841128511286112871128811289112901129111292112931129411295112961129711298112991130011301113021130311304113051130611307113081130911310113111131211313113141131511316113171131811319113201132111322113231132411325113261132711328113291133011331113321133311334113351133611337113381133911340113411134211343113441134511346113471134811349113501135111352113531135411355113561135711358113591136011361113621136311364113651136611367113681136911370113711137211373113741137511376113771137811379113801138111382113831138411385113861138711388113891139011391113921139311394113951139611397113981139911400114011140211403114041140511406114071140811409114101141111412114131141411415114161141711418114191142011421114221142311424114251142611427114281142911430114311143211433114341143511436114371143811439114401144111442114431144411445114461144711448114491145011451114521145311454114551145611457114581145911460114611146211463114641146511466114671146811469114701147111472114731147411475114761147711478114791148011481114821148311484114851148611487114881148911490114911149211493114941149511496114971149811499115001150111502115031150411505115061150711508115091151011511115121151311514115151151611517115181151911520115211152211523115241152511526115271152811529115301153111532115331153411535115361153711538115391154011541115421154311544115451154611547115481154911550115511155211553115541155511556115571155811559115601156111562115631156411565115661156711568115691157011571115721157311574115751157611577115781157911580115811158211583115841158511586115871158811589115901159111592115931159411595115961159711598115991160011601116021160311604116051160611607116081160911610116111161211613116141161511616116171161811619116201162111622116231162411625116261162711628116291163011631116321163311634116351163611637116381163911640116411164211643116441164511646116471164811649116501165111652116531165411655116561165711658116591166011661116621166311664116651166611667116681166911670116711167211673116741167511676116771167811679116801168111682116831168411685116861168711688116891169011691116921169311694116951169611697116981169911700117011170211703117041170511706117071170811709117101171111712117131171411715117161171711718117191172011721117221172311724117251172611727117281172911730117311173211733117341173511736117371173811739117401174111742117431174411745117461174711748117491175011751117521175311754117551175611757117581175911760117611176211763117641176511766117671176811769117701177111772117731177411775117761177711778117791178011781117821178311784117851178611787117881178911790117911179211793117941179511796117971179811799118001180111802118031180411805118061180711808118091181011811118121181311814118151181611817118181181911820118211182211823118241182511826118271182811829118301183111832118331183411835118361183711838118391184011841118421184311844118451184611847118481184911850118511185211853118541185511856118571185811859118601186111862118631186411865118661186711868118691187011871118721187311874118751187611877118781187911880118811188211883118841188511886118871188811889118901189111892118931189411895118961189711898118991190011901119021190311904119051190611907119081190911910119111191211913119141191511916119171191811919119201192111922119231192411925119261192711928119291193011931119321193311934119351193611937119381193911940119411194211943119441194511946119471194811949119501195111952119531195411955119561195711958119591196011961119621196311964119651196611967119681196911970119711197211973119741197511976119771197811979119801198111982119831198411985119861198711988119891199011991119921199311994119951199611997119981199912000120011200212003120041200512006120071200812009120101201112012120131201412015120161201712018120191202012021120221202312024120251202612027120281202912030120311203212033120341203512036120371203812039120401204112042120431204412045120461204712048120491205012051120521205312054120551205612057120581205912060120611206212063120641206512066120671206812069120701207112072120731207412075120761207712078120791208012081120821208312084120851208612087120881208912090120911209212093120941209512096120971209812099121001210112102121031210412105121061210712108121091211012111121121211312114121151211612117121181211912120121211212212123121241212512126121271212812129121301213112132121331213412135121361213712138121391214012141121421214312144121451214612147121481214912150121511215212153121541215512156121571215812159121601216112162121631216412165121661216712168121691217012171121721217312174121751217612177121781217912180121811218212183121841218512186121871218812189121901219112192121931219412195121961219712198121991220012201122021220312204122051220612207122081220912210122111221212213122141221512216122171221812219122201222112222122231222412225122261222712228122291223012231122321223312234122351223612237122381223912240122411224212243122441224512246122471224812249122501225112252122531225412255122561225712258122591226012261122621226312264122651226612267122681226912270122711227212273122741227512276122771227812279122801228112282122831228412285122861228712288122891229012291122921229312294122951229612297122981229912300123011230212303123041230512306123071230812309123101231112312123131231412315123161231712318123191232012321123221232312324123251232612327123281232912330123311233212333123341233512336123371233812339123401234112342123431234412345123461234712348123491235012351123521235312354123551235612357123581235912360123611236212363123641236512366123671236812369123701237112372123731237412375123761237712378123791238012381123821238312384123851238612387123881238912390123911239212393123941239512396123971239812399124001240112402124031240412405124061240712408124091241012411124121241312414124151241612417124181241912420124211242212423124241242512426124271242812429124301243112432124331243412435124361243712438124391244012441124421244312444124451244612447124481244912450124511245212453124541245512456124571245812459124601246112462124631246412465124661246712468124691247012471124721247312474124751247612477124781247912480124811248212483124841248512486124871248812489124901249112492124931249412495124961249712498124991250012501125021250312504125051250612507125081250912510125111251212513125141251512516125171251812519125201252112522125231252412525125261252712528125291253012531125321253312534125351253612537125381253912540125411254212543125441254512546125471254812549125501255112552125531255412555125561255712558125591256012561125621256312564125651256612567125681256912570125711257212573125741257512576125771257812579125801258112582125831258412585125861258712588125891259012591125921259312594125951259612597125981259912600126011260212603126041260512606126071260812609126101261112612126131261412615126161261712618126191262012621126221262312624126251262612627126281262912630126311263212633126341263512636126371263812639126401264112642126431264412645126461264712648126491265012651126521265312654126551265612657126581265912660126611266212663126641266512666126671266812669126701267112672126731267412675126761267712678126791268012681126821268312684126851268612687126881268912690126911269212693126941269512696126971269812699127001270112702127031270412705127061270712708127091271012711127121271312714127151271612717127181271912720127211272212723127241272512726127271272812729127301273112732127331273412735127361273712738127391274012741127421274312744127451274612747127481274912750127511275212753127541275512756127571275812759127601276112762127631276412765127661276712768127691277012771127721277312774127751277612777127781277912780127811278212783127841278512786127871278812789127901279112792127931279412795127961279712798127991280012801128021280312804128051280612807128081280912810128111281212813128141281512816128171281812819128201282112822128231282412825128261282712828128291283012831128321283312834128351283612837128381283912840128411284212843128441284512846128471284812849128501285112852128531285412855128561285712858128591286012861128621286312864128651286612867128681286912870128711287212873128741287512876128771287812879128801288112882128831288412885128861288712888128891289012891128921289312894128951289612897128981289912900129011290212903129041290512906129071290812909129101291112912129131291412915129161291712918129191292012921129221292312924129251292612927129281292912930129311293212933129341293512936129371293812939129401294112942129431294412945129461294712948129491295012951129521295312954129551295612957129581295912960129611296212963129641296512966129671296812969129701297112972129731297412975129761297712978129791298012981129821298312984129851298612987129881298912990129911299212993129941299512996129971299812999130001300113002130031300413005130061300713008130091301013011130121301313014130151301613017130181301913020130211302213023130241302513026130271302813029130301303113032130331303413035130361303713038130391304013041130421304313044130451304613047130481304913050130511305213053130541305513056130571305813059130601306113062130631306413065130661306713068130691307013071130721307313074130751307613077130781307913080130811308213083130841308513086130871308813089130901309113092130931309413095130961309713098130991310013101131021310313104131051310613107131081310913110131111311213113131141311513116131171311813119131201312113122131231312413125131261312713128131291313013131131321313313134131351313613137131381313913140131411314213143131441314513146131471314813149131501315113152131531315413155131561315713158131591316013161131621316313164131651316613167131681316913170131711317213173131741317513176131771317813179131801318113182131831318413185131861318713188131891319013191131921319313194131951319613197131981319913200132011320213203132041320513206132071320813209132101321113212132131321413215132161321713218132191322013221132221322313224132251322613227132281322913230132311323213233132341323513236132371323813239132401324113242132431324413245132461324713248132491325013251132521325313254132551325613257132581325913260132611326213263132641326513266132671326813269132701327113272132731327413275132761327713278132791328013281132821328313284132851328613287132881328913290132911329213293132941329513296132971329813299133001330113302133031330413305133061330713308133091331013311133121331313314133151331613317133181331913320133211332213323133241332513326133271332813329133301333113332133331333413335133361333713338133391334013341133421334313344133451334613347133481334913350133511335213353133541335513356133571335813359133601336113362133631336413365133661336713368133691337013371133721337313374133751337613377133781337913380133811338213383133841338513386133871338813389133901339113392133931339413395133961339713398133991340013401134021340313404134051340613407134081340913410134111341213413134141341513416134171341813419134201342113422134231342413425134261342713428134291343013431134321343313434134351343613437134381343913440134411344213443134441344513446134471344813449134501345113452134531345413455134561345713458134591346013461134621346313464134651346613467134681346913470134711347213473134741347513476134771347813479134801348113482134831348413485134861348713488134891349013491134921349313494134951349613497134981349913500135011350213503135041350513506135071350813509135101351113512135131351413515135161351713518135191352013521135221352313524135251352613527135281352913530135311353213533135341353513536135371353813539135401354113542135431354413545135461354713548135491355013551135521355313554135551355613557135581355913560135611356213563135641356513566135671356813569135701357113572135731357413575135761357713578135791358013581135821358313584135851358613587135881358913590135911359213593135941359513596135971359813599136001360113602136031360413605136061360713608136091361013611136121361313614136151361613617136181361913620136211362213623136241362513626136271362813629136301363113632136331363413635136361363713638136391364013641136421364313644136451364613647136481364913650136511365213653136541365513656136571365813659136601366113662136631366413665136661366713668136691367013671136721367313674136751367613677136781367913680136811368213683136841368513686136871368813689136901369113692136931369413695136961369713698136991370013701137021370313704137051370613707137081370913710137111371213713137141371513716137171371813719137201372113722137231372413725137261372713728137291373013731137321373313734137351373613737137381373913740137411374213743137441374513746137471374813749137501375113752137531375413755137561375713758137591376013761137621376313764137651376613767137681376913770137711377213773137741377513776137771377813779137801378113782137831378413785137861378713788137891379013791137921379313794137951379613797137981379913800138011380213803138041380513806138071380813809138101381113812138131381413815138161381713818138191382013821138221382313824138251382613827138281382913830138311383213833138341383513836138371383813839138401384113842138431384413845138461384713848138491385013851138521385313854138551385613857138581385913860138611386213863138641386513866138671386813869138701387113872138731387413875138761387713878138791388013881138821388313884138851388613887138881388913890138911389213893138941389513896138971389813899139001390113902139031390413905139061390713908139091391013911139121391313914139151391613917139181391913920139211392213923139241392513926139271392813929139301393113932139331393413935139361393713938139391394013941139421394313944139451394613947139481394913950139511395213953139541395513956139571395813959139601396113962139631396413965139661396713968139691397013971139721397313974139751397613977139781397913980139811398213983139841398513986139871398813989139901399113992139931399413995139961399713998139991400014001140021400314004140051400614007140081400914010140111401214013140141401514016140171401814019140201402114022140231402414025140261402714028140291403014031140321403314034140351403614037140381403914040140411404214043140441404514046140471404814049140501405114052140531405414055140561405714058140591406014061140621406314064140651406614067140681406914070140711407214073140741407514076140771407814079140801408114082140831408414085140861408714088140891409014091140921409314094140951409614097140981409914100141011410214103141041410514106141071410814109141101411114112141131411414115141161411714118141191412014121141221412314124141251412614127141281412914130141311413214133141341413514136141371413814139141401414114142141431414414145141461414714148141491415014151141521415314154141551415614157141581415914160141611416214163141641416514166141671416814169141701417114172141731417414175141761417714178141791418014181141821418314184141851418614187141881418914190141911419214193141941419514196141971419814199142001420114202142031420414205142061420714208142091421014211142121421314214142151421614217142181421914220142211422214223142241422514226142271422814229142301423114232142331423414235142361423714238142391424014241142421424314244142451424614247142481424914250142511425214253142541425514256142571425814259142601426114262142631426414265142661426714268142691427014271142721427314274142751427614277142781427914280142811428214283142841428514286142871428814289142901429114292142931429414295142961429714298142991430014301143021430314304143051430614307143081430914310143111431214313143141431514316143171431814319143201432114322143231432414325143261432714328143291433014331143321433314334143351433614337143381433914340143411434214343143441434514346143471434814349143501435114352143531435414355143561435714358143591436014361143621436314364143651436614367143681436914370143711437214373143741437514376143771437814379143801438114382143831438414385143861438714388143891439014391143921439314394143951439614397143981439914400144011440214403144041440514406144071440814409144101441114412144131441414415144161441714418144191442014421144221442314424144251442614427144281442914430144311443214433144341443514436144371443814439144401444114442144431444414445144461444714448144491445014451144521445314454144551445614457144581445914460144611446214463144641446514466144671446814469144701447114472144731447414475144761447714478144791448014481144821448314484144851448614487144881448914490144911449214493144941449514496144971449814499145001450114502145031450414505145061450714508145091451014511145121451314514145151451614517145181451914520145211452214523145241452514526145271452814529145301453114532145331453414535145361453714538145391454014541145421454314544145451454614547145481454914550145511455214553145541455514556145571455814559145601456114562145631456414565145661456714568145691457014571145721457314574145751457614577145781457914580145811458214583145841458514586145871458814589145901459114592145931459414595145961459714598145991460014601146021460314604146051460614607146081460914610146111461214613146141461514616146171461814619146201462114622146231462414625146261462714628146291463014631146321463314634146351463614637146381463914640146411464214643146441464514646146471464814649146501465114652146531465414655146561465714658146591466014661146621466314664146651466614667146681466914670146711467214673146741467514676146771467814679146801468114682146831468414685146861468714688146891469014691146921469314694146951469614697146981469914700147011470214703147041470514706147071470814709147101471114712147131471414715147161471714718147191472014721147221472314724147251472614727147281472914730147311473214733147341473514736147371473814739147401474114742147431474414745147461474714748147491475014751147521475314754147551475614757147581475914760147611476214763147641476514766147671476814769147701477114772147731477414775147761477714778147791478014781147821478314784147851478614787147881478914790147911479214793147941479514796147971479814799148001480114802148031480414805148061480714808148091481014811148121481314814148151481614817148181481914820148211482214823148241482514826148271482814829148301483114832148331483414835148361483714838148391484014841148421484314844148451484614847148481484914850148511485214853148541485514856148571485814859148601486114862148631486414865148661486714868148691487014871148721487314874148751487614877148781487914880148811488214883148841488514886148871488814889148901489114892148931489414895148961489714898148991490014901149021490314904149051490614907149081490914910149111491214913149141491514916149171491814919149201492114922149231492414925149261492714928149291493014931149321493314934149351493614937149381493914940149411494214943149441494514946149471494814949149501495114952149531495414955149561495714958149591496014961149621496314964149651496614967149681496914970149711497214973149741497514976149771497814979149801498114982149831498414985149861498714988149891499014991149921499314994149951499614997149981499915000150011500215003150041500515006150071500815009150101501115012150131501415015150161501715018150191502015021150221502315024150251502615027150281502915030150311503215033150341503515036150371503815039150401504115042150431504415045150461504715048150491505015051150521505315054150551505615057150581505915060150611506215063150641506515066150671506815069150701507115072150731507415075150761507715078150791508015081150821508315084150851508615087150881508915090150911509215093150941509515096150971509815099151001510115102151031510415105151061510715108151091511015111151121511315114151151511615117151181511915120151211512215123151241512515126151271512815129151301513115132151331513415135151361513715138151391514015141151421514315144151451514615147151481514915150151511515215153151541515515156151571515815159151601516115162151631516415165151661516715168151691517015171151721517315174151751517615177151781517915180151811518215183151841518515186151871518815189151901519115192151931519415195151961519715198151991520015201152021520315204152051520615207152081520915210152111521215213152141521515216152171521815219152201522115222152231522415225152261522715228152291523015231152321523315234152351523615237152381523915240152411524215243152441524515246152471524815249152501525115252152531525415255152561525715258152591526015261152621526315264152651526615267152681526915270152711527215273152741527515276152771527815279152801528115282152831528415285152861528715288152891529015291152921529315294152951529615297152981529915300153011530215303153041530515306153071530815309153101531115312153131531415315153161531715318153191532015321153221532315324153251532615327153281532915330153311533215333153341533515336153371533815339153401534115342153431534415345153461534715348153491535015351153521535315354153551535615357153581535915360153611536215363153641536515366153671536815369153701537115372153731537415375153761537715378153791538015381153821538315384153851538615387153881538915390153911539215393153941539515396153971539815399154001540115402154031540415405154061540715408154091541015411154121541315414154151541615417154181541915420154211542215423154241542515426154271542815429154301543115432154331543415435154361543715438154391544015441154421544315444154451544615447154481544915450154511545215453154541545515456154571545815459154601546115462154631546415465154661546715468154691547015471154721547315474154751547615477154781547915480154811548215483154841548515486154871548815489154901549115492154931549415495154961549715498154991550015501155021550315504155051550615507155081550915510155111551215513155141551515516155171551815519155201552115522155231552415525155261552715528155291553015531155321553315534155351553615537155381553915540155411554215543155441554515546155471554815549155501555115552155531555415555155561555715558155591556015561155621556315564155651556615567155681556915570155711557215573155741557515576155771557815579155801558115582155831558415585155861558715588155891559015591155921559315594155951559615597155981559915600156011560215603156041560515606156071560815609156101561115612156131561415615156161561715618156191562015621156221562315624156251562615627156281562915630156311563215633156341563515636156371563815639156401564115642156431564415645156461564715648156491565015651156521565315654156551565615657156581565915660156611566215663156641566515666156671566815669156701567115672156731567415675156761567715678156791568015681156821568315684156851568615687156881568915690156911569215693156941569515696156971569815699157001570115702157031570415705157061570715708157091571015711157121571315714157151571615717157181571915720157211572215723157241572515726157271572815729157301573115732157331573415735157361573715738157391574015741157421574315744157451574615747157481574915750157511575215753157541575515756157571575815759157601576115762157631576415765157661576715768157691577015771157721577315774157751577615777157781577915780157811578215783157841578515786157871578815789157901579115792157931579415795157961579715798157991580015801158021580315804158051580615807158081580915810158111581215813158141581515816158171581815819158201582115822158231582415825158261582715828158291583015831158321583315834158351583615837158381583915840158411584215843158441584515846158471584815849158501585115852158531585415855158561585715858158591586015861158621586315864158651586615867158681586915870158711587215873158741587515876158771587815879158801588115882158831588415885158861588715888158891589015891158921589315894158951589615897158981589915900159011590215903159041590515906159071590815909159101591115912159131591415915159161591715918159191592015921159221592315924159251592615927159281592915930159311593215933159341593515936159371593815939159401594115942159431594415945159461594715948159491595015951159521595315954159551595615957159581595915960159611596215963159641596515966159671596815969159701597115972159731597415975159761597715978159791598015981159821598315984159851598615987159881598915990159911599215993159941599515996159971599815999160001600116002160031600416005160061600716008160091601016011160121601316014160151601616017160181601916020160211602216023160241602516026160271602816029160301603116032160331603416035160361603716038160391604016041160421604316044160451604616047160481604916050160511605216053160541605516056160571605816059160601606116062160631606416065160661606716068160691607016071160721607316074160751607616077160781607916080160811608216083160841608516086160871608816089160901609116092160931609416095160961609716098160991610016101161021610316104161051610616107161081610916110161111611216113161141611516116161171611816119161201612116122161231612416125161261612716128161291613016131161321613316134161351613616137161381613916140161411614216143161441614516146161471614816149161501615116152161531615416155161561615716158161591616016161161621616316164161651616616167161681616916170161711617216173161741617516176161771617816179161801618116182161831618416185161861618716188161891619016191161921619316194161951619616197161981619916200162011620216203162041620516206162071620816209162101621116212162131621416215162161621716218162191622016221162221622316224162251622616227162281622916230162311623216233162341623516236162371623816239162401624116242162431624416245162461624716248162491625016251162521625316254162551625616257162581625916260162611626216263162641626516266162671626816269162701627116272162731627416275162761627716278162791628016281162821628316284162851628616287162881628916290162911629216293162941629516296162971629816299163001630116302163031630416305163061630716308163091631016311163121631316314163151631616317163181631916320163211632216323163241632516326163271632816329163301633116332163331633416335163361633716338163391634016341163421634316344163451634616347163481634916350163511635216353163541635516356163571635816359163601636116362163631636416365163661636716368163691637016371163721637316374163751637616377163781637916380163811638216383163841638516386163871638816389163901639116392163931639416395163961639716398163991640016401164021640316404164051640616407164081640916410164111641216413164141641516416164171641816419164201642116422164231642416425164261642716428164291643016431164321643316434164351643616437164381643916440164411644216443164441644516446164471644816449164501645116452164531645416455164561645716458164591646016461164621646316464164651646616467164681646916470164711647216473164741647516476164771647816479164801648116482164831648416485164861648716488164891649016491164921649316494164951649616497164981649916500165011650216503165041650516506165071650816509165101651116512165131651416515165161651716518165191652016521165221652316524165251652616527165281652916530165311653216533165341653516536165371653816539165401654116542165431654416545165461654716548165491655016551165521655316554165551655616557165581655916560165611656216563165641656516566165671656816569165701657116572165731657416575165761657716578165791658016581165821658316584165851658616587165881658916590165911659216593165941659516596165971659816599166001660116602166031660416605166061660716608166091661016611166121661316614166151661616617166181661916620166211662216623166241662516626166271662816629166301663116632166331663416635166361663716638166391664016641166421664316644166451664616647166481664916650166511665216653166541665516656166571665816659166601666116662166631666416665166661666716668166691667016671166721667316674166751667616677166781667916680166811668216683166841668516686166871668816689166901669116692166931669416695166961669716698166991670016701167021670316704167051670616707167081670916710167111671216713167141671516716167171671816719167201672116722167231672416725167261672716728167291673016731167321673316734167351673616737167381673916740167411674216743167441674516746167471674816749167501675116752167531675416755167561675716758167591676016761167621676316764167651676616767167681676916770167711677216773167741677516776167771677816779167801678116782167831678416785167861678716788167891679016791167921679316794167951679616797167981679916800168011680216803168041680516806168071680816809168101681116812168131681416815168161681716818168191682016821168221682316824168251682616827168281682916830168311683216833168341683516836168371683816839168401684116842168431684416845168461684716848168491685016851168521685316854168551685616857168581685916860168611686216863168641686516866168671686816869168701687116872168731687416875168761687716878168791688016881168821688316884168851688616887168881688916890168911689216893168941689516896168971689816899169001690116902169031690416905169061690716908169091691016911169121691316914169151691616917169181691916920169211692216923169241692516926169271692816929169301693116932169331693416935169361693716938169391694016941169421694316944169451694616947169481694916950169511695216953169541695516956169571695816959169601696116962169631696416965169661696716968169691697016971169721697316974169751697616977169781697916980169811698216983169841698516986169871698816989169901699116992169931699416995169961699716998169991700017001170021700317004170051700617007170081700917010170111701217013170141701517016170171701817019170201702117022170231702417025170261702717028170291703017031170321703317034170351703617037170381703917040170411704217043170441704517046170471704817049170501705117052170531705417055170561705717058170591706017061170621706317064170651706617067170681706917070170711707217073170741707517076170771707817079170801708117082170831708417085170861708717088170891709017091170921709317094170951709617097170981709917100171011710217103171041710517106171071710817109171101711117112171131711417115171161711717118171191712017121171221712317124171251712617127171281712917130171311713217133171341713517136171371713817139171401714117142171431714417145171461714717148171491715017151171521715317154171551715617157171581715917160171611716217163171641716517166171671716817169171701717117172171731717417175171761717717178171791718017181171821718317184171851718617187171881718917190171911719217193171941719517196171971719817199172001720117202172031720417205172061720717208172091721017211172121721317214172151721617217172181721917220172211722217223172241722517226172271722817229172301723117232172331723417235172361723717238172391724017241172421724317244172451724617247172481724917250172511725217253172541725517256172571725817259172601726117262172631726417265172661726717268172691727017271172721727317274172751727617277172781727917280172811728217283172841728517286172871728817289172901729117292172931729417295172961729717298172991730017301173021730317304173051730617307173081730917310173111731217313173141731517316173171731817319173201732117322173231732417325173261732717328173291733017331173321733317334173351733617337173381733917340173411734217343173441734517346173471734817349173501735117352173531735417355173561735717358173591736017361173621736317364173651736617367173681736917370173711737217373173741737517376173771737817379173801738117382173831738417385173861738717388173891739017391173921739317394173951739617397173981739917400174011740217403174041740517406174071740817409174101741117412174131741417415174161741717418174191742017421174221742317424174251742617427174281742917430174311743217433174341743517436174371743817439174401744117442174431744417445174461744717448174491745017451174521745317454174551745617457174581745917460174611746217463174641746517466174671746817469174701747117472174731747417475174761747717478174791748017481174821748317484174851748617487174881748917490174911749217493174941749517496174971749817499175001750117502175031750417505175061750717508175091751017511175121751317514175151751617517175181751917520175211752217523175241752517526175271752817529175301753117532175331753417535175361753717538175391754017541175421754317544175451754617547175481754917550175511755217553175541755517556175571755817559175601756117562175631756417565175661756717568175691757017571175721757317574175751757617577175781757917580175811758217583175841758517586175871758817589175901759117592175931759417595175961759717598175991760017601176021760317604176051760617607176081760917610176111761217613176141761517616176171761817619176201762117622176231762417625176261762717628176291763017631176321763317634176351763617637176381763917640176411764217643176441764517646176471764817649176501765117652176531765417655176561765717658176591766017661176621766317664176651766617667176681766917670176711767217673176741767517676176771767817679176801768117682176831768417685176861768717688176891769017691176921769317694176951769617697176981769917700177011770217703177041770517706177071770817709177101771117712177131771417715177161771717718177191772017721177221772317724177251772617727177281772917730177311773217733177341773517736177371773817739177401774117742177431774417745177461774717748177491775017751177521775317754177551775617757177581775917760177611776217763177641776517766177671776817769177701777117772177731777417775
  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. "description": "本接口只使用于通道交易相关头寸查询;子账户持仓头寸占用保证金为0;",
  1664. "produces": [
  1665. "application/json"
  1666. ],
  1667. "tags": [
  1668. "企业风险管理(app)"
  1669. ],
  1670. "summary": "获取企业风管期货持仓头寸信息",
  1671. "parameters": [
  1672. {
  1673. "type": "integer",
  1674. "description": "资金账户ID",
  1675. "name": "accountID",
  1676. "in": "query",
  1677. "required": true
  1678. },
  1679. {
  1680. "type": "integer",
  1681. "description": "所属市场ID",
  1682. "name": "marketID",
  1683. "in": "query"
  1684. }
  1685. ],
  1686. "responses": {
  1687. "200": {
  1688. "description": "OK",
  1689. "schema": {
  1690. "$ref": "#/definitions/ermcp.QueryErmcpTradePositionRsp"
  1691. }
  1692. },
  1693. "500": {
  1694. "description": "Internal Server Error",
  1695. "schema": {
  1696. "$ref": "#/definitions/app.Response"
  1697. }
  1698. }
  1699. }
  1700. }
  1701. },
  1702. "/Ermcp/QueryExposureDetail": {
  1703. "get": {
  1704. "security": [
  1705. {
  1706. "ApiKeyAuth": []
  1707. }
  1708. ],
  1709. "produces": [
  1710. "application/json"
  1711. ],
  1712. "tags": [
  1713. "企业风险管理(app)"
  1714. ],
  1715. "summary": "查询敞口现货明细",
  1716. "parameters": [
  1717. {
  1718. "type": "integer",
  1719. "description": "所属机构ID",
  1720. "name": "areaUserId",
  1721. "in": "query",
  1722. "required": true
  1723. },
  1724. {
  1725. "type": "integer",
  1726. "description": "套保商品",
  1727. "name": "middleGoodsId",
  1728. "in": "query",
  1729. "required": true
  1730. }
  1731. ],
  1732. "responses": {
  1733. "200": {
  1734. "description": "OK",
  1735. "schema": {
  1736. "type": "array",
  1737. "items": {
  1738. "$ref": "#/definitions/ermcp.ExposureDetailRsp"
  1739. }
  1740. }
  1741. },
  1742. "500": {
  1743. "description": "Internal Server Error",
  1744. "schema": {
  1745. "$ref": "#/definitions/app.Response"
  1746. }
  1747. }
  1748. }
  1749. }
  1750. },
  1751. "/Ermcp/QueryExposureHedgePosition": {
  1752. "get": {
  1753. "security": [
  1754. {
  1755. "ApiKeyAuth": []
  1756. }
  1757. ],
  1758. "produces": [
  1759. "application/json"
  1760. ],
  1761. "tags": [
  1762. "企业风险管理(app)"
  1763. ],
  1764. "summary": "查询敞口期货头寸(菜单:敞口/期货头寸)",
  1765. "parameters": [
  1766. {
  1767. "type": "integer",
  1768. "description": "所属机构ID",
  1769. "name": "areaUserId",
  1770. "in": "query",
  1771. "required": true
  1772. }
  1773. ],
  1774. "responses": {
  1775. "200": {
  1776. "description": "OK",
  1777. "schema": {
  1778. "type": "array",
  1779. "items": {
  1780. "$ref": "#/definitions/ermcp.ExposureHedgePositionRsp"
  1781. }
  1782. }
  1783. },
  1784. "500": {
  1785. "description": "Internal Server Error",
  1786. "schema": {
  1787. "$ref": "#/definitions/app.Response"
  1788. }
  1789. }
  1790. }
  1791. }
  1792. },
  1793. "/Ermcp/QueryExposureHedgePositionDetail": {
  1794. "get": {
  1795. "security": [
  1796. {
  1797. "ApiKeyAuth": []
  1798. }
  1799. ],
  1800. "produces": [
  1801. "application/json"
  1802. ],
  1803. "tags": [
  1804. "企业风险管理(app)"
  1805. ],
  1806. "summary": "查询敞口期货头寸期货明细(菜单:敞口/期货头寸/期货明细)",
  1807. "parameters": [
  1808. {
  1809. "type": "integer",
  1810. "description": "所属机构ID",
  1811. "name": "areaUserId",
  1812. "in": "query",
  1813. "required": true
  1814. },
  1815. {
  1816. "type": "integer",
  1817. "description": "商品id",
  1818. "name": "goodsId",
  1819. "in": "query",
  1820. "required": true
  1821. }
  1822. ],
  1823. "responses": {
  1824. "200": {
  1825. "description": "OK",
  1826. "schema": {
  1827. "type": "array",
  1828. "items": {
  1829. "$ref": "#/definitions/ermcp.ExposureHedgePosDetailRsp"
  1830. }
  1831. }
  1832. },
  1833. "500": {
  1834. "description": "Internal Server Error",
  1835. "schema": {
  1836. "$ref": "#/definitions/app.Response"
  1837. }
  1838. }
  1839. }
  1840. }
  1841. },
  1842. "/Ermcp/QueryExposureSpot": {
  1843. "get": {
  1844. "security": [
  1845. {
  1846. "ApiKeyAuth": []
  1847. }
  1848. ],
  1849. "produces": [
  1850. "application/json"
  1851. ],
  1852. "tags": [
  1853. "企业风险管理(app)"
  1854. ],
  1855. "summary": "查询敞口现货头寸(敞口/现货头寸)",
  1856. "parameters": [
  1857. {
  1858. "type": "integer",
  1859. "description": "所属机构ID",
  1860. "name": "areaUserId",
  1861. "in": "query",
  1862. "required": true
  1863. }
  1864. ],
  1865. "responses": {
  1866. "200": {
  1867. "description": "OK",
  1868. "schema": {
  1869. "type": "array",
  1870. "items": {
  1871. "$ref": "#/definitions/ermcp.ExposureSpotRsp"
  1872. }
  1873. }
  1874. },
  1875. "500": {
  1876. "description": "Internal Server Error",
  1877. "schema": {
  1878. "$ref": "#/definitions/app.Response"
  1879. }
  1880. }
  1881. }
  1882. }
  1883. },
  1884. "/Ermcp/QueryExposureSpotDetail": {
  1885. "get": {
  1886. "security": [
  1887. {
  1888. "ApiKeyAuth": []
  1889. }
  1890. ],
  1891. "produces": [
  1892. "application/json"
  1893. ],
  1894. "tags": [
  1895. "企业风险管理(app)"
  1896. ],
  1897. "summary": "查询敞口现货头寸明细(敞口/现货头寸/现货明细)",
  1898. "parameters": [
  1899. {
  1900. "type": "integer",
  1901. "description": "所属机构ID",
  1902. "name": "areaUserId",
  1903. "in": "query",
  1904. "required": true
  1905. },
  1906. {
  1907. "type": "integer",
  1908. "description": "现货品种ID",
  1909. "name": "wrstandardId",
  1910. "in": "query",
  1911. "required": true
  1912. }
  1913. ],
  1914. "responses": {
  1915. "200": {
  1916. "description": "OK",
  1917. "schema": {
  1918. "type": "array",
  1919. "items": {
  1920. "$ref": "#/definitions/ermcp.ExposureSpotDetailRsp"
  1921. }
  1922. }
  1923. },
  1924. "500": {
  1925. "description": "Internal Server Error",
  1926. "schema": {
  1927. "$ref": "#/definitions/app.Response"
  1928. }
  1929. }
  1930. }
  1931. }
  1932. },
  1933. "/Ermcp/QueryGGConvertConfig": {
  1934. "get": {
  1935. "security": [
  1936. {
  1937. "ApiKeyAuth": []
  1938. }
  1939. ],
  1940. "produces": [
  1941. "application/json"
  1942. ],
  1943. "tags": [
  1944. "企业风险管理(app)"
  1945. ],
  1946. "summary": "查询期货品种配置(菜单:商品信息/期货品种)",
  1947. "parameters": [
  1948. {
  1949. "type": "integer",
  1950. "description": "品种id(不填则查所有)",
  1951. "name": "goodsgroupid",
  1952. "in": "query"
  1953. }
  1954. ],
  1955. "responses": {
  1956. "200": {
  1957. "description": "OK",
  1958. "schema": {
  1959. "type": "array",
  1960. "items": {
  1961. "$ref": "#/definitions/ermcp.QryGGCovertCfgRsp"
  1962. }
  1963. }
  1964. },
  1965. "500": {
  1966. "description": "Internal Server Error",
  1967. "schema": {
  1968. "$ref": "#/definitions/app.Response"
  1969. }
  1970. }
  1971. }
  1972. }
  1973. },
  1974. "/Ermcp/QueryHedgePlan": {
  1975. "get": {
  1976. "security": [
  1977. {
  1978. "ApiKeyAuth": []
  1979. }
  1980. ],
  1981. "produces": [
  1982. "application/json"
  1983. ],
  1984. "tags": [
  1985. "企业风险管理(app)"
  1986. ],
  1987. "summary": "查询套保计划",
  1988. "parameters": [
  1989. {
  1990. "type": "integer",
  1991. "description": "用户ID",
  1992. "name": "userId",
  1993. "in": "query",
  1994. "required": true
  1995. },
  1996. {
  1997. "type": "string",
  1998. "description": "套保计划状态(允许多个,逗号隔开) - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  1999. "name": "HedgePlanStatus",
  2000. "in": "query",
  2001. "required": true
  2002. }
  2003. ],
  2004. "responses": {
  2005. "200": {
  2006. "description": "OK",
  2007. "schema": {
  2008. "type": "array",
  2009. "items": {
  2010. "$ref": "#/definitions/ermcp.QryHedgePlanRsp"
  2011. }
  2012. }
  2013. },
  2014. "500": {
  2015. "description": "Internal Server Error",
  2016. "schema": {
  2017. "$ref": "#/definitions/app.Response"
  2018. }
  2019. }
  2020. }
  2021. }
  2022. },
  2023. "/Ermcp/QueryHisExposure": {
  2024. "get": {
  2025. "security": [
  2026. {
  2027. "ApiKeyAuth": []
  2028. }
  2029. ],
  2030. "produces": [
  2031. "application/json"
  2032. ],
  2033. "tags": [
  2034. "企业风险管理(app)"
  2035. ],
  2036. "summary": "查询历史敞口(菜单:敞口/历史敞口)",
  2037. "parameters": [
  2038. {
  2039. "type": "integer",
  2040. "description": "所属机构ID",
  2041. "name": "areaUserId",
  2042. "in": "query",
  2043. "required": true
  2044. },
  2045. {
  2046. "type": "integer",
  2047. "description": "每个品种记录数",
  2048. "name": "lastNum",
  2049. "in": "query",
  2050. "required": true
  2051. }
  2052. ],
  2053. "responses": {
  2054. "200": {
  2055. "description": "OK",
  2056. "schema": {
  2057. "type": "array",
  2058. "items": {
  2059. "$ref": "#/definitions/ermcp.HisExposureRsp"
  2060. }
  2061. }
  2062. },
  2063. "500": {
  2064. "description": "Internal Server Error",
  2065. "schema": {
  2066. "$ref": "#/definitions/app.Response"
  2067. }
  2068. }
  2069. }
  2070. }
  2071. },
  2072. "/Ermcp/QueryMiddleGoods": {
  2073. "get": {
  2074. "security": [
  2075. {
  2076. "ApiKeyAuth": []
  2077. }
  2078. ],
  2079. "produces": [
  2080. "application/json"
  2081. ],
  2082. "tags": [
  2083. "企业风险管理(app)"
  2084. ],
  2085. "summary": "查询套保品种(菜单:套保品种)",
  2086. "parameters": [
  2087. {
  2088. "type": "integer",
  2089. "description": "所属机构ID",
  2090. "name": "userid",
  2091. "in": "query",
  2092. "required": true
  2093. },
  2094. {
  2095. "type": "integer",
  2096. "description": "状态 0-停用 1-正常",
  2097. "name": "status",
  2098. "in": "query",
  2099. "required": true
  2100. }
  2101. ],
  2102. "responses": {
  2103. "200": {
  2104. "description": "OK",
  2105. "schema": {
  2106. "type": "array",
  2107. "items": {
  2108. "$ref": "#/definitions/ermcp.QryMiddleGoodsRsp"
  2109. }
  2110. }
  2111. },
  2112. "500": {
  2113. "description": "Internal Server Error",
  2114. "schema": {
  2115. "$ref": "#/definitions/app.Response"
  2116. }
  2117. }
  2118. }
  2119. }
  2120. },
  2121. "/Ermcp/QueryMiddleGoodsChangeLog": {
  2122. "get": {
  2123. "security": [
  2124. {
  2125. "ApiKeyAuth": []
  2126. }
  2127. ],
  2128. "produces": [
  2129. "application/json"
  2130. ],
  2131. "tags": [
  2132. "企业风险管理(app)"
  2133. ],
  2134. "summary": "查询套保品种变更记录(菜单:套保品种/商品详情/变更记录)",
  2135. "parameters": [
  2136. {
  2137. "type": "integer",
  2138. "description": "所属机构ID",
  2139. "name": "userid",
  2140. "in": "query",
  2141. "required": true
  2142. },
  2143. {
  2144. "type": "integer",
  2145. "description": "套保品种id",
  2146. "name": "middlegoodsid",
  2147. "in": "query",
  2148. "required": true
  2149. }
  2150. ],
  2151. "responses": {
  2152. "200": {
  2153. "description": "OK",
  2154. "schema": {
  2155. "type": "array",
  2156. "items": {
  2157. "$ref": "#/definitions/ermcp.QryMGChangeLogRsp"
  2158. }
  2159. }
  2160. },
  2161. "500": {
  2162. "description": "Internal Server Error",
  2163. "schema": {
  2164. "$ref": "#/definitions/app.Response"
  2165. }
  2166. }
  2167. }
  2168. }
  2169. },
  2170. "/Ermcp/QueryMiddleGoodsDetail": {
  2171. "get": {
  2172. "security": [
  2173. {
  2174. "ApiKeyAuth": []
  2175. }
  2176. ],
  2177. "produces": [
  2178. "application/json"
  2179. ],
  2180. "tags": [
  2181. "企业风险管理(app)"
  2182. ],
  2183. "summary": "查询套保品种详情(菜单:套保品种/商品详情)",
  2184. "parameters": [
  2185. {
  2186. "type": "integer",
  2187. "description": "所属机构ID",
  2188. "name": "userid",
  2189. "in": "query",
  2190. "required": true
  2191. },
  2192. {
  2193. "type": "integer",
  2194. "description": "套保品种id",
  2195. "name": "middlegoodsid",
  2196. "in": "query",
  2197. "required": true
  2198. }
  2199. ],
  2200. "responses": {
  2201. "200": {
  2202. "description": "OK",
  2203. "schema": {
  2204. "type": "array",
  2205. "items": {
  2206. "$ref": "#/definitions/ermcp.QryMiddleGoodsDetailRsp"
  2207. }
  2208. }
  2209. },
  2210. "500": {
  2211. "description": "Internal Server Error",
  2212. "schema": {
  2213. "$ref": "#/definitions/app.Response"
  2214. }
  2215. }
  2216. }
  2217. }
  2218. },
  2219. "/Ermcp/QueryPendingAuditInfo": {
  2220. "get": {
  2221. "security": [
  2222. {
  2223. "ApiKeyAuth": []
  2224. }
  2225. ],
  2226. "produces": [
  2227. "application/json"
  2228. ],
  2229. "tags": [
  2230. "企业风险管理(app)"
  2231. ],
  2232. "summary": "查询待审核数量信息(首页/菜单按钮小红点)",
  2233. "parameters": [
  2234. {
  2235. "type": "integer",
  2236. "description": "用户ID",
  2237. "name": "UserId",
  2238. "in": "query",
  2239. "required": true
  2240. }
  2241. ],
  2242. "responses": {
  2243. "200": {
  2244. "description": "OK",
  2245. "schema": {
  2246. "type": "array",
  2247. "items": {
  2248. "$ref": "#/definitions/ermcp.PendingAuditCntRsp"
  2249. }
  2250. }
  2251. },
  2252. "500": {
  2253. "description": "Internal Server Error",
  2254. "schema": {
  2255. "$ref": "#/definitions/app.Response"
  2256. }
  2257. }
  2258. }
  2259. }
  2260. },
  2261. "/Ermcp/QueryRealtimeExposure": {
  2262. "get": {
  2263. "security": [
  2264. {
  2265. "ApiKeyAuth": []
  2266. }
  2267. ],
  2268. "produces": [
  2269. "application/json"
  2270. ],
  2271. "tags": [
  2272. "企业风险管理(app)"
  2273. ],
  2274. "summary": "查询实时敞口",
  2275. "parameters": [
  2276. {
  2277. "type": "integer",
  2278. "description": "所属机构ID",
  2279. "name": "AreaUserID",
  2280. "in": "query",
  2281. "required": true
  2282. }
  2283. ],
  2284. "responses": {
  2285. "200": {
  2286. "description": "OK",
  2287. "schema": {
  2288. "type": "array",
  2289. "items": {
  2290. "$ref": "#/definitions/ermcp.RealtimeExposureRsp"
  2291. }
  2292. }
  2293. },
  2294. "500": {
  2295. "description": "Internal Server Error",
  2296. "schema": {
  2297. "$ref": "#/definitions/app.Response"
  2298. }
  2299. }
  2300. }
  2301. }
  2302. },
  2303. "/Ermcp/QueryRealtimeExposurePosition": {
  2304. "get": {
  2305. "security": [
  2306. {
  2307. "ApiKeyAuth": []
  2308. }
  2309. ],
  2310. "produces": [
  2311. "application/json"
  2312. ],
  2313. "tags": [
  2314. "企业风险管理(app)"
  2315. ],
  2316. "summary": "查询实时敞口期货头寸明细(菜单:实时敞口/期货明细)",
  2317. "parameters": [
  2318. {
  2319. "type": "integer",
  2320. "description": "所属机构ID",
  2321. "name": "areaUserId",
  2322. "in": "query",
  2323. "required": true
  2324. },
  2325. {
  2326. "type": "integer",
  2327. "description": "套保商品ID",
  2328. "name": "middleGoodsId",
  2329. "in": "query",
  2330. "required": true
  2331. }
  2332. ],
  2333. "responses": {
  2334. "200": {
  2335. "description": "OK",
  2336. "schema": {
  2337. "type": "array",
  2338. "items": {
  2339. "$ref": "#/definitions/ermcp.RealtimeExposurePositionRsp"
  2340. }
  2341. }
  2342. },
  2343. "500": {
  2344. "description": "Internal Server Error",
  2345. "schema": {
  2346. "$ref": "#/definitions/app.Response"
  2347. }
  2348. }
  2349. }
  2350. }
  2351. },
  2352. "/Ermcp/QuerySpotContract": {
  2353. "get": {
  2354. "security": [
  2355. {
  2356. "ApiKeyAuth": []
  2357. }
  2358. ],
  2359. "produces": [
  2360. "application/json"
  2361. ],
  2362. "tags": [
  2363. "企业风险管理(app)"
  2364. ],
  2365. "summary": "查询现货合同(对应现货合同菜单)",
  2366. "parameters": [
  2367. {
  2368. "type": "integer",
  2369. "description": "用户ID",
  2370. "name": "userId",
  2371. "in": "query",
  2372. "required": true
  2373. },
  2374. {
  2375. "type": "integer",
  2376. "description": "查询类型 1-未提交 2-待审核 3-履约中 4-已完成",
  2377. "name": "QueryType",
  2378. "in": "query",
  2379. "required": true
  2380. }
  2381. ],
  2382. "responses": {
  2383. "200": {
  2384. "description": "OK",
  2385. "schema": {
  2386. "type": "array",
  2387. "items": {
  2388. "$ref": "#/definitions/ermcp.QrySpotContractRsp"
  2389. }
  2390. }
  2391. },
  2392. "500": {
  2393. "description": "Internal Server Error",
  2394. "schema": {
  2395. "$ref": "#/definitions/app.Response"
  2396. }
  2397. }
  2398. }
  2399. }
  2400. },
  2401. "/Ermcp/QueryUserInfo": {
  2402. "get": {
  2403. "security": [
  2404. {
  2405. "ApiKeyAuth": []
  2406. }
  2407. ],
  2408. "produces": [
  2409. "application/json"
  2410. ],
  2411. "tags": [
  2412. "企业风险管理(app)"
  2413. ],
  2414. "summary": "查询客户资料",
  2415. "parameters": [
  2416. {
  2417. "type": "integer",
  2418. "description": "所属机构用户ID",
  2419. "name": "MemberUserID",
  2420. "in": "query",
  2421. "required": true
  2422. },
  2423. {
  2424. "type": "integer",
  2425. "description": "查询类型(1:未提交 2:待审核 3:正常 4:停用)",
  2426. "name": "queryType",
  2427. "in": "query",
  2428. "required": true
  2429. }
  2430. ],
  2431. "responses": {
  2432. "200": {
  2433. "description": "OK",
  2434. "schema": {
  2435. "type": "array",
  2436. "items": {
  2437. "$ref": "#/definitions/ermcp.QryUserInfoRsp"
  2438. }
  2439. }
  2440. },
  2441. "500": {
  2442. "description": "Internal Server Error",
  2443. "schema": {
  2444. "$ref": "#/definitions/app.Response"
  2445. }
  2446. }
  2447. }
  2448. }
  2449. },
  2450. "/Ermcp/QueryWrStandard": {
  2451. "get": {
  2452. "security": [
  2453. {
  2454. "ApiKeyAuth": []
  2455. }
  2456. ],
  2457. "produces": [
  2458. "application/json"
  2459. ],
  2460. "tags": [
  2461. "企业风险管理(app)"
  2462. ],
  2463. "summary": "查询现货商品",
  2464. "parameters": [
  2465. {
  2466. "type": "integer",
  2467. "description": "所属机构ID",
  2468. "name": "userid",
  2469. "in": "query",
  2470. "required": true
  2471. },
  2472. {
  2473. "type": "integer",
  2474. "description": "状态 0-停用 1-正常",
  2475. "name": "status",
  2476. "in": "query",
  2477. "required": true
  2478. }
  2479. ],
  2480. "responses": {
  2481. "200": {
  2482. "description": "OK",
  2483. "schema": {
  2484. "type": "array",
  2485. "items": {
  2486. "$ref": "#/definitions/ermcp.QryWrStandardRsp"
  2487. }
  2488. }
  2489. },
  2490. "500": {
  2491. "description": "Internal Server Error",
  2492. "schema": {
  2493. "$ref": "#/definitions/app.Response"
  2494. }
  2495. }
  2496. }
  2497. }
  2498. },
  2499. "/Ermcp/QueryWrStandardDetail": {
  2500. "get": {
  2501. "security": [
  2502. {
  2503. "ApiKeyAuth": []
  2504. }
  2505. ],
  2506. "produces": [
  2507. "application/json"
  2508. ],
  2509. "tags": [
  2510. "企业风险管理(app)"
  2511. ],
  2512. "summary": "查询现货商品详情(菜单:现货品种/现货品种详情)",
  2513. "parameters": [
  2514. {
  2515. "type": "integer",
  2516. "description": "所属机构ID",
  2517. "name": "userid",
  2518. "in": "query",
  2519. "required": true
  2520. },
  2521. {
  2522. "type": "integer",
  2523. "description": "现货商品ID",
  2524. "name": "wrstandardid",
  2525. "in": "query",
  2526. "required": true
  2527. }
  2528. ],
  2529. "responses": {
  2530. "200": {
  2531. "description": "OK",
  2532. "schema": {
  2533. "type": "array",
  2534. "items": {
  2535. "$ref": "#/definitions/ermcp.QryWrStandardDetailRsp"
  2536. }
  2537. }
  2538. },
  2539. "500": {
  2540. "description": "Internal Server Error",
  2541. "schema": {
  2542. "$ref": "#/definitions/app.Response"
  2543. }
  2544. }
  2545. }
  2546. }
  2547. },
  2548. "/Erms2/QueryArbitrageStrategy": {
  2549. "get": {
  2550. "security": [
  2551. {
  2552. "ApiKeyAuth": []
  2553. }
  2554. ],
  2555. "produces": [
  2556. "application/json"
  2557. ],
  2558. "tags": [
  2559. "风险管理"
  2560. ],
  2561. "summary": "查询期现套利策略表信息(指定资金账户、未结束的)",
  2562. "parameters": [
  2563. {
  2564. "type": "integer",
  2565. "description": "账户ID",
  2566. "name": "userid",
  2567. "in": "query",
  2568. "required": true
  2569. },
  2570. {
  2571. "type": "string",
  2572. "description": "商品组ID(品种ID)",
  2573. "name": "goodsgroupid",
  2574. "in": "query"
  2575. }
  2576. ],
  2577. "responses": {
  2578. "200": {
  2579. "description": "OK",
  2580. "schema": {
  2581. "$ref": "#/definitions/erms2.QueryArbitrageStrategyRsp"
  2582. }
  2583. },
  2584. "500": {
  2585. "description": "Internal Server Error",
  2586. "schema": {
  2587. "$ref": "#/definitions/app.Response"
  2588. }
  2589. }
  2590. }
  2591. }
  2592. },
  2593. "/Erms2/QueryInnerTradeDetail": {
  2594. "get": {
  2595. "security": [
  2596. {
  2597. "ApiKeyAuth": []
  2598. }
  2599. ],
  2600. "produces": [
  2601. "application/json"
  2602. ],
  2603. "tags": [
  2604. "风险管理"
  2605. ],
  2606. "summary": "查询内部成交单信息",
  2607. "parameters": [
  2608. {
  2609. "type": "integer",
  2610. "description": "资金账户",
  2611. "name": "accountid",
  2612. "in": "query",
  2613. "required": true
  2614. }
  2615. ],
  2616. "responses": {
  2617. "200": {
  2618. "description": "OK",
  2619. "schema": {
  2620. "$ref": "#/definitions/erms2.QueryInnerTradeDetailRsp"
  2621. }
  2622. },
  2623. "500": {
  2624. "description": "Internal Server Error",
  2625. "schema": {
  2626. "$ref": "#/definitions/app.Response"
  2627. }
  2628. }
  2629. }
  2630. }
  2631. },
  2632. "/Erms2/QuerySpotContract": {
  2633. "get": {
  2634. "security": [
  2635. {
  2636. "ApiKeyAuth": []
  2637. }
  2638. ],
  2639. "produces": [
  2640. "application/json"
  2641. ],
  2642. "tags": [
  2643. "风险管理"
  2644. ],
  2645. "summary": "查询现货合同表信息(指定策略ID、未结束的)",
  2646. "parameters": [
  2647. {
  2648. "type": "integer",
  2649. "description": "策略申请ID",
  2650. "name": "asapplyid",
  2651. "in": "query",
  2652. "required": true
  2653. },
  2654. {
  2655. "type": "integer",
  2656. "description": "现货合同ID",
  2657. "name": "spotcontractid",
  2658. "in": "query"
  2659. }
  2660. ],
  2661. "responses": {
  2662. "200": {
  2663. "description": "OK",
  2664. "schema": {
  2665. "$ref": "#/definitions/erms2.QuerySpotContractRsp"
  2666. }
  2667. },
  2668. "500": {
  2669. "description": "Internal Server Error",
  2670. "schema": {
  2671. "$ref": "#/definitions/app.Response"
  2672. }
  2673. }
  2674. }
  2675. }
  2676. },
  2677. "/Erms3/AddErms2ASApply": {
  2678. "post": {
  2679. "security": [
  2680. {
  2681. "ApiKeyAuth": []
  2682. }
  2683. ],
  2684. "produces": [
  2685. "application/json"
  2686. ],
  2687. "tags": [
  2688. "风险管理v3"
  2689. ],
  2690. "summary": "新增期现套利业务申请",
  2691. "parameters": [
  2692. {
  2693. "description": "申请参数",
  2694. "name": "jsonBody",
  2695. "in": "body",
  2696. "required": true,
  2697. "schema": {
  2698. "$ref": "#/definitions/erms3.AddErms2ASApplyReq"
  2699. }
  2700. }
  2701. ],
  2702. "responses": {
  2703. "200": {
  2704. "description": "OK",
  2705. "schema": {
  2706. "$ref": "#/definitions/app.Response"
  2707. }
  2708. },
  2709. "500": {
  2710. "description": "Internal Server Error",
  2711. "schema": {
  2712. "$ref": "#/definitions/app.Response"
  2713. }
  2714. }
  2715. }
  2716. }
  2717. },
  2718. "/Erms3/AddErms2SpotTradeApply": {
  2719. "post": {
  2720. "security": [
  2721. {
  2722. "ApiKeyAuth": []
  2723. }
  2724. ],
  2725. "produces": [
  2726. "application/json"
  2727. ],
  2728. "tags": [
  2729. "风险管理v3"
  2730. ],
  2731. "summary": "新增现货贸易业务申请",
  2732. "parameters": [
  2733. {
  2734. "description": "申请参数",
  2735. "name": "jsonBody",
  2736. "in": "body",
  2737. "required": true,
  2738. "schema": {
  2739. "$ref": "#/definitions/erms3.AddErms2SpotTradeApplyReq"
  2740. }
  2741. }
  2742. ],
  2743. "responses": {
  2744. "200": {
  2745. "description": "OK",
  2746. "schema": {
  2747. "$ref": "#/definitions/app.Response"
  2748. }
  2749. },
  2750. "500": {
  2751. "description": "Internal Server Error",
  2752. "schema": {
  2753. "$ref": "#/definitions/app.Response"
  2754. }
  2755. }
  2756. }
  2757. }
  2758. },
  2759. "/Erms3/AddSpotContractApply": {
  2760. "post": {
  2761. "security": [
  2762. {
  2763. "ApiKeyAuth": []
  2764. }
  2765. ],
  2766. "produces": [
  2767. "application/json"
  2768. ],
  2769. "tags": [
  2770. "风险管理v3"
  2771. ],
  2772. "summary": "新增现货合同申请",
  2773. "parameters": [
  2774. {
  2775. "description": "申请参数",
  2776. "name": "jsonBody",
  2777. "in": "body",
  2778. "required": true,
  2779. "schema": {
  2780. "$ref": "#/definitions/erms3.AddSpotContractApplyReq"
  2781. }
  2782. }
  2783. ],
  2784. "responses": {
  2785. "200": {
  2786. "description": "OK",
  2787. "schema": {
  2788. "$ref": "#/definitions/erms3.AddSpotContractApplyRsp"
  2789. }
  2790. },
  2791. "500": {
  2792. "description": "Internal Server Error",
  2793. "schema": {
  2794. "$ref": "#/definitions/app.Response"
  2795. }
  2796. }
  2797. }
  2798. }
  2799. },
  2800. "/Erms3/AddUserInfoApply": {
  2801. "post": {
  2802. "security": [
  2803. {
  2804. "ApiKeyAuth": []
  2805. }
  2806. ],
  2807. "produces": [
  2808. "application/json"
  2809. ],
  2810. "tags": [
  2811. "风险管理v3"
  2812. ],
  2813. "summary": "新增客户申请",
  2814. "parameters": [
  2815. {
  2816. "description": "用户信息",
  2817. "name": "jsonBody",
  2818. "in": "body",
  2819. "required": true,
  2820. "schema": {
  2821. "$ref": "#/definitions/erms3.AddUserInfoApplyReq"
  2822. }
  2823. }
  2824. ],
  2825. "responses": {
  2826. "200": {
  2827. "description": "OK",
  2828. "schema": {
  2829. "$ref": "#/definitions/app.Response"
  2830. }
  2831. },
  2832. "500": {
  2833. "description": "Internal Server Error",
  2834. "schema": {
  2835. "$ref": "#/definitions/app.Response"
  2836. }
  2837. }
  2838. }
  2839. }
  2840. },
  2841. "/Erms3/ModifyUserInfoApply": {
  2842. "post": {
  2843. "security": [
  2844. {
  2845. "ApiKeyAuth": []
  2846. }
  2847. ],
  2848. "description": "保存草稿(撤回)- { \"userid\": int, \"userstate\": 1 } 提交审核 - { \"userid\": int, \"userstate\": 2 }",
  2849. "produces": [
  2850. "application/json"
  2851. ],
  2852. "tags": [
  2853. "风险管理v3"
  2854. ],
  2855. "summary": "修改客户申请",
  2856. "parameters": [
  2857. {
  2858. "description": "用户信息",
  2859. "name": "jsonBody",
  2860. "in": "body",
  2861. "required": true,
  2862. "schema": {
  2863. "$ref": "#/definitions/erms3.ModifyUserInfoApplyReq"
  2864. }
  2865. }
  2866. ],
  2867. "responses": {
  2868. "200": {
  2869. "description": "OK",
  2870. "schema": {
  2871. "$ref": "#/definitions/app.Response"
  2872. }
  2873. },
  2874. "500": {
  2875. "description": "Internal Server Error",
  2876. "schema": {
  2877. "$ref": "#/definitions/app.Response"
  2878. }
  2879. }
  2880. }
  2881. }
  2882. },
  2883. "/Erms3/QueryBusinessInfo": {
  2884. "get": {
  2885. "security": [
  2886. {
  2887. "ApiKeyAuth": []
  2888. }
  2889. ],
  2890. "produces": [
  2891. "application/json"
  2892. ],
  2893. "tags": [
  2894. "风险管理v3"
  2895. ],
  2896. "summary": "查询业务表单数据",
  2897. "parameters": [
  2898. {
  2899. "type": "string",
  2900. "description": "资金账号ID列表,用逗号分隔",
  2901. "name": "accountids",
  2902. "in": "query",
  2903. "required": true
  2904. },
  2905. {
  2906. "type": "integer",
  2907. "description": "状态,0为未结束 1为已结束",
  2908. "name": "status",
  2909. "in": "query",
  2910. "required": true
  2911. }
  2912. ],
  2913. "responses": {
  2914. "200": {
  2915. "description": "OK",
  2916. "schema": {
  2917. "type": "array",
  2918. "items": {
  2919. "$ref": "#/definitions/erms3.QueryBusinessInfoRsp"
  2920. }
  2921. }
  2922. },
  2923. "500": {
  2924. "description": "Internal Server Error",
  2925. "schema": {
  2926. "$ref": "#/definitions/app.Response"
  2927. }
  2928. }
  2929. }
  2930. }
  2931. },
  2932. "/Erms3/QueryPendingAuditContract": {
  2933. "get": {
  2934. "security": [
  2935. {
  2936. "ApiKeyAuth": []
  2937. }
  2938. ],
  2939. "produces": [
  2940. "application/json"
  2941. ],
  2942. "tags": [
  2943. "风险管理v3"
  2944. ],
  2945. "summary": "查询待审核合同",
  2946. "parameters": [
  2947. {
  2948. "type": "string",
  2949. "description": "资金账号ID列表,逗号隔开",
  2950. "name": "accountids",
  2951. "in": "query",
  2952. "required": true
  2953. },
  2954. {
  2955. "type": "integer",
  2956. "description": "合同类型 1-采购 -1-销售",
  2957. "name": "contracttype",
  2958. "in": "query",
  2959. "required": true
  2960. },
  2961. {
  2962. "type": "integer",
  2963. "description": "合同模式 1-普通 2-回购",
  2964. "name": "contractmode",
  2965. "in": "query",
  2966. "required": true
  2967. }
  2968. ],
  2969. "responses": {
  2970. "200": {
  2971. "description": "OK",
  2972. "schema": {
  2973. "type": "array",
  2974. "items": {
  2975. "$ref": "#/definitions/erms3.QryAuditContractRsp"
  2976. }
  2977. }
  2978. },
  2979. "500": {
  2980. "description": "Internal Server Error",
  2981. "schema": {
  2982. "$ref": "#/definitions/app.Response"
  2983. }
  2984. }
  2985. }
  2986. }
  2987. },
  2988. "/Erms3/QueryPendingBusiness": {
  2989. "get": {
  2990. "security": [
  2991. {
  2992. "ApiKeyAuth": []
  2993. }
  2994. ],
  2995. "produces": [
  2996. "application/json"
  2997. ],
  2998. "tags": [
  2999. "风险管理v3"
  3000. ],
  3001. "summary": "查询待审核基差贸易业务",
  3002. "parameters": [
  3003. {
  3004. "type": "string",
  3005. "description": "资金账号ID列表,逗号隔开",
  3006. "name": "accountids",
  3007. "in": "query",
  3008. "required": true
  3009. }
  3010. ],
  3011. "responses": {
  3012. "200": {
  3013. "description": "OK",
  3014. "schema": {
  3015. "type": "array",
  3016. "items": {
  3017. "$ref": "#/definitions/erms3.QryPendingBizRsp"
  3018. }
  3019. }
  3020. },
  3021. "500": {
  3022. "description": "Internal Server Error",
  3023. "schema": {
  3024. "$ref": "#/definitions/app.Response"
  3025. }
  3026. }
  3027. }
  3028. }
  3029. },
  3030. "/Erms3/QuerySpotContractAppleForm": {
  3031. "get": {
  3032. "security": [
  3033. {
  3034. "ApiKeyAuth": []
  3035. }
  3036. ],
  3037. "produces": [
  3038. "application/json"
  3039. ],
  3040. "tags": [
  3041. "风险管理v3"
  3042. ],
  3043. "summary": "查询合同申请表单数据",
  3044. "parameters": [
  3045. {
  3046. "type": "integer",
  3047. "description": "登录账号",
  3048. "name": "loginID",
  3049. "in": "query",
  3050. "required": true
  3051. }
  3052. ],
  3053. "responses": {
  3054. "200": {
  3055. "description": "OK",
  3056. "schema": {
  3057. "$ref": "#/definitions/erms3.QuerySpotContractAppleFormRsp"
  3058. }
  3059. },
  3060. "500": {
  3061. "description": "Internal Server Error",
  3062. "schema": {
  3063. "$ref": "#/definitions/app.Response"
  3064. }
  3065. }
  3066. }
  3067. }
  3068. },
  3069. "/Erms3/QuerySpotContractDetail": {
  3070. "get": {
  3071. "security": [
  3072. {
  3073. "ApiKeyAuth": []
  3074. }
  3075. ],
  3076. "produces": [
  3077. "application/json"
  3078. ],
  3079. "tags": [
  3080. "风险管理v3"
  3081. ],
  3082. "summary": "查询合同详细信息",
  3083. "parameters": [
  3084. {
  3085. "type": "string",
  3086. "description": "资金账号ID列表,用逗号分隔",
  3087. "name": "accountids",
  3088. "in": "query",
  3089. "required": true
  3090. },
  3091. {
  3092. "type": "integer",
  3093. "description": "合同类型,1为采购合同 -1为销售合同",
  3094. "name": "contracttype",
  3095. "in": "query",
  3096. "required": true
  3097. },
  3098. {
  3099. "type": "integer",
  3100. "description": "合同模式,1为普通合同 2为回购销售合同",
  3101. "name": "contractmode",
  3102. "in": "query",
  3103. "required": true
  3104. },
  3105. {
  3106. "type": "integer",
  3107. "description": "状态,0为履约中 1为已完成",
  3108. "name": "status",
  3109. "in": "query",
  3110. "required": true
  3111. }
  3112. ],
  3113. "responses": {
  3114. "200": {
  3115. "description": "OK",
  3116. "schema": {
  3117. "type": "array",
  3118. "items": {
  3119. "$ref": "#/definitions/erms3.QuerySpotContractInfoRsp"
  3120. }
  3121. }
  3122. },
  3123. "500": {
  3124. "description": "Internal Server Error",
  3125. "schema": {
  3126. "$ref": "#/definitions/app.Response"
  3127. }
  3128. }
  3129. }
  3130. }
  3131. },
  3132. "/Erms3/QueryUserInfoApplies": {
  3133. "get": {
  3134. "security": [
  3135. {
  3136. "ApiKeyAuth": []
  3137. }
  3138. ],
  3139. "produces": [
  3140. "application/json"
  3141. ],
  3142. "tags": [
  3143. "风险管理v3"
  3144. ],
  3145. "summary": "客户申请信息查询",
  3146. "parameters": [
  3147. {
  3148. "type": "integer",
  3149. "description": "页码",
  3150. "name": "page",
  3151. "in": "query"
  3152. },
  3153. {
  3154. "type": "integer",
  3155. "description": "每页条数",
  3156. "name": "pagesize",
  3157. "in": "query"
  3158. },
  3159. {
  3160. "type": "string",
  3161. "description": "客户名称,支持模糊查询",
  3162. "name": "userName",
  3163. "in": "query"
  3164. }
  3165. ],
  3166. "responses": {
  3167. "200": {
  3168. "description": "OK",
  3169. "schema": {
  3170. "$ref": "#/definitions/erms3.QueryUserInfoAppliesRsp"
  3171. }
  3172. },
  3173. "500": {
  3174. "description": "Internal Server Error",
  3175. "schema": {
  3176. "$ref": "#/definitions/app.Response"
  3177. }
  3178. }
  3179. }
  3180. }
  3181. },
  3182. "/Erms3/QueryUserInfos": {
  3183. "get": {
  3184. "security": [
  3185. {
  3186. "ApiKeyAuth": []
  3187. }
  3188. ],
  3189. "produces": [
  3190. "application/json"
  3191. ],
  3192. "tags": [
  3193. "风险管理v3"
  3194. ],
  3195. "summary": "客户信息查询",
  3196. "parameters": [
  3197. {
  3198. "type": "integer",
  3199. "description": "页码",
  3200. "name": "page",
  3201. "in": "query"
  3202. },
  3203. {
  3204. "type": "integer",
  3205. "description": "每页条数",
  3206. "name": "pagesize",
  3207. "in": "query"
  3208. },
  3209. {
  3210. "type": "string",
  3211. "description": "客户名称,支持模糊查询",
  3212. "name": "userName",
  3213. "in": "query"
  3214. }
  3215. ],
  3216. "responses": {
  3217. "200": {
  3218. "description": "OK",
  3219. "schema": {
  3220. "$ref": "#/definitions/erms3.QueryUserInfosRsp"
  3221. }
  3222. },
  3223. "500": {
  3224. "description": "Internal Server Error",
  3225. "schema": {
  3226. "$ref": "#/definitions/app.Response"
  3227. }
  3228. }
  3229. }
  3230. }
  3231. },
  3232. "/HSBY/GetHsbyMyCount": {
  3233. "get": {
  3234. "security": [
  3235. {
  3236. "ApiKeyAuth": []
  3237. }
  3238. ],
  3239. "description": "说明: 不包括已完成的数量。",
  3240. "produces": [
  3241. "application/json"
  3242. ],
  3243. "tags": [
  3244. "定制【海商报业】"
  3245. ],
  3246. "summary": "获取我的订单与包裹数量",
  3247. "parameters": [
  3248. {
  3249. "type": "string",
  3250. "description": "资金账户列表,格式:1,2,3",
  3251. "name": "accountIDs",
  3252. "in": "query",
  3253. "required": true
  3254. }
  3255. ],
  3256. "responses": {
  3257. "200": {
  3258. "description": "OK",
  3259. "schema": {
  3260. "$ref": "#/definitions/hsby.GetHsbyMyCountRsp"
  3261. }
  3262. },
  3263. "500": {
  3264. "description": "Internal Server Error",
  3265. "schema": {
  3266. "$ref": "#/definitions/app.Response"
  3267. }
  3268. }
  3269. }
  3270. }
  3271. },
  3272. "/HSBY/QueryClientFixedADConfigs": {
  3273. "get": {
  3274. "security": [
  3275. {
  3276. "ApiKeyAuth": []
  3277. }
  3278. ],
  3279. "produces": [
  3280. "application/json"
  3281. ],
  3282. "tags": [
  3283. "定制【海商报业】"
  3284. ],
  3285. "summary": "获取终端固定广告配置",
  3286. "responses": {
  3287. "200": {
  3288. "description": "OK",
  3289. "schema": {
  3290. "$ref": "#/definitions/models.Clientfixedadconfig"
  3291. }
  3292. },
  3293. "500": {
  3294. "description": "Internal Server Error",
  3295. "schema": {
  3296. "$ref": "#/definitions/app.Response"
  3297. }
  3298. }
  3299. }
  3300. }
  3301. },
  3302. "/HSBY/QueryHsbyBuyMyTradeDetail": {
  3303. "get": {
  3304. "security": [
  3305. {
  3306. "ApiKeyAuth": []
  3307. }
  3308. ],
  3309. "produces": [
  3310. "application/json"
  3311. ],
  3312. "tags": [
  3313. "定制【海商报业】"
  3314. ],
  3315. "summary": "查询\"我的订单 - 已完成\"单据信息",
  3316. "parameters": [
  3317. {
  3318. "type": "integer",
  3319. "description": "页码",
  3320. "name": "page",
  3321. "in": "query"
  3322. },
  3323. {
  3324. "type": "integer",
  3325. "description": "每页条数",
  3326. "name": "pagesize",
  3327. "in": "query"
  3328. },
  3329. {
  3330. "type": "string",
  3331. "description": "资金账户列表,格式:1,2,3",
  3332. "name": "accountIDs",
  3333. "in": "query",
  3334. "required": true
  3335. }
  3336. ],
  3337. "responses": {
  3338. "200": {
  3339. "description": "OK",
  3340. "schema": {
  3341. "$ref": "#/definitions/models.HsbyBuyMyTradeDetail"
  3342. }
  3343. },
  3344. "500": {
  3345. "description": "Internal Server Error",
  3346. "schema": {
  3347. "$ref": "#/definitions/app.Response"
  3348. }
  3349. }
  3350. }
  3351. }
  3352. },
  3353. "/HSBY/QueryHsbyGoodsOrderDetails": {
  3354. "get": {
  3355. "security": [
  3356. {
  3357. "ApiKeyAuth": []
  3358. }
  3359. ],
  3360. "description": "说明:查询结果已按委托价格和委托时间排序",
  3361. "produces": [
  3362. "application/json"
  3363. ],
  3364. "tags": [
  3365. "定制【海商报业】"
  3366. ],
  3367. "summary": "查询二级市场(挂牌点选)商品对应的挂牌委托单信息",
  3368. "parameters": [
  3369. {
  3370. "type": "integer",
  3371. "description": "商品ID",
  3372. "name": "goodsID",
  3373. "in": "query",
  3374. "required": true
  3375. },
  3376. {
  3377. "type": "string",
  3378. "description": "摘牌方资金账户列表,格式:1,2,3。主要用于过滤自己的挂牌单",
  3379. "name": "accountIDs",
  3380. "in": "query"
  3381. },
  3382. {
  3383. "type": "integer",
  3384. "description": "挂牌委托单方向(对手单方向),0:买 1:卖",
  3385. "name": "buyOrSell",
  3386. "in": "query"
  3387. },
  3388. {
  3389. "type": "number",
  3390. "description": " 参考价格。对手单买方向委托单则价格大于等于(站在摘牌人的角度,摘牌方面是卖,我的闲置下单);对手单卖方向委托单则价格小于等于(站在摘牌人的角度,摘牌方面是买,热门商品下单)",
  3391. "name": "price",
  3392. "in": "query"
  3393. },
  3394. {
  3395. "type": "integer",
  3396. "description": "档位,不传则默认为3档",
  3397. "name": "speed",
  3398. "in": "query"
  3399. }
  3400. ],
  3401. "responses": {
  3402. "200": {
  3403. "description": "OK",
  3404. "schema": {
  3405. "$ref": "#/definitions/models.HsbyGoodsOrderDetail"
  3406. }
  3407. },
  3408. "500": {
  3409. "description": "Internal Server Error",
  3410. "schema": {
  3411. "$ref": "#/definitions/app.Response"
  3412. }
  3413. }
  3414. }
  3415. }
  3416. },
  3417. "/HSBY/QueryHsbyListingGoodsDetail": {
  3418. "get": {
  3419. "security": [
  3420. {
  3421. "ApiKeyAuth": []
  3422. }
  3423. ],
  3424. "description": "说明:“我的商品”详情中,二级(挂牌点选)和三级(商城)的商品详情都使用此接口",
  3425. "produces": [
  3426. "application/json"
  3427. ],
  3428. "tags": [
  3429. "定制【海商报业】"
  3430. ],
  3431. "summary": "查询二级市场(挂牌点选)商品信息详情",
  3432. "parameters": [
  3433. {
  3434. "type": "integer",
  3435. "description": "商品ID",
  3436. "name": "goodsID",
  3437. "in": "query",
  3438. "required": true
  3439. },
  3440. {
  3441. "type": "integer",
  3442. "description": "资金账户,主要用于获取交易规则。不传则获取通用规则。",
  3443. "name": "accountID",
  3444. "in": "query"
  3445. }
  3446. ],
  3447. "responses": {
  3448. "200": {
  3449. "description": "OK",
  3450. "schema": {
  3451. "$ref": "#/definitions/models.HsbyListingGoodsDetail"
  3452. }
  3453. },
  3454. "500": {
  3455. "description": "Internal Server Error",
  3456. "schema": {
  3457. "$ref": "#/definitions/app.Response"
  3458. }
  3459. }
  3460. }
  3461. }
  3462. },
  3463. "/HSBY/QueryHsbyMarketGoodsDetail": {
  3464. "get": {
  3465. "security": [
  3466. {
  3467. "ApiKeyAuth": []
  3468. }
  3469. ],
  3470. "produces": [
  3471. "application/json"
  3472. ],
  3473. "tags": [
  3474. "定制【海商报业】"
  3475. ],
  3476. "summary": "查询三级市场(商城)商品信息详情",
  3477. "parameters": [
  3478. {
  3479. "type": "integer",
  3480. "description": "委托单号",
  3481. "name": "orderID",
  3482. "in": "query",
  3483. "required": true
  3484. },
  3485. {
  3486. "type": "integer",
  3487. "description": "资金账户,主要用于判断商品最大开仓手数;如未登录可不传。",
  3488. "name": "accountID",
  3489. "in": "query"
  3490. }
  3491. ],
  3492. "responses": {
  3493. "200": {
  3494. "description": "OK",
  3495. "schema": {
  3496. "$ref": "#/definitions/models.HsbyMarketGoodsDetail"
  3497. }
  3498. },
  3499. "500": {
  3500. "description": "Internal Server Error",
  3501. "schema": {
  3502. "$ref": "#/definitions/app.Response"
  3503. }
  3504. }
  3505. }
  3506. }
  3507. },
  3508. "/HSBY/QueryHsbyMarketGoodses": {
  3509. "get": {
  3510. "security": [
  3511. {
  3512. "ApiKeyAuth": []
  3513. }
  3514. ],
  3515. "produces": [
  3516. "application/json"
  3517. ],
  3518. "tags": [
  3519. "定制【海商报业】"
  3520. ],
  3521. "summary": "查询特卖商品列表(三级商城)",
  3522. "parameters": [
  3523. {
  3524. "type": "integer",
  3525. "description": "页码",
  3526. "name": "page",
  3527. "in": "query"
  3528. },
  3529. {
  3530. "type": "integer",
  3531. "description": "每页条数",
  3532. "name": "pagesize",
  3533. "in": "query"
  3534. },
  3535. {
  3536. "type": "string",
  3537. "description": "市场ID列表,格式:1,2,3",
  3538. "name": "marketIDs",
  3539. "in": "query",
  3540. "required": true
  3541. },
  3542. {
  3543. "type": "integer",
  3544. "description": "资金账户,用于判断商品是否有可用的优惠卷;同时只显示此账户所属机构下的商城委托单。",
  3545. "name": "accountID",
  3546. "in": "query",
  3547. "required": true
  3548. },
  3549. {
  3550. "type": "integer",
  3551. "description": "类别ID",
  3552. "name": "categoryID",
  3553. "in": "query"
  3554. },
  3555. {
  3556. "type": "string",
  3557. "description": "商品ID列表,格式:1,2,3。主要用于商品搜索。",
  3558. "name": "goodsIDs",
  3559. "in": "query"
  3560. },
  3561. {
  3562. "type": "integer",
  3563. "description": "优惠券类型ID,主要用于显示优惠卷对应的商品列表。",
  3564. "name": "couponTypeID",
  3565. "in": "query"
  3566. }
  3567. ],
  3568. "responses": {
  3569. "200": {
  3570. "description": "OK",
  3571. "schema": {
  3572. "$ref": "#/definitions/models.HsbyMarketGoods"
  3573. }
  3574. },
  3575. "500": {
  3576. "description": "Internal Server Error",
  3577. "schema": {
  3578. "$ref": "#/definitions/app.Response"
  3579. }
  3580. }
  3581. }
  3582. }
  3583. },
  3584. "/HSBY/QueryHsbyMarkets": {
  3585. "get": {
  3586. "security": [
  3587. {
  3588. "ApiKeyAuth": []
  3589. }
  3590. ],
  3591. "produces": [
  3592. "application/json"
  3593. ],
  3594. "tags": [
  3595. "定制【海商报业】"
  3596. ],
  3597. "summary": "查询海商报业相关市场信息",
  3598. "responses": {
  3599. "200": {
  3600. "description": "OK",
  3601. "schema": {
  3602. "$ref": "#/definitions/models.HsbyMarketInfo"
  3603. }
  3604. },
  3605. "500": {
  3606. "description": "Internal Server Error",
  3607. "schema": {
  3608. "$ref": "#/definitions/app.Response"
  3609. }
  3610. }
  3611. }
  3612. }
  3613. },
  3614. "/HSBY/QueryHsbyMyBuyOrderDetails": {
  3615. "get": {
  3616. "security": [
  3617. {
  3618. "ApiKeyAuth": []
  3619. }
  3620. ],
  3621. "description": "说明: myBuyStatus: 1,2 - 待成交;3 - 已提交;4 - 已撤消;5 - 委托失败",
  3622. "produces": [
  3623. "application/json"
  3624. ],
  3625. "tags": [
  3626. "定制【海商报业】"
  3627. ],
  3628. "summary": "查询“我的订单”信息",
  3629. "parameters": [
  3630. {
  3631. "type": "string",
  3632. "description": "资金账户列表,格式:1,2,3",
  3633. "name": "accountIDs",
  3634. "in": "query",
  3635. "required": true
  3636. }
  3637. ],
  3638. "responses": {
  3639. "200": {
  3640. "description": "OK",
  3641. "schema": {
  3642. "$ref": "#/definitions/models.HybsMyBuyOrderDetail"
  3643. }
  3644. },
  3645. "500": {
  3646. "description": "Internal Server Error",
  3647. "schema": {
  3648. "$ref": "#/definitions/app.Response"
  3649. }
  3650. }
  3651. }
  3652. }
  3653. },
  3654. "/HSBY/QueryHsbyMyGoods": {
  3655. "get": {
  3656. "security": [
  3657. {
  3658. "ApiKeyAuth": []
  3659. }
  3660. ],
  3661. "description": "说明: 挂牌点选(tradeMode = 16)价格取last; 商城(tradeMode = 70)价格取goodsprice",
  3662. "produces": [
  3663. "application/json"
  3664. ],
  3665. "tags": [
  3666. "定制【海商报业】"
  3667. ],
  3668. "summary": "查询“我的商品”信息",
  3669. "parameters": [
  3670. {
  3671. "type": "string",
  3672. "description": "资金账户列表,格式:1,2,3",
  3673. "name": "accountIDs",
  3674. "in": "query",
  3675. "required": true
  3676. }
  3677. ],
  3678. "responses": {
  3679. "200": {
  3680. "description": "OK",
  3681. "schema": {
  3682. "$ref": "#/definitions/models.HsbyMyGoods"
  3683. }
  3684. },
  3685. "500": {
  3686. "description": "Internal Server Error",
  3687. "schema": {
  3688. "$ref": "#/definitions/app.Response"
  3689. }
  3690. }
  3691. }
  3692. }
  3693. },
  3694. "/HSBY/QueryHsbyMyPackages": {
  3695. "get": {
  3696. "security": [
  3697. {
  3698. "ApiKeyAuth": []
  3699. }
  3700. ],
  3701. "produces": [
  3702. "application/json"
  3703. ],
  3704. "tags": [
  3705. "定制【海商报业】"
  3706. ],
  3707. "summary": "查询我的包裹信息",
  3708. "parameters": [
  3709. {
  3710. "type": "string",
  3711. "description": "资金账户列表,格式:1,2,3",
  3712. "name": "accountIDs",
  3713. "in": "query",
  3714. "required": true
  3715. },
  3716. {
  3717. "type": "integer",
  3718. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  3719. "name": "takeOrderStatus",
  3720. "in": "query"
  3721. }
  3722. ],
  3723. "responses": {
  3724. "200": {
  3725. "description": "OK",
  3726. "schema": {
  3727. "$ref": "#/definitions/models.HsbyMyPackage"
  3728. }
  3729. },
  3730. "500": {
  3731. "description": "Internal Server Error",
  3732. "schema": {
  3733. "$ref": "#/definitions/app.Response"
  3734. }
  3735. }
  3736. }
  3737. }
  3738. },
  3739. "/HSBY/QueryHsbyPreGoodsDetail": {
  3740. "get": {
  3741. "security": [
  3742. {
  3743. "ApiKeyAuth": []
  3744. }
  3745. ],
  3746. "produces": [
  3747. "application/json"
  3748. ],
  3749. "tags": [
  3750. "定制【海商报业】"
  3751. ],
  3752. "summary": "查询一级市场(预售)商品信息详情",
  3753. "parameters": [
  3754. {
  3755. "type": "integer",
  3756. "description": "商品ID",
  3757. "name": "goodsID",
  3758. "in": "query",
  3759. "required": true
  3760. },
  3761. {
  3762. "type": "integer",
  3763. "description": "资金账户,主要用于获取预售商品购买上限",
  3764. "name": "accountID",
  3765. "in": "query"
  3766. }
  3767. ],
  3768. "responses": {
  3769. "200": {
  3770. "description": "OK",
  3771. "schema": {
  3772. "$ref": "#/definitions/models.HsbyPreGoodsDetail"
  3773. }
  3774. },
  3775. "500": {
  3776. "description": "Internal Server Error",
  3777. "schema": {
  3778. "$ref": "#/definitions/app.Response"
  3779. }
  3780. }
  3781. }
  3782. }
  3783. },
  3784. "/HSBY/QueryHsbyPreGoodses": {
  3785. "get": {
  3786. "security": [
  3787. {
  3788. "ApiKeyAuth": []
  3789. }
  3790. ],
  3791. "description": "说明:结果已先显示已开始商品(按结束时间顺序排),再显示未开始商品(按开始时间顺序排)",
  3792. "produces": [
  3793. "application/json"
  3794. ],
  3795. "tags": [
  3796. "定制【海商报业】"
  3797. ],
  3798. "summary": "查询新品上市商品列表(一级市场预售)",
  3799. "parameters": [
  3800. {
  3801. "type": "integer",
  3802. "description": "页码",
  3803. "name": "page",
  3804. "in": "query"
  3805. },
  3806. {
  3807. "type": "integer",
  3808. "description": "每页条数",
  3809. "name": "pagesize",
  3810. "in": "query"
  3811. },
  3812. {
  3813. "type": "string",
  3814. "description": "市场ID列表,格式:1,2,3",
  3815. "name": "marketIDs",
  3816. "in": "query",
  3817. "required": true
  3818. },
  3819. {
  3820. "type": "integer",
  3821. "description": "目的地(省)ID",
  3822. "name": "descProvinceID",
  3823. "in": "query"
  3824. },
  3825. {
  3826. "type": "integer",
  3827. "description": "目的地(市)ID",
  3828. "name": "descCityID",
  3829. "in": "query"
  3830. }
  3831. ],
  3832. "responses": {
  3833. "200": {
  3834. "description": "OK",
  3835. "schema": {
  3836. "$ref": "#/definitions/models.HsbyPreGoods"
  3837. }
  3838. },
  3839. "500": {
  3840. "description": "Internal Server Error",
  3841. "schema": {
  3842. "$ref": "#/definitions/app.Response"
  3843. }
  3844. }
  3845. }
  3846. }
  3847. },
  3848. "/HSBY/QueryHsbySellMyDetails": {
  3849. "get": {
  3850. "security": [
  3851. {
  3852. "ApiKeyAuth": []
  3853. }
  3854. ],
  3855. "description": "说明:发布中 - 二级市场卖挂,3:委托成功、7:部分成交; 已完成 - 二级市场成交单,包括历史数据。查询结果已按时间从近到远排序",
  3856. "produces": [
  3857. "application/json"
  3858. ],
  3859. "tags": [
  3860. "定制【海商报业】"
  3861. ],
  3862. "summary": "查询\"我的闲置\"单据信息",
  3863. "parameters": [
  3864. {
  3865. "type": "integer",
  3866. "description": "页码",
  3867. "name": "page",
  3868. "in": "query"
  3869. },
  3870. {
  3871. "type": "integer",
  3872. "description": "每页条数",
  3873. "name": "pagesize",
  3874. "in": "query"
  3875. },
  3876. {
  3877. "type": "string",
  3878. "description": "资金账户列表,格式:1,2,3",
  3879. "name": "accountIDs",
  3880. "in": "query",
  3881. "required": true
  3882. },
  3883. {
  3884. "type": "integer",
  3885. "description": "单据类型:0 - 发布中(默认), 1 - 已完成",
  3886. "name": "orderType",
  3887. "in": "query"
  3888. }
  3889. ],
  3890. "responses": {
  3891. "200": {
  3892. "description": "OK",
  3893. "schema": {
  3894. "$ref": "#/definitions/models.HsbySellMyDetail"
  3895. }
  3896. },
  3897. "500": {
  3898. "description": "Internal Server Error",
  3899. "schema": {
  3900. "$ref": "#/definitions/app.Response"
  3901. }
  3902. }
  3903. }
  3904. }
  3905. },
  3906. "/HSBY/QueryHsbyTopGoodses": {
  3907. "get": {
  3908. "security": [
  3909. {
  3910. "ApiKeyAuth": []
  3911. }
  3912. ],
  3913. "description": "说明:查询结果已按Hotindex(景点热度)从大到小排序",
  3914. "produces": [
  3915. "application/json"
  3916. ],
  3917. "tags": [
  3918. "定制【海商报业】"
  3919. ],
  3920. "summary": "查询热卖商品列表(二级市场挂牌点选)",
  3921. "parameters": [
  3922. {
  3923. "type": "integer",
  3924. "description": "页码",
  3925. "name": "page",
  3926. "in": "query"
  3927. },
  3928. {
  3929. "type": "integer",
  3930. "description": "每页条数",
  3931. "name": "pagesize",
  3932. "in": "query"
  3933. },
  3934. {
  3935. "type": "string",
  3936. "description": "市场ID列表,格式:1,2,3",
  3937. "name": "marketIDs",
  3938. "in": "query",
  3939. "required": true
  3940. },
  3941. {
  3942. "type": "integer",
  3943. "description": "目的地(省)ID",
  3944. "name": "descProvinceID",
  3945. "in": "query"
  3946. },
  3947. {
  3948. "type": "integer",
  3949. "description": "目的地(市)ID",
  3950. "name": "descCityID",
  3951. "in": "query"
  3952. }
  3953. ],
  3954. "responses": {
  3955. "200": {
  3956. "description": "OK",
  3957. "schema": {
  3958. "$ref": "#/definitions/models.HsbyTopGoods"
  3959. }
  3960. },
  3961. "500": {
  3962. "description": "Internal Server Error",
  3963. "schema": {
  3964. "$ref": "#/definitions/app.Response"
  3965. }
  3966. }
  3967. }
  3968. }
  3969. },
  3970. "/HSBY/QueryHsbyVisitorMarketGoodsDetail": {
  3971. "get": {
  3972. "security": [
  3973. {
  3974. "ApiKeyAuth": []
  3975. }
  3976. ],
  3977. "description": "说明:使用于未登录状态查询商城商品详情,登录后请使用QueryHsbyMarketGoodsDetail接口进行查询。",
  3978. "produces": [
  3979. "application/json"
  3980. ],
  3981. "tags": [
  3982. "定制【海商报业】"
  3983. ],
  3984. "summary": "查询游客三级市场(商城)商品信息详情",
  3985. "parameters": [
  3986. {
  3987. "type": "integer",
  3988. "description": "商品ID",
  3989. "name": "goodsID",
  3990. "in": "query",
  3991. "required": true
  3992. }
  3993. ],
  3994. "responses": {
  3995. "200": {
  3996. "description": "OK",
  3997. "schema": {
  3998. "$ref": "#/definitions/models.HsbyMarketGoodsDetail"
  3999. }
  4000. },
  4001. "500": {
  4002. "description": "Internal Server Error",
  4003. "schema": {
  4004. "$ref": "#/definitions/app.Response"
  4005. }
  4006. }
  4007. }
  4008. }
  4009. },
  4010. "/HSBY/QueryHsbyVisitorMarketGoodses": {
  4011. "get": {
  4012. "security": [
  4013. {
  4014. "ApiKeyAuth": []
  4015. }
  4016. ],
  4017. "description": "说明:使用于未登录状态查询商城商品列表,登录后请使用QueryHsbyMarketGoodses接口进行查询。",
  4018. "produces": [
  4019. "application/json"
  4020. ],
  4021. "tags": [
  4022. "定制【海商报业】"
  4023. ],
  4024. "summary": "查询游客特卖商品列表(三级商城)",
  4025. "parameters": [
  4026. {
  4027. "type": "integer",
  4028. "description": "页码",
  4029. "name": "page",
  4030. "in": "query"
  4031. },
  4032. {
  4033. "type": "integer",
  4034. "description": "每页条数",
  4035. "name": "pagesize",
  4036. "in": "query"
  4037. },
  4038. {
  4039. "type": "string",
  4040. "description": "市场ID列表,格式:1,2,3",
  4041. "name": "marketIDs",
  4042. "in": "query",
  4043. "required": true
  4044. },
  4045. {
  4046. "type": "integer",
  4047. "description": "类别ID",
  4048. "name": "categoryID",
  4049. "in": "query"
  4050. },
  4051. {
  4052. "type": "string",
  4053. "description": "商品ID列表,格式:1,2,3。主要用于商品搜索。",
  4054. "name": "goodsIDs",
  4055. "in": "query"
  4056. }
  4057. ],
  4058. "responses": {
  4059. "200": {
  4060. "description": "OK",
  4061. "schema": {
  4062. "$ref": "#/definitions/models.HsbyMarketGoods"
  4063. }
  4064. },
  4065. "500": {
  4066. "description": "Internal Server Error",
  4067. "schema": {
  4068. "$ref": "#/definitions/app.Response"
  4069. }
  4070. }
  4071. }
  4072. }
  4073. },
  4074. "/HSBY/QueryMyCollectionOrders": {
  4075. "get": {
  4076. "security": [
  4077. {
  4078. "ApiKeyAuth": []
  4079. }
  4080. ],
  4081. "produces": [
  4082. "application/json"
  4083. ],
  4084. "tags": [
  4085. "定制【海商报业】"
  4086. ],
  4087. "summary": "我的闲置中收款信息查询",
  4088. "parameters": [
  4089. {
  4090. "type": "integer",
  4091. "description": "页码",
  4092. "name": "page",
  4093. "in": "query"
  4094. },
  4095. {
  4096. "type": "integer",
  4097. "description": "每页条数",
  4098. "name": "pagesize",
  4099. "in": "query"
  4100. },
  4101. {
  4102. "type": "string",
  4103. "description": "资金账户,格式:1,2,3",
  4104. "name": "accountIDs",
  4105. "in": "query",
  4106. "required": true
  4107. }
  4108. ],
  4109. "responses": {
  4110. "200": {
  4111. "description": "OK",
  4112. "schema": {
  4113. "$ref": "#/definitions/models.HsbySellCollectionOrder"
  4114. }
  4115. },
  4116. "500": {
  4117. "description": "Internal Server Error",
  4118. "schema": {
  4119. "$ref": "#/definitions/app.Response"
  4120. }
  4121. }
  4122. }
  4123. }
  4124. },
  4125. "/HSBY/QueryMyCouponHolds": {
  4126. "get": {
  4127. "security": [
  4128. {
  4129. "ApiKeyAuth": []
  4130. }
  4131. ],
  4132. "description": "说明:当holdStatus传入4(已过期)后,会从历史表中查询已过期的优惠卷数据。",
  4133. "produces": [
  4134. "application/json"
  4135. ],
  4136. "tags": [
  4137. "定制【海商报业】"
  4138. ],
  4139. "summary": "我的优惠卷持仓查询",
  4140. "parameters": [
  4141. {
  4142. "type": "string",
  4143. "description": "资金账户列表,格式:1,2,3",
  4144. "name": "accountIDs",
  4145. "in": "query",
  4146. "required": true
  4147. },
  4148. {
  4149. "type": "string",
  4150. "description": "持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期,格式:1,2,3",
  4151. "name": "holdStatus",
  4152. "in": "query"
  4153. }
  4154. ],
  4155. "responses": {
  4156. "200": {
  4157. "description": "OK",
  4158. "schema": {
  4159. "$ref": "#/definitions/models.MyCouponHold"
  4160. }
  4161. },
  4162. "500": {
  4163. "description": "Internal Server Error",
  4164. "schema": {
  4165. "$ref": "#/definitions/app.Response"
  4166. }
  4167. }
  4168. }
  4169. }
  4170. },
  4171. "/HSBY/QueryMyCoupons": {
  4172. "get": {
  4173. "security": [
  4174. {
  4175. "ApiKeyAuth": []
  4176. }
  4177. ],
  4178. "produces": [
  4179. "application/json"
  4180. ],
  4181. "tags": [
  4182. "定制【海商报业】"
  4183. ],
  4184. "summary": "我的优惠卷查询",
  4185. "parameters": [
  4186. {
  4187. "type": "string",
  4188. "description": "资金账户列表,格式:1,2,3",
  4189. "name": "accountIDs",
  4190. "in": "query",
  4191. "required": true
  4192. },
  4193. {
  4194. "type": "integer",
  4195. "description": "商品ID, 一般与sellUserID配套传入",
  4196. "name": "goodsID",
  4197. "in": "query"
  4198. },
  4199. {
  4200. "type": "integer",
  4201. "description": "卖方UserID",
  4202. "name": "sellUserID",
  4203. "in": "query"
  4204. }
  4205. ],
  4206. "responses": {
  4207. "200": {
  4208. "description": "OK",
  4209. "schema": {
  4210. "$ref": "#/definitions/models.MyCoupon"
  4211. }
  4212. },
  4213. "500": {
  4214. "description": "Internal Server Error",
  4215. "schema": {
  4216. "$ref": "#/definitions/app.Response"
  4217. }
  4218. }
  4219. }
  4220. }
  4221. },
  4222. "/HSBY/QueryMyPayOrders": {
  4223. "get": {
  4224. "security": [
  4225. {
  4226. "ApiKeyAuth": []
  4227. }
  4228. ],
  4229. "produces": [
  4230. "application/json"
  4231. ],
  4232. "tags": [
  4233. "定制【海商报业】"
  4234. ],
  4235. "summary": "获取我的订单中待付款信息",
  4236. "parameters": [
  4237. {
  4238. "type": "integer",
  4239. "description": "页码",
  4240. "name": "page",
  4241. "in": "query"
  4242. },
  4243. {
  4244. "type": "integer",
  4245. "description": "每页条数",
  4246. "name": "pagesize",
  4247. "in": "query"
  4248. },
  4249. {
  4250. "type": "string",
  4251. "description": "资金账户列表,格式:1,2,3",
  4252. "name": "accountIDs",
  4253. "in": "query",
  4254. "required": true
  4255. },
  4256. {
  4257. "type": "integer",
  4258. "description": "买方委托单号",
  4259. "name": "buyOrderID",
  4260. "in": "query"
  4261. },
  4262. {
  4263. "type": "integer",
  4264. "description": "卖方委托单号",
  4265. "name": "sellOrderID",
  4266. "in": "query"
  4267. }
  4268. ],
  4269. "responses": {
  4270. "200": {
  4271. "description": "OK",
  4272. "schema": {
  4273. "$ref": "#/definitions/models.HsbyBuyMyPayOrder"
  4274. }
  4275. },
  4276. "500": {
  4277. "description": "Internal Server Error",
  4278. "schema": {
  4279. "$ref": "#/definitions/app.Response"
  4280. }
  4281. }
  4282. }
  4283. }
  4284. },
  4285. "/HSBY/QueryMyUsedCoupon": {
  4286. "get": {
  4287. "security": [
  4288. {
  4289. "ApiKeyAuth": []
  4290. }
  4291. ],
  4292. "produces": [
  4293. "application/json"
  4294. ],
  4295. "tags": [
  4296. "定制【海商报业】"
  4297. ],
  4298. "summary": "已使用优惠卷查询",
  4299. "parameters": [
  4300. {
  4301. "type": "string",
  4302. "description": "资金账户列表,格式:1,2,3",
  4303. "name": "accountIDs",
  4304. "in": "query",
  4305. "required": true
  4306. }
  4307. ],
  4308. "responses": {
  4309. "200": {
  4310. "description": "OK",
  4311. "schema": {
  4312. "$ref": "#/definitions/models.MyUsedCoupon"
  4313. }
  4314. },
  4315. "500": {
  4316. "description": "Internal Server Error",
  4317. "schema": {
  4318. "$ref": "#/definitions/app.Response"
  4319. }
  4320. }
  4321. }
  4322. }
  4323. },
  4324. "/HSBY/QueryProvincesAndCities": {
  4325. "get": {
  4326. "security": [
  4327. {
  4328. "ApiKeyAuth": []
  4329. }
  4330. ],
  4331. "description": "查询结果只包括二级市场商品已关连的省市信息。",
  4332. "produces": [
  4333. "application/json"
  4334. ],
  4335. "tags": [
  4336. "定制【海商报业】"
  4337. ],
  4338. "summary": "查询省市信息(不包括区)",
  4339. "parameters": [
  4340. {
  4341. "type": "integer",
  4342. "description": "省ID",
  4343. "name": "provinceID",
  4344. "in": "query"
  4345. }
  4346. ],
  4347. "responses": {
  4348. "200": {
  4349. "description": "OK",
  4350. "schema": {
  4351. "$ref": "#/definitions/hsby.QueryProvincesAndCitiesRsp"
  4352. }
  4353. },
  4354. "500": {
  4355. "description": "Internal Server Error",
  4356. "schema": {
  4357. "$ref": "#/definitions/app.Response"
  4358. }
  4359. }
  4360. }
  4361. }
  4362. },
  4363. "/HSBY/SetHsbyMyPackagesStatus": {
  4364. "post": {
  4365. "security": [
  4366. {
  4367. "ApiKeyAuth": []
  4368. }
  4369. ],
  4370. "produces": [
  4371. "application/json"
  4372. ],
  4373. "tags": [
  4374. "定制【海商报业】"
  4375. ],
  4376. "summary": "设置我的包裹已收货状态",
  4377. "parameters": [
  4378. {
  4379. "type": "string",
  4380. "description": "提货单号",
  4381. "name": "takeOrderID",
  4382. "in": "query",
  4383. "required": true
  4384. },
  4385. {
  4386. "type": "integer",
  4387. "description": "资金账号",
  4388. "name": "accountID",
  4389. "in": "query",
  4390. "required": true
  4391. }
  4392. ],
  4393. "responses": {
  4394. "200": {
  4395. "description": "OK",
  4396. "schema": {
  4397. "$ref": "#/definitions/app.Response"
  4398. }
  4399. },
  4400. "500": {
  4401. "description": "Internal Server Error",
  4402. "schema": {
  4403. "$ref": "#/definitions/app.Response"
  4404. }
  4405. }
  4406. }
  4407. }
  4408. },
  4409. "/Market/QueryGoodsesByLoginID": {
  4410. "get": {
  4411. "security": [
  4412. {
  4413. "ApiKeyAuth": []
  4414. }
  4415. ],
  4416. "produces": [
  4417. "application/json"
  4418. ],
  4419. "tags": [
  4420. "通用市场"
  4421. ],
  4422. "summary": "获取登录账号有权限的商品信息",
  4423. "parameters": [
  4424. {
  4425. "type": "integer",
  4426. "description": "登录账号",
  4427. "name": "loginID",
  4428. "in": "query",
  4429. "required": true
  4430. },
  4431. {
  4432. "type": "string",
  4433. "description": "市场ID列表,格式:1,2,3",
  4434. "name": "marketIDs",
  4435. "in": "query"
  4436. }
  4437. ],
  4438. "responses": {
  4439. "200": {
  4440. "description": "OK",
  4441. "schema": {
  4442. "$ref": "#/definitions/models.Goods"
  4443. }
  4444. },
  4445. "500": {
  4446. "description": "Internal Server Error",
  4447. "schema": {
  4448. "$ref": "#/definitions/app.Response"
  4449. }
  4450. }
  4451. }
  4452. }
  4453. },
  4454. "/Market/QueryMarketRun": {
  4455. "get": {
  4456. "security": [
  4457. {
  4458. "ApiKeyAuth": []
  4459. }
  4460. ],
  4461. "produces": [
  4462. "application/json"
  4463. ],
  4464. "tags": [
  4465. "通用市场"
  4466. ],
  4467. "summary": "查询市场运行信息",
  4468. "parameters": [
  4469. {
  4470. "type": "integer",
  4471. "description": "市场ID,不传返回所有",
  4472. "name": "marketID",
  4473. "in": "query"
  4474. }
  4475. ],
  4476. "responses": {
  4477. "200": {
  4478. "description": "OK",
  4479. "schema": {
  4480. "$ref": "#/definitions/models.Marketrun"
  4481. }
  4482. },
  4483. "500": {
  4484. "description": "Internal Server Error",
  4485. "schema": {
  4486. "$ref": "#/definitions/app.Response"
  4487. }
  4488. }
  4489. }
  4490. }
  4491. },
  4492. "/Market/QueryMarketsByLoginID": {
  4493. "get": {
  4494. "security": [
  4495. {
  4496. "ApiKeyAuth": []
  4497. }
  4498. ],
  4499. "produces": [
  4500. "application/json"
  4501. ],
  4502. "tags": [
  4503. "通用市场"
  4504. ],
  4505. "summary": "获取登录账号有权限的市场信息",
  4506. "parameters": [
  4507. {
  4508. "type": "integer",
  4509. "description": "登录账号",
  4510. "name": "loginID",
  4511. "in": "query",
  4512. "required": true
  4513. }
  4514. ],
  4515. "responses": {
  4516. "200": {
  4517. "description": "OK",
  4518. "schema": {
  4519. "$ref": "#/definitions/models.Market"
  4520. }
  4521. },
  4522. "500": {
  4523. "description": "Internal Server Error",
  4524. "schema": {
  4525. "$ref": "#/definitions/app.Response"
  4526. }
  4527. }
  4528. }
  4529. }
  4530. },
  4531. "/Order/QueryHisTradeDetail": {
  4532. "get": {
  4533. "security": [
  4534. {
  4535. "ApiKeyAuth": []
  4536. }
  4537. ],
  4538. "produces": [
  4539. "application/json"
  4540. ],
  4541. "tags": [
  4542. "通用单据"
  4543. ],
  4544. "summary": "历史成交单查询(合约市场)",
  4545. "parameters": [
  4546. {
  4547. "type": "string",
  4548. "description": "资金账户 - 格式:1,2,3",
  4549. "name": "accountID",
  4550. "in": "query",
  4551. "required": true
  4552. },
  4553. {
  4554. "type": "integer",
  4555. "description": "成交单号",
  4556. "name": "tradeID",
  4557. "in": "query"
  4558. },
  4559. {
  4560. "type": "integer",
  4561. "description": "委托单号",
  4562. "name": "orderID",
  4563. "in": "query"
  4564. },
  4565. {
  4566. "type": "string",
  4567. "description": "交易模式 - 格式:1,2,3",
  4568. "name": "tradeMode",
  4569. "in": "query"
  4570. },
  4571. {
  4572. "type": "integer",
  4573. "description": "委托单据类型",
  4574. "name": "buildType",
  4575. "in": "query"
  4576. },
  4577. {
  4578. "type": "string",
  4579. "description": "成交类别 - 格式:1,2,3",
  4580. "name": "tradeType",
  4581. "in": "query"
  4582. },
  4583. {
  4584. "type": "string",
  4585. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  4586. "name": "startDate",
  4587. "in": "query"
  4588. },
  4589. {
  4590. "type": "string",
  4591. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  4592. "name": "endDate",
  4593. "in": "query"
  4594. }
  4595. ],
  4596. "responses": {
  4597. "200": {
  4598. "description": "OK",
  4599. "schema": {
  4600. "$ref": "#/definitions/order.QueryHisTradeDetailRsp"
  4601. }
  4602. },
  4603. "500": {
  4604. "description": "Internal Server Error",
  4605. "schema": {
  4606. "$ref": "#/definitions/app.Response"
  4607. }
  4608. }
  4609. }
  4610. }
  4611. },
  4612. "/Order/QueryHisTradeOrderDetail": {
  4613. "get": {
  4614. "security": [
  4615. {
  4616. "ApiKeyAuth": []
  4617. }
  4618. ],
  4619. "produces": [
  4620. "application/json"
  4621. ],
  4622. "tags": [
  4623. "通用单据"
  4624. ],
  4625. "summary": "历史委托单查询请求(合约市场)",
  4626. "parameters": [
  4627. {
  4628. "type": "string",
  4629. "description": "资金账户 - 格式:1,2,3",
  4630. "name": "accountID",
  4631. "in": "query",
  4632. "required": true
  4633. },
  4634. {
  4635. "type": "string",
  4636. "description": "交易模式 - 格式:1,2,3",
  4637. "name": "tradeMode",
  4638. "in": "query"
  4639. },
  4640. {
  4641. "type": "string",
  4642. "description": "委托状态 - 格式:1,2,3",
  4643. "name": "orderStatus",
  4644. "in": "query"
  4645. },
  4646. {
  4647. "type": "integer",
  4648. "description": "委托单号",
  4649. "name": "orderID",
  4650. "in": "query"
  4651. },
  4652. {
  4653. "type": "string",
  4654. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  4655. "name": "startDate",
  4656. "in": "query"
  4657. },
  4658. {
  4659. "type": "string",
  4660. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  4661. "name": "endDate",
  4662. "in": "query"
  4663. }
  4664. ],
  4665. "responses": {
  4666. "200": {
  4667. "description": "OK",
  4668. "schema": {
  4669. "$ref": "#/definitions/order.QueryHisTradeOrderDetailRsp"
  4670. }
  4671. },
  4672. "500": {
  4673. "description": "Internal Server Error",
  4674. "schema": {
  4675. "$ref": "#/definitions/app.Response"
  4676. }
  4677. }
  4678. }
  4679. }
  4680. },
  4681. "/Order/QueryTradeDetail": {
  4682. "get": {
  4683. "security": [
  4684. {
  4685. "ApiKeyAuth": []
  4686. }
  4687. ],
  4688. "produces": [
  4689. "application/json"
  4690. ],
  4691. "tags": [
  4692. "通用单据"
  4693. ],
  4694. "summary": "成交单查询(合约市场)",
  4695. "parameters": [
  4696. {
  4697. "type": "string",
  4698. "description": "资金账户 - 格式:1,2,3",
  4699. "name": "accountID",
  4700. "in": "query",
  4701. "required": true
  4702. },
  4703. {
  4704. "type": "integer",
  4705. "description": "成交单号",
  4706. "name": "tradeID",
  4707. "in": "query"
  4708. },
  4709. {
  4710. "type": "integer",
  4711. "description": "委托单号",
  4712. "name": "orderID",
  4713. "in": "query"
  4714. },
  4715. {
  4716. "type": "string",
  4717. "description": "交易模式 - 格式:1,2,3",
  4718. "name": "tradeMode",
  4719. "in": "query"
  4720. },
  4721. {
  4722. "type": "integer",
  4723. "description": "委托单据类型",
  4724. "name": "buildType",
  4725. "in": "query"
  4726. },
  4727. {
  4728. "type": "string",
  4729. "description": "成交类别 - 格式:1,2,3",
  4730. "name": "tradeType",
  4731. "in": "query"
  4732. }
  4733. ],
  4734. "responses": {
  4735. "200": {
  4736. "description": "OK",
  4737. "schema": {
  4738. "$ref": "#/definitions/order.QueryTradeDetailRsp"
  4739. }
  4740. },
  4741. "500": {
  4742. "description": "Internal Server Error",
  4743. "schema": {
  4744. "$ref": "#/definitions/app.Response"
  4745. }
  4746. }
  4747. }
  4748. }
  4749. },
  4750. "/Order/QueryTradeOrderDetail": {
  4751. "get": {
  4752. "security": [
  4753. {
  4754. "ApiKeyAuth": []
  4755. }
  4756. ],
  4757. "produces": [
  4758. "application/json"
  4759. ],
  4760. "tags": [
  4761. "通用单据"
  4762. ],
  4763. "summary": "委托单查询请求(合约市场)",
  4764. "parameters": [
  4765. {
  4766. "type": "string",
  4767. "description": "资金账户 - 格式:1,2,3",
  4768. "name": "accountID",
  4769. "in": "query",
  4770. "required": true
  4771. },
  4772. {
  4773. "type": "string",
  4774. "description": "交易模式 - 格式:1,2,3",
  4775. "name": "tradeMode",
  4776. "in": "query"
  4777. },
  4778. {
  4779. "type": "string",
  4780. "description": "委托状态 - 格式:1,2,3",
  4781. "name": "orderStatus",
  4782. "in": "query"
  4783. },
  4784. {
  4785. "type": "integer",
  4786. "description": "委托单号",
  4787. "name": "orderID",
  4788. "in": "query"
  4789. }
  4790. ],
  4791. "responses": {
  4792. "200": {
  4793. "description": "OK",
  4794. "schema": {
  4795. "$ref": "#/definitions/order.QueryTradeOrderDetailRsp"
  4796. }
  4797. },
  4798. "500": {
  4799. "description": "Internal Server Error",
  4800. "schema": {
  4801. "$ref": "#/definitions/app.Response"
  4802. }
  4803. }
  4804. }
  4805. }
  4806. },
  4807. "/Order/QueryTradePosition": {
  4808. "get": {
  4809. "security": [
  4810. {
  4811. "ApiKeyAuth": []
  4812. }
  4813. ],
  4814. "produces": [
  4815. "application/json"
  4816. ],
  4817. "tags": [
  4818. "通用单据"
  4819. ],
  4820. "summary": "持仓汇总查询(合约市场)",
  4821. "parameters": [
  4822. {
  4823. "type": "string",
  4824. "description": "资金账户 - 格式:1,2,3",
  4825. "name": "accountID",
  4826. "in": "query",
  4827. "required": true
  4828. },
  4829. {
  4830. "type": "string",
  4831. "description": "交易模式 - 格式:1,2,3",
  4832. "name": "tradeMode",
  4833. "in": "query"
  4834. }
  4835. ],
  4836. "responses": {
  4837. "200": {
  4838. "description": "OK",
  4839. "schema": {
  4840. "$ref": "#/definitions/order.QueryTradePositionRsp"
  4841. }
  4842. },
  4843. "500": {
  4844. "description": "Internal Server Error",
  4845. "schema": {
  4846. "$ref": "#/definitions/app.Response"
  4847. }
  4848. }
  4849. }
  4850. }
  4851. },
  4852. "/Quote/QueryHistoryDatas": {
  4853. "get": {
  4854. "security": [
  4855. {
  4856. "ApiKeyAuth": []
  4857. }
  4858. ],
  4859. "produces": [
  4860. "application/json"
  4861. ],
  4862. "tags": [
  4863. "行情服务"
  4864. ],
  4865. "summary": "查询行情历史数据",
  4866. "parameters": [
  4867. {
  4868. "type": "integer",
  4869. "description": "周期类型, 0-秒 1: 1分钟 2: 5分钟 3: 30分钟 4: 60分钟 120: 2小时 240: 4小时 11: 日线 10: Tik",
  4870. "name": "cycleType",
  4871. "in": "query",
  4872. "required": true
  4873. },
  4874. {
  4875. "type": "string",
  4876. "description": "商品代码",
  4877. "name": "goodsCode",
  4878. "in": "query",
  4879. "required": true
  4880. },
  4881. {
  4882. "type": "string",
  4883. "description": "开始时间,格式:yyyy-MM-dd HH:mm:ss",
  4884. "name": "startTime",
  4885. "in": "query"
  4886. },
  4887. {
  4888. "type": "string",
  4889. "description": "结束时间,格式:yyyy-MM-dd HH:mm:ss",
  4890. "name": "endTime",
  4891. "in": "query"
  4892. },
  4893. {
  4894. "type": "integer",
  4895. "description": "条数",
  4896. "name": "count",
  4897. "in": "query"
  4898. },
  4899. {
  4900. "type": "boolean",
  4901. "description": "是否按时间顺序排序(默认为时间倒序排序)",
  4902. "name": "isAsc",
  4903. "in": "query"
  4904. }
  4905. ],
  4906. "responses": {
  4907. "200": {
  4908. "description": "OK",
  4909. "schema": {
  4910. "$ref": "#/definitions/quote.HistoryData"
  4911. }
  4912. },
  4913. "500": {
  4914. "description": "Internal Server Error",
  4915. "schema": {
  4916. "$ref": "#/definitions/app.Response"
  4917. }
  4918. }
  4919. }
  4920. }
  4921. },
  4922. "/Quote/QueryQuoteDay": {
  4923. "get": {
  4924. "security": [
  4925. {
  4926. "ApiKeyAuth": []
  4927. }
  4928. ],
  4929. "produces": [
  4930. "application/json"
  4931. ],
  4932. "tags": [
  4933. "行情服务"
  4934. ],
  4935. "summary": "获取商品盘面信息",
  4936. "parameters": [
  4937. {
  4938. "type": "string",
  4939. "description": "商品代码列表,格式:CU2102,CU2103,AL2107",
  4940. "name": "goodsCodes",
  4941. "in": "query",
  4942. "required": true
  4943. }
  4944. ],
  4945. "responses": {
  4946. "200": {
  4947. "description": "OK",
  4948. "schema": {
  4949. "$ref": "#/definitions/quote.QueryQuoteDayRsp"
  4950. }
  4951. },
  4952. "500": {
  4953. "description": "Internal Server Error",
  4954. "schema": {
  4955. "$ref": "#/definitions/app.Response"
  4956. }
  4957. }
  4958. }
  4959. }
  4960. },
  4961. "/Quote/QueryTSData": {
  4962. "get": {
  4963. "produces": [
  4964. "application/json"
  4965. ],
  4966. "tags": [
  4967. "行情服务"
  4968. ],
  4969. "summary": "分时图数据查询",
  4970. "parameters": [
  4971. {
  4972. "type": "string",
  4973. "description": "商品代码",
  4974. "name": "goodsCode",
  4975. "in": "query",
  4976. "required": true
  4977. }
  4978. ],
  4979. "responses": {
  4980. "200": {
  4981. "description": "OK",
  4982. "schema": {
  4983. "$ref": "#/definitions/quote.QueryTSDataRsp"
  4984. }
  4985. },
  4986. "500": {
  4987. "description": "Internal Server Error",
  4988. "schema": {
  4989. "$ref": "#/definitions/app.Response"
  4990. }
  4991. }
  4992. }
  4993. }
  4994. },
  4995. "/SZDZ/QueryConvertConfig": {
  4996. "get": {
  4997. "security": [
  4998. {
  4999. "ApiKeyAuth": []
  5000. }
  5001. ],
  5002. "produces": [
  5003. "application/json"
  5004. ],
  5005. "tags": [
  5006. "定制【尚志大宗】"
  5007. ],
  5008. "summary": "查询交易系统转换设置",
  5009. "parameters": [
  5010. {
  5011. "type": "integer",
  5012. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)",
  5013. "name": "convertType",
  5014. "in": "query"
  5015. },
  5016. {
  5017. "type": "string",
  5018. "description": "外部商品代码[JD\\PD]",
  5019. "name": "outerGoodsCode",
  5020. "in": "query"
  5021. },
  5022. {
  5023. "type": "string",
  5024. "description": "内部商品ID列表[交易],格式:1,2,3",
  5025. "name": "innerGoodsIDs",
  5026. "in": "query"
  5027. }
  5028. ],
  5029. "responses": {
  5030. "200": {
  5031. "description": "OK",
  5032. "schema": {
  5033. "$ref": "#/definitions/models.Szdz3convertconfig"
  5034. }
  5035. },
  5036. "500": {
  5037. "description": "Internal Server Error",
  5038. "schema": {
  5039. "$ref": "#/definitions/app.Response"
  5040. }
  5041. }
  5042. }
  5043. }
  5044. },
  5045. "/SZDZ/QueryConvertLog": {
  5046. "get": {
  5047. "security": [
  5048. {
  5049. "ApiKeyAuth": []
  5050. }
  5051. ],
  5052. "produces": [
  5053. "application/json"
  5054. ],
  5055. "tags": [
  5056. "定制【尚志大宗】"
  5057. ],
  5058. "summary": "交易系统转换流水查询",
  5059. "parameters": [
  5060. {
  5061. "type": "string",
  5062. "description": "资金账户 - 格式:1,2,3",
  5063. "name": "accountID",
  5064. "in": "query",
  5065. "required": true
  5066. },
  5067. {
  5068. "type": "string",
  5069. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  5070. "name": "startDate",
  5071. "in": "query"
  5072. },
  5073. {
  5074. "type": "string",
  5075. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  5076. "name": "endDate",
  5077. "in": "query"
  5078. }
  5079. ],
  5080. "responses": {
  5081. "200": {
  5082. "description": "OK",
  5083. "schema": {
  5084. "$ref": "#/definitions/szdz.QueryConvertLogRsp"
  5085. }
  5086. },
  5087. "500": {
  5088. "description": "Internal Server Error",
  5089. "schema": {
  5090. "$ref": "#/definitions/app.Response"
  5091. }
  5092. }
  5093. }
  5094. }
  5095. },
  5096. "/SZDZ/QueryGoodsPickup": {
  5097. "get": {
  5098. "security": [
  5099. {
  5100. "ApiKeyAuth": []
  5101. }
  5102. ],
  5103. "produces": [
  5104. "application/json"
  5105. ],
  5106. "tags": [
  5107. "定制【尚志大宗】"
  5108. ],
  5109. "summary": "商品提货单查询",
  5110. "parameters": [
  5111. {
  5112. "type": "string",
  5113. "description": "资金账户 - 格式:1,2,3",
  5114. "name": "accountID",
  5115. "in": "query",
  5116. "required": true
  5117. },
  5118. {
  5119. "type": "integer",
  5120. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  5121. "name": "takeOrderStatus",
  5122. "in": "query"
  5123. }
  5124. ],
  5125. "responses": {
  5126. "200": {
  5127. "description": "OK",
  5128. "schema": {
  5129. "$ref": "#/definitions/szdz.QueryGoodsPickupRsp"
  5130. }
  5131. },
  5132. "500": {
  5133. "description": "Internal Server Error",
  5134. "schema": {
  5135. "$ref": "#/definitions/app.Response"
  5136. }
  5137. }
  5138. }
  5139. }
  5140. },
  5141. "/SZDZ/QueryRecieptOrder": {
  5142. "get": {
  5143. "security": [
  5144. {
  5145. "ApiKeyAuth": []
  5146. }
  5147. ],
  5148. "description": "说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算",
  5149. "produces": [
  5150. "application/json"
  5151. ],
  5152. "tags": [
  5153. "定制【尚志大宗】"
  5154. ],
  5155. "summary": "点选挂牌委托单据查询(摘牌大厅)",
  5156. "parameters": [
  5157. {
  5158. "type": "integer",
  5159. "description": "页码",
  5160. "name": "page",
  5161. "in": "query"
  5162. },
  5163. {
  5164. "type": "integer",
  5165. "description": "每页条数",
  5166. "name": "pagesize",
  5167. "in": "query"
  5168. },
  5169. {
  5170. "type": "integer",
  5171. "description": "商品ID",
  5172. "name": "goodsID",
  5173. "in": "query",
  5174. "required": true
  5175. },
  5176. {
  5177. "type": "string",
  5178. "description": "所属账户名称",
  5179. "name": "accountName",
  5180. "in": "query"
  5181. },
  5182. {
  5183. "type": "integer",
  5184. "description": "市场ID",
  5185. "name": "marketID",
  5186. "in": "query"
  5187. },
  5188. {
  5189. "type": "integer",
  5190. "description": "方向 - 0:买 1:卖",
  5191. "name": "buyorsell",
  5192. "in": "query",
  5193. "required": true
  5194. }
  5195. ],
  5196. "responses": {
  5197. "200": {
  5198. "description": "OK",
  5199. "schema": {
  5200. "$ref": "#/definitions/szdz.QueryRecieptOrderRsp"
  5201. }
  5202. },
  5203. "500": {
  5204. "description": "Internal Server Error",
  5205. "schema": {
  5206. "$ref": "#/definitions/app.Response"
  5207. }
  5208. }
  5209. }
  5210. }
  5211. },
  5212. "/SZDZ/QuerySZDZTradePosition": {
  5213. "get": {
  5214. "security": [
  5215. {
  5216. "ApiKeyAuth": []
  5217. }
  5218. ],
  5219. "produces": [
  5220. "application/json"
  5221. ],
  5222. "tags": [
  5223. "定制【尚志大宗】"
  5224. ],
  5225. "summary": "持仓汇总查询(尚志大宗)",
  5226. "parameters": [
  5227. {
  5228. "type": "integer",
  5229. "description": "资金账户",
  5230. "name": "accountID",
  5231. "in": "query",
  5232. "required": true
  5233. }
  5234. ],
  5235. "responses": {
  5236. "200": {
  5237. "description": "OK",
  5238. "schema": {
  5239. "$ref": "#/definitions/szdz.QuerySZDZTradePositionRsp"
  5240. }
  5241. },
  5242. "500": {
  5243. "description": "Internal Server Error",
  5244. "schema": {
  5245. "$ref": "#/definitions/app.Response"
  5246. }
  5247. }
  5248. }
  5249. }
  5250. },
  5251. "/SZDZ/SearchWhite": {
  5252. "get": {
  5253. "security": [
  5254. {
  5255. "ApiKeyAuth": []
  5256. }
  5257. ],
  5258. "produces": [
  5259. "application/json"
  5260. ],
  5261. "tags": [
  5262. "定制【尚志大宗】"
  5263. ],
  5264. "summary": "搜索白名单",
  5265. "parameters": [
  5266. {
  5267. "type": "integer",
  5268. "description": "用户ID",
  5269. "name": "userID",
  5270. "in": "query",
  5271. "required": true
  5272. }
  5273. ],
  5274. "responses": {
  5275. "200": {
  5276. "description": "OK",
  5277. "schema": {
  5278. "$ref": "#/definitions/models.Szdz3searchwhitelist"
  5279. }
  5280. },
  5281. "500": {
  5282. "description": "Internal Server Error",
  5283. "schema": {
  5284. "$ref": "#/definitions/app.Response"
  5285. }
  5286. }
  5287. }
  5288. }
  5289. },
  5290. "/Search/SearchGoodses": {
  5291. "get": {
  5292. "description": "说明:使用检索内容模糊匹配商品代码和商品名称",
  5293. "produces": [
  5294. "application/json"
  5295. ],
  5296. "tags": [
  5297. "检索服务"
  5298. ],
  5299. "summary": "检索商品信息",
  5300. "parameters": [
  5301. {
  5302. "type": "string",
  5303. "description": "检索内容",
  5304. "name": "content",
  5305. "in": "query",
  5306. "required": true
  5307. },
  5308. {
  5309. "type": "string",
  5310. "description": "交易模式,格式:1,2,3",
  5311. "name": "tradeModes",
  5312. "in": "query"
  5313. }
  5314. ],
  5315. "responses": {
  5316. "200": {
  5317. "description": "OK",
  5318. "schema": {
  5319. "$ref": "#/definitions/models.SearchGoods"
  5320. }
  5321. },
  5322. "500": {
  5323. "description": "Internal Server Error",
  5324. "schema": {
  5325. "$ref": "#/definitions/app.Response"
  5326. }
  5327. }
  5328. }
  5329. }
  5330. },
  5331. "/TaAccount/GetTaAccounts": {
  5332. "get": {
  5333. "security": [
  5334. {
  5335. "ApiKeyAuth": []
  5336. }
  5337. ],
  5338. "produces": [
  5339. "application/json"
  5340. ],
  5341. "tags": [
  5342. "资金账户"
  5343. ],
  5344. "summary": "获取资金账户信息",
  5345. "parameters": [
  5346. {
  5347. "type": "integer",
  5348. "description": "登录账户",
  5349. "name": "loginID",
  5350. "in": "query",
  5351. "required": true
  5352. },
  5353. {
  5354. "type": "integer",
  5355. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  5356. "name": "taAccountType",
  5357. "in": "query"
  5358. }
  5359. ],
  5360. "responses": {
  5361. "200": {
  5362. "description": "OK",
  5363. "schema": {
  5364. "$ref": "#/definitions/models.Taaccount"
  5365. }
  5366. },
  5367. "500": {
  5368. "description": "Internal Server Error",
  5369. "schema": {
  5370. "$ref": "#/definitions/app.Response"
  5371. }
  5372. }
  5373. }
  5374. }
  5375. },
  5376. "/TaAccount/QueryAmountLog": {
  5377. "get": {
  5378. "security": [
  5379. {
  5380. "ApiKeyAuth": []
  5381. }
  5382. ],
  5383. "produces": [
  5384. "application/json"
  5385. ],
  5386. "tags": [
  5387. "资金账户"
  5388. ],
  5389. "summary": "资金流水查询(当前)",
  5390. "parameters": [
  5391. {
  5392. "type": "integer",
  5393. "description": "页码",
  5394. "name": "page",
  5395. "in": "query"
  5396. },
  5397. {
  5398. "type": "integer",
  5399. "description": "每页条数",
  5400. "name": "pagesize",
  5401. "in": "query"
  5402. },
  5403. {
  5404. "type": "string",
  5405. "description": "资金账户 - 格式:1,2,3",
  5406. "name": "accountID",
  5407. "in": "query",
  5408. "required": true
  5409. },
  5410. {
  5411. "type": "string",
  5412. "description": "资金操作类型 - 格式:1,2,3",
  5413. "name": "OperateType",
  5414. "in": "query"
  5415. }
  5416. ],
  5417. "responses": {
  5418. "200": {
  5419. "description": "OK",
  5420. "schema": {
  5421. "$ref": "#/definitions/taaccount.QueryAmountLogRsp"
  5422. }
  5423. },
  5424. "500": {
  5425. "description": "Internal Server Error",
  5426. "schema": {
  5427. "$ref": "#/definitions/app.Response"
  5428. }
  5429. }
  5430. }
  5431. }
  5432. },
  5433. "/TaAccount/QueryHisAmountLog": {
  5434. "get": {
  5435. "security": [
  5436. {
  5437. "ApiKeyAuth": []
  5438. }
  5439. ],
  5440. "produces": [
  5441. "application/json"
  5442. ],
  5443. "tags": [
  5444. "资金账户"
  5445. ],
  5446. "summary": "资金流水查询(历史)",
  5447. "parameters": [
  5448. {
  5449. "type": "integer",
  5450. "description": "页码",
  5451. "name": "page",
  5452. "in": "query"
  5453. },
  5454. {
  5455. "type": "integer",
  5456. "description": "每页条数",
  5457. "name": "pagesize",
  5458. "in": "query"
  5459. },
  5460. {
  5461. "type": "string",
  5462. "description": "资金账户 - 格式:1,2,3",
  5463. "name": "accountID",
  5464. "in": "query",
  5465. "required": true
  5466. },
  5467. {
  5468. "type": "string",
  5469. "description": "资金操作类型 - 格式:1,2,3",
  5470. "name": "OperateType",
  5471. "in": "query"
  5472. },
  5473. {
  5474. "type": "string",
  5475. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  5476. "name": "startDate",
  5477. "in": "query"
  5478. },
  5479. {
  5480. "type": "string",
  5481. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  5482. "name": "endDate",
  5483. "in": "query"
  5484. }
  5485. ],
  5486. "responses": {
  5487. "200": {
  5488. "description": "OK",
  5489. "schema": {
  5490. "$ref": "#/definitions/taaccount.QueryHisAmountLogRsp"
  5491. }
  5492. },
  5493. "500": {
  5494. "description": "Internal Server Error",
  5495. "schema": {
  5496. "$ref": "#/definitions/app.Response"
  5497. }
  5498. }
  5499. }
  5500. }
  5501. },
  5502. "/Trade/QueryRecieptOrder": {
  5503. "get": {
  5504. "security": [
  5505. {
  5506. "ApiKeyAuth": []
  5507. }
  5508. ],
  5509. "description": "说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算",
  5510. "produces": [
  5511. "application/json"
  5512. ],
  5513. "tags": [
  5514. "通用交易"
  5515. ],
  5516. "summary": "点选挂牌委托单据查询(保证金摘牌大厅)",
  5517. "parameters": [
  5518. {
  5519. "type": "integer",
  5520. "description": "页码",
  5521. "name": "page",
  5522. "in": "query"
  5523. },
  5524. {
  5525. "type": "integer",
  5526. "description": "每页条数",
  5527. "name": "pagesize",
  5528. "in": "query"
  5529. },
  5530. {
  5531. "type": "integer",
  5532. "description": "商品ID",
  5533. "name": "goodsID",
  5534. "in": "query",
  5535. "required": true
  5536. },
  5537. {
  5538. "type": "string",
  5539. "description": "所属账户名称",
  5540. "name": "accountName",
  5541. "in": "query"
  5542. },
  5543. {
  5544. "type": "integer",
  5545. "description": "市场ID",
  5546. "name": "marketID",
  5547. "in": "query"
  5548. },
  5549. {
  5550. "type": "integer",
  5551. "description": "方向 - 0:买 1:卖",
  5552. "name": "buyorsell",
  5553. "in": "query",
  5554. "required": true
  5555. }
  5556. ],
  5557. "responses": {
  5558. "200": {
  5559. "description": "OK",
  5560. "schema": {
  5561. "$ref": "#/definitions/trade.QueryRecieptOrderRsp"
  5562. }
  5563. },
  5564. "500": {
  5565. "description": "Internal Server Error",
  5566. "schema": {
  5567. "$ref": "#/definitions/app.Response"
  5568. }
  5569. }
  5570. }
  5571. }
  5572. },
  5573. "/User/AddMessageBoard": {
  5574. "post": {
  5575. "security": [
  5576. {
  5577. "ApiKeyAuth": []
  5578. }
  5579. ],
  5580. "produces": [
  5581. "application/json"
  5582. ],
  5583. "tags": [
  5584. "用户信息"
  5585. ],
  5586. "summary": "添加用户留言板信息",
  5587. "parameters": [
  5588. {
  5589. "type": "integer",
  5590. "description": "用户ID",
  5591. "name": "userID",
  5592. "in": "query",
  5593. "required": true
  5594. },
  5595. {
  5596. "type": "string",
  5597. "description": "留言信息",
  5598. "name": "message",
  5599. "in": "query",
  5600. "required": true
  5601. }
  5602. ],
  5603. "responses": {
  5604. "200": {
  5605. "description": "OK",
  5606. "schema": {
  5607. "$ref": "#/definitions/app.Response"
  5608. }
  5609. },
  5610. "500": {
  5611. "description": "Internal Server Error",
  5612. "schema": {
  5613. "$ref": "#/definitions/app.Response"
  5614. }
  5615. }
  5616. }
  5617. }
  5618. },
  5619. "/User/AddUserFavoriteGoods": {
  5620. "post": {
  5621. "security": [
  5622. {
  5623. "ApiKeyAuth": []
  5624. }
  5625. ],
  5626. "produces": [
  5627. "application/json"
  5628. ],
  5629. "tags": [
  5630. "用户信息"
  5631. ],
  5632. "summary": "添加用户商品收藏信息",
  5633. "parameters": [
  5634. {
  5635. "type": "integer",
  5636. "description": "用户ID",
  5637. "name": "userID",
  5638. "in": "query",
  5639. "required": true
  5640. },
  5641. {
  5642. "type": "integer",
  5643. "description": "商品ID",
  5644. "name": "goodsID",
  5645. "in": "query",
  5646. "required": true
  5647. }
  5648. ],
  5649. "responses": {
  5650. "200": {
  5651. "description": "OK",
  5652. "schema": {
  5653. "$ref": "#/definitions/app.Response"
  5654. }
  5655. },
  5656. "500": {
  5657. "description": "Internal Server Error",
  5658. "schema": {
  5659. "$ref": "#/definitions/app.Response"
  5660. }
  5661. }
  5662. }
  5663. }
  5664. },
  5665. "/User/GetLoginID": {
  5666. "get": {
  5667. "description": "UserName 可传入“登录账号”、“登录代码”和“手机号码”",
  5668. "produces": [
  5669. "application/json"
  5670. ],
  5671. "tags": [
  5672. "用户信息"
  5673. ],
  5674. "summary": "获取登录ID",
  5675. "parameters": [
  5676. {
  5677. "type": "string",
  5678. "description": "登录代码",
  5679. "name": "username",
  5680. "in": "query",
  5681. "required": true
  5682. }
  5683. ],
  5684. "responses": {
  5685. "200": {
  5686. "description": "OK",
  5687. "schema": {
  5688. "$ref": "#/definitions/app.Response"
  5689. }
  5690. },
  5691. "500": {
  5692. "description": "Internal Server Error",
  5693. "schema": {
  5694. "$ref": "#/definitions/app.Response"
  5695. }
  5696. }
  5697. }
  5698. }
  5699. },
  5700. "/User/GetUserAccount": {
  5701. "get": {
  5702. "security": [
  5703. {
  5704. "ApiKeyAuth": []
  5705. }
  5706. ],
  5707. "produces": [
  5708. "application/json"
  5709. ],
  5710. "tags": [
  5711. "用户信息"
  5712. ],
  5713. "summary": "获取用户账号信息",
  5714. "parameters": [
  5715. {
  5716. "type": "integer",
  5717. "description": "用户ID",
  5718. "name": "userID",
  5719. "in": "query",
  5720. "required": true
  5721. }
  5722. ],
  5723. "responses": {
  5724. "200": {
  5725. "description": "OK",
  5726. "schema": {
  5727. "$ref": "#/definitions/models.Useraccount"
  5728. }
  5729. },
  5730. "500": {
  5731. "description": "Internal Server Error",
  5732. "schema": {
  5733. "$ref": "#/definitions/app.Response"
  5734. }
  5735. }
  5736. }
  5737. }
  5738. },
  5739. "/User/GetUserAuthStatus": {
  5740. "get": {
  5741. "security": [
  5742. {
  5743. "ApiKeyAuth": []
  5744. }
  5745. ],
  5746. "produces": [
  5747. "application/json"
  5748. ],
  5749. "tags": [
  5750. "用户信息"
  5751. ],
  5752. "summary": "获取用户实名认证状态",
  5753. "parameters": [
  5754. {
  5755. "type": "integer",
  5756. "description": "用户ID",
  5757. "name": "userID",
  5758. "in": "query",
  5759. "required": true
  5760. }
  5761. ],
  5762. "responses": {
  5763. "200": {
  5764. "description": "OK",
  5765. "schema": {
  5766. "$ref": "#/definitions/app.Response"
  5767. }
  5768. },
  5769. "500": {
  5770. "description": "Internal Server Error",
  5771. "schema": {
  5772. "$ref": "#/definitions/app.Response"
  5773. }
  5774. }
  5775. }
  5776. }
  5777. },
  5778. "/User/QueryMessageBoard": {
  5779. "get": {
  5780. "security": [
  5781. {
  5782. "ApiKeyAuth": []
  5783. }
  5784. ],
  5785. "produces": [
  5786. "application/json"
  5787. ],
  5788. "tags": [
  5789. "用户信息"
  5790. ],
  5791. "summary": "获取用户留言板信息",
  5792. "parameters": [
  5793. {
  5794. "type": "integer",
  5795. "description": "用户ID",
  5796. "name": "userID",
  5797. "in": "query",
  5798. "required": true
  5799. }
  5800. ],
  5801. "responses": {
  5802. "200": {
  5803. "description": "OK",
  5804. "schema": {
  5805. "$ref": "#/definitions/models.Messageboard"
  5806. }
  5807. },
  5808. "500": {
  5809. "description": "Internal Server Error",
  5810. "schema": {
  5811. "$ref": "#/definitions/app.Response"
  5812. }
  5813. }
  5814. }
  5815. }
  5816. },
  5817. "/User/QueryUserFavoriteGoodses": {
  5818. "get": {
  5819. "security": [
  5820. {
  5821. "ApiKeyAuth": []
  5822. }
  5823. ],
  5824. "produces": [
  5825. "application/json"
  5826. ],
  5827. "tags": [
  5828. "用户信息"
  5829. ],
  5830. "summary": "获取用户商品收藏信息",
  5831. "parameters": [
  5832. {
  5833. "type": "integer",
  5834. "description": "用户ID",
  5835. "name": "userID",
  5836. "in": "query",
  5837. "required": true
  5838. }
  5839. ],
  5840. "responses": {
  5841. "200": {
  5842. "description": "OK",
  5843. "schema": {
  5844. "$ref": "#/definitions/models.Userfavoritegoods"
  5845. }
  5846. },
  5847. "500": {
  5848. "description": "Internal Server Error",
  5849. "schema": {
  5850. "$ref": "#/definitions/app.Response"
  5851. }
  5852. }
  5853. }
  5854. }
  5855. },
  5856. "/User/QueryUserInfo": {
  5857. "get": {
  5858. "security": [
  5859. {
  5860. "ApiKeyAuth": []
  5861. }
  5862. ],
  5863. "produces": [
  5864. "application/json"
  5865. ],
  5866. "tags": [
  5867. "用户信息"
  5868. ],
  5869. "summary": "获取用户信息",
  5870. "parameters": [
  5871. {
  5872. "type": "integer",
  5873. "description": "用户ID",
  5874. "name": "userID",
  5875. "in": "query",
  5876. "required": true
  5877. }
  5878. ],
  5879. "responses": {
  5880. "200": {
  5881. "description": "OK",
  5882. "schema": {
  5883. "$ref": "#/definitions/models.Userinfo"
  5884. }
  5885. },
  5886. "500": {
  5887. "description": "Internal Server Error",
  5888. "schema": {
  5889. "$ref": "#/definitions/app.Response"
  5890. }
  5891. }
  5892. }
  5893. }
  5894. },
  5895. "/User/QueryUserReferNum": {
  5896. "get": {
  5897. "produces": [
  5898. "application/json"
  5899. ],
  5900. "tags": [
  5901. "用户信息"
  5902. ],
  5903. "summary": "获取用户邀请码",
  5904. "parameters": [
  5905. {
  5906. "type": "integer",
  5907. "description": "用户ID",
  5908. "name": "userID",
  5909. "in": "query",
  5910. "required": true
  5911. }
  5912. ],
  5913. "responses": {
  5914. "200": {
  5915. "description": "OK",
  5916. "schema": {
  5917. "$ref": "#/definitions/app.Response"
  5918. }
  5919. },
  5920. "500": {
  5921. "description": "Internal Server Error",
  5922. "schema": {
  5923. "$ref": "#/definitions/app.Response"
  5924. }
  5925. }
  5926. }
  5927. }
  5928. },
  5929. "/User/RemoveUserFavoriteGoods": {
  5930. "post": {
  5931. "security": [
  5932. {
  5933. "ApiKeyAuth": []
  5934. }
  5935. ],
  5936. "produces": [
  5937. "application/json"
  5938. ],
  5939. "tags": [
  5940. "用户信息"
  5941. ],
  5942. "summary": "移除用户商品收藏信息",
  5943. "parameters": [
  5944. {
  5945. "type": "integer",
  5946. "description": "用户ID",
  5947. "name": "userID",
  5948. "in": "query",
  5949. "required": true
  5950. },
  5951. {
  5952. "type": "integer",
  5953. "description": "商品ID",
  5954. "name": "goodsID",
  5955. "in": "query",
  5956. "required": true
  5957. }
  5958. ],
  5959. "responses": {
  5960. "200": {
  5961. "description": "OK",
  5962. "schema": {
  5963. "$ref": "#/definitions/app.Response"
  5964. }
  5965. },
  5966. "500": {
  5967. "description": "Internal Server Error",
  5968. "schema": {
  5969. "$ref": "#/definitions/app.Response"
  5970. }
  5971. }
  5972. }
  5973. }
  5974. },
  5975. "/User/UpdateUserAccountStatus": {
  5976. "post": {
  5977. "security": [
  5978. {
  5979. "ApiKeyAuth": []
  5980. }
  5981. ],
  5982. "produces": [
  5983. "application/json"
  5984. ],
  5985. "tags": [
  5986. "用户信息"
  5987. ],
  5988. "summary": "更新用户状态",
  5989. "parameters": [
  5990. {
  5991. "type": "integer",
  5992. "description": "用户ID",
  5993. "name": "userID",
  5994. "in": "query",
  5995. "required": true
  5996. },
  5997. {
  5998. "type": "integer",
  5999. "description": "账户状态 - 4:正常 6:注销(停用)",
  6000. "name": "accountStatus",
  6001. "in": "query",
  6002. "required": true
  6003. }
  6004. ],
  6005. "responses": {
  6006. "200": {
  6007. "description": "OK",
  6008. "schema": {
  6009. "$ref": "#/definitions/app.Response"
  6010. }
  6011. },
  6012. "500": {
  6013. "description": "Internal Server Error",
  6014. "schema": {
  6015. "$ref": "#/definitions/app.Response"
  6016. }
  6017. }
  6018. }
  6019. }
  6020. },
  6021. "/WR/GetWRCategoryInfo": {
  6022. "get": {
  6023. "produces": [
  6024. "application/json"
  6025. ],
  6026. "tags": [
  6027. "仓单服务"
  6028. ],
  6029. "summary": "获取现货分类信息",
  6030. "responses": {
  6031. "200": {
  6032. "description": "OK",
  6033. "schema": {
  6034. "$ref": "#/definitions/models.WRCategoryTree"
  6035. }
  6036. },
  6037. "500": {
  6038. "description": "Internal Server Error",
  6039. "schema": {
  6040. "$ref": "#/definitions/app.Response"
  6041. }
  6042. }
  6043. }
  6044. }
  6045. },
  6046. "/WRTrade/GetAllDeliveryGoods": {
  6047. "get": {
  6048. "security": [
  6049. {
  6050. "ApiKeyAuth": []
  6051. },
  6052. {
  6053. "ApiKeyAuth": []
  6054. }
  6055. ],
  6056. "produces": [
  6057. "application/json",
  6058. "application/json"
  6059. ],
  6060. "tags": [
  6061. "仓单贸易",
  6062. "仓单贸易"
  6063. ],
  6064. "summary": "获取带仓单分类的种类信息",
  6065. "responses": {
  6066. "200": {
  6067. "description": "OK",
  6068. "schema": {
  6069. "$ref": "#/definitions/app.Response"
  6070. }
  6071. },
  6072. "500": {
  6073. "description": "Internal Server Error",
  6074. "schema": {
  6075. "$ref": "#/definitions/app.Response"
  6076. }
  6077. }
  6078. }
  6079. }
  6080. }
  6081. },
  6082. "definitions": {
  6083. "app.Response": {
  6084. "type": "object",
  6085. "properties": {
  6086. "code": {
  6087. "type": "integer"
  6088. },
  6089. "data": {
  6090. "type": "object"
  6091. },
  6092. "msg": {
  6093. "type": "string"
  6094. },
  6095. "page": {
  6096. "description": "页码",
  6097. "type": "integer"
  6098. },
  6099. "pagesize": {
  6100. "description": "每页条数",
  6101. "type": "integer"
  6102. },
  6103. "total": {
  6104. "description": "总条数",
  6105. "type": "integer"
  6106. }
  6107. }
  6108. },
  6109. "common.QueryNoticeRsp": {
  6110. "type": "object",
  6111. "required": [
  6112. "autoid"
  6113. ],
  6114. "properties": {
  6115. "auditoruserid": {
  6116. "description": "审核人",
  6117. "type": "integer"
  6118. },
  6119. "auditremark": {
  6120. "description": "审核备注",
  6121. "type": "string"
  6122. },
  6123. "audittime": {
  6124. "description": "审核日期",
  6125. "type": "string"
  6126. },
  6127. "autoid": {
  6128. "description": "自增ID",
  6129. "type": "integer"
  6130. },
  6131. "content": {
  6132. "description": "内容",
  6133. "type": "string"
  6134. },
  6135. "createtime": {
  6136. "description": "创建时间",
  6137. "type": "string"
  6138. },
  6139. "creatorid": {
  6140. "description": "建仓人",
  6141. "type": "integer"
  6142. },
  6143. "endtime": {
  6144. "description": "结束时间",
  6145. "type": "string"
  6146. },
  6147. "istop": {
  6148. "description": "是否置顶 - 0:不置顶 1:置顶",
  6149. "type": "integer"
  6150. },
  6151. "msgiconurl": {
  6152. "description": "消息图标Url",
  6153. "type": "string"
  6154. },
  6155. "msgtype": {
  6156. "description": "消息类型 - 1:公告通知 2:系统消息 3:商品到期提货通知",
  6157. "type": "integer"
  6158. },
  6159. "publisher": {
  6160. "description": "消息发布者",
  6161. "type": "string"
  6162. },
  6163. "readed": {
  6164. "description": "是否已读",
  6165. "type": "boolean"
  6166. },
  6167. "scheduletime": {
  6168. "description": "计划发送时间",
  6169. "type": "string"
  6170. },
  6171. "sendtype": {
  6172. "description": "推送方式 - 1:全体广播 2:按会员广播 3:个人推送 4:按会员广播(仅会员)",
  6173. "type": "integer"
  6174. },
  6175. "sentstatus": {
  6176. "description": "推送状态 - 0:未推送 1:已推送 2:审核拒绝",
  6177. "type": "integer"
  6178. },
  6179. "title": {
  6180. "description": "标题",
  6181. "type": "string"
  6182. },
  6183. "userid": {
  6184. "description": "会员/投资者ID推送方式 为 个人时,填写投资者ID",
  6185. "type": "integer"
  6186. }
  6187. }
  6188. },
  6189. "common.QueryProvincesAndCitiesRsp": {
  6190. "type": "object",
  6191. "properties": {
  6192. "cities": {
  6193. "description": "市",
  6194. "type": "array",
  6195. "items": {
  6196. "$ref": "#/definitions/models.Division"
  6197. }
  6198. },
  6199. "province": {
  6200. "description": "省",
  6201. "$ref": "#/definitions/models.Division"
  6202. }
  6203. }
  6204. },
  6205. "common.QueryTableDefineRsp": {
  6206. "type": "object",
  6207. "required": [
  6208. "tablekey"
  6209. ],
  6210. "properties": {
  6211. "columns": {
  6212. "description": "列头信息数组",
  6213. "type": "array",
  6214. "items": {
  6215. "$ref": "#/definitions/models.Tablecolumnconfig"
  6216. }
  6217. },
  6218. "remark": {
  6219. "description": "Remark",
  6220. "type": "string"
  6221. },
  6222. "tabelmenu": {
  6223. "description": "列表菜单",
  6224. "type": "string"
  6225. },
  6226. "tablekey": {
  6227. "description": "列表Key",
  6228. "type": "string"
  6229. },
  6230. "tablename": {
  6231. "description": "列表名称",
  6232. "type": "string"
  6233. },
  6234. "tabletype": {
  6235. "description": "列表类型 - 1:管理端 2:终端",
  6236. "type": "integer"
  6237. }
  6238. }
  6239. },
  6240. "common.QueryTraderMenuRsp": {
  6241. "type": "object",
  6242. "properties": {
  6243. "OperationMenu": {
  6244. "description": "功能菜单",
  6245. "type": "array",
  6246. "items": {
  6247. "$ref": "#/definitions/models.OperationPrimaryMenu"
  6248. }
  6249. },
  6250. "QuoteMenu": {
  6251. "description": "报价牌分类菜单",
  6252. "type": "array",
  6253. "items": {
  6254. "$ref": "#/definitions/models.QuotePrimaryMenu"
  6255. }
  6256. }
  6257. }
  6258. },
  6259. "cptrade.Cptradepositioncancel": {
  6260. "type": "object",
  6261. "required": [
  6262. "cancelid"
  6263. ],
  6264. "properties": {
  6265. "accountid": {
  6266. "description": "申请人账户ID",
  6267. "type": "integer"
  6268. },
  6269. "applystatus": {
  6270. "description": "申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  6271. "type": "integer"
  6272. },
  6273. "applytime": {
  6274. "description": "申请时间",
  6275. "type": "string"
  6276. },
  6277. "cancelid": {
  6278. "description": "注销ID(SEQ_CPTRADE_POSITIONCANCEL)",
  6279. "type": "integer"
  6280. },
  6281. "cancelqty": {
  6282. "description": "注销数量",
  6283. "type": "integer"
  6284. },
  6285. "createtime": {
  6286. "description": "创建时间",
  6287. "type": "string"
  6288. },
  6289. "creatorid": {
  6290. "description": "创建人ID",
  6291. "type": "integer"
  6292. },
  6293. "creatorname": {
  6294. "description": "创建人",
  6295. "type": "string"
  6296. },
  6297. "goodscode": {
  6298. "description": "订单商品代码",
  6299. "type": "string"
  6300. },
  6301. "goodsid": {
  6302. "description": "商品ID",
  6303. "type": "integer"
  6304. },
  6305. "goodsname": {
  6306. "description": "订单商品名称",
  6307. "type": "string"
  6308. },
  6309. "goodunit": {
  6310. "description": "报价单位",
  6311. "type": "string"
  6312. },
  6313. "handlestatus": {
  6314. "description": "处理状态",
  6315. "type": "integer"
  6316. },
  6317. "marketid": {
  6318. "description": "市场ID",
  6319. "type": "integer"
  6320. },
  6321. "marketname": {
  6322. "description": "市场名称",
  6323. "type": "string"
  6324. },
  6325. "tradedate": {
  6326. "description": "交易日(yyyyMMdd)",
  6327. "type": "string"
  6328. },
  6329. "userid": {
  6330. "description": "申请人ID",
  6331. "type": "integer"
  6332. }
  6333. }
  6334. },
  6335. "cptrade.Cptradepresaleapply": {
  6336. "type": "object",
  6337. "required": [
  6338. "applyid"
  6339. ],
  6340. "properties": {
  6341. "accountid": {
  6342. "description": "申请人账户ID",
  6343. "type": "integer"
  6344. },
  6345. "applyid": {
  6346. "description": "申请ID(181+Unix秒时间戳(10位)+xxxxxx)",
  6347. "type": "integer"
  6348. },
  6349. "applyremark": {
  6350. "description": "申请备注",
  6351. "type": "string"
  6352. },
  6353. "applystatus": {
  6354. "description": "申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  6355. "type": "integer"
  6356. },
  6357. "applytime": {
  6358. "description": "申请时间",
  6359. "type": "string"
  6360. },
  6361. "attachmenturl": {
  6362. "description": "附件地址",
  6363. "type": "string"
  6364. },
  6365. "endtime": {
  6366. "description": "预售结束时间",
  6367. "type": "string"
  6368. },
  6369. "goodscode": {
  6370. "description": "商品代码",
  6371. "type": "string"
  6372. },
  6373. "goodsid": {
  6374. "description": "商品ID",
  6375. "type": "integer"
  6376. },
  6377. "goodsname": {
  6378. "description": "商品名称",
  6379. "type": "string"
  6380. },
  6381. "goodunit": {
  6382. "description": "报价单位",
  6383. "type": "string"
  6384. },
  6385. "handlestatus": {
  6386. "description": "处理状态",
  6387. "type": "integer"
  6388. },
  6389. "marketid": {
  6390. "description": "预售市场ID",
  6391. "type": "integer"
  6392. },
  6393. "marketname": {
  6394. "description": "预售市场名称",
  6395. "type": "string"
  6396. },
  6397. "presaleqty": {
  6398. "description": "预售数量",
  6399. "type": "integer"
  6400. },
  6401. "relatedgoodscode": {
  6402. "description": "关联交易合约代码",
  6403. "type": "string"
  6404. },
  6405. "relatedgoodsid": {
  6406. "description": "关联交易合约ID",
  6407. "type": "integer"
  6408. },
  6409. "relatedgoodsname": {
  6410. "description": "关联交易合约名称",
  6411. "type": "string"
  6412. },
  6413. "starttime": {
  6414. "description": "预售开始时间",
  6415. "type": "string"
  6416. },
  6417. "tradedate": {
  6418. "description": "交易日(yyyyMMdd)",
  6419. "type": "string"
  6420. },
  6421. "trademode": {
  6422. "description": "交易模式 - 16:挂牌点选 21:大宗竞拍",
  6423. "type": "integer"
  6424. },
  6425. "userid": {
  6426. "description": "申请人ID",
  6427. "type": "integer"
  6428. }
  6429. }
  6430. },
  6431. "cptrade.Cptradeusergoodsdata": {
  6432. "type": "object",
  6433. "required": [
  6434. "accountid",
  6435. "goodsid"
  6436. ],
  6437. "properties": {
  6438. "EnabledQty": {
  6439. "description": "可用量",
  6440. "type": "integer"
  6441. },
  6442. "GoodsCode": {
  6443. "description": "订单商品代码",
  6444. "type": "string"
  6445. },
  6446. "GoodsName": {
  6447. "description": "订单商品名称",
  6448. "type": "string"
  6449. },
  6450. "WRStandardCode": {
  6451. "description": "仓单标准代码",
  6452. "type": "string"
  6453. },
  6454. "WRStandardName": {
  6455. "description": "仓单标准名称",
  6456. "type": "string"
  6457. },
  6458. "accountid": {
  6459. "description": "账户ID",
  6460. "type": "integer"
  6461. },
  6462. "cancelqty": {
  6463. "description": "注销量",
  6464. "type": "integer"
  6465. },
  6466. "curpresaleqty": {
  6467. "description": "当前预售量",
  6468. "type": "integer"
  6469. },
  6470. "deliveryqty": {
  6471. "description": "交割量",
  6472. "type": "integer"
  6473. },
  6474. "freezeamount": {
  6475. "description": "冻结金额",
  6476. "type": "number"
  6477. },
  6478. "goodsid": {
  6479. "description": "商品ID",
  6480. "type": "integer"
  6481. },
  6482. "goodunit": {
  6483. "description": "报价单位",
  6484. "type": "string"
  6485. },
  6486. "hasspotfreeze": {
  6487. "description": "是否有现货冻结 - 0:否 1:有",
  6488. "type": "integer"
  6489. },
  6490. "inqty": {
  6491. "description": "转入量(总数量)",
  6492. "type": "integer"
  6493. },
  6494. "marketid": {
  6495. "description": "市场ID",
  6496. "type": "integer"
  6497. },
  6498. "presaledamount": {
  6499. "description": "已预售总金额",
  6500. "type": "integer"
  6501. },
  6502. "presaledqty": {
  6503. "description": "已预售量",
  6504. "type": "integer"
  6505. },
  6506. "userid": {
  6507. "description": "用户ID",
  6508. "type": "integer"
  6509. },
  6510. "wrstandardid": {
  6511. "description": "仓单标准ID",
  6512. "type": "integer"
  6513. }
  6514. }
  6515. },
  6516. "cptrade.QueryCPTradeMyBidRsp": {
  6517. "type": "object",
  6518. "required": [
  6519. "accountid",
  6520. "goodsid",
  6521. "marketid",
  6522. "orderid",
  6523. "orderqty",
  6524. "ordertime",
  6525. "tradeprice",
  6526. "tradeqty"
  6527. ],
  6528. "properties": {
  6529. "accountid": {
  6530. "description": "账户ID[报价币种]",
  6531. "type": "integer"
  6532. },
  6533. "goodsid": {
  6534. "description": "商品ID",
  6535. "type": "integer"
  6536. },
  6537. "goodunit": {
  6538. "description": "报价单位",
  6539. "type": "string"
  6540. },
  6541. "marketid": {
  6542. "description": "市场ID",
  6543. "type": "integer"
  6544. },
  6545. "orderid": {
  6546. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  6547. "type": "integer"
  6548. },
  6549. "orderprice": {
  6550. "description": "委托价格",
  6551. "type": "number"
  6552. },
  6553. "orderqty": {
  6554. "description": "委托数量",
  6555. "type": "integer"
  6556. },
  6557. "ordertime": {
  6558. "description": "委托时间",
  6559. "type": "string"
  6560. },
  6561. "ordertotalprice": {
  6562. "description": "货款金额(委托总价格=委托价格*委托数量*合约单位)",
  6563. "type": "number"
  6564. },
  6565. "ordertotalweight": {
  6566. "description": "竞拍总重量(委托总重量=委托数量*合约单位)",
  6567. "type": "integer"
  6568. },
  6569. "totaltotalprice": {
  6570. "description": "成交货款金额(成交总价格=成交价格*成交数量*合约单位)",
  6571. "type": "number"
  6572. },
  6573. "tradeprice": {
  6574. "description": "成交价格",
  6575. "type": "number"
  6576. },
  6577. "tradeqty": {
  6578. "description": "成交数量",
  6579. "type": "integer"
  6580. }
  6581. }
  6582. },
  6583. "cptrade.QueryCPTradeOrderDetailRsq": {
  6584. "type": "object",
  6585. "required": [
  6586. "accountid",
  6587. "buildtype",
  6588. "buyorsell",
  6589. "goodsid",
  6590. "marketid",
  6591. "memberuserid",
  6592. "operatetype",
  6593. "orderqty",
  6594. "ordertime",
  6595. "pricemode",
  6596. "strorderid",
  6597. "tradedate",
  6598. "validtype"
  6599. ],
  6600. "properties": {
  6601. "accountid": {
  6602. "description": "账户ID[报价币种]",
  6603. "type": "integer"
  6604. },
  6605. "buildtype": {
  6606. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  6607. "type": "integer"
  6608. },
  6609. "buyorsell": {
  6610. "description": "买卖 - 0:买 1:卖",
  6611. "type": "integer"
  6612. },
  6613. "cancelorderid": {
  6614. "description": "撤单单号(撤单时填写)",
  6615. "type": "integer"
  6616. },
  6617. "cancelqty": {
  6618. "description": "撤单数量",
  6619. "type": "integer"
  6620. },
  6621. "clientordertime": {
  6622. "description": "客户端委托时间",
  6623. "type": "string"
  6624. },
  6625. "clientticket": {
  6626. "description": "客户端流水号",
  6627. "type": "string"
  6628. },
  6629. "clienttype": {
  6630. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  6631. "type": "integer"
  6632. },
  6633. "closeexchagechargevalue": {
  6634. "description": "平仓交易所手续费设置值",
  6635. "type": "number"
  6636. },
  6637. "closefeealgorithm": {
  6638. "description": "平仓手续费收取方式 1:比率 2:固定",
  6639. "type": "integer"
  6640. },
  6641. "closefreezecharge": {
  6642. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  6643. "type": "number"
  6644. },
  6645. "closememberchargevalue": {
  6646. "description": "平仓会员手续费设置值",
  6647. "type": "number"
  6648. },
  6649. "closeqty": {
  6650. "description": "平仓数量(先建后平操作 需要记录)",
  6651. "type": "integer"
  6652. },
  6653. "closetradeqty": {
  6654. "description": "平仓成交数量(先建后平操作,需要记录)",
  6655. "type": "integer"
  6656. },
  6657. "closeunfreezecharge": {
  6658. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  6659. "type": "number"
  6660. },
  6661. "delistingtype": {
  6662. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  6663. "type": "integer"
  6664. },
  6665. "freezecharge": {
  6666. "description": "冻结手续费",
  6667. "type": "number"
  6668. },
  6669. "freezemargin": {
  6670. "description": "冻结保证金(冻结交易金额)",
  6671. "type": "number"
  6672. },
  6673. "gcaccountid": {
  6674. "description": "账户ID[合约币种]",
  6675. "type": "integer"
  6676. },
  6677. "goodsid": {
  6678. "description": "商品ID",
  6679. "type": "integer"
  6680. },
  6681. "isconfirmexercise": {
  6682. "description": "是否确认行权- 0:否 1:是",
  6683. "type": "integer"
  6684. },
  6685. "ispreexercise": {
  6686. "description": "是否预申报- 0:否 1:是",
  6687. "type": "integer"
  6688. },
  6689. "listingselecttype": {
  6690. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  6691. "type": "integer"
  6692. },
  6693. "marginalgorithm": {
  6694. "description": "保证金收取方式 1:比率 2:固定",
  6695. "type": "integer"
  6696. },
  6697. "marginvalue": {
  6698. "description": "即市保证金设置值",
  6699. "type": "number"
  6700. },
  6701. "marketid": {
  6702. "description": "市场ID",
  6703. "type": "integer"
  6704. },
  6705. "marketmaxsub": {
  6706. "description": "市价最大偏移范围",
  6707. "type": "number"
  6708. },
  6709. "memberuserid": {
  6710. "description": "所属会员UserID",
  6711. "type": "integer"
  6712. },
  6713. "openexchagechargevalue": {
  6714. "description": "建仓交易所手续费设置值",
  6715. "type": "number"
  6716. },
  6717. "openfeealgorithm": {
  6718. "description": "建仓手续费收取方式 1:比率 2:固定",
  6719. "type": "integer"
  6720. },
  6721. "openfreezecharge": {
  6722. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  6723. "type": "number"
  6724. },
  6725. "openmemberchargevalue": {
  6726. "description": "建仓会员手续费设置值",
  6727. "type": "number"
  6728. },
  6729. "openqty": {
  6730. "description": "开仓数量(先建后平操作,需要记录)",
  6731. "type": "integer"
  6732. },
  6733. "opentradeqty": {
  6734. "description": "开仓成交数量(先建后平操作,需要记录)",
  6735. "type": "integer"
  6736. },
  6737. "openunfreezecharge": {
  6738. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  6739. "type": "number"
  6740. },
  6741. "operatetype": {
  6742. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  6743. "type": "integer"
  6744. },
  6745. "operatorid": {
  6746. "description": "登录账号(LoginID)",
  6747. "type": "integer"
  6748. },
  6749. "optiontype": {
  6750. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  6751. "type": "integer"
  6752. },
  6753. "orderprice": {
  6754. "description": "委托价格",
  6755. "type": "number"
  6756. },
  6757. "orderqty": {
  6758. "description": "委托数量",
  6759. "type": "integer"
  6760. },
  6761. "ordersrc": {
  6762. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  6763. "type": "integer"
  6764. },
  6765. "orderstatus": {
  6766. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  6767. "type": "integer"
  6768. },
  6769. "ordertime": {
  6770. "description": "委托时间",
  6771. "type": "string"
  6772. },
  6773. "preexerciseprice": {
  6774. "description": "预申报价格",
  6775. "type": "number"
  6776. },
  6777. "premium": {
  6778. "description": "权利金",
  6779. "type": "number"
  6780. },
  6781. "preorderid": {
  6782. "description": "关联预埋单号(止盈止损单时填写)",
  6783. "type": "integer"
  6784. },
  6785. "pricemode": {
  6786. "description": "取价方式 - 1:市价 2: 限价",
  6787. "type": "integer"
  6788. },
  6789. "quoteid": {
  6790. "description": "报价单ID",
  6791. "type": "integer"
  6792. },
  6793. "relatedid": {
  6794. "description": "关联单号(交割单)",
  6795. "type": "integer"
  6796. },
  6797. "retcode": {
  6798. "description": "错误代码",
  6799. "type": "integer"
  6800. },
  6801. "sessionid": {
  6802. "description": "会话ID",
  6803. "type": "integer"
  6804. },
  6805. "strorderid": {
  6806. "description": "委托单号",
  6807. "type": "string"
  6808. },
  6809. "tradedate": {
  6810. "description": "交易日(yyyyMMdd)",
  6811. "type": "string"
  6812. },
  6813. "tradeproperty": {
  6814. "description": "交易属性",
  6815. "type": "integer"
  6816. },
  6817. "tradeqty": {
  6818. "description": "成交数量",
  6819. "type": "integer"
  6820. },
  6821. "unfreezecharge": {
  6822. "description": "解冻手续费",
  6823. "type": "number"
  6824. },
  6825. "unfreezemargin": {
  6826. "description": "解冻保证金",
  6827. "type": "number"
  6828. },
  6829. "updatetime": {
  6830. "description": "更新时间",
  6831. "type": "string"
  6832. },
  6833. "uuid": {
  6834. "description": "发起端唯一id",
  6835. "type": "string"
  6836. },
  6837. "validtime": {
  6838. "description": "有效期限",
  6839. "type": "string"
  6840. },
  6841. "validtype": {
  6842. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  6843. "type": "integer"
  6844. },
  6845. "volumetype": {
  6846. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  6847. "type": "integer"
  6848. }
  6849. }
  6850. },
  6851. "cptrade.QueryMyCPTradeGoodsRsp": {
  6852. "type": "object",
  6853. "required": [
  6854. "goodscode",
  6855. "goodsid",
  6856. "goodsname",
  6857. "marketid",
  6858. "relatedgoodscode",
  6859. "relatedgoodsname"
  6860. ],
  6861. "properties": {
  6862. "accountid": {
  6863. "description": "卖方账户ID",
  6864. "type": "integer"
  6865. },
  6866. "agreeunit": {
  6867. "description": "合约单位",
  6868. "type": "number"
  6869. },
  6870. "applyid": {
  6871. "description": "关联申请ID",
  6872. "type": "integer"
  6873. },
  6874. "attachmenturl": {
  6875. "description": "附件地址",
  6876. "type": "string"
  6877. },
  6878. "createtime": {
  6879. "description": "创建时间",
  6880. "type": "string"
  6881. },
  6882. "currencyid": {
  6883. "description": "报价货币ID",
  6884. "type": "integer"
  6885. },
  6886. "decimalplace": {
  6887. "description": "报价小数位",
  6888. "type": "integer"
  6889. },
  6890. "endtime": {
  6891. "description": "预售结束时间",
  6892. "type": "string"
  6893. },
  6894. "floorprice": {
  6895. "description": "底价[大宗式竞拍]",
  6896. "type": "number"
  6897. },
  6898. "goodscode": {
  6899. "description": "商品代码(预售)",
  6900. "type": "string"
  6901. },
  6902. "goodsdetail": {
  6903. "description": "详情[大宗]",
  6904. "type": "string"
  6905. },
  6906. "goodsid": {
  6907. "description": "商品ID(自增ID SEQ_GOODS)",
  6908. "type": "integer"
  6909. },
  6910. "goodsname": {
  6911. "description": "商品名称(预售)",
  6912. "type": "string"
  6913. },
  6914. "goodunit": {
  6915. "description": "报价单位",
  6916. "type": "string"
  6917. },
  6918. "goodunitid": {
  6919. "description": "报价单位ID",
  6920. "type": "integer"
  6921. },
  6922. "marketid": {
  6923. "description": "所属市场ID",
  6924. "type": "integer"
  6925. },
  6926. "marketname": {
  6927. "description": "预售市场名称",
  6928. "type": "string"
  6929. },
  6930. "presaledamount": {
  6931. "description": "已预售总金额(预售结束时更新)",
  6932. "type": "number"
  6933. },
  6934. "presaledqty": {
  6935. "description": "已预售量(预售结束时更新)",
  6936. "type": "integer"
  6937. },
  6938. "presalemode": {
  6939. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  6940. "type": "integer"
  6941. },
  6942. "presaleqty": {
  6943. "description": "预售数量",
  6944. "type": "integer"
  6945. },
  6946. "refprice": {
  6947. "description": "参考价格[一口价]",
  6948. "type": "number"
  6949. },
  6950. "relatedgoodscode": {
  6951. "description": "商品代码(订单)",
  6952. "type": "string"
  6953. },
  6954. "relatedgoodsid": {
  6955. "description": "关联交易合约ID",
  6956. "type": "integer"
  6957. },
  6958. "relatedgoodsname": {
  6959. "description": "商品名称(订单)",
  6960. "type": "string"
  6961. },
  6962. "relatedmarketid": {
  6963. "description": "关联交易合约市场ID",
  6964. "type": "integer"
  6965. },
  6966. "sellstatus": {
  6967. "description": "卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理",
  6968. "type": "integer"
  6969. },
  6970. "startprice": {
  6971. "description": "起拍价[大宗式竞拍]",
  6972. "type": "number"
  6973. },
  6974. "starttime": {
  6975. "description": "预售开始时间",
  6976. "type": "string"
  6977. },
  6978. "tradedate": {
  6979. "description": "交易日(yyyyMMdd)",
  6980. "type": "string"
  6981. },
  6982. "tradeprice": {
  6983. "description": "成交价[大宗]",
  6984. "type": "number"
  6985. },
  6986. "userid": {
  6987. "description": "卖方用户ID",
  6988. "type": "integer"
  6989. }
  6990. }
  6991. },
  6992. "cptrade.QueryPresaleGoodsExRsp": {
  6993. "type": "object",
  6994. "required": [
  6995. "goodsid"
  6996. ],
  6997. "properties": {
  6998. "attachmenturl": {
  6999. "description": "附件地址",
  7000. "type": "string"
  7001. },
  7002. "createtime": {
  7003. "description": "创建时间",
  7004. "type": "string"
  7005. },
  7006. "endtime": {
  7007. "description": "预售结束时间",
  7008. "type": "string"
  7009. },
  7010. "floorprice": {
  7011. "description": "底价[大宗式竞拍]",
  7012. "type": "number"
  7013. },
  7014. "goodsdetail": {
  7015. "description": "详情[大宗]",
  7016. "type": "string"
  7017. },
  7018. "goodsid": {
  7019. "description": "商品ID(预售)",
  7020. "type": "integer"
  7021. },
  7022. "goodunit": {
  7023. "description": "报价单位",
  7024. "type": "string"
  7025. },
  7026. "marketid": {
  7027. "description": "预售市场ID - 根据预售模式选择市场",
  7028. "type": "integer"
  7029. },
  7030. "presaledamount": {
  7031. "description": "已预售总金额(预售结束时更新)",
  7032. "type": "number"
  7033. },
  7034. "presaledqty": {
  7035. "description": "已预售量(预售结束时更新)",
  7036. "type": "integer"
  7037. },
  7038. "presalemode": {
  7039. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  7040. "type": "integer"
  7041. },
  7042. "presaleqty": {
  7043. "description": "预售数量",
  7044. "type": "integer"
  7045. },
  7046. "refprice": {
  7047. "description": "参考价格[一口价]",
  7048. "type": "number"
  7049. },
  7050. "relatedgoodsid": {
  7051. "description": "关联交易合约ID",
  7052. "type": "integer"
  7053. },
  7054. "relatedmarketid": {
  7055. "description": "关联交易合约市场ID",
  7056. "type": "integer"
  7057. },
  7058. "sellstatus": {
  7059. "description": "卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理",
  7060. "type": "integer"
  7061. },
  7062. "startprice": {
  7063. "description": "起拍价[大宗式竞拍]",
  7064. "type": "number"
  7065. },
  7066. "starttime": {
  7067. "description": "预售开始时间",
  7068. "type": "string"
  7069. },
  7070. "tradedate": {
  7071. "description": "交易日(yyyyMMdd)",
  7072. "type": "string"
  7073. },
  7074. "tradeprice": {
  7075. "description": "成交价[大宗]",
  7076. "type": "number"
  7077. }
  7078. }
  7079. },
  7080. "delivery.QueryDeliveryRelationRsp": {
  7081. "type": "object",
  7082. "required": [
  7083. "begindate",
  7084. "enddate",
  7085. "goodsid",
  7086. "mindeliveryqty",
  7087. "xdeliveryratio"
  7088. ],
  7089. "properties": {
  7090. "begindate": {
  7091. "description": "起始日期(yyyyMMdd)",
  7092. "type": "string"
  7093. },
  7094. "buytemplateid": {
  7095. "description": "买履约计划模板ID",
  7096. "type": "integer"
  7097. },
  7098. "deliverygoodscode": {
  7099. "description": "品种代码",
  7100. "type": "string"
  7101. },
  7102. "deliverygoodsid": {
  7103. "description": "交割商品",
  7104. "type": "integer"
  7105. },
  7106. "deliverygoodsname": {
  7107. "description": "品种名称",
  7108. "type": "string"
  7109. },
  7110. "deliverymode": {
  7111. "description": "交割方式 - 1:点选式 2:申报式",
  7112. "type": "integer"
  7113. },
  7114. "deliverypricerule": {
  7115. "description": "交割价规则- 1:行情价 2:建仓价",
  7116. "type": "integer"
  7117. },
  7118. "deliverytype": {
  7119. "description": "交割模式 - 1:X交割 2:X+P交割 3:X+C交割 4:X+P+C交割",
  7120. "type": "integer"
  7121. },
  7122. "enddate": {
  7123. "description": "结束日期(yyyyMMdd)",
  7124. "type": "string"
  7125. },
  7126. "goodscode": {
  7127. "description": "商品代码",
  7128. "type": "string"
  7129. },
  7130. "goodsid": {
  7131. "description": "交易合约ID",
  7132. "type": "integer"
  7133. },
  7134. "goodsname": {
  7135. "description": "商品名称",
  7136. "type": "string"
  7137. },
  7138. "marketid": {
  7139. "description": "市场ID",
  7140. "type": "integer"
  7141. },
  7142. "mindeliveryqty": {
  7143. "description": "最小交割系数(K)",
  7144. "type": "integer"
  7145. },
  7146. "p2deliveryprice": {
  7147. "description": "P2合约价格(商品价时填写0,固定值时填写固定值)",
  7148. "type": "number"
  7149. },
  7150. "p2deliveryratio": {
  7151. "description": "P2合约系数(p)",
  7152. "type": "integer"
  7153. },
  7154. "p2goodsid": {
  7155. "description": "P2合约ID",
  7156. "type": "integer"
  7157. },
  7158. "p2pricemode": {
  7159. "description": "P2合约价格方式 - 1:商品价 2:固定值",
  7160. "type": "integer"
  7161. },
  7162. "pdeliveryprice": {
  7163. "description": "P合约价格(商品价时填写0,固定值时填写固定值)",
  7164. "type": "number"
  7165. },
  7166. "pdeliveryratio": {
  7167. "description": "P合约系数(n)",
  7168. "type": "integer"
  7169. },
  7170. "pgoodsid": {
  7171. "description": "P合约ID",
  7172. "type": "integer"
  7173. },
  7174. "ppricemode": {
  7175. "description": "P合约价格方式 - 1:商品价 2:固定值",
  7176. "type": "integer"
  7177. },
  7178. "rratio": {
  7179. "description": "兑换系数(R)",
  7180. "type": "integer"
  7181. },
  7182. "rratio1": {
  7183. "description": "兑换系数(交易合约)(R1)",
  7184. "type": "integer"
  7185. },
  7186. "rratio2": {
  7187. "description": "兑换系数(仓单标准)(R2)",
  7188. "type": "integer"
  7189. },
  7190. "selltemplateid": {
  7191. "description": "卖履约计划模板ID",
  7192. "type": "integer"
  7193. },
  7194. "wrstandardid": {
  7195. "description": "仓单标准ID",
  7196. "type": "integer"
  7197. },
  7198. "xdeliveryratio": {
  7199. "description": "交易合约系数(m)",
  7200. "type": "integer"
  7201. }
  7202. }
  7203. },
  7204. "ermcp.ExposureDetailRsp": {
  7205. "type": "object",
  7206. "properties": {
  7207. "areauserid": {
  7208. "description": "机构ID",
  7209. "type": "integer"
  7210. },
  7211. "changeQty": {
  7212. "description": "套保变动量",
  7213. "type": "number"
  7214. },
  7215. "contracttype": {
  7216. "description": "现货合同类型 - 1:采购 -1:销售",
  7217. "type": "integer"
  7218. },
  7219. "convertfactor": {
  7220. "description": "标仓系数",
  7221. "type": "number"
  7222. },
  7223. "convertratio": {
  7224. "description": "套保系数",
  7225. "type": "number"
  7226. },
  7227. "createtime": {
  7228. "description": "时间",
  7229. "type": "string"
  7230. },
  7231. "enumdicname": {
  7232. "description": "现货商品单位名称",
  7233. "type": "string"
  7234. },
  7235. "logtype": {
  7236. "description": "类型 - 1:套保计划 2:现货合同",
  7237. "type": "integer"
  7238. },
  7239. "middlegoodsId": {
  7240. "description": "套保商品id",
  7241. "type": "integer"
  7242. },
  7243. "middlegoodscode": {
  7244. "description": "套保商品代码",
  7245. "type": "string"
  7246. },
  7247. "middlegoodsname": {
  7248. "description": "套保商品名称",
  7249. "type": "string"
  7250. },
  7251. "qty": {
  7252. "description": "数量",
  7253. "type": "number"
  7254. },
  7255. "relateNo": {
  7256. "description": "现货合同/套保计划编号",
  7257. "type": "string"
  7258. },
  7259. "wrstandardcode": {
  7260. "description": "现货商品代码",
  7261. "type": "string"
  7262. },
  7263. "wrstandardid": {
  7264. "description": "现货商品ID",
  7265. "type": "integer"
  7266. },
  7267. "wrstandardname": {
  7268. "description": "现货商品名称",
  7269. "type": "string"
  7270. }
  7271. }
  7272. },
  7273. "ermcp.ExposureHedgePosDetailRsp": {
  7274. "type": "object",
  7275. "properties": {
  7276. "buyorsell": {
  7277. "description": "买卖方向 0-买 1-卖",
  7278. "type": "integer"
  7279. },
  7280. "channelbuildtype": {
  7281. "description": "开平方向 1-建仓 2-平仓",
  7282. "type": "integer"
  7283. },
  7284. "goodscode": {
  7285. "description": "商品代码",
  7286. "type": "string"
  7287. },
  7288. "goodsname": {
  7289. "description": "商品名称",
  7290. "type": "string"
  7291. },
  7292. "hedgegoodsid": {
  7293. "description": "商品id",
  7294. "type": "integer"
  7295. },
  7296. "tradeqty": {
  7297. "description": "数量(成交数量)",
  7298. "type": "integer"
  7299. },
  7300. "tradetime": {
  7301. "description": "时间(成交时间)",
  7302. "type": "string"
  7303. }
  7304. }
  7305. },
  7306. "ermcp.ExposureHedgePositionRsp": {
  7307. "type": "object",
  7308. "properties": {
  7309. "accountid": {
  7310. "description": "资金账号[外部母账户]",
  7311. "type": "integer"
  7312. },
  7313. "curbuyposition": {
  7314. "description": "期末买头寸",
  7315. "type": "integer"
  7316. },
  7317. "cursellposition": {
  7318. "description": "期末卖头寸",
  7319. "type": "integer"
  7320. },
  7321. "curtdbuyposition": {
  7322. "description": "期末今日买头寸",
  7323. "type": "integer"
  7324. },
  7325. "curtdsellposition": {
  7326. "description": "期末今日卖头寸",
  7327. "type": "integer"
  7328. },
  7329. "curydbuyposition": {
  7330. "description": "期末上日买头寸",
  7331. "type": "integer"
  7332. },
  7333. "curydsellposition": {
  7334. "description": "期末上日卖头寸",
  7335. "type": "integer"
  7336. },
  7337. "decreaseqty": {
  7338. "description": "减少数量 = (期末卖头寸 - 期初卖头寸)*-1",
  7339. "type": "integer"
  7340. },
  7341. "fretdbuyposition": {
  7342. "description": "冻结今日买头寸",
  7343. "type": "integer"
  7344. },
  7345. "fretdsellposition": {
  7346. "description": "冻结今日卖头寸",
  7347. "type": "integer"
  7348. },
  7349. "freydbuyposition": {
  7350. "description": "冻结上日买头寸",
  7351. "type": "integer"
  7352. },
  7353. "freydsellposition": {
  7354. "description": "冻结上日卖头寸",
  7355. "type": "integer"
  7356. },
  7357. "goodscode": {
  7358. "description": "商品代码",
  7359. "type": "string"
  7360. },
  7361. "goodsid": {
  7362. "description": "商品id",
  7363. "type": "integer"
  7364. },
  7365. "goodsname": {
  7366. "description": "商品名称",
  7367. "type": "string"
  7368. },
  7369. "hedgeaccountcode": {
  7370. "description": "对冲账号",
  7371. "type": "string"
  7372. },
  7373. "hedgegoodsid": {
  7374. "description": "对冲合约ID",
  7375. "type": "integer"
  7376. },
  7377. "increaseqty": {
  7378. "description": "增加数量 = 期末买头寸 - 期初买头寸",
  7379. "type": "integer"
  7380. },
  7381. "marketid": {
  7382. "description": "市场ID",
  7383. "type": "integer"
  7384. },
  7385. "relateduserid": {
  7386. "description": "关联用户id",
  7387. "type": "integer"
  7388. },
  7389. "totalcurqty": {
  7390. "description": "当前数量(净头寸) = 期末买头寸 - 期末卖头寸",
  7391. "type": "integer"
  7392. },
  7393. "totalydqty": {
  7394. "description": "昨日数量(净头寸) = 期初买头寸 - 期初卖头寸",
  7395. "type": "integer"
  7396. },
  7397. "tradedate": {
  7398. "description": "交易日(yyyyMMdd)",
  7399. "type": "string"
  7400. },
  7401. "ydbuyposition": {
  7402. "description": "期初买头寸",
  7403. "type": "integer"
  7404. },
  7405. "ydsellposition": {
  7406. "description": "期初卖头寸",
  7407. "type": "integer"
  7408. }
  7409. }
  7410. },
  7411. "ermcp.ExposureSpotDetailRsp": {
  7412. "type": "object",
  7413. "properties": {
  7414. "contracttype": {
  7415. "description": "合同类型 1-采购 -1-销售",
  7416. "type": "integer"
  7417. },
  7418. "createtime": {
  7419. "description": "创建时间",
  7420. "type": "string"
  7421. },
  7422. "enumdicname": {
  7423. "description": "现货商品单位名称",
  7424. "type": "string"
  7425. },
  7426. "logtype": {
  7427. "description": "记录类型 1-套保 2-现货合同",
  7428. "type": "integer"
  7429. },
  7430. "qty": {
  7431. "description": "数量",
  7432. "type": "number"
  7433. },
  7434. "recordname": {
  7435. "description": "类型名称",
  7436. "type": "string"
  7437. },
  7438. "relatedid": {
  7439. "description": "套保计划ID/现货合同ID",
  7440. "type": "string"
  7441. },
  7442. "relatedno": {
  7443. "description": "编号",
  7444. "type": "string"
  7445. },
  7446. "strtime": {
  7447. "description": "时间",
  7448. "type": "string"
  7449. },
  7450. "wrstandardcode": {
  7451. "description": "现货商品代码",
  7452. "type": "string"
  7453. },
  7454. "wrstandardname": {
  7455. "description": "现货商品名称",
  7456. "type": "string"
  7457. }
  7458. }
  7459. },
  7460. "ermcp.ExposureSpotRsp": {
  7461. "type": "object",
  7462. "properties": {
  7463. "areauserid": {
  7464. "description": "所属机构",
  7465. "type": "integer"
  7466. },
  7467. "decreaseqty": {
  7468. "description": "减少数量=-(销售已定价数量+采购计划数量)",
  7469. "type": "number"
  7470. },
  7471. "increaseqty": {
  7472. "description": "增加数量=销售计划数量+采购已定价数量",
  7473. "type": "number"
  7474. },
  7475. "oritoalspotqty": {
  7476. "description": "昨日数量",
  7477. "type": "number"
  7478. },
  7479. "totalspotqty": {
  7480. "description": "当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)",
  7481. "type": "number"
  7482. },
  7483. "updatetime": {
  7484. "description": "更新时间",
  7485. "type": "string"
  7486. },
  7487. "wrstandardcode": {
  7488. "description": "现货品种代码",
  7489. "type": "string"
  7490. },
  7491. "wrstandardid": {
  7492. "description": "现货商品ID",
  7493. "type": "integer"
  7494. },
  7495. "wrstandardname": {
  7496. "description": "现货品种",
  7497. "type": "string"
  7498. }
  7499. }
  7500. },
  7501. "ermcp.HisExposureRsp": {
  7502. "type": "object",
  7503. "properties": {
  7504. "data": {
  7505. "description": "历史敞口",
  7506. "type": "array",
  7507. "items": {
  7508. "$ref": "#/definitions/models.ErmcpHisExposure"
  7509. }
  7510. },
  7511. "enumdicname": {
  7512. "description": "单位名称",
  7513. "type": "string"
  7514. },
  7515. "middlegoodscode": {
  7516. "description": "套保品种代码",
  7517. "type": "string"
  7518. },
  7519. "middlegoodsid": {
  7520. "description": "套保品种ID",
  7521. "type": "integer"
  7522. },
  7523. "middlegoodsname": {
  7524. "description": "套保品种名称",
  7525. "type": "string"
  7526. }
  7527. }
  7528. },
  7529. "ermcp.PendingAuditCntRsp": {
  7530. "type": "object",
  7531. "properties": {
  7532. "businessdjqty": {
  7533. "description": "待审核数量: 点价",
  7534. "type": "integer"
  7535. },
  7536. "businessfpqty": {
  7537. "description": "待审核数量: 发票",
  7538. "type": "integer"
  7539. },
  7540. "businessjsqty": {
  7541. "description": "待审核数量: 结算",
  7542. "type": "integer"
  7543. },
  7544. "businesskxqty": {
  7545. "description": "待审核数量: 款项",
  7546. "type": "integer"
  7547. },
  7548. "hedgeplanqty": {
  7549. "description": "待审核数量: 套保计划",
  7550. "type": "integer"
  7551. },
  7552. "spotcontractqty": {
  7553. "description": "待审核数量: 现货合同",
  7554. "type": "integer"
  7555. },
  7556. "userqty": {
  7557. "description": "待审核数量: 用户",
  7558. "type": "integer"
  7559. }
  7560. }
  7561. },
  7562. "ermcp.QryAvalidGPRsp": {
  7563. "type": "object",
  7564. "properties": {
  7565. "goodsgroupid": {
  7566. "description": "期货品种id",
  7567. "type": "integer"
  7568. },
  7569. "goodsgroupname": {
  7570. "description": "期货品种名称",
  7571. "type": "string"
  7572. },
  7573. "goodunitid": {
  7574. "description": "品种单位id",
  7575. "type": "integer"
  7576. },
  7577. "goodunitname": {
  7578. "description": "品种单位名称",
  7579. "type": "string"
  7580. },
  7581. "outergroupcode": {
  7582. "description": "期货品种代码",
  7583. "type": "string"
  7584. }
  7585. }
  7586. },
  7587. "ermcp.QryBusinessDjRsp": {
  7588. "type": "object",
  7589. "properties": {
  7590. "amount": {
  7591. "description": "点价金额=(点价价格+升贴水)*点价数量",
  7592. "type": "number"
  7593. },
  7594. "applyid": {
  7595. "description": "申请人",
  7596. "type": "string"
  7597. },
  7598. "applyname": {
  7599. "description": "申请人名称",
  7600. "type": "string"
  7601. },
  7602. "applystatus": {
  7603. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  7604. "type": "integer"
  7605. },
  7606. "applytime": {
  7607. "description": "申请时间",
  7608. "type": "string"
  7609. },
  7610. "attachurl": {
  7611. "description": "附件",
  7612. "type": "string"
  7613. },
  7614. "auditname": {
  7615. "description": "审核人名称",
  7616. "type": "string"
  7617. },
  7618. "audittime": {
  7619. "description": "审核时间",
  7620. "type": "string"
  7621. },
  7622. "buyusername": {
  7623. "description": "采购方名称",
  7624. "type": "string"
  7625. },
  7626. "contractno": {
  7627. "description": "合同编号",
  7628. "type": "string"
  7629. },
  7630. "contractstatus": {
  7631. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  7632. "type": "integer"
  7633. },
  7634. "contracttype": {
  7635. "description": "现货合同类型 - 1:采购 -1:销售",
  7636. "type": "integer"
  7637. },
  7638. "enumdicname": {
  7639. "description": "单位名称",
  7640. "type": "string"
  7641. },
  7642. "goodscode": {
  7643. "description": "点价合约",
  7644. "type": "string"
  7645. },
  7646. "goodsname": {
  7647. "description": "商品名称",
  7648. "type": "string"
  7649. },
  7650. "operateapplyid": {
  7651. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  7652. "type": "string"
  7653. },
  7654. "operateapplytype": {
  7655. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  7656. "type": "integer"
  7657. },
  7658. "pricedPrice": {
  7659. "description": "点价价格(非必填)",
  7660. "type": "number"
  7661. },
  7662. "pricedQty": {
  7663. "description": "点价数量(非必填)",
  7664. "type": "number"
  7665. },
  7666. "pricemove": {
  7667. "description": "升贴水",
  7668. "type": "number"
  7669. },
  7670. "pricetype": {
  7671. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  7672. "type": "integer"
  7673. },
  7674. "relatedid": {
  7675. "description": "现货合同ID",
  7676. "type": "string"
  7677. },
  7678. "sellusername": {
  7679. "description": "销售方名字",
  7680. "type": "string"
  7681. },
  7682. "userid": {
  7683. "description": "用户ID",
  7684. "type": "integer"
  7685. }
  7686. }
  7687. },
  7688. "ermcp.QryBussinessFpRsp": {
  7689. "type": "object",
  7690. "properties": {
  7691. "applyid": {
  7692. "description": "申请人",
  7693. "type": "string"
  7694. },
  7695. "applyname": {
  7696. "description": "申请人名称",
  7697. "type": "string"
  7698. },
  7699. "applystatus": {
  7700. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  7701. "type": "integer"
  7702. },
  7703. "applytime": {
  7704. "description": "申请时间",
  7705. "type": "string"
  7706. },
  7707. "attachurl": {
  7708. "description": "附件",
  7709. "type": "string"
  7710. },
  7711. "auditname": {
  7712. "description": "审核人名称",
  7713. "type": "string"
  7714. },
  7715. "audittime": {
  7716. "description": "审核时间",
  7717. "type": "string"
  7718. },
  7719. "buyusername": {
  7720. "description": "采购方名称",
  7721. "type": "string"
  7722. },
  7723. "contractno": {
  7724. "description": "合同编号",
  7725. "type": "string"
  7726. },
  7727. "contractstatus": {
  7728. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  7729. "type": "integer"
  7730. },
  7731. "contracttype": {
  7732. "description": "现货合同类型 - 1:采购 -1:销售",
  7733. "type": "integer"
  7734. },
  7735. "enumdicname": {
  7736. "description": "单位名称",
  7737. "type": "string"
  7738. },
  7739. "goodscode": {
  7740. "description": "点价合约",
  7741. "type": "string"
  7742. },
  7743. "goodsname": {
  7744. "description": "商品名称",
  7745. "type": "string"
  7746. },
  7747. "invoiceAmount": {
  7748. "description": "已开收票金额(销售为开票,采购为收票)",
  7749. "type": "number"
  7750. },
  7751. "operateapplyid": {
  7752. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  7753. "type": "string"
  7754. },
  7755. "operateapplytype": {
  7756. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  7757. "type": "integer"
  7758. },
  7759. "pricemove": {
  7760. "description": "升贴水",
  7761. "type": "number"
  7762. },
  7763. "pricetype": {
  7764. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  7765. "type": "integer"
  7766. },
  7767. "relatedid": {
  7768. "description": "现货合同ID",
  7769. "type": "string"
  7770. },
  7771. "sellusername": {
  7772. "description": "销售方名字",
  7773. "type": "string"
  7774. },
  7775. "userid": {
  7776. "description": "用户ID",
  7777. "type": "integer"
  7778. }
  7779. }
  7780. },
  7781. "ermcp.QryBussinessJsExRsp": {
  7782. "type": "object",
  7783. "properties": {
  7784. "applyid": {
  7785. "description": "申请人",
  7786. "type": "string"
  7787. },
  7788. "applyname": {
  7789. "description": "申请人名称",
  7790. "type": "string"
  7791. },
  7792. "applystatus": {
  7793. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  7794. "type": "integer"
  7795. },
  7796. "applytime": {
  7797. "description": "申请时间",
  7798. "type": "string"
  7799. },
  7800. "attachurl": {
  7801. "description": "附件",
  7802. "type": "string"
  7803. },
  7804. "auditname": {
  7805. "description": "审核人名称",
  7806. "type": "string"
  7807. },
  7808. "audittime": {
  7809. "description": "审核时间",
  7810. "type": "string"
  7811. },
  7812. "buyusername": {
  7813. "description": "采购方名称",
  7814. "type": "string"
  7815. },
  7816. "contractno": {
  7817. "description": "合同编号",
  7818. "type": "string"
  7819. },
  7820. "contractstatus": {
  7821. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  7822. "type": "integer"
  7823. },
  7824. "contracttype": {
  7825. "description": "现货合同类型 - 1:采购 -1:销售",
  7826. "type": "integer"
  7827. },
  7828. "enumdicname": {
  7829. "description": "单位名称",
  7830. "type": "string"
  7831. },
  7832. "goodscode": {
  7833. "description": "点价合约",
  7834. "type": "string"
  7835. },
  7836. "goodsname": {
  7837. "description": "商品名称",
  7838. "type": "string"
  7839. },
  7840. "operateapplyid": {
  7841. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  7842. "type": "string"
  7843. },
  7844. "operateapplytype": {
  7845. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  7846. "type": "integer"
  7847. },
  7848. "pricemove": {
  7849. "description": "升贴水",
  7850. "type": "number"
  7851. },
  7852. "pricetype": {
  7853. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  7854. "type": "integer"
  7855. },
  7856. "reckontype": {
  7857. "description": "结算类型",
  7858. "type": "string"
  7859. },
  7860. "reckonvalue": {
  7861. "description": "值",
  7862. "type": "number"
  7863. },
  7864. "relatedid": {
  7865. "description": "现货合同ID",
  7866. "type": "string"
  7867. },
  7868. "sellusername": {
  7869. "description": "销售方名字",
  7870. "type": "string"
  7871. },
  7872. "userid": {
  7873. "description": "用户ID",
  7874. "type": "integer"
  7875. }
  7876. }
  7877. },
  7878. "ermcp.QryBussinessJsRsp": {
  7879. "type": "object",
  7880. "properties": {
  7881. "addmargin": {
  7882. "description": "追加保证金(非必填)",
  7883. "type": "number"
  7884. },
  7885. "applyid": {
  7886. "description": "申请人",
  7887. "type": "string"
  7888. },
  7889. "applyname": {
  7890. "description": "申请人名称",
  7891. "type": "string"
  7892. },
  7893. "applystatus": {
  7894. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  7895. "type": "integer"
  7896. },
  7897. "applytime": {
  7898. "description": "申请时间",
  7899. "type": "string"
  7900. },
  7901. "attachurl": {
  7902. "description": "附件",
  7903. "type": "string"
  7904. },
  7905. "auditname": {
  7906. "description": "审核人名称",
  7907. "type": "string"
  7908. },
  7909. "audittime": {
  7910. "description": "审核时间",
  7911. "type": "string"
  7912. },
  7913. "buyusername": {
  7914. "description": "采购方名称",
  7915. "type": "string"
  7916. },
  7917. "contractno": {
  7918. "description": "合同编号",
  7919. "type": "string"
  7920. },
  7921. "contractstatus": {
  7922. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  7923. "type": "integer"
  7924. },
  7925. "contracttype": {
  7926. "description": "现货合同类型 - 1:采购 -1:销售",
  7927. "type": "integer"
  7928. },
  7929. "decmargin": {
  7930. "description": "减少保证金(非必填)",
  7931. "type": "number"
  7932. },
  7933. "enumdicname": {
  7934. "description": "单位名称",
  7935. "type": "string"
  7936. },
  7937. "goodscode": {
  7938. "description": "点价合约",
  7939. "type": "string"
  7940. },
  7941. "goodsname": {
  7942. "description": "商品名称",
  7943. "type": "string"
  7944. },
  7945. "operateapplyid": {
  7946. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  7947. "type": "string"
  7948. },
  7949. "operateapplytype": {
  7950. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  7951. "type": "integer"
  7952. },
  7953. "pricemove": {
  7954. "description": "升贴水",
  7955. "type": "number"
  7956. },
  7957. "pricetype": {
  7958. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  7959. "type": "integer"
  7960. },
  7961. "reckonadjustamount": {
  7962. "description": "结算调整金额(非必填)",
  7963. "type": "number"
  7964. },
  7965. "reckonosamount": {
  7966. "description": "结算溢短金额(非必填)",
  7967. "type": "number"
  7968. },
  7969. "reckonotheramount": {
  7970. "description": "结算其他费用(非必填)",
  7971. "type": "number"
  7972. },
  7973. "reckonrealqty": {
  7974. "description": "结算实际数量(非必填)",
  7975. "type": "number"
  7976. },
  7977. "relatedid": {
  7978. "description": "现货合同ID",
  7979. "type": "string"
  7980. },
  7981. "sellusername": {
  7982. "description": "销售方名字",
  7983. "type": "string"
  7984. },
  7985. "userid": {
  7986. "description": "用户ID",
  7987. "type": "integer"
  7988. }
  7989. }
  7990. },
  7991. "ermcp.QryBussinessKxRsp": {
  7992. "type": "object",
  7993. "properties": {
  7994. "applyid": {
  7995. "description": "申请人",
  7996. "type": "string"
  7997. },
  7998. "applyname": {
  7999. "description": "申请人名称",
  8000. "type": "string"
  8001. },
  8002. "applystatus": {
  8003. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  8004. "type": "integer"
  8005. },
  8006. "applytime": {
  8007. "description": "申请时间",
  8008. "type": "string"
  8009. },
  8010. "attachurl": {
  8011. "description": "附件",
  8012. "type": "string"
  8013. },
  8014. "auditname": {
  8015. "description": "审核人名称",
  8016. "type": "string"
  8017. },
  8018. "audittime": {
  8019. "description": "审核时间",
  8020. "type": "string"
  8021. },
  8022. "buyusername": {
  8023. "description": "采购方名称",
  8024. "type": "string"
  8025. },
  8026. "contractno": {
  8027. "description": "合同编号",
  8028. "type": "string"
  8029. },
  8030. "contractstatus": {
  8031. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  8032. "type": "integer"
  8033. },
  8034. "contracttype": {
  8035. "description": "现货合同类型 - 1:采购 -1:销售",
  8036. "type": "integer"
  8037. },
  8038. "deductamount": {
  8039. "description": "退款(非必填)",
  8040. "type": "number"
  8041. },
  8042. "enumdicname": {
  8043. "description": "单位名称",
  8044. "type": "string"
  8045. },
  8046. "goodscode": {
  8047. "description": "点价合约",
  8048. "type": "string"
  8049. },
  8050. "goodsname": {
  8051. "description": "商品名称",
  8052. "type": "string"
  8053. },
  8054. "kxtype": {
  8055. "description": "款项类型 1-收付款(PayAmount字段有值) 2-退款(DeductAmount字段有值) 3-收付款/退款(2个字段都有)",
  8056. "type": "integer"
  8057. },
  8058. "operateapplyid": {
  8059. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  8060. "type": "string"
  8061. },
  8062. "operateapplytype": {
  8063. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  8064. "type": "integer"
  8065. },
  8066. "payamount": {
  8067. "description": "收付款(非必填)",
  8068. "type": "number"
  8069. },
  8070. "pricemove": {
  8071. "description": "升贴水",
  8072. "type": "number"
  8073. },
  8074. "pricetype": {
  8075. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  8076. "type": "integer"
  8077. },
  8078. "relatedid": {
  8079. "description": "现货合同ID",
  8080. "type": "string"
  8081. },
  8082. "sellusername": {
  8083. "description": "销售方名字",
  8084. "type": "string"
  8085. },
  8086. "userid": {
  8087. "description": "用户ID",
  8088. "type": "integer"
  8089. }
  8090. }
  8091. },
  8092. "ermcp.QryErmcpRsp": {
  8093. "type": "object",
  8094. "properties": {
  8095. "accountname": {
  8096. "description": "账户名称",
  8097. "type": "string"
  8098. },
  8099. "attachment": {
  8100. "description": "附件",
  8101. "type": "string"
  8102. },
  8103. "audittime": {
  8104. "description": "审核时间",
  8105. "type": "string"
  8106. },
  8107. "contracctstatus": {
  8108. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  8109. "type": "integer"
  8110. },
  8111. "contractmargin": {
  8112. "description": "合同保证金",
  8113. "type": "number"
  8114. },
  8115. "contractno": {
  8116. "description": "合同编号",
  8117. "type": "string"
  8118. },
  8119. "contracttype": {
  8120. "description": "合同类型 1-采购, -1-销售",
  8121. "type": "integer"
  8122. },
  8123. "convertfactor": {
  8124. "description": "标仓系数",
  8125. "type": "number"
  8126. },
  8127. "createtime": {
  8128. "description": "创建时间",
  8129. "type": "string"
  8130. },
  8131. "daikaiamount": {
  8132. "description": "待开票额",
  8133. "type": "number"
  8134. },
  8135. "deliveryenddate": {
  8136. "description": "交割结束日",
  8137. "type": "string"
  8138. },
  8139. "deliverygoodscode": {
  8140. "description": "现货商品代码",
  8141. "type": "string"
  8142. },
  8143. "deliverygoodsid": {
  8144. "description": "现货商品ID",
  8145. "type": "integer"
  8146. },
  8147. "deliverygoodsname": {
  8148. "description": "现货商品名称",
  8149. "type": "string"
  8150. },
  8151. "deliverystartdate": {
  8152. "description": "交割开始日",
  8153. "type": "string"
  8154. },
  8155. "enddate": {
  8156. "description": "点价结束日",
  8157. "type": "string"
  8158. },
  8159. "enumdicname": {
  8160. "description": "单位名称",
  8161. "type": "string"
  8162. },
  8163. "goodscode": {
  8164. "description": "点价商品代码",
  8165. "type": "string"
  8166. },
  8167. "goodsid": {
  8168. "description": "点价商品ID",
  8169. "type": "integer"
  8170. },
  8171. "goodsname": {
  8172. "description": "点价商品名称",
  8173. "type": "string"
  8174. },
  8175. "invoiceamount": {
  8176. "description": "已开票额",
  8177. "type": "number"
  8178. },
  8179. "loanamount": {
  8180. "description": "贷款总额=已定价额+调整金额",
  8181. "type": "number"
  8182. },
  8183. "margin": {
  8184. "description": "保证金",
  8185. "type": "number"
  8186. },
  8187. "payamount": {
  8188. "description": "已收付额(收款或付款)",
  8189. "type": "number"
  8190. },
  8191. "price": {
  8192. "description": "价格",
  8193. "type": "number"
  8194. },
  8195. "pricedamount": {
  8196. "description": "已定价额",
  8197. "type": "number"
  8198. },
  8199. "pricedavg": {
  8200. "description": "已点均价",
  8201. "type": "number"
  8202. },
  8203. "pricedqty": {
  8204. "description": "已定价量",
  8205. "type": "number"
  8206. },
  8207. "pricemove": {
  8208. "description": "升贴水",
  8209. "type": "number"
  8210. },
  8211. "pricetype": {
  8212. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  8213. "type": "integer"
  8214. },
  8215. "producttype": {
  8216. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  8217. "type": "integer"
  8218. },
  8219. "qty": {
  8220. "description": "合同量",
  8221. "type": "number"
  8222. },
  8223. "reckonadjustamount": {
  8224. "description": "调整金额",
  8225. "type": "number"
  8226. },
  8227. "reckonedamount": {
  8228. "description": "已收付额(已确定额)",
  8229. "type": "number"
  8230. },
  8231. "reckonotheramount": {
  8232. "description": "其它费用",
  8233. "type": "number"
  8234. },
  8235. "reckonrealqty": {
  8236. "description": "已确定量",
  8237. "type": "number"
  8238. },
  8239. "remark": {
  8240. "description": "备注",
  8241. "type": "string"
  8242. },
  8243. "spotcontractid": {
  8244. "description": "合同ID",
  8245. "type": "string"
  8246. },
  8247. "spotgoodsdesc": {
  8248. "description": "商品型号(商品规格)",
  8249. "type": "string"
  8250. },
  8251. "startdate": {
  8252. "description": "点价开始日",
  8253. "type": "string"
  8254. },
  8255. "totalamount": {
  8256. "description": "合计总额",
  8257. "type": "number"
  8258. },
  8259. "unpayamount": {
  8260. "description": "待支收额(支付或收款)",
  8261. "type": "number"
  8262. },
  8263. "unpricedqty": {
  8264. "description": "未定价量",
  8265. "type": "number"
  8266. },
  8267. "unsureqty": {
  8268. "description": "未确定量",
  8269. "type": "number"
  8270. },
  8271. "userid": {
  8272. "description": "用户ID",
  8273. "type": "integer"
  8274. }
  8275. }
  8276. },
  8277. "ermcp.QryGGCovertCfgRsp": {
  8278. "type": "object",
  8279. "properties": {
  8280. "convertratio": {
  8281. "description": "折算系数",
  8282. "type": "number"
  8283. },
  8284. "destgoodsgroupid": {
  8285. "description": "目标品种ID",
  8286. "type": "integer"
  8287. },
  8288. "dstcode": {
  8289. "description": "目录品种代码",
  8290. "type": "string"
  8291. },
  8292. "dstexchangecode": {
  8293. "description": "目标期货交易所",
  8294. "type": "string"
  8295. },
  8296. "dstname": {
  8297. "description": "目标品种名称",
  8298. "type": "string"
  8299. },
  8300. "dstunitid": {
  8301. "description": "目标品种单位ID",
  8302. "type": "integer"
  8303. },
  8304. "dstunitidname": {
  8305. "description": "目标品种单位名称",
  8306. "type": "string"
  8307. },
  8308. "srccode": {
  8309. "description": "源品种代码",
  8310. "type": "string"
  8311. },
  8312. "srcexchangecode": {
  8313. "description": "源期货交易所",
  8314. "type": "string"
  8315. },
  8316. "srcgoodsgroupid": {
  8317. "description": "源品种ID",
  8318. "type": "integer"
  8319. },
  8320. "srcname": {
  8321. "description": "源品种名称",
  8322. "type": "string"
  8323. },
  8324. "srcunitid": {
  8325. "description": "源品种单位ID",
  8326. "type": "integer"
  8327. },
  8328. "srcunitidname": {
  8329. "description": "源品种单位名称",
  8330. "type": "string"
  8331. }
  8332. }
  8333. },
  8334. "ermcp.QryHedgePlanRsp": {
  8335. "type": "object",
  8336. "properties": {
  8337. "areauserid": {
  8338. "description": "用户ID",
  8339. "type": "integer"
  8340. },
  8341. "contracttype": {
  8342. "description": "计划类型 - 1:采购 -1:销售",
  8343. "type": "integer"
  8344. },
  8345. "convertfactor": {
  8346. "description": "标仓系数",
  8347. "type": "number"
  8348. },
  8349. "createtime": {
  8350. "description": "创建时间",
  8351. "type": "string"
  8352. },
  8353. "deliverygoodsid": {
  8354. "description": "现货品种ID",
  8355. "type": "integer"
  8356. },
  8357. "deliverygoodsname": {
  8358. "description": "现货品种名称",
  8359. "type": "string"
  8360. },
  8361. "hedgeplanid": {
  8362. "description": "套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)",
  8363. "type": "string"
  8364. },
  8365. "hedgeplanno": {
  8366. "description": "套保计划编号(名称)",
  8367. "type": "string"
  8368. },
  8369. "hedgeplanstatus": {
  8370. "description": "套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  8371. "type": "integer"
  8372. },
  8373. "planqty": {
  8374. "description": "计划数量",
  8375. "type": "number"
  8376. },
  8377. "plantime": {
  8378. "description": "计划时间",
  8379. "type": "string"
  8380. },
  8381. "producttype": {
  8382. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  8383. "type": "integer"
  8384. },
  8385. "remark": {
  8386. "description": "备注",
  8387. "type": "string"
  8388. },
  8389. "spotgoodsdesc": {
  8390. "description": "商品型号",
  8391. "type": "string"
  8392. },
  8393. "wrstandardid": {
  8394. "description": "现货商品ID",
  8395. "type": "integer"
  8396. },
  8397. "wrstandardname": {
  8398. "description": "现货商品名称",
  8399. "type": "string"
  8400. }
  8401. }
  8402. },
  8403. "ermcp.QryMGChangeLogRsp": {
  8404. "type": "object",
  8405. "properties": {
  8406. "aftervalue": {
  8407. "description": "变更后",
  8408. "type": "number"
  8409. },
  8410. "applyid": {
  8411. "description": "操作人",
  8412. "type": "integer"
  8413. },
  8414. "applyname": {
  8415. "description": "操作人名称",
  8416. "type": "string"
  8417. },
  8418. "applysrc": {
  8419. "description": "操作来源 - 1:管理端 2:终端",
  8420. "type": "integer"
  8421. },
  8422. "beforevalue": {
  8423. "description": "变更前",
  8424. "type": "number"
  8425. },
  8426. "changelogtype": {
  8427. "description": "变更流水类型 - 1:套保比率变更",
  8428. "type": "integer"
  8429. },
  8430. "handlestatus": {
  8431. "description": "处理状态",
  8432. "type": "integer"
  8433. },
  8434. "logdatetime": {
  8435. "description": "流水日期",
  8436. "type": "string"
  8437. },
  8438. "logid": {
  8439. "description": "流水ID",
  8440. "type": "integer"
  8441. },
  8442. "logremark": {
  8443. "description": "流水备注",
  8444. "type": "string"
  8445. },
  8446. "middlegoodsid": {
  8447. "description": "套保品种ID",
  8448. "type": "integer"
  8449. },
  8450. "tradedate": {
  8451. "description": "交易日(yyyyMMdd)",
  8452. "type": "string"
  8453. },
  8454. "updatetime": {
  8455. "description": "更新时间",
  8456. "type": "string"
  8457. }
  8458. }
  8459. },
  8460. "ermcp.QryMiddleGoodsDetailRsp": {
  8461. "type": "object",
  8462. "properties": {
  8463. "cvList": {
  8464. "description": "期货品种折算列表",
  8465. "type": "array",
  8466. "items": {
  8467. "$ref": "#/definitions/models.GoodsGroupConvert"
  8468. }
  8469. },
  8470. "mg": {
  8471. "description": "套保品种基本信息",
  8472. "$ref": "#/definitions/models.ErmcpMiddleGoodsModel"
  8473. }
  8474. }
  8475. },
  8476. "ermcp.QryMiddleGoodsRsp": {
  8477. "type": "object",
  8478. "properties": {
  8479. "areauserid": {
  8480. "description": "机构用户ID",
  8481. "type": "integer"
  8482. },
  8483. "enumdicname": {
  8484. "description": "单位名称",
  8485. "type": "string"
  8486. },
  8487. "evaluateratio": {
  8488. "description": "估价系数",
  8489. "type": "number"
  8490. },
  8491. "goodsgroupid": {
  8492. "description": "关联期货品种ID",
  8493. "type": "integer"
  8494. },
  8495. "isvalid": {
  8496. "description": "状态 0-无效(停用) 1-有效(正常)",
  8497. "type": "integer"
  8498. },
  8499. "middlegoodscode": {
  8500. "description": "套保品种代码",
  8501. "type": "string"
  8502. },
  8503. "middlegoodsid": {
  8504. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  8505. "type": "integer"
  8506. },
  8507. "middlegoodsname": {
  8508. "description": "套保品种名称",
  8509. "type": "string"
  8510. },
  8511. "modifytime": {
  8512. "description": "修改时间",
  8513. "type": "string"
  8514. },
  8515. "needhedgeratio": {
  8516. "description": "套保比率",
  8517. "type": "number"
  8518. },
  8519. "qtydecimalplace": {
  8520. "description": "数量小数位",
  8521. "type": "integer"
  8522. },
  8523. "relatedgoodsid": {
  8524. "description": "关联交易商品ID",
  8525. "type": "integer"
  8526. },
  8527. "relatedgoodstype": {
  8528. "description": "关联商品类型 - 1:期货合约 2:现货品种",
  8529. "type": "integer"
  8530. }
  8531. }
  8532. },
  8533. "ermcp.QryOPLogRsp": {
  8534. "type": "object",
  8535. "properties": {
  8536. "aftervalue": {
  8537. "description": "变更后",
  8538. "type": "number"
  8539. },
  8540. "applyid": {
  8541. "description": "操作人ID",
  8542. "type": "string"
  8543. },
  8544. "applyname": {
  8545. "description": "操作人名称",
  8546. "type": "string"
  8547. },
  8548. "beforevalue": {
  8549. "description": "变更前",
  8550. "type": "number"
  8551. },
  8552. "biztype": {
  8553. "description": "业务类型 - 1:套保计划 2:现货合同",
  8554. "type": "integer"
  8555. },
  8556. "contracttype": {
  8557. "description": "现货合同类型 - 1:采购 -1:销售",
  8558. "type": "integer"
  8559. },
  8560. "logvalue": {
  8561. "description": "数值",
  8562. "type": "number"
  8563. },
  8564. "operatelogtype": {
  8565. "description": "操作流水类型",
  8566. "type": "integer"
  8567. },
  8568. "operatelogtypedesc": {
  8569. "description": "操作流水类型名称",
  8570. "type": "string"
  8571. },
  8572. "relatedid": {
  8573. "description": "现货合同ID\\套保计划",
  8574. "type": "string"
  8575. },
  8576. "updatetime": {
  8577. "description": "更新时间",
  8578. "type": "string"
  8579. }
  8580. }
  8581. },
  8582. "ermcp.QryReportDaySpotDetailRsp": {
  8583. "type": "object",
  8584. "properties": {
  8585. "applyid": {
  8586. "description": "操作人",
  8587. "type": "integer"
  8588. },
  8589. "applyname": {
  8590. "description": "操作人名称",
  8591. "type": "string"
  8592. },
  8593. "biztype": {
  8594. "description": "业务类型 - 1:套保计划 2:现货合同",
  8595. "type": "integer"
  8596. },
  8597. "contracttype": {
  8598. "description": "现货合同类型 - 1:采购 -1:销售",
  8599. "type": "integer"
  8600. },
  8601. "enumdicName": {
  8602. "description": "单位名称",
  8603. "type": "string"
  8604. },
  8605. "logdatetime": {
  8606. "description": "流水日期(时间)",
  8607. "type": "string"
  8608. },
  8609. "logid": {
  8610. "description": "流水ID(604+Unix秒时间戳(10位)+xxxxxx)",
  8611. "type": "string"
  8612. },
  8613. "logtypename": {
  8614. "description": "合同类型(名称)",
  8615. "type": "string"
  8616. },
  8617. "logvalue": {
  8618. "description": "数值",
  8619. "type": "string"
  8620. },
  8621. "operatelogtype": {
  8622. "description": "操作流水类型 -",
  8623. "type": "integer"
  8624. },
  8625. "optypename": {
  8626. "description": "流水类型名称",
  8627. "type": "string"
  8628. },
  8629. "relatedid": {
  8630. "description": "现货合同ID\\套保计划",
  8631. "type": "string"
  8632. },
  8633. "relatedno": {
  8634. "description": "合同编号",
  8635. "type": "string"
  8636. },
  8637. "tradedate": {
  8638. "description": "交易日(yyyyMMdd)",
  8639. "type": "string"
  8640. },
  8641. "userid": {
  8642. "description": "机构ID",
  8643. "type": "integer"
  8644. },
  8645. "wrstandardcode": {
  8646. "description": "现货商品代码",
  8647. "type": "string"
  8648. },
  8649. "wrstandardid": {
  8650. "description": "现货商品ID",
  8651. "type": "integer"
  8652. },
  8653. "wrstandardname": {
  8654. "description": "现货商品名称",
  8655. "type": "string"
  8656. }
  8657. }
  8658. },
  8659. "ermcp.QryReportExposureDayRsp": {
  8660. "type": "object",
  8661. "properties": {
  8662. "areauserid": {
  8663. "description": "所属机构",
  8664. "type": "integer"
  8665. },
  8666. "buyfutureqty": {
  8667. "description": "买入期货数量",
  8668. "type": "number"
  8669. },
  8670. "buyplanqty": {
  8671. "description": "采购计划数量",
  8672. "type": "number"
  8673. },
  8674. "buypricedqty": {
  8675. "description": "采购合同已定价数量",
  8676. "type": "number"
  8677. },
  8678. "diffFutuQty": {
  8679. "description": "今日变动量(期货) = (买入 - 买入期初) - (卖出 - 卖出期初)",
  8680. "type": "number"
  8681. },
  8682. "diffSpotQty": {
  8683. "description": "今日变动量(现货) = 现货数量 - 期初现货数量",
  8684. "type": "number"
  8685. },
  8686. "enumdicname": {
  8687. "description": "单位名称",
  8688. "type": "string"
  8689. },
  8690. "middlegoodscode": {
  8691. "description": "套保品种代码",
  8692. "type": "string"
  8693. },
  8694. "middlegoodshedgeratio": {
  8695. "description": "应套保比例",
  8696. "type": "number"
  8697. },
  8698. "middlegoodsid": {
  8699. "description": "套保品种ID",
  8700. "type": "integer"
  8701. },
  8702. "middlegoodsname": {
  8703. "description": "套保品种名称",
  8704. "type": "string"
  8705. },
  8706. "needhedgeexposoure": {
  8707. "description": "应套保敞口",
  8708. "type": "number"
  8709. },
  8710. "needhedgeratio": {
  8711. "description": "应套保敞口比例",
  8712. "type": "number"
  8713. },
  8714. "oriTotalFutuQty": {
  8715. "description": "期初期货数量=期初买入期货数量-期初卖出期货数量",
  8716. "type": "number"
  8717. },
  8718. "oriTotalSpotQty": {
  8719. "description": "期初现货数量=(期初销售计划数量-期初销售合同已定价数量)-(期初采购计划数量-期初采购合同已定价数量)",
  8720. "type": "number"
  8721. },
  8722. "oribuyfutureqty": {
  8723. "description": "期初买入期货数量",
  8724. "type": "number"
  8725. },
  8726. "oribuyplanqty": {
  8727. "description": "期初采购计划数量",
  8728. "type": "number"
  8729. },
  8730. "oribuypricedqty": {
  8731. "description": "期初采购合同已定价数量",
  8732. "type": "number"
  8733. },
  8734. "orisellfutureqty": {
  8735. "description": "期初卖出期货数量",
  8736. "type": "number"
  8737. },
  8738. "orisellplanqty": {
  8739. "description": "期初销售计划数量",
  8740. "type": "number"
  8741. },
  8742. "orisellpricedqty": {
  8743. "description": "期初销售合同已定价数量",
  8744. "type": "number"
  8745. },
  8746. "reckondate": {
  8747. "description": "日照时期(yyyyMMdd)",
  8748. "type": "string"
  8749. },
  8750. "sellfutureqty": {
  8751. "description": "卖出期货数量",
  8752. "type": "number"
  8753. },
  8754. "sellplanqty": {
  8755. "description": "销售计划数量",
  8756. "type": "number"
  8757. },
  8758. "sellpricedqty": {
  8759. "description": "销售合同已定价数量",
  8760. "type": "number"
  8761. },
  8762. "totalexposure": {
  8763. "description": "总敞口",
  8764. "type": "number"
  8765. },
  8766. "totalfutureqty": {
  8767. "description": "期货数量",
  8768. "type": "number"
  8769. },
  8770. "totalhedgeratio": {
  8771. "description": "敞口比例",
  8772. "type": "number"
  8773. },
  8774. "totalneedhedgeqty": {
  8775. "description": "期货应套保量",
  8776. "type": "number"
  8777. },
  8778. "totalspotqty": {
  8779. "description": "现货数量",
  8780. "type": "number"
  8781. }
  8782. }
  8783. },
  8784. "ermcp.QryReportFinanceDayRsp": {
  8785. "type": "object",
  8786. "properties": {
  8787. "areauserid": {
  8788. "description": "所属机构",
  8789. "type": "integer"
  8790. },
  8791. "collectinvoiceamount": {
  8792. "description": "今日开票金额",
  8793. "type": "number"
  8794. },
  8795. "collectinvoicecount": {
  8796. "description": "今日开票笔数",
  8797. "type": "integer"
  8798. },
  8799. "collectmoneyamount": {
  8800. "description": "今日收款金额",
  8801. "type": "number"
  8802. },
  8803. "collectmoneycount": {
  8804. "description": "今日收款笔数",
  8805. "type": "integer"
  8806. },
  8807. "payinvoiceamount": {
  8808. "description": "今日收票金额",
  8809. "type": "number"
  8810. },
  8811. "payinvoicecount": {
  8812. "description": "今日收票笔数",
  8813. "type": "integer"
  8814. },
  8815. "paymoneyamount": {
  8816. "description": "今日付款金额",
  8817. "type": "number"
  8818. },
  8819. "paymoneycount": {
  8820. "description": "今日付款笔数",
  8821. "type": "integer"
  8822. },
  8823. "reckondate": {
  8824. "description": "日照时期(yyyyMMdd)",
  8825. "type": "string"
  8826. },
  8827. "updatetime": {
  8828. "description": "更新时间",
  8829. "type": "string"
  8830. }
  8831. }
  8832. },
  8833. "ermcp.QryReportFinanceKxRsp": {
  8834. "type": "object",
  8835. "properties": {
  8836. "applyid": {
  8837. "description": "操作人",
  8838. "type": "integer"
  8839. },
  8840. "applyname": {
  8841. "description": "操作人名称",
  8842. "type": "string"
  8843. },
  8844. "biztype": {
  8845. "description": "业务类型 - 1:套保计划 2:现货合同",
  8846. "type": "integer"
  8847. },
  8848. "contracttype": {
  8849. "description": "现货合同类型 - 1:采购 -1:销售",
  8850. "type": "integer"
  8851. },
  8852. "enumdicName": {
  8853. "description": "单位名称",
  8854. "type": "string"
  8855. },
  8856. "logdatetime": {
  8857. "description": "流水日期(时间)",
  8858. "type": "string"
  8859. },
  8860. "logid": {
  8861. "description": "流水ID(604+Unix秒时间戳(10位)+xxxxxx)",
  8862. "type": "string"
  8863. },
  8864. "logtypename": {
  8865. "description": "合同类型(名称)",
  8866. "type": "string"
  8867. },
  8868. "logvalue": {
  8869. "description": "数值",
  8870. "type": "string"
  8871. },
  8872. "operatelogtype": {
  8873. "description": "操作流水类型 -",
  8874. "type": "integer"
  8875. },
  8876. "optypename": {
  8877. "description": "流水类型名称",
  8878. "type": "string"
  8879. },
  8880. "relatedid": {
  8881. "description": "现货合同ID\\套保计划",
  8882. "type": "string"
  8883. },
  8884. "relatedno": {
  8885. "description": "合同编号",
  8886. "type": "string"
  8887. },
  8888. "tradedate": {
  8889. "description": "交易日(yyyyMMdd)",
  8890. "type": "string"
  8891. },
  8892. "userid": {
  8893. "description": "机构ID",
  8894. "type": "integer"
  8895. },
  8896. "wrstandardcode": {
  8897. "description": "现货商品代码",
  8898. "type": "string"
  8899. },
  8900. "wrstandardid": {
  8901. "description": "现货商品ID",
  8902. "type": "integer"
  8903. },
  8904. "wrstandardname": {
  8905. "description": "现货商品名称",
  8906. "type": "string"
  8907. }
  8908. }
  8909. },
  8910. "ermcp.QryReportFinanceMonRsp": {
  8911. "type": "object",
  8912. "properties": {
  8913. "areauserid": {
  8914. "description": "所属机构【原值】",
  8915. "type": "integer"
  8916. },
  8917. "collectinvoiceamount": {
  8918. "description": "今日开票金额【汇总】",
  8919. "type": "number"
  8920. },
  8921. "collectinvoicecount": {
  8922. "description": "今日开票笔数【汇总】",
  8923. "type": "integer"
  8924. },
  8925. "collectmoneyamount": {
  8926. "description": "今日收款金额【汇总】",
  8927. "type": "number"
  8928. },
  8929. "collectmoneycount": {
  8930. "description": "今日收款笔数 【汇总】",
  8931. "type": "integer"
  8932. },
  8933. "cycletime": {
  8934. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  8935. "type": "string"
  8936. },
  8937. "cycletype": {
  8938. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  8939. "type": "integer"
  8940. },
  8941. "dayFr": {
  8942. "description": "日报表明细",
  8943. "type": "array",
  8944. "items": {
  8945. "$ref": "#/definitions/models.ErmcpReportDayFR"
  8946. }
  8947. },
  8948. "payinvoiceamount": {
  8949. "description": "今日收票金额【汇总】",
  8950. "type": "number"
  8951. },
  8952. "payinvoicecount": {
  8953. "description": "今日收票笔数【汇总】",
  8954. "type": "integer"
  8955. },
  8956. "paymoneyamount": {
  8957. "description": "今日付款金额【汇总】",
  8958. "type": "number"
  8959. },
  8960. "paymoneycount": {
  8961. "description": "今日付款笔数【汇总】",
  8962. "type": "integer"
  8963. },
  8964. "updatetime": {
  8965. "description": "更新时间",
  8966. "type": "string"
  8967. }
  8968. }
  8969. },
  8970. "ermcp.QryReportSpotDayRsp": {
  8971. "type": "object",
  8972. "properties": {
  8973. "areauserid": {
  8974. "description": "所属机构T",
  8975. "type": "integer"
  8976. },
  8977. "enumdicname": {
  8978. "description": "现货商品单位名称",
  8979. "type": "string"
  8980. },
  8981. "reckondate": {
  8982. "description": "日照时期(yyyyMMdd)",
  8983. "type": "string"
  8984. },
  8985. "todaybuyreckonqty": {
  8986. "description": "采购确定量",
  8987. "type": "number"
  8988. },
  8989. "todaysellreckonqty": {
  8990. "description": "销售确定量",
  8991. "type": "number"
  8992. },
  8993. "totalbuypricedqty": {
  8994. "description": "采购定价量 = 期末 - 期初",
  8995. "type": "number"
  8996. },
  8997. "totalsellpricedqty": {
  8998. "description": "销售定价量 = 期末 - 期初",
  8999. "type": "number"
  9000. },
  9001. "wrstandardcode": {
  9002. "description": "现货商品代码",
  9003. "type": "string"
  9004. },
  9005. "wrstandardid": {
  9006. "description": "现货商品ID",
  9007. "type": "integer"
  9008. },
  9009. "wrstandardname": {
  9010. "description": "现货商品名称",
  9011. "type": "string"
  9012. }
  9013. }
  9014. },
  9015. "ermcp.QryReportSpotMonRsp": {
  9016. "type": "object",
  9017. "properties": {
  9018. "areauserid": {
  9019. "description": "所属机构T",
  9020. "type": "integer"
  9021. },
  9022. "cycletime": {
  9023. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  9024. "type": "string"
  9025. },
  9026. "cycletype": {
  9027. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  9028. "type": "integer"
  9029. },
  9030. "enumdicname": {
  9031. "description": "现货商品单位名称",
  9032. "type": "string"
  9033. },
  9034. "todaybuyreckonqty": {
  9035. "description": "采购确定量",
  9036. "type": "number"
  9037. },
  9038. "todaysellreckonqty": {
  9039. "description": "销售确定量",
  9040. "type": "number"
  9041. },
  9042. "totalbuypricedqty": {
  9043. "description": "采购定价量 = 期末 - 期初",
  9044. "type": "number"
  9045. },
  9046. "totalsellpricedqty": {
  9047. "description": "销售定价量 = 期末 - 期初",
  9048. "type": "number"
  9049. },
  9050. "wrstandardcode": {
  9051. "description": "现货商品代码",
  9052. "type": "string"
  9053. },
  9054. "wrstandardid": {
  9055. "description": "现货商品ID",
  9056. "type": "integer"
  9057. },
  9058. "wrstandardname": {
  9059. "description": "现货商品名称",
  9060. "type": "string"
  9061. }
  9062. }
  9063. },
  9064. "ermcp.QryReportSpotMonthDetailRsp": {
  9065. "type": "object",
  9066. "properties": {
  9067. "areauserid": {
  9068. "description": "所属机构T",
  9069. "type": "integer"
  9070. },
  9071. "enumdicname": {
  9072. "description": "现货商品单位名称",
  9073. "type": "string"
  9074. },
  9075. "reckondate": {
  9076. "description": "日照时期(yyyyMMdd)",
  9077. "type": "string"
  9078. },
  9079. "todaybuyreckonqty": {
  9080. "description": "采购确定量",
  9081. "type": "number"
  9082. },
  9083. "todaysellreckonqty": {
  9084. "description": "销售确定量",
  9085. "type": "number"
  9086. },
  9087. "totalbuypricedqty": {
  9088. "description": "采购定价量 = 期末 - 期初",
  9089. "type": "number"
  9090. },
  9091. "totalsellpricedqty": {
  9092. "description": "销售定价量 = 期末 - 期初",
  9093. "type": "number"
  9094. },
  9095. "wrstandardcode": {
  9096. "description": "现货商品代码",
  9097. "type": "string"
  9098. },
  9099. "wrstandardid": {
  9100. "description": "现货商品ID",
  9101. "type": "integer"
  9102. },
  9103. "wrstandardname": {
  9104. "description": "现货商品名称",
  9105. "type": "string"
  9106. }
  9107. }
  9108. },
  9109. "ermcp.QrySpotContractRsp": {
  9110. "type": "object",
  9111. "properties": {
  9112. "amount": {
  9113. "description": "金额 [1:一口价、3:暂定价]",
  9114. "type": "number"
  9115. },
  9116. "attachment": {
  9117. "description": "附件",
  9118. "type": "string"
  9119. },
  9120. "auditremark": {
  9121. "description": "审核意见",
  9122. "type": "string"
  9123. },
  9124. "audittime": {
  9125. "description": "审核时间",
  9126. "type": "string"
  9127. },
  9128. "brandname": {
  9129. "description": "品牌名称",
  9130. "type": "string"
  9131. },
  9132. "buyuserid": {
  9133. "description": "采购方ID",
  9134. "type": "integer"
  9135. },
  9136. "buyusername": {
  9137. "description": "采购方名称",
  9138. "type": "string"
  9139. },
  9140. "contracctstatus": {
  9141. "description": "合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  9142. "type": "integer"
  9143. },
  9144. "contractmargin": {
  9145. "description": "合同保证金",
  9146. "type": "number"
  9147. },
  9148. "contractno": {
  9149. "description": "现货合同编号",
  9150. "type": "string"
  9151. },
  9152. "contracttype": {
  9153. "description": "现货合同类型 - 1:采购 -1:销售",
  9154. "type": "integer"
  9155. },
  9156. "convertfactor": {
  9157. "description": "标仓系数",
  9158. "type": "number"
  9159. },
  9160. "createtime": {
  9161. "description": "创建时间",
  9162. "type": "string"
  9163. },
  9164. "deliveryenddate": {
  9165. "description": "交收期(结束)",
  9166. "type": "string"
  9167. },
  9168. "deliverygoodscode": {
  9169. "description": "现货品种代码",
  9170. "type": "string"
  9171. },
  9172. "deliverygoodsid": {
  9173. "description": "现货品种ID",
  9174. "type": "integer"
  9175. },
  9176. "deliverygoodsname": {
  9177. "description": "现货品种名称",
  9178. "type": "string"
  9179. },
  9180. "deliverystartdate": {
  9181. "description": "交收期(开始)",
  9182. "type": "string"
  9183. },
  9184. "enddate": {
  9185. "description": "点价结束日期 [2:点价 3:暂定价]",
  9186. "type": "string"
  9187. },
  9188. "enumdicname": {
  9189. "description": "单位名称",
  9190. "type": "string"
  9191. },
  9192. "goodscode": {
  9193. "description": "点价合约代码",
  9194. "type": "string"
  9195. },
  9196. "goodsid": {
  9197. "description": "点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]",
  9198. "type": "integer"
  9199. },
  9200. "goodsname": {
  9201. "description": "点价商品名称",
  9202. "type": "string"
  9203. },
  9204. "margin": {
  9205. "description": "当前保证金",
  9206. "type": "number"
  9207. },
  9208. "modelname": {
  9209. "description": "型号名称",
  9210. "type": "string"
  9211. },
  9212. "price": {
  9213. "description": "价格\\暂定价 [1:一口价、3:暂定价]",
  9214. "type": "number"
  9215. },
  9216. "pricemove": {
  9217. "description": "升贴水 [2:点价 3:暂定价]",
  9218. "type": "number"
  9219. },
  9220. "pricetype": {
  9221. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  9222. "type": "integer"
  9223. },
  9224. "producttype": {
  9225. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  9226. "type": "integer"
  9227. },
  9228. "qty": {
  9229. "description": "数量",
  9230. "type": "number"
  9231. },
  9232. "remark": {
  9233. "description": "备注",
  9234. "type": "string"
  9235. },
  9236. "selluserid": {
  9237. "description": "销售方ID",
  9238. "type": "integer"
  9239. },
  9240. "sellusername": {
  9241. "description": "销售方名称",
  9242. "type": "string"
  9243. },
  9244. "spotcontractid": {
  9245. "description": "现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)",
  9246. "type": "string"
  9247. },
  9248. "spotgoodsbrandid": {
  9249. "description": "现货品牌ID",
  9250. "type": "integer"
  9251. },
  9252. "spotgoodsdesc": {
  9253. "description": "商品型号",
  9254. "type": "string"
  9255. },
  9256. "spotgoodsmodelid": {
  9257. "description": "现货型号ID",
  9258. "type": "integer"
  9259. },
  9260. "startdate": {
  9261. "description": "点价开始日期 [2:点价 3:暂定价]",
  9262. "type": "string"
  9263. },
  9264. "userid": {
  9265. "description": "机构ID",
  9266. "type": "integer"
  9267. },
  9268. "wrstandardid": {
  9269. "description": "现货商品ID",
  9270. "type": "integer"
  9271. }
  9272. }
  9273. },
  9274. "ermcp.QryUserInfoRsp": {
  9275. "type": "object",
  9276. "properties": {
  9277. "address": {
  9278. "description": "通讯地址",
  9279. "type": "string"
  9280. },
  9281. "attachment1": {
  9282. "description": "附件1",
  9283. "type": "string"
  9284. },
  9285. "cardfrontphotourl": {
  9286. "description": "证件正面图片地址",
  9287. "type": "string"
  9288. },
  9289. "cardnum": {
  9290. "description": "证件号码",
  9291. "type": "string"
  9292. },
  9293. "cardtype": {
  9294. "description": "证件类型",
  9295. "type": "integer"
  9296. },
  9297. "cardtypename": {
  9298. "description": "证件类型名称",
  9299. "type": "string"
  9300. },
  9301. "cityid": {
  9302. "description": "市",
  9303. "type": "integer"
  9304. },
  9305. "countryid": {
  9306. "description": "国家",
  9307. "type": "integer"
  9308. },
  9309. "createtime": {
  9310. "description": "创建时间",
  9311. "type": "string"
  9312. },
  9313. "customername": {
  9314. "description": "企业名称",
  9315. "type": "string"
  9316. },
  9317. "memberuserid": {
  9318. "description": "所属机构ID",
  9319. "type": "integer"
  9320. },
  9321. "mobile": {
  9322. "description": "手机号码",
  9323. "type": "string"
  9324. },
  9325. "provinceid": {
  9326. "description": "省",
  9327. "type": "integer"
  9328. },
  9329. "remark": {
  9330. "description": "备注",
  9331. "type": "string"
  9332. },
  9333. "status": {
  9334. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销",
  9335. "type": "integer"
  9336. },
  9337. "statusdesc": {
  9338. "description": "账户状态中文描述",
  9339. "type": "string"
  9340. },
  9341. "telphone": {
  9342. "description": "联系电话",
  9343. "type": "string"
  9344. },
  9345. "userid": {
  9346. "description": "用户ID",
  9347. "type": "integer"
  9348. },
  9349. "userinfotype": {
  9350. "description": "客户类型",
  9351. "type": "string"
  9352. }
  9353. }
  9354. },
  9355. "ermcp.QryWrStandardDetailRsp": {
  9356. "type": "object",
  9357. "properties": {
  9358. "gbList": {
  9359. "description": "品牌列表",
  9360. "type": "array",
  9361. "items": {
  9362. "$ref": "#/definitions/models.GoodsBrand"
  9363. }
  9364. },
  9365. "gtList": {
  9366. "description": "型号列表",
  9367. "type": "array",
  9368. "items": {
  9369. "$ref": "#/definitions/models.GoodsTypeModel"
  9370. }
  9371. },
  9372. "wrd": {
  9373. "description": "基本信息",
  9374. "$ref": "#/definitions/models.ErmcpWrstandard"
  9375. },
  9376. "wrsList": {
  9377. "description": "套保信息列表",
  9378. "type": "array",
  9379. "items": {
  9380. "$ref": "#/definitions/models.WRSConverTDetail"
  9381. }
  9382. }
  9383. }
  9384. },
  9385. "ermcp.QryWrStandardRsp": {
  9386. "type": "object",
  9387. "properties": {
  9388. "areauserid": {
  9389. "description": "所属机构",
  9390. "type": "integer"
  9391. },
  9392. "createtime": {
  9393. "description": "创建时间",
  9394. "type": "string"
  9395. },
  9396. "creatorid": {
  9397. "description": "创建人",
  9398. "type": "integer"
  9399. },
  9400. "deliverygoodsid": {
  9401. "description": "品种ID",
  9402. "type": "integer"
  9403. },
  9404. "enumdicname": {
  9405. "description": "单位名称",
  9406. "type": "string"
  9407. },
  9408. "isvalid": {
  9409. "description": "是否有效 0-无效(停用) 1-有效(正常)",
  9410. "type": "integer"
  9411. },
  9412. "minivalue": {
  9413. "description": "最小变动值",
  9414. "type": "integer"
  9415. },
  9416. "minivaluedp": {
  9417. "description": "最小变动值小数位",
  9418. "type": "integer"
  9419. },
  9420. "realminivalue": {
  9421. "description": "实际最小变动值",
  9422. "type": "integer"
  9423. },
  9424. "realminivaluedp": {
  9425. "description": "实际最小变动值小数位",
  9426. "type": "integer"
  9427. },
  9428. "remark": {
  9429. "description": "备注",
  9430. "type": "string"
  9431. },
  9432. "unitid": {
  9433. "description": "单位ID",
  9434. "type": "integer"
  9435. },
  9436. "updatetime": {
  9437. "description": "更新时间",
  9438. "type": "string"
  9439. },
  9440. "wrstandardcode": {
  9441. "description": "现货商品代码",
  9442. "type": "string"
  9443. },
  9444. "wrstandardid": {
  9445. "description": "现货商品ID(SEQ_WRSTANDARD)",
  9446. "type": "integer"
  9447. },
  9448. "wrstandardname": {
  9449. "description": "现货商品名称",
  9450. "type": "string"
  9451. }
  9452. }
  9453. },
  9454. "ermcp.QueryErmcpTradePositionRsp": {
  9455. "type": "object",
  9456. "properties": {
  9457. "agreeunit": {
  9458. "description": "合约单位",
  9459. "type": "number"
  9460. },
  9461. "buyorsell": {
  9462. "description": "方向 - 0:买 1:卖",
  9463. "type": "integer"
  9464. },
  9465. "curpositionqty": {
  9466. "description": "持仓(总仓数量, 期末头寸)",
  9467. "type": "integer"
  9468. },
  9469. "curtdposition": {
  9470. "description": "今仓数量(期末今日头寸)",
  9471. "type": "integer"
  9472. },
  9473. "curtdpositionenabled": {
  9474. "description": "今仓可用",
  9475. "type": "integer"
  9476. },
  9477. "decimalplace": {
  9478. "description": "报价小数位",
  9479. "type": "integer"
  9480. },
  9481. "enableqty": {
  9482. "description": "可用(总仓可用)",
  9483. "type": "integer"
  9484. },
  9485. "exexchangename": {
  9486. "description": "外部交易所名称",
  9487. "type": "string"
  9488. },
  9489. "goodscode": {
  9490. "description": "商品代码(内部)",
  9491. "type": "string"
  9492. },
  9493. "goodsid": {
  9494. "description": "商品ID(自增ID SEQ_GOODS)",
  9495. "type": "integer"
  9496. },
  9497. "goodsname": {
  9498. "description": "商品名称",
  9499. "type": "string"
  9500. },
  9501. "last": {
  9502. "description": "现价",
  9503. "type": "number"
  9504. },
  9505. "marketid": {
  9506. "description": "所属市场ID",
  9507. "type": "integer"
  9508. },
  9509. "openaverageprice": {
  9510. "description": "开仓均价【头寸变化更新】 = 开仓成本 / 期末头寸 / 合约单位",
  9511. "type": "number"
  9512. },
  9513. "opencost": {
  9514. "description": "开仓成本",
  9515. "type": "number"
  9516. },
  9517. "openpl": {
  9518. "description": "逐笔浮盈【实时行情更新】(MTP:开仓盈亏、平仓盈亏) 买方向 = (最新价 - 开仓均价) * 买期末头寸 * 合约单位;卖方向 = (开仓均价 - 最新价) * 买期末头寸 * 合约单位",
  9519. "type": "number"
  9520. },
  9521. "outgoodscode": {
  9522. "description": "商品代码(外部)",
  9523. "type": "string"
  9524. },
  9525. "positionaverageprice": {
  9526. "description": "持仓均价【头寸变化更新】= 持仓成本 / 期末头寸 / 合约单位",
  9527. "type": "number"
  9528. },
  9529. "positioncost": {
  9530. "description": "持仓成本",
  9531. "type": "number"
  9532. },
  9533. "positionpl": {
  9534. "description": "盯市浮盈【实时行情更新】(MTP:浮动盈亏、持仓盈亏) 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向 = (持仓均价 - 最新价) * 买期末头寸 * 合约单位",
  9535. "type": "number"
  9536. },
  9537. "positionplrate": {
  9538. "description": "持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本",
  9539. "type": "number"
  9540. },
  9541. "usedmargin": {
  9542. "description": "占用保证金",
  9543. "type": "number"
  9544. }
  9545. }
  9546. },
  9547. "ermcp.RealtimeExposurePositionRsp": {
  9548. "type": "object",
  9549. "properties": {
  9550. "agreeunit": {
  9551. "description": "合约单位",
  9552. "type": "string"
  9553. },
  9554. "areauserid": {
  9555. "description": "所属机构id",
  9556. "type": "integer"
  9557. },
  9558. "convertratio": {
  9559. "description": "期货品种系数(折算系数)",
  9560. "type": "number"
  9561. },
  9562. "curqty": {
  9563. "description": "当前持仓",
  9564. "type": "integer"
  9565. },
  9566. "diffhedgeqty": {
  9567. "description": "套保品种变动量=持仓变动量*期货合约单位*期货品种系数",
  9568. "type": "number"
  9569. },
  9570. "diffqty": {
  9571. "description": "持仓变动量=当前持仓-昨日持仓",
  9572. "type": "integer"
  9573. },
  9574. "goodscode": {
  9575. "description": "商品代码",
  9576. "type": "string"
  9577. },
  9578. "goodsid": {
  9579. "description": "商品id",
  9580. "type": "integer"
  9581. },
  9582. "goodsname": {
  9583. "description": "商品名称",
  9584. "type": "string"
  9585. },
  9586. "middlegoodsid": {
  9587. "description": "套保商品id",
  9588. "type": "integer"
  9589. },
  9590. "ydqty": {
  9591. "description": "昨日持仓",
  9592. "type": "integer"
  9593. }
  9594. }
  9595. },
  9596. "ermcp.RealtimeExposureRsp": {
  9597. "type": "object",
  9598. "properties": {
  9599. "areaUserID": {
  9600. "description": "所属机构",
  9601. "type": "integer"
  9602. },
  9603. "buyFutureQty": {
  9604. "description": "买入期货数量",
  9605. "type": "number"
  9606. },
  9607. "buyPlanQty": {
  9608. "description": "采购计划数量",
  9609. "type": "number"
  9610. },
  9611. "buyPricedQty": {
  9612. "description": "采购合同已定价数量",
  9613. "type": "number"
  9614. },
  9615. "diffFutuQty": {
  9616. "description": "今日变动量(期货) = (买入 - 买入期初) - (卖出 - 卖出期初)",
  9617. "type": "number"
  9618. },
  9619. "diffSpotQty": {
  9620. "description": "今日变动量(现货) = 现货数量 - 期初现货数量",
  9621. "type": "number"
  9622. },
  9623. "enumdicname": {
  9624. "description": "单位名称",
  9625. "type": "string"
  9626. },
  9627. "middleGoodsCode": {
  9628. "description": "套保品种代码",
  9629. "type": "string"
  9630. },
  9631. "middleGoodsHedgeRatio": {
  9632. "description": "应套保比例",
  9633. "type": "number"
  9634. },
  9635. "middleGoodsID": {
  9636. "description": "套保品种",
  9637. "type": "integer"
  9638. },
  9639. "middleGoodsName": {
  9640. "description": "套保品种名称",
  9641. "type": "string"
  9642. },
  9643. "needHedgeExposoure": {
  9644. "description": "应套保敞口",
  9645. "type": "number"
  9646. },
  9647. "needHedgeRatio": {
  9648. "description": "应套保敞口比例",
  9649. "type": "number"
  9650. },
  9651. "oriBuyFutureQty": {
  9652. "description": "期初买入期货数量",
  9653. "type": "number"
  9654. },
  9655. "oriBuyPlanQty": {
  9656. "description": "期初采购计划数量",
  9657. "type": "number"
  9658. },
  9659. "oriBuyPricedQty": {
  9660. "description": "期初采购合同已定价数量",
  9661. "type": "number"
  9662. },
  9663. "oriSellFutureQty": {
  9664. "description": "期初卖出期货数量",
  9665. "type": "number"
  9666. },
  9667. "oriSellPlanQty": {
  9668. "description": "期初销售计划数量",
  9669. "type": "number"
  9670. },
  9671. "oriSellPricedQty": {
  9672. "description": "期初销售合同已定价数量",
  9673. "type": "number"
  9674. },
  9675. "oriTotalFutuQty": {
  9676. "description": "期初期货数量=期初买入期货数量-期初卖出期货数量",
  9677. "type": "number"
  9678. },
  9679. "oriTotalSpotQty": {
  9680. "description": "期初现货数量=(期初销售计划数量-期初销售合同已定价数量)-(期初采购计划数量-期初采购合同已定价数量)",
  9681. "type": "number"
  9682. },
  9683. "sellFutureQty": {
  9684. "description": "卖出期货数量",
  9685. "type": "number"
  9686. },
  9687. "sellPlanQty": {
  9688. "description": "销售计划数量",
  9689. "type": "number"
  9690. },
  9691. "sellPricedQty": {
  9692. "description": "销售合同已定价数量",
  9693. "type": "number"
  9694. },
  9695. "totalExposure": {
  9696. "description": "总敞口",
  9697. "type": "number"
  9698. },
  9699. "totalFutureQty": {
  9700. "description": "期货数量",
  9701. "type": "number"
  9702. },
  9703. "totalHedgeRatio": {
  9704. "description": "敞口比例",
  9705. "type": "number"
  9706. },
  9707. "totalNeedHedgeQty": {
  9708. "description": "期货应套保量",
  9709. "type": "number"
  9710. },
  9711. "totalSpotQty": {
  9712. "description": "现货数量",
  9713. "type": "number"
  9714. }
  9715. }
  9716. },
  9717. "erms2.QueryArbitrageStrategyRsp": {
  9718. "type": "object",
  9719. "required": [
  9720. "asapplyid"
  9721. ],
  9722. "properties": {
  9723. "applybasis": {
  9724. "description": "申请基差",
  9725. "type": "number"
  9726. },
  9727. "asapplyid": {
  9728. "description": "策略申请ID(702+Unix秒时间戳(10位)+xxxxxx)",
  9729. "type": "string"
  9730. },
  9731. "asname": {
  9732. "description": "策略名称",
  9733. "type": "string"
  9734. },
  9735. "asno": {
  9736. "description": "策略编号",
  9737. "type": "string"
  9738. },
  9739. "basischangepl": {
  9740. "description": "基差变动损益[结算更新]",
  9741. "type": "number"
  9742. },
  9743. "biztype": {
  9744. "description": "业务类型 - 1:正向套利 -1:反向套利",
  9745. "type": "integer"
  9746. },
  9747. "closetradedate": {
  9748. "description": "完结交易日(yyyyMMdd)",
  9749. "type": "string"
  9750. },
  9751. "curbasis": {
  9752. "description": "当前基差[结算更新]",
  9753. "type": "number"
  9754. },
  9755. "deliverygoodsid": {
  9756. "description": "现货品种ID",
  9757. "type": "integer"
  9758. },
  9759. "futureavgprice": {
  9760. "description": "期货建仓均价",
  9761. "type": "number"
  9762. },
  9763. "futurecloseamount": {
  9764. "description": "期货平仓金额",
  9765. "type": "number"
  9766. },
  9767. "futurecloseqty": {
  9768. "description": "期货平仓数量",
  9769. "type": "number"
  9770. },
  9771. "futureopenamount": {
  9772. "description": "期货开仓金额",
  9773. "type": "number"
  9774. },
  9775. "futureopenqty": {
  9776. "description": "期货开仓数量",
  9777. "type": "number"
  9778. },
  9779. "futurepl": {
  9780. "description": "期货总盈亏[结算更新]",
  9781. "type": "number"
  9782. },
  9783. "futureqty": {
  9784. "description": "期货持仓数量",
  9785. "type": "number"
  9786. },
  9787. "futurequote": {
  9788. "description": "期货额度",
  9789. "type": "number"
  9790. },
  9791. "goodsgroupid": {
  9792. "description": "期货品种ID",
  9793. "type": "integer"
  9794. },
  9795. "marketid": {
  9796. "description": "市场ID",
  9797. "type": "integer"
  9798. },
  9799. "netexposure": {
  9800. "description": "单笔业务头寸净敞口 = 期货持仓数量 + 已定价现货不含税数量",
  9801. "type": "number"
  9802. },
  9803. "netexposurepl": {
  9804. "description": "净敞口损益 = TotalPL - BasisChangePL[结算更新]",
  9805. "type": "number"
  9806. },
  9807. "netexposurerate": {
  9808. "description": "净敞口比例 - 0:未结束 = (NetExposure/PriceSpotQtyNoTax) ; 已结束为0",
  9809. "type": "number"
  9810. },
  9811. "openbasis": {
  9812. "description": "建仓基差",
  9813. "type": "number"
  9814. },
  9815. "pricedspotqty": {
  9816. "description": "已定价现货数量",
  9817. "type": "number"
  9818. },
  9819. "pricedspotqtynotax": {
  9820. "description": "已定价现货不含税数量",
  9821. "type": "number"
  9822. },
  9823. "remark": {
  9824. "description": "备注",
  9825. "type": "string"
  9826. },
  9827. "spotavgprice": {
  9828. "description": "现货均价",
  9829. "type": "number"
  9830. },
  9831. "spotbuyamount": {
  9832. "description": "现货采购金额",
  9833. "type": "number"
  9834. },
  9835. "spotbuyqty": {
  9836. "description": "现货采购数量",
  9837. "type": "number"
  9838. },
  9839. "spotpl": {
  9840. "description": "现货总盈亏[结算更新]",
  9841. "type": "number"
  9842. },
  9843. "spotquota": {
  9844. "description": "现货额度",
  9845. "type": "number"
  9846. },
  9847. "spotsellamount": {
  9848. "description": "现货销售金额",
  9849. "type": "number"
  9850. },
  9851. "spotsellqty": {
  9852. "description": "现货销售数量",
  9853. "type": "number"
  9854. },
  9855. "spotusedquota": {
  9856. "description": "现货占用资金",
  9857. "type": "number"
  9858. },
  9859. "strategystatus": {
  9860. "description": "策略状态 - 0:未结束 1:已结束",
  9861. "type": "integer"
  9862. },
  9863. "totalpl": {
  9864. "description": "业务合计损益 = FuturePL + SpotPL [结算更新]",
  9865. "type": "number"
  9866. },
  9867. "tradedate": {
  9868. "description": "交易日(yyyyMMdd)",
  9869. "type": "string"
  9870. },
  9871. "updatetime": {
  9872. "description": "更新时间",
  9873. "type": "string"
  9874. },
  9875. "usedquota": {
  9876. "description": "已占用资金",
  9877. "type": "number"
  9878. },
  9879. "userid": {
  9880. "description": "所属机构",
  9881. "type": "integer"
  9882. }
  9883. }
  9884. },
  9885. "erms2.QueryInnerTradeDetailRsp": {
  9886. "type": "object",
  9887. "required": [
  9888. "asapplyid",
  9889. "buyorsell",
  9890. "goodscode",
  9891. "goodsgroupid",
  9892. "goodsgroupname",
  9893. "goodsname",
  9894. "tradeid"
  9895. ],
  9896. "properties": {
  9897. "accountid": {
  9898. "description": "账号ID",
  9899. "type": "integer"
  9900. },
  9901. "agreeunit": {
  9902. "description": "合约单位",
  9903. "type": "number"
  9904. },
  9905. "asapplyid": {
  9906. "description": "策略申请ID",
  9907. "type": "integer"
  9908. },
  9909. "asname": {
  9910. "description": "策略名称",
  9911. "type": "string"
  9912. },
  9913. "asno": {
  9914. "description": "策略编号",
  9915. "type": "string"
  9916. },
  9917. "buyorsell": {
  9918. "description": "方向 - 0:买 1:卖",
  9919. "type": "integer"
  9920. },
  9921. "channelbuildtype": {
  9922. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  9923. "type": "integer"
  9924. },
  9925. "closetype": {
  9926. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  9927. "type": "integer"
  9928. },
  9929. "decimalplace": {
  9930. "description": "报价小数位",
  9931. "type": "integer"
  9932. },
  9933. "detailtype": {
  9934. "description": "明细类型 - 1:套利对冲 2:期货换月 3:期货仓位调整",
  9935. "type": "integer"
  9936. },
  9937. "exexchangecode": {
  9938. "description": "外部交易所代码",
  9939. "type": "string"
  9940. },
  9941. "exexchangename": {
  9942. "description": "外部交易所名称",
  9943. "type": "string"
  9944. },
  9945. "goodscode": {
  9946. "description": "商品代码(合约)",
  9947. "type": "string"
  9948. },
  9949. "goodsgroupid": {
  9950. "description": "商品组ID(品种ID)",
  9951. "type": "integer"
  9952. },
  9953. "goodsgroupname": {
  9954. "description": "商品组名称(品种)",
  9955. "type": "string"
  9956. },
  9957. "goodsid": {
  9958. "description": "商品ID",
  9959. "type": "integer"
  9960. },
  9961. "goodsname": {
  9962. "description": "商品名称(合约)",
  9963. "type": "string"
  9964. },
  9965. "goodunit": {
  9966. "description": "报价单位",
  9967. "type": "string"
  9968. },
  9969. "marketid": {
  9970. "description": "市场ID",
  9971. "type": "integer"
  9972. },
  9973. "orderid": {
  9974. "description": "委托单号",
  9975. "type": "string"
  9976. },
  9977. "outgoodscode": {
  9978. "description": "商品代码(外部)",
  9979. "type": "string"
  9980. },
  9981. "relatedouttradeid": {
  9982. "description": "关联外部成交单ID",
  9983. "type": "string"
  9984. },
  9985. "remark": {
  9986. "description": "备注",
  9987. "type": "string"
  9988. },
  9989. "spotcontractid": {
  9990. "description": "现货合同ID [1:套利对冲 为合同ID,2:期货换月\\3:期货仓位调整时为0]",
  9991. "type": "integer"
  9992. },
  9993. "spotcontractno": {
  9994. "description": "现货合同编号",
  9995. "type": "string"
  9996. },
  9997. "tradeid": {
  9998. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  9999. "type": "string"
  10000. },
  10001. "tradeprice": {
  10002. "description": "成交价格",
  10003. "type": "number"
  10004. },
  10005. "tradeqty": {
  10006. "description": "成交数量",
  10007. "type": "integer"
  10008. },
  10009. "tradetime": {
  10010. "description": "成交时间",
  10011. "type": "string"
  10012. },
  10013. "updatetime": {
  10014. "description": "更新时间",
  10015. "type": "string"
  10016. }
  10017. }
  10018. },
  10019. "erms2.QuerySpotContractRsp": {
  10020. "type": "object",
  10021. "required": [
  10022. "spotcontractid"
  10023. ],
  10024. "properties": {
  10025. "accountid": {
  10026. "description": "资金账户ID",
  10027. "type": "integer"
  10028. },
  10029. "areauserid": {
  10030. "description": "所属机构",
  10031. "type": "integer"
  10032. },
  10033. "closedate": {
  10034. "description": "终止日期",
  10035. "type": "string"
  10036. },
  10037. "closeremark": {
  10038. "description": "结束备注",
  10039. "type": "string"
  10040. },
  10041. "closetradedate": {
  10042. "description": "完结交易日(yyyyMMdd)",
  10043. "type": "string"
  10044. },
  10045. "closetype": {
  10046. "description": "终止类型 - 1:违约 2:提前终止",
  10047. "type": "integer"
  10048. },
  10049. "contractamount": {
  10050. "description": "合同金额",
  10051. "type": "number"
  10052. },
  10053. "contractattachment": {
  10054. "description": "合同附件",
  10055. "type": "string"
  10056. },
  10057. "contractno": {
  10058. "description": "现货合同编号",
  10059. "type": "string"
  10060. },
  10061. "contractqty": {
  10062. "description": "合同数量(数值) (用于计算)",
  10063. "type": "number"
  10064. },
  10065. "contractqtychar": {
  10066. "description": "合同数量\\已订价数量 (用于显示)",
  10067. "type": "string"
  10068. },
  10069. "contractstatus": {
  10070. "description": "合同状态 - 0:未结束 1:已结束",
  10071. "type": "integer"
  10072. },
  10073. "contracttype": {
  10074. "description": "现货合同类型 - 1:采购合同 -1:销售合同",
  10075. "type": "integer"
  10076. },
  10077. "customeraccountid": {
  10078. "description": "客户资金账户ID",
  10079. "type": "integer"
  10080. },
  10081. "customeruserid": {
  10082. "description": "客户ID",
  10083. "type": "integer"
  10084. },
  10085. "deliverygoodsdesc": {
  10086. "description": "品种说明",
  10087. "type": "string"
  10088. },
  10089. "deliverygoodsid": {
  10090. "description": "现货品种ID",
  10091. "type": "integer"
  10092. },
  10093. "handlestatus": {
  10094. "description": "处理状态",
  10095. "type": "integer"
  10096. },
  10097. "invoiceatt": {
  10098. "description": "发票附件",
  10099. "type": "string"
  10100. },
  10101. "invoicedatetime": {
  10102. "description": "开收票更新时间",
  10103. "type": "string"
  10104. },
  10105. "invoiceopentime": {
  10106. "description": "开票时间",
  10107. "type": "string"
  10108. },
  10109. "invoiceremark": {
  10110. "description": "发票备注",
  10111. "type": "string"
  10112. },
  10113. "invoicestatus": {
  10114. "description": "开收票状态 - 0:未开票 1:已开票",
  10115. "type": "integer"
  10116. },
  10117. "lastdate": {
  10118. "description": "交货时间",
  10119. "type": "string"
  10120. },
  10121. "marketid": {
  10122. "description": "市场ID",
  10123. "type": "integer"
  10124. },
  10125. "paydatetime": {
  10126. "description": "收付款更新时间",
  10127. "type": "string"
  10128. },
  10129. "payremark": {
  10130. "description": "收付款备注",
  10131. "type": "string"
  10132. },
  10133. "paystatus": {
  10134. "description": "收付款状态 - 0:未支付 1:已收款 2:已付款",
  10135. "type": "integer"
  10136. },
  10137. "positionqty": {
  10138. "description": "头寸数量 - 合同数量去小数部分",
  10139. "type": "integer"
  10140. },
  10141. "producttype": {
  10142. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  10143. "type": "integer"
  10144. },
  10145. "relatedqty": {
  10146. "description": "已关联数量",
  10147. "type": "number"
  10148. },
  10149. "relatedstatus": {
  10150. "description": "关联完结状态 - 0:未结束 1:已结束",
  10151. "type": "integer"
  10152. },
  10153. "remark": {
  10154. "description": "备注",
  10155. "type": "string"
  10156. },
  10157. "signdate": {
  10158. "description": "签订日期",
  10159. "type": "string"
  10160. },
  10161. "spotcontractid": {
  10162. "description": "现货合同ID(701+Unix秒时间戳(10位)+xxxxxx)",
  10163. "type": "string"
  10164. },
  10165. "spotdatetime": {
  10166. "description": "收发货更新时间",
  10167. "type": "string"
  10168. },
  10169. "spotprice": {
  10170. "description": "价格",
  10171. "type": "number"
  10172. },
  10173. "spotremark": {
  10174. "description": "收发货备注",
  10175. "type": "string"
  10176. },
  10177. "spotstatus": {
  10178. "description": "收发货状态 - 0:未交收 1:已发货 2:已发货",
  10179. "type": "integer"
  10180. },
  10181. "tradedate": {
  10182. "description": "交易日(yyyyMMdd)",
  10183. "type": "string"
  10184. },
  10185. "userid": {
  10186. "description": "业务员用户ID",
  10187. "type": "integer"
  10188. },
  10189. "warehouseid": {
  10190. "description": "仓库ID",
  10191. "type": "integer"
  10192. },
  10193. "wrfactortypeid": {
  10194. "description": "仓单要素类型ID",
  10195. "type": "integer"
  10196. },
  10197. "wrstandardid": {
  10198. "description": "仓单标准ID(SEQ_WRSTANDARD)",
  10199. "type": "integer"
  10200. }
  10201. }
  10202. },
  10203. "erms3.AddErms2ASApplyReq": {
  10204. "type": "object",
  10205. "required": [
  10206. "asapplyid"
  10207. ],
  10208. "properties": {
  10209. "applybasis": {
  10210. "description": "申请基差",
  10211. "type": "number"
  10212. },
  10213. "applystatus": {
  10214. "description": "申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  10215. "type": "integer"
  10216. },
  10217. "asapplyid": {
  10218. "description": "策略申请ID(342+Unix秒时间戳(10位)+xxxxxx)",
  10219. "type": "integer"
  10220. },
  10221. "asname": {
  10222. "description": "策略名称",
  10223. "type": "string"
  10224. },
  10225. "asno": {
  10226. "description": "策略编号",
  10227. "type": "string"
  10228. },
  10229. "auditid": {
  10230. "description": "审核人",
  10231. "type": "integer"
  10232. },
  10233. "auditremark": {
  10234. "description": "审核备注",
  10235. "type": "string"
  10236. },
  10237. "audittime": {
  10238. "description": "审核时间",
  10239. "type": "string"
  10240. },
  10241. "biztype": {
  10242. "description": "业务类型 - 1:正向套利 2:反向套利",
  10243. "type": "integer"
  10244. },
  10245. "createtime": {
  10246. "description": "创建时间",
  10247. "type": "string"
  10248. },
  10249. "creatorid": {
  10250. "description": "创建人",
  10251. "type": "integer"
  10252. },
  10253. "deliverygoodsid": {
  10254. "description": "现货品种ID",
  10255. "type": "integer"
  10256. },
  10257. "futurequote": {
  10258. "description": "期货额度",
  10259. "type": "number"
  10260. },
  10261. "goodsgroupid": {
  10262. "description": "期货品种ID",
  10263. "type": "integer"
  10264. },
  10265. "marketid": {
  10266. "description": "市场ID",
  10267. "type": "integer"
  10268. },
  10269. "remark": {
  10270. "description": "备注",
  10271. "type": "string"
  10272. },
  10273. "spotquota": {
  10274. "description": "现货额度",
  10275. "type": "number"
  10276. },
  10277. "tradedate": {
  10278. "description": "交易日(yyyyMMdd)",
  10279. "type": "string"
  10280. },
  10281. "userid": {
  10282. "description": "所属机构",
  10283. "type": "integer"
  10284. }
  10285. }
  10286. },
  10287. "erms3.AddErms2SpotTradeApplyReq": {
  10288. "type": "object",
  10289. "required": [
  10290. "spottradeid"
  10291. ],
  10292. "properties": {
  10293. "applyjsondetail": {
  10294. "description": "申请明细(JSON)",
  10295. "type": "string"
  10296. },
  10297. "applystatus": {
  10298. "description": "申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  10299. "type": "integer"
  10300. },
  10301. "areauserid": {
  10302. "description": "所属机构",
  10303. "type": "integer"
  10304. },
  10305. "auditid": {
  10306. "description": "审核人",
  10307. "type": "integer"
  10308. },
  10309. "auditremark": {
  10310. "description": "审核备注",
  10311. "type": "string"
  10312. },
  10313. "audittime": {
  10314. "description": "审核时间",
  10315. "type": "string"
  10316. },
  10317. "createtime": {
  10318. "description": "创建时间",
  10319. "type": "string"
  10320. },
  10321. "creatorid": {
  10322. "description": "创建人",
  10323. "type": "integer"
  10324. },
  10325. "deliverygoodsid": {
  10326. "description": "现货品种ID",
  10327. "type": "integer"
  10328. },
  10329. "futureaccountid": {
  10330. "description": "期货资金账户",
  10331. "type": "integer"
  10332. },
  10333. "goodsgroupid": {
  10334. "description": "期货品种",
  10335. "type": "integer"
  10336. },
  10337. "marketid": {
  10338. "description": "市场ID",
  10339. "type": "integer"
  10340. },
  10341. "remark": {
  10342. "description": "备注",
  10343. "type": "string"
  10344. },
  10345. "spotaccountid": {
  10346. "description": "现货资金账户",
  10347. "type": "integer"
  10348. },
  10349. "spottradeid": {
  10350. "description": "业务ID(341+Unix秒时间戳(10位)+xxxxxx)",
  10351. "type": "integer"
  10352. },
  10353. "spottradename": {
  10354. "description": "业务名称",
  10355. "type": "string"
  10356. },
  10357. "spottradeno": {
  10358. "description": "业务编号",
  10359. "type": "string"
  10360. },
  10361. "tradedate": {
  10362. "description": "交易日(yyyyMMdd)",
  10363. "type": "string"
  10364. },
  10365. "wrstandardid": {
  10366. "description": "仓单标准ID",
  10367. "type": "integer"
  10368. }
  10369. }
  10370. },
  10371. "erms3.AddSpotContractApplyReq": {
  10372. "type": "object",
  10373. "required": [
  10374. "accountid",
  10375. "areauserid",
  10376. "contractno",
  10377. "contracttype",
  10378. "customeraccountid",
  10379. "customeruserid",
  10380. "details",
  10381. "orimargin",
  10382. "signdate"
  10383. ],
  10384. "properties": {
  10385. "accountid": {
  10386. "description": "资金账户ID",
  10387. "type": "integer"
  10388. },
  10389. "areauserid": {
  10390. "description": "所属机构",
  10391. "type": "integer"
  10392. },
  10393. "contractattachment": {
  10394. "description": "合同附件",
  10395. "type": "string"
  10396. },
  10397. "contractno": {
  10398. "description": "现货合同编号",
  10399. "type": "string"
  10400. },
  10401. "contracttype": {
  10402. "description": "现货合同类型 - 1:采购 -1:销售",
  10403. "type": "integer"
  10404. },
  10405. "creatorid": {
  10406. "description": "申请人",
  10407. "type": "integer"
  10408. },
  10409. "customeraccountid": {
  10410. "description": "客户资金账户ID",
  10411. "type": "integer"
  10412. },
  10413. "customeruserid": {
  10414. "description": "客户ID",
  10415. "type": "integer"
  10416. },
  10417. "details": {
  10418. "description": "明细",
  10419. "type": "array",
  10420. "items": {
  10421. "$ref": "#/definitions/erms3.SoptContractDetail"
  10422. }
  10423. },
  10424. "orimargin": {
  10425. "description": "初始保证金",
  10426. "type": "number"
  10427. },
  10428. "remark": {
  10429. "description": "备注",
  10430. "type": "string"
  10431. },
  10432. "signdate": {
  10433. "description": "签订日期",
  10434. "type": "string"
  10435. }
  10436. }
  10437. },
  10438. "erms3.AddSpotContractApplyRsp": {
  10439. "type": "object",
  10440. "required": [
  10441. "contractno"
  10442. ],
  10443. "properties": {
  10444. "contractno": {
  10445. "description": "现货合同编号",
  10446. "type": "string"
  10447. },
  10448. "spotcontractid": {
  10449. "description": "现货合同ID(345+Unix秒时间戳(10位)+xxxxxx)",
  10450. "type": "integer"
  10451. }
  10452. }
  10453. },
  10454. "erms3.AddUserInfoApplyReq": {
  10455. "type": "object",
  10456. "required": [
  10457. "userid"
  10458. ],
  10459. "properties": {
  10460. "accountid": {
  10461. "description": "交易系统帐号Id (加密存储)",
  10462. "type": "integer"
  10463. },
  10464. "areacode": {
  10465. "description": "机构代码",
  10466. "type": "string"
  10467. },
  10468. "areaid": {
  10469. "description": "机构Id",
  10470. "type": "integer"
  10471. },
  10472. "attachment1": {
  10473. "description": "附件1",
  10474. "type": "string"
  10475. },
  10476. "attachment2": {
  10477. "description": "附件2",
  10478. "type": "string"
  10479. },
  10480. "attachment3": {
  10481. "description": "附件3",
  10482. "type": "string"
  10483. },
  10484. "attachment4": {
  10485. "description": "附件4",
  10486. "type": "string"
  10487. },
  10488. "attachment5": {
  10489. "description": "附件5",
  10490. "type": "string"
  10491. },
  10492. "auditedby": {
  10493. "description": "审核人",
  10494. "type": "string"
  10495. },
  10496. "auditime": {
  10497. "description": "审核时间",
  10498. "type": "string"
  10499. },
  10500. "bankaccount": {
  10501. "description": "银行帐号 (加密存储)",
  10502. "type": "string"
  10503. },
  10504. "bankaccountname": {
  10505. "description": "收款人名称",
  10506. "type": "string"
  10507. },
  10508. "bankcardbackphotourl": {
  10509. "description": "银行卡背面照地址",
  10510. "type": "string"
  10511. },
  10512. "bankcardfrontphotourl": {
  10513. "description": "银行卡正面照地址",
  10514. "type": "string"
  10515. },
  10516. "bankid": {
  10517. "description": "银行编码",
  10518. "type": "string"
  10519. },
  10520. "bankname": {
  10521. "description": "银行名称",
  10522. "type": "string"
  10523. },
  10524. "bankpictureurl": {
  10525. "description": "银行卡正面地址",
  10526. "type": "string"
  10527. },
  10528. "biznature": {
  10529. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  10530. "type": "integer"
  10531. },
  10532. "bizscope": {
  10533. "description": "企业经营范围(企业)",
  10534. "type": "string"
  10535. },
  10536. "biztype": {
  10537. "description": "企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储",
  10538. "type": "integer"
  10539. },
  10540. "brokerid": {
  10541. "description": "经纪人ID(加密存储)",
  10542. "type": "string"
  10543. },
  10544. "cardaddress": {
  10545. "description": "证件地址 (加密存储)",
  10546. "type": "string"
  10547. },
  10548. "cardbackphotourl": {
  10549. "description": "背面证件照地址",
  10550. "type": "string"
  10551. },
  10552. "cardfrontphotourl": {
  10553. "description": "正面证件照地址",
  10554. "type": "string"
  10555. },
  10556. "cardnum": {
  10557. "description": "证件号码 (加密存储)",
  10558. "type": "string"
  10559. },
  10560. "cardtype": {
  10561. "description": "证件类型",
  10562. "type": "integer"
  10563. },
  10564. "cityid": {
  10565. "description": "市",
  10566. "type": "integer"
  10567. },
  10568. "company": {
  10569. "description": "公司(个人)",
  10570. "type": "string"
  10571. },
  10572. "contactcardbackphotourl": {
  10573. "description": "联系人证件背面图片地址",
  10574. "type": "string"
  10575. },
  10576. "contactcardfrontphotourl": {
  10577. "description": "联系人证件正面图片地址",
  10578. "type": "string"
  10579. },
  10580. "contactname": {
  10581. "description": "联系人",
  10582. "type": "string"
  10583. },
  10584. "countryid": {
  10585. "description": "国家",
  10586. "type": "integer"
  10587. },
  10588. "createtime": {
  10589. "description": "开户申请时间",
  10590. "type": "string"
  10591. },
  10592. "cusbankid": {
  10593. "description": "签约类型",
  10594. "type": "string"
  10595. },
  10596. "cusbankname": {
  10597. "description": "签约类型名称",
  10598. "type": "string"
  10599. },
  10600. "customername": {
  10601. "description": "客户名称(企业名称)",
  10602. "type": "string"
  10603. },
  10604. "districtid": {
  10605. "description": "地区",
  10606. "type": "integer"
  10607. },
  10608. "email": {
  10609. "description": "Email地址(加密存储)",
  10610. "type": "string"
  10611. },
  10612. "halfbodyphotourl": {
  10613. "description": "半身照地址",
  10614. "type": "string"
  10615. },
  10616. "headurl": {
  10617. "description": "头像地址",
  10618. "type": "string"
  10619. },
  10620. "ipaddress": {
  10621. "description": "IP地址",
  10622. "type": "string"
  10623. },
  10624. "isvalidate": {
  10625. "description": "是否有效 (删除后标记为失效) - 0:无效 1:有效",
  10626. "type": "string"
  10627. },
  10628. "legalcardbackphotourl": {
  10629. "description": "法人身份证背面照地址",
  10630. "type": "string"
  10631. },
  10632. "legalcardfrontphotourl": {
  10633. "description": "法人身份证正面照地址",
  10634. "type": "string"
  10635. },
  10636. "legalpersonname": {
  10637. "description": "法人姓名(企业)",
  10638. "type": "string"
  10639. },
  10640. "logincode": {
  10641. "description": "登录帐号 (加密存储)",
  10642. "type": "string"
  10643. },
  10644. "memberareaid": {
  10645. "description": "所属会员ID",
  10646. "type": "integer"
  10647. },
  10648. "mobile2": {
  10649. "description": "手机号码[明文-尚志]",
  10650. "type": "string"
  10651. },
  10652. "mobilephone": {
  10653. "description": "手机号码 (加密存储)",
  10654. "type": "string"
  10655. },
  10656. "modifiedby": {
  10657. "description": "修改人帐号",
  10658. "type": "integer"
  10659. },
  10660. "modifiedtime": {
  10661. "description": "修改时间",
  10662. "type": "string"
  10663. },
  10664. "nickname": {
  10665. "description": "昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)",
  10666. "type": "string"
  10667. },
  10668. "openmode": {
  10669. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)",
  10670. "type": "integer"
  10671. },
  10672. "otherurl": {
  10673. "description": "其它图片地址[使用分号分隔]",
  10674. "type": "string"
  10675. },
  10676. "postalcode": {
  10677. "description": "邮政编码",
  10678. "type": "string"
  10679. },
  10680. "provinceid": {
  10681. "description": "省",
  10682. "type": "integer"
  10683. },
  10684. "proxystatementurl": {
  10685. "description": "授权委托书",
  10686. "type": "string"
  10687. },
  10688. "qq": {
  10689. "description": "QQ(加密存储",
  10690. "type": "string"
  10691. },
  10692. "referral": {
  10693. "description": "推荐人编码",
  10694. "type": "string"
  10695. },
  10696. "remark": {
  10697. "description": "备注",
  10698. "type": "string"
  10699. },
  10700. "removebeforestatus": {
  10701. "description": "REMOVEBEFORESTATUS",
  10702. "type": "integer"
  10703. },
  10704. "sex": {
  10705. "description": "性别 - 0:女 1:男",
  10706. "type": "integer"
  10707. },
  10708. "signedstatus": {
  10709. "description": "账户一号签签约状态",
  10710. "type": "integer"
  10711. },
  10712. "signpdfurl": {
  10713. "description": "签约pdf文件",
  10714. "type": "string"
  10715. },
  10716. "subbranch": {
  10717. "description": "开户支行",
  10718. "type": "string"
  10719. },
  10720. "telphone": {
  10721. "description": "联系电话(加密存储)",
  10722. "type": "string"
  10723. },
  10724. "userid": {
  10725. "description": "用户ID(自增ID)",
  10726. "type": "integer"
  10727. },
  10728. "userinfotype": {
  10729. "description": "用户信息类型 - 1:个人 2:企业",
  10730. "type": "integer"
  10731. },
  10732. "username": {
  10733. "description": "用户姓名",
  10734. "type": "string"
  10735. },
  10736. "userstate": {
  10737. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  10738. "type": "integer"
  10739. },
  10740. "usertype": {
  10741. "description": "用户类型 - 1:投资者 2:机构",
  10742. "type": "integer"
  10743. },
  10744. "videourl": {
  10745. "description": "视频地址",
  10746. "type": "string"
  10747. },
  10748. "wechat": {
  10749. "description": "微信号 (加密存储)",
  10750. "type": "string"
  10751. }
  10752. }
  10753. },
  10754. "erms3.CustomerInfo": {
  10755. "type": "object",
  10756. "required": [
  10757. "userid"
  10758. ],
  10759. "properties": {
  10760. "accountids": {
  10761. "description": "资金账户ID列表",
  10762. "type": "array",
  10763. "items": {
  10764. "type": "integer"
  10765. }
  10766. },
  10767. "customername": {
  10768. "description": "名称(企业名称)",
  10769. "type": "string"
  10770. },
  10771. "mobile": {
  10772. "description": "手机号码",
  10773. "type": "string"
  10774. },
  10775. "userid": {
  10776. "description": "用户ID",
  10777. "type": "integer"
  10778. }
  10779. }
  10780. },
  10781. "erms3.ModifyUserInfoApplyReq": {
  10782. "type": "object",
  10783. "required": [
  10784. "userid"
  10785. ],
  10786. "properties": {
  10787. "accountid": {
  10788. "description": "交易系统帐号Id (加密存储)",
  10789. "type": "integer"
  10790. },
  10791. "areacode": {
  10792. "description": "机构代码",
  10793. "type": "string"
  10794. },
  10795. "areaid": {
  10796. "description": "机构Id",
  10797. "type": "integer"
  10798. },
  10799. "attachment1": {
  10800. "description": "附件1",
  10801. "type": "string"
  10802. },
  10803. "attachment2": {
  10804. "description": "附件2",
  10805. "type": "string"
  10806. },
  10807. "attachment3": {
  10808. "description": "附件3",
  10809. "type": "string"
  10810. },
  10811. "attachment4": {
  10812. "description": "附件4",
  10813. "type": "string"
  10814. },
  10815. "attachment5": {
  10816. "description": "附件5",
  10817. "type": "string"
  10818. },
  10819. "auditedby": {
  10820. "description": "审核人",
  10821. "type": "string"
  10822. },
  10823. "auditime": {
  10824. "description": "审核时间",
  10825. "type": "string"
  10826. },
  10827. "bankaccount": {
  10828. "description": "银行帐号 (加密存储)",
  10829. "type": "string"
  10830. },
  10831. "bankaccountname": {
  10832. "description": "收款人名称",
  10833. "type": "string"
  10834. },
  10835. "bankcardbackphotourl": {
  10836. "description": "银行卡背面照地址",
  10837. "type": "string"
  10838. },
  10839. "bankcardfrontphotourl": {
  10840. "description": "银行卡正面照地址",
  10841. "type": "string"
  10842. },
  10843. "bankid": {
  10844. "description": "银行编码",
  10845. "type": "string"
  10846. },
  10847. "bankname": {
  10848. "description": "银行名称",
  10849. "type": "string"
  10850. },
  10851. "bankpictureurl": {
  10852. "description": "银行卡正面地址",
  10853. "type": "string"
  10854. },
  10855. "biznature": {
  10856. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  10857. "type": "integer"
  10858. },
  10859. "bizscope": {
  10860. "description": "企业经营范围(企业)",
  10861. "type": "string"
  10862. },
  10863. "biztype": {
  10864. "description": "企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储",
  10865. "type": "integer"
  10866. },
  10867. "brokerid": {
  10868. "description": "经纪人ID(加密存储)",
  10869. "type": "string"
  10870. },
  10871. "cardaddress": {
  10872. "description": "证件地址 (加密存储)",
  10873. "type": "string"
  10874. },
  10875. "cardbackphotourl": {
  10876. "description": "背面证件照地址",
  10877. "type": "string"
  10878. },
  10879. "cardfrontphotourl": {
  10880. "description": "正面证件照地址",
  10881. "type": "string"
  10882. },
  10883. "cardnum": {
  10884. "description": "证件号码 (加密存储)",
  10885. "type": "string"
  10886. },
  10887. "cardtype": {
  10888. "description": "证件类型",
  10889. "type": "integer"
  10890. },
  10891. "cityid": {
  10892. "description": "市",
  10893. "type": "integer"
  10894. },
  10895. "company": {
  10896. "description": "公司(个人)",
  10897. "type": "string"
  10898. },
  10899. "contactcardbackphotourl": {
  10900. "description": "联系人证件背面图片地址",
  10901. "type": "string"
  10902. },
  10903. "contactcardfrontphotourl": {
  10904. "description": "联系人证件正面图片地址",
  10905. "type": "string"
  10906. },
  10907. "contactname": {
  10908. "description": "联系人",
  10909. "type": "string"
  10910. },
  10911. "countryid": {
  10912. "description": "国家",
  10913. "type": "integer"
  10914. },
  10915. "createtime": {
  10916. "description": "开户申请时间",
  10917. "type": "string"
  10918. },
  10919. "cusbankid": {
  10920. "description": "签约类型",
  10921. "type": "string"
  10922. },
  10923. "cusbankname": {
  10924. "description": "签约类型名称",
  10925. "type": "string"
  10926. },
  10927. "customername": {
  10928. "description": "客户名称(企业名称)",
  10929. "type": "string"
  10930. },
  10931. "districtid": {
  10932. "description": "地区",
  10933. "type": "integer"
  10934. },
  10935. "email": {
  10936. "description": "Email地址(加密存储)",
  10937. "type": "string"
  10938. },
  10939. "halfbodyphotourl": {
  10940. "description": "半身照地址",
  10941. "type": "string"
  10942. },
  10943. "headurl": {
  10944. "description": "头像地址",
  10945. "type": "string"
  10946. },
  10947. "ipaddress": {
  10948. "description": "IP地址",
  10949. "type": "string"
  10950. },
  10951. "isvalidate": {
  10952. "description": "是否有效 (删除后标记为失效) - 0:无效 1:有效",
  10953. "type": "string"
  10954. },
  10955. "legalcardbackphotourl": {
  10956. "description": "法人身份证背面照地址",
  10957. "type": "string"
  10958. },
  10959. "legalcardfrontphotourl": {
  10960. "description": "法人身份证正面照地址",
  10961. "type": "string"
  10962. },
  10963. "legalpersonname": {
  10964. "description": "法人姓名(企业)",
  10965. "type": "string"
  10966. },
  10967. "logincode": {
  10968. "description": "登录帐号 (加密存储)",
  10969. "type": "string"
  10970. },
  10971. "memberareaid": {
  10972. "description": "所属会员ID",
  10973. "type": "integer"
  10974. },
  10975. "mobile2": {
  10976. "description": "手机号码[明文-尚志]",
  10977. "type": "string"
  10978. },
  10979. "mobilephone": {
  10980. "description": "手机号码 (加密存储)",
  10981. "type": "string"
  10982. },
  10983. "modifiedby": {
  10984. "description": "修改人帐号",
  10985. "type": "integer"
  10986. },
  10987. "modifiedtime": {
  10988. "description": "修改时间",
  10989. "type": "string"
  10990. },
  10991. "nickname": {
  10992. "description": "昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)",
  10993. "type": "string"
  10994. },
  10995. "openmode": {
  10996. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)",
  10997. "type": "integer"
  10998. },
  10999. "otherurl": {
  11000. "description": "其它图片地址[使用分号分隔]",
  11001. "type": "string"
  11002. },
  11003. "postalcode": {
  11004. "description": "邮政编码",
  11005. "type": "string"
  11006. },
  11007. "provinceid": {
  11008. "description": "省",
  11009. "type": "integer"
  11010. },
  11011. "proxystatementurl": {
  11012. "description": "授权委托书",
  11013. "type": "string"
  11014. },
  11015. "qq": {
  11016. "description": "QQ(加密存储",
  11017. "type": "string"
  11018. },
  11019. "referral": {
  11020. "description": "推荐人编码",
  11021. "type": "string"
  11022. },
  11023. "remark": {
  11024. "description": "备注",
  11025. "type": "string"
  11026. },
  11027. "removebeforestatus": {
  11028. "description": "REMOVEBEFORESTATUS",
  11029. "type": "integer"
  11030. },
  11031. "sex": {
  11032. "description": "性别 - 0:女 1:男",
  11033. "type": "integer"
  11034. },
  11035. "signedstatus": {
  11036. "description": "账户一号签签约状态",
  11037. "type": "integer"
  11038. },
  11039. "signpdfurl": {
  11040. "description": "签约pdf文件",
  11041. "type": "string"
  11042. },
  11043. "subbranch": {
  11044. "description": "开户支行",
  11045. "type": "string"
  11046. },
  11047. "telphone": {
  11048. "description": "联系电话(加密存储)",
  11049. "type": "string"
  11050. },
  11051. "userid": {
  11052. "description": "用户ID(自增ID)",
  11053. "type": "integer"
  11054. },
  11055. "userinfotype": {
  11056. "description": "用户信息类型 - 1:个人 2:企业",
  11057. "type": "integer"
  11058. },
  11059. "username": {
  11060. "description": "用户姓名",
  11061. "type": "string"
  11062. },
  11063. "userstate": {
  11064. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  11065. "type": "integer"
  11066. },
  11067. "usertype": {
  11068. "description": "用户类型 - 1:投资者 2:机构",
  11069. "type": "integer"
  11070. },
  11071. "videourl": {
  11072. "description": "视频地址",
  11073. "type": "string"
  11074. },
  11075. "wechat": {
  11076. "description": "微信号 (加密存储)",
  11077. "type": "string"
  11078. }
  11079. }
  11080. },
  11081. "erms3.QryAuditContractRsp": {
  11082. "type": "object",
  11083. "required": [
  11084. "matchcustomername",
  11085. "spotcontractid"
  11086. ],
  11087. "properties": {
  11088. "accountid": {
  11089. "description": "交易员ID",
  11090. "type": "string"
  11091. },
  11092. "applystatus": {
  11093. "description": "申请状态 - 0:未审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  11094. "type": "integer"
  11095. },
  11096. "curdeliveryqty": {
  11097. "description": "未交收量",
  11098. "type": "integer"
  11099. },
  11100. "customername": {
  11101. "description": "采购方ID",
  11102. "type": "string"
  11103. },
  11104. "deliverygoodsid": {
  11105. "description": "品种ID",
  11106. "type": "string"
  11107. },
  11108. "deliveryqty": {
  11109. "description": "交收量",
  11110. "type": "integer"
  11111. },
  11112. "enumdicname": {
  11113. "description": "单位名称",
  11114. "type": "string"
  11115. },
  11116. "matchaccountid": {
  11117. "description": "业务员ID",
  11118. "type": "string"
  11119. },
  11120. "matchcustomername": {
  11121. "description": "销售方ID",
  11122. "type": "string"
  11123. },
  11124. "pricedqty": {
  11125. "description": "定价量",
  11126. "type": "number"
  11127. },
  11128. "signdate": {
  11129. "description": "签订日期",
  11130. "type": "string"
  11131. },
  11132. "spotcontractid": {
  11133. "description": "合同ID",
  11134. "type": "string"
  11135. },
  11136. "totaldqty": {
  11137. "description": "合同量",
  11138. "type": "number"
  11139. },
  11140. "unpricedqty": {
  11141. "description": "未定价量",
  11142. "type": "number"
  11143. },
  11144. "wrstandardname": {
  11145. "description": "商品名称",
  11146. "type": "string"
  11147. }
  11148. }
  11149. },
  11150. "erms3.QryPendingBizRsp": {
  11151. "type": "object",
  11152. "properties": {
  11153. "accountid": {
  11154. "description": "现货账户",
  11155. "type": "string"
  11156. },
  11157. "areaname": {
  11158. "description": "所属部门",
  11159. "type": "string"
  11160. },
  11161. "bizid": {
  11162. "description": "业务ID",
  11163. "type": "string"
  11164. },
  11165. "bizname": {
  11166. "description": "业务名称",
  11167. "type": "string"
  11168. },
  11169. "status": {
  11170. "description": "状态,0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  11171. "type": "integer"
  11172. },
  11173. "type": {
  11174. "description": "业务类型,1-期现套利,2-仓单回购,3-现货贸易",
  11175. "type": "integer"
  11176. }
  11177. }
  11178. },
  11179. "erms3.QueryBusinessInfoRsp": {
  11180. "type": "object",
  11181. "properties": {
  11182. "businessid": {
  11183. "description": "业务ID.",
  11184. "type": "integer"
  11185. },
  11186. "buyamount": {
  11187. "description": "采购额.",
  11188. "type": "number"
  11189. },
  11190. "buyqty": {
  11191. "description": "采购量.",
  11192. "type": "string"
  11193. },
  11194. "futurepl": {
  11195. "description": "期货盈亏.",
  11196. "type": "number"
  11197. },
  11198. "futureqty": {
  11199. "description": "期货敞口.",
  11200. "type": "string"
  11201. },
  11202. "goodsid": {
  11203. "description": "商品名称/商品代码.",
  11204. "type": "string"
  11205. },
  11206. "hedgingqty": {
  11207. "description": "套保量.",
  11208. "type": "string"
  11209. },
  11210. "sellamount": {
  11211. "description": "销售额.",
  11212. "type": "number"
  11213. },
  11214. "sellqty": {
  11215. "description": "销售量.",
  11216. "type": "string"
  11217. },
  11218. "spotmarketvalue": {
  11219. "description": "现货市值.",
  11220. "type": "number"
  11221. },
  11222. "spotpl": {
  11223. "description": "浮动权益.",
  11224. "type": "number"
  11225. },
  11226. "spotqty": {
  11227. "description": "现货量.",
  11228. "type": "string"
  11229. },
  11230. "statu": {
  11231. "description": "状态,0-未结束 1-已结束.",
  11232. "type": "integer"
  11233. },
  11234. "totalpl": {
  11235. "description": "总盈亏.",
  11236. "type": "number"
  11237. },
  11238. "totalqty": {
  11239. "description": "总敞口.",
  11240. "type": "string"
  11241. },
  11242. "type": {
  11243. "description": "业务类型,1-期现套利,2-仓单回购,3-现货贸易.",
  11244. "type": "integer"
  11245. }
  11246. }
  11247. },
  11248. "erms3.QuerySpotContractAppleFormRsp": {
  11249. "type": "object",
  11250. "properties": {
  11251. "goodses": {
  11252. "description": "合约列表",
  11253. "type": "array",
  11254. "items": {
  11255. "$ref": "#/definitions/models.GoodsIDAndName"
  11256. }
  11257. },
  11258. "oppositeusers": {
  11259. "description": "对方账号列表",
  11260. "type": "array",
  11261. "items": {
  11262. "$ref": "#/definitions/erms3.CustomerInfo"
  11263. }
  11264. },
  11265. "ouruser": {
  11266. "description": "我方账号",
  11267. "$ref": "#/definitions/erms3.CustomerInfo"
  11268. },
  11269. "warehouseinfos": {
  11270. "description": "仓库信息列表",
  11271. "type": "array",
  11272. "items": {
  11273. "$ref": "#/definitions/models.Warehouseinfo"
  11274. }
  11275. },
  11276. "wrstandards": {
  11277. "description": "仓单标准列表",
  11278. "type": "array",
  11279. "items": {
  11280. "$ref": "#/definitions/models.WRStandardInfo"
  11281. }
  11282. }
  11283. }
  11284. },
  11285. "erms3.QuerySpotContractInfoRsp": {
  11286. "type": "object",
  11287. "properties": {
  11288. "accountid": {
  11289. "description": "表示交易员ID.",
  11290. "type": "integer"
  11291. },
  11292. "curdeliveryqty": {
  11293. "description": "表示未交收量.",
  11294. "type": "number"
  11295. },
  11296. "customername": {
  11297. "description": "若合同类型为采购合同,表示采购方ID;若合同类型为销售合同,表示销售方ID.",
  11298. "type": "string"
  11299. },
  11300. "deliverygoodsid": {
  11301. "description": "表示品种ID.",
  11302. "type": "string"
  11303. },
  11304. "deliveryqty": {
  11305. "description": "表示交收量.",
  11306. "type": "number"
  11307. },
  11308. "matchaccountid": {
  11309. "description": "表示业务员ID.",
  11310. "type": "integer"
  11311. },
  11312. "matchcustomername": {
  11313. "description": "若合同类型为采购合同,表示销售方;若合同类型为销售合同,表示采购方ID.",
  11314. "type": "string"
  11315. },
  11316. "priceqty": {
  11317. "description": "表示定价量.",
  11318. "type": "number"
  11319. },
  11320. "relatedbizid": {
  11321. "description": "表示业务ID.",
  11322. "type": "string"
  11323. },
  11324. "signdate": {
  11325. "description": "表示签订日期.",
  11326. "type": "string"
  11327. },
  11328. "spotcontractid": {
  11329. "description": "合同ID",
  11330. "type": "string"
  11331. },
  11332. "status": {
  11333. "description": "表示状态,0-履约中 1-已完成.",
  11334. "type": "integer"
  11335. },
  11336. "totalqty": {
  11337. "description": "表示合同量.",
  11338. "type": "number"
  11339. },
  11340. "unpricedqty": {
  11341. "description": "表示未定价量.",
  11342. "type": "number"
  11343. },
  11344. "wrstandardname": {
  11345. "description": "表示商品ID.",
  11346. "type": "string"
  11347. }
  11348. }
  11349. },
  11350. "erms3.QueryUserInfoAppliesRsp": {
  11351. "type": "object",
  11352. "required": [
  11353. "userid"
  11354. ],
  11355. "properties": {
  11356. "biznature": {
  11357. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  11358. "type": "integer"
  11359. },
  11360. "contactname": {
  11361. "description": "联系人",
  11362. "type": "string"
  11363. },
  11364. "createtime": {
  11365. "description": "开户申请时间",
  11366. "type": "string"
  11367. },
  11368. "userid": {
  11369. "description": "用户ID(自增ID)",
  11370. "type": "integer"
  11371. },
  11372. "userinfotype": {
  11373. "description": "用户信息类型 - 1:个人 2:企业",
  11374. "type": "integer"
  11375. },
  11376. "username": {
  11377. "description": "用户姓名",
  11378. "type": "string"
  11379. },
  11380. "userstate": {
  11381. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  11382. "type": "integer"
  11383. }
  11384. }
  11385. },
  11386. "erms3.QueryUserInfosRsp": {
  11387. "type": "object",
  11388. "required": [
  11389. "userid"
  11390. ],
  11391. "properties": {
  11392. "biznature": {
  11393. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  11394. "type": "integer"
  11395. },
  11396. "contactname": {
  11397. "description": "联系人",
  11398. "type": "string"
  11399. },
  11400. "customername": {
  11401. "description": "客户名称(企业名称)",
  11402. "type": "string"
  11403. },
  11404. "userid": {
  11405. "description": "用户ID",
  11406. "type": "integer"
  11407. },
  11408. "userinfotype": {
  11409. "description": "用户信息类型 - 1:个人 2:企业",
  11410. "type": "integer"
  11411. },
  11412. "userstatus": {
  11413. "description": "用户状态 - 1:正常 2:注销",
  11414. "type": "integer"
  11415. }
  11416. }
  11417. },
  11418. "erms3.SoptContractDetail": {
  11419. "type": "object",
  11420. "required": [
  11421. "deliverygoodsid",
  11422. "producttype",
  11423. "unitname",
  11424. "warehouseid",
  11425. "wrstandardid",
  11426. "wrstandardname"
  11427. ],
  11428. "properties": {
  11429. "deliverygoodsdesc": {
  11430. "description": "现货品种说明",
  11431. "type": "string"
  11432. },
  11433. "deliverygoodsid": {
  11434. "description": "现货品种ID",
  11435. "type": "integer"
  11436. },
  11437. "deliverygoodsname": {
  11438. "description": "现货品种名称",
  11439. "type": "string"
  11440. },
  11441. "pointdesc": {
  11442. "description": "点价描述",
  11443. "type": "string"
  11444. },
  11445. "producttype": {
  11446. "description": "产品类型 1:标准仓单 2:等标 3:非标",
  11447. "type": "integer"
  11448. },
  11449. "producttypename": {
  11450. "description": "产品类型名称",
  11451. "type": "string"
  11452. },
  11453. "spotPointOrderVoList": {
  11454. "description": "点价列表",
  11455. "type": "array",
  11456. "items": {
  11457. "$ref": "#/definitions/erms3.SpotPointOrder"
  11458. }
  11459. },
  11460. "spotPriceOrderList": {
  11461. "description": "定价列表",
  11462. "type": "array",
  11463. "items": {
  11464. "$ref": "#/definitions/erms3.SpotPriceOrder"
  11465. }
  11466. },
  11467. "unitname": {
  11468. "description": "单位名称",
  11469. "type": "string"
  11470. },
  11471. "warehouseid": {
  11472. "description": "仓库ID",
  11473. "type": "integer"
  11474. },
  11475. "warehousename": {
  11476. "description": "仓库名称",
  11477. "type": "string"
  11478. },
  11479. "wrstandardid": {
  11480. "description": "交易标的ID",
  11481. "type": "integer"
  11482. },
  11483. "wrstandardname": {
  11484. "description": "交易标的名称",
  11485. "type": "string"
  11486. }
  11487. }
  11488. },
  11489. "erms3.SpotPointOrder": {
  11490. "type": "object",
  11491. "required": [
  11492. "basic",
  11493. "goodsid",
  11494. "qty"
  11495. ],
  11496. "properties": {
  11497. "basic": {
  11498. "description": "基差",
  11499. "type": "number"
  11500. },
  11501. "deliveryenddate": {
  11502. "description": "交收结束日期",
  11503. "type": "string"
  11504. },
  11505. "deliverystartdate": {
  11506. "description": "交收开始日期",
  11507. "type": "string"
  11508. },
  11509. "enddate": {
  11510. "description": "点价结束日期",
  11511. "type": "string"
  11512. },
  11513. "goodsid": {
  11514. "description": "商品ID",
  11515. "type": "integer"
  11516. },
  11517. "goodsname": {
  11518. "description": "商品名称",
  11519. "type": "string"
  11520. },
  11521. "qty": {
  11522. "description": "数量",
  11523. "type": "number"
  11524. },
  11525. "startdate": {
  11526. "description": "点价开始日期",
  11527. "type": "string"
  11528. }
  11529. }
  11530. },
  11531. "erms3.SpotPriceOrder": {
  11532. "type": "object",
  11533. "required": [
  11534. "amount",
  11535. "price",
  11536. "qty"
  11537. ],
  11538. "properties": {
  11539. "amount": {
  11540. "description": "金额",
  11541. "type": "number"
  11542. },
  11543. "deliveryenddate": {
  11544. "description": "交收结束日期",
  11545. "type": "string"
  11546. },
  11547. "deliverystartdate": {
  11548. "description": "交收开始日期",
  11549. "type": "string"
  11550. },
  11551. "price": {
  11552. "description": "价格",
  11553. "type": "number"
  11554. },
  11555. "qty": {
  11556. "description": "数量",
  11557. "type": "number"
  11558. }
  11559. }
  11560. },
  11561. "hsby.GetHsbyMyCountRsp": {
  11562. "type": "object",
  11563. "properties": {
  11564. "myCouponCount": {
  11565. "description": "我的优惠卷数量",
  11566. "type": "integer"
  11567. },
  11568. "myOrderDetailListingCount": {
  11569. "description": "我的订单求购中数量",
  11570. "type": "integer"
  11571. },
  11572. "myOrderDetailPreCount": {
  11573. "description": "我的订单抢购中数量",
  11574. "type": "integer"
  11575. },
  11576. "myPackageUnReceiveCount": {
  11577. "description": "我的包裹待收货数量",
  11578. "type": "integer"
  11579. },
  11580. "myPackageUnSendCount": {
  11581. "description": "我的包裹待发货数量",
  11582. "type": "integer"
  11583. },
  11584. "myPayOrderCount": {
  11585. "description": "我的订单待付款数量",
  11586. "type": "integer"
  11587. }
  11588. }
  11589. },
  11590. "hsby.QueryProvincesAndCitiesRsp": {
  11591. "type": "object",
  11592. "properties": {
  11593. "cities": {
  11594. "description": "市",
  11595. "type": "array",
  11596. "items": {
  11597. "$ref": "#/definitions/models.Division"
  11598. }
  11599. },
  11600. "province": {
  11601. "description": "省",
  11602. "$ref": "#/definitions/models.Division"
  11603. }
  11604. }
  11605. },
  11606. "models.Clientfixedadconfig": {
  11607. "type": "object",
  11608. "required": [
  11609. "adsort",
  11610. "adtype"
  11611. ],
  11612. "properties": {
  11613. "adsort": {
  11614. "description": "排序",
  11615. "type": "integer"
  11616. },
  11617. "adtype": {
  11618. "description": "广告位类型 - 1:新品抢购(HSBY)",
  11619. "type": "integer"
  11620. },
  11621. "areauserid": {
  11622. "description": "所属机构ID",
  11623. "type": "integer"
  11624. },
  11625. "createdate": {
  11626. "description": "创建时间",
  11627. "type": "string"
  11628. },
  11629. "creatorid": {
  11630. "description": "创建人",
  11631. "type": "integer"
  11632. },
  11633. "imagepath": {
  11634. "description": "图片",
  11635. "type": "string"
  11636. },
  11637. "isshow": {
  11638. "description": "是否展示 - 0:不展示 1:展示",
  11639. "type": "integer"
  11640. },
  11641. "modifierid": {
  11642. "description": "操作人",
  11643. "type": "integer"
  11644. },
  11645. "recsize": {
  11646. "description": "推荐尺寸",
  11647. "type": "string"
  11648. },
  11649. "title": {
  11650. "description": "标题",
  11651. "type": "string"
  11652. },
  11653. "updatedate": {
  11654. "description": "更新时间",
  11655. "type": "string"
  11656. },
  11657. "urlcontent": {
  11658. "description": "链接(地址或商品ID)",
  11659. "type": "string"
  11660. },
  11661. "urltype": {
  11662. "description": "链接类型 - 1:直接地址 2:商品ID",
  11663. "type": "integer"
  11664. }
  11665. }
  11666. },
  11667. "models.Division": {
  11668. "type": "object",
  11669. "required": [
  11670. "autoid",
  11671. "divisioncode"
  11672. ],
  11673. "properties": {
  11674. "autoid": {
  11675. "description": "自增ID",
  11676. "type": "integer"
  11677. },
  11678. "divisioncode": {
  11679. "description": "行政代码",
  11680. "type": "string"
  11681. },
  11682. "divisionlevel": {
  11683. "description": "行政级别",
  11684. "type": "string"
  11685. },
  11686. "divisionname": {
  11687. "description": "行政名称",
  11688. "type": "string"
  11689. },
  11690. "modifierid": {
  11691. "description": "修改人",
  11692. "type": "integer"
  11693. },
  11694. "modifytime": {
  11695. "description": "修改时间",
  11696. "type": "string"
  11697. },
  11698. "parentcode": {
  11699. "description": "上级行政代码",
  11700. "type": "string"
  11701. },
  11702. "pathname": {
  11703. "description": "路径名称",
  11704. "type": "string"
  11705. },
  11706. "postcode": {
  11707. "description": "邮政编码",
  11708. "type": "string"
  11709. },
  11710. "separablename": {
  11711. "description": "可拆分的全称",
  11712. "type": "string"
  11713. },
  11714. "shortcode": {
  11715. "description": "地区简码",
  11716. "type": "string"
  11717. }
  11718. }
  11719. },
  11720. "models.Enumdicitem": {
  11721. "type": "object",
  11722. "required": [
  11723. "autoid",
  11724. "enumdiccode",
  11725. "enumdicid",
  11726. "enumitemname"
  11727. ],
  11728. "properties": {
  11729. "autoid": {
  11730. "description": "自增ID",
  11731. "type": "integer"
  11732. },
  11733. "bankmappedvalue": {
  11734. "description": "银行服务对应值",
  11735. "type": "string"
  11736. },
  11737. "enumdiccode": {
  11738. "description": "所属枚举代码",
  11739. "type": "string"
  11740. },
  11741. "enumdicid": {
  11742. "description": "所属枚举ID",
  11743. "type": "integer"
  11744. },
  11745. "enumdicname": {
  11746. "description": "枚举项名称",
  11747. "type": "string"
  11748. },
  11749. "enumitemname": {
  11750. "description": "枚举项值",
  11751. "type": "integer"
  11752. },
  11753. "enumitemstatus": {
  11754. "description": "枚举项状态 - 1.启用 2.不启用",
  11755. "type": "integer"
  11756. },
  11757. "enumitemvalue": {
  11758. "description": "通用值 - [币种通用简写]",
  11759. "type": "string"
  11760. },
  11761. "param1": {
  11762. "description": "参数1[币种:币种小数位]",
  11763. "type": "string"
  11764. },
  11765. "param2": {
  11766. "description": "参数1[币种:币种显示单位]",
  11767. "type": "string"
  11768. },
  11769. "remark": {
  11770. "description": "备注",
  11771. "type": "string"
  11772. }
  11773. }
  11774. },
  11775. "models.ErmcpHisExposure": {
  11776. "type": "object",
  11777. "properties": {
  11778. "needhedgeexposoure": {
  11779. "description": "应套保敞口",
  11780. "type": "number"
  11781. },
  11782. "reckondate": {
  11783. "description": "日照时期(yyyyMMdd)",
  11784. "type": "string"
  11785. },
  11786. "totalexposure": {
  11787. "description": "总敞口",
  11788. "type": "number"
  11789. }
  11790. }
  11791. },
  11792. "models.ErmcpMiddleGoodsModel": {
  11793. "type": "object",
  11794. "properties": {
  11795. "areauserid": {
  11796. "description": "机构用户ID",
  11797. "type": "integer"
  11798. },
  11799. "enumdicname": {
  11800. "description": "单位名称",
  11801. "type": "string"
  11802. },
  11803. "evaluateratio": {
  11804. "description": "估价系数",
  11805. "type": "number"
  11806. },
  11807. "goodsgroupid": {
  11808. "description": "关联期货品种ID",
  11809. "type": "integer"
  11810. },
  11811. "isvalid": {
  11812. "description": "状态 0-无效(停用) 1-有效(正常)",
  11813. "type": "integer"
  11814. },
  11815. "middlegoodscode": {
  11816. "description": "套保品种代码",
  11817. "type": "string"
  11818. },
  11819. "middlegoodsid": {
  11820. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  11821. "type": "integer"
  11822. },
  11823. "middlegoodsname": {
  11824. "description": "套保品种名称",
  11825. "type": "string"
  11826. },
  11827. "modifytime": {
  11828. "description": "修改时间",
  11829. "type": "string"
  11830. },
  11831. "needhedgeratio": {
  11832. "description": "套保比率",
  11833. "type": "number"
  11834. },
  11835. "qtydecimalplace": {
  11836. "description": "数量小数位",
  11837. "type": "integer"
  11838. },
  11839. "relatedgoodsid": {
  11840. "description": "关联交易商品ID",
  11841. "type": "integer"
  11842. },
  11843. "relatedgoodstype": {
  11844. "description": "关联商品类型 - 1:期货合约 2:现货品种",
  11845. "type": "integer"
  11846. }
  11847. }
  11848. },
  11849. "models.ErmcpReportDayFR": {
  11850. "type": "object",
  11851. "properties": {
  11852. "areauserid": {
  11853. "description": "所属机构",
  11854. "type": "integer"
  11855. },
  11856. "collectinvoiceamount": {
  11857. "description": "今日开票金额",
  11858. "type": "number"
  11859. },
  11860. "collectinvoicecount": {
  11861. "description": "今日开票笔数",
  11862. "type": "integer"
  11863. },
  11864. "collectmoneyamount": {
  11865. "description": "今日收款金额",
  11866. "type": "number"
  11867. },
  11868. "collectmoneycount": {
  11869. "description": "今日收款笔数",
  11870. "type": "integer"
  11871. },
  11872. "payinvoiceamount": {
  11873. "description": "今日收票金额",
  11874. "type": "number"
  11875. },
  11876. "payinvoicecount": {
  11877. "description": "今日收票笔数",
  11878. "type": "integer"
  11879. },
  11880. "paymoneyamount": {
  11881. "description": "今日付款金额",
  11882. "type": "number"
  11883. },
  11884. "paymoneycount": {
  11885. "description": "今日付款笔数",
  11886. "type": "integer"
  11887. },
  11888. "reckondate": {
  11889. "description": "日照时期(yyyyMMdd)",
  11890. "type": "string"
  11891. },
  11892. "updatetime": {
  11893. "description": "更新时间",
  11894. "type": "string"
  11895. }
  11896. }
  11897. },
  11898. "models.ErmcpWrstandard": {
  11899. "type": "object",
  11900. "properties": {
  11901. "areauserid": {
  11902. "description": "所属机构",
  11903. "type": "integer"
  11904. },
  11905. "createtime": {
  11906. "description": "创建时间",
  11907. "type": "string"
  11908. },
  11909. "creatorid": {
  11910. "description": "创建人",
  11911. "type": "integer"
  11912. },
  11913. "deliverygoodsid": {
  11914. "description": "品种ID",
  11915. "type": "integer"
  11916. },
  11917. "enumdicname": {
  11918. "description": "单位名称",
  11919. "type": "string"
  11920. },
  11921. "isvalid": {
  11922. "description": "是否有效 0-无效(停用) 1-有效(正常)",
  11923. "type": "integer"
  11924. },
  11925. "minivalue": {
  11926. "description": "最小变动值",
  11927. "type": "integer"
  11928. },
  11929. "minivaluedp": {
  11930. "description": "最小变动值小数位",
  11931. "type": "integer"
  11932. },
  11933. "realminivalue": {
  11934. "description": "实际最小变动值",
  11935. "type": "integer"
  11936. },
  11937. "realminivaluedp": {
  11938. "description": "实际最小变动值小数位",
  11939. "type": "integer"
  11940. },
  11941. "remark": {
  11942. "description": "备注",
  11943. "type": "string"
  11944. },
  11945. "unitid": {
  11946. "description": "单位ID",
  11947. "type": "integer"
  11948. },
  11949. "updatetime": {
  11950. "description": "更新时间",
  11951. "type": "string"
  11952. },
  11953. "wrstandardcode": {
  11954. "description": "现货商品代码",
  11955. "type": "string"
  11956. },
  11957. "wrstandardid": {
  11958. "description": "现货商品ID(SEQ_WRSTANDARD)",
  11959. "type": "integer"
  11960. },
  11961. "wrstandardname": {
  11962. "description": "现货商品名称",
  11963. "type": "string"
  11964. }
  11965. }
  11966. },
  11967. "models.Goods": {
  11968. "type": "object",
  11969. "required": [
  11970. "goodscode",
  11971. "goodsid",
  11972. "goodsname",
  11973. "marketid"
  11974. ],
  11975. "properties": {
  11976. "agreeunit": {
  11977. "description": "合约单位",
  11978. "type": "number"
  11979. },
  11980. "auditaccountid": {
  11981. "description": "审核操作员账号",
  11982. "type": "integer"
  11983. },
  11984. "audittime": {
  11985. "description": "审核时间",
  11986. "type": "string"
  11987. },
  11988. "cancelaccountid": {
  11989. "description": "注销操作员账号",
  11990. "type": "integer"
  11991. },
  11992. "canceltime": {
  11993. "description": "注销时间",
  11994. "type": "string"
  11995. },
  11996. "closepricemode": {
  11997. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  11998. "type": "integer"
  11999. },
  12000. "closepriceparam": {
  12001. "description": "强平最新价浮动比例 - 方式为2时使用 (\u003c1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价",
  12002. "type": "number"
  12003. },
  12004. "createtime": {
  12005. "description": "创建时间",
  12006. "type": "string"
  12007. },
  12008. "creatorid": {
  12009. "description": "创建人",
  12010. "type": "integer"
  12011. },
  12012. "currencyid": {
  12013. "description": "报价货币ID",
  12014. "type": "integer"
  12015. },
  12016. "cutmode": {
  12017. "description": "斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓",
  12018. "type": "integer"
  12019. },
  12020. "decimalplace": {
  12021. "description": "报价小数位",
  12022. "type": "integer"
  12023. },
  12024. "delistingdate": {
  12025. "description": "商品退市时间(状态:退市) -- 已作废",
  12026. "type": "string"
  12027. },
  12028. "delistingmode": {
  12029. "description": "退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\\币币兑换)",
  12030. "type": "integer"
  12031. },
  12032. "deliveryflag": {
  12033. "description": "交割标志 - 0:不可交割 1:可交割",
  12034. "type": "integer"
  12035. },
  12036. "forceclosemode": {
  12037. "description": "定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]",
  12038. "type": "integer"
  12039. },
  12040. "forceclosevalue": {
  12041. "description": "定期强平参数 [收益权]",
  12042. "type": "integer"
  12043. },
  12044. "goodscode": {
  12045. "description": "商品代码(内部)",
  12046. "type": "string"
  12047. },
  12048. "goodscurrencyid": {
  12049. "description": "合约货币ID",
  12050. "type": "integer"
  12051. },
  12052. "goodsgroupid": {
  12053. "description": "所属商品组ID",
  12054. "type": "integer"
  12055. },
  12056. "goodsid": {
  12057. "description": "商品ID(自增ID SEQ_GOODS)",
  12058. "type": "integer"
  12059. },
  12060. "goodsname": {
  12061. "description": "商品名称",
  12062. "type": "string"
  12063. },
  12064. "goodsquotetype": {
  12065. "description": "合约报价类型: 1-直接报价 2-间接报价",
  12066. "type": "integer"
  12067. },
  12068. "goodsstatus": {
  12069. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  12070. "type": "integer"
  12071. },
  12072. "goodstradetype": {
  12073. "description": "商品交易权限类型 - 1:可建可平 3:不可建可平",
  12074. "type": "integer"
  12075. },
  12076. "goodunitid": {
  12077. "description": "报价单位ID",
  12078. "type": "integer"
  12079. },
  12080. "hasquoter": {
  12081. "description": "是否有报价商 - 0:无报价商 1:有报价商",
  12082. "type": "integer"
  12083. },
  12084. "hqprotecttime": {
  12085. "description": "行情保护时间(秒)",
  12086. "type": "integer"
  12087. },
  12088. "innerdealmode": {
  12089. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  12090. "type": "integer"
  12091. },
  12092. "isbuylimited": {
  12093. "description": "是否限制建仓量 - 0:不限制 1:限制",
  12094. "type": "integer"
  12095. },
  12096. "lasttradedate": {
  12097. "description": "最后交易日期(状态:待退市)",
  12098. "type": "string"
  12099. },
  12100. "listingdate": {
  12101. "description": "交易开始日期",
  12102. "type": "string"
  12103. },
  12104. "marketid": {
  12105. "description": "所属市场ID",
  12106. "type": "integer"
  12107. },
  12108. "modifierid": {
  12109. "description": "修改人",
  12110. "type": "integer"
  12111. },
  12112. "modifystatus": {
  12113. "description": "变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核",
  12114. "type": "integer"
  12115. },
  12116. "modifytime": {
  12117. "description": "修改时间",
  12118. "type": "string"
  12119. },
  12120. "outerdealmode": {
  12121. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  12122. "type": "integer"
  12123. },
  12124. "outgoodscode": {
  12125. "description": "商品代码(外部)",
  12126. "type": "string"
  12127. },
  12128. "qtydecimalplace": {
  12129. "description": "成交量小数位",
  12130. "type": "integer"
  12131. },
  12132. "quotegear": {
  12133. "description": "行情档位(1-10)",
  12134. "type": "integer"
  12135. },
  12136. "quoteminunit": {
  12137. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  12138. "type": "integer"
  12139. },
  12140. "quoteshowtype": {
  12141. "description": "行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价",
  12142. "type": "integer"
  12143. },
  12144. "quoteshowtypeinterval": {
  12145. "description": "行情报价间隔时间(秒)(成交价时为0)",
  12146. "type": "integer"
  12147. },
  12148. "remark": {
  12149. "description": "备注",
  12150. "type": "string"
  12151. }
  12152. }
  12153. },
  12154. "models.GoodsBrand": {
  12155. "type": "object",
  12156. "properties": {
  12157. "brandid": {
  12158. "description": "品牌ID",
  12159. "type": "integer"
  12160. },
  12161. "brandname": {
  12162. "description": "品牌名称",
  12163. "type": "string"
  12164. },
  12165. "isvalid": {
  12166. "description": "是否有效 - 0:无效 1:有效",
  12167. "type": "integer"
  12168. }
  12169. }
  12170. },
  12171. "models.GoodsGroupConvert": {
  12172. "type": "object",
  12173. "properties": {
  12174. "convertratio": {
  12175. "description": "折算系数",
  12176. "type": "number"
  12177. },
  12178. "dstgoodsgroupid": {
  12179. "description": "目标期货品种ID",
  12180. "type": "integer"
  12181. },
  12182. "goodsgroupname": {
  12183. "description": "期货品种名称",
  12184. "type": "string"
  12185. },
  12186. "outergroupcode": {
  12187. "description": "期货品种代码",
  12188. "type": "string"
  12189. },
  12190. "srcgoodsgroupid": {
  12191. "description": "源期货品种ID",
  12192. "type": "integer"
  12193. }
  12194. }
  12195. },
  12196. "models.GoodsIDAndName": {
  12197. "type": "object",
  12198. "required": [
  12199. "goodscode",
  12200. "goodsid",
  12201. "goodsname",
  12202. "marketid"
  12203. ],
  12204. "properties": {
  12205. "goodscode": {
  12206. "description": "商品代码(内部)",
  12207. "type": "string"
  12208. },
  12209. "goodsid": {
  12210. "description": "商品ID(自增ID SEQ_GOODS)",
  12211. "type": "integer"
  12212. },
  12213. "goodsname": {
  12214. "description": "商品名称",
  12215. "type": "string"
  12216. },
  12217. "marketid": {
  12218. "description": "所属市场ID",
  12219. "type": "integer"
  12220. }
  12221. }
  12222. },
  12223. "models.GoodsTypeModel": {
  12224. "type": "object",
  12225. "properties": {
  12226. "modelid": {
  12227. "description": "型号ID",
  12228. "type": "integer"
  12229. },
  12230. "modelname": {
  12231. "description": "型号名称",
  12232. "type": "string"
  12233. },
  12234. "updatetime": {
  12235. "description": "更新时间",
  12236. "type": "string"
  12237. }
  12238. }
  12239. },
  12240. "models.HsbyBuyMyPayOrder": {
  12241. "type": "object",
  12242. "required": [
  12243. "goodscode",
  12244. "goodsname",
  12245. "tradeid",
  12246. "trademode"
  12247. ],
  12248. "properties": {
  12249. "agreeunit": {
  12250. "description": "合约单位",
  12251. "type": "number"
  12252. },
  12253. "buyaccountid": {
  12254. "description": "买方账号ID[报价币种]",
  12255. "type": "integer"
  12256. },
  12257. "buyorderid": {
  12258. "description": "买方委托单号",
  12259. "type": "string"
  12260. },
  12261. "createtime": {
  12262. "description": "创建时间",
  12263. "type": "string"
  12264. },
  12265. "currencysign": {
  12266. "description": "货币符号",
  12267. "type": "string"
  12268. },
  12269. "decimalplace": {
  12270. "description": "报价小数位",
  12271. "type": "integer"
  12272. },
  12273. "goodscode": {
  12274. "description": "商品代码(内部)",
  12275. "type": "string"
  12276. },
  12277. "goodsid": {
  12278. "description": "商品ID",
  12279. "type": "integer"
  12280. },
  12281. "goodsname": {
  12282. "description": "商品名称",
  12283. "type": "string"
  12284. },
  12285. "marketid": {
  12286. "description": "市场ID",
  12287. "type": "integer"
  12288. },
  12289. "offamount": {
  12290. "description": "优惠金额",
  12291. "type": "number"
  12292. },
  12293. "payamount": {
  12294. "description": "支付金额 = TradeAmount + TradeCharge - OffAmount",
  12295. "type": "number"
  12296. },
  12297. "payflag": {
  12298. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  12299. "type": "integer"
  12300. },
  12301. "paylimitedtime": {
  12302. "description": "支付期限",
  12303. "type": "string"
  12304. },
  12305. "paytime": {
  12306. "description": "付款时间",
  12307. "type": "string"
  12308. },
  12309. "picurls1": {
  12310. "description": "预售商品介绍图片[多张用逗号分隔]",
  12311. "type": "string"
  12312. },
  12313. "picurls2": {
  12314. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  12315. "type": "string"
  12316. },
  12317. "sellaccountid": {
  12318. "description": "卖方账号ID[报价币种]",
  12319. "type": "integer"
  12320. },
  12321. "sellorderid": {
  12322. "description": "卖方委托单号",
  12323. "type": "string"
  12324. },
  12325. "tradeamount": {
  12326. "description": "成交金额",
  12327. "type": "number"
  12328. },
  12329. "tradecharge": {
  12330. "description": "成交手续费(买方)",
  12331. "type": "number"
  12332. },
  12333. "tradedate": {
  12334. "description": "交易日(yyyyMMdd)",
  12335. "type": "string"
  12336. },
  12337. "tradeid": {
  12338. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  12339. "type": "string"
  12340. },
  12341. "trademode": {
  12342. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  12343. "type": "integer"
  12344. },
  12345. "tradeprice": {
  12346. "description": "成交价格",
  12347. "type": "number"
  12348. },
  12349. "tradeqty": {
  12350. "description": "成交数量",
  12351. "type": "integer"
  12352. },
  12353. "vendorname1": {
  12354. "description": "预售商品供应商名称",
  12355. "type": "string"
  12356. },
  12357. "vendorname2": {
  12358. "description": "挂牌商品供应商名称",
  12359. "type": "string"
  12360. }
  12361. }
  12362. },
  12363. "models.HsbyBuyMyTradeDetail": {
  12364. "type": "object",
  12365. "required": [
  12366. "accountid",
  12367. "buyorsell",
  12368. "goodscode",
  12369. "goodsid",
  12370. "goodsname",
  12371. "marketid",
  12372. "orderid",
  12373. "qty",
  12374. "time",
  12375. "trademode"
  12376. ],
  12377. "properties": {
  12378. "accountid": {
  12379. "description": "账户ID[报价币种]",
  12380. "type": "integer"
  12381. },
  12382. "agreeunit": {
  12383. "description": "合约单位",
  12384. "type": "number"
  12385. },
  12386. "amount": {
  12387. "description": "金额 = 价格 * 数量 * 合约单位",
  12388. "type": "number"
  12389. },
  12390. "buyorsell": {
  12391. "description": "买卖 - 0:买 1:卖",
  12392. "type": "integer"
  12393. },
  12394. "currencysign": {
  12395. "description": "货币符号",
  12396. "type": "string"
  12397. },
  12398. "decimalplace": {
  12399. "description": "报价小数位",
  12400. "type": "integer"
  12401. },
  12402. "goodscode": {
  12403. "description": "商品代码(内部)",
  12404. "type": "string"
  12405. },
  12406. "goodsid": {
  12407. "description": "商品ID",
  12408. "type": "integer"
  12409. },
  12410. "goodsname": {
  12411. "description": "商品名称",
  12412. "type": "string"
  12413. },
  12414. "marketid": {
  12415. "description": "市场ID",
  12416. "type": "integer"
  12417. },
  12418. "orderid": {
  12419. "description": "单号(成交单号)",
  12420. "type": "string"
  12421. },
  12422. "picurls1": {
  12423. "description": "预售商品介绍图片[多张用逗号分隔]",
  12424. "type": "string"
  12425. },
  12426. "picurls2": {
  12427. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  12428. "type": "string"
  12429. },
  12430. "price": {
  12431. "description": "价格",
  12432. "type": "number"
  12433. },
  12434. "qty": {
  12435. "description": "数量",
  12436. "type": "integer"
  12437. },
  12438. "time": {
  12439. "description": "时间",
  12440. "type": "string"
  12441. },
  12442. "trademode": {
  12443. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  12444. "type": "integer"
  12445. },
  12446. "vendorname1": {
  12447. "description": "预售商品供应商名称",
  12448. "type": "string"
  12449. },
  12450. "vendorname2": {
  12451. "description": "挂牌商品供应商名称",
  12452. "type": "string"
  12453. }
  12454. }
  12455. },
  12456. "models.HsbyGoodsOrderDetail": {
  12457. "type": "object",
  12458. "required": [
  12459. "buyorsell",
  12460. "orderid",
  12461. "ordertime"
  12462. ],
  12463. "properties": {
  12464. "buyorsell": {
  12465. "description": "买卖 - 0:买 1:卖",
  12466. "type": "integer"
  12467. },
  12468. "currencysign": {
  12469. "description": "货币符号",
  12470. "type": "string"
  12471. },
  12472. "customername": {
  12473. "description": "客户名称(企业名称),已脱敏",
  12474. "type": "string"
  12475. },
  12476. "enableqty": {
  12477. "description": "可用数量",
  12478. "type": "integer"
  12479. },
  12480. "goodunit": {
  12481. "description": "报价单位",
  12482. "type": "string"
  12483. },
  12484. "orderid": {
  12485. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  12486. "type": "string"
  12487. },
  12488. "orderprice": {
  12489. "description": "委托价格",
  12490. "type": "number"
  12491. },
  12492. "ordertime": {
  12493. "description": "委托时间",
  12494. "type": "string"
  12495. }
  12496. }
  12497. },
  12498. "models.HsbyListingGoodsDetail": {
  12499. "type": "object",
  12500. "required": [
  12501. "goodscode",
  12502. "goodsid",
  12503. "goodsname",
  12504. "marketid",
  12505. "trademode"
  12506. ],
  12507. "properties": {
  12508. "agreeunit": {
  12509. "description": "合约单位",
  12510. "type": "number"
  12511. },
  12512. "buymaxqty": {
  12513. "description": "购买上限 [71] - 0为不限",
  12514. "type": "integer"
  12515. },
  12516. "currency": {
  12517. "description": "货币",
  12518. "type": "string"
  12519. },
  12520. "currencysign": {
  12521. "description": "货币符号",
  12522. "type": "string"
  12523. },
  12524. "decimalplace": {
  12525. "description": "报价小数位",
  12526. "type": "integer"
  12527. },
  12528. "desccityid": {
  12529. "description": "目的地(市)ID",
  12530. "type": "integer"
  12531. },
  12532. "descprovinceid": {
  12533. "description": "目的地(省)ID",
  12534. "type": "integer"
  12535. },
  12536. "goodscode": {
  12537. "description": "商品代码(内部)",
  12538. "type": "string"
  12539. },
  12540. "goodsdesc": {
  12541. "description": "商品详情",
  12542. "type": "string"
  12543. },
  12544. "goodsid": {
  12545. "description": "商品ID(自增ID SEQ_GOODS)",
  12546. "type": "integer"
  12547. },
  12548. "goodsname": {
  12549. "description": "商品名称",
  12550. "type": "string"
  12551. },
  12552. "goodsprice": {
  12553. "description": "商品价格",
  12554. "type": "number"
  12555. },
  12556. "hotindex": {
  12557. "description": "景点热度",
  12558. "type": "integer"
  12559. },
  12560. "last": {
  12561. "description": "现价",
  12562. "type": "number"
  12563. },
  12564. "limitdown": {
  12565. "description": "跌停价",
  12566. "type": "number"
  12567. },
  12568. "limitup": {
  12569. "description": "涨停价",
  12570. "type": "number"
  12571. },
  12572. "lotsize": {
  12573. "description": "手数最小变动单位",
  12574. "type": "integer"
  12575. },
  12576. "marketid": {
  12577. "description": "所属市场ID",
  12578. "type": "integer"
  12579. },
  12580. "picurls": {
  12581. "description": "介绍图片[多张用逗号分隔]",
  12582. "type": "string"
  12583. },
  12584. "quoteminunit": {
  12585. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  12586. "type": "integer"
  12587. },
  12588. "stepvalue": {
  12589. "description": "价格最小变动单位",
  12590. "type": "number"
  12591. },
  12592. "trademode": {
  12593. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  12594. "type": "integer"
  12595. },
  12596. "vendorattr": {
  12597. "description": "供应商附件(多张,逗号分隔)",
  12598. "type": "string"
  12599. },
  12600. "vendorname": {
  12601. "description": "供应商名称",
  12602. "type": "string"
  12603. },
  12604. "vendorphone": {
  12605. "description": "供应商客服电话",
  12606. "type": "string"
  12607. },
  12608. "videourls": {
  12609. "description": "介绍视频[多张用逗号分隔]",
  12610. "type": "string"
  12611. }
  12612. }
  12613. },
  12614. "models.HsbyMarketGoods": {
  12615. "type": "object",
  12616. "required": [
  12617. "accountid",
  12618. "buyorsell",
  12619. "goodscode",
  12620. "goodsid",
  12621. "goodsname",
  12622. "marketid",
  12623. "orderid",
  12624. "trademode"
  12625. ],
  12626. "properties": {
  12627. "accountid": {
  12628. "description": "账户ID[报价币种]",
  12629. "type": "integer"
  12630. },
  12631. "agreeunit": {
  12632. "description": "合约单位",
  12633. "type": "number"
  12634. },
  12635. "buyorsell": {
  12636. "description": "买卖 - 0:买 1:卖",
  12637. "type": "integer"
  12638. },
  12639. "categoryid": {
  12640. "description": "类别ID(WRCATEGORY)",
  12641. "type": "integer"
  12642. },
  12643. "currency": {
  12644. "description": "货币",
  12645. "type": "string"
  12646. },
  12647. "currencysign": {
  12648. "description": "货币符号",
  12649. "type": "string"
  12650. },
  12651. "customername": {
  12652. "description": "卖家名称",
  12653. "type": "string"
  12654. },
  12655. "decimalplace": {
  12656. "description": "报价小数位",
  12657. "type": "integer"
  12658. },
  12659. "goodscode": {
  12660. "description": "商品代码(内部)",
  12661. "type": "string"
  12662. },
  12663. "goodsid": {
  12664. "description": "商品ID",
  12665. "type": "integer"
  12666. },
  12667. "goodsname": {
  12668. "description": "商品名称",
  12669. "type": "string"
  12670. },
  12671. "goodsprice": {
  12672. "description": "商品价格",
  12673. "type": "number"
  12674. },
  12675. "hascoupon": {
  12676. "description": "是否可用优惠卷",
  12677. "type": "boolean"
  12678. },
  12679. "hotindex": {
  12680. "description": "景点热度",
  12681. "type": "integer"
  12682. },
  12683. "marketid": {
  12684. "description": "市场ID",
  12685. "type": "integer"
  12686. },
  12687. "orderid": {
  12688. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  12689. "type": "string"
  12690. },
  12691. "orderprice": {
  12692. "description": "委托价格",
  12693. "type": "number"
  12694. },
  12695. "orderstatus": {
  12696. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  12697. "type": "integer"
  12698. },
  12699. "picurls": {
  12700. "description": "介绍图片[多张用逗号分隔]",
  12701. "type": "string"
  12702. },
  12703. "quoteminunit": {
  12704. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  12705. "type": "integer"
  12706. },
  12707. "sellUserID": {
  12708. "description": "卖方UserID",
  12709. "type": "integer"
  12710. },
  12711. "trademode": {
  12712. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  12713. "type": "integer"
  12714. },
  12715. "videourls": {
  12716. "description": "介绍视频[多张用逗号分隔]",
  12717. "type": "string"
  12718. }
  12719. }
  12720. },
  12721. "models.HsbyMarketGoodsDetail": {
  12722. "type": "object",
  12723. "required": [
  12724. "accountid",
  12725. "buyorsell",
  12726. "goodscode",
  12727. "goodsid",
  12728. "goodsname",
  12729. "marketid",
  12730. "orderid",
  12731. "orderqty",
  12732. "trademode"
  12733. ],
  12734. "properties": {
  12735. "accountid": {
  12736. "description": "账户ID[报价币种]",
  12737. "type": "integer"
  12738. },
  12739. "agreeunit": {
  12740. "description": "合约单位",
  12741. "type": "number"
  12742. },
  12743. "buymaxqty": {
  12744. "description": "购买上限 [71] - 0为不限",
  12745. "type": "integer"
  12746. },
  12747. "buyorsell": {
  12748. "description": "买卖 - 0:买 1:卖",
  12749. "type": "integer"
  12750. },
  12751. "cancelqty": {
  12752. "description": "撤单数量",
  12753. "type": "integer"
  12754. },
  12755. "categoryid": {
  12756. "description": "类别ID(WRCATEGORY)",
  12757. "type": "integer"
  12758. },
  12759. "currency": {
  12760. "description": "货币",
  12761. "type": "string"
  12762. },
  12763. "currencysign": {
  12764. "description": "货币符号",
  12765. "type": "string"
  12766. },
  12767. "customername": {
  12768. "description": "卖家名称",
  12769. "type": "string"
  12770. },
  12771. "decimalplace": {
  12772. "description": "报价小数位",
  12773. "type": "integer"
  12774. },
  12775. "goodscode": {
  12776. "description": "商品代码(内部)",
  12777. "type": "string"
  12778. },
  12779. "goodsdesc": {
  12780. "description": "商品详情",
  12781. "type": "string"
  12782. },
  12783. "goodsid": {
  12784. "description": "商品ID",
  12785. "type": "integer"
  12786. },
  12787. "goodsname": {
  12788. "description": "商品名称",
  12789. "type": "string"
  12790. },
  12791. "goodsprice": {
  12792. "description": "商品价格",
  12793. "type": "number"
  12794. },
  12795. "hotindex": {
  12796. "description": "景点热度",
  12797. "type": "integer"
  12798. },
  12799. "lotsize": {
  12800. "description": "手数最小变动单位",
  12801. "type": "integer"
  12802. },
  12803. "marketid": {
  12804. "description": "市场ID",
  12805. "type": "integer"
  12806. },
  12807. "orderid": {
  12808. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  12809. "type": "string"
  12810. },
  12811. "orderprice": {
  12812. "description": "委托价格",
  12813. "type": "number"
  12814. },
  12815. "orderqty": {
  12816. "description": "委托数量",
  12817. "type": "integer"
  12818. },
  12819. "orderstatus": {
  12820. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  12821. "type": "integer"
  12822. },
  12823. "picurls": {
  12824. "description": "介绍图片[多张用逗号分隔]",
  12825. "type": "string"
  12826. },
  12827. "quoteminunit": {
  12828. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  12829. "type": "integer"
  12830. },
  12831. "sellUserID": {
  12832. "description": "卖方UserID",
  12833. "type": "integer"
  12834. },
  12835. "trademode": {
  12836. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  12837. "type": "integer"
  12838. },
  12839. "tradeqty": {
  12840. "description": "成交数量",
  12841. "type": "integer"
  12842. },
  12843. "vendorattr": {
  12844. "description": "供应商附件(多张,逗号分隔)",
  12845. "type": "string"
  12846. },
  12847. "vendorname": {
  12848. "description": "供应商名称",
  12849. "type": "string"
  12850. },
  12851. "vendorphone": {
  12852. "description": "供应商客服电话",
  12853. "type": "string"
  12854. },
  12855. "videourls": {
  12856. "description": "介绍视频[多张用逗号分隔]",
  12857. "type": "string"
  12858. }
  12859. }
  12860. },
  12861. "models.HsbyMarketInfo": {
  12862. "type": "object",
  12863. "required": [
  12864. "marketid",
  12865. "marketstatus",
  12866. "trademode"
  12867. ],
  12868. "properties": {
  12869. "marketid": {
  12870. "description": "市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务",
  12871. "type": "integer"
  12872. },
  12873. "marketname": {
  12874. "description": "市场名称",
  12875. "type": "string"
  12876. },
  12877. "marketstatus": {
  12878. "description": "生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销",
  12879. "type": "integer"
  12880. },
  12881. "trademode": {
  12882. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  12883. "type": "integer"
  12884. }
  12885. }
  12886. },
  12887. "models.HsbyMyGoods": {
  12888. "type": "object",
  12889. "required": [
  12890. "accountid",
  12891. "goodscode",
  12892. "goodsid",
  12893. "goodsname",
  12894. "marketid",
  12895. "trademode"
  12896. ],
  12897. "properties": {
  12898. "accountid": {
  12899. "description": "账号Id",
  12900. "type": "integer"
  12901. },
  12902. "agreeunit": {
  12903. "description": "合约单位",
  12904. "type": "number"
  12905. },
  12906. "buyaverageprice": {
  12907. "description": "持仓均价",
  12908. "type": "number"
  12909. },
  12910. "buycurholderamount": {
  12911. "description": "买当前持仓总金额[商品币种]",
  12912. "type": "number"
  12913. },
  12914. "buycurpositionqty": {
  12915. "description": "买当前持仓总数量",
  12916. "type": "integer"
  12917. },
  12918. "buymaxqty": {
  12919. "description": "购买上限 [71] - 0为不限",
  12920. "type": "integer"
  12921. },
  12922. "currencysign": {
  12923. "description": "货币符号",
  12924. "type": "string"
  12925. },
  12926. "decimalplace": {
  12927. "description": "报价小数位",
  12928. "type": "integer"
  12929. },
  12930. "enableqty": {
  12931. "description": "可用数量",
  12932. "type": "integer"
  12933. },
  12934. "goodscode": {
  12935. "description": "商品代码(内部)",
  12936. "type": "string"
  12937. },
  12938. "goodsid": {
  12939. "description": "商品Id",
  12940. "type": "integer"
  12941. },
  12942. "goodsname": {
  12943. "description": "商品名称",
  12944. "type": "string"
  12945. },
  12946. "goodsprice": {
  12947. "description": "商品价格",
  12948. "type": "number"
  12949. },
  12950. "goodsstatus": {
  12951. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  12952. "type": "integer"
  12953. },
  12954. "last": {
  12955. "description": "现价(仅使用于挂牌点选)",
  12956. "type": "number"
  12957. },
  12958. "limitdown": {
  12959. "description": "跌停价(仅使用于挂牌点选)",
  12960. "type": "number"
  12961. },
  12962. "limitup": {
  12963. "description": "涨停价(仅使用于挂牌点选)",
  12964. "type": "number"
  12965. },
  12966. "lotsize": {
  12967. "description": "手数最小变动单位",
  12968. "type": "integer"
  12969. },
  12970. "marketid": {
  12971. "description": "所属市场ID",
  12972. "type": "integer"
  12973. },
  12974. "picurls": {
  12975. "description": "介绍图片[多张用逗号分隔]",
  12976. "type": "string"
  12977. },
  12978. "quoteminunit": {
  12979. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  12980. "type": "integer"
  12981. },
  12982. "stepvalue": {
  12983. "description": "价格最小变动单位",
  12984. "type": "number"
  12985. },
  12986. "trademode": {
  12987. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  12988. "type": "integer"
  12989. }
  12990. }
  12991. },
  12992. "models.HsbyMyPackage": {
  12993. "type": "object",
  12994. "required": [
  12995. "goodscode",
  12996. "goodsname",
  12997. "takeorderid",
  12998. "trademode"
  12999. ],
  13000. "properties": {
  13001. "accountid": {
  13002. "description": "账户ID",
  13003. "type": "integer"
  13004. },
  13005. "address": {
  13006. "description": "提货人详细地址",
  13007. "type": "string"
  13008. },
  13009. "agreeunit": {
  13010. "description": "合约单位",
  13011. "type": "number"
  13012. },
  13013. "amount": {
  13014. "description": "提货金额",
  13015. "type": "number"
  13016. },
  13017. "auditer": {
  13018. "description": "审核人",
  13019. "type": "integer"
  13020. },
  13021. "audittime": {
  13022. "description": "审核时间",
  13023. "type": "string"
  13024. },
  13025. "averageprice": {
  13026. "description": "均价",
  13027. "type": "number"
  13028. },
  13029. "cardnum": {
  13030. "description": "提货人证件号码",
  13031. "type": "string"
  13032. },
  13033. "cardtypeid": {
  13034. "description": "提货人证件类型",
  13035. "type": "integer"
  13036. },
  13037. "checkremark": {
  13038. "description": "审核备注",
  13039. "type": "string"
  13040. },
  13041. "currencysign": {
  13042. "description": "货币符号",
  13043. "type": "string"
  13044. },
  13045. "decimalplace": {
  13046. "description": "报价小数位",
  13047. "type": "integer"
  13048. },
  13049. "goodscode": {
  13050. "description": "商品代码(内部)",
  13051. "type": "string"
  13052. },
  13053. "goodsid": {
  13054. "description": "商品ID",
  13055. "type": "integer"
  13056. },
  13057. "goodsname": {
  13058. "description": "商品名称",
  13059. "type": "string"
  13060. },
  13061. "handlestatus": {
  13062. "description": "处理状态",
  13063. "type": "integer"
  13064. },
  13065. "marketid": {
  13066. "description": "市场ID",
  13067. "type": "integer"
  13068. },
  13069. "phonenum": {
  13070. "description": "提货人联系方式",
  13071. "type": "string"
  13072. },
  13073. "picurls": {
  13074. "description": "介绍图片[多张用逗号分隔]",
  13075. "type": "string"
  13076. },
  13077. "qty": {
  13078. "description": "提货数量",
  13079. "type": "number"
  13080. },
  13081. "recivername": {
  13082. "description": "提货人姓名",
  13083. "type": "string"
  13084. },
  13085. "reqtime": {
  13086. "description": "更新时间",
  13087. "type": "string"
  13088. },
  13089. "takemode": {
  13090. "description": "提货方式 - 2:自提 3:配送",
  13091. "type": "integer"
  13092. },
  13093. "takeorderid": {
  13094. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  13095. "type": "string"
  13096. },
  13097. "takeorderstatus": {
  13098. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  13099. "type": "integer"
  13100. },
  13101. "takeremark": {
  13102. "description": "提货备注",
  13103. "type": "string"
  13104. },
  13105. "tradedate": {
  13106. "description": "交易日(yyyyMMdd)",
  13107. "type": "string"
  13108. },
  13109. "trademode": {
  13110. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  13111. "type": "integer"
  13112. },
  13113. "userid": {
  13114. "description": "用户ID",
  13115. "type": "integer"
  13116. },
  13117. "vendorname": {
  13118. "description": "供应商名称",
  13119. "type": "string"
  13120. }
  13121. }
  13122. },
  13123. "models.HsbyPreGoods": {
  13124. "type": "object",
  13125. "required": [
  13126. "goodscode",
  13127. "goodsid",
  13128. "goodsname",
  13129. "marketid",
  13130. "trademode"
  13131. ],
  13132. "properties": {
  13133. "agreeunit": {
  13134. "description": "合约单位",
  13135. "type": "number"
  13136. },
  13137. "currency": {
  13138. "description": "货币",
  13139. "type": "string"
  13140. },
  13141. "currencysign": {
  13142. "description": "货币符号",
  13143. "type": "string"
  13144. },
  13145. "decimalplace": {
  13146. "description": "报价小数位",
  13147. "type": "integer"
  13148. },
  13149. "desccityid": {
  13150. "description": "目的地(市)",
  13151. "type": "integer"
  13152. },
  13153. "descprovinceid": {
  13154. "description": "目的地(省)",
  13155. "type": "integer"
  13156. },
  13157. "enableqty": {
  13158. "description": "剩余数量",
  13159. "type": "integer"
  13160. },
  13161. "goodscode": {
  13162. "description": "商品代码(内部)",
  13163. "type": "string"
  13164. },
  13165. "goodsid": {
  13166. "description": "商品ID(自增ID SEQ_GOODS)",
  13167. "type": "integer"
  13168. },
  13169. "goodsname": {
  13170. "description": "商品名称",
  13171. "type": "string"
  13172. },
  13173. "goodsstatus": {
  13174. "description": "商品状态- 2:未上市 3:上市",
  13175. "type": "integer"
  13176. },
  13177. "lasttradedate": {
  13178. "description": "最后交易日期(状态:待退市)",
  13179. "type": "string"
  13180. },
  13181. "listingdate": {
  13182. "description": "交易开始日期",
  13183. "type": "string"
  13184. },
  13185. "marketid": {
  13186. "description": "所属市场ID",
  13187. "type": "integer"
  13188. },
  13189. "picurls": {
  13190. "description": "介绍图片[多张用逗号分隔]",
  13191. "type": "string"
  13192. },
  13193. "presaledqty": {
  13194. "description": "已预售量(预售结束时更新)",
  13195. "type": "integer"
  13196. },
  13197. "presaleqty": {
  13198. "description": "预售数量",
  13199. "type": "integer"
  13200. },
  13201. "quoteminunit": {
  13202. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  13203. "type": "integer"
  13204. },
  13205. "refprice": {
  13206. "description": "参考价格[一口价]",
  13207. "type": "number"
  13208. },
  13209. "relatedgoodsid": {
  13210. "description": "关联交易合约ID",
  13211. "type": "integer"
  13212. },
  13213. "trademode": {
  13214. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  13215. "type": "integer"
  13216. },
  13217. "videourls": {
  13218. "description": "介绍视频[多张用逗号分隔]",
  13219. "type": "string"
  13220. }
  13221. }
  13222. },
  13223. "models.HsbyPreGoodsDetail": {
  13224. "type": "object",
  13225. "required": [
  13226. "goodscode",
  13227. "goodsid",
  13228. "goodsname",
  13229. "marketid",
  13230. "trademode"
  13231. ],
  13232. "properties": {
  13233. "agreeunit": {
  13234. "description": "合约单位",
  13235. "type": "number"
  13236. },
  13237. "buymaxqty": {
  13238. "description": "购买上限 [71] - 0为不限",
  13239. "type": "integer"
  13240. },
  13241. "currency": {
  13242. "description": "货币",
  13243. "type": "string"
  13244. },
  13245. "currencysign": {
  13246. "description": "货币符号",
  13247. "type": "string"
  13248. },
  13249. "customername": {
  13250. "description": "发行单位",
  13251. "type": "string"
  13252. },
  13253. "decimalplace": {
  13254. "description": "报价小数位",
  13255. "type": "integer"
  13256. },
  13257. "desccityid": {
  13258. "description": "目的地(市)ID",
  13259. "type": "integer"
  13260. },
  13261. "descprovinceid": {
  13262. "description": "目的地(省)ID",
  13263. "type": "integer"
  13264. },
  13265. "enableqty": {
  13266. "description": "剩余数量",
  13267. "type": "integer"
  13268. },
  13269. "goodscode": {
  13270. "description": "商品代码(内部)",
  13271. "type": "string"
  13272. },
  13273. "goodsdesc": {
  13274. "description": "商品详情",
  13275. "type": "string"
  13276. },
  13277. "goodsid": {
  13278. "description": "商品ID(自增ID SEQ_GOODS)",
  13279. "type": "integer"
  13280. },
  13281. "goodsname": {
  13282. "description": "商品名称",
  13283. "type": "string"
  13284. },
  13285. "goodsstatus": {
  13286. "description": "商品状态- 2:未上市 3:上市",
  13287. "type": "integer"
  13288. },
  13289. "goodunit": {
  13290. "description": "报价单位",
  13291. "type": "string"
  13292. },
  13293. "lasttradedate": {
  13294. "description": "最后交易日期(状态:待退市)",
  13295. "type": "string"
  13296. },
  13297. "listingdate": {
  13298. "description": "交易开始日期",
  13299. "type": "string"
  13300. },
  13301. "lotsize": {
  13302. "description": "手数最小变动单位",
  13303. "type": "integer"
  13304. },
  13305. "marketid": {
  13306. "description": "所属市场ID",
  13307. "type": "integer"
  13308. },
  13309. "picurls": {
  13310. "description": "介绍图片[多张用逗号分隔]",
  13311. "type": "string"
  13312. },
  13313. "presaledqty": {
  13314. "description": "已预售量(预售结束时更新)",
  13315. "type": "integer"
  13316. },
  13317. "presaleqty": {
  13318. "description": "预售数量",
  13319. "type": "integer"
  13320. },
  13321. "quoteminunit": {
  13322. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  13323. "type": "integer"
  13324. },
  13325. "refprice": {
  13326. "description": "参考价格[一口价]",
  13327. "type": "number"
  13328. },
  13329. "relatedgoodsid": {
  13330. "description": "关联交易合约ID",
  13331. "type": "integer"
  13332. },
  13333. "stepvalue": {
  13334. "description": "价格最小变动单位",
  13335. "type": "number"
  13336. },
  13337. "trademode": {
  13338. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  13339. "type": "integer"
  13340. },
  13341. "vendorattr": {
  13342. "description": "供应商附件(多张,逗号分隔)",
  13343. "type": "string"
  13344. },
  13345. "vendorname": {
  13346. "description": "供应商名称",
  13347. "type": "string"
  13348. },
  13349. "vendorphone": {
  13350. "description": "供应商客服电话",
  13351. "type": "string"
  13352. },
  13353. "videourls": {
  13354. "description": "介绍视频[多张用逗号分隔]",
  13355. "type": "string"
  13356. }
  13357. }
  13358. },
  13359. "models.HsbySellCollectionOrder": {
  13360. "type": "object",
  13361. "required": [
  13362. "goodscode",
  13363. "goodsname",
  13364. "tradeid",
  13365. "trademode"
  13366. ],
  13367. "properties": {
  13368. "agreeunit": {
  13369. "description": "合约单位",
  13370. "type": "number"
  13371. },
  13372. "buyaccountid": {
  13373. "description": "买方账号ID[报价币种]",
  13374. "type": "integer"
  13375. },
  13376. "buyorderid": {
  13377. "description": "买方委托单号",
  13378. "type": "string"
  13379. },
  13380. "createtime": {
  13381. "description": "创建时间",
  13382. "type": "string"
  13383. },
  13384. "currencysign": {
  13385. "description": "货币符号",
  13386. "type": "string"
  13387. },
  13388. "decimalplace": {
  13389. "description": "报价小数位",
  13390. "type": "integer"
  13391. },
  13392. "goodscode": {
  13393. "description": "商品代码(内部)",
  13394. "type": "string"
  13395. },
  13396. "goodsid": {
  13397. "description": "商品ID",
  13398. "type": "integer"
  13399. },
  13400. "goodsname": {
  13401. "description": "商品名称",
  13402. "type": "string"
  13403. },
  13404. "marketid": {
  13405. "description": "市场ID",
  13406. "type": "integer"
  13407. },
  13408. "offamount": {
  13409. "description": "优惠金额",
  13410. "type": "number"
  13411. },
  13412. "payamount": {
  13413. "description": "支付金额 = TradeAmount + TradeCharge - OffAmount",
  13414. "type": "number"
  13415. },
  13416. "payflag": {
  13417. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  13418. "type": "integer"
  13419. },
  13420. "paylimitedtime": {
  13421. "description": "支付期限",
  13422. "type": "string"
  13423. },
  13424. "paytime": {
  13425. "description": "付款时间",
  13426. "type": "string"
  13427. },
  13428. "picurls": {
  13429. "description": "商品介绍图片[多张用逗号分隔]",
  13430. "type": "string"
  13431. },
  13432. "sellaccountid": {
  13433. "description": "卖方账号ID[报价币种]",
  13434. "type": "integer"
  13435. },
  13436. "sellorderid": {
  13437. "description": "卖方委托单号",
  13438. "type": "string"
  13439. },
  13440. "tradeamount": {
  13441. "description": "成交金额",
  13442. "type": "number"
  13443. },
  13444. "tradecharge": {
  13445. "description": "成交手续费(买方)",
  13446. "type": "number"
  13447. },
  13448. "tradedate": {
  13449. "description": "交易日(yyyyMMdd)",
  13450. "type": "string"
  13451. },
  13452. "tradeid": {
  13453. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  13454. "type": "string"
  13455. },
  13456. "trademode": {
  13457. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  13458. "type": "integer"
  13459. },
  13460. "tradeprice": {
  13461. "description": "成交价格",
  13462. "type": "number"
  13463. },
  13464. "tradeqty": {
  13465. "description": "成交数量",
  13466. "type": "integer"
  13467. }
  13468. }
  13469. },
  13470. "models.HsbySellMyDetail": {
  13471. "type": "object",
  13472. "required": [
  13473. "accountid",
  13474. "buyorsell",
  13475. "goodscode",
  13476. "goodsid",
  13477. "goodsname",
  13478. "marketid",
  13479. "orderid",
  13480. "time",
  13481. "trademode"
  13482. ],
  13483. "properties": {
  13484. "accountid": {
  13485. "description": "账户ID[报价币种]",
  13486. "type": "integer"
  13487. },
  13488. "agreeunit": {
  13489. "description": "合约单位",
  13490. "type": "number"
  13491. },
  13492. "buyorsell": {
  13493. "description": "买卖 - 0:买 1:卖",
  13494. "type": "integer"
  13495. },
  13496. "currencysign": {
  13497. "description": "货币符号",
  13498. "type": "string"
  13499. },
  13500. "decimalplace": {
  13501. "description": "报价小数位",
  13502. "type": "integer"
  13503. },
  13504. "goodscode": {
  13505. "description": "商品代码(内部)",
  13506. "type": "string"
  13507. },
  13508. "goodsid": {
  13509. "description": "商品ID",
  13510. "type": "integer"
  13511. },
  13512. "goodsname": {
  13513. "description": "商品名称",
  13514. "type": "string"
  13515. },
  13516. "marketid": {
  13517. "description": "市场ID",
  13518. "type": "integer"
  13519. },
  13520. "orderid": {
  13521. "description": "单号(发布中 - 委托单号;已完成 - 成交单号)",
  13522. "type": "string"
  13523. },
  13524. "ordertype": {
  13525. "description": "单据类型:0 - 发布中, 1 - 已完成",
  13526. "type": "integer"
  13527. },
  13528. "picurls": {
  13529. "description": "介绍图片[多张用逗号分隔]",
  13530. "type": "string"
  13531. },
  13532. "price": {
  13533. "description": "价格",
  13534. "type": "number"
  13535. },
  13536. "qty": {
  13537. "description": "数量",
  13538. "type": "integer"
  13539. },
  13540. "time": {
  13541. "description": "时间",
  13542. "type": "string"
  13543. },
  13544. "trademode": {
  13545. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  13546. "type": "integer"
  13547. },
  13548. "vendorname": {
  13549. "description": "供应商名称",
  13550. "type": "string"
  13551. }
  13552. }
  13553. },
  13554. "models.HsbyTopGoods": {
  13555. "type": "object",
  13556. "required": [
  13557. "goodscode",
  13558. "goodsid",
  13559. "goodsname",
  13560. "marketid",
  13561. "trademode"
  13562. ],
  13563. "properties": {
  13564. "agreeunit": {
  13565. "description": "合约单位",
  13566. "type": "number"
  13567. },
  13568. "currency": {
  13569. "description": "货币",
  13570. "type": "string"
  13571. },
  13572. "currencysign": {
  13573. "description": "货币符号",
  13574. "type": "string"
  13575. },
  13576. "decimalplace": {
  13577. "description": "报价小数位",
  13578. "type": "integer"
  13579. },
  13580. "desccityid": {
  13581. "description": "目的地(市)",
  13582. "type": "integer"
  13583. },
  13584. "descprovinceid": {
  13585. "description": "目的地(省)",
  13586. "type": "integer"
  13587. },
  13588. "goodscode": {
  13589. "description": "商品代码(内部)",
  13590. "type": "string"
  13591. },
  13592. "goodsid": {
  13593. "description": "商品ID(自增ID SEQ_GOODS)",
  13594. "type": "integer"
  13595. },
  13596. "goodsname": {
  13597. "description": "商品名称",
  13598. "type": "string"
  13599. },
  13600. "hotindex": {
  13601. "description": "景点热度",
  13602. "type": "integer"
  13603. },
  13604. "last": {
  13605. "description": "现价",
  13606. "type": "number"
  13607. },
  13608. "marketid": {
  13609. "description": "所属市场ID",
  13610. "type": "integer"
  13611. },
  13612. "picurls": {
  13613. "description": "介绍图片[多张用逗号分隔]",
  13614. "type": "string"
  13615. },
  13616. "quoteminunit": {
  13617. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  13618. "type": "integer"
  13619. },
  13620. "trademode": {
  13621. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  13622. "type": "integer"
  13623. },
  13624. "videourls": {
  13625. "description": "介绍视频[多张用逗号分隔]",
  13626. "type": "string"
  13627. }
  13628. }
  13629. },
  13630. "models.HybsMyBuyOrderDetail": {
  13631. "type": "object",
  13632. "required": [
  13633. "accountid",
  13634. "buyorsell",
  13635. "goodscode",
  13636. "goodsid",
  13637. "goodsname",
  13638. "marketid",
  13639. "orderid",
  13640. "orderqty",
  13641. "ordertime",
  13642. "trademode"
  13643. ],
  13644. "properties": {
  13645. "accountid": {
  13646. "description": "账户ID[报价币种]",
  13647. "type": "integer"
  13648. },
  13649. "agreeunit": {
  13650. "description": "合约单位",
  13651. "type": "number"
  13652. },
  13653. "buyorsell": {
  13654. "description": "买卖 - 0:买 1:卖",
  13655. "type": "integer"
  13656. },
  13657. "cancelqty": {
  13658. "description": "撤单数量",
  13659. "type": "integer"
  13660. },
  13661. "currencysign": {
  13662. "description": "货币符号",
  13663. "type": "string"
  13664. },
  13665. "decimalplace": {
  13666. "description": "报价小数位",
  13667. "type": "integer"
  13668. },
  13669. "goodscode": {
  13670. "description": "商品代码(内部)",
  13671. "type": "string"
  13672. },
  13673. "goodsid": {
  13674. "description": "商品ID",
  13675. "type": "integer"
  13676. },
  13677. "goodsname": {
  13678. "description": "商品名称",
  13679. "type": "string"
  13680. },
  13681. "listingselecttype": {
  13682. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  13683. "type": "integer"
  13684. },
  13685. "marketid": {
  13686. "description": "市场ID",
  13687. "type": "integer"
  13688. },
  13689. "mybuystatus": {
  13690. "description": "\"我的订单\"显示状态- 1:抢购中 2:求购中 3:已完成 4:已撤消 5:委托失败",
  13691. "type": "integer"
  13692. },
  13693. "orderamount": {
  13694. "description": "委托金额",
  13695. "type": "number"
  13696. },
  13697. "orderid": {
  13698. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  13699. "type": "string"
  13700. },
  13701. "orderprice": {
  13702. "description": "委托价格",
  13703. "type": "number"
  13704. },
  13705. "orderqty": {
  13706. "description": "委托数量",
  13707. "type": "integer"
  13708. },
  13709. "orderstatus": {
  13710. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  13711. "type": "integer"
  13712. },
  13713. "ordertime": {
  13714. "description": "委托时间",
  13715. "type": "string"
  13716. },
  13717. "picurls1": {
  13718. "description": "预售商品介绍图片[多张用逗号分隔]",
  13719. "type": "string"
  13720. },
  13721. "picurls2": {
  13722. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  13723. "type": "string"
  13724. },
  13725. "trademode": {
  13726. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  13727. "type": "integer"
  13728. },
  13729. "tradeqty": {
  13730. "description": "成交数量",
  13731. "type": "integer"
  13732. },
  13733. "vendorname1": {
  13734. "description": "预售商品供应商名称",
  13735. "type": "string"
  13736. },
  13737. "vendorname2": {
  13738. "description": "挂牌商品供应商名称",
  13739. "type": "string"
  13740. }
  13741. }
  13742. },
  13743. "models.Market": {
  13744. "type": "object",
  13745. "required": [
  13746. "marketid",
  13747. "marketstatus",
  13748. "openmethod",
  13749. "reckonpricealgorithm",
  13750. "trademode",
  13751. "tradeproperty"
  13752. ],
  13753. "properties": {
  13754. "auctionwrtype": {
  13755. "description": "竞拍仓单类型 - 1:无仓单 2:有仓单 3;有无仓单均可",
  13756. "type": "integer"
  13757. },
  13758. "canacceptquote": {
  13759. "description": "确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]",
  13760. "type": "integer"
  13761. },
  13762. "cangoodsexercise": {
  13763. "description": "[期权]是否可现货行权- 0:否 1:是",
  13764. "type": "integer"
  13765. },
  13766. "cangoodsexercisetype": {
  13767. "description": "可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]",
  13768. "type": "integer"
  13769. },
  13770. "canmanualquotestrike": {
  13771. "description": "是否可手动报行权价- 0:否 1:是 [期权]",
  13772. "type": "integer"
  13773. },
  13774. "canmutistage": {
  13775. "description": "是否可多段运行 – 0:不可 1:可 [挂牌期权]",
  13776. "type": "integer"
  13777. },
  13778. "canpreexercise": {
  13779. "description": "[期权]是否可预申报- 0:否 1:是",
  13780. "type": "integer"
  13781. },
  13782. "clearinterval": {
  13783. "description": "待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))",
  13784. "type": "integer"
  13785. },
  13786. "contracttmp": {
  13787. "description": "合同模板[荷兰式][竞价式][仓单贸易]",
  13788. "type": "string"
  13789. },
  13790. "exchareaid": {
  13791. "description": "所属交易所,可以没有",
  13792. "type": "integer"
  13793. },
  13794. "goodstype": {
  13795. "description": "商品类型 - 1:交易商品 2:仓单商品",
  13796. "type": "integer"
  13797. },
  13798. "hasrebate": {
  13799. "description": "是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏",
  13800. "type": "integer"
  13801. },
  13802. "hastradecredit": {
  13803. "description": "是否交易授信[做市收益权] - 0:不授信 1:授信",
  13804. "type": "integer"
  13805. },
  13806. "haswr": {
  13807. "description": "[竞拍]是否需要仓单 - 0:不需要 1:需要-作废",
  13808. "type": "integer"
  13809. },
  13810. "isdeductmargin": {
  13811. "description": "竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除",
  13812. "type": "integer"
  13813. },
  13814. "isrecordsource": {
  13815. "description": "是否记录成交源 - 0:不记录 1:记录 [所有权]",
  13816. "type": "integer"
  13817. },
  13818. "isreleasemargin": {
  13819. "description": "成交参与保证金是否释放[竞价式] - 0:不释放 1释放",
  13820. "type": "integer"
  13821. },
  13822. "marginformula": {
  13823. "description": "持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  13824. "type": "integer"
  13825. },
  13826. "marginformula2": {
  13827. "description": "持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  13828. "type": "integer"
  13829. },
  13830. "marketid": {
  13831. "description": "市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务",
  13832. "type": "integer"
  13833. },
  13834. "marketname": {
  13835. "description": "市场名称",
  13836. "type": "string"
  13837. },
  13838. "marketserviceid": {
  13839. "description": "市场服务ID",
  13840. "type": "integer"
  13841. },
  13842. "marketstatus": {
  13843. "description": "生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销",
  13844. "type": "integer"
  13845. },
  13846. "markettype": {
  13847. "description": "市场类型- 1:非交易服务 2:交易服务",
  13848. "type": "integer"
  13849. },
  13850. "matchermode": {
  13851. "description": "指定对手模式[仓单贸易模式专用] - 1:任意对手",
  13852. "type": "integer"
  13853. },
  13854. "openmethod": {
  13855. "description": "开盘模式 - 0 自动 1手动",
  13856. "type": "integer"
  13857. },
  13858. "otcuserid": {
  13859. "description": "场外期权做市商[场外期权]",
  13860. "type": "integer"
  13861. },
  13862. "outersynctime": {
  13863. "description": "外部同步时间点(h24:mi:ss)[场外期权]",
  13864. "type": "string"
  13865. },
  13866. "pendingflag": {
  13867. "description": "待开市时间标识[通道交易-对冲] - 0:当日 1:上日",
  13868. "type": "integer"
  13869. },
  13870. "pendingtime": {
  13871. "description": "待开市时间[通道交易-对冲](HH:mm)",
  13872. "type": "string"
  13873. },
  13874. "performancetempid": {
  13875. "description": "履约计划模板ID - 作废",
  13876. "type": "integer"
  13877. },
  13878. "premiumquotemode": {
  13879. "description": "权利金报价方式 - 1:自动 2:手动",
  13880. "type": "integer"
  13881. },
  13882. "rebateratio": {
  13883. "description": "返利比率[竞价式]",
  13884. "type": "number"
  13885. },
  13886. "reckonorder": {
  13887. "description": "结算顺序",
  13888. "type": "integer"
  13889. },
  13890. "reckonpricealgorithm": {
  13891. "description": "结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价 6.卖一价 7.买一卖一均价 8.外部结算价",
  13892. "type": "integer"
  13893. },
  13894. "reckonpriceparam": {
  13895. "description": "结算价参数",
  13896. "type": "integer"
  13897. },
  13898. "reckontime": {
  13899. "description": "结算时间[通道交易-对冲](HH:mm)",
  13900. "type": "string"
  13901. },
  13902. "roleprioritytype": {
  13903. "description": "角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]",
  13904. "type": "integer"
  13905. },
  13906. "selllistingauditflag": {
  13907. "description": "卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要",
  13908. "type": "integer"
  13909. },
  13910. "trademarkettype": {
  13911. "description": "交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场",
  13912. "type": "integer"
  13913. },
  13914. "trademode": {
  13915. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  13916. "type": "integer"
  13917. },
  13918. "tradeproperty": {
  13919. "description": "交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易 8:场外期权",
  13920. "type": "integer"
  13921. },
  13922. "tradetype": {
  13923. "description": "下单方式[通道交易] - 1:直接转单 2:净头寸下单",
  13924. "type": "integer"
  13925. }
  13926. }
  13927. },
  13928. "models.Marketrun": {
  13929. "type": "object",
  13930. "required": [
  13931. "marketid",
  13932. "nexttradedate",
  13933. "reckonflag",
  13934. "runstatus",
  13935. "tradedate",
  13936. "tradedate2"
  13937. ],
  13938. "properties": {
  13939. "afternexttradedate": {
  13940. "description": "下下交易日",
  13941. "type": "string"
  13942. },
  13943. "clearquoteflag": {
  13944. "description": "行情清盘标志- 1:未发送 2:已发送 3:已回复",
  13945. "type": "integer"
  13946. },
  13947. "lastreckondate": {
  13948. "description": "最新交易日(结算成功)",
  13949. "type": "string"
  13950. },
  13951. "machinedate": {
  13952. "description": "机器时间",
  13953. "type": "string"
  13954. },
  13955. "manualflag": {
  13956. "description": "手动开市标志- 0:否 1:是 (市场为手动时,是否触发了手动开市标志)",
  13957. "type": "integer"
  13958. },
  13959. "marketid": {
  13960. "description": "市场ID",
  13961. "type": "integer"
  13962. },
  13963. "nexttradedate": {
  13964. "description": "下一交易日",
  13965. "type": "string"
  13966. },
  13967. "pretradedate": {
  13968. "description": "上一交易日",
  13969. "type": "string"
  13970. },
  13971. "reckonflag": {
  13972. "description": "结算标识 - 0: 停止结算 1: 正常(管理端控制此字段,交易服务根据此字段判断是否做结算)",
  13973. "type": "integer"
  13974. },
  13975. "runstatus": {
  13976. "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.今日免清算",
  13977. "type": "integer"
  13978. },
  13979. "sectionid": {
  13980. "description": "时间段号[多时段时用]",
  13981. "type": "integer"
  13982. },
  13983. "tradedate": {
  13984. "description": "当前交易日(服务) 资金结算完成即变更,供交易服务使用",
  13985. "type": "string"
  13986. },
  13987. "tradedate2": {
  13988. "description": "当前交易日(行情) 在第一个市场待开市时变更为TradeDate,供行情及终端系统使用",
  13989. "type": "string"
  13990. },
  13991. "updatetime": {
  13992. "description": "更新时间",
  13993. "type": "string"
  13994. }
  13995. }
  13996. },
  13997. "models.Messageboard": {
  13998. "type": "object",
  13999. "required": [
  14000. "messageboardid"
  14001. ],
  14002. "properties": {
  14003. "createtime": {
  14004. "description": "创建时间",
  14005. "type": "string"
  14006. },
  14007. "message": {
  14008. "description": "留言信息",
  14009. "type": "string"
  14010. },
  14011. "messageboardid": {
  14012. "description": "留言簿ID(SEQ_MessageBoard)",
  14013. "type": "integer"
  14014. },
  14015. "userid": {
  14016. "description": "用户ID",
  14017. "type": "integer"
  14018. }
  14019. }
  14020. },
  14021. "models.MyCoupon": {
  14022. "type": "object",
  14023. "required": [
  14024. "accountid",
  14025. "coupontypeid"
  14026. ],
  14027. "properties": {
  14028. "accountid": {
  14029. "description": "资金账户ID",
  14030. "type": "integer"
  14031. },
  14032. "areauserid": {
  14033. "description": "所属机构",
  14034. "type": "integer"
  14035. },
  14036. "conditionvalue": {
  14037. "description": "条件阈值(可为0)",
  14038. "type": "number"
  14039. },
  14040. "couponcategroy": {
  14041. "description": "种类 - 1:现金券 2:折扣券 3:折扣券(单张)",
  14042. "type": "integer"
  14043. },
  14044. "couponname": {
  14045. "description": "优惠券名称",
  14046. "type": "string"
  14047. },
  14048. "coupontypeid": {
  14049. "description": "优惠券类型ID",
  14050. "type": "string"
  14051. },
  14052. "couponvalue": {
  14053. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值]",
  14054. "type": "number"
  14055. },
  14056. "curfreezeqty": {
  14057. "description": "期末冻结数量",
  14058. "type": "integer"
  14059. },
  14060. "curqty": {
  14061. "description": "期末数量",
  14062. "type": "integer"
  14063. },
  14064. "isgeneral": {
  14065. "description": "是否通用券 - 0:否 1:是",
  14066. "type": "integer"
  14067. },
  14068. "isunusable": {
  14069. "description": "是否不可用",
  14070. "type": "boolean"
  14071. },
  14072. "limitedflag": {
  14073. "description": "是否指定商品 - 0:不限 1:限制",
  14074. "type": "integer"
  14075. },
  14076. "limitedgoodsids": {
  14077. "description": "指定商品IDs[逗号分隔,前后加逗号]",
  14078. "type": "string"
  14079. },
  14080. "orifreezeqty": {
  14081. "description": "期初冻结数量",
  14082. "type": "integer"
  14083. },
  14084. "oriqty": {
  14085. "description": "期初数量",
  14086. "type": "integer"
  14087. },
  14088. "reasontype": {
  14089. "description": "不可用原因 - 0:未确认 1:不可用于此商品 2:不可用于此卖家",
  14090. "type": "integer"
  14091. },
  14092. "todaydecrease": {
  14093. "description": "今日减少",
  14094. "type": "integer"
  14095. },
  14096. "todayincrease": {
  14097. "description": "今日增加",
  14098. "type": "integer"
  14099. },
  14100. "userid": {
  14101. "description": "用户ID",
  14102. "type": "integer"
  14103. },
  14104. "userscope": {
  14105. "description": "卖家范围(用户ID,逗号分隔,前后加逗号) [IsGeneral =0时使用]",
  14106. "type": "string"
  14107. }
  14108. }
  14109. },
  14110. "models.MyCouponHold": {
  14111. "type": "object",
  14112. "required": [
  14113. "couponholdid"
  14114. ],
  14115. "properties": {
  14116. "accountid": {
  14117. "description": "资金账户ID",
  14118. "type": "integer"
  14119. },
  14120. "conditionvalue": {
  14121. "description": "条件阈值(可为0)",
  14122. "type": "number"
  14123. },
  14124. "couponcategroy": {
  14125. "description": "种类 - 1:现金券 2:折扣券 3:折扣券(单个商品)",
  14126. "type": "integer"
  14127. },
  14128. "couponholdid": {
  14129. "description": "优惠券持仓ID(229+Unix秒时间戳(10位)+xxxxxx)",
  14130. "type": "string"
  14131. },
  14132. "couponname": {
  14133. "description": "优惠券名称",
  14134. "type": "string"
  14135. },
  14136. "coupontypeid": {
  14137. "description": "优惠券类型ID - SEQ_COUPONTYPE",
  14138. "type": "string"
  14139. },
  14140. "couponvalue": {
  14141. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值]",
  14142. "type": "number"
  14143. },
  14144. "createtime": {
  14145. "description": "创建时间",
  14146. "type": "string"
  14147. },
  14148. "enddate": {
  14149. "description": "结束日期",
  14150. "type": "string"
  14151. },
  14152. "giveapplyid": {
  14153. "description": "发放申请ID(SEQ_COUPONGIVEAPPLY)",
  14154. "type": "integer"
  14155. },
  14156. "holdstatus": {
  14157. "description": "持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期",
  14158. "type": "integer"
  14159. },
  14160. "isgeneral": {
  14161. "description": "是否通用券 - 0:否 1:是",
  14162. "type": "integer"
  14163. },
  14164. "limitedflag": {
  14165. "description": "是否指定商品 - 0:不限 1:限制",
  14166. "type": "integer"
  14167. },
  14168. "limitedgoodsids": {
  14169. "description": "指定商品IDs[逗号分隔]",
  14170. "type": "string"
  14171. },
  14172. "qty": {
  14173. "description": "数量(按1平铺)",
  14174. "type": "integer"
  14175. },
  14176. "startdate": {
  14177. "description": "开始日期",
  14178. "type": "string"
  14179. },
  14180. "userid": {
  14181. "description": "用户ID",
  14182. "type": "integer"
  14183. },
  14184. "userscope": {
  14185. "description": "卖家范围(用户ID,逗号分隔) [IsGeneral =0时使用]",
  14186. "type": "string"
  14187. }
  14188. }
  14189. },
  14190. "models.MyUsedCoupon": {
  14191. "type": "object",
  14192. "required": [
  14193. "coupontypeid",
  14194. "orderid"
  14195. ],
  14196. "properties": {
  14197. "accountid": {
  14198. "description": "资金账户ID(买方)",
  14199. "type": "integer"
  14200. },
  14201. "conditionvalue": {
  14202. "description": "条件阈值(可为0)",
  14203. "type": "number"
  14204. },
  14205. "couponcategroy": {
  14206. "description": "种类 - 1:现金券 2:折扣券",
  14207. "type": "integer"
  14208. },
  14209. "couponname": {
  14210. "description": "优惠券名称",
  14211. "type": "string"
  14212. },
  14213. "coupontypeid": {
  14214. "description": "优惠券类型ID(买方)",
  14215. "type": "string"
  14216. },
  14217. "couponvalue": {
  14218. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值(0-100)]",
  14219. "type": "number"
  14220. },
  14221. "createtime": {
  14222. "description": "创建时间",
  14223. "type": "string"
  14224. },
  14225. "goodsid": {
  14226. "description": "商品ID",
  14227. "type": "integer"
  14228. },
  14229. "handlestatus": {
  14230. "description": "处理状态",
  14231. "type": "integer"
  14232. },
  14233. "marketid": {
  14234. "description": "市场ID",
  14235. "type": "integer"
  14236. },
  14237. "offamount": {
  14238. "description": "优惠金额",
  14239. "type": "number"
  14240. },
  14241. "orderid": {
  14242. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  14243. "type": "string"
  14244. },
  14245. "sellaccountid": {
  14246. "description": "资金账户ID(卖方)",
  14247. "type": "integer"
  14248. },
  14249. "tradeamount": {
  14250. "description": "成交金额",
  14251. "type": "number"
  14252. },
  14253. "tradeid": {
  14254. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  14255. "type": "string"
  14256. },
  14257. "usedqty": {
  14258. "description": "使用数量",
  14259. "type": "integer"
  14260. }
  14261. }
  14262. },
  14263. "models.OperationPrimaryMenu": {
  14264. "type": "object",
  14265. "properties": {
  14266. "Children": {
  14267. "description": "二级功能菜单",
  14268. "type": "array",
  14269. "items": {
  14270. "$ref": "#/definitions/models.OperationSecondaryMenu"
  14271. }
  14272. },
  14273. "Key": {
  14274. "description": "菜单KEY",
  14275. "type": "string"
  14276. },
  14277. "Label": {
  14278. "description": "菜单标题",
  14279. "type": "string"
  14280. }
  14281. }
  14282. },
  14283. "models.OperationSecondaryMenu": {
  14284. "type": "object",
  14285. "properties": {
  14286. "Key": {
  14287. "description": "菜单KEY",
  14288. "type": "string"
  14289. },
  14290. "Label": {
  14291. "description": "菜单标题",
  14292. "type": "string"
  14293. },
  14294. "TabList": {
  14295. "description": "三级功能菜单",
  14296. "type": "array",
  14297. "items": {
  14298. "$ref": "#/definitions/models.OperationTabMenu"
  14299. }
  14300. }
  14301. }
  14302. },
  14303. "models.OperationTabMenu": {
  14304. "type": "object",
  14305. "properties": {
  14306. "Key": {
  14307. "description": "菜单KEY",
  14308. "type": "string"
  14309. },
  14310. "Label": {
  14311. "description": "菜单标题",
  14312. "type": "string"
  14313. }
  14314. }
  14315. },
  14316. "models.QueryErrorInfosRsp": {
  14317. "type": "object",
  14318. "required": [
  14319. "errorid"
  14320. ],
  14321. "properties": {
  14322. "description": {
  14323. "description": "异常描述",
  14324. "type": "string"
  14325. },
  14326. "errorcode": {
  14327. "description": "异常代码",
  14328. "type": "string"
  14329. },
  14330. "errorid": {
  14331. "description": "异常ID",
  14332. "type": "integer"
  14333. },
  14334. "modulecode": {
  14335. "description": "所属模块",
  14336. "type": "string"
  14337. },
  14338. "operatecode": {
  14339. "description": "所属操作",
  14340. "type": "string"
  14341. },
  14342. "rownumber": {
  14343. "description": "行号",
  14344. "type": "string"
  14345. }
  14346. }
  14347. },
  14348. "models.QuotePrimaryMenu": {
  14349. "type": "object",
  14350. "properties": {
  14351. "Index": {
  14352. "description": "序号",
  14353. "type": "integer"
  14354. },
  14355. "Key": {
  14356. "description": "键名",
  14357. "type": "string"
  14358. },
  14359. "Name": {
  14360. "description": "菜单名称",
  14361. "type": "string"
  14362. },
  14363. "SubMenus": {
  14364. "description": "子菜单",
  14365. "type": "array",
  14366. "items": {
  14367. "$ref": "#/definitions/models.QuoteSecondaryMenu"
  14368. }
  14369. },
  14370. "SubTitleType": {
  14371. "description": "子菜单标题模式:0-市场名称;1-外部交易所名称",
  14372. "type": "integer"
  14373. },
  14374. "TradeModes": {
  14375. "description": "包含市场交易类型",
  14376. "type": "string"
  14377. }
  14378. }
  14379. },
  14380. "models.QuoteSecondaryMenu": {
  14381. "type": "object",
  14382. "properties": {
  14383. "ExExchangeCode": {
  14384. "description": "外部交易所代码",
  14385. "type": "string"
  14386. },
  14387. "ExExchangeID": {
  14388. "description": "外部交易所ID",
  14389. "type": "integer"
  14390. },
  14391. "GoodsGroupIDs": {
  14392. "description": "商品组ID列表",
  14393. "type": "array",
  14394. "items": {
  14395. "type": "integer"
  14396. }
  14397. },
  14398. "Index": {
  14399. "description": "序号",
  14400. "type": "integer"
  14401. },
  14402. "MarketID": {
  14403. "description": "市场ID",
  14404. "type": "integer"
  14405. },
  14406. "MenuTitle": {
  14407. "description": "菜单标题(市场名称或外部交易所名称)",
  14408. "type": "string"
  14409. },
  14410. "TradeMode": {
  14411. "description": "交易模式",
  14412. "type": "integer"
  14413. }
  14414. }
  14415. },
  14416. "models.SearchGoods": {
  14417. "type": "object",
  14418. "required": [
  14419. "goodscode",
  14420. "goodsid",
  14421. "goodsname",
  14422. "marketid",
  14423. "trademode"
  14424. ],
  14425. "properties": {
  14426. "goodscode": {
  14427. "description": "商品代码(内部)",
  14428. "type": "string"
  14429. },
  14430. "goodsid": {
  14431. "description": "商品ID(自增ID SEQ_GOODS)",
  14432. "type": "integer"
  14433. },
  14434. "goodsname": {
  14435. "description": "商品名称",
  14436. "type": "string"
  14437. },
  14438. "marketid": {
  14439. "description": "所属市场ID",
  14440. "type": "integer"
  14441. },
  14442. "marketname": {
  14443. "description": "市场名称",
  14444. "type": "string"
  14445. },
  14446. "trademode": {
  14447. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  14448. "type": "integer"
  14449. }
  14450. }
  14451. },
  14452. "models.Szdz2imageconfig": {
  14453. "type": "object",
  14454. "required": [
  14455. "configid"
  14456. ],
  14457. "properties": {
  14458. "configid": {
  14459. "description": "配置ID(SEQ_SZDZ2_IMAGECONFIG)",
  14460. "type": "integer"
  14461. },
  14462. "imagepath": {
  14463. "description": "图片",
  14464. "type": "string"
  14465. },
  14466. "imagetype": {
  14467. "description": "类型 - 1:App首页轮播 2:我的",
  14468. "type": "integer"
  14469. },
  14470. "sort": {
  14471. "description": "排序",
  14472. "type": "integer"
  14473. },
  14474. "title": {
  14475. "description": "标题",
  14476. "type": "string"
  14477. },
  14478. "url": {
  14479. "description": "链接",
  14480. "type": "string"
  14481. }
  14482. }
  14483. },
  14484. "models.Szdz3convertconfig": {
  14485. "type": "object",
  14486. "required": [
  14487. "converttype",
  14488. "innergoodsid",
  14489. "outergoodscode"
  14490. ],
  14491. "properties": {
  14492. "canin": {
  14493. "description": "是否可转入 - 0:不可 1:可 [5:花生米转交易]",
  14494. "type": "integer"
  14495. },
  14496. "canout": {
  14497. "description": "是否可转出 - 0:不可 1:可 [5:花生米转交易]",
  14498. "type": "integer"
  14499. },
  14500. "converttype": {
  14501. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)",
  14502. "type": "integer"
  14503. },
  14504. "createtime": {
  14505. "description": "创建时间",
  14506. "type": "string"
  14507. },
  14508. "creatorid": {
  14509. "description": "创建人",
  14510. "type": "integer"
  14511. },
  14512. "daymaxvalue": {
  14513. "description": "当日最大转入限制",
  14514. "type": "number"
  14515. },
  14516. "freezedays": {
  14517. "description": "冻结天数 [5:花生米转交易]",
  14518. "type": "integer"
  14519. },
  14520. "innergoodsid": {
  14521. "description": "内部商品ID[交易]",
  14522. "type": "integer"
  14523. },
  14524. "inratio": {
  14525. "description": "目标值",
  14526. "type": "integer"
  14527. },
  14528. "modifierid": {
  14529. "description": "修改人",
  14530. "type": "integer"
  14531. },
  14532. "modifytime": {
  14533. "description": "修改时间",
  14534. "type": "string"
  14535. },
  14536. "outergoodscode": {
  14537. "description": "外部商品代码[JD\\PD]",
  14538. "type": "string"
  14539. },
  14540. "outratio": {
  14541. "description": "源值",
  14542. "type": "integer"
  14543. },
  14544. "pddecimalplace": {
  14545. "description": "PD小数位",
  14546. "type": "integer"
  14547. },
  14548. "timemaxvalue": {
  14549. "description": "单次最大转入限制",
  14550. "type": "number"
  14551. },
  14552. "timeminvalue": {
  14553. "description": "单次最小转入限制",
  14554. "type": "number"
  14555. }
  14556. }
  14557. },
  14558. "models.Szdz3searchwhitelist": {
  14559. "type": "object",
  14560. "required": [
  14561. "userid"
  14562. ],
  14563. "properties": {
  14564. "createtime": {
  14565. "description": "创建时间",
  14566. "type": "string"
  14567. },
  14568. "creatorid": {
  14569. "description": "创建人",
  14570. "type": "integer"
  14571. },
  14572. "modifierid": {
  14573. "description": "修改人",
  14574. "type": "integer"
  14575. },
  14576. "modifytime": {
  14577. "description": "修改时间",
  14578. "type": "string"
  14579. },
  14580. "userid": {
  14581. "description": "用户ID",
  14582. "type": "integer"
  14583. }
  14584. }
  14585. },
  14586. "models.Taaccount": {
  14587. "type": "object",
  14588. "required": [
  14589. "accountid",
  14590. "userid"
  14591. ],
  14592. "properties": {
  14593. "accountflag": {
  14594. "description": "账户标识 - 0\\1 (默认为0, 当上级账户与本账户的关联用户均为自己时更新为1)",
  14595. "type": "integer"
  14596. },
  14597. "accountid": {
  14598. "description": "资金账户ID",
  14599. "type": "integer"
  14600. },
  14601. "accountname": {
  14602. "description": "账户名称",
  14603. "type": "string"
  14604. },
  14605. "balance": {
  14606. "description": "期初余额",
  14607. "type": "number"
  14608. },
  14609. "capitalbalance": {
  14610. "description": "本金余额[外部子账户实际出入金余额]",
  14611. "type": "number"
  14612. },
  14613. "changeflag": {
  14614. "description": "变动标志(当前账户资金有任何变动更新为1系统结算时更新0;供清算时使用) 0:无变动 1:有变动",
  14615. "type": "integer"
  14616. },
  14617. "changetime": {
  14618. "description": "账户状态变更时间",
  14619. "type": "string"
  14620. },
  14621. "closepl": {
  14622. "description": "今日平仓盈亏",
  14623. "type": "number"
  14624. },
  14625. "creditdecrease": {
  14626. "description": "今日授信减少",
  14627. "type": "number"
  14628. },
  14629. "creditincrease": {
  14630. "description": "今日授信增加",
  14631. "type": "number"
  14632. },
  14633. "currencyid": {
  14634. "description": "货币ID",
  14635. "type": "integer"
  14636. },
  14637. "currentbalance": {
  14638. "description": "期末余额",
  14639. "type": "number"
  14640. },
  14641. "freezecharge": {
  14642. "description": "手续费冻结",
  14643. "type": "number"
  14644. },
  14645. "freezemargin": {
  14646. "description": "冻结保证金",
  14647. "type": "number"
  14648. },
  14649. "fromaccountid": {
  14650. "description": "所属上级账户",
  14651. "type": "integer"
  14652. },
  14653. "inamount": {
  14654. "description": "今日入金金额(包括三方入金)",
  14655. "type": "number"
  14656. },
  14657. "ismain": {
  14658. "description": "是否母账号 0:不是母账户 1:是母账户",
  14659. "type": "integer"
  14660. },
  14661. "ismarketaccount": {
  14662. "description": "是否机构接单账号 0:不是 1:是",
  14663. "type": "integer"
  14664. },
  14665. "isreckonaccount": {
  14666. "description": "是否机构分润账号 0:不是 1:是",
  14667. "type": "integer"
  14668. },
  14669. "mortgagecredit": {
  14670. "description": "授信金额",
  14671. "type": "number"
  14672. },
  14673. "orifreezecharge": {
  14674. "description": "期初手续费冻结",
  14675. "type": "number"
  14676. },
  14677. "orifreezemargin": {
  14678. "description": "期初冻结保证金",
  14679. "type": "number"
  14680. },
  14681. "orimortgagecredit": {
  14682. "description": "期初授信金额",
  14683. "type": "number"
  14684. },
  14685. "oriothercredit": {
  14686. "description": "期初其它授信金额",
  14687. "type": "number"
  14688. },
  14689. "oriotherfreezemargin": {
  14690. "description": "期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)",
  14691. "type": "number"
  14692. },
  14693. "orioutamountfreeze": {
  14694. "description": "期初出金冻结",
  14695. "type": "number"
  14696. },
  14697. "oriusedmargin": {
  14698. "description": "期初占用保证金",
  14699. "type": "number"
  14700. },
  14701. "othercredit": {
  14702. "description": "其它授信金额",
  14703. "type": "number"
  14704. },
  14705. "othercreditdecrease": {
  14706. "description": "今日其它授信减少",
  14707. "type": "number"
  14708. },
  14709. "othercreditincrease": {
  14710. "description": "今日其它授信增加",
  14711. "type": "number"
  14712. },
  14713. "otherfreezemargin": {
  14714. "description": "其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)",
  14715. "type": "number"
  14716. },
  14717. "otherincome": {
  14718. "description": "其他收入(交割收款 申购收款 全款卖出 商城卖出 买家退货 会员手续费收入)",
  14719. "type": "number"
  14720. },
  14721. "otherpay": {
  14722. "description": "其他支出(交割付款 申购付款 全款买入 商城买入 卖家退货)",
  14723. "type": "number"
  14724. },
  14725. "outamount": {
  14726. "description": "今日出金金额(包括三方出金)",
  14727. "type": "number"
  14728. },
  14729. "outamountfreeze": {
  14730. "description": "出金冻结",
  14731. "type": "number"
  14732. },
  14733. "outthreshold": {
  14734. "description": "出金阈值",
  14735. "type": "number"
  14736. },
  14737. "parentaccountid": {
  14738. "description": "所属根账号",
  14739. "type": "integer"
  14740. },
  14741. "paycharge": {
  14742. "description": "今日手续费支出",
  14743. "type": "number"
  14744. },
  14745. "relatedaccountstatus": {
  14746. "description": "关联用户交易权限状态 - 1:正常(可交易) 2:受限(可平仓,不可建仓) 3:冻结(不可交易)",
  14747. "type": "integer"
  14748. },
  14749. "relateduserid": {
  14750. "description": "关联用户",
  14751. "type": "integer"
  14752. },
  14753. "serivcegroup": {
  14754. "description": "服务分组",
  14755. "type": "integer"
  14756. },
  14757. "signstatus": {
  14758. "description": "签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中",
  14759. "type": "integer"
  14760. },
  14761. "sublevelpath": {
  14762. "description": "账号层级路径(逗号分隔,首尾加逗号)",
  14763. "type": "string"
  14764. },
  14765. "taaccounttype": {
  14766. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  14767. "type": "integer"
  14768. },
  14769. "thirdinamount": {
  14770. "description": "今日三方入金",
  14771. "type": "number"
  14772. },
  14773. "thirdoutamount": {
  14774. "description": "今日三方出金",
  14775. "type": "number"
  14776. },
  14777. "tradestatus": {
  14778. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  14779. "type": "integer"
  14780. },
  14781. "tradestatuschangetime": {
  14782. "description": "激活时间",
  14783. "type": "string"
  14784. },
  14785. "transferamount": {
  14786. "description": "今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)",
  14787. "type": "number"
  14788. },
  14789. "usedmargin": {
  14790. "description": "占用保证金",
  14791. "type": "number"
  14792. },
  14793. "userid": {
  14794. "description": "用户ID",
  14795. "type": "integer"
  14796. }
  14797. }
  14798. },
  14799. "models.Tablecolumnconfig": {
  14800. "type": "object",
  14801. "required": [
  14802. "autoid"
  14803. ],
  14804. "properties": {
  14805. "aligntype": {
  14806. "description": "对齐方式 - 1:居中对齐 2:左对齐 3:右对齐",
  14807. "type": "integer"
  14808. },
  14809. "autoid": {
  14810. "description": "AutoID",
  14811. "type": "integer"
  14812. },
  14813. "columnfield": {
  14814. "description": "列字段",
  14815. "type": "string"
  14816. },
  14817. "columntitle": {
  14818. "description": "列Title",
  14819. "type": "string"
  14820. },
  14821. "columnwidth": {
  14822. "description": "列宽",
  14823. "type": "string"
  14824. },
  14825. "formatterstring": {
  14826. "description": "格式化字符",
  14827. "type": "string"
  14828. },
  14829. "formattertype": {
  14830. "description": "格式化类型",
  14831. "type": "string"
  14832. },
  14833. "groupname": {
  14834. "description": "表头分组名称",
  14835. "type": "string"
  14836. },
  14837. "isshow": {
  14838. "description": "是否显示 - 0:不显示 1:显示",
  14839. "type": "integer"
  14840. },
  14841. "needsummary": {
  14842. "description": "是否需要汇总 - 0:不需要 1:需要",
  14843. "type": "integer"
  14844. },
  14845. "orderindex": {
  14846. "description": "顺序",
  14847. "type": "integer"
  14848. },
  14849. "remark": {
  14850. "description": "备注",
  14851. "type": "string"
  14852. },
  14853. "summarytype": {
  14854. "description": "汇总类型 - 1:加总 2:最后一个",
  14855. "type": "integer"
  14856. },
  14857. "tablekey": {
  14858. "description": "列表Key",
  14859. "type": "string"
  14860. }
  14861. }
  14862. },
  14863. "models.Useraccount": {
  14864. "type": "object",
  14865. "required": [
  14866. "userid"
  14867. ],
  14868. "properties": {
  14869. "accountname": {
  14870. "description": "账户名称(机构名称)",
  14871. "type": "string"
  14872. },
  14873. "accountstatus": {
  14874. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销",
  14875. "type": "integer"
  14876. },
  14877. "auditremark": {
  14878. "description": "审核备注",
  14879. "type": "string"
  14880. },
  14881. "audittime": {
  14882. "description": "审核时间",
  14883. "type": "string"
  14884. },
  14885. "audituserid": {
  14886. "description": "审核人",
  14887. "type": "integer"
  14888. },
  14889. "broker": {
  14890. "description": "所属经纪人ID",
  14891. "type": "integer"
  14892. },
  14893. "canceltime": {
  14894. "description": "销户时间",
  14895. "type": "string"
  14896. },
  14897. "canceluserid": {
  14898. "description": "销户人",
  14899. "type": "integer"
  14900. },
  14901. "createtime": {
  14902. "description": "创建时间",
  14903. "type": "string"
  14904. },
  14905. "creatorid": {
  14906. "description": "创建人",
  14907. "type": "integer"
  14908. },
  14909. "hasauth": {
  14910. "description": "是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝",
  14911. "type": "integer"
  14912. },
  14913. "isanonymous": {
  14914. "description": "是否匿名下单 - 0:否 1:是",
  14915. "type": "integer"
  14916. },
  14917. "maxinvestornum": {
  14918. "description": "最大用户数(经纪会员下投资者个数)",
  14919. "type": "integer"
  14920. },
  14921. "memberuserid": {
  14922. "description": "所属会员ID",
  14923. "type": "integer"
  14924. },
  14925. "modifierid": {
  14926. "description": "修改人",
  14927. "type": "integer"
  14928. },
  14929. "modifyremark": {
  14930. "description": "变更备注",
  14931. "type": "string"
  14932. },
  14933. "modifystatus": {
  14934. "description": "变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)",
  14935. "type": "integer"
  14936. },
  14937. "modifytime": {
  14938. "description": "修改时间",
  14939. "type": "string"
  14940. },
  14941. "parentuserid": {
  14942. "description": "所属机构ID",
  14943. "type": "integer"
  14944. },
  14945. "reckonaccountid": {
  14946. "description": "默认结算资金账号ID(机构分润使用) 作废",
  14947. "type": "integer"
  14948. },
  14949. "refercount": {
  14950. "description": "推荐总人数",
  14951. "type": "integer"
  14952. },
  14953. "refereeuserid": {
  14954. "description": "推荐人ID",
  14955. "type": "integer"
  14956. },
  14957. "refernum": {
  14958. "description": "推荐码",
  14959. "type": "string"
  14960. },
  14961. "subarealevelpath": {
  14962. "description": "子机构层级路径(逗号分隔,首尾加逗号)",
  14963. "type": "string"
  14964. },
  14965. "userid": {
  14966. "description": "用户ID",
  14967. "type": "integer"
  14968. },
  14969. "usertype": {
  14970. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户",
  14971. "type": "integer"
  14972. }
  14973. }
  14974. },
  14975. "models.Userfavoritegoods": {
  14976. "type": "object",
  14977. "required": [
  14978. "goodsid"
  14979. ],
  14980. "properties": {
  14981. "goodsid": {
  14982. "description": "商品ID",
  14983. "type": "integer"
  14984. }
  14985. }
  14986. },
  14987. "models.Userinfo": {
  14988. "type": "object",
  14989. "required": [
  14990. "userid"
  14991. ],
  14992. "properties": {
  14993. "address": {
  14994. "description": "地址",
  14995. "type": "string"
  14996. },
  14997. "attachment1": {
  14998. "description": "附件1",
  14999. "type": "string"
  15000. },
  15001. "attachment2": {
  15002. "description": "附件2",
  15003. "type": "string"
  15004. },
  15005. "bankaccount": {
  15006. "description": "银行帐号 (加密存储)",
  15007. "type": "string"
  15008. },
  15009. "bankaccountname": {
  15010. "description": "收款人名称",
  15011. "type": "string"
  15012. },
  15013. "bankcardfrontphotourl": {
  15014. "description": "银行卡正面照地址",
  15015. "type": "string"
  15016. },
  15017. "bankid": {
  15018. "description": "银行编码",
  15019. "type": "string"
  15020. },
  15021. "bankname": {
  15022. "description": "银行名称",
  15023. "type": "string"
  15024. },
  15025. "biznature": {
  15026. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  15027. "type": "integer"
  15028. },
  15029. "bizscope": {
  15030. "description": "企业经营范围(企业)",
  15031. "type": "string"
  15032. },
  15033. "cardbackphotourl": {
  15034. "description": "证件背面图片地址",
  15035. "type": "string"
  15036. },
  15037. "cardfrontphotourl": {
  15038. "description": "证件正面图片地址",
  15039. "type": "string"
  15040. },
  15041. "cardnum": {
  15042. "description": "证件号码(加密存储)",
  15043. "type": "string"
  15044. },
  15045. "cardtypeid": {
  15046. "description": "证件类型ID",
  15047. "type": "integer"
  15048. },
  15049. "cityid": {
  15050. "description": "市",
  15051. "type": "integer"
  15052. },
  15053. "company": {
  15054. "description": "公司(个人)",
  15055. "type": "string"
  15056. },
  15057. "contactname": {
  15058. "description": "联系人",
  15059. "type": "string"
  15060. },
  15061. "countryid": {
  15062. "description": "国家",
  15063. "type": "integer"
  15064. },
  15065. "createtime": {
  15066. "description": "创建时间",
  15067. "type": "string"
  15068. },
  15069. "creatorid": {
  15070. "description": "创建人",
  15071. "type": "integer"
  15072. },
  15073. "customername": {
  15074. "description": "客户名称(企业名称)",
  15075. "type": "string"
  15076. },
  15077. "districtid": {
  15078. "description": "地区",
  15079. "type": "integer"
  15080. },
  15081. "email": {
  15082. "description": "邮件(加密存储)",
  15083. "type": "string"
  15084. },
  15085. "fax": {
  15086. "description": "传真(加密存储)",
  15087. "type": "string"
  15088. },
  15089. "halfbodyphotourl": {
  15090. "description": "半身照地址",
  15091. "type": "string"
  15092. },
  15093. "hasencrypt": {
  15094. "description": "数据是否已加密 - 0:未加密 1:已加密",
  15095. "type": "integer"
  15096. },
  15097. "headurl": {
  15098. "description": "头像地址",
  15099. "type": "string"
  15100. },
  15101. "legalcardbackphotourl": {
  15102. "description": "法人身份证背面照地址",
  15103. "type": "string"
  15104. },
  15105. "legalcardfrontphotourl": {
  15106. "description": "法人身份证正面照地址",
  15107. "type": "string"
  15108. },
  15109. "legalpersonname": {
  15110. "description": "法人姓名(企业)",
  15111. "type": "string"
  15112. },
  15113. "mobile": {
  15114. "description": "手机号码(加密存储)",
  15115. "type": "string"
  15116. },
  15117. "mobile2": {
  15118. "description": "手机号码[明文-尚志]",
  15119. "type": "string"
  15120. },
  15121. "modifierid": {
  15122. "description": "修改人",
  15123. "type": "integer"
  15124. },
  15125. "modifiertime": {
  15126. "description": "修改时间",
  15127. "type": "string"
  15128. },
  15129. "needinvoice": {
  15130. "description": "是否需要发票 - 0:不需要 1:需要",
  15131. "type": "integer"
  15132. },
  15133. "nickname": {
  15134. "description": "昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)",
  15135. "type": "string"
  15136. },
  15137. "openmode": {
  15138. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户",
  15139. "type": "integer"
  15140. },
  15141. "otherurl": {
  15142. "description": "其它图片地址[使用分号分隔]",
  15143. "type": "string"
  15144. },
  15145. "postalcode": {
  15146. "description": "邮政编码",
  15147. "type": "string"
  15148. },
  15149. "provinceid": {
  15150. "description": "省",
  15151. "type": "integer"
  15152. },
  15153. "qq": {
  15154. "description": "QQ(加密存储",
  15155. "type": "string"
  15156. },
  15157. "remark": {
  15158. "description": "备注",
  15159. "type": "string"
  15160. },
  15161. "sex": {
  15162. "description": "用户性别 0: 女 1: 男",
  15163. "type": "integer"
  15164. },
  15165. "signpdfurl": {
  15166. "description": "签约pdf文件",
  15167. "type": "string"
  15168. },
  15169. "telphone": {
  15170. "description": "联系电话(加密存储)",
  15171. "type": "string"
  15172. },
  15173. "userid": {
  15174. "description": "用户ID",
  15175. "type": "integer"
  15176. },
  15177. "userinfotype": {
  15178. "description": "用户信息类型 - 1:个人 2:企业",
  15179. "type": "integer"
  15180. },
  15181. "userstatus": {
  15182. "description": "用户状态 - 1:正常 2:注销",
  15183. "type": "integer"
  15184. },
  15185. "usertype": {
  15186. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户",
  15187. "type": "integer"
  15188. },
  15189. "wechat": {
  15190. "description": "微信(加密存储)",
  15191. "type": "string"
  15192. },
  15193. "wskhinfo": {
  15194. "description": "开户申请信息(JSON)",
  15195. "type": "string"
  15196. }
  15197. }
  15198. },
  15199. "models.WRCategoryTree": {
  15200. "type": "object",
  15201. "required": [
  15202. "categoryid"
  15203. ],
  15204. "properties": {
  15205. "areauserid": {
  15206. "description": "所属机构",
  15207. "type": "integer"
  15208. },
  15209. "categorydesc": {
  15210. "description": "类别描述",
  15211. "type": "string"
  15212. },
  15213. "categoryid": {
  15214. "description": "类别ID(SEQ_WRCATEGORY)",
  15215. "type": "integer"
  15216. },
  15217. "categoryname": {
  15218. "description": "类别名称",
  15219. "type": "string"
  15220. },
  15221. "iconurl": {
  15222. "description": "图标地址",
  15223. "type": "string"
  15224. },
  15225. "orderindex": {
  15226. "description": "顺序",
  15227. "type": "integer"
  15228. },
  15229. "parentcategoryid": {
  15230. "description": "父类别ID",
  15231. "type": "integer"
  15232. },
  15233. "subcategory": {
  15234. "description": "子分类",
  15235. "type": "array",
  15236. "items": {
  15237. "$ref": "#/definitions/models.WRCategoryTree"
  15238. }
  15239. }
  15240. }
  15241. },
  15242. "models.WRSConverTDetail": {
  15243. "type": "object",
  15244. "properties": {
  15245. "convertratio": {
  15246. "description": "套保系数",
  15247. "type": "number"
  15248. },
  15249. "deliverygoodsid": {
  15250. "description": "现货品种ID",
  15251. "type": "integer"
  15252. },
  15253. "middlegoodscode": {
  15254. "description": "套保品种代码",
  15255. "type": "string"
  15256. },
  15257. "middlegoodsid": {
  15258. "description": "套保品种ID",
  15259. "type": "integer"
  15260. },
  15261. "middlegoodsname": {
  15262. "description": "套保品种名称",
  15263. "type": "string"
  15264. },
  15265. "modifytime": {
  15266. "description": "修改时间",
  15267. "type": "string"
  15268. },
  15269. "wrstandardid": {
  15270. "description": "现货商品ID",
  15271. "type": "integer"
  15272. }
  15273. }
  15274. },
  15275. "models.WRStandardInfo": {
  15276. "type": "object",
  15277. "required": [
  15278. "wrstandardid"
  15279. ],
  15280. "properties": {
  15281. "createtime": {
  15282. "description": "创建时间",
  15283. "type": "string"
  15284. },
  15285. "creatorid": {
  15286. "description": "创建人",
  15287. "type": "integer"
  15288. },
  15289. "deliverygoodsid": {
  15290. "description": "品种ID",
  15291. "type": "integer"
  15292. },
  15293. "deliverygoodsname": {
  15294. "description": "交割商品名称",
  15295. "type": "string"
  15296. },
  15297. "factoryitemjson": {
  15298. "description": "要素项定义Json[{\"DGFactoryItemTypeID\": ,\"ItemTypeMode\": ,\"FactoryItemIDs\": },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem-\u003eDGFactoryItemTypeIDItemTypeMode - 要素项类型模式 --DGFactoryItem-\u003eItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem-\u003eDGFactoryItemID, 逗号分隔",
  15299. "type": "string"
  15300. },
  15301. "isvalid": {
  15302. "description": "是否有效 - 0:无效 1:有效",
  15303. "type": "integer"
  15304. },
  15305. "minivalue": {
  15306. "description": "最小变动值",
  15307. "type": "integer"
  15308. },
  15309. "minivaluedp": {
  15310. "description": "最小变动值小数位",
  15311. "type": "integer"
  15312. },
  15313. "realminivalue": {
  15314. "description": "实际最小变动值",
  15315. "type": "integer"
  15316. },
  15317. "realminivaluedp": {
  15318. "description": "实际最小变动值小数位",
  15319. "type": "integer"
  15320. },
  15321. "unitid": {
  15322. "description": "单位ID",
  15323. "type": "integer"
  15324. },
  15325. "unitname": {
  15326. "description": "单位",
  15327. "type": "string"
  15328. },
  15329. "updatetime": {
  15330. "description": "更新时间",
  15331. "type": "string"
  15332. },
  15333. "updatorid": {
  15334. "description": "更新人",
  15335. "type": "integer"
  15336. },
  15337. "wrsstatus": {
  15338. "description": "状态 - 作废 - 0:未激活 1:正常",
  15339. "type": "integer"
  15340. },
  15341. "wrstandardcode": {
  15342. "description": "仓单标准代码",
  15343. "type": "string"
  15344. },
  15345. "wrstandardid": {
  15346. "description": "仓单标准ID(SEQ_WRSTANDARD)",
  15347. "type": "integer"
  15348. },
  15349. "wrstandardname": {
  15350. "description": "仓单标准名称",
  15351. "type": "string"
  15352. }
  15353. }
  15354. },
  15355. "models.Warehouseinfo": {
  15356. "type": "object",
  15357. "required": [
  15358. "autoid",
  15359. "warehousecode"
  15360. ],
  15361. "properties": {
  15362. "address": {
  15363. "description": "详细地址",
  15364. "type": "string"
  15365. },
  15366. "areauserid": {
  15367. "description": "所属机构",
  15368. "type": "integer"
  15369. },
  15370. "autoid": {
  15371. "description": "自增ID",
  15372. "type": "integer"
  15373. },
  15374. "cityid": {
  15375. "description": "市",
  15376. "type": "integer"
  15377. },
  15378. "contactname": {
  15379. "description": "联系人",
  15380. "type": "string"
  15381. },
  15382. "contactnum": {
  15383. "description": "联系电话",
  15384. "type": "string"
  15385. },
  15386. "countryid": {
  15387. "description": "国家",
  15388. "type": "integer"
  15389. },
  15390. "createtime": {
  15391. "description": "创建时间",
  15392. "type": "string"
  15393. },
  15394. "districtid": {
  15395. "description": "区",
  15396. "type": "integer"
  15397. },
  15398. "hasvideo": {
  15399. "description": "是否有视频 - 0:无 1:有",
  15400. "type": "integer"
  15401. },
  15402. "provinceid": {
  15403. "description": "省",
  15404. "type": "integer"
  15405. },
  15406. "remark": {
  15407. "description": "审核备注",
  15408. "type": "string"
  15409. },
  15410. "videourl": {
  15411. "description": "视频地址",
  15412. "type": "string"
  15413. },
  15414. "warehousecode": {
  15415. "description": "仓库代码",
  15416. "type": "string"
  15417. },
  15418. "warehousename": {
  15419. "description": "仓库名称",
  15420. "type": "string"
  15421. },
  15422. "warehousestatus": {
  15423. "description": "仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝",
  15424. "type": "integer"
  15425. },
  15426. "warehousetype": {
  15427. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  15428. "type": "integer"
  15429. }
  15430. }
  15431. },
  15432. "order.QueryHisTradeDetailRsp": {
  15433. "type": "object",
  15434. "required": [
  15435. "accountid",
  15436. "buyorsell",
  15437. "goodsid",
  15438. "histradedate",
  15439. "marketid",
  15440. "memberuserid",
  15441. "orderid",
  15442. "tradeamount",
  15443. "tradedate",
  15444. "tradeid",
  15445. "tradeprice",
  15446. "tradeqty",
  15447. "tradetime"
  15448. ],
  15449. "properties": {
  15450. "accountid": {
  15451. "description": "账户ID[报价币种]",
  15452. "type": "integer"
  15453. },
  15454. "buildtype": {
  15455. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  15456. "type": "integer"
  15457. },
  15458. "buyorsell": {
  15459. "description": "方向 - 0:买 1:卖",
  15460. "type": "integer"
  15461. },
  15462. "charge": {
  15463. "description": "手续费",
  15464. "type": "number"
  15465. },
  15466. "closecharge": {
  15467. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  15468. "type": "number"
  15469. },
  15470. "closeexchagechargevalue": {
  15471. "description": "平仓交易所手续费设置值",
  15472. "type": "number"
  15473. },
  15474. "closefeealgorithm": {
  15475. "description": "平仓手续费收取方式 1:比率 2:固定",
  15476. "type": "integer"
  15477. },
  15478. "closememberchargevalue": {
  15479. "description": "平仓会员手续费设置值",
  15480. "type": "number"
  15481. },
  15482. "closepl": {
  15483. "description": "平仓盈亏",
  15484. "type": "number"
  15485. },
  15486. "closepl2": {
  15487. "description": "平仓盈亏[逐笔]",
  15488. "type": "number"
  15489. },
  15490. "closeqty": {
  15491. "description": "平仓数量(先建后平操作 需要记录)",
  15492. "type": "integer"
  15493. },
  15494. "creditamount": {
  15495. "description": "授信金额",
  15496. "type": "number"
  15497. },
  15498. "gcaccountid": {
  15499. "description": "账户ID[合约币种]",
  15500. "type": "integer"
  15501. },
  15502. "goodscode": {
  15503. "description": "商品代码",
  15504. "type": "string"
  15505. },
  15506. "goodsid": {
  15507. "description": "商品ID",
  15508. "type": "integer"
  15509. },
  15510. "goodsname": {
  15511. "description": "商品名称",
  15512. "type": "string"
  15513. },
  15514. "histradedate": {
  15515. "description": "历史交易日",
  15516. "type": "string"
  15517. },
  15518. "intclosepl": {
  15519. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  15520. "type": "integer"
  15521. },
  15522. "isconfirmexercise": {
  15523. "description": "是否确认行权- 0:否 1:是",
  15524. "type": "integer"
  15525. },
  15526. "ismain": {
  15527. "description": "是否主单 - 0:不是 1:是",
  15528. "type": "integer"
  15529. },
  15530. "ispreexercise": {
  15531. "description": "是否预申报- 0:否 1:是",
  15532. "type": "integer"
  15533. },
  15534. "isreckoned": {
  15535. "description": "是否结算 - 0:未结算 1:已结算",
  15536. "type": "integer"
  15537. },
  15538. "isvaliddata": {
  15539. "description": "是否有效 - 0:无效 1:有效",
  15540. "type": "integer"
  15541. },
  15542. "listingselecttype": {
  15543. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  15544. "type": "integer"
  15545. },
  15546. "marketid": {
  15547. "description": "市场ID",
  15548. "type": "integer"
  15549. },
  15550. "marketname": {
  15551. "description": "市场名称",
  15552. "type": "string"
  15553. },
  15554. "matchaccountid": {
  15555. "description": "对手账号id",
  15556. "type": "integer"
  15557. },
  15558. "memberuserid": {
  15559. "description": "会员id 个人投资者 需要填写",
  15560. "type": "integer"
  15561. },
  15562. "opencharge": {
  15563. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  15564. "type": "number"
  15565. },
  15566. "openexchagechargevalue": {
  15567. "description": "建仓交易所手续费设置值",
  15568. "type": "number"
  15569. },
  15570. "openfeealgorithm": {
  15571. "description": "建仓手续费收取方式 1:比率 2:固定",
  15572. "type": "integer"
  15573. },
  15574. "openmemberchargevalue": {
  15575. "description": "建仓会员手续费设置值",
  15576. "type": "number"
  15577. },
  15578. "openqty": {
  15579. "description": "开仓数量(先建后平操作 需要记录)",
  15580. "type": "integer"
  15581. },
  15582. "optiontype": {
  15583. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  15584. "type": "integer"
  15585. },
  15586. "orderid": {
  15587. "description": "委托单号",
  15588. "type": "string"
  15589. },
  15590. "performanceplanid": {
  15591. "description": "履约计划ID[期权]",
  15592. "type": "integer"
  15593. },
  15594. "performancestatus": {
  15595. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  15596. "type": "integer"
  15597. },
  15598. "preexerciseprice": {
  15599. "description": "预申报价格",
  15600. "type": "number"
  15601. },
  15602. "premium": {
  15603. "description": "权利金 - [持仓单的权利金]",
  15604. "type": "number"
  15605. },
  15606. "relatedouttradeid": {
  15607. "description": "关联外部成交单ID",
  15608. "type": "integer"
  15609. },
  15610. "status": {
  15611. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  15612. "type": "integer"
  15613. },
  15614. "tradeamount": {
  15615. "description": "成交金额[账户币种,用于所有权]",
  15616. "type": "number"
  15617. },
  15618. "tradedate": {
  15619. "description": "交易日(yyyyMMdd)",
  15620. "type": "string"
  15621. },
  15622. "tradeid": {
  15623. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  15624. "type": "string"
  15625. },
  15626. "trademode": {
  15627. "description": "交易模式",
  15628. "type": "integer"
  15629. },
  15630. "tradeprice": {
  15631. "description": "成交价格",
  15632. "type": "number"
  15633. },
  15634. "tradeproperty": {
  15635. "description": "交易属性",
  15636. "type": "integer"
  15637. },
  15638. "tradeqty": {
  15639. "description": "成交数量",
  15640. "type": "integer"
  15641. },
  15642. "tradetime": {
  15643. "description": "成交时间",
  15644. "type": "string"
  15645. },
  15646. "tradetype": {
  15647. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  15648. "type": "integer"
  15649. }
  15650. }
  15651. },
  15652. "order.QueryHisTradeOrderDetailRsp": {
  15653. "type": "object",
  15654. "required": [
  15655. "accountid",
  15656. "buildtype",
  15657. "buyorsell",
  15658. "goodsid",
  15659. "histradedate",
  15660. "marketid",
  15661. "memberuserid",
  15662. "operatetype",
  15663. "orderid",
  15664. "orderqty",
  15665. "ordertime",
  15666. "pricemode",
  15667. "tradedate",
  15668. "validtype"
  15669. ],
  15670. "properties": {
  15671. "accountid": {
  15672. "description": "账户ID[报价币种]",
  15673. "type": "integer"
  15674. },
  15675. "buildtype": {
  15676. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  15677. "type": "integer"
  15678. },
  15679. "buyorsell": {
  15680. "description": "买卖 - 0:买 1:卖",
  15681. "type": "integer"
  15682. },
  15683. "cancelorderid": {
  15684. "description": "撤单单号(撤单时填写)",
  15685. "type": "string"
  15686. },
  15687. "cancelqty": {
  15688. "description": "撤单数量",
  15689. "type": "integer"
  15690. },
  15691. "clientordertime": {
  15692. "description": "客户端委托时间",
  15693. "type": "string"
  15694. },
  15695. "clientticket": {
  15696. "description": "客户端流水号",
  15697. "type": "string"
  15698. },
  15699. "clienttype": {
  15700. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  15701. "type": "integer"
  15702. },
  15703. "closeexchagechargevalue": {
  15704. "description": "平仓交易所手续费设置值",
  15705. "type": "number"
  15706. },
  15707. "closefeealgorithm": {
  15708. "description": "平仓手续费收取方式 1:比率 2:固定",
  15709. "type": "integer"
  15710. },
  15711. "closefreezecharge": {
  15712. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  15713. "type": "number"
  15714. },
  15715. "closememberchargevalue": {
  15716. "description": "平仓会员手续费设置值",
  15717. "type": "number"
  15718. },
  15719. "closeqty": {
  15720. "description": "平仓数量(先建后平操作 需要记录)",
  15721. "type": "integer"
  15722. },
  15723. "closetradeqty": {
  15724. "description": "平仓成交数量(先建后平操作,需要记录)",
  15725. "type": "integer"
  15726. },
  15727. "closeunfreezecharge": {
  15728. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  15729. "type": "number"
  15730. },
  15731. "delistingtype": {
  15732. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  15733. "type": "integer"
  15734. },
  15735. "freezecharge": {
  15736. "description": "冻结手续费",
  15737. "type": "number"
  15738. },
  15739. "freezemargin": {
  15740. "description": "冻结保证金(冻结交易金额)",
  15741. "type": "number"
  15742. },
  15743. "gcaccountid": {
  15744. "description": "账户ID[合约币种]",
  15745. "type": "integer"
  15746. },
  15747. "goodscode": {
  15748. "description": "商品代码",
  15749. "type": "string"
  15750. },
  15751. "goodsid": {
  15752. "description": "商品ID",
  15753. "type": "integer"
  15754. },
  15755. "goodsname": {
  15756. "description": "商品名称",
  15757. "type": "string"
  15758. },
  15759. "histradedate": {
  15760. "description": "历史交易日",
  15761. "type": "string"
  15762. },
  15763. "isconfirmexercise": {
  15764. "description": "是否确认行权- 0:否 1:是",
  15765. "type": "integer"
  15766. },
  15767. "ispreexercise": {
  15768. "description": "是否预申报- 0:否 1:是",
  15769. "type": "integer"
  15770. },
  15771. "isvaliddata": {
  15772. "description": "是否有效 - 0:无效 1:有效",
  15773. "type": "integer"
  15774. },
  15775. "listingselecttype": {
  15776. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  15777. "type": "integer"
  15778. },
  15779. "marginalgorithm": {
  15780. "description": "保证金收取方式 1:比率 2:固定",
  15781. "type": "integer"
  15782. },
  15783. "marginvalue": {
  15784. "description": "即市保证金设置值",
  15785. "type": "number"
  15786. },
  15787. "marketid": {
  15788. "description": "市场ID",
  15789. "type": "integer"
  15790. },
  15791. "marketmaxsub": {
  15792. "description": "市价最大偏移范围",
  15793. "type": "number"
  15794. },
  15795. "marketname": {
  15796. "description": "市场名称",
  15797. "type": "string"
  15798. },
  15799. "memberuserid": {
  15800. "description": "所属会员UserID",
  15801. "type": "integer"
  15802. },
  15803. "openexchagechargevalue": {
  15804. "description": "建仓交易所手续费设置值",
  15805. "type": "number"
  15806. },
  15807. "openfeealgorithm": {
  15808. "description": "建仓手续费收取方式 1:比率 2:固定",
  15809. "type": "integer"
  15810. },
  15811. "openfreezecharge": {
  15812. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  15813. "type": "number"
  15814. },
  15815. "openmemberchargevalue": {
  15816. "description": "建仓会员手续费设置值",
  15817. "type": "number"
  15818. },
  15819. "openqty": {
  15820. "description": "开仓数量(先建后平操作,需要记录)",
  15821. "type": "integer"
  15822. },
  15823. "opentradeqty": {
  15824. "description": "开仓成交数量(先建后平操作,需要记录)",
  15825. "type": "integer"
  15826. },
  15827. "openunfreezecharge": {
  15828. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  15829. "type": "number"
  15830. },
  15831. "operatetype": {
  15832. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  15833. "type": "integer"
  15834. },
  15835. "operatorid": {
  15836. "description": "登录账号(LoginID)",
  15837. "type": "integer"
  15838. },
  15839. "optiontype": {
  15840. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  15841. "type": "integer"
  15842. },
  15843. "orderid": {
  15844. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  15845. "type": "string"
  15846. },
  15847. "orderprice": {
  15848. "description": "委托价格",
  15849. "type": "number"
  15850. },
  15851. "orderqty": {
  15852. "description": "委托数量",
  15853. "type": "integer"
  15854. },
  15855. "ordersrc": {
  15856. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  15857. "type": "integer"
  15858. },
  15859. "orderstatus": {
  15860. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  15861. "type": "integer"
  15862. },
  15863. "ordertime": {
  15864. "description": "委托时间",
  15865. "type": "string"
  15866. },
  15867. "preexerciseprice": {
  15868. "description": "预申报价格",
  15869. "type": "number"
  15870. },
  15871. "premium": {
  15872. "description": "权利金",
  15873. "type": "number"
  15874. },
  15875. "preorderid": {
  15876. "description": "关联预埋单号(止盈止损单时填写)",
  15877. "type": "string"
  15878. },
  15879. "pricemode": {
  15880. "description": "取价方式 - 1:市价 2: 限价",
  15881. "type": "integer"
  15882. },
  15883. "quoteid": {
  15884. "description": "报价单ID",
  15885. "type": "integer"
  15886. },
  15887. "relatedid": {
  15888. "description": "关联单号(交割单)",
  15889. "type": "string"
  15890. },
  15891. "retcode": {
  15892. "description": "错误代码",
  15893. "type": "integer"
  15894. },
  15895. "sessionid": {
  15896. "description": "会话ID",
  15897. "type": "integer"
  15898. },
  15899. "tradedate": {
  15900. "description": "交易日(yyyyMMdd)",
  15901. "type": "string"
  15902. },
  15903. "trademode": {
  15904. "description": "交易模式",
  15905. "type": "integer"
  15906. },
  15907. "tradeproperty": {
  15908. "description": "交易属性",
  15909. "type": "integer"
  15910. },
  15911. "tradeqty": {
  15912. "description": "成交数量",
  15913. "type": "integer"
  15914. },
  15915. "unfreezecharge": {
  15916. "description": "解冻手续费",
  15917. "type": "number"
  15918. },
  15919. "unfreezemargin": {
  15920. "description": "解冻保证金",
  15921. "type": "number"
  15922. },
  15923. "updatetime": {
  15924. "description": "更新时间",
  15925. "type": "string"
  15926. },
  15927. "uuid": {
  15928. "description": "发起端唯一id",
  15929. "type": "string"
  15930. },
  15931. "validtime": {
  15932. "description": "有效期限",
  15933. "type": "string"
  15934. },
  15935. "validtype": {
  15936. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  15937. "type": "integer"
  15938. },
  15939. "volumetype": {
  15940. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  15941. "type": "integer"
  15942. }
  15943. }
  15944. },
  15945. "order.QueryTradeDetailRsp": {
  15946. "type": "object",
  15947. "required": [
  15948. "accountid",
  15949. "buyorsell",
  15950. "goodsid",
  15951. "marketid",
  15952. "memberuserid",
  15953. "orderid",
  15954. "tradeamount",
  15955. "tradedate",
  15956. "tradeid",
  15957. "tradeprice",
  15958. "tradeqty",
  15959. "tradetime"
  15960. ],
  15961. "properties": {
  15962. "accountid": {
  15963. "description": "账户ID[报价币种]",
  15964. "type": "integer"
  15965. },
  15966. "buildtype": {
  15967. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  15968. "type": "integer"
  15969. },
  15970. "buyorsell": {
  15971. "description": "方向 - 0:买 1:卖",
  15972. "type": "integer"
  15973. },
  15974. "charge": {
  15975. "description": "手续费",
  15976. "type": "number"
  15977. },
  15978. "closecharge": {
  15979. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  15980. "type": "number"
  15981. },
  15982. "closeexchagechargevalue": {
  15983. "description": "平仓交易所手续费设置值",
  15984. "type": "number"
  15985. },
  15986. "closefeealgorithm": {
  15987. "description": "平仓手续费收取方式 1:比率 2:固定",
  15988. "type": "integer"
  15989. },
  15990. "closememberchargevalue": {
  15991. "description": "平仓会员手续费设置值",
  15992. "type": "number"
  15993. },
  15994. "closepl": {
  15995. "description": "平仓盈亏",
  15996. "type": "number"
  15997. },
  15998. "closepl2": {
  15999. "description": "平仓盈亏[逐笔]",
  16000. "type": "number"
  16001. },
  16002. "closeqty": {
  16003. "description": "平仓数量(先建后平操作 需要记录)",
  16004. "type": "integer"
  16005. },
  16006. "creditamount": {
  16007. "description": "授信金额",
  16008. "type": "number"
  16009. },
  16010. "gcaccountid": {
  16011. "description": "账户ID[合约币种]",
  16012. "type": "integer"
  16013. },
  16014. "goodscode": {
  16015. "description": "商品代码",
  16016. "type": "string"
  16017. },
  16018. "goodsid": {
  16019. "description": "商品ID",
  16020. "type": "integer"
  16021. },
  16022. "goodsname": {
  16023. "description": "商品名称",
  16024. "type": "string"
  16025. },
  16026. "intclosepl": {
  16027. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  16028. "type": "integer"
  16029. },
  16030. "isconfirmexercise": {
  16031. "description": "是否确认行权- 0:否 1:是",
  16032. "type": "integer"
  16033. },
  16034. "ismain": {
  16035. "description": "是否主单 - 0:不是 1:是",
  16036. "type": "integer"
  16037. },
  16038. "ispreexercise": {
  16039. "description": "是否预申报- 0:否 1:是",
  16040. "type": "integer"
  16041. },
  16042. "isreckoned": {
  16043. "description": "是否结算 - 0:未结算 1:已结算",
  16044. "type": "integer"
  16045. },
  16046. "listingselecttype": {
  16047. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  16048. "type": "integer"
  16049. },
  16050. "marketid": {
  16051. "description": "市场ID",
  16052. "type": "integer"
  16053. },
  16054. "marketname": {
  16055. "description": "市场名称",
  16056. "type": "string"
  16057. },
  16058. "matchaccountid": {
  16059. "description": "对手账号id",
  16060. "type": "integer"
  16061. },
  16062. "memberuserid": {
  16063. "description": "会员id 个人投资者 需要填写",
  16064. "type": "integer"
  16065. },
  16066. "opencharge": {
  16067. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  16068. "type": "number"
  16069. },
  16070. "openexchagechargevalue": {
  16071. "description": "建仓交易所手续费设置值",
  16072. "type": "number"
  16073. },
  16074. "openfeealgorithm": {
  16075. "description": "建仓手续费收取方式 1:比率 2:固定",
  16076. "type": "integer"
  16077. },
  16078. "openmemberchargevalue": {
  16079. "description": "建仓会员手续费设置值",
  16080. "type": "number"
  16081. },
  16082. "openqty": {
  16083. "description": "开仓数量(先建后平操作 需要记录)",
  16084. "type": "integer"
  16085. },
  16086. "optiontype": {
  16087. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  16088. "type": "integer"
  16089. },
  16090. "orderid": {
  16091. "description": "委托单号",
  16092. "type": "string"
  16093. },
  16094. "performanceplanid": {
  16095. "description": "履约计划ID[期权]",
  16096. "type": "integer"
  16097. },
  16098. "performancestatus": {
  16099. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  16100. "type": "integer"
  16101. },
  16102. "preexerciseprice": {
  16103. "description": "预申报价格",
  16104. "type": "number"
  16105. },
  16106. "premium": {
  16107. "description": "权利金 - [持仓单的权利金]",
  16108. "type": "number"
  16109. },
  16110. "relatedouttradeid": {
  16111. "description": "关联外部成交单ID",
  16112. "type": "integer"
  16113. },
  16114. "status": {
  16115. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  16116. "type": "integer"
  16117. },
  16118. "tradeamount": {
  16119. "description": "成交金额[账户币种,用于所有权]",
  16120. "type": "number"
  16121. },
  16122. "tradedate": {
  16123. "description": "交易日(yyyyMMdd)",
  16124. "type": "string"
  16125. },
  16126. "tradeid": {
  16127. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  16128. "type": "string"
  16129. },
  16130. "trademode": {
  16131. "description": "交易模式",
  16132. "type": "integer"
  16133. },
  16134. "tradeprice": {
  16135. "description": "成交价格",
  16136. "type": "number"
  16137. },
  16138. "tradeproperty": {
  16139. "description": "交易属性",
  16140. "type": "integer"
  16141. },
  16142. "tradeqty": {
  16143. "description": "成交数量",
  16144. "type": "integer"
  16145. },
  16146. "tradetime": {
  16147. "description": "成交时间",
  16148. "type": "string"
  16149. },
  16150. "tradetype": {
  16151. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  16152. "type": "integer"
  16153. }
  16154. }
  16155. },
  16156. "order.QueryTradeOrderDetailRsp": {
  16157. "type": "object",
  16158. "required": [
  16159. "accountid",
  16160. "buildtype",
  16161. "buyorsell",
  16162. "goodsid",
  16163. "marketid",
  16164. "operatetype",
  16165. "orderqty",
  16166. "ordertime",
  16167. "pricemode",
  16168. "tradedate",
  16169. "validtype"
  16170. ],
  16171. "properties": {
  16172. "accountid": {
  16173. "description": "账户ID[报价币种]",
  16174. "type": "integer"
  16175. },
  16176. "buildtype": {
  16177. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  16178. "type": "integer"
  16179. },
  16180. "buyorsell": {
  16181. "description": "买卖 - 0:买 1:卖",
  16182. "type": "integer"
  16183. },
  16184. "cancelorderid": {
  16185. "description": "撤单单号(撤单时填写)",
  16186. "type": "string"
  16187. },
  16188. "cancelqty": {
  16189. "description": "撤单数量",
  16190. "type": "integer"
  16191. },
  16192. "clienttype": {
  16193. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  16194. "type": "integer"
  16195. },
  16196. "closefreezecharge": {
  16197. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  16198. "type": "number"
  16199. },
  16200. "closeqty": {
  16201. "description": "平仓数量(先建后平操作 需要记录)",
  16202. "type": "integer"
  16203. },
  16204. "closetradeqty": {
  16205. "description": "平仓成交数量(先建后平操作,需要记录)",
  16206. "type": "integer"
  16207. },
  16208. "closeunfreezecharge": {
  16209. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  16210. "type": "number"
  16211. },
  16212. "delistingtype": {
  16213. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  16214. "type": "integer"
  16215. },
  16216. "enableqty": {
  16217. "description": "可用数量 = 委托数量 - 成交数量 - 撤单数量",
  16218. "type": "integer"
  16219. },
  16220. "freezecharge": {
  16221. "description": "冻结手续费",
  16222. "type": "number"
  16223. },
  16224. "freezemargin": {
  16225. "description": "冻结保证金(冻结交易金额)",
  16226. "type": "number"
  16227. },
  16228. "goodscode": {
  16229. "description": "商品代码",
  16230. "type": "string"
  16231. },
  16232. "goodsid": {
  16233. "description": "商品ID",
  16234. "type": "integer"
  16235. },
  16236. "goodsname": {
  16237. "description": "商品名称",
  16238. "type": "string"
  16239. },
  16240. "listingselecttype": {
  16241. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  16242. "type": "integer"
  16243. },
  16244. "marketid": {
  16245. "description": "市场ID",
  16246. "type": "integer"
  16247. },
  16248. "marketname": {
  16249. "description": "市场名称",
  16250. "type": "string"
  16251. },
  16252. "openfreezecharge": {
  16253. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  16254. "type": "number"
  16255. },
  16256. "openqty": {
  16257. "description": "开仓数量(先建后平操作,需要记录)",
  16258. "type": "integer"
  16259. },
  16260. "opentradeqty": {
  16261. "description": "开仓成交数量(先建后平操作,需要记录)",
  16262. "type": "integer"
  16263. },
  16264. "openunfreezecharge": {
  16265. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  16266. "type": "number"
  16267. },
  16268. "operatetype": {
  16269. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  16270. "type": "integer"
  16271. },
  16272. "operatorid": {
  16273. "description": "登录账号(LoginID)",
  16274. "type": "integer"
  16275. },
  16276. "orderid": {
  16277. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  16278. "type": "string"
  16279. },
  16280. "orderprice": {
  16281. "description": "委托价格",
  16282. "type": "number"
  16283. },
  16284. "orderqty": {
  16285. "description": "委托数量",
  16286. "type": "integer"
  16287. },
  16288. "ordersrc": {
  16289. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  16290. "type": "integer"
  16291. },
  16292. "orderstatus": {
  16293. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  16294. "type": "integer"
  16295. },
  16296. "ordertime": {
  16297. "description": "委托时间",
  16298. "type": "string"
  16299. },
  16300. "preorderid": {
  16301. "description": "关联预埋单号(止盈止损单时填写)",
  16302. "type": "string"
  16303. },
  16304. "pricemode": {
  16305. "description": "取价方式 - 1:市价 2: 限价",
  16306. "type": "integer"
  16307. },
  16308. "relatedid": {
  16309. "description": "关联单号(交割单)",
  16310. "type": "string"
  16311. },
  16312. "tradedate": {
  16313. "description": "交易日(yyyyMMdd)",
  16314. "type": "string"
  16315. },
  16316. "trademode": {
  16317. "description": "交易模式",
  16318. "type": "integer"
  16319. },
  16320. "tradeqty": {
  16321. "description": "成交数量",
  16322. "type": "integer"
  16323. },
  16324. "unfreezecharge": {
  16325. "description": "解冻手续费",
  16326. "type": "number"
  16327. },
  16328. "unfreezemargin": {
  16329. "description": "解冻保证金",
  16330. "type": "number"
  16331. },
  16332. "validtime": {
  16333. "description": "有效期限",
  16334. "type": "string"
  16335. },
  16336. "validtype": {
  16337. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  16338. "type": "integer"
  16339. },
  16340. "volumetype": {
  16341. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  16342. "type": "integer"
  16343. }
  16344. }
  16345. },
  16346. "order.QueryTradePositionRsp": {
  16347. "type": "object",
  16348. "required": [
  16349. "goodsid"
  16350. ],
  16351. "properties": {
  16352. "accountid": {
  16353. "description": "资金账户",
  16354. "type": "integer"
  16355. },
  16356. "agreeunit": {
  16357. "description": "合约单位",
  16358. "type": "number"
  16359. },
  16360. "averageprice": {
  16361. "description": "持仓均价",
  16362. "type": "number"
  16363. },
  16364. "buyorsell": {
  16365. "description": "方向 - 0:买 1:卖",
  16366. "type": "integer"
  16367. },
  16368. "closetotalqty": {
  16369. "description": "平仓总数量",
  16370. "type": "integer"
  16371. },
  16372. "curholderamount": {
  16373. "description": "当前持仓总金额[商品币种]",
  16374. "type": "number"
  16375. },
  16376. "curpositionqty": {
  16377. "description": "当前持仓总数量",
  16378. "type": "integer"
  16379. },
  16380. "currencyid": {
  16381. "description": "报价货币ID",
  16382. "type": "integer"
  16383. },
  16384. "curtdposition": {
  16385. "description": "期末今日头寸",
  16386. "type": "integer"
  16387. },
  16388. "decimalplace": {
  16389. "description": "报价小数位",
  16390. "type": "integer"
  16391. },
  16392. "enableqty": {
  16393. "description": "可用量",
  16394. "type": "integer"
  16395. },
  16396. "fretdposition": {
  16397. "description": "冻结今日头寸",
  16398. "type": "integer"
  16399. },
  16400. "frozenqty": {
  16401. "description": "持仓冻结数量",
  16402. "type": "integer"
  16403. },
  16404. "goodscode": {
  16405. "description": "商品代码",
  16406. "type": "string"
  16407. },
  16408. "goodsid": {
  16409. "description": "商品Id",
  16410. "type": "integer"
  16411. },
  16412. "goodsname": {
  16413. "description": "商品名称",
  16414. "type": "string"
  16415. },
  16416. "goodunit": {
  16417. "description": "报价单位",
  16418. "type": "string"
  16419. },
  16420. "goodunitid": {
  16421. "description": "报价单位ID",
  16422. "type": "integer"
  16423. },
  16424. "holderamount": {
  16425. "description": "期初持仓总金额[商品币种]",
  16426. "type": "number"
  16427. },
  16428. "marketid": {
  16429. "description": "所属市场ID",
  16430. "type": "integer"
  16431. },
  16432. "openreqqty": {
  16433. "description": "开仓申请数量(用于比较最大持仓数量)",
  16434. "type": "integer"
  16435. },
  16436. "opentotalqty": {
  16437. "description": "开仓总数量",
  16438. "type": "integer"
  16439. },
  16440. "otherfrozenqty": {
  16441. "description": "持仓其他冻结数量(交割冻结)",
  16442. "type": "integer"
  16443. },
  16444. "positionqty": {
  16445. "description": "期初持仓数量",
  16446. "type": "integer"
  16447. },
  16448. "tnqty": {
  16449. "description": "T+N冻结总量",
  16450. "type": "integer"
  16451. },
  16452. "tnusedqty": {
  16453. "description": "T+N使用量(可以使用T+N的冻结数量)",
  16454. "type": "integer"
  16455. },
  16456. "trademode": {
  16457. "description": "交易模式",
  16458. "type": "integer"
  16459. },
  16460. "usedmargin": {
  16461. "description": "占用保证金[商品币种]",
  16462. "type": "number"
  16463. }
  16464. }
  16465. },
  16466. "quote.HistoryData": {
  16467. "type": "object",
  16468. "properties": {
  16469. "c": {
  16470. "description": "收盘价",
  16471. "type": "number"
  16472. },
  16473. "f": {
  16474. "description": "是否补充数据",
  16475. "type": "boolean"
  16476. },
  16477. "h": {
  16478. "description": "最高价",
  16479. "type": "number"
  16480. },
  16481. "hv": {
  16482. "description": "持仓量",
  16483. "type": "integer"
  16484. },
  16485. "l": {
  16486. "description": "最低价",
  16487. "type": "number"
  16488. },
  16489. "o": {
  16490. "description": "开盘价",
  16491. "type": "number"
  16492. },
  16493. "s": {
  16494. "description": "结算价,日线周期(包括)以上才有",
  16495. "type": "number"
  16496. },
  16497. "ts": {
  16498. "description": "时间",
  16499. "type": "string"
  16500. },
  16501. "tt": {
  16502. "description": "总金额",
  16503. "type": "number"
  16504. },
  16505. "tv": {
  16506. "description": "总量",
  16507. "type": "integer"
  16508. }
  16509. }
  16510. },
  16511. "quote.QueryQuoteDayRsp": {
  16512. "type": "object",
  16513. "properties": {
  16514. "ask": {
  16515. "description": "卖1",
  16516. "type": "number"
  16517. },
  16518. "ask10": {
  16519. "description": "卖10",
  16520. "type": "number"
  16521. },
  16522. "ask2": {
  16523. "description": "卖2",
  16524. "type": "number"
  16525. },
  16526. "ask3": {
  16527. "description": "卖3",
  16528. "type": "number"
  16529. },
  16530. "ask4": {
  16531. "description": "卖4",
  16532. "type": "number"
  16533. },
  16534. "ask5": {
  16535. "description": "卖5",
  16536. "type": "number"
  16537. },
  16538. "ask6": {
  16539. "description": "卖6",
  16540. "type": "number"
  16541. },
  16542. "ask7": {
  16543. "description": "卖7",
  16544. "type": "number"
  16545. },
  16546. "ask8": {
  16547. "description": "卖8",
  16548. "type": "number"
  16549. },
  16550. "ask9": {
  16551. "description": "卖9",
  16552. "type": "number"
  16553. },
  16554. "askorderid": {
  16555. "description": "卖单号1",
  16556. "type": "integer"
  16557. },
  16558. "askorderid2": {
  16559. "description": "卖单号2",
  16560. "type": "integer"
  16561. },
  16562. "askorderid3": {
  16563. "description": "卖单号3",
  16564. "type": "integer"
  16565. },
  16566. "askorderid4": {
  16567. "description": "卖单号4",
  16568. "type": "integer"
  16569. },
  16570. "askorderid5": {
  16571. "description": "卖单号5",
  16572. "type": "integer"
  16573. },
  16574. "askordervolume": {
  16575. "description": "卖单量1",
  16576. "type": "integer"
  16577. },
  16578. "askordervolume10": {
  16579. "description": "卖单量10",
  16580. "type": "integer"
  16581. },
  16582. "askordervolume2": {
  16583. "description": "卖单量2",
  16584. "type": "integer"
  16585. },
  16586. "askordervolume3": {
  16587. "description": "卖单量3",
  16588. "type": "integer"
  16589. },
  16590. "askordervolume4": {
  16591. "description": "卖单量4",
  16592. "type": "integer"
  16593. },
  16594. "askordervolume5": {
  16595. "description": "卖单量5",
  16596. "type": "integer"
  16597. },
  16598. "askordervolume6": {
  16599. "description": "卖单量6",
  16600. "type": "integer"
  16601. },
  16602. "askordervolume7": {
  16603. "description": "卖单量7",
  16604. "type": "integer"
  16605. },
  16606. "askordervolume8": {
  16607. "description": "卖单量8",
  16608. "type": "integer"
  16609. },
  16610. "askordervolume9": {
  16611. "description": "卖单量9",
  16612. "type": "integer"
  16613. },
  16614. "askqueueinfo": {
  16615. "description": "大利市卖港股用",
  16616. "type": "string"
  16617. },
  16618. "askvolume": {
  16619. "description": "卖量1",
  16620. "type": "integer"
  16621. },
  16622. "askvolume10": {
  16623. "description": "卖量10",
  16624. "type": "integer"
  16625. },
  16626. "askvolume2": {
  16627. "description": "卖量2",
  16628. "type": "integer"
  16629. },
  16630. "askvolume3": {
  16631. "description": "卖量3",
  16632. "type": "integer"
  16633. },
  16634. "askvolume4": {
  16635. "description": "卖量4",
  16636. "type": "integer"
  16637. },
  16638. "askvolume5": {
  16639. "description": "卖量5",
  16640. "type": "integer"
  16641. },
  16642. "askvolume6": {
  16643. "description": "卖量6",
  16644. "type": "integer"
  16645. },
  16646. "askvolume7": {
  16647. "description": "卖量7",
  16648. "type": "integer"
  16649. },
  16650. "askvolume8": {
  16651. "description": "卖量8",
  16652. "type": "integer"
  16653. },
  16654. "askvolume9": {
  16655. "description": "卖量9",
  16656. "type": "integer"
  16657. },
  16658. "averageprice": {
  16659. "description": "均价",
  16660. "type": "number"
  16661. },
  16662. "bid": {
  16663. "description": "买1",
  16664. "type": "number"
  16665. },
  16666. "bid10": {
  16667. "description": "买10",
  16668. "type": "number"
  16669. },
  16670. "bid2": {
  16671. "description": "买2",
  16672. "type": "number"
  16673. },
  16674. "bid3": {
  16675. "description": "买3",
  16676. "type": "number"
  16677. },
  16678. "bid4": {
  16679. "description": "买4",
  16680. "type": "number"
  16681. },
  16682. "bid5": {
  16683. "description": "买5",
  16684. "type": "number"
  16685. },
  16686. "bid6": {
  16687. "description": "买6",
  16688. "type": "number"
  16689. },
  16690. "bid7": {
  16691. "description": "买7",
  16692. "type": "number"
  16693. },
  16694. "bid8": {
  16695. "description": "买8",
  16696. "type": "number"
  16697. },
  16698. "bid9": {
  16699. "description": "买9",
  16700. "type": "number"
  16701. },
  16702. "bidorderid": {
  16703. "description": "买单号1",
  16704. "type": "integer"
  16705. },
  16706. "bidorderid2": {
  16707. "description": "买单号2",
  16708. "type": "integer"
  16709. },
  16710. "bidorderid3": {
  16711. "description": "买单号3",
  16712. "type": "integer"
  16713. },
  16714. "bidorderid4": {
  16715. "description": "买单号4",
  16716. "type": "integer"
  16717. },
  16718. "bidorderid5": {
  16719. "description": "买单号5",
  16720. "type": "integer"
  16721. },
  16722. "bidordervolume": {
  16723. "description": "买单量1",
  16724. "type": "integer"
  16725. },
  16726. "bidordervolume10": {
  16727. "description": "买单量10",
  16728. "type": "integer"
  16729. },
  16730. "bidordervolume2": {
  16731. "description": "买单量2",
  16732. "type": "integer"
  16733. },
  16734. "bidordervolume3": {
  16735. "description": "买单量3",
  16736. "type": "integer"
  16737. },
  16738. "bidordervolume4": {
  16739. "description": "买单量4",
  16740. "type": "integer"
  16741. },
  16742. "bidordervolume5": {
  16743. "description": "买单量5",
  16744. "type": "integer"
  16745. },
  16746. "bidordervolume6": {
  16747. "description": "买单量6",
  16748. "type": "integer"
  16749. },
  16750. "bidordervolume7": {
  16751. "description": "买单量7",
  16752. "type": "integer"
  16753. },
  16754. "bidordervolume8": {
  16755. "description": "买单量8",
  16756. "type": "integer"
  16757. },
  16758. "bidordervolume9": {
  16759. "description": "买单量9",
  16760. "type": "integer"
  16761. },
  16762. "bidqueueinfo": {
  16763. "description": "大利市买港股用",
  16764. "type": "string"
  16765. },
  16766. "bidvolume": {
  16767. "description": "买量1",
  16768. "type": "integer"
  16769. },
  16770. "bidvolume10": {
  16771. "description": "买量10",
  16772. "type": "integer"
  16773. },
  16774. "bidvolume2": {
  16775. "description": "买量2",
  16776. "type": "integer"
  16777. },
  16778. "bidvolume3": {
  16779. "description": "买量3",
  16780. "type": "integer"
  16781. },
  16782. "bidvolume4": {
  16783. "description": "买量4",
  16784. "type": "integer"
  16785. },
  16786. "bidvolume5": {
  16787. "description": "买量5",
  16788. "type": "integer"
  16789. },
  16790. "bidvolume6": {
  16791. "description": "买量6",
  16792. "type": "integer"
  16793. },
  16794. "bidvolume7": {
  16795. "description": "买量7",
  16796. "type": "integer"
  16797. },
  16798. "bidvolume8": {
  16799. "description": "买量8",
  16800. "type": "integer"
  16801. },
  16802. "bidvolume9": {
  16803. "description": "买量9",
  16804. "type": "integer"
  16805. },
  16806. "calloptionpremiums": {
  16807. "description": "认购期权1",
  16808. "type": "integer"
  16809. },
  16810. "calloptionpremiums2": {
  16811. "description": "认购期权2",
  16812. "type": "integer"
  16813. },
  16814. "calloptionpremiums3": {
  16815. "description": "认购期权3",
  16816. "type": "integer"
  16817. },
  16818. "calloptionpremiums4": {
  16819. "description": "认购期权4",
  16820. "type": "integer"
  16821. },
  16822. "calloptionpremiums5": {
  16823. "description": "认购期权5",
  16824. "type": "integer"
  16825. },
  16826. "cleartime": {
  16827. "description": "清盘时间",
  16828. "type": "integer"
  16829. },
  16830. "exchangecode": {
  16831. "description": "交易所代码",
  16832. "type": "integer"
  16833. },
  16834. "exchangedate": {
  16835. "description": "交易日",
  16836. "type": "integer"
  16837. },
  16838. "goodscode": {
  16839. "description": "商品代码",
  16840. "type": "string"
  16841. },
  16842. "grepmarketprice": {
  16843. "description": "暗盘价 港股专用",
  16844. "type": "number"
  16845. },
  16846. "highest": {
  16847. "description": "最高价",
  16848. "type": "number"
  16849. },
  16850. "holdincrement": {
  16851. "description": "单笔持仓",
  16852. "type": "integer"
  16853. },
  16854. "holdvolume": {
  16855. "description": "持仓",
  16856. "type": "integer"
  16857. },
  16858. "iep": {
  16859. "description": "平衡价 港股专用",
  16860. "type": "number"
  16861. },
  16862. "iev": {
  16863. "description": "平衡量 港股专用",
  16864. "type": "number"
  16865. },
  16866. "inventory": {
  16867. "description": "库存",
  16868. "type": "integer"
  16869. },
  16870. "iscleared": {
  16871. "description": "是否清盘标志",
  16872. "type": "integer"
  16873. },
  16874. "issettled": {
  16875. "description": "是否结算标志",
  16876. "type": "integer"
  16877. },
  16878. "last": {
  16879. "description": "最新价",
  16880. "type": "number"
  16881. },
  16882. "lastlot": {
  16883. "description": "最新成交手数",
  16884. "type": "integer"
  16885. },
  16886. "lasttime": {
  16887. "description": "行情时间(只有现价变化行情时间才变化)",
  16888. "type": "string"
  16889. },
  16890. "lastturnover": {
  16891. "description": "最新成交金额",
  16892. "type": "number"
  16893. },
  16894. "lastvolume": {
  16895. "description": "最新成交量",
  16896. "type": "integer"
  16897. },
  16898. "limitdown": {
  16899. "description": "跌停价",
  16900. "type": "number"
  16901. },
  16902. "limitup": {
  16903. "description": "涨停价",
  16904. "type": "number"
  16905. },
  16906. "lowest": {
  16907. "description": "最低价",
  16908. "type": "number"
  16909. },
  16910. "nontotalholdervolume": {
  16911. "description": "非交易持仓量",
  16912. "type": "integer"
  16913. },
  16914. "nontotallot": {
  16915. "description": "非交易总手数",
  16916. "type": "integer"
  16917. },
  16918. "nontotalturnover": {
  16919. "description": "非交易总金额",
  16920. "type": "integer"
  16921. },
  16922. "nontotalvolume": {
  16923. "description": "非交易总量",
  16924. "type": "integer"
  16925. },
  16926. "opened": {
  16927. "description": "开盘价",
  16928. "type": "number"
  16929. },
  16930. "opentime": {
  16931. "description": "开盘时间",
  16932. "type": "string"
  16933. },
  16934. "orderid": {
  16935. "description": "序号",
  16936. "type": "integer"
  16937. },
  16938. "preclose": {
  16939. "description": "昨收",
  16940. "type": "number"
  16941. },
  16942. "preholdvolume": {
  16943. "description": "昨持仓",
  16944. "type": "integer"
  16945. },
  16946. "presettle": {
  16947. "description": "昨结价",
  16948. "type": "number"
  16949. },
  16950. "publictradetype": {
  16951. "description": "公共交易标志类型 港股专用",
  16952. "type": "string"
  16953. },
  16954. "putoptionpremiums": {
  16955. "description": "认沽期权1",
  16956. "type": "integer"
  16957. },
  16958. "putoptionpremiums2": {
  16959. "description": "认沽期权2",
  16960. "type": "integer"
  16961. },
  16962. "putoptionpremiums3": {
  16963. "description": "认沽期权3",
  16964. "type": "integer"
  16965. },
  16966. "putoptionpremiums4": {
  16967. "description": "认沽期权4",
  16968. "type": "integer"
  16969. },
  16970. "putoptionpremiums5": {
  16971. "description": "认沽期权5",
  16972. "type": "integer"
  16973. },
  16974. "settle": {
  16975. "description": "结算价",
  16976. "type": "number"
  16977. },
  16978. "strikeprice": {
  16979. "description": "发行价",
  16980. "type": "number"
  16981. },
  16982. "totalaskvolume": {
  16983. "description": "内盘",
  16984. "type": "integer"
  16985. },
  16986. "totalbidvolume": {
  16987. "description": "外盘",
  16988. "type": "integer"
  16989. },
  16990. "totallot": {
  16991. "description": "总手数",
  16992. "type": "integer"
  16993. },
  16994. "totalturnover": {
  16995. "description": "总金额",
  16996. "type": "number"
  16997. },
  16998. "totalvolume": {
  16999. "description": "总量",
  17000. "type": "integer"
  17001. },
  17002. "utclasttime": {
  17003. "description": "utc的行情时间",
  17004. "type": "string"
  17005. }
  17006. }
  17007. },
  17008. "quote.QueryTSDataRsp": {
  17009. "type": "object",
  17010. "properties": {
  17011. "decimalPlace": {
  17012. "description": "小数位",
  17013. "type": "integer"
  17014. },
  17015. "endTime": {
  17016. "description": "结束时间",
  17017. "type": "string"
  17018. },
  17019. "goodsCode": {
  17020. "description": "商品代码",
  17021. "type": "string"
  17022. },
  17023. "historyDatas": {
  17024. "description": "历史数据",
  17025. "type": "array",
  17026. "items": {
  17027. "$ref": "#/definitions/quote.HistoryData"
  17028. }
  17029. },
  17030. "outGoodsCode": {
  17031. "description": "外部商品代码",
  17032. "type": "string"
  17033. },
  17034. "preSettle": {
  17035. "description": "昨结",
  17036. "type": "number"
  17037. },
  17038. "startTime": {
  17039. "description": "开始时间",
  17040. "type": "string"
  17041. },
  17042. "tradeDate": {
  17043. "description": "交易日",
  17044. "type": "string"
  17045. }
  17046. }
  17047. },
  17048. "szdz.QueryConvertLogRsp": {
  17049. "type": "object",
  17050. "required": [
  17051. "logid"
  17052. ],
  17053. "properties": {
  17054. "accountid": {
  17055. "description": "资金账户ID",
  17056. "type": "integer"
  17057. },
  17058. "clientticket": {
  17059. "description": "客户端流水号",
  17060. "type": "string"
  17061. },
  17062. "converttype": {
  17063. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍",
  17064. "type": "integer"
  17065. },
  17066. "createtime": {
  17067. "description": "记账时间",
  17068. "type": "string"
  17069. },
  17070. "daymaxvalue": {
  17071. "description": "配置当日最大转入限制",
  17072. "type": "number"
  17073. },
  17074. "daymaxvalue2": {
  17075. "description": "配置当日最大转入限制(转入)",
  17076. "type": "number"
  17077. },
  17078. "goodscode": {
  17079. "description": "商品代码",
  17080. "type": "string"
  17081. },
  17082. "goodsname": {
  17083. "description": "商品名称",
  17084. "type": "string"
  17085. },
  17086. "handlestatus": {
  17087. "description": "处理状态",
  17088. "type": "integer"
  17089. },
  17090. "innergoodsid": {
  17091. "description": "内部商品ID",
  17092. "type": "integer"
  17093. },
  17094. "inratio": {
  17095. "description": "配置转入比值",
  17096. "type": "integer"
  17097. },
  17098. "invalue": {
  17099. "description": "目标值",
  17100. "type": "number"
  17101. },
  17102. "logid": {
  17103. "description": "LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  17104. "type": "integer"
  17105. },
  17106. "mobile": {
  17107. "description": "手机号码(加密存储)",
  17108. "type": "string"
  17109. },
  17110. "outergoodscode": {
  17111. "description": "外部商品代码[JD\\PD]",
  17112. "type": "string"
  17113. },
  17114. "outratio": {
  17115. "description": "配置转出比值",
  17116. "type": "integer"
  17117. },
  17118. "outvalue": {
  17119. "description": "源值",
  17120. "type": "number"
  17121. },
  17122. "pddecimalplace": {
  17123. "description": "PD小数位",
  17124. "type": "integer"
  17125. },
  17126. "qty": {
  17127. "description": "数量",
  17128. "type": "string"
  17129. },
  17130. "remark": {
  17131. "description": "备注",
  17132. "type": "string"
  17133. },
  17134. "sessionid": {
  17135. "description": "会话ID",
  17136. "type": "integer"
  17137. },
  17138. "timemaxvalue": {
  17139. "description": "配置单次最大转入限制",
  17140. "type": "number"
  17141. },
  17142. "timemaxvalue2": {
  17143. "description": "配置单次最大转入限制(转入)",
  17144. "type": "number"
  17145. },
  17146. "timeminvalue": {
  17147. "description": "配置单次最小数量限制",
  17148. "type": "number"
  17149. },
  17150. "timeminvalue2": {
  17151. "description": "配置单次最小数量限制(转入)",
  17152. "type": "number"
  17153. },
  17154. "tradedate": {
  17155. "description": "交易日(yyyyMMdd)",
  17156. "type": "string"
  17157. },
  17158. "userid": {
  17159. "description": "用户ID",
  17160. "type": "integer"
  17161. }
  17162. }
  17163. },
  17164. "szdz.QueryGoodsPickupRsp": {
  17165. "type": "object",
  17166. "required": [
  17167. "takeorderid"
  17168. ],
  17169. "properties": {
  17170. "accountid": {
  17171. "description": "账户ID",
  17172. "type": "integer"
  17173. },
  17174. "address": {
  17175. "description": "提货人详细地址",
  17176. "type": "string"
  17177. },
  17178. "auditer": {
  17179. "description": "审核人",
  17180. "type": "integer"
  17181. },
  17182. "audittime": {
  17183. "description": "审核时间",
  17184. "type": "string"
  17185. },
  17186. "cardnum": {
  17187. "description": "提货人证件号码",
  17188. "type": "string"
  17189. },
  17190. "cardtypeid": {
  17191. "description": "提货人证件类型",
  17192. "type": "integer"
  17193. },
  17194. "checkremark": {
  17195. "description": "审核备注",
  17196. "type": "string"
  17197. },
  17198. "goodscode": {
  17199. "description": "商品代码",
  17200. "type": "string"
  17201. },
  17202. "goodsid": {
  17203. "description": "商品ID",
  17204. "type": "integer"
  17205. },
  17206. "goodsname": {
  17207. "description": "商品名称",
  17208. "type": "string"
  17209. },
  17210. "handlestatus": {
  17211. "description": "处理状态",
  17212. "type": "integer"
  17213. },
  17214. "marketid": {
  17215. "description": "市场ID",
  17216. "type": "integer"
  17217. },
  17218. "phonenum": {
  17219. "description": "提货人联系方式",
  17220. "type": "string"
  17221. },
  17222. "qty": {
  17223. "description": "提货数量",
  17224. "type": "number"
  17225. },
  17226. "recivername": {
  17227. "description": "提货人姓名",
  17228. "type": "string"
  17229. },
  17230. "reqtime": {
  17231. "description": "更新时间",
  17232. "type": "string"
  17233. },
  17234. "takemode": {
  17235. "description": "提货方式 - 2:自提 3:配送",
  17236. "type": "integer"
  17237. },
  17238. "takeorderid": {
  17239. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  17240. "type": "string"
  17241. },
  17242. "takeorderstatus": {
  17243. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  17244. "type": "integer"
  17245. },
  17246. "takeremark": {
  17247. "description": "提货备注",
  17248. "type": "string"
  17249. },
  17250. "tradedate": {
  17251. "description": "交易日(yyyyMMdd)",
  17252. "type": "string"
  17253. },
  17254. "userid": {
  17255. "description": "用户ID",
  17256. "type": "integer"
  17257. }
  17258. }
  17259. },
  17260. "szdz.QueryRecieptOrderRsp": {
  17261. "type": "object",
  17262. "required": [
  17263. "ordertime"
  17264. ],
  17265. "properties": {
  17266. "accountName": {
  17267. "description": "所属账号名称(已脱敏)",
  17268. "type": "string"
  17269. },
  17270. "accountid": {
  17271. "description": "资金账号",
  17272. "type": "integer"
  17273. },
  17274. "buyorsell": {
  17275. "description": "方向 - 0:买 1:卖",
  17276. "type": "integer"
  17277. },
  17278. "enableqty": {
  17279. "description": "可摘数量",
  17280. "type": "integer"
  17281. },
  17282. "goodscode": {
  17283. "description": "商品代码",
  17284. "type": "string"
  17285. },
  17286. "goodsid": {
  17287. "description": "商品ID",
  17288. "type": "integer"
  17289. },
  17290. "goodsname": {
  17291. "description": "商品名称",
  17292. "type": "string"
  17293. },
  17294. "orderid": {
  17295. "description": "委托单号",
  17296. "type": "string"
  17297. },
  17298. "orderprice": {
  17299. "description": "委托价格",
  17300. "type": "number"
  17301. },
  17302. "ordertime": {
  17303. "description": "委托时间",
  17304. "type": "string"
  17305. },
  17306. "tradedate": {
  17307. "description": "交易日(yyyyMMdd)",
  17308. "type": "string"
  17309. }
  17310. }
  17311. },
  17312. "szdz.QuerySZDZTradePositionRsp": {
  17313. "type": "object",
  17314. "properties": {
  17315. "accountid": {
  17316. "description": "账号Id",
  17317. "type": "integer"
  17318. },
  17319. "agreeunit": {
  17320. "description": "合约单位",
  17321. "type": "number"
  17322. },
  17323. "averageprice": {
  17324. "description": "持仓均价",
  17325. "type": "number"
  17326. },
  17327. "buyorsell": {
  17328. "description": "方向 - 0:买 1:卖",
  17329. "type": "integer"
  17330. },
  17331. "closetotalqty": {
  17332. "description": "平仓总数量",
  17333. "type": "integer"
  17334. },
  17335. "curholderamount": {
  17336. "description": "当前持仓总金额",
  17337. "type": "number"
  17338. },
  17339. "curpositionqty": {
  17340. "description": "当前持仓总数量",
  17341. "type": "integer"
  17342. },
  17343. "currencyid": {
  17344. "description": "报价货币ID",
  17345. "type": "integer"
  17346. },
  17347. "curtdposition": {
  17348. "description": "期末今日头寸",
  17349. "type": "integer"
  17350. },
  17351. "decimalplace": {
  17352. "description": "报价小数位",
  17353. "type": "integer"
  17354. },
  17355. "enableqty": {
  17356. "description": "可用量",
  17357. "type": "integer"
  17358. },
  17359. "fretdposition": {
  17360. "description": "冻结今日头寸",
  17361. "type": "integer"
  17362. },
  17363. "frozenqty": {
  17364. "description": "持仓冻结数量",
  17365. "type": "integer"
  17366. },
  17367. "goodscode": {
  17368. "description": "商品代码(内部)",
  17369. "type": "string"
  17370. },
  17371. "goodsid": {
  17372. "description": "商品Id",
  17373. "type": "integer"
  17374. },
  17375. "goodsname": {
  17376. "description": "商品名称",
  17377. "type": "string"
  17378. },
  17379. "goodunit": {
  17380. "description": "报价单位",
  17381. "type": "string"
  17382. },
  17383. "goodunitid": {
  17384. "description": "报价单位ID",
  17385. "type": "integer"
  17386. },
  17387. "holderamount": {
  17388. "description": "期初持仓总金额",
  17389. "type": "number"
  17390. },
  17391. "marketid": {
  17392. "description": "市场ID",
  17393. "type": "integer"
  17394. },
  17395. "openreqqty": {
  17396. "description": "开仓申请数量",
  17397. "type": "integer"
  17398. },
  17399. "opentotalqty": {
  17400. "description": "开仓总数量",
  17401. "type": "integer"
  17402. },
  17403. "otherfrozenqty": {
  17404. "description": "持仓其他冻结数量(交割冻结)",
  17405. "type": "integer"
  17406. },
  17407. "positionqty": {
  17408. "description": "期初持仓数量",
  17409. "type": "integer"
  17410. },
  17411. "szdz3freezqty": {
  17412. "description": "尚志大宗转换冻结总数量",
  17413. "type": "integer"
  17414. },
  17415. "tnqty": {
  17416. "description": "T+N冻结总量",
  17417. "type": "integer"
  17418. },
  17419. "tnusedqty": {
  17420. "description": "T+N使用量",
  17421. "type": "integer"
  17422. },
  17423. "trademode": {
  17424. "description": "交易模式",
  17425. "type": "integer"
  17426. },
  17427. "usedmargin": {
  17428. "description": "占用保证金",
  17429. "type": "number"
  17430. }
  17431. }
  17432. },
  17433. "taaccount.QueryAmountLogRsp": {
  17434. "type": "object",
  17435. "required": [
  17436. "accountid",
  17437. "amount",
  17438. "amountadjusttype",
  17439. "autoid",
  17440. "balance",
  17441. "createtime",
  17442. "currentbalance",
  17443. "operatetype"
  17444. ],
  17445. "properties": {
  17446. "OPERATETYPENAME": {
  17447. "description": "资金操作类型名称",
  17448. "type": "string"
  17449. },
  17450. "accountid": {
  17451. "description": "资金账户ID",
  17452. "type": "integer"
  17453. },
  17454. "agoodscode": {
  17455. "description": "竞拍商品代码",
  17456. "type": "string"
  17457. },
  17458. "agoodsname": {
  17459. "description": "竞拍商品名称",
  17460. "type": "string"
  17461. },
  17462. "amount": {
  17463. "description": "资金金额",
  17464. "type": "number"
  17465. },
  17466. "amountadjusttype": {
  17467. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  17468. "type": "integer"
  17469. },
  17470. "autoid": {
  17471. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  17472. "type": "integer"
  17473. },
  17474. "balance": {
  17475. "description": "期初余额",
  17476. "type": "number"
  17477. },
  17478. "businesscode": {
  17479. "description": "业务编号",
  17480. "type": "integer"
  17481. },
  17482. "createtime": {
  17483. "description": "发生时间",
  17484. "type": "string"
  17485. },
  17486. "currencyid": {
  17487. "description": "币种ID",
  17488. "type": "integer"
  17489. },
  17490. "currentbalance": {
  17491. "description": "期末余额(变动后金额)",
  17492. "type": "number"
  17493. },
  17494. "dgoodscode": {
  17495. "description": "交割商品代码",
  17496. "type": "string"
  17497. },
  17498. "dgoodsname": {
  17499. "description": "交割商品名称",
  17500. "type": "string"
  17501. },
  17502. "goodscode": {
  17503. "description": "商品代码",
  17504. "type": "string"
  17505. },
  17506. "goodsid": {
  17507. "description": "商品ID",
  17508. "type": "integer"
  17509. },
  17510. "goodsname": {
  17511. "description": "商品名称",
  17512. "type": "string"
  17513. },
  17514. "marketid": {
  17515. "description": "市场ID",
  17516. "type": "integer"
  17517. },
  17518. "marketname": {
  17519. "description": "市场名称",
  17520. "type": "string"
  17521. },
  17522. "moneyticket": {
  17523. "description": "资金流水号:银行端流水号",
  17524. "type": "integer"
  17525. },
  17526. "operatetype": {
  17527. "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:营销收款",
  17528. "type": "integer"
  17529. },
  17530. "relationorderid": {
  17531. "description": "关联单号",
  17532. "type": "string"
  17533. },
  17534. "remark": {
  17535. "description": "备注",
  17536. "type": "string"
  17537. },
  17538. "trademode": {
  17539. "description": "交易模式",
  17540. "type": "integer"
  17541. }
  17542. }
  17543. },
  17544. "taaccount.QueryHisAmountLogRsp": {
  17545. "type": "object",
  17546. "required": [
  17547. "accountid",
  17548. "amount",
  17549. "amountadjusttype",
  17550. "autoid",
  17551. "balance",
  17552. "createtime",
  17553. "currentbalance",
  17554. "histradedate",
  17555. "operatetype"
  17556. ],
  17557. "properties": {
  17558. "OPERATETYPENAME": {
  17559. "description": "资金操作类型名称",
  17560. "type": "string"
  17561. },
  17562. "accountid": {
  17563. "description": "资金账户ID",
  17564. "type": "integer"
  17565. },
  17566. "agoodscode": {
  17567. "description": "竞拍商品代码",
  17568. "type": "string"
  17569. },
  17570. "agoodsname": {
  17571. "description": "竞拍商品名称",
  17572. "type": "string"
  17573. },
  17574. "amount": {
  17575. "description": "资金金额",
  17576. "type": "number"
  17577. },
  17578. "amountadjusttype": {
  17579. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  17580. "type": "integer"
  17581. },
  17582. "autoid": {
  17583. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  17584. "type": "integer"
  17585. },
  17586. "balance": {
  17587. "description": "期初余额",
  17588. "type": "number"
  17589. },
  17590. "businesscode": {
  17591. "description": "业务编号",
  17592. "type": "integer"
  17593. },
  17594. "createtime": {
  17595. "description": "发生时间",
  17596. "type": "string"
  17597. },
  17598. "currencyid": {
  17599. "description": "币种ID",
  17600. "type": "integer"
  17601. },
  17602. "currentbalance": {
  17603. "description": "期末余额(变动后金额)",
  17604. "type": "number"
  17605. },
  17606. "dgoodscode": {
  17607. "description": "交割商品代码",
  17608. "type": "string"
  17609. },
  17610. "dgoodsname": {
  17611. "description": "交割商品名称",
  17612. "type": "string"
  17613. },
  17614. "goodscode": {
  17615. "description": "商品代码",
  17616. "type": "string"
  17617. },
  17618. "goodsid": {
  17619. "description": "商品ID",
  17620. "type": "integer"
  17621. },
  17622. "goodsname": {
  17623. "description": "商品名称",
  17624. "type": "string"
  17625. },
  17626. "histradedate": {
  17627. "description": "历史交易日",
  17628. "type": "string"
  17629. },
  17630. "isvaliddata": {
  17631. "description": "是否有效 - 0:无效 1:有效",
  17632. "type": "integer"
  17633. },
  17634. "marketid": {
  17635. "description": "市场ID",
  17636. "type": "integer"
  17637. },
  17638. "marketname": {
  17639. "description": "市场名称",
  17640. "type": "string"
  17641. },
  17642. "moneyticket": {
  17643. "description": "资金流水号:银行端流水号",
  17644. "type": "integer"
  17645. },
  17646. "operatetype": {
  17647. "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:营销收款",
  17648. "type": "integer"
  17649. },
  17650. "relationorderid": {
  17651. "description": "关联单号",
  17652. "type": "string"
  17653. },
  17654. "remark": {
  17655. "description": "备注",
  17656. "type": "string"
  17657. },
  17658. "trademode": {
  17659. "description": "交易模式",
  17660. "type": "integer"
  17661. }
  17662. }
  17663. },
  17664. "trade.QueryRecieptOrderRsp": {
  17665. "type": "object",
  17666. "required": [
  17667. "ordertime"
  17668. ],
  17669. "properties": {
  17670. "accountName": {
  17671. "description": "所属账号名称(已脱敏)",
  17672. "type": "string"
  17673. },
  17674. "accountid": {
  17675. "description": "资金账号",
  17676. "type": "integer"
  17677. },
  17678. "buyorsell": {
  17679. "description": "方向 - 0:买 1:卖",
  17680. "type": "integer"
  17681. },
  17682. "enableqty": {
  17683. "description": "可摘数量",
  17684. "type": "integer"
  17685. },
  17686. "goodscode": {
  17687. "description": "商品代码",
  17688. "type": "string"
  17689. },
  17690. "goodsid": {
  17691. "description": "商品ID",
  17692. "type": "integer"
  17693. },
  17694. "goodsname": {
  17695. "description": "商品名称",
  17696. "type": "string"
  17697. },
  17698. "orderid": {
  17699. "description": "委托单号",
  17700. "type": "string"
  17701. },
  17702. "orderprice": {
  17703. "description": "委托价格",
  17704. "type": "number"
  17705. },
  17706. "ordertime": {
  17707. "description": "委托时间",
  17708. "type": "string"
  17709. },
  17710. "tradedate": {
  17711. "description": "交易日(yyyyMMdd)",
  17712. "type": "string"
  17713. }
  17714. }
  17715. }
  17716. },
  17717. "securityDefinitions": {
  17718. "ApiKeyAuth": {
  17719. "type": "apiKey",
  17720. "name": "Authorization",
  17721. "in": "header"
  17722. }
  17723. }
  17724. }`
  17725. type swaggerInfo struct {
  17726. Version string
  17727. Host string
  17728. BasePath string
  17729. Schemes []string
  17730. Title string
  17731. Description string
  17732. }
  17733. // SwaggerInfo holds exported Swagger Info so clients can modify it
  17734. var SwaggerInfo = swaggerInfo{
  17735. Version: "1.0",
  17736. Host: "",
  17737. BasePath: "/api",
  17738. Schemes: []string{},
  17739. Title: "MTP2.0 查询服务 API",
  17740. Description: "新的查询服务,替代原通用查询服务。游客Token:c886a057f3d820d4dbc41473686c7c2d",
  17741. }
  17742. type s struct{}
  17743. func (s *s) ReadDoc() string {
  17744. sInfo := SwaggerInfo
  17745. sInfo.Description = strings.Replace(sInfo.Description, "\n", "\\n", -1)
  17746. t, err := template.New("swagger_info").Funcs(template.FuncMap{
  17747. "marshal": func(v interface{}) string {
  17748. a, _ := json.Marshal(v)
  17749. return string(a)
  17750. },
  17751. }).Parse(doc)
  17752. if err != nil {
  17753. return doc
  17754. }
  17755. var tpl bytes.Buffer
  17756. if err := t.Execute(&tpl, sInfo); err != nil {
  17757. return doc
  17758. }
  17759. return tpl.String()
  17760. }
  17761. func init() {
  17762. swag.Register(swag.Name, &s{})
  17763. }