docs.go 706 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027502850295030503150325033503450355036503750385039504050415042504350445045504650475048504950505051505250535054505550565057505850595060506150625063506450655066506750685069507050715072507350745075507650775078507950805081508250835084508550865087508850895090509150925093509450955096509750985099510051015102510351045105510651075108510951105111511251135114511551165117511851195120512151225123512451255126512751285129513051315132513351345135513651375138513951405141514251435144514551465147514851495150515151525153515451555156515751585159516051615162516351645165516651675168516951705171517251735174517551765177517851795180518151825183518451855186518751885189519051915192519351945195519651975198519952005201520252035204520552065207520852095210521152125213521452155216521752185219522052215222522352245225522652275228522952305231523252335234523552365237523852395240524152425243524452455246524752485249525052515252525352545255525652575258525952605261526252635264526552665267526852695270527152725273527452755276527752785279528052815282528352845285528652875288528952905291529252935294529552965297529852995300530153025303530453055306530753085309531053115312531353145315531653175318531953205321532253235324532553265327532853295330533153325333533453355336533753385339534053415342534353445345534653475348534953505351535253535354535553565357535853595360536153625363536453655366536753685369537053715372537353745375537653775378537953805381538253835384538553865387538853895390539153925393539453955396539753985399540054015402540354045405540654075408540954105411541254135414541554165417541854195420542154225423542454255426542754285429543054315432543354345435543654375438543954405441544254435444544554465447544854495450545154525453545454555456545754585459546054615462546354645465546654675468546954705471547254735474547554765477547854795480548154825483548454855486548754885489549054915492549354945495549654975498549955005501550255035504550555065507550855095510551155125513551455155516551755185519552055215522552355245525552655275528552955305531553255335534553555365537553855395540554155425543554455455546554755485549555055515552555355545555555655575558555955605561556255635564556555665567556855695570557155725573557455755576557755785579558055815582558355845585558655875588558955905591559255935594559555965597559855995600560156025603560456055606560756085609561056115612561356145615561656175618561956205621562256235624562556265627562856295630563156325633563456355636563756385639564056415642564356445645564656475648564956505651565256535654565556565657565856595660566156625663566456655666566756685669567056715672567356745675567656775678567956805681568256835684568556865687568856895690569156925693569456955696569756985699570057015702570357045705570657075708570957105711571257135714571557165717571857195720572157225723572457255726572757285729573057315732573357345735573657375738573957405741574257435744574557465747574857495750575157525753575457555756575757585759576057615762576357645765576657675768576957705771577257735774577557765777577857795780578157825783578457855786578757885789579057915792579357945795579657975798579958005801580258035804580558065807580858095810581158125813581458155816581758185819582058215822582358245825582658275828582958305831583258335834583558365837583858395840584158425843584458455846584758485849585058515852585358545855585658575858585958605861586258635864586558665867586858695870587158725873587458755876587758785879588058815882588358845885588658875888588958905891589258935894589558965897589858995900590159025903590459055906590759085909591059115912591359145915591659175918591959205921592259235924592559265927592859295930593159325933593459355936593759385939594059415942594359445945594659475948594959505951595259535954595559565957595859595960596159625963596459655966596759685969597059715972597359745975597659775978597959805981598259835984598559865987598859895990599159925993599459955996599759985999600060016002600360046005600660076008600960106011601260136014601560166017601860196020602160226023602460256026602760286029603060316032603360346035603660376038603960406041604260436044604560466047604860496050605160526053605460556056605760586059606060616062606360646065606660676068606960706071607260736074607560766077607860796080608160826083608460856086608760886089609060916092609360946095609660976098609961006101610261036104610561066107610861096110611161126113611461156116611761186119612061216122612361246125612661276128612961306131613261336134613561366137613861396140614161426143614461456146614761486149615061516152615361546155615661576158615961606161616261636164616561666167616861696170617161726173617461756176617761786179618061816182618361846185618661876188618961906191619261936194619561966197619861996200620162026203620462056206620762086209621062116212621362146215621662176218621962206221622262236224622562266227622862296230623162326233623462356236623762386239624062416242624362446245624662476248624962506251625262536254625562566257625862596260626162626263626462656266626762686269627062716272627362746275627662776278627962806281628262836284628562866287628862896290629162926293629462956296629762986299630063016302630363046305630663076308630963106311631263136314631563166317631863196320632163226323632463256326632763286329633063316332633363346335633663376338633963406341634263436344634563466347634863496350635163526353635463556356635763586359636063616362636363646365636663676368636963706371637263736374637563766377637863796380638163826383638463856386638763886389639063916392639363946395639663976398639964006401640264036404640564066407640864096410641164126413641464156416641764186419642064216422642364246425642664276428642964306431643264336434643564366437643864396440644164426443644464456446644764486449645064516452645364546455645664576458645964606461646264636464646564666467646864696470647164726473647464756476647764786479648064816482648364846485648664876488648964906491649264936494649564966497649864996500650165026503650465056506650765086509651065116512651365146515651665176518651965206521652265236524652565266527652865296530653165326533653465356536653765386539654065416542654365446545654665476548654965506551655265536554655565566557655865596560656165626563656465656566656765686569657065716572657365746575657665776578657965806581658265836584658565866587658865896590659165926593659465956596659765986599660066016602660366046605660666076608660966106611661266136614661566166617661866196620662166226623662466256626662766286629663066316632663366346635663666376638663966406641664266436644664566466647664866496650665166526653665466556656665766586659666066616662666366646665666666676668666966706671667266736674667566766677667866796680668166826683668466856686668766886689669066916692669366946695669666976698669967006701670267036704670567066707670867096710671167126713671467156716671767186719672067216722672367246725672667276728672967306731673267336734673567366737673867396740674167426743674467456746674767486749675067516752675367546755675667576758675967606761676267636764676567666767676867696770677167726773677467756776677767786779678067816782678367846785678667876788678967906791679267936794679567966797679867996800680168026803680468056806680768086809681068116812681368146815681668176818681968206821682268236824682568266827682868296830683168326833683468356836683768386839684068416842684368446845684668476848684968506851685268536854685568566857685868596860686168626863686468656866686768686869687068716872687368746875687668776878687968806881688268836884688568866887688868896890689168926893689468956896689768986899690069016902690369046905690669076908690969106911691269136914691569166917691869196920692169226923692469256926692769286929693069316932693369346935693669376938693969406941694269436944694569466947694869496950695169526953695469556956695769586959696069616962696369646965696669676968696969706971697269736974697569766977697869796980698169826983698469856986698769886989699069916992699369946995699669976998699970007001700270037004700570067007700870097010701170127013701470157016701770187019702070217022702370247025702670277028702970307031703270337034703570367037703870397040704170427043704470457046704770487049705070517052705370547055705670577058705970607061706270637064706570667067706870697070707170727073707470757076707770787079708070817082708370847085708670877088708970907091709270937094709570967097709870997100710171027103710471057106710771087109711071117112711371147115711671177118711971207121712271237124712571267127712871297130713171327133713471357136713771387139714071417142714371447145714671477148714971507151715271537154715571567157715871597160716171627163716471657166716771687169717071717172717371747175717671777178717971807181718271837184718571867187718871897190719171927193719471957196719771987199720072017202720372047205720672077208720972107211721272137214721572167217721872197220722172227223722472257226722772287229723072317232723372347235723672377238723972407241724272437244724572467247724872497250725172527253725472557256725772587259726072617262726372647265726672677268726972707271727272737274727572767277727872797280728172827283728472857286728772887289729072917292729372947295729672977298729973007301730273037304730573067307730873097310731173127313731473157316731773187319732073217322732373247325732673277328732973307331733273337334733573367337733873397340734173427343734473457346734773487349735073517352735373547355735673577358735973607361736273637364736573667367736873697370737173727373737473757376737773787379738073817382738373847385738673877388738973907391739273937394739573967397739873997400740174027403740474057406740774087409741074117412741374147415741674177418741974207421742274237424742574267427742874297430743174327433743474357436743774387439744074417442744374447445744674477448744974507451745274537454745574567457745874597460746174627463746474657466746774687469747074717472747374747475747674777478747974807481748274837484748574867487748874897490749174927493749474957496749774987499750075017502750375047505750675077508750975107511751275137514751575167517751875197520752175227523752475257526752775287529753075317532753375347535753675377538753975407541754275437544754575467547754875497550755175527553755475557556755775587559756075617562756375647565756675677568756975707571757275737574757575767577757875797580758175827583758475857586758775887589759075917592759375947595759675977598759976007601760276037604760576067607760876097610761176127613761476157616761776187619762076217622762376247625762676277628762976307631763276337634763576367637763876397640764176427643764476457646764776487649765076517652765376547655765676577658765976607661766276637664766576667667766876697670767176727673767476757676767776787679768076817682768376847685768676877688768976907691769276937694769576967697769876997700770177027703770477057706770777087709771077117712771377147715771677177718771977207721772277237724772577267727772877297730773177327733773477357736773777387739774077417742774377447745774677477748774977507751775277537754775577567757775877597760776177627763776477657766776777687769777077717772777377747775777677777778777977807781778277837784778577867787778877897790779177927793779477957796779777987799780078017802780378047805780678077808780978107811781278137814781578167817781878197820782178227823782478257826782778287829783078317832783378347835783678377838783978407841784278437844784578467847784878497850785178527853785478557856785778587859786078617862786378647865786678677868786978707871787278737874787578767877787878797880788178827883788478857886788778887889789078917892789378947895789678977898789979007901790279037904790579067907790879097910791179127913791479157916791779187919792079217922792379247925792679277928792979307931793279337934793579367937793879397940794179427943794479457946794779487949795079517952795379547955795679577958795979607961796279637964796579667967796879697970797179727973797479757976797779787979798079817982798379847985798679877988798979907991799279937994799579967997799879998000800180028003800480058006800780088009801080118012801380148015801680178018801980208021802280238024802580268027802880298030803180328033803480358036803780388039804080418042804380448045804680478048804980508051805280538054805580568057805880598060806180628063806480658066806780688069807080718072807380748075807680778078807980808081808280838084808580868087808880898090809180928093809480958096809780988099810081018102810381048105810681078108810981108111811281138114811581168117811881198120812181228123812481258126812781288129813081318132813381348135813681378138813981408141814281438144814581468147814881498150815181528153815481558156815781588159816081618162816381648165816681678168816981708171817281738174817581768177817881798180818181828183818481858186818781888189819081918192819381948195819681978198819982008201820282038204820582068207820882098210821182128213821482158216821782188219822082218222822382248225822682278228822982308231823282338234823582368237823882398240824182428243824482458246824782488249825082518252825382548255825682578258825982608261826282638264826582668267826882698270827182728273827482758276827782788279828082818282828382848285828682878288828982908291829282938294829582968297829882998300830183028303830483058306830783088309831083118312831383148315831683178318831983208321832283238324832583268327832883298330833183328333833483358336833783388339834083418342834383448345834683478348834983508351835283538354835583568357835883598360836183628363836483658366836783688369837083718372837383748375837683778378837983808381838283838384838583868387838883898390839183928393839483958396839783988399840084018402840384048405840684078408840984108411841284138414841584168417841884198420842184228423842484258426842784288429843084318432843384348435843684378438843984408441844284438444844584468447844884498450845184528453845484558456845784588459846084618462846384648465846684678468846984708471847284738474847584768477847884798480848184828483848484858486848784888489849084918492849384948495849684978498849985008501850285038504850585068507850885098510851185128513851485158516851785188519852085218522852385248525852685278528852985308531853285338534853585368537853885398540854185428543854485458546854785488549855085518552855385548555855685578558855985608561856285638564856585668567856885698570857185728573857485758576857785788579858085818582858385848585858685878588858985908591859285938594859585968597859885998600860186028603860486058606860786088609861086118612861386148615861686178618861986208621862286238624862586268627862886298630863186328633863486358636863786388639864086418642864386448645864686478648864986508651865286538654865586568657865886598660866186628663866486658666866786688669867086718672867386748675867686778678867986808681868286838684868586868687868886898690869186928693869486958696869786988699870087018702870387048705870687078708870987108711871287138714871587168717871887198720872187228723872487258726872787288729873087318732873387348735873687378738873987408741874287438744874587468747874887498750875187528753875487558756875787588759876087618762876387648765876687678768876987708771877287738774877587768777877887798780878187828783878487858786878787888789879087918792879387948795879687978798879988008801880288038804880588068807880888098810881188128813881488158816881788188819882088218822882388248825882688278828882988308831883288338834883588368837883888398840884188428843884488458846884788488849885088518852885388548855885688578858885988608861886288638864886588668867886888698870887188728873887488758876887788788879888088818882888388848885888688878888888988908891889288938894889588968897889888998900890189028903890489058906890789088909891089118912891389148915891689178918891989208921892289238924892589268927892889298930893189328933893489358936893789388939894089418942894389448945894689478948894989508951895289538954895589568957895889598960896189628963896489658966896789688969897089718972897389748975897689778978897989808981898289838984898589868987898889898990899189928993899489958996899789988999900090019002900390049005900690079008900990109011901290139014901590169017901890199020902190229023902490259026902790289029903090319032903390349035903690379038903990409041904290439044904590469047904890499050905190529053905490559056905790589059906090619062906390649065906690679068906990709071907290739074907590769077907890799080908190829083908490859086908790889089909090919092909390949095909690979098909991009101910291039104910591069107910891099110911191129113911491159116911791189119912091219122912391249125912691279128912991309131913291339134913591369137913891399140914191429143914491459146914791489149915091519152915391549155915691579158915991609161916291639164916591669167916891699170917191729173917491759176917791789179918091819182918391849185918691879188918991909191919291939194919591969197919891999200920192029203920492059206920792089209921092119212921392149215921692179218921992209221922292239224922592269227922892299230923192329233923492359236923792389239924092419242924392449245924692479248924992509251925292539254925592569257925892599260926192629263926492659266926792689269927092719272927392749275927692779278927992809281928292839284928592869287928892899290929192929293929492959296929792989299930093019302930393049305930693079308930993109311931293139314931593169317931893199320932193229323932493259326932793289329933093319332933393349335933693379338933993409341934293439344934593469347934893499350935193529353935493559356935793589359936093619362936393649365936693679368936993709371937293739374937593769377937893799380938193829383938493859386938793889389939093919392939393949395939693979398939994009401940294039404940594069407940894099410941194129413941494159416941794189419942094219422942394249425942694279428942994309431943294339434943594369437943894399440944194429443944494459446944794489449945094519452945394549455945694579458945994609461946294639464946594669467946894699470947194729473947494759476947794789479948094819482948394849485948694879488948994909491949294939494949594969497949894999500950195029503950495059506950795089509951095119512951395149515951695179518951995209521952295239524952595269527952895299530953195329533953495359536953795389539954095419542954395449545954695479548954995509551955295539554955595569557955895599560956195629563956495659566956795689569957095719572957395749575957695779578957995809581958295839584958595869587958895899590959195929593959495959596959795989599960096019602960396049605960696079608960996109611961296139614961596169617961896199620962196229623962496259626962796289629963096319632963396349635963696379638963996409641964296439644964596469647964896499650965196529653965496559656965796589659966096619662966396649665966696679668966996709671967296739674967596769677967896799680968196829683968496859686968796889689969096919692969396949695969696979698969997009701970297039704970597069707970897099710971197129713971497159716971797189719972097219722972397249725972697279728972997309731973297339734973597369737973897399740974197429743974497459746974797489749975097519752975397549755975697579758975997609761976297639764976597669767976897699770977197729773977497759776977797789779978097819782978397849785978697879788978997909791979297939794979597969797979897999800980198029803980498059806980798089809981098119812981398149815981698179818981998209821982298239824982598269827982898299830983198329833983498359836983798389839984098419842984398449845984698479848984998509851985298539854985598569857985898599860986198629863986498659866986798689869987098719872987398749875987698779878987998809881988298839884988598869887988898899890989198929893989498959896989798989899990099019902990399049905990699079908990999109911991299139914991599169917991899199920992199229923992499259926992799289929993099319932993399349935993699379938993999409941994299439944994599469947994899499950995199529953995499559956995799589959996099619962996399649965996699679968996999709971997299739974997599769977997899799980998199829983998499859986998799889989999099919992999399949995999699979998999910000100011000210003100041000510006100071000810009100101001110012100131001410015100161001710018100191002010021100221002310024100251002610027100281002910030100311003210033100341003510036100371003810039100401004110042100431004410045100461004710048100491005010051100521005310054100551005610057100581005910060100611006210063100641006510066100671006810069100701007110072100731007410075100761007710078100791008010081100821008310084100851008610087100881008910090100911009210093100941009510096100971009810099101001010110102101031010410105101061010710108101091011010111101121011310114101151011610117101181011910120101211012210123101241012510126101271012810129101301013110132101331013410135101361013710138101391014010141101421014310144101451014610147101481014910150101511015210153101541015510156101571015810159101601016110162101631016410165101661016710168101691017010171101721017310174101751017610177101781017910180101811018210183101841018510186101871018810189101901019110192101931019410195101961019710198101991020010201102021020310204102051020610207102081020910210102111021210213102141021510216102171021810219102201022110222102231022410225102261022710228102291023010231102321023310234102351023610237102381023910240102411024210243102441024510246102471024810249102501025110252102531025410255102561025710258102591026010261102621026310264102651026610267102681026910270102711027210273102741027510276102771027810279102801028110282102831028410285102861028710288102891029010291102921029310294102951029610297102981029910300103011030210303103041030510306103071030810309103101031110312103131031410315103161031710318103191032010321103221032310324103251032610327103281032910330103311033210333103341033510336103371033810339103401034110342103431034410345103461034710348103491035010351103521035310354103551035610357103581035910360103611036210363103641036510366103671036810369103701037110372103731037410375103761037710378103791038010381103821038310384103851038610387103881038910390103911039210393103941039510396103971039810399104001040110402104031040410405104061040710408104091041010411104121041310414104151041610417104181041910420104211042210423104241042510426104271042810429104301043110432104331043410435104361043710438104391044010441104421044310444104451044610447104481044910450104511045210453104541045510456104571045810459104601046110462104631046410465104661046710468104691047010471104721047310474104751047610477104781047910480104811048210483104841048510486104871048810489104901049110492104931049410495104961049710498104991050010501105021050310504105051050610507105081050910510105111051210513105141051510516105171051810519105201052110522105231052410525105261052710528105291053010531105321053310534105351053610537105381053910540105411054210543105441054510546105471054810549105501055110552105531055410555105561055710558105591056010561105621056310564105651056610567105681056910570105711057210573105741057510576105771057810579105801058110582105831058410585105861058710588105891059010591105921059310594105951059610597105981059910600106011060210603106041060510606106071060810609106101061110612106131061410615106161061710618106191062010621106221062310624106251062610627106281062910630106311063210633106341063510636106371063810639106401064110642106431064410645106461064710648106491065010651106521065310654106551065610657106581065910660106611066210663106641066510666106671066810669106701067110672106731067410675106761067710678106791068010681106821068310684106851068610687106881068910690106911069210693106941069510696106971069810699107001070110702107031070410705107061070710708107091071010711107121071310714107151071610717107181071910720107211072210723107241072510726107271072810729107301073110732107331073410735107361073710738107391074010741107421074310744107451074610747107481074910750107511075210753107541075510756107571075810759107601076110762107631076410765107661076710768107691077010771107721077310774107751077610777107781077910780107811078210783107841078510786107871078810789107901079110792107931079410795107961079710798107991080010801108021080310804108051080610807108081080910810108111081210813108141081510816108171081810819108201082110822108231082410825108261082710828108291083010831108321083310834108351083610837108381083910840108411084210843108441084510846108471084810849108501085110852108531085410855108561085710858108591086010861108621086310864108651086610867108681086910870108711087210873108741087510876108771087810879108801088110882108831088410885108861088710888108891089010891108921089310894108951089610897108981089910900109011090210903109041090510906109071090810909109101091110912109131091410915109161091710918109191092010921109221092310924109251092610927109281092910930109311093210933109341093510936109371093810939109401094110942109431094410945109461094710948109491095010951109521095310954109551095610957109581095910960109611096210963109641096510966109671096810969109701097110972109731097410975109761097710978109791098010981109821098310984109851098610987109881098910990109911099210993109941099510996109971099810999110001100111002110031100411005110061100711008110091101011011110121101311014110151101611017110181101911020110211102211023110241102511026110271102811029110301103111032110331103411035110361103711038110391104011041110421104311044110451104611047110481104911050110511105211053110541105511056110571105811059110601106111062110631106411065110661106711068110691107011071110721107311074110751107611077110781107911080110811108211083110841108511086110871108811089110901109111092110931109411095110961109711098110991110011101111021110311104111051110611107111081110911110111111111211113111141111511116111171111811119111201112111122111231112411125111261112711128111291113011131111321113311134111351113611137111381113911140111411114211143111441114511146111471114811149111501115111152111531115411155111561115711158111591116011161111621116311164111651116611167111681116911170111711117211173111741117511176111771117811179111801118111182111831118411185111861118711188111891119011191111921119311194111951119611197111981119911200112011120211203112041120511206112071120811209112101121111212112131121411215112161121711218112191122011221112221122311224112251122611227112281122911230112311123211233112341123511236112371123811239112401124111242112431124411245112461124711248112491125011251112521125311254112551125611257112581125911260112611126211263112641126511266112671126811269112701127111272112731127411275112761127711278112791128011281112821128311284112851128611287112881128911290112911129211293112941129511296112971129811299113001130111302113031130411305113061130711308113091131011311113121131311314113151131611317113181131911320113211132211323113241132511326113271132811329113301133111332113331133411335113361133711338113391134011341113421134311344113451134611347113481134911350113511135211353113541135511356113571135811359113601136111362113631136411365113661136711368113691137011371113721137311374113751137611377113781137911380113811138211383113841138511386113871138811389113901139111392113931139411395113961139711398113991140011401114021140311404114051140611407114081140911410114111141211413114141141511416114171141811419114201142111422114231142411425114261142711428114291143011431114321143311434114351143611437114381143911440114411144211443114441144511446114471144811449114501145111452114531145411455114561145711458114591146011461114621146311464114651146611467114681146911470114711147211473114741147511476114771147811479114801148111482114831148411485114861148711488114891149011491114921149311494114951149611497114981149911500115011150211503115041150511506115071150811509115101151111512115131151411515115161151711518115191152011521115221152311524115251152611527115281152911530115311153211533115341153511536115371153811539115401154111542115431154411545115461154711548115491155011551115521155311554115551155611557115581155911560115611156211563115641156511566115671156811569115701157111572115731157411575115761157711578115791158011581115821158311584115851158611587115881158911590115911159211593115941159511596115971159811599116001160111602116031160411605116061160711608116091161011611116121161311614116151161611617116181161911620116211162211623116241162511626116271162811629116301163111632116331163411635116361163711638116391164011641116421164311644116451164611647116481164911650116511165211653116541165511656116571165811659116601166111662116631166411665116661166711668116691167011671116721167311674116751167611677116781167911680116811168211683116841168511686116871168811689116901169111692116931169411695116961169711698116991170011701117021170311704117051170611707117081170911710117111171211713117141171511716117171171811719117201172111722117231172411725117261172711728117291173011731117321173311734117351173611737117381173911740117411174211743117441174511746117471174811749117501175111752117531175411755117561175711758117591176011761117621176311764117651176611767117681176911770117711177211773117741177511776117771177811779117801178111782117831178411785117861178711788117891179011791117921179311794117951179611797117981179911800118011180211803118041180511806118071180811809118101181111812118131181411815118161181711818118191182011821118221182311824118251182611827118281182911830118311183211833118341183511836118371183811839118401184111842118431184411845118461184711848118491185011851118521185311854118551185611857118581185911860118611186211863118641186511866118671186811869118701187111872118731187411875118761187711878118791188011881118821188311884118851188611887118881188911890118911189211893118941189511896118971189811899119001190111902119031190411905119061190711908119091191011911119121191311914119151191611917119181191911920119211192211923119241192511926119271192811929119301193111932119331193411935119361193711938119391194011941119421194311944119451194611947119481194911950119511195211953119541195511956119571195811959119601196111962119631196411965119661196711968119691197011971119721197311974119751197611977119781197911980119811198211983119841198511986119871198811989119901199111992119931199411995119961199711998119991200012001120021200312004120051200612007120081200912010120111201212013120141201512016120171201812019120201202112022120231202412025120261202712028120291203012031120321203312034120351203612037120381203912040120411204212043120441204512046120471204812049120501205112052120531205412055120561205712058120591206012061120621206312064120651206612067120681206912070120711207212073120741207512076120771207812079120801208112082120831208412085120861208712088120891209012091120921209312094120951209612097120981209912100121011210212103121041210512106121071210812109121101211112112121131211412115121161211712118121191212012121121221212312124121251212612127121281212912130121311213212133121341213512136121371213812139121401214112142121431214412145121461214712148121491215012151121521215312154121551215612157121581215912160121611216212163121641216512166121671216812169121701217112172121731217412175121761217712178121791218012181121821218312184121851218612187121881218912190121911219212193121941219512196121971219812199122001220112202122031220412205122061220712208122091221012211122121221312214122151221612217122181221912220122211222212223122241222512226122271222812229122301223112232122331223412235122361223712238122391224012241122421224312244122451224612247122481224912250122511225212253122541225512256122571225812259122601226112262122631226412265122661226712268122691227012271122721227312274122751227612277122781227912280122811228212283122841228512286122871228812289122901229112292122931229412295122961229712298122991230012301123021230312304123051230612307123081230912310123111231212313123141231512316123171231812319123201232112322123231232412325123261232712328123291233012331123321233312334123351233612337123381233912340123411234212343123441234512346123471234812349123501235112352123531235412355123561235712358123591236012361123621236312364123651236612367123681236912370123711237212373123741237512376123771237812379123801238112382123831238412385123861238712388123891239012391123921239312394123951239612397123981239912400124011240212403124041240512406124071240812409124101241112412124131241412415124161241712418124191242012421124221242312424124251242612427124281242912430124311243212433124341243512436124371243812439124401244112442124431244412445124461244712448124491245012451124521245312454124551245612457124581245912460124611246212463124641246512466124671246812469124701247112472124731247412475124761247712478124791248012481124821248312484124851248612487124881248912490124911249212493124941249512496124971249812499125001250112502125031250412505125061250712508125091251012511125121251312514125151251612517125181251912520125211252212523125241252512526125271252812529125301253112532125331253412535125361253712538125391254012541125421254312544125451254612547125481254912550125511255212553125541255512556125571255812559125601256112562125631256412565125661256712568125691257012571125721257312574125751257612577125781257912580125811258212583125841258512586125871258812589125901259112592125931259412595125961259712598125991260012601126021260312604126051260612607126081260912610126111261212613126141261512616126171261812619126201262112622126231262412625126261262712628126291263012631126321263312634126351263612637126381263912640126411264212643126441264512646126471264812649126501265112652126531265412655126561265712658126591266012661126621266312664126651266612667126681266912670126711267212673126741267512676126771267812679126801268112682126831268412685126861268712688126891269012691126921269312694126951269612697126981269912700127011270212703127041270512706127071270812709127101271112712127131271412715127161271712718127191272012721127221272312724127251272612727127281272912730127311273212733127341273512736127371273812739127401274112742127431274412745127461274712748127491275012751127521275312754127551275612757127581275912760127611276212763127641276512766127671276812769127701277112772127731277412775127761277712778127791278012781127821278312784127851278612787127881278912790127911279212793127941279512796127971279812799128001280112802128031280412805128061280712808128091281012811128121281312814128151281612817128181281912820128211282212823128241282512826128271282812829128301283112832128331283412835128361283712838128391284012841128421284312844128451284612847128481284912850128511285212853128541285512856128571285812859128601286112862128631286412865128661286712868128691287012871128721287312874128751287612877128781287912880128811288212883128841288512886128871288812889128901289112892128931289412895128961289712898128991290012901129021290312904129051290612907129081290912910129111291212913129141291512916129171291812919129201292112922129231292412925129261292712928129291293012931129321293312934129351293612937129381293912940129411294212943129441294512946129471294812949129501295112952129531295412955129561295712958129591296012961129621296312964129651296612967129681296912970129711297212973129741297512976129771297812979129801298112982129831298412985129861298712988129891299012991129921299312994129951299612997129981299913000130011300213003130041300513006130071300813009130101301113012130131301413015130161301713018130191302013021130221302313024130251302613027130281302913030130311303213033130341303513036130371303813039130401304113042130431304413045130461304713048130491305013051130521305313054130551305613057130581305913060130611306213063130641306513066130671306813069130701307113072130731307413075130761307713078130791308013081130821308313084130851308613087130881308913090130911309213093130941309513096130971309813099131001310113102131031310413105131061310713108131091311013111131121311313114131151311613117131181311913120131211312213123131241312513126131271312813129131301313113132131331313413135131361313713138131391314013141131421314313144131451314613147131481314913150131511315213153131541315513156131571315813159131601316113162131631316413165131661316713168131691317013171131721317313174131751317613177131781317913180131811318213183131841318513186131871318813189131901319113192131931319413195131961319713198131991320013201132021320313204132051320613207132081320913210132111321213213132141321513216132171321813219132201322113222132231322413225132261322713228132291323013231132321323313234132351323613237132381323913240132411324213243132441324513246132471324813249132501325113252132531325413255132561325713258132591326013261132621326313264132651326613267132681326913270132711327213273132741327513276132771327813279132801328113282132831328413285132861328713288132891329013291132921329313294132951329613297132981329913300133011330213303133041330513306133071330813309133101331113312133131331413315133161331713318133191332013321133221332313324133251332613327133281332913330133311333213333133341333513336133371333813339133401334113342133431334413345133461334713348133491335013351133521335313354133551335613357133581335913360133611336213363133641336513366133671336813369133701337113372133731337413375133761337713378133791338013381133821338313384133851338613387133881338913390133911339213393133941339513396133971339813399134001340113402134031340413405134061340713408134091341013411134121341313414134151341613417134181341913420134211342213423134241342513426134271342813429134301343113432134331343413435134361343713438134391344013441134421344313444134451344613447134481344913450134511345213453134541345513456134571345813459134601346113462134631346413465134661346713468134691347013471134721347313474134751347613477134781347913480134811348213483134841348513486134871348813489134901349113492134931349413495134961349713498134991350013501135021350313504135051350613507135081350913510135111351213513135141351513516135171351813519135201352113522135231352413525135261352713528135291353013531135321353313534135351353613537135381353913540135411354213543135441354513546135471354813549135501355113552135531355413555135561355713558135591356013561135621356313564135651356613567135681356913570135711357213573135741357513576135771357813579135801358113582135831358413585135861358713588135891359013591135921359313594135951359613597135981359913600136011360213603136041360513606136071360813609136101361113612136131361413615136161361713618136191362013621136221362313624136251362613627136281362913630136311363213633136341363513636136371363813639136401364113642136431364413645136461364713648136491365013651136521365313654136551365613657136581365913660136611366213663136641366513666136671366813669136701367113672136731367413675136761367713678136791368013681136821368313684136851368613687136881368913690136911369213693136941369513696136971369813699137001370113702137031370413705137061370713708137091371013711137121371313714137151371613717137181371913720137211372213723137241372513726137271372813729137301373113732137331373413735137361373713738137391374013741137421374313744137451374613747137481374913750137511375213753137541375513756137571375813759137601376113762137631376413765137661376713768137691377013771137721377313774137751377613777137781377913780137811378213783137841378513786137871378813789137901379113792137931379413795137961379713798137991380013801138021380313804138051380613807138081380913810138111381213813138141381513816138171381813819138201382113822138231382413825138261382713828138291383013831138321383313834138351383613837138381383913840138411384213843138441384513846138471384813849138501385113852138531385413855138561385713858138591386013861138621386313864138651386613867138681386913870138711387213873138741387513876138771387813879138801388113882138831388413885138861388713888138891389013891138921389313894138951389613897138981389913900139011390213903139041390513906139071390813909139101391113912139131391413915139161391713918139191392013921139221392313924139251392613927139281392913930139311393213933139341393513936139371393813939139401394113942139431394413945139461394713948139491395013951139521395313954139551395613957139581395913960139611396213963139641396513966139671396813969139701397113972139731397413975139761397713978139791398013981139821398313984139851398613987139881398913990139911399213993139941399513996139971399813999140001400114002140031400414005140061400714008140091401014011140121401314014140151401614017140181401914020140211402214023140241402514026140271402814029140301403114032140331403414035140361403714038140391404014041140421404314044140451404614047140481404914050140511405214053140541405514056140571405814059140601406114062140631406414065140661406714068140691407014071140721407314074140751407614077140781407914080140811408214083140841408514086140871408814089140901409114092140931409414095140961409714098140991410014101141021410314104141051410614107141081410914110141111411214113141141411514116141171411814119141201412114122141231412414125141261412714128141291413014131141321413314134141351413614137141381413914140141411414214143141441414514146141471414814149141501415114152141531415414155141561415714158141591416014161141621416314164141651416614167141681416914170141711417214173141741417514176141771417814179141801418114182141831418414185141861418714188141891419014191141921419314194141951419614197141981419914200142011420214203142041420514206142071420814209142101421114212142131421414215142161421714218142191422014221142221422314224142251422614227142281422914230142311423214233142341423514236142371423814239142401424114242142431424414245142461424714248142491425014251142521425314254142551425614257142581425914260142611426214263142641426514266142671426814269142701427114272142731427414275142761427714278142791428014281142821428314284142851428614287142881428914290142911429214293142941429514296142971429814299143001430114302143031430414305143061430714308143091431014311143121431314314143151431614317143181431914320143211432214323143241432514326143271432814329143301433114332143331433414335143361433714338143391434014341143421434314344143451434614347143481434914350143511435214353143541435514356143571435814359143601436114362143631436414365143661436714368143691437014371143721437314374143751437614377143781437914380143811438214383143841438514386143871438814389143901439114392143931439414395143961439714398143991440014401144021440314404144051440614407144081440914410144111441214413144141441514416144171441814419144201442114422144231442414425144261442714428144291443014431144321443314434144351443614437144381443914440144411444214443144441444514446144471444814449144501445114452144531445414455144561445714458144591446014461144621446314464144651446614467144681446914470144711447214473144741447514476144771447814479144801448114482144831448414485144861448714488144891449014491144921449314494144951449614497144981449914500145011450214503145041450514506145071450814509145101451114512145131451414515145161451714518145191452014521145221452314524145251452614527145281452914530145311453214533145341453514536145371453814539145401454114542145431454414545145461454714548145491455014551145521455314554145551455614557145581455914560145611456214563145641456514566145671456814569145701457114572145731457414575145761457714578145791458014581145821458314584145851458614587145881458914590145911459214593145941459514596145971459814599146001460114602146031460414605146061460714608146091461014611146121461314614146151461614617146181461914620146211462214623146241462514626146271462814629146301463114632146331463414635146361463714638146391464014641146421464314644146451464614647146481464914650146511465214653146541465514656146571465814659146601466114662146631466414665146661466714668146691467014671146721467314674146751467614677146781467914680146811468214683146841468514686146871468814689146901469114692146931469414695146961469714698146991470014701147021470314704147051470614707147081470914710147111471214713147141471514716147171471814719147201472114722147231472414725147261472714728147291473014731147321473314734147351473614737147381473914740147411474214743147441474514746147471474814749147501475114752147531475414755147561475714758147591476014761147621476314764147651476614767147681476914770147711477214773147741477514776147771477814779147801478114782147831478414785147861478714788147891479014791147921479314794147951479614797147981479914800148011480214803148041480514806148071480814809148101481114812148131481414815148161481714818148191482014821148221482314824148251482614827148281482914830148311483214833148341483514836148371483814839148401484114842148431484414845148461484714848148491485014851148521485314854148551485614857148581485914860148611486214863148641486514866148671486814869148701487114872148731487414875148761487714878148791488014881148821488314884148851488614887148881488914890148911489214893148941489514896148971489814899149001490114902149031490414905149061490714908149091491014911149121491314914149151491614917149181491914920149211492214923149241492514926149271492814929149301493114932149331493414935149361493714938149391494014941149421494314944149451494614947149481494914950149511495214953149541495514956149571495814959149601496114962149631496414965149661496714968149691497014971149721497314974149751497614977149781497914980149811498214983149841498514986149871498814989149901499114992149931499414995149961499714998149991500015001150021500315004150051500615007150081500915010150111501215013150141501515016150171501815019150201502115022150231502415025150261502715028150291503015031150321503315034150351503615037150381503915040150411504215043150441504515046150471504815049150501505115052150531505415055150561505715058150591506015061150621506315064150651506615067150681506915070150711507215073150741507515076150771507815079150801508115082150831508415085150861508715088150891509015091150921509315094150951509615097150981509915100151011510215103151041510515106151071510815109151101511115112151131511415115151161511715118151191512015121151221512315124151251512615127151281512915130151311513215133151341513515136151371513815139151401514115142151431514415145151461514715148151491515015151151521515315154151551515615157151581515915160151611516215163151641516515166151671516815169151701517115172151731517415175151761517715178151791518015181151821518315184151851518615187151881518915190151911519215193151941519515196151971519815199152001520115202152031520415205152061520715208152091521015211152121521315214152151521615217152181521915220152211522215223152241522515226152271522815229152301523115232152331523415235152361523715238152391524015241152421524315244152451524615247152481524915250152511525215253152541525515256152571525815259152601526115262152631526415265152661526715268152691527015271152721527315274152751527615277152781527915280152811528215283152841528515286152871528815289152901529115292152931529415295152961529715298152991530015301153021530315304153051530615307153081530915310153111531215313153141531515316153171531815319153201532115322153231532415325153261532715328153291533015331153321533315334153351533615337153381533915340153411534215343153441534515346153471534815349153501535115352153531535415355153561535715358153591536015361153621536315364153651536615367153681536915370153711537215373153741537515376153771537815379153801538115382153831538415385153861538715388153891539015391153921539315394153951539615397153981539915400154011540215403154041540515406154071540815409154101541115412154131541415415154161541715418154191542015421154221542315424154251542615427154281542915430154311543215433154341543515436154371543815439154401544115442154431544415445154461544715448154491545015451154521545315454154551545615457154581545915460154611546215463154641546515466154671546815469154701547115472154731547415475154761547715478154791548015481154821548315484154851548615487154881548915490154911549215493154941549515496154971549815499155001550115502155031550415505155061550715508155091551015511155121551315514155151551615517155181551915520155211552215523155241552515526155271552815529155301553115532155331553415535155361553715538155391554015541155421554315544155451554615547155481554915550155511555215553155541555515556155571555815559155601556115562155631556415565155661556715568155691557015571155721557315574155751557615577155781557915580155811558215583155841558515586155871558815589155901559115592155931559415595155961559715598155991560015601156021560315604156051560615607156081560915610156111561215613156141561515616156171561815619156201562115622156231562415625156261562715628156291563015631156321563315634156351563615637156381563915640156411564215643156441564515646156471564815649156501565115652156531565415655156561565715658156591566015661156621566315664156651566615667156681566915670156711567215673156741567515676156771567815679156801568115682156831568415685156861568715688156891569015691156921569315694156951569615697156981569915700157011570215703157041570515706157071570815709157101571115712157131571415715157161571715718157191572015721157221572315724157251572615727157281572915730157311573215733157341573515736157371573815739157401574115742157431574415745157461574715748157491575015751157521575315754157551575615757157581575915760157611576215763157641576515766157671576815769157701577115772157731577415775157761577715778157791578015781157821578315784157851578615787157881578915790157911579215793157941579515796157971579815799158001580115802158031580415805158061580715808158091581015811158121581315814158151581615817158181581915820158211582215823158241582515826158271582815829158301583115832158331583415835158361583715838158391584015841158421584315844158451584615847158481584915850158511585215853158541585515856158571585815859158601586115862158631586415865158661586715868158691587015871158721587315874158751587615877158781587915880158811588215883158841588515886158871588815889158901589115892158931589415895158961589715898158991590015901159021590315904159051590615907159081590915910159111591215913159141591515916159171591815919159201592115922159231592415925159261592715928159291593015931159321593315934159351593615937159381593915940159411594215943159441594515946159471594815949159501595115952159531595415955159561595715958159591596015961159621596315964159651596615967159681596915970159711597215973159741597515976159771597815979159801598115982159831598415985159861598715988159891599015991159921599315994159951599615997159981599916000160011600216003160041600516006160071600816009160101601116012160131601416015160161601716018160191602016021160221602316024160251602616027160281602916030160311603216033160341603516036160371603816039160401604116042160431604416045160461604716048160491605016051160521605316054160551605616057160581605916060160611606216063160641606516066160671606816069160701607116072160731607416075160761607716078160791608016081160821608316084160851608616087160881608916090160911609216093160941609516096160971609816099161001610116102161031610416105161061610716108161091611016111161121611316114161151611616117161181611916120161211612216123161241612516126161271612816129161301613116132161331613416135161361613716138161391614016141161421614316144161451614616147161481614916150161511615216153161541615516156161571615816159161601616116162161631616416165161661616716168161691617016171161721617316174161751617616177161781617916180161811618216183161841618516186161871618816189161901619116192161931619416195161961619716198161991620016201162021620316204162051620616207162081620916210162111621216213162141621516216162171621816219162201622116222162231622416225162261622716228162291623016231162321623316234162351623616237162381623916240162411624216243162441624516246162471624816249162501625116252162531625416255162561625716258162591626016261162621626316264162651626616267162681626916270162711627216273162741627516276162771627816279162801628116282162831628416285162861628716288162891629016291162921629316294162951629616297162981629916300163011630216303163041630516306163071630816309163101631116312163131631416315163161631716318163191632016321163221632316324163251632616327163281632916330163311633216333163341633516336163371633816339163401634116342163431634416345163461634716348163491635016351163521635316354163551635616357163581635916360163611636216363163641636516366163671636816369163701637116372163731637416375163761637716378163791638016381163821638316384163851638616387163881638916390163911639216393163941639516396163971639816399164001640116402164031640416405164061640716408164091641016411164121641316414164151641616417164181641916420164211642216423164241642516426164271642816429164301643116432164331643416435164361643716438164391644016441164421644316444164451644616447164481644916450164511645216453164541645516456164571645816459164601646116462164631646416465164661646716468164691647016471164721647316474164751647616477164781647916480164811648216483164841648516486164871648816489164901649116492164931649416495164961649716498164991650016501165021650316504165051650616507165081650916510165111651216513165141651516516165171651816519165201652116522165231652416525165261652716528165291653016531165321653316534165351653616537165381653916540165411654216543165441654516546165471654816549165501655116552165531655416555165561655716558165591656016561165621656316564165651656616567165681656916570165711657216573165741657516576165771657816579165801658116582165831658416585165861658716588165891659016591165921659316594165951659616597165981659916600166011660216603166041660516606166071660816609166101661116612166131661416615166161661716618166191662016621166221662316624166251662616627166281662916630166311663216633166341663516636166371663816639166401664116642166431664416645166461664716648166491665016651166521665316654166551665616657166581665916660166611666216663166641666516666166671666816669166701667116672166731667416675166761667716678166791668016681166821668316684166851668616687166881668916690166911669216693166941669516696166971669816699167001670116702167031670416705167061670716708167091671016711167121671316714167151671616717167181671916720167211672216723167241672516726167271672816729167301673116732167331673416735167361673716738167391674016741167421674316744167451674616747167481674916750167511675216753167541675516756167571675816759167601676116762167631676416765167661676716768167691677016771167721677316774167751677616777167781677916780167811678216783167841678516786167871678816789167901679116792167931679416795167961679716798167991680016801168021680316804168051680616807168081680916810168111681216813168141681516816168171681816819168201682116822168231682416825168261682716828168291683016831168321683316834168351683616837168381683916840168411684216843168441684516846168471684816849168501685116852168531685416855168561685716858168591686016861168621686316864168651686616867168681686916870168711687216873168741687516876168771687816879168801688116882168831688416885168861688716888168891689016891168921689316894168951689616897168981689916900169011690216903169041690516906169071690816909169101691116912169131691416915169161691716918169191692016921169221692316924169251692616927169281692916930169311693216933169341693516936169371693816939169401694116942169431694416945169461694716948169491695016951169521695316954169551695616957169581695916960169611696216963169641696516966169671696816969169701697116972169731697416975169761697716978169791698016981169821698316984169851698616987169881698916990169911699216993169941699516996169971699816999170001700117002170031700417005170061700717008170091701017011170121701317014170151701617017170181701917020170211702217023170241702517026170271702817029170301703117032170331703417035170361703717038170391704017041170421704317044170451704617047170481704917050170511705217053170541705517056170571705817059170601706117062170631706417065170661706717068170691707017071170721707317074170751707617077170781707917080170811708217083170841708517086170871708817089170901709117092170931709417095170961709717098170991710017101171021710317104171051710617107171081710917110171111711217113171141711517116171171711817119171201712117122171231712417125171261712717128171291713017131171321713317134171351713617137171381713917140171411714217143171441714517146171471714817149171501715117152171531715417155171561715717158171591716017161171621716317164171651716617167171681716917170171711717217173171741717517176171771717817179171801718117182171831718417185171861718717188171891719017191171921719317194171951719617197171981719917200172011720217203172041720517206172071720817209172101721117212172131721417215172161721717218172191722017221172221722317224172251722617227172281722917230172311723217233172341723517236172371723817239172401724117242172431724417245172461724717248172491725017251172521725317254172551725617257172581725917260172611726217263172641726517266172671726817269172701727117272172731727417275172761727717278172791728017281172821728317284172851728617287172881728917290172911729217293172941729517296172971729817299173001730117302173031730417305173061730717308173091731017311173121731317314173151731617317173181731917320173211732217323173241732517326173271732817329173301733117332173331733417335173361733717338173391734017341173421734317344173451734617347173481734917350173511735217353173541735517356173571735817359173601736117362173631736417365173661736717368173691737017371173721737317374173751737617377173781737917380173811738217383173841738517386173871738817389173901739117392173931739417395173961739717398173991740017401174021740317404174051740617407174081740917410174111741217413174141741517416174171741817419174201742117422174231742417425174261742717428174291743017431174321743317434174351743617437174381743917440174411744217443174441744517446174471744817449174501745117452174531745417455174561745717458174591746017461174621746317464174651746617467174681746917470174711747217473174741747517476174771747817479174801748117482174831748417485174861748717488174891749017491174921749317494174951749617497174981749917500175011750217503175041750517506175071750817509175101751117512175131751417515175161751717518175191752017521175221752317524175251752617527175281752917530175311753217533175341753517536175371753817539175401754117542175431754417545175461754717548175491755017551175521755317554175551755617557175581755917560175611756217563175641756517566175671756817569175701757117572175731757417575175761757717578175791758017581175821758317584175851758617587175881758917590175911759217593175941759517596175971759817599176001760117602176031760417605176061760717608176091761017611176121761317614176151761617617176181761917620176211762217623176241762517626176271762817629176301763117632176331763417635176361763717638176391764017641176421764317644176451764617647176481764917650176511765217653176541765517656176571765817659176601766117662176631766417665176661766717668176691767017671176721767317674176751767617677176781767917680176811768217683176841768517686176871768817689176901769117692176931769417695176961769717698176991770017701177021770317704177051770617707177081770917710177111771217713177141771517716177171771817719177201772117722177231772417725177261772717728177291773017731177321773317734177351773617737177381773917740177411774217743177441774517746177471774817749177501775117752177531775417755177561775717758177591776017761177621776317764177651776617767177681776917770177711777217773177741777517776177771777817779177801778117782177831778417785177861778717788177891779017791177921779317794177951779617797177981779917800178011780217803178041780517806178071780817809178101781117812178131781417815178161781717818178191782017821178221782317824178251782617827178281782917830178311783217833178341783517836178371783817839178401784117842178431784417845178461784717848178491785017851178521785317854178551785617857178581785917860178611786217863178641786517866178671786817869178701787117872178731787417875178761787717878178791788017881178821788317884178851788617887178881788917890178911789217893178941789517896178971789817899179001790117902179031790417905179061790717908179091791017911179121791317914179151791617917179181791917920179211792217923179241792517926179271792817929179301793117932179331793417935179361793717938179391794017941179421794317944179451794617947179481794917950179511795217953179541795517956179571795817959179601796117962179631796417965179661796717968179691797017971179721797317974179751797617977179781797917980179811798217983179841798517986179871798817989179901799117992179931799417995179961799717998179991800018001180021800318004180051800618007180081800918010180111801218013180141801518016180171801818019180201802118022180231802418025180261802718028180291803018031180321803318034180351803618037180381803918040180411804218043180441804518046180471804818049180501805118052180531805418055180561805718058180591806018061180621806318064180651806618067180681806918070180711807218073180741807518076180771807818079180801808118082180831808418085180861808718088180891809018091180921809318094180951809618097180981809918100181011810218103181041810518106181071810818109181101811118112181131811418115181161811718118181191812018121181221812318124181251812618127181281812918130181311813218133181341813518136181371813818139181401814118142181431814418145181461814718148181491815018151181521815318154181551815618157181581815918160181611816218163181641816518166181671816818169181701817118172181731817418175181761817718178181791818018181181821818318184181851818618187181881818918190181911819218193181941819518196181971819818199182001820118202182031820418205182061820718208182091821018211182121821318214182151821618217182181821918220182211822218223182241822518226182271822818229182301823118232182331823418235182361823718238182391824018241182421824318244182451824618247182481824918250182511825218253182541825518256182571825818259182601826118262182631826418265182661826718268182691827018271182721827318274182751827618277182781827918280182811828218283182841828518286182871828818289182901829118292182931829418295182961829718298182991830018301183021830318304183051830618307183081830918310183111831218313183141831518316183171831818319183201832118322183231832418325183261832718328183291833018331183321833318334183351833618337183381833918340183411834218343183441834518346183471834818349183501835118352183531835418355183561835718358183591836018361183621836318364183651836618367183681836918370183711837218373183741837518376183771837818379183801838118382183831838418385183861838718388183891839018391183921839318394183951839618397183981839918400184011840218403184041840518406184071840818409184101841118412184131841418415184161841718418184191842018421184221842318424184251842618427184281842918430184311843218433184341843518436184371843818439184401844118442184431844418445184461844718448184491845018451184521845318454184551845618457184581845918460184611846218463184641846518466184671846818469184701847118472184731847418475184761847718478184791848018481184821848318484184851848618487184881848918490184911849218493184941849518496184971849818499185001850118502185031850418505185061850718508185091851018511185121851318514185151851618517185181851918520185211852218523185241852518526185271852818529185301853118532185331853418535185361853718538185391854018541185421854318544185451854618547185481854918550185511855218553185541855518556185571855818559185601856118562185631856418565185661856718568185691857018571185721857318574185751857618577185781857918580185811858218583185841858518586185871858818589185901859118592185931859418595185961859718598185991860018601186021860318604186051860618607186081860918610186111861218613186141861518616186171861818619186201862118622186231862418625186261862718628186291863018631186321863318634186351863618637186381863918640186411864218643186441864518646186471864818649186501865118652186531865418655186561865718658186591866018661186621866318664186651866618667186681866918670186711867218673186741867518676186771867818679186801868118682186831868418685186861868718688186891869018691186921869318694186951869618697186981869918700187011870218703187041870518706187071870818709187101871118712187131871418715187161871718718187191872018721187221872318724187251872618727187281872918730187311873218733187341873518736187371873818739187401874118742187431874418745187461874718748187491875018751187521875318754187551875618757187581875918760187611876218763187641876518766187671876818769187701877118772187731877418775187761877718778187791878018781187821878318784187851878618787187881878918790187911879218793187941879518796187971879818799188001880118802188031880418805188061880718808188091881018811188121881318814188151881618817188181881918820188211882218823188241882518826188271882818829188301883118832188331883418835188361883718838188391884018841188421884318844188451884618847188481884918850188511885218853188541885518856188571885818859188601886118862188631886418865188661886718868188691887018871188721887318874188751887618877188781887918880188811888218883188841888518886188871888818889188901889118892188931889418895188961889718898188991890018901189021890318904189051890618907189081890918910189111891218913189141891518916189171891818919189201892118922189231892418925189261892718928189291893018931189321893318934189351893618937189381893918940189411894218943189441894518946189471894818949189501895118952189531895418955189561895718958189591896018961189621896318964189651896618967189681896918970189711897218973189741897518976189771897818979189801898118982189831898418985189861898718988189891899018991189921899318994189951899618997189981899919000190011900219003190041900519006190071900819009190101901119012190131901419015190161901719018190191902019021190221902319024190251902619027190281902919030190311903219033190341903519036190371903819039190401904119042190431904419045190461904719048190491905019051190521905319054190551905619057190581905919060190611906219063190641906519066190671906819069190701907119072190731907419075190761907719078190791908019081190821908319084190851908619087190881908919090190911909219093190941909519096190971909819099191001910119102191031910419105191061910719108191091911019111191121911319114191151911619117191181911919120191211912219123191241912519126191271912819129191301913119132191331913419135191361913719138191391914019141191421914319144191451914619147191481914919150191511915219153191541915519156191571915819159191601916119162191631916419165191661916719168191691917019171191721917319174191751917619177191781917919180191811918219183191841918519186191871918819189191901919119192191931919419195191961919719198191991920019201192021920319204192051920619207192081920919210192111921219213192141921519216192171921819219192201922119222192231922419225192261922719228192291923019231192321923319234192351923619237192381923919240192411924219243192441924519246192471924819249192501925119252192531925419255192561925719258192591926019261192621926319264192651926619267192681926919270192711927219273192741927519276192771927819279192801928119282192831928419285192861928719288192891929019291192921929319294192951929619297192981929919300193011930219303193041930519306193071930819309193101931119312193131931419315193161931719318193191932019321193221932319324193251932619327193281932919330193311933219333193341933519336193371933819339193401934119342193431934419345193461934719348193491935019351193521935319354193551935619357193581935919360193611936219363193641936519366193671936819369193701937119372193731937419375193761937719378193791938019381193821938319384193851938619387193881938919390193911939219393193941939519396193971939819399194001940119402194031940419405194061940719408194091941019411194121941319414194151941619417194181941919420194211942219423194241942519426194271942819429194301943119432194331943419435194361943719438194391944019441194421944319444194451944619447194481944919450194511945219453194541945519456194571945819459194601946119462194631946419465194661946719468194691947019471194721947319474194751947619477194781947919480194811948219483194841948519486194871948819489194901949119492194931949419495194961949719498194991950019501195021950319504195051950619507195081950919510195111951219513195141951519516195171951819519195201952119522195231952419525195261952719528195291953019531195321953319534195351953619537195381953919540195411954219543195441954519546195471954819549195501955119552195531955419555195561955719558195591956019561195621956319564195651956619567195681956919570195711957219573195741957519576195771957819579195801958119582195831958419585195861958719588195891959019591195921959319594195951959619597195981959919600196011960219603196041960519606196071960819609196101961119612196131961419615196161961719618196191962019621
  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. "license": {},
  20. "version": "{{.Version}}"
  21. },
  22. "host": "{{.Host}}",
  23. "basePath": "{{.BasePath}}",
  24. "paths": {
  25. "/CPTrade/QueryCPTradeMyBidInfos": {
  26. "get": {
  27. "security": [
  28. {
  29. "ApiKeyAuth": []
  30. }
  31. ],
  32. "produces": [
  33. "application/json"
  34. ],
  35. "tags": [
  36. "产能预售"
  37. ],
  38. "summary": "查询产能预售我的出价信息",
  39. "parameters": [
  40. {
  41. "type": "integer",
  42. "description": "资金账户",
  43. "name": "accountid",
  44. "in": "query",
  45. "required": true
  46. },
  47. {
  48. "type": "integer",
  49. "description": "预售市场ID",
  50. "name": "marketid",
  51. "in": "query"
  52. },
  53. {
  54. "type": "integer",
  55. "description": "预售商品ID",
  56. "name": "goodsid",
  57. "in": "query"
  58. }
  59. ],
  60. "responses": {
  61. "200": {
  62. "description": "OK",
  63. "schema": {
  64. "$ref": "#/definitions/cptrade.QueryCPTradeMyBidRsp"
  65. }
  66. },
  67. "500": {
  68. "description": "Internal Server Error",
  69. "schema": {
  70. "$ref": "#/definitions/app.Response"
  71. }
  72. }
  73. }
  74. }
  75. },
  76. "/CPTrade/QueryCPTradeOrderDetail": {
  77. "get": {
  78. "security": [
  79. {
  80. "ApiKeyAuth": []
  81. }
  82. ],
  83. "produces": [
  84. "application/json"
  85. ],
  86. "tags": [
  87. "产能预售"
  88. ],
  89. "summary": "查询产能预售委托单信息",
  90. "parameters": [
  91. {
  92. "type": "integer",
  93. "description": "预售商品ID",
  94. "name": "goodsid",
  95. "in": "query"
  96. },
  97. {
  98. "type": "integer",
  99. "description": "预售市场ID",
  100. "name": "marketid",
  101. "in": "query"
  102. },
  103. {
  104. "type": "string",
  105. "description": "预售商品ID列表 - 格式:1,2,3",
  106. "name": "goodsids",
  107. "in": "query"
  108. }
  109. ],
  110. "responses": {
  111. "200": {
  112. "description": "OK",
  113. "schema": {
  114. "$ref": "#/definitions/cptrade.QueryCPTradeOrderDetailRsq"
  115. }
  116. },
  117. "500": {
  118. "description": "Internal Server Error",
  119. "schema": {
  120. "$ref": "#/definitions/app.Response"
  121. }
  122. }
  123. }
  124. }
  125. },
  126. "/CPTrade/QueryMyCPTradeGoods": {
  127. "get": {
  128. "security": [
  129. {
  130. "ApiKeyAuth": []
  131. }
  132. ],
  133. "produces": [
  134. "application/json"
  135. ],
  136. "tags": [
  137. "产能预售"
  138. ],
  139. "summary": "查询我的预售信息",
  140. "parameters": [
  141. {
  142. "type": "integer",
  143. "description": "资金账户",
  144. "name": "accountid",
  145. "in": "query",
  146. "required": true
  147. }
  148. ],
  149. "responses": {
  150. "200": {
  151. "description": "OK",
  152. "schema": {
  153. "$ref": "#/definitions/cptrade.QueryMyCPTradeGoodsRsp"
  154. }
  155. },
  156. "500": {
  157. "description": "Internal Server Error",
  158. "schema": {
  159. "$ref": "#/definitions/app.Response"
  160. }
  161. }
  162. }
  163. }
  164. },
  165. "/CPTrade/QueryPositionCancel": {
  166. "get": {
  167. "security": [
  168. {
  169. "ApiKeyAuth": []
  170. }
  171. ],
  172. "produces": [
  173. "application/json"
  174. ],
  175. "tags": [
  176. "产能预售"
  177. ],
  178. "summary": "查询远期订单注销申请信息",
  179. "parameters": [
  180. {
  181. "type": "integer",
  182. "description": "账户ID",
  183. "name": "userid",
  184. "in": "query",
  185. "required": true
  186. },
  187. {
  188. "type": "integer",
  189. "description": "注销ID",
  190. "name": "cancelid",
  191. "in": "query"
  192. },
  193. {
  194. "type": "integer",
  195. "description": "资金账户ID",
  196. "name": "accountid",
  197. "in": "query"
  198. }
  199. ],
  200. "responses": {
  201. "200": {
  202. "description": "OK",
  203. "schema": {
  204. "$ref": "#/definitions/cptrade.Cptradepositioncancel"
  205. }
  206. },
  207. "500": {
  208. "description": "Internal Server Error",
  209. "schema": {
  210. "$ref": "#/definitions/app.Response"
  211. }
  212. }
  213. }
  214. }
  215. },
  216. "/CPTrade/QueryPreasleApply": {
  217. "get": {
  218. "security": [
  219. {
  220. "ApiKeyAuth": []
  221. }
  222. ],
  223. "produces": [
  224. "application/json"
  225. ],
  226. "tags": [
  227. "产能预售"
  228. ],
  229. "summary": "查询产能预售申请信息",
  230. "parameters": [
  231. {
  232. "type": "integer",
  233. "description": "账户ID",
  234. "name": "userid",
  235. "in": "query",
  236. "required": true
  237. },
  238. {
  239. "type": "integer",
  240. "description": "申请ID",
  241. "name": "applyid",
  242. "in": "query"
  243. },
  244. {
  245. "type": "integer",
  246. "description": "资金账户ID",
  247. "name": "accountid",
  248. "in": "query"
  249. }
  250. ],
  251. "responses": {
  252. "200": {
  253. "description": "OK",
  254. "schema": {
  255. "$ref": "#/definitions/cptrade.Cptradepresaleapply"
  256. }
  257. },
  258. "500": {
  259. "description": "Internal Server Error",
  260. "schema": {
  261. "$ref": "#/definitions/app.Response"
  262. }
  263. }
  264. }
  265. }
  266. },
  267. "/CPTrade/QueryPresaleGoodsEx": {
  268. "get": {
  269. "security": [
  270. {
  271. "ApiKeyAuth": []
  272. }
  273. ],
  274. "produces": [
  275. "application/json"
  276. ],
  277. "tags": [
  278. "产能预售"
  279. ],
  280. "summary": "查询产能预售商品扩展信息",
  281. "parameters": [
  282. {
  283. "type": "integer",
  284. "description": "预售商品ID",
  285. "name": "goodsid",
  286. "in": "query"
  287. },
  288. {
  289. "type": "integer",
  290. "description": "预售市场ID",
  291. "name": "marketid",
  292. "in": "query"
  293. },
  294. {
  295. "type": "integer",
  296. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  297. "name": "presalemode",
  298. "in": "query"
  299. },
  300. {
  301. "type": "string",
  302. "description": "预售商品ID列表 - 格式:1,2,3",
  303. "name": "goodsids",
  304. "in": "query"
  305. },
  306. {
  307. "type": "string",
  308. "description": "预售商品代码",
  309. "name": "goodscode",
  310. "in": "query"
  311. }
  312. ],
  313. "responses": {
  314. "200": {
  315. "description": "OK",
  316. "schema": {
  317. "$ref": "#/definitions/cptrade.QueryPresaleGoodsExRsp"
  318. }
  319. },
  320. "500": {
  321. "description": "Internal Server Error",
  322. "schema": {
  323. "$ref": "#/definitions/app.Response"
  324. }
  325. }
  326. }
  327. }
  328. },
  329. "/CPTrade/QueryUserGoodsData": {
  330. "get": {
  331. "security": [
  332. {
  333. "ApiKeyAuth": []
  334. }
  335. ],
  336. "produces": [
  337. "application/json"
  338. ],
  339. "tags": [
  340. "产能预售"
  341. ],
  342. "summary": "查询远期订单信息",
  343. "parameters": [
  344. {
  345. "type": "integer",
  346. "description": "资金账户ID",
  347. "name": "accountid",
  348. "in": "query",
  349. "required": true
  350. }
  351. ],
  352. "responses": {
  353. "200": {
  354. "description": "OK",
  355. "schema": {
  356. "$ref": "#/definitions/cptrade.Cptradeusergoodsdata"
  357. }
  358. },
  359. "500": {
  360. "description": "Internal Server Error",
  361. "schema": {
  362. "$ref": "#/definitions/app.Response"
  363. }
  364. }
  365. }
  366. }
  367. },
  368. "/Common/GetAllEnums": {
  369. "get": {
  370. "description": "autoid传入后则返回这个ID之后的数据;如不传则返回所有",
  371. "produces": [
  372. "application/json"
  373. ],
  374. "tags": [
  375. "通用服务"
  376. ],
  377. "summary": "获取所有枚举信息",
  378. "parameters": [
  379. {
  380. "type": "integer",
  381. "description": "起始自增ID",
  382. "name": "autoid",
  383. "in": "query"
  384. }
  385. ],
  386. "responses": {
  387. "200": {
  388. "description": "OK",
  389. "schema": {
  390. "$ref": "#/definitions/models.Enumdicitem"
  391. }
  392. },
  393. "500": {
  394. "description": "Internal Server Error",
  395. "schema": {
  396. "$ref": "#/definitions/app.Response"
  397. }
  398. }
  399. }
  400. }
  401. },
  402. "/Common/GetDivisions": {
  403. "get": {
  404. "produces": [
  405. "application/json"
  406. ],
  407. "tags": [
  408. "通用服务"
  409. ],
  410. "summary": "查询区域信息",
  411. "responses": {
  412. "200": {
  413. "description": "OK",
  414. "schema": {
  415. "$ref": "#/definitions/models.Division"
  416. }
  417. },
  418. "500": {
  419. "description": "Internal Server Error",
  420. "schema": {
  421. "$ref": "#/definitions/app.Response"
  422. }
  423. }
  424. }
  425. }
  426. },
  427. "/Common/GetServerTime": {
  428. "get": {
  429. "produces": [
  430. "application/json"
  431. ],
  432. "tags": [
  433. "通用服务"
  434. ],
  435. "summary": "获取服务器时间",
  436. "responses": {
  437. "200": {
  438. "description": "OK",
  439. "schema": {
  440. "$ref": "#/definitions/app.Response"
  441. }
  442. },
  443. "500": {
  444. "description": "Internal Server Error",
  445. "schema": {
  446. "$ref": "#/definitions/app.Response"
  447. }
  448. }
  449. }
  450. }
  451. },
  452. "/Common/NoticeReaded": {
  453. "post": {
  454. "security": [
  455. {
  456. "ApiKeyAuth": []
  457. }
  458. ],
  459. "produces": [
  460. "application/json"
  461. ],
  462. "tags": [
  463. "通用服务"
  464. ],
  465. "summary": "通知公告设置已读请求",
  466. "parameters": [
  467. {
  468. "type": "integer",
  469. "description": "登录账号",
  470. "name": "loginID",
  471. "in": "query",
  472. "required": true
  473. },
  474. {
  475. "type": "integer",
  476. "description": "通知公告ID",
  477. "name": "noticeID",
  478. "in": "query",
  479. "required": true
  480. }
  481. ],
  482. "responses": {
  483. "200": {
  484. "description": "OK",
  485. "schema": {
  486. "$ref": "#/definitions/app.Response"
  487. }
  488. },
  489. "500": {
  490. "description": "Internal Server Error",
  491. "schema": {
  492. "$ref": "#/definitions/app.Response"
  493. }
  494. }
  495. }
  496. }
  497. },
  498. "/Common/QueryErrorInfos": {
  499. "get": {
  500. "description": "如果传入rowNumber,则返回此rowNumber后的数据",
  501. "produces": [
  502. "application/json"
  503. ],
  504. "tags": [
  505. "通用服务"
  506. ],
  507. "summary": "获取数据库错误信息",
  508. "parameters": [
  509. {
  510. "type": "string",
  511. "description": "起始行号前索引",
  512. "name": "rowNumber",
  513. "in": "query"
  514. }
  515. ],
  516. "responses": {
  517. "200": {
  518. "description": "OK",
  519. "schema": {
  520. "$ref": "#/definitions/models.QueryErrorInfosRsp"
  521. }
  522. },
  523. "500": {
  524. "description": "Internal Server Error",
  525. "schema": {
  526. "$ref": "#/definitions/app.Response"
  527. }
  528. }
  529. }
  530. }
  531. },
  532. "/Common/QueryImageConfigs": {
  533. "get": {
  534. "produces": [
  535. "application/json"
  536. ],
  537. "tags": [
  538. "通用服务"
  539. ],
  540. "summary": "查询轮播图配置信息",
  541. "parameters": [
  542. {
  543. "type": "integer",
  544. "description": "类型 - 1:App首页轮播 2:我的",
  545. "name": "imageType",
  546. "in": "query"
  547. }
  548. ],
  549. "responses": {
  550. "200": {
  551. "description": "OK",
  552. "schema": {
  553. "$ref": "#/definitions/common.QueryImageConfigsRsp"
  554. }
  555. },
  556. "500": {
  557. "description": "Internal Server Error",
  558. "schema": {
  559. "$ref": "#/definitions/app.Response"
  560. }
  561. }
  562. }
  563. }
  564. },
  565. "/Common/QueryNotice": {
  566. "get": {
  567. "security": [
  568. {
  569. "ApiKeyAuth": []
  570. }
  571. ],
  572. "produces": [
  573. "application/json"
  574. ],
  575. "tags": [
  576. "通用服务"
  577. ],
  578. "summary": "通知公告系统消息查询",
  579. "parameters": [
  580. {
  581. "type": "integer",
  582. "description": "页码",
  583. "name": "page",
  584. "in": "query"
  585. },
  586. {
  587. "type": "integer",
  588. "description": "每页条数",
  589. "name": "pagesize",
  590. "in": "query"
  591. },
  592. {
  593. "type": "integer",
  594. "description": "登录账号",
  595. "name": "loginID",
  596. "in": "query",
  597. "required": true
  598. },
  599. {
  600. "type": "integer",
  601. "description": "消息类型 - 1:公告通知 2:系统消息",
  602. "name": "msgType",
  603. "in": "query"
  604. },
  605. {
  606. "type": "boolean",
  607. "description": "是否只获取未读信息",
  608. "name": "onlyUnRead",
  609. "in": "query"
  610. },
  611. {
  612. "type": "integer",
  613. "description": "自增ID,传入后会返回这个ID后面的记录",
  614. "name": "lastID",
  615. "in": "query"
  616. }
  617. ],
  618. "responses": {
  619. "200": {
  620. "description": "OK",
  621. "schema": {
  622. "$ref": "#/definitions/common.QueryNoticeRsp"
  623. }
  624. },
  625. "500": {
  626. "description": "Internal Server Error",
  627. "schema": {
  628. "$ref": "#/definitions/app.Response"
  629. }
  630. }
  631. }
  632. }
  633. },
  634. "/Common/QueryProvincesAndCities": {
  635. "get": {
  636. "produces": [
  637. "application/json"
  638. ],
  639. "tags": [
  640. "通用服务"
  641. ],
  642. "summary": "查询省市信息(不包括区)",
  643. "parameters": [
  644. {
  645. "type": "integer",
  646. "description": "省ID",
  647. "name": "provinceID",
  648. "in": "query"
  649. }
  650. ],
  651. "responses": {
  652. "200": {
  653. "description": "OK",
  654. "schema": {
  655. "$ref": "#/definitions/common.QueryProvincesAndCitiesRsp"
  656. }
  657. },
  658. "500": {
  659. "description": "Internal Server Error",
  660. "schema": {
  661. "$ref": "#/definitions/app.Response"
  662. }
  663. }
  664. }
  665. }
  666. },
  667. "/Common/QueryTableDefine": {
  668. "get": {
  669. "produces": [
  670. "application/json"
  671. ],
  672. "tags": [
  673. "通用服务"
  674. ],
  675. "summary": "查询交易端列表头信息",
  676. "parameters": [
  677. {
  678. "type": "string",
  679. "description": "表key",
  680. "name": "tableKey",
  681. "in": "query"
  682. },
  683. {
  684. "type": "integer",
  685. "description": "列表类型 - 1:管理端 2:H5终端 3:移动终端",
  686. "name": "tableType",
  687. "in": "query"
  688. }
  689. ],
  690. "responses": {
  691. "200": {
  692. "description": "OK",
  693. "schema": {
  694. "$ref": "#/definitions/common.QueryTableDefineRsp"
  695. }
  696. },
  697. "500": {
  698. "description": "Internal Server Error",
  699. "schema": {
  700. "$ref": "#/definitions/app.Response"
  701. }
  702. }
  703. }
  704. }
  705. },
  706. "/Common/QueryTraderMenu": {
  707. "get": {
  708. "produces": [
  709. "application/json"
  710. ],
  711. "tags": [
  712. "通用服务"
  713. ],
  714. "summary": "查询交易端菜单",
  715. "parameters": [
  716. {
  717. "type": "integer",
  718. "description": "登录账号",
  719. "name": "loginid",
  720. "in": "query",
  721. "required": true
  722. }
  723. ],
  724. "responses": {
  725. "200": {
  726. "description": "OK",
  727. "schema": {
  728. "$ref": "#/definitions/common.QueryTraderMenuRsp"
  729. }
  730. },
  731. "500": {
  732. "description": "Internal Server Error",
  733. "schema": {
  734. "$ref": "#/definitions/app.Response"
  735. }
  736. }
  737. }
  738. }
  739. },
  740. "/Delivery/QueryDeliveryRelation": {
  741. "get": {
  742. "security": [
  743. {
  744. "ApiKeyAuth": []
  745. }
  746. ],
  747. "produces": [
  748. "application/json"
  749. ],
  750. "tags": [
  751. "交割服务"
  752. ],
  753. "summary": "查询商品交割关系表",
  754. "parameters": [
  755. {
  756. "type": "integer",
  757. "description": "商品ID",
  758. "name": "goodsid",
  759. "in": "query"
  760. },
  761. {
  762. "type": "integer",
  763. "description": "品种ID",
  764. "name": "deliverygoodsid",
  765. "in": "query"
  766. },
  767. {
  768. "type": "integer",
  769. "description": "市场ID",
  770. "name": "marketid",
  771. "in": "query"
  772. }
  773. ],
  774. "responses": {
  775. "200": {
  776. "description": "OK",
  777. "schema": {
  778. "$ref": "#/definitions/delivery.QueryDeliveryRelationRsp"
  779. }
  780. },
  781. "500": {
  782. "description": "Internal Server Error",
  783. "schema": {
  784. "$ref": "#/definitions/app.Response"
  785. }
  786. }
  787. }
  788. }
  789. },
  790. "/Ermcp/GetErmcpGoods": {
  791. "get": {
  792. "security": [
  793. {
  794. "ApiKeyAuth": []
  795. }
  796. ],
  797. "produces": [
  798. "application/json"
  799. ],
  800. "tags": [
  801. "企业风险管理(app)"
  802. ],
  803. "summary": "查询企业风管期货商品信息",
  804. "parameters": [
  805. {
  806. "type": "string",
  807. "description": "最后修改时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  808. "name": "lastUpdateTime",
  809. "in": "query"
  810. }
  811. ],
  812. "responses": {
  813. "200": {
  814. "description": "OK",
  815. "schema": {
  816. "$ref": "#/definitions/models.Goods"
  817. }
  818. },
  819. "500": {
  820. "description": "Internal Server Error",
  821. "schema": {
  822. "$ref": "#/definitions/app.Response"
  823. }
  824. }
  825. }
  826. }
  827. },
  828. "/Ermcp/GetErmcpRoleFuncMenuLists": {
  829. "get": {
  830. "security": [
  831. {
  832. "ApiKeyAuth": []
  833. }
  834. ],
  835. "produces": [
  836. "application/json"
  837. ],
  838. "tags": [
  839. "企业风险管理(app)"
  840. ],
  841. "summary": "获取企业风管终端权限",
  842. "parameters": [
  843. {
  844. "type": "integer",
  845. "description": "登录账号",
  846. "name": "loginID",
  847. "in": "query",
  848. "required": true
  849. }
  850. ],
  851. "responses": {
  852. "200": {
  853. "description": "OK",
  854. "schema": {
  855. "$ref": "#/definitions/models.Funcmenulist"
  856. }
  857. },
  858. "500": {
  859. "description": "Internal Server Error",
  860. "schema": {
  861. "$ref": "#/definitions/app.Response"
  862. }
  863. }
  864. }
  865. }
  866. },
  867. "/Ermcp/QryReportDayExposure": {
  868. "get": {
  869. "security": [
  870. {
  871. "ApiKeyAuth": []
  872. }
  873. ],
  874. "produces": [
  875. "application/json"
  876. ],
  877. "tags": [
  878. "企业风险管理(app)"
  879. ],
  880. "summary": "查询敞口日报表(菜单:报表查询/敞口报表/敞口日报表)",
  881. "parameters": [
  882. {
  883. "type": "integer",
  884. "description": "用户ID",
  885. "name": "userid",
  886. "in": "query",
  887. "required": true
  888. },
  889. {
  890. "type": "string",
  891. "description": "交易日(格式:yyyyMMdd)",
  892. "name": "tradedate",
  893. "in": "query",
  894. "required": true
  895. }
  896. ],
  897. "responses": {
  898. "200": {
  899. "description": "OK",
  900. "schema": {
  901. "type": "array",
  902. "items": {
  903. "$ref": "#/definitions/ermcp.QryReportExposureDayRsp"
  904. }
  905. }
  906. },
  907. "500": {
  908. "description": "Internal Server Error",
  909. "schema": {
  910. "$ref": "#/definitions/app.Response"
  911. }
  912. }
  913. }
  914. }
  915. },
  916. "/Ermcp/QryReportDayFinance": {
  917. "get": {
  918. "security": [
  919. {
  920. "ApiKeyAuth": []
  921. }
  922. ],
  923. "produces": [
  924. "application/json"
  925. ],
  926. "tags": [
  927. "企业风险管理(app)"
  928. ],
  929. "summary": "查询财务日报表(菜单:报表查询/财务报表/日报表)",
  930. "parameters": [
  931. {
  932. "type": "integer",
  933. "description": "用户ID",
  934. "name": "userid",
  935. "in": "query",
  936. "required": true
  937. },
  938. {
  939. "type": "string",
  940. "description": "交易日(格式:yyyyMMdd)",
  941. "name": "tradedate",
  942. "in": "query",
  943. "required": true
  944. }
  945. ],
  946. "responses": {
  947. "200": {
  948. "description": "OK",
  949. "schema": {
  950. "type": "array",
  951. "items": {
  952. "$ref": "#/definitions/ermcp.QryReportFinanceDayRsp"
  953. }
  954. }
  955. },
  956. "500": {
  957. "description": "Internal Server Error",
  958. "schema": {
  959. "$ref": "#/definitions/app.Response"
  960. }
  961. }
  962. }
  963. }
  964. },
  965. "/Ermcp/QryReportDayFinanceFp": {
  966. "get": {
  967. "security": [
  968. {
  969. "ApiKeyAuth": []
  970. }
  971. ],
  972. "produces": [
  973. "application/json"
  974. ],
  975. "tags": [
  976. "企业风险管理(app)"
  977. ],
  978. "summary": "查询财务日报表发票(菜单:报表查询/财务报表/日报表/发票)",
  979. "parameters": [
  980. {
  981. "type": "integer",
  982. "description": "用户ID",
  983. "name": "userid",
  984. "in": "query",
  985. "required": true
  986. },
  987. {
  988. "type": "string",
  989. "description": "交易日(格式:yyyyMMdd)",
  990. "name": "tradedate",
  991. "in": "query",
  992. "required": true
  993. }
  994. ],
  995. "responses": {
  996. "200": {
  997. "description": "OK",
  998. "schema": {
  999. "type": "array",
  1000. "items": {
  1001. "$ref": "#/definitions/ermcp.QryReportFinanceKxRsp"
  1002. }
  1003. }
  1004. },
  1005. "500": {
  1006. "description": "Internal Server Error",
  1007. "schema": {
  1008. "$ref": "#/definitions/app.Response"
  1009. }
  1010. }
  1011. }
  1012. }
  1013. },
  1014. "/Ermcp/QryReportDayFinanceKx": {
  1015. "get": {
  1016. "security": [
  1017. {
  1018. "ApiKeyAuth": []
  1019. }
  1020. ],
  1021. "produces": [
  1022. "application/json"
  1023. ],
  1024. "tags": [
  1025. "企业风险管理(app)"
  1026. ],
  1027. "summary": "查询财务日报表款项(菜单:报表查询/财务报表/日报表/款项)",
  1028. "parameters": [
  1029. {
  1030. "type": "integer",
  1031. "description": "用户ID",
  1032. "name": "userid",
  1033. "in": "query",
  1034. "required": true
  1035. },
  1036. {
  1037. "type": "string",
  1038. "description": "交易日(格式:yyyyMMdd)",
  1039. "name": "tradedate",
  1040. "in": "query",
  1041. "required": true
  1042. }
  1043. ],
  1044. "responses": {
  1045. "200": {
  1046. "description": "OK",
  1047. "schema": {
  1048. "type": "array",
  1049. "items": {
  1050. "$ref": "#/definitions/ermcp.QryReportFinanceKxRsp"
  1051. }
  1052. }
  1053. },
  1054. "500": {
  1055. "description": "Internal Server Error",
  1056. "schema": {
  1057. "$ref": "#/definitions/app.Response"
  1058. }
  1059. }
  1060. }
  1061. }
  1062. },
  1063. "/Ermcp/QryReportDaySpot": {
  1064. "get": {
  1065. "security": [
  1066. {
  1067. "ApiKeyAuth": []
  1068. }
  1069. ],
  1070. "produces": [
  1071. "application/json"
  1072. ],
  1073. "tags": [
  1074. "企业风险管理(app)"
  1075. ],
  1076. "summary": "查询现货日报表(菜单:报表查询/现货报表/现货日报表)",
  1077. "parameters": [
  1078. {
  1079. "type": "integer",
  1080. "description": "用户ID",
  1081. "name": "userid",
  1082. "in": "query",
  1083. "required": true
  1084. },
  1085. {
  1086. "type": "string",
  1087. "description": "交易日(格式:yyyyMMdd)",
  1088. "name": "tradedate",
  1089. "in": "query",
  1090. "required": true
  1091. }
  1092. ],
  1093. "responses": {
  1094. "200": {
  1095. "description": "OK",
  1096. "schema": {
  1097. "type": "array",
  1098. "items": {
  1099. "$ref": "#/definitions/ermcp.QryReportSpotDayRsp"
  1100. }
  1101. }
  1102. },
  1103. "500": {
  1104. "description": "Internal Server Error",
  1105. "schema": {
  1106. "$ref": "#/definitions/app.Response"
  1107. }
  1108. }
  1109. }
  1110. }
  1111. },
  1112. "/Ermcp/QryReportDaySpotDetail": {
  1113. "get": {
  1114. "security": [
  1115. {
  1116. "ApiKeyAuth": []
  1117. }
  1118. ],
  1119. "produces": [
  1120. "application/json"
  1121. ],
  1122. "tags": [
  1123. "企业风险管理(app)"
  1124. ],
  1125. "summary": "查询现货日报表详情(菜单:报表查询/现货报表/现货日报表详情)",
  1126. "parameters": [
  1127. {
  1128. "type": "integer",
  1129. "description": "用户ID",
  1130. "name": "userid",
  1131. "in": "query",
  1132. "required": true
  1133. },
  1134. {
  1135. "type": "integer",
  1136. "description": "现货商品id",
  1137. "name": "wrstandardid",
  1138. "in": "query",
  1139. "required": true
  1140. },
  1141. {
  1142. "type": "string",
  1143. "description": "交易日(格式:yyyyMMdd)",
  1144. "name": "tradedate",
  1145. "in": "query",
  1146. "required": true
  1147. }
  1148. ],
  1149. "responses": {
  1150. "200": {
  1151. "description": "OK",
  1152. "schema": {
  1153. "type": "array",
  1154. "items": {
  1155. "$ref": "#/definitions/ermcp.QryReportDaySpotDetailRsp"
  1156. }
  1157. }
  1158. },
  1159. "500": {
  1160. "description": "Internal Server Error",
  1161. "schema": {
  1162. "$ref": "#/definitions/app.Response"
  1163. }
  1164. }
  1165. }
  1166. }
  1167. },
  1168. "/Ermcp/QryReportMonthFinance": {
  1169. "get": {
  1170. "security": [
  1171. {
  1172. "ApiKeyAuth": []
  1173. }
  1174. ],
  1175. "produces": [
  1176. "application/json"
  1177. ],
  1178. "tags": [
  1179. "企业风险管理(app)"
  1180. ],
  1181. "summary": "查询财务月报表(菜单:报表查询/财务报表/月报表)",
  1182. "parameters": [
  1183. {
  1184. "type": "integer",
  1185. "description": "用户ID",
  1186. "name": "userid",
  1187. "in": "query",
  1188. "required": true
  1189. },
  1190. {
  1191. "type": "string",
  1192. "description": "周期时间:月(格式:yyyyMM)",
  1193. "name": "cycletime",
  1194. "in": "query",
  1195. "required": true
  1196. }
  1197. ],
  1198. "responses": {
  1199. "200": {
  1200. "description": "OK",
  1201. "schema": {
  1202. "type": "array",
  1203. "items": {
  1204. "$ref": "#/definitions/ermcp.QryReportFinanceMonRsp"
  1205. }
  1206. }
  1207. },
  1208. "500": {
  1209. "description": "Internal Server Error",
  1210. "schema": {
  1211. "$ref": "#/definitions/app.Response"
  1212. }
  1213. }
  1214. }
  1215. }
  1216. },
  1217. "/Ermcp/QryReportMonthSpot": {
  1218. "get": {
  1219. "security": [
  1220. {
  1221. "ApiKeyAuth": []
  1222. }
  1223. ],
  1224. "produces": [
  1225. "application/json"
  1226. ],
  1227. "tags": [
  1228. "企业风险管理(app)"
  1229. ],
  1230. "summary": "查询现货月报表(菜单:报表查询/现货报表/现货月报表)",
  1231. "parameters": [
  1232. {
  1233. "type": "integer",
  1234. "description": "用户ID",
  1235. "name": "userid",
  1236. "in": "query",
  1237. "required": true
  1238. },
  1239. {
  1240. "type": "string",
  1241. "description": "周期时间:月(格式:yyyyMM)",
  1242. "name": "cycletime",
  1243. "in": "query",
  1244. "required": true
  1245. }
  1246. ],
  1247. "responses": {
  1248. "200": {
  1249. "description": "OK",
  1250. "schema": {
  1251. "type": "array",
  1252. "items": {
  1253. "$ref": "#/definitions/ermcp.QryReportSpotMonRsp"
  1254. }
  1255. }
  1256. },
  1257. "500": {
  1258. "description": "Internal Server Error",
  1259. "schema": {
  1260. "$ref": "#/definitions/app.Response"
  1261. }
  1262. }
  1263. }
  1264. }
  1265. },
  1266. "/Ermcp/QryReportMonthSpotDetail": {
  1267. "get": {
  1268. "security": [
  1269. {
  1270. "ApiKeyAuth": []
  1271. }
  1272. ],
  1273. "produces": [
  1274. "application/json"
  1275. ],
  1276. "tags": [
  1277. "企业风险管理(app)"
  1278. ],
  1279. "summary": "查询现货月报表详情(菜单:报表查询/现货月报表/现货月报表详情)",
  1280. "parameters": [
  1281. {
  1282. "type": "integer",
  1283. "description": "用户ID",
  1284. "name": "userid",
  1285. "in": "query",
  1286. "required": true
  1287. },
  1288. {
  1289. "type": "integer",
  1290. "description": "现货商品id",
  1291. "name": "wrstandardid",
  1292. "in": "query",
  1293. "required": true
  1294. },
  1295. {
  1296. "type": "string",
  1297. "description": "周期时间:月(格式:yyyyMM)",
  1298. "name": "cycletime",
  1299. "in": "query",
  1300. "required": true
  1301. }
  1302. ],
  1303. "responses": {
  1304. "200": {
  1305. "description": "OK",
  1306. "schema": {
  1307. "type": "array",
  1308. "items": {
  1309. "$ref": "#/definitions/ermcp.QryReportSpotMonthDetailRsp"
  1310. }
  1311. }
  1312. },
  1313. "500": {
  1314. "description": "Internal Server Error",
  1315. "schema": {
  1316. "$ref": "#/definitions/app.Response"
  1317. }
  1318. }
  1319. }
  1320. }
  1321. },
  1322. "/Ermcp/QueryAreaStock": {
  1323. "get": {
  1324. "security": [
  1325. {
  1326. "ApiKeyAuth": []
  1327. }
  1328. ],
  1329. "produces": [
  1330. "application/json"
  1331. ],
  1332. "tags": [
  1333. "企业风险管理(app)"
  1334. ],
  1335. "summary": "查询机构库存(库存管理/当前库存)",
  1336. "parameters": [
  1337. {
  1338. "type": "integer",
  1339. "description": "用户ID",
  1340. "name": "userid",
  1341. "in": "query",
  1342. "required": true
  1343. }
  1344. ],
  1345. "responses": {
  1346. "200": {
  1347. "description": "OK",
  1348. "schema": {
  1349. "type": "array",
  1350. "items": {
  1351. "$ref": "#/definitions/models.ErmcpAreaStock"
  1352. }
  1353. }
  1354. },
  1355. "500": {
  1356. "description": "Internal Server Error",
  1357. "schema": {
  1358. "$ref": "#/definitions/app.Response"
  1359. }
  1360. }
  1361. }
  1362. }
  1363. },
  1364. "/Ermcp/QueryAreaStockApply": {
  1365. "get": {
  1366. "security": [
  1367. {
  1368. "ApiKeyAuth": []
  1369. }
  1370. ],
  1371. "produces": [
  1372. "application/json"
  1373. ],
  1374. "tags": [
  1375. "企业风险管理(app)"
  1376. ],
  1377. "summary": "查询库存申请(出入库记录|库存审核)",
  1378. "parameters": [
  1379. {
  1380. "type": "integer",
  1381. "description": "用户ID",
  1382. "name": "userid",
  1383. "in": "query",
  1384. "required": true
  1385. },
  1386. {
  1387. "type": "string",
  1388. "description": "出入库类型(可多项,逗号隔开) 1:采购入库 2:销售出库 3:生产入库 4:生产出库",
  1389. "name": "inouttype",
  1390. "in": "query"
  1391. },
  1392. {
  1393. "type": "integer",
  1394. "description": "合同ID",
  1395. "name": "spotcontractid",
  1396. "in": "query"
  1397. },
  1398. {
  1399. "type": "integer",
  1400. "description": "现货商品ID",
  1401. "name": "wrstandardid",
  1402. "in": "query"
  1403. },
  1404. {
  1405. "type": "integer",
  1406. "description": "品牌ID",
  1407. "name": "spotgoodsbrandid",
  1408. "in": "query"
  1409. },
  1410. {
  1411. "type": "integer",
  1412. "description": "型号ID",
  1413. "name": "spotgoodsmodelid",
  1414. "in": "query"
  1415. },
  1416. {
  1417. "type": "integer",
  1418. "description": "仓库ID",
  1419. "name": "warehouseinfoid",
  1420. "in": "query"
  1421. },
  1422. {
  1423. "type": "string",
  1424. "description": "申请状态(可多项,逗号隔开)1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  1425. "name": "applystatus",
  1426. "in": "query"
  1427. }
  1428. ],
  1429. "responses": {
  1430. "200": {
  1431. "description": "OK",
  1432. "schema": {
  1433. "type": "array",
  1434. "items": {
  1435. "$ref": "#/definitions/ermcp.QryAreaStockApplyRsp"
  1436. }
  1437. }
  1438. },
  1439. "500": {
  1440. "description": "Internal Server Error",
  1441. "schema": {
  1442. "$ref": "#/definitions/app.Response"
  1443. }
  1444. }
  1445. }
  1446. }
  1447. },
  1448. "/Ermcp/QueryAreaStockApplySum": {
  1449. "get": {
  1450. "security": [
  1451. {
  1452. "ApiKeyAuth": []
  1453. }
  1454. ],
  1455. "produces": [
  1456. "application/json"
  1457. ],
  1458. "tags": [
  1459. "企业风险管理(app)"
  1460. ],
  1461. "summary": "查询已登记出入库信息(入库登记/已入库信息 | 出库登记/已出库信息)",
  1462. "parameters": [
  1463. {
  1464. "type": "integer",
  1465. "description": "合同ID",
  1466. "name": "spotcontractid",
  1467. "in": "query"
  1468. }
  1469. ],
  1470. "responses": {
  1471. "200": {
  1472. "description": "OK",
  1473. "schema": {
  1474. "type": "array",
  1475. "items": {
  1476. "$ref": "#/definitions/ermcp.QueryAreaStockApplySumRsp"
  1477. }
  1478. }
  1479. },
  1480. "500": {
  1481. "description": "Internal Server Error",
  1482. "schema": {
  1483. "$ref": "#/definitions/app.Response"
  1484. }
  1485. }
  1486. }
  1487. }
  1488. },
  1489. "/Ermcp/QueryAreaStockReport": {
  1490. "get": {
  1491. "security": [
  1492. {
  1493. "ApiKeyAuth": []
  1494. }
  1495. ],
  1496. "produces": [
  1497. "application/json"
  1498. ],
  1499. "tags": [
  1500. "企业风险管理(app)"
  1501. ],
  1502. "summary": "查询库存报表",
  1503. "parameters": [
  1504. {
  1505. "type": "integer",
  1506. "description": "用户ID",
  1507. "name": "userid",
  1508. "in": "query",
  1509. "required": true
  1510. },
  1511. {
  1512. "type": "integer",
  1513. "description": "查询类型 1-日报表 2-月报表",
  1514. "name": "querytype",
  1515. "in": "query",
  1516. "required": true
  1517. },
  1518. {
  1519. "type": "string",
  1520. "description": "查询日期(格式 日报表YYYYMMDD, 月报表YYYYMM)",
  1521. "name": "querydate",
  1522. "in": "query",
  1523. "required": true
  1524. },
  1525. {
  1526. "type": "integer",
  1527. "description": "现货商品ID",
  1528. "name": "wrstandardid",
  1529. "in": "query"
  1530. },
  1531. {
  1532. "type": "integer",
  1533. "description": "品牌ID",
  1534. "name": "spotgoodsbrandid",
  1535. "in": "query"
  1536. },
  1537. {
  1538. "type": "integer",
  1539. "description": "型号ID",
  1540. "name": "spotgoodsmodelid",
  1541. "in": "query"
  1542. },
  1543. {
  1544. "type": "integer",
  1545. "description": "仓库ID",
  1546. "name": "warehouseinfoid",
  1547. "in": "query"
  1548. }
  1549. ],
  1550. "responses": {
  1551. "200": {
  1552. "description": "OK",
  1553. "schema": {
  1554. "type": "array",
  1555. "items": {
  1556. "$ref": "#/definitions/models.ErmcpAreaStockReport"
  1557. }
  1558. }
  1559. },
  1560. "500": {
  1561. "description": "Internal Server Error",
  1562. "schema": {
  1563. "$ref": "#/definitions/app.Response"
  1564. }
  1565. }
  1566. }
  1567. }
  1568. },
  1569. "/Ermcp/QueryAreaStockReportDetail": {
  1570. "get": {
  1571. "security": [
  1572. {
  1573. "ApiKeyAuth": []
  1574. }
  1575. ],
  1576. "produces": [
  1577. "application/json"
  1578. ],
  1579. "tags": [
  1580. "企业风险管理(app)"
  1581. ],
  1582. "summary": "查询库存报表明细",
  1583. "parameters": [
  1584. {
  1585. "type": "integer",
  1586. "description": "用户ID",
  1587. "name": "userid",
  1588. "in": "query",
  1589. "required": true
  1590. },
  1591. {
  1592. "type": "integer",
  1593. "description": "查询类型 1-日报表明细 2-月报表明细",
  1594. "name": "querytype",
  1595. "in": "query",
  1596. "required": true
  1597. },
  1598. {
  1599. "type": "integer",
  1600. "description": "明细类型 1:入库明细(采购入库+生产入库) 2:出库明细(销售出库+生产出库)",
  1601. "name": "detailtype",
  1602. "in": "query",
  1603. "required": true
  1604. },
  1605. {
  1606. "type": "string",
  1607. "description": "查询日期(格式 日报表YYYYMMDD, 月报表YYYYMM)",
  1608. "name": "querydate",
  1609. "in": "query",
  1610. "required": true
  1611. },
  1612. {
  1613. "type": "integer",
  1614. "description": "现货商品ID",
  1615. "name": "wrstandardid",
  1616. "in": "query"
  1617. },
  1618. {
  1619. "type": "integer",
  1620. "description": "品牌ID",
  1621. "name": "spotgoodsbrandid",
  1622. "in": "query"
  1623. },
  1624. {
  1625. "type": "integer",
  1626. "description": "型号ID",
  1627. "name": "spotgoodsmodelid",
  1628. "in": "query"
  1629. },
  1630. {
  1631. "type": "integer",
  1632. "description": "仓库ID",
  1633. "name": "warehouseinfoid",
  1634. "in": "query"
  1635. }
  1636. ],
  1637. "responses": {
  1638. "200": {
  1639. "description": "OK",
  1640. "schema": {
  1641. "type": "array",
  1642. "items": {
  1643. "$ref": "#/definitions/models.ErmcpAreaStockApply"
  1644. }
  1645. }
  1646. },
  1647. "500": {
  1648. "description": "Internal Server Error",
  1649. "schema": {
  1650. "$ref": "#/definitions/app.Response"
  1651. }
  1652. }
  1653. }
  1654. }
  1655. },
  1656. "/Ermcp/QueryAvaildGoodsGroup": {
  1657. "get": {
  1658. "security": [
  1659. {
  1660. "ApiKeyAuth": []
  1661. }
  1662. ],
  1663. "produces": [
  1664. "application/json"
  1665. ],
  1666. "tags": [
  1667. "企业风险管理(app)"
  1668. ],
  1669. "summary": "查询可配置期货品种(菜单:商品信息/现货商品/新增现货商品/新增套保品种)",
  1670. "parameters": [
  1671. {
  1672. "type": "integer",
  1673. "description": "所属机构ID",
  1674. "name": "userid",
  1675. "in": "query",
  1676. "required": true
  1677. }
  1678. ],
  1679. "responses": {
  1680. "200": {
  1681. "description": "OK",
  1682. "schema": {
  1683. "type": "array",
  1684. "items": {
  1685. "$ref": "#/definitions/ermcp.QryAvalidGPRsp"
  1686. }
  1687. }
  1688. },
  1689. "500": {
  1690. "description": "Internal Server Error",
  1691. "schema": {
  1692. "$ref": "#/definitions/app.Response"
  1693. }
  1694. }
  1695. }
  1696. }
  1697. },
  1698. "/Ermcp/QueryBusinessDj": {
  1699. "get": {
  1700. "security": [
  1701. {
  1702. "ApiKeyAuth": []
  1703. }
  1704. ],
  1705. "produces": [
  1706. "application/json"
  1707. ],
  1708. "tags": [
  1709. "企业风险管理(app)"
  1710. ],
  1711. "summary": "查询业务管理(点价)(对应菜单:业务管理/点价)",
  1712. "parameters": [
  1713. {
  1714. "type": "integer",
  1715. "description": "用户ID",
  1716. "name": "UserId",
  1717. "in": "query",
  1718. "required": true
  1719. },
  1720. {
  1721. "type": "string",
  1722. "description": "现货合同ID, 不填则查所有",
  1723. "name": "relatedid",
  1724. "in": "query"
  1725. }
  1726. ],
  1727. "responses": {
  1728. "200": {
  1729. "description": "OK",
  1730. "schema": {
  1731. "type": "array",
  1732. "items": {
  1733. "$ref": "#/definitions/ermcp.QryBusinessDjRsp"
  1734. }
  1735. }
  1736. },
  1737. "500": {
  1738. "description": "Internal Server Error",
  1739. "schema": {
  1740. "$ref": "#/definitions/app.Response"
  1741. }
  1742. }
  1743. }
  1744. }
  1745. },
  1746. "/Ermcp/QueryBusinessFp": {
  1747. "get": {
  1748. "security": [
  1749. {
  1750. "ApiKeyAuth": []
  1751. }
  1752. ],
  1753. "produces": [
  1754. "application/json"
  1755. ],
  1756. "tags": [
  1757. "企业风险管理(app)"
  1758. ],
  1759. "summary": "查询财务管理(发票)(对应菜单:财务管理/发票)",
  1760. "parameters": [
  1761. {
  1762. "type": "integer",
  1763. "description": "用户ID",
  1764. "name": "UserId",
  1765. "in": "query",
  1766. "required": true
  1767. },
  1768. {
  1769. "type": "string",
  1770. "description": "现货合同ID, 不填则查所有",
  1771. "name": "relatedid",
  1772. "in": "query"
  1773. }
  1774. ],
  1775. "responses": {
  1776. "200": {
  1777. "description": "OK",
  1778. "schema": {
  1779. "type": "array",
  1780. "items": {
  1781. "$ref": "#/definitions/ermcp.QryBussinessFpRsp"
  1782. }
  1783. }
  1784. },
  1785. "500": {
  1786. "description": "Internal Server Error",
  1787. "schema": {
  1788. "$ref": "#/definitions/app.Response"
  1789. }
  1790. }
  1791. }
  1792. }
  1793. },
  1794. "/Ermcp/QueryBusinessJs": {
  1795. "get": {
  1796. "security": [
  1797. {
  1798. "ApiKeyAuth": []
  1799. }
  1800. ],
  1801. "produces": [
  1802. "application/json"
  1803. ],
  1804. "tags": [
  1805. "企业风险管理(app)"
  1806. ],
  1807. "summary": "查询业务管理(结算)(对应菜单:业务管理/结算)",
  1808. "parameters": [
  1809. {
  1810. "type": "integer",
  1811. "description": "用户ID",
  1812. "name": "UserId",
  1813. "in": "query",
  1814. "required": true
  1815. },
  1816. {
  1817. "type": "string",
  1818. "description": "现货合同ID, 不填则查所有",
  1819. "name": "relatedid",
  1820. "in": "query"
  1821. }
  1822. ],
  1823. "responses": {
  1824. "200": {
  1825. "description": "OK",
  1826. "schema": {
  1827. "type": "array",
  1828. "items": {
  1829. "$ref": "#/definitions/ermcp.QryBussinessJsRsp"
  1830. }
  1831. }
  1832. },
  1833. "500": {
  1834. "description": "Internal Server Error",
  1835. "schema": {
  1836. "$ref": "#/definitions/app.Response"
  1837. }
  1838. }
  1839. }
  1840. }
  1841. },
  1842. "/Ermcp/QueryBusinessJsEx": {
  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": "UserId",
  1861. "in": "query",
  1862. "required": true
  1863. },
  1864. {
  1865. "type": "string",
  1866. "description": "现货合同ID, 不填则查所有",
  1867. "name": "relatedid",
  1868. "in": "query"
  1869. }
  1870. ],
  1871. "responses": {
  1872. "200": {
  1873. "description": "OK",
  1874. "schema": {
  1875. "type": "array",
  1876. "items": {
  1877. "$ref": "#/definitions/ermcp.QryBussinessJsExRsp"
  1878. }
  1879. }
  1880. },
  1881. "500": {
  1882. "description": "Internal Server Error",
  1883. "schema": {
  1884. "$ref": "#/definitions/app.Response"
  1885. }
  1886. }
  1887. }
  1888. }
  1889. },
  1890. "/Ermcp/QueryBusinessKx": {
  1891. "get": {
  1892. "security": [
  1893. {
  1894. "ApiKeyAuth": []
  1895. }
  1896. ],
  1897. "produces": [
  1898. "application/json"
  1899. ],
  1900. "tags": [
  1901. "企业风险管理(app)"
  1902. ],
  1903. "summary": "查询财务管理(款项)(对应菜单:财务管理/款项)",
  1904. "parameters": [
  1905. {
  1906. "type": "integer",
  1907. "description": "用户ID",
  1908. "name": "UserId",
  1909. "in": "query",
  1910. "required": true
  1911. },
  1912. {
  1913. "type": "string",
  1914. "description": "现货合同ID, 不填则查所有",
  1915. "name": "relatedid",
  1916. "in": "query"
  1917. }
  1918. ],
  1919. "responses": {
  1920. "200": {
  1921. "description": "OK",
  1922. "schema": {
  1923. "type": "array",
  1924. "items": {
  1925. "$ref": "#/definitions/ermcp.QryBussinessKxRsp"
  1926. }
  1927. }
  1928. },
  1929. "500": {
  1930. "description": "Internal Server Error",
  1931. "schema": {
  1932. "$ref": "#/definitions/app.Response"
  1933. }
  1934. }
  1935. }
  1936. }
  1937. },
  1938. "/Ermcp/QueryChangeLog": {
  1939. "get": {
  1940. "security": [
  1941. {
  1942. "ApiKeyAuth": []
  1943. }
  1944. ],
  1945. "produces": [
  1946. "application/json"
  1947. ],
  1948. "tags": [
  1949. "企业风险管理(app)"
  1950. ],
  1951. "summary": "查询变更记录",
  1952. "parameters": [
  1953. {
  1954. "type": "string",
  1955. "description": "合同ID",
  1956. "name": "RelatedId",
  1957. "in": "query",
  1958. "required": true
  1959. }
  1960. ],
  1961. "responses": {
  1962. "200": {
  1963. "description": "OK",
  1964. "schema": {
  1965. "type": "array",
  1966. "items": {
  1967. "$ref": "#/definitions/ermcp.QryOPLogRsp"
  1968. }
  1969. }
  1970. },
  1971. "500": {
  1972. "description": "Internal Server Error",
  1973. "schema": {
  1974. "$ref": "#/definitions/app.Response"
  1975. }
  1976. }
  1977. }
  1978. }
  1979. },
  1980. "/Ermcp/QueryContract": {
  1981. "get": {
  1982. "security": [
  1983. {
  1984. "ApiKeyAuth": []
  1985. }
  1986. ],
  1987. "produces": [
  1988. "application/json"
  1989. ],
  1990. "tags": [
  1991. "企业风险管理(app)"
  1992. ],
  1993. "summary": "查询合同(采购和销售)",
  1994. "parameters": [
  1995. {
  1996. "type": "integer",
  1997. "description": "用户ID",
  1998. "name": "userId",
  1999. "in": "query",
  2000. "required": true
  2001. },
  2002. {
  2003. "type": "integer",
  2004. "description": "合同类型 1-采购, -1-销售",
  2005. "name": "contracttype",
  2006. "in": "query",
  2007. "required": true
  2008. },
  2009. {
  2010. "type": "integer",
  2011. "description": "查询类型 1-全部 2-待点价 3-履约结算",
  2012. "name": "querytype",
  2013. "in": "query",
  2014. "required": true
  2015. }
  2016. ],
  2017. "responses": {
  2018. "200": {
  2019. "description": "OK",
  2020. "schema": {
  2021. "type": "array",
  2022. "items": {
  2023. "$ref": "#/definitions/ermcp.QryErmcpRsp"
  2024. }
  2025. }
  2026. },
  2027. "500": {
  2028. "description": "Internal Server Error",
  2029. "schema": {
  2030. "$ref": "#/definitions/app.Response"
  2031. }
  2032. }
  2033. }
  2034. }
  2035. },
  2036. "/Ermcp/QueryErmcpHisOrderDetails": {
  2037. "get": {
  2038. "security": [
  2039. {
  2040. "ApiKeyAuth": []
  2041. }
  2042. ],
  2043. "produces": [
  2044. "application/json"
  2045. ],
  2046. "tags": [
  2047. "企业风险管理(app)"
  2048. ],
  2049. "summary": "获取企业风管期货历史委托单信息",
  2050. "parameters": [
  2051. {
  2052. "type": "integer",
  2053. "description": "资金账户ID",
  2054. "name": "accountID",
  2055. "in": "query",
  2056. "required": true
  2057. },
  2058. {
  2059. "type": "string",
  2060. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  2061. "name": "startDate",
  2062. "in": "query"
  2063. },
  2064. {
  2065. "type": "string",
  2066. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  2067. "name": "endDate",
  2068. "in": "query"
  2069. }
  2070. ],
  2071. "responses": {
  2072. "200": {
  2073. "description": "OK",
  2074. "schema": {
  2075. "$ref": "#/definitions/models.QueryHedgeOrderDetailRsp"
  2076. }
  2077. },
  2078. "500": {
  2079. "description": "Internal Server Error",
  2080. "schema": {
  2081. "$ref": "#/definitions/app.Response"
  2082. }
  2083. }
  2084. }
  2085. }
  2086. },
  2087. "/Ermcp/QueryErmcpHisTradeDetails": {
  2088. "get": {
  2089. "security": [
  2090. {
  2091. "ApiKeyAuth": []
  2092. }
  2093. ],
  2094. "produces": [
  2095. "application/json"
  2096. ],
  2097. "tags": [
  2098. "企业风险管理(app)"
  2099. ],
  2100. "summary": "获取企业风管期货历史成交单信息",
  2101. "parameters": [
  2102. {
  2103. "type": "integer",
  2104. "description": "资金账户ID",
  2105. "name": "accountID",
  2106. "in": "query",
  2107. "required": true
  2108. },
  2109. {
  2110. "type": "integer",
  2111. "description": "商品ID",
  2112. "name": "goodsID",
  2113. "in": "query"
  2114. },
  2115. {
  2116. "type": "integer",
  2117. "description": "买卖方向,0:买 1:卖",
  2118. "name": "buyOrSell",
  2119. "in": "query"
  2120. },
  2121. {
  2122. "type": "string",
  2123. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  2124. "name": "startDate",
  2125. "in": "query"
  2126. },
  2127. {
  2128. "type": "string",
  2129. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  2130. "name": "endDate",
  2131. "in": "query"
  2132. }
  2133. ],
  2134. "responses": {
  2135. "200": {
  2136. "description": "OK",
  2137. "schema": {
  2138. "$ref": "#/definitions/models.QueryHedgeTradeDetailRsp"
  2139. }
  2140. },
  2141. "500": {
  2142. "description": "Internal Server Error",
  2143. "schema": {
  2144. "$ref": "#/definitions/app.Response"
  2145. }
  2146. }
  2147. }
  2148. }
  2149. },
  2150. "/Ermcp/QueryErmcpOrderDetails": {
  2151. "get": {
  2152. "security": [
  2153. {
  2154. "ApiKeyAuth": []
  2155. }
  2156. ],
  2157. "produces": [
  2158. "application/json"
  2159. ],
  2160. "tags": [
  2161. "企业风险管理(app)"
  2162. ],
  2163. "summary": "获取企业风管期货委托单信息",
  2164. "parameters": [
  2165. {
  2166. "type": "integer",
  2167. "description": "资金账户ID",
  2168. "name": "accountID",
  2169. "in": "query",
  2170. "required": true
  2171. }
  2172. ],
  2173. "responses": {
  2174. "200": {
  2175. "description": "OK",
  2176. "schema": {
  2177. "$ref": "#/definitions/models.QueryHedgeOrderDetailRsp"
  2178. }
  2179. },
  2180. "500": {
  2181. "description": "Internal Server Error",
  2182. "schema": {
  2183. "$ref": "#/definitions/app.Response"
  2184. }
  2185. }
  2186. }
  2187. }
  2188. },
  2189. "/Ermcp/QueryErmcpTradeDetails": {
  2190. "get": {
  2191. "security": [
  2192. {
  2193. "ApiKeyAuth": []
  2194. }
  2195. ],
  2196. "produces": [
  2197. "application/json"
  2198. ],
  2199. "tags": [
  2200. "企业风险管理(app)"
  2201. ],
  2202. "summary": "获取企业风管期货成交单信息",
  2203. "parameters": [
  2204. {
  2205. "type": "integer",
  2206. "description": "资金账户ID",
  2207. "name": "accountID",
  2208. "in": "query",
  2209. "required": true
  2210. },
  2211. {
  2212. "type": "integer",
  2213. "description": "商品ID",
  2214. "name": "goodsID",
  2215. "in": "query"
  2216. },
  2217. {
  2218. "type": "integer",
  2219. "description": "买卖方向,0:买 1:卖",
  2220. "name": "buyOrSell",
  2221. "in": "query"
  2222. }
  2223. ],
  2224. "responses": {
  2225. "200": {
  2226. "description": "OK",
  2227. "schema": {
  2228. "$ref": "#/definitions/models.QueryHedgeTradeDetailRsp"
  2229. }
  2230. },
  2231. "500": {
  2232. "description": "Internal Server Error",
  2233. "schema": {
  2234. "$ref": "#/definitions/app.Response"
  2235. }
  2236. }
  2237. }
  2238. }
  2239. },
  2240. "/Ermcp/QueryErmcpTradePosition": {
  2241. "get": {
  2242. "security": [
  2243. {
  2244. "ApiKeyAuth": []
  2245. }
  2246. ],
  2247. "description": "本接口只使用于通道交易相关头寸查询;子账户持仓头寸占用保证金为0;",
  2248. "produces": [
  2249. "application/json"
  2250. ],
  2251. "tags": [
  2252. "企业风险管理(app)"
  2253. ],
  2254. "summary": "获取企业风管期货持仓头寸信息",
  2255. "parameters": [
  2256. {
  2257. "type": "integer",
  2258. "description": "资金账户ID",
  2259. "name": "accountID",
  2260. "in": "query",
  2261. "required": true
  2262. },
  2263. {
  2264. "type": "integer",
  2265. "description": "所属市场ID",
  2266. "name": "marketID",
  2267. "in": "query"
  2268. }
  2269. ],
  2270. "responses": {
  2271. "200": {
  2272. "description": "OK",
  2273. "schema": {
  2274. "$ref": "#/definitions/ermcp.QueryErmcpTradePositionRsp"
  2275. }
  2276. },
  2277. "500": {
  2278. "description": "Internal Server Error",
  2279. "schema": {
  2280. "$ref": "#/definitions/app.Response"
  2281. }
  2282. }
  2283. }
  2284. }
  2285. },
  2286. "/Ermcp/QueryExposureDetail": {
  2287. "get": {
  2288. "security": [
  2289. {
  2290. "ApiKeyAuth": []
  2291. }
  2292. ],
  2293. "produces": [
  2294. "application/json"
  2295. ],
  2296. "tags": [
  2297. "企业风险管理(app)"
  2298. ],
  2299. "summary": "查询敞口现货明细",
  2300. "parameters": [
  2301. {
  2302. "type": "integer",
  2303. "description": "所属机构ID",
  2304. "name": "areaUserId",
  2305. "in": "query",
  2306. "required": true
  2307. },
  2308. {
  2309. "type": "integer",
  2310. "description": "套保商品",
  2311. "name": "middleGoodsId",
  2312. "in": "query",
  2313. "required": true
  2314. }
  2315. ],
  2316. "responses": {
  2317. "200": {
  2318. "description": "OK",
  2319. "schema": {
  2320. "type": "array",
  2321. "items": {
  2322. "$ref": "#/definitions/ermcp.ExposureDetailRsp"
  2323. }
  2324. }
  2325. },
  2326. "500": {
  2327. "description": "Internal Server Error",
  2328. "schema": {
  2329. "$ref": "#/definitions/app.Response"
  2330. }
  2331. }
  2332. }
  2333. }
  2334. },
  2335. "/Ermcp/QueryExposureHedgePosition": {
  2336. "get": {
  2337. "security": [
  2338. {
  2339. "ApiKeyAuth": []
  2340. }
  2341. ],
  2342. "produces": [
  2343. "application/json"
  2344. ],
  2345. "tags": [
  2346. "企业风险管理(app)"
  2347. ],
  2348. "summary": "查询敞口期货头寸(菜单:敞口/期货头寸)",
  2349. "parameters": [
  2350. {
  2351. "type": "integer",
  2352. "description": "所属机构ID",
  2353. "name": "areaUserId",
  2354. "in": "query",
  2355. "required": true
  2356. }
  2357. ],
  2358. "responses": {
  2359. "200": {
  2360. "description": "OK",
  2361. "schema": {
  2362. "type": "array",
  2363. "items": {
  2364. "$ref": "#/definitions/ermcp.ExposureHedgePositionRsp"
  2365. }
  2366. }
  2367. },
  2368. "500": {
  2369. "description": "Internal Server Error",
  2370. "schema": {
  2371. "$ref": "#/definitions/app.Response"
  2372. }
  2373. }
  2374. }
  2375. }
  2376. },
  2377. "/Ermcp/QueryExposureHedgePositionDetail": {
  2378. "get": {
  2379. "security": [
  2380. {
  2381. "ApiKeyAuth": []
  2382. }
  2383. ],
  2384. "produces": [
  2385. "application/json"
  2386. ],
  2387. "tags": [
  2388. "企业风险管理(app)"
  2389. ],
  2390. "summary": "查询敞口期货头寸期货明细(菜单:敞口/期货头寸/期货明细)",
  2391. "parameters": [
  2392. {
  2393. "type": "integer",
  2394. "description": "所属机构ID",
  2395. "name": "areaUserId",
  2396. "in": "query",
  2397. "required": true
  2398. },
  2399. {
  2400. "type": "integer",
  2401. "description": "商品id",
  2402. "name": "goodsId",
  2403. "in": "query",
  2404. "required": true
  2405. }
  2406. ],
  2407. "responses": {
  2408. "200": {
  2409. "description": "OK",
  2410. "schema": {
  2411. "type": "array",
  2412. "items": {
  2413. "$ref": "#/definitions/ermcp.ExposureHedgePosDetailRsp"
  2414. }
  2415. }
  2416. },
  2417. "500": {
  2418. "description": "Internal Server Error",
  2419. "schema": {
  2420. "$ref": "#/definitions/app.Response"
  2421. }
  2422. }
  2423. }
  2424. }
  2425. },
  2426. "/Ermcp/QueryExposureSpot": {
  2427. "get": {
  2428. "security": [
  2429. {
  2430. "ApiKeyAuth": []
  2431. }
  2432. ],
  2433. "produces": [
  2434. "application/json"
  2435. ],
  2436. "tags": [
  2437. "企业风险管理(app)"
  2438. ],
  2439. "summary": "查询敞口现货头寸(敞口/现货头寸)",
  2440. "parameters": [
  2441. {
  2442. "type": "integer",
  2443. "description": "所属机构ID",
  2444. "name": "areaUserId",
  2445. "in": "query",
  2446. "required": true
  2447. }
  2448. ],
  2449. "responses": {
  2450. "200": {
  2451. "description": "OK",
  2452. "schema": {
  2453. "type": "array",
  2454. "items": {
  2455. "$ref": "#/definitions/ermcp.ExposureSpotRsp"
  2456. }
  2457. }
  2458. },
  2459. "500": {
  2460. "description": "Internal Server Error",
  2461. "schema": {
  2462. "$ref": "#/definitions/app.Response"
  2463. }
  2464. }
  2465. }
  2466. }
  2467. },
  2468. "/Ermcp/QueryExposureSpotDetail": {
  2469. "get": {
  2470. "security": [
  2471. {
  2472. "ApiKeyAuth": []
  2473. }
  2474. ],
  2475. "produces": [
  2476. "application/json"
  2477. ],
  2478. "tags": [
  2479. "企业风险管理(app)"
  2480. ],
  2481. "summary": "查询敞口现货头寸明细(敞口/现货头寸/现货明细)",
  2482. "parameters": [
  2483. {
  2484. "type": "integer",
  2485. "description": "所属机构ID",
  2486. "name": "areaUserId",
  2487. "in": "query",
  2488. "required": true
  2489. },
  2490. {
  2491. "type": "integer",
  2492. "description": "现货品种ID",
  2493. "name": "wrstandardId",
  2494. "in": "query",
  2495. "required": true
  2496. }
  2497. ],
  2498. "responses": {
  2499. "200": {
  2500. "description": "OK",
  2501. "schema": {
  2502. "type": "array",
  2503. "items": {
  2504. "$ref": "#/definitions/ermcp.ExposureSpotDetailRsp"
  2505. }
  2506. }
  2507. },
  2508. "500": {
  2509. "description": "Internal Server Error",
  2510. "schema": {
  2511. "$ref": "#/definitions/app.Response"
  2512. }
  2513. }
  2514. }
  2515. }
  2516. },
  2517. "/Ermcp/QueryGGConvertConfig": {
  2518. "get": {
  2519. "security": [
  2520. {
  2521. "ApiKeyAuth": []
  2522. }
  2523. ],
  2524. "produces": [
  2525. "application/json"
  2526. ],
  2527. "tags": [
  2528. "企业风险管理(app)"
  2529. ],
  2530. "summary": "查询期货品种配置(菜单:商品信息/期货品种)",
  2531. "parameters": [
  2532. {
  2533. "type": "integer",
  2534. "description": "品种id(不填则查所有)",
  2535. "name": "goodsgroupid",
  2536. "in": "query"
  2537. }
  2538. ],
  2539. "responses": {
  2540. "200": {
  2541. "description": "OK",
  2542. "schema": {
  2543. "type": "array",
  2544. "items": {
  2545. "$ref": "#/definitions/ermcp.QryGGCovertCfgRsp"
  2546. }
  2547. }
  2548. },
  2549. "500": {
  2550. "description": "Internal Server Error",
  2551. "schema": {
  2552. "$ref": "#/definitions/app.Response"
  2553. }
  2554. }
  2555. }
  2556. }
  2557. },
  2558. "/Ermcp/QueryHedgePlan": {
  2559. "get": {
  2560. "security": [
  2561. {
  2562. "ApiKeyAuth": []
  2563. }
  2564. ],
  2565. "produces": [
  2566. "application/json"
  2567. ],
  2568. "tags": [
  2569. "企业风险管理(app)"
  2570. ],
  2571. "summary": "查询套保计划",
  2572. "parameters": [
  2573. {
  2574. "type": "integer",
  2575. "description": "用户ID",
  2576. "name": "userId",
  2577. "in": "query",
  2578. "required": true
  2579. },
  2580. {
  2581. "type": "string",
  2582. "description": "套保计划状态(允许多个,逗号隔开) - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  2583. "name": "HedgePlanStatus",
  2584. "in": "query",
  2585. "required": true
  2586. }
  2587. ],
  2588. "responses": {
  2589. "200": {
  2590. "description": "OK",
  2591. "schema": {
  2592. "type": "array",
  2593. "items": {
  2594. "$ref": "#/definitions/ermcp.QryHedgePlanRsp"
  2595. }
  2596. }
  2597. },
  2598. "500": {
  2599. "description": "Internal Server Error",
  2600. "schema": {
  2601. "$ref": "#/definitions/app.Response"
  2602. }
  2603. }
  2604. }
  2605. }
  2606. },
  2607. "/Ermcp/QueryHisExposure": {
  2608. "get": {
  2609. "security": [
  2610. {
  2611. "ApiKeyAuth": []
  2612. }
  2613. ],
  2614. "produces": [
  2615. "application/json"
  2616. ],
  2617. "tags": [
  2618. "企业风险管理(app)"
  2619. ],
  2620. "summary": "查询历史敞口(菜单:敞口/历史敞口)",
  2621. "parameters": [
  2622. {
  2623. "type": "integer",
  2624. "description": "所属机构ID",
  2625. "name": "areaUserId",
  2626. "in": "query",
  2627. "required": true
  2628. },
  2629. {
  2630. "type": "integer",
  2631. "description": "每个品种记录数",
  2632. "name": "lastNum",
  2633. "in": "query",
  2634. "required": true
  2635. }
  2636. ],
  2637. "responses": {
  2638. "200": {
  2639. "description": "OK",
  2640. "schema": {
  2641. "type": "array",
  2642. "items": {
  2643. "$ref": "#/definitions/ermcp.HisExposureRsp"
  2644. }
  2645. }
  2646. },
  2647. "500": {
  2648. "description": "Internal Server Error",
  2649. "schema": {
  2650. "$ref": "#/definitions/app.Response"
  2651. }
  2652. }
  2653. }
  2654. }
  2655. },
  2656. "/Ermcp/QueryMiddleGoods": {
  2657. "get": {
  2658. "security": [
  2659. {
  2660. "ApiKeyAuth": []
  2661. }
  2662. ],
  2663. "produces": [
  2664. "application/json"
  2665. ],
  2666. "tags": [
  2667. "企业风险管理(app)"
  2668. ],
  2669. "summary": "查询套保品种(菜单:套保品种)",
  2670. "parameters": [
  2671. {
  2672. "type": "integer",
  2673. "description": "所属机构ID",
  2674. "name": "userid",
  2675. "in": "query",
  2676. "required": true
  2677. },
  2678. {
  2679. "type": "integer",
  2680. "description": "状态 0-停用 1-正常",
  2681. "name": "status",
  2682. "in": "query",
  2683. "required": true
  2684. }
  2685. ],
  2686. "responses": {
  2687. "200": {
  2688. "description": "OK",
  2689. "schema": {
  2690. "type": "array",
  2691. "items": {
  2692. "$ref": "#/definitions/ermcp.QryMiddleGoodsRsp"
  2693. }
  2694. }
  2695. },
  2696. "500": {
  2697. "description": "Internal Server Error",
  2698. "schema": {
  2699. "$ref": "#/definitions/app.Response"
  2700. }
  2701. }
  2702. }
  2703. }
  2704. },
  2705. "/Ermcp/QueryMiddleGoodsChangeLog": {
  2706. "get": {
  2707. "security": [
  2708. {
  2709. "ApiKeyAuth": []
  2710. }
  2711. ],
  2712. "produces": [
  2713. "application/json"
  2714. ],
  2715. "tags": [
  2716. "企业风险管理(app)"
  2717. ],
  2718. "summary": "查询套保品种变更记录(菜单:套保品种/商品详情/变更记录)",
  2719. "parameters": [
  2720. {
  2721. "type": "integer",
  2722. "description": "所属机构ID",
  2723. "name": "userid",
  2724. "in": "query",
  2725. "required": true
  2726. },
  2727. {
  2728. "type": "integer",
  2729. "description": "套保品种id",
  2730. "name": "middlegoodsid",
  2731. "in": "query",
  2732. "required": true
  2733. }
  2734. ],
  2735. "responses": {
  2736. "200": {
  2737. "description": "OK",
  2738. "schema": {
  2739. "type": "array",
  2740. "items": {
  2741. "$ref": "#/definitions/ermcp.QryMGChangeLogRsp"
  2742. }
  2743. }
  2744. },
  2745. "500": {
  2746. "description": "Internal Server Error",
  2747. "schema": {
  2748. "$ref": "#/definitions/app.Response"
  2749. }
  2750. }
  2751. }
  2752. }
  2753. },
  2754. "/Ermcp/QueryMiddleGoodsDetail": {
  2755. "get": {
  2756. "security": [
  2757. {
  2758. "ApiKeyAuth": []
  2759. }
  2760. ],
  2761. "produces": [
  2762. "application/json"
  2763. ],
  2764. "tags": [
  2765. "企业风险管理(app)"
  2766. ],
  2767. "summary": "查询套保品种详情(菜单:套保品种/商品详情)",
  2768. "parameters": [
  2769. {
  2770. "type": "integer",
  2771. "description": "所属机构ID",
  2772. "name": "userid",
  2773. "in": "query",
  2774. "required": true
  2775. },
  2776. {
  2777. "type": "integer",
  2778. "description": "套保品种id",
  2779. "name": "middlegoodsid",
  2780. "in": "query",
  2781. "required": true
  2782. }
  2783. ],
  2784. "responses": {
  2785. "200": {
  2786. "description": "OK",
  2787. "schema": {
  2788. "type": "array",
  2789. "items": {
  2790. "$ref": "#/definitions/ermcp.QryMiddleGoodsDetailRsp"
  2791. }
  2792. }
  2793. },
  2794. "500": {
  2795. "description": "Internal Server Error",
  2796. "schema": {
  2797. "$ref": "#/definitions/app.Response"
  2798. }
  2799. }
  2800. }
  2801. }
  2802. },
  2803. "/Ermcp/QueryPendingAuditInfo": {
  2804. "get": {
  2805. "security": [
  2806. {
  2807. "ApiKeyAuth": []
  2808. }
  2809. ],
  2810. "produces": [
  2811. "application/json"
  2812. ],
  2813. "tags": [
  2814. "企业风险管理(app)"
  2815. ],
  2816. "summary": "查询待审核数量信息(首页/菜单按钮小红点)",
  2817. "parameters": [
  2818. {
  2819. "type": "integer",
  2820. "description": "用户ID",
  2821. "name": "UserId",
  2822. "in": "query",
  2823. "required": true
  2824. }
  2825. ],
  2826. "responses": {
  2827. "200": {
  2828. "description": "OK",
  2829. "schema": {
  2830. "type": "array",
  2831. "items": {
  2832. "$ref": "#/definitions/ermcp.PendingAuditCntRsp"
  2833. }
  2834. }
  2835. },
  2836. "500": {
  2837. "description": "Internal Server Error",
  2838. "schema": {
  2839. "$ref": "#/definitions/app.Response"
  2840. }
  2841. }
  2842. }
  2843. }
  2844. },
  2845. "/Ermcp/QueryRealtimeExposure": {
  2846. "get": {
  2847. "security": [
  2848. {
  2849. "ApiKeyAuth": []
  2850. }
  2851. ],
  2852. "produces": [
  2853. "application/json"
  2854. ],
  2855. "tags": [
  2856. "企业风险管理(app)"
  2857. ],
  2858. "summary": "查询实时敞口",
  2859. "parameters": [
  2860. {
  2861. "type": "integer",
  2862. "description": "所属机构ID",
  2863. "name": "AreaUserID",
  2864. "in": "query",
  2865. "required": true
  2866. }
  2867. ],
  2868. "responses": {
  2869. "200": {
  2870. "description": "OK",
  2871. "schema": {
  2872. "type": "array",
  2873. "items": {
  2874. "$ref": "#/definitions/ermcp.RealtimeExposureRsp"
  2875. }
  2876. }
  2877. },
  2878. "500": {
  2879. "description": "Internal Server Error",
  2880. "schema": {
  2881. "$ref": "#/definitions/app.Response"
  2882. }
  2883. }
  2884. }
  2885. }
  2886. },
  2887. "/Ermcp/QueryRealtimeExposurePosition": {
  2888. "get": {
  2889. "security": [
  2890. {
  2891. "ApiKeyAuth": []
  2892. }
  2893. ],
  2894. "produces": [
  2895. "application/json"
  2896. ],
  2897. "tags": [
  2898. "企业风险管理(app)"
  2899. ],
  2900. "summary": "查询实时敞口期货头寸明细(菜单:实时敞口/期货明细)",
  2901. "parameters": [
  2902. {
  2903. "type": "integer",
  2904. "description": "所属机构ID",
  2905. "name": "areaUserId",
  2906. "in": "query",
  2907. "required": true
  2908. },
  2909. {
  2910. "type": "integer",
  2911. "description": "套保商品ID",
  2912. "name": "middleGoodsId",
  2913. "in": "query",
  2914. "required": true
  2915. }
  2916. ],
  2917. "responses": {
  2918. "200": {
  2919. "description": "OK",
  2920. "schema": {
  2921. "type": "array",
  2922. "items": {
  2923. "$ref": "#/definitions/ermcp.RealtimeExposurePositionRsp"
  2924. }
  2925. }
  2926. },
  2927. "500": {
  2928. "description": "Internal Server Error",
  2929. "schema": {
  2930. "$ref": "#/definitions/app.Response"
  2931. }
  2932. }
  2933. }
  2934. }
  2935. },
  2936. "/Ermcp/QuerySpotContract": {
  2937. "get": {
  2938. "security": [
  2939. {
  2940. "ApiKeyAuth": []
  2941. }
  2942. ],
  2943. "produces": [
  2944. "application/json"
  2945. ],
  2946. "tags": [
  2947. "企业风险管理(app)"
  2948. ],
  2949. "summary": "查询现货合同(对应现货合同菜单)",
  2950. "parameters": [
  2951. {
  2952. "type": "integer",
  2953. "description": "用户ID",
  2954. "name": "userId",
  2955. "in": "query",
  2956. "required": true
  2957. },
  2958. {
  2959. "type": "integer",
  2960. "description": "查询类型 1-未提交 2-待审核 3-履约中 4-已完成",
  2961. "name": "QueryType",
  2962. "in": "query",
  2963. "required": true
  2964. }
  2965. ],
  2966. "responses": {
  2967. "200": {
  2968. "description": "OK",
  2969. "schema": {
  2970. "type": "array",
  2971. "items": {
  2972. "$ref": "#/definitions/ermcp.QrySpotContractRsp"
  2973. }
  2974. }
  2975. },
  2976. "500": {
  2977. "description": "Internal Server Error",
  2978. "schema": {
  2979. "$ref": "#/definitions/app.Response"
  2980. }
  2981. }
  2982. }
  2983. }
  2984. },
  2985. "/Ermcp/QueryUserInfo": {
  2986. "get": {
  2987. "security": [
  2988. {
  2989. "ApiKeyAuth": []
  2990. }
  2991. ],
  2992. "produces": [
  2993. "application/json"
  2994. ],
  2995. "tags": [
  2996. "企业风险管理(app)"
  2997. ],
  2998. "summary": "查询客户资料",
  2999. "parameters": [
  3000. {
  3001. "type": "integer",
  3002. "description": "所属机构用户ID",
  3003. "name": "MemberUserID",
  3004. "in": "query",
  3005. "required": true
  3006. },
  3007. {
  3008. "type": "integer",
  3009. "description": "查询类型(1:未提交 2:待审核 3:正常 4:停用)",
  3010. "name": "queryType",
  3011. "in": "query",
  3012. "required": true
  3013. }
  3014. ],
  3015. "responses": {
  3016. "200": {
  3017. "description": "OK",
  3018. "schema": {
  3019. "type": "array",
  3020. "items": {
  3021. "$ref": "#/definitions/ermcp.QryUserInfoRsp"
  3022. }
  3023. }
  3024. },
  3025. "500": {
  3026. "description": "Internal Server Error",
  3027. "schema": {
  3028. "$ref": "#/definitions/app.Response"
  3029. }
  3030. }
  3031. }
  3032. }
  3033. },
  3034. "/Ermcp/QueryWarehouseInfo": {
  3035. "get": {
  3036. "security": [
  3037. {
  3038. "ApiKeyAuth": []
  3039. }
  3040. ],
  3041. "produces": [
  3042. "application/json"
  3043. ],
  3044. "tags": [
  3045. "企业风险管理(app)"
  3046. ],
  3047. "summary": "查询仓库信息",
  3048. "parameters": [
  3049. {
  3050. "type": "integer",
  3051. "description": "用户ID",
  3052. "name": "userid",
  3053. "in": "query",
  3054. "required": true
  3055. },
  3056. {
  3057. "type": "string",
  3058. "description": "仓库状态(可多项,逗号隔开) 1:正常 2:注销 3:待审核 4:审核拒绝",
  3059. "name": "status",
  3060. "in": "query"
  3061. }
  3062. ],
  3063. "responses": {
  3064. "200": {
  3065. "description": "OK",
  3066. "schema": {
  3067. "type": "array",
  3068. "items": {
  3069. "$ref": "#/definitions/ermcp.QryWarehouseRsp"
  3070. }
  3071. }
  3072. },
  3073. "500": {
  3074. "description": "Internal Server Error",
  3075. "schema": {
  3076. "$ref": "#/definitions/app.Response"
  3077. }
  3078. }
  3079. }
  3080. }
  3081. },
  3082. "/Ermcp/QueryWrStandard": {
  3083. "get": {
  3084. "security": [
  3085. {
  3086. "ApiKeyAuth": []
  3087. }
  3088. ],
  3089. "produces": [
  3090. "application/json"
  3091. ],
  3092. "tags": [
  3093. "企业风险管理(app)"
  3094. ],
  3095. "summary": "查询现货商品",
  3096. "parameters": [
  3097. {
  3098. "type": "integer",
  3099. "description": "所属机构ID",
  3100. "name": "userid",
  3101. "in": "query",
  3102. "required": true
  3103. },
  3104. {
  3105. "type": "integer",
  3106. "description": "状态 0-停用 1-正常",
  3107. "name": "status",
  3108. "in": "query",
  3109. "required": true
  3110. }
  3111. ],
  3112. "responses": {
  3113. "200": {
  3114. "description": "OK",
  3115. "schema": {
  3116. "type": "array",
  3117. "items": {
  3118. "$ref": "#/definitions/ermcp.QryWrStandardRsp"
  3119. }
  3120. }
  3121. },
  3122. "500": {
  3123. "description": "Internal Server Error",
  3124. "schema": {
  3125. "$ref": "#/definitions/app.Response"
  3126. }
  3127. }
  3128. }
  3129. }
  3130. },
  3131. "/Ermcp/QueryWrStandardDetail": {
  3132. "get": {
  3133. "security": [
  3134. {
  3135. "ApiKeyAuth": []
  3136. }
  3137. ],
  3138. "produces": [
  3139. "application/json"
  3140. ],
  3141. "tags": [
  3142. "企业风险管理(app)"
  3143. ],
  3144. "summary": "查询现货商品详情(菜单:现货品种/现货品种详情)",
  3145. "parameters": [
  3146. {
  3147. "type": "integer",
  3148. "description": "所属机构ID",
  3149. "name": "userid",
  3150. "in": "query",
  3151. "required": true
  3152. },
  3153. {
  3154. "type": "integer",
  3155. "description": "现货商品ID",
  3156. "name": "wrstandardid",
  3157. "in": "query",
  3158. "required": true
  3159. },
  3160. {
  3161. "type": "integer",
  3162. "description": "可不填, 1-查询关联交易商品",
  3163. "name": "goods",
  3164. "in": "query"
  3165. }
  3166. ],
  3167. "responses": {
  3168. "200": {
  3169. "description": "OK",
  3170. "schema": {
  3171. "type": "array",
  3172. "items": {
  3173. "$ref": "#/definitions/ermcp.QryWrStandardDetailRsp"
  3174. }
  3175. }
  3176. },
  3177. "500": {
  3178. "description": "Internal Server Error",
  3179. "schema": {
  3180. "$ref": "#/definitions/app.Response"
  3181. }
  3182. }
  3183. }
  3184. }
  3185. },
  3186. "/Erms2/QueryArbitrageStrategy": {
  3187. "get": {
  3188. "security": [
  3189. {
  3190. "ApiKeyAuth": []
  3191. }
  3192. ],
  3193. "produces": [
  3194. "application/json"
  3195. ],
  3196. "tags": [
  3197. "风险管理"
  3198. ],
  3199. "summary": "查询期现套利策略表信息(指定资金账户、未结束的)",
  3200. "parameters": [
  3201. {
  3202. "type": "integer",
  3203. "description": "账户ID",
  3204. "name": "userid",
  3205. "in": "query",
  3206. "required": true
  3207. },
  3208. {
  3209. "type": "string",
  3210. "description": "商品组ID(品种ID)",
  3211. "name": "goodsgroupid",
  3212. "in": "query"
  3213. }
  3214. ],
  3215. "responses": {
  3216. "200": {
  3217. "description": "OK",
  3218. "schema": {
  3219. "$ref": "#/definitions/erms2.QueryArbitrageStrategyRsp"
  3220. }
  3221. },
  3222. "500": {
  3223. "description": "Internal Server Error",
  3224. "schema": {
  3225. "$ref": "#/definitions/app.Response"
  3226. }
  3227. }
  3228. }
  3229. }
  3230. },
  3231. "/Erms2/QueryInnerTradeDetail": {
  3232. "get": {
  3233. "security": [
  3234. {
  3235. "ApiKeyAuth": []
  3236. }
  3237. ],
  3238. "produces": [
  3239. "application/json"
  3240. ],
  3241. "tags": [
  3242. "风险管理"
  3243. ],
  3244. "summary": "查询内部成交单信息",
  3245. "parameters": [
  3246. {
  3247. "type": "integer",
  3248. "description": "资金账户",
  3249. "name": "accountid",
  3250. "in": "query",
  3251. "required": true
  3252. }
  3253. ],
  3254. "responses": {
  3255. "200": {
  3256. "description": "OK",
  3257. "schema": {
  3258. "$ref": "#/definitions/erms2.QueryInnerTradeDetailRsp"
  3259. }
  3260. },
  3261. "500": {
  3262. "description": "Internal Server Error",
  3263. "schema": {
  3264. "$ref": "#/definitions/app.Response"
  3265. }
  3266. }
  3267. }
  3268. }
  3269. },
  3270. "/Erms2/QuerySpotContract": {
  3271. "get": {
  3272. "security": [
  3273. {
  3274. "ApiKeyAuth": []
  3275. }
  3276. ],
  3277. "produces": [
  3278. "application/json"
  3279. ],
  3280. "tags": [
  3281. "风险管理"
  3282. ],
  3283. "summary": "查询现货合同表信息(指定策略ID、未结束的)",
  3284. "parameters": [
  3285. {
  3286. "type": "integer",
  3287. "description": "策略申请ID",
  3288. "name": "asapplyid",
  3289. "in": "query",
  3290. "required": true
  3291. },
  3292. {
  3293. "type": "integer",
  3294. "description": "现货合同ID",
  3295. "name": "spotcontractid",
  3296. "in": "query"
  3297. }
  3298. ],
  3299. "responses": {
  3300. "200": {
  3301. "description": "OK",
  3302. "schema": {
  3303. "$ref": "#/definitions/erms2.QuerySpotContractRsp"
  3304. }
  3305. },
  3306. "500": {
  3307. "description": "Internal Server Error",
  3308. "schema": {
  3309. "$ref": "#/definitions/app.Response"
  3310. }
  3311. }
  3312. }
  3313. }
  3314. },
  3315. "/Erms3/AddErms2ASApply": {
  3316. "post": {
  3317. "security": [
  3318. {
  3319. "ApiKeyAuth": []
  3320. }
  3321. ],
  3322. "produces": [
  3323. "application/json"
  3324. ],
  3325. "tags": [
  3326. "风险管理v3"
  3327. ],
  3328. "summary": "新增期现套利业务申请",
  3329. "parameters": [
  3330. {
  3331. "description": "申请参数",
  3332. "name": "jsonBody",
  3333. "in": "body",
  3334. "required": true,
  3335. "schema": {
  3336. "$ref": "#/definitions/erms3.AddErms2ASApplyReq"
  3337. }
  3338. }
  3339. ],
  3340. "responses": {
  3341. "200": {
  3342. "description": "OK",
  3343. "schema": {
  3344. "$ref": "#/definitions/app.Response"
  3345. }
  3346. },
  3347. "500": {
  3348. "description": "Internal Server Error",
  3349. "schema": {
  3350. "$ref": "#/definitions/app.Response"
  3351. }
  3352. }
  3353. }
  3354. }
  3355. },
  3356. "/Erms3/AddErms2SpotTradeApply": {
  3357. "post": {
  3358. "security": [
  3359. {
  3360. "ApiKeyAuth": []
  3361. }
  3362. ],
  3363. "produces": [
  3364. "application/json"
  3365. ],
  3366. "tags": [
  3367. "风险管理v3"
  3368. ],
  3369. "summary": "新增现货贸易业务申请",
  3370. "parameters": [
  3371. {
  3372. "description": "申请参数",
  3373. "name": "jsonBody",
  3374. "in": "body",
  3375. "required": true,
  3376. "schema": {
  3377. "$ref": "#/definitions/erms3.AddErms2SpotTradeApplyReq"
  3378. }
  3379. }
  3380. ],
  3381. "responses": {
  3382. "200": {
  3383. "description": "OK",
  3384. "schema": {
  3385. "$ref": "#/definitions/app.Response"
  3386. }
  3387. },
  3388. "500": {
  3389. "description": "Internal Server Error",
  3390. "schema": {
  3391. "$ref": "#/definitions/app.Response"
  3392. }
  3393. }
  3394. }
  3395. }
  3396. },
  3397. "/Erms3/AddSpotContractApply": {
  3398. "post": {
  3399. "security": [
  3400. {
  3401. "ApiKeyAuth": []
  3402. }
  3403. ],
  3404. "produces": [
  3405. "application/json"
  3406. ],
  3407. "tags": [
  3408. "风险管理v3"
  3409. ],
  3410. "summary": "新增现货合同申请",
  3411. "parameters": [
  3412. {
  3413. "description": "申请参数",
  3414. "name": "jsonBody",
  3415. "in": "body",
  3416. "required": true,
  3417. "schema": {
  3418. "$ref": "#/definitions/erms3.AddSpotContractApplyReq"
  3419. }
  3420. }
  3421. ],
  3422. "responses": {
  3423. "200": {
  3424. "description": "OK",
  3425. "schema": {
  3426. "$ref": "#/definitions/erms3.AddSpotContractApplyRsp"
  3427. }
  3428. },
  3429. "500": {
  3430. "description": "Internal Server Error",
  3431. "schema": {
  3432. "$ref": "#/definitions/app.Response"
  3433. }
  3434. }
  3435. }
  3436. }
  3437. },
  3438. "/Erms3/AddUserInfoApply": {
  3439. "post": {
  3440. "security": [
  3441. {
  3442. "ApiKeyAuth": []
  3443. }
  3444. ],
  3445. "produces": [
  3446. "application/json"
  3447. ],
  3448. "tags": [
  3449. "风险管理v3"
  3450. ],
  3451. "summary": "新增客户申请",
  3452. "parameters": [
  3453. {
  3454. "description": "用户信息",
  3455. "name": "jsonBody",
  3456. "in": "body",
  3457. "required": true,
  3458. "schema": {
  3459. "$ref": "#/definitions/erms3.AddUserInfoApplyReq"
  3460. }
  3461. }
  3462. ],
  3463. "responses": {
  3464. "200": {
  3465. "description": "OK",
  3466. "schema": {
  3467. "$ref": "#/definitions/app.Response"
  3468. }
  3469. },
  3470. "500": {
  3471. "description": "Internal Server Error",
  3472. "schema": {
  3473. "$ref": "#/definitions/app.Response"
  3474. }
  3475. }
  3476. }
  3477. }
  3478. },
  3479. "/Erms3/ModifyUserInfoApply": {
  3480. "post": {
  3481. "security": [
  3482. {
  3483. "ApiKeyAuth": []
  3484. }
  3485. ],
  3486. "description": "保存草稿(撤回)- { \"userid\": int, \"userstate\": 1 } 提交审核 - { \"userid\": int, \"userstate\": 2 }",
  3487. "produces": [
  3488. "application/json"
  3489. ],
  3490. "tags": [
  3491. "风险管理v3"
  3492. ],
  3493. "summary": "修改客户申请",
  3494. "parameters": [
  3495. {
  3496. "description": "用户信息",
  3497. "name": "jsonBody",
  3498. "in": "body",
  3499. "required": true,
  3500. "schema": {
  3501. "$ref": "#/definitions/erms3.ModifyUserInfoApplyReq"
  3502. }
  3503. }
  3504. ],
  3505. "responses": {
  3506. "200": {
  3507. "description": "OK",
  3508. "schema": {
  3509. "$ref": "#/definitions/app.Response"
  3510. }
  3511. },
  3512. "500": {
  3513. "description": "Internal Server Error",
  3514. "schema": {
  3515. "$ref": "#/definitions/app.Response"
  3516. }
  3517. }
  3518. }
  3519. }
  3520. },
  3521. "/Erms3/QueryBusinessInfo": {
  3522. "get": {
  3523. "security": [
  3524. {
  3525. "ApiKeyAuth": []
  3526. }
  3527. ],
  3528. "produces": [
  3529. "application/json"
  3530. ],
  3531. "tags": [
  3532. "风险管理v3"
  3533. ],
  3534. "summary": "查询业务表单数据",
  3535. "parameters": [
  3536. {
  3537. "type": "string",
  3538. "description": "资金账号ID列表,用逗号分隔",
  3539. "name": "accountids",
  3540. "in": "query",
  3541. "required": true
  3542. },
  3543. {
  3544. "type": "integer",
  3545. "description": "状态,0为未结束 1为已结束",
  3546. "name": "status",
  3547. "in": "query",
  3548. "required": true
  3549. }
  3550. ],
  3551. "responses": {
  3552. "200": {
  3553. "description": "OK",
  3554. "schema": {
  3555. "type": "array",
  3556. "items": {
  3557. "$ref": "#/definitions/erms3.QueryBusinessInfoRsp"
  3558. }
  3559. }
  3560. },
  3561. "500": {
  3562. "description": "Internal Server Error",
  3563. "schema": {
  3564. "$ref": "#/definitions/app.Response"
  3565. }
  3566. }
  3567. }
  3568. }
  3569. },
  3570. "/Erms3/QueryPendingAuditContract": {
  3571. "get": {
  3572. "security": [
  3573. {
  3574. "ApiKeyAuth": []
  3575. }
  3576. ],
  3577. "produces": [
  3578. "application/json"
  3579. ],
  3580. "tags": [
  3581. "风险管理v3"
  3582. ],
  3583. "summary": "查询待审核合同",
  3584. "parameters": [
  3585. {
  3586. "type": "string",
  3587. "description": "资金账号ID列表,逗号隔开",
  3588. "name": "accountids",
  3589. "in": "query",
  3590. "required": true
  3591. },
  3592. {
  3593. "type": "integer",
  3594. "description": "合同类型 1-采购 -1-销售",
  3595. "name": "contracttype",
  3596. "in": "query",
  3597. "required": true
  3598. },
  3599. {
  3600. "type": "integer",
  3601. "description": "合同模式 1-普通 2-回购",
  3602. "name": "contractmode",
  3603. "in": "query",
  3604. "required": true
  3605. }
  3606. ],
  3607. "responses": {
  3608. "200": {
  3609. "description": "OK",
  3610. "schema": {
  3611. "type": "array",
  3612. "items": {
  3613. "$ref": "#/definitions/erms3.QryAuditContractRsp"
  3614. }
  3615. }
  3616. },
  3617. "500": {
  3618. "description": "Internal Server Error",
  3619. "schema": {
  3620. "$ref": "#/definitions/app.Response"
  3621. }
  3622. }
  3623. }
  3624. }
  3625. },
  3626. "/Erms3/QueryPendingBusiness": {
  3627. "get": {
  3628. "security": [
  3629. {
  3630. "ApiKeyAuth": []
  3631. }
  3632. ],
  3633. "produces": [
  3634. "application/json"
  3635. ],
  3636. "tags": [
  3637. "风险管理v3"
  3638. ],
  3639. "summary": "查询待审核基差贸易业务",
  3640. "parameters": [
  3641. {
  3642. "type": "string",
  3643. "description": "资金账号ID列表,逗号隔开",
  3644. "name": "accountids",
  3645. "in": "query",
  3646. "required": true
  3647. }
  3648. ],
  3649. "responses": {
  3650. "200": {
  3651. "description": "OK",
  3652. "schema": {
  3653. "type": "array",
  3654. "items": {
  3655. "$ref": "#/definitions/erms3.QryPendingBizRsp"
  3656. }
  3657. }
  3658. },
  3659. "500": {
  3660. "description": "Internal Server Error",
  3661. "schema": {
  3662. "$ref": "#/definitions/app.Response"
  3663. }
  3664. }
  3665. }
  3666. }
  3667. },
  3668. "/Erms3/QuerySpotContractAppleForm": {
  3669. "get": {
  3670. "security": [
  3671. {
  3672. "ApiKeyAuth": []
  3673. }
  3674. ],
  3675. "produces": [
  3676. "application/json"
  3677. ],
  3678. "tags": [
  3679. "风险管理v3"
  3680. ],
  3681. "summary": "查询合同申请表单数据",
  3682. "parameters": [
  3683. {
  3684. "type": "integer",
  3685. "description": "登录账号",
  3686. "name": "loginID",
  3687. "in": "query",
  3688. "required": true
  3689. }
  3690. ],
  3691. "responses": {
  3692. "200": {
  3693. "description": "OK",
  3694. "schema": {
  3695. "$ref": "#/definitions/erms3.QuerySpotContractAppleFormRsp"
  3696. }
  3697. },
  3698. "500": {
  3699. "description": "Internal Server Error",
  3700. "schema": {
  3701. "$ref": "#/definitions/app.Response"
  3702. }
  3703. }
  3704. }
  3705. }
  3706. },
  3707. "/Erms3/QuerySpotContractDetail": {
  3708. "get": {
  3709. "security": [
  3710. {
  3711. "ApiKeyAuth": []
  3712. }
  3713. ],
  3714. "produces": [
  3715. "application/json"
  3716. ],
  3717. "tags": [
  3718. "风险管理v3"
  3719. ],
  3720. "summary": "查询合同详细信息",
  3721. "parameters": [
  3722. {
  3723. "type": "string",
  3724. "description": "资金账号ID列表,用逗号分隔",
  3725. "name": "accountids",
  3726. "in": "query",
  3727. "required": true
  3728. },
  3729. {
  3730. "type": "integer",
  3731. "description": "合同类型,1为采购合同 -1为销售合同",
  3732. "name": "contracttype",
  3733. "in": "query",
  3734. "required": true
  3735. },
  3736. {
  3737. "type": "integer",
  3738. "description": "合同模式,1为普通合同 2为回购销售合同",
  3739. "name": "contractmode",
  3740. "in": "query",
  3741. "required": true
  3742. },
  3743. {
  3744. "type": "integer",
  3745. "description": "状态,0为履约中 1为已完成",
  3746. "name": "status",
  3747. "in": "query",
  3748. "required": true
  3749. }
  3750. ],
  3751. "responses": {
  3752. "200": {
  3753. "description": "OK",
  3754. "schema": {
  3755. "type": "array",
  3756. "items": {
  3757. "$ref": "#/definitions/erms3.QuerySpotContractInfoRsp"
  3758. }
  3759. }
  3760. },
  3761. "500": {
  3762. "description": "Internal Server Error",
  3763. "schema": {
  3764. "$ref": "#/definitions/app.Response"
  3765. }
  3766. }
  3767. }
  3768. }
  3769. },
  3770. "/Erms3/QueryUserInfoApplies": {
  3771. "get": {
  3772. "security": [
  3773. {
  3774. "ApiKeyAuth": []
  3775. }
  3776. ],
  3777. "produces": [
  3778. "application/json"
  3779. ],
  3780. "tags": [
  3781. "风险管理v3"
  3782. ],
  3783. "summary": "客户申请信息查询",
  3784. "parameters": [
  3785. {
  3786. "type": "integer",
  3787. "description": "页码",
  3788. "name": "page",
  3789. "in": "query"
  3790. },
  3791. {
  3792. "type": "integer",
  3793. "description": "每页条数",
  3794. "name": "pagesize",
  3795. "in": "query"
  3796. },
  3797. {
  3798. "type": "string",
  3799. "description": "客户名称,支持模糊查询",
  3800. "name": "userName",
  3801. "in": "query"
  3802. }
  3803. ],
  3804. "responses": {
  3805. "200": {
  3806. "description": "OK",
  3807. "schema": {
  3808. "$ref": "#/definitions/erms3.QueryUserInfoAppliesRsp"
  3809. }
  3810. },
  3811. "500": {
  3812. "description": "Internal Server Error",
  3813. "schema": {
  3814. "$ref": "#/definitions/app.Response"
  3815. }
  3816. }
  3817. }
  3818. }
  3819. },
  3820. "/Erms3/QueryUserInfos": {
  3821. "get": {
  3822. "security": [
  3823. {
  3824. "ApiKeyAuth": []
  3825. }
  3826. ],
  3827. "produces": [
  3828. "application/json"
  3829. ],
  3830. "tags": [
  3831. "风险管理v3"
  3832. ],
  3833. "summary": "客户信息查询",
  3834. "parameters": [
  3835. {
  3836. "type": "integer",
  3837. "description": "页码",
  3838. "name": "page",
  3839. "in": "query"
  3840. },
  3841. {
  3842. "type": "integer",
  3843. "description": "每页条数",
  3844. "name": "pagesize",
  3845. "in": "query"
  3846. },
  3847. {
  3848. "type": "string",
  3849. "description": "客户名称,支持模糊查询",
  3850. "name": "userName",
  3851. "in": "query"
  3852. }
  3853. ],
  3854. "responses": {
  3855. "200": {
  3856. "description": "OK",
  3857. "schema": {
  3858. "$ref": "#/definitions/erms3.QueryUserInfosRsp"
  3859. }
  3860. },
  3861. "500": {
  3862. "description": "Internal Server Error",
  3863. "schema": {
  3864. "$ref": "#/definitions/app.Response"
  3865. }
  3866. }
  3867. }
  3868. }
  3869. },
  3870. "/HSBY/GetHsbyMyCount": {
  3871. "get": {
  3872. "security": [
  3873. {
  3874. "ApiKeyAuth": []
  3875. }
  3876. ],
  3877. "description": "说明: 不包括已完成的数量。",
  3878. "produces": [
  3879. "application/json"
  3880. ],
  3881. "tags": [
  3882. "定制【海商报业】"
  3883. ],
  3884. "summary": "获取我的订单与包裹数量",
  3885. "parameters": [
  3886. {
  3887. "type": "string",
  3888. "description": "资金账户列表,格式:1,2,3",
  3889. "name": "accountIDs",
  3890. "in": "query",
  3891. "required": true
  3892. }
  3893. ],
  3894. "responses": {
  3895. "200": {
  3896. "description": "OK",
  3897. "schema": {
  3898. "$ref": "#/definitions/hsby.GetHsbyMyCountRsp"
  3899. }
  3900. },
  3901. "500": {
  3902. "description": "Internal Server Error",
  3903. "schema": {
  3904. "$ref": "#/definitions/app.Response"
  3905. }
  3906. }
  3907. }
  3908. }
  3909. },
  3910. "/HSBY/QueryClientFixedADConfigs": {
  3911. "get": {
  3912. "security": [
  3913. {
  3914. "ApiKeyAuth": []
  3915. }
  3916. ],
  3917. "produces": [
  3918. "application/json"
  3919. ],
  3920. "tags": [
  3921. "定制【海商报业】"
  3922. ],
  3923. "summary": "获取终端固定广告配置",
  3924. "responses": {
  3925. "200": {
  3926. "description": "OK",
  3927. "schema": {
  3928. "$ref": "#/definitions/models.Clientfixedadconfig"
  3929. }
  3930. },
  3931. "500": {
  3932. "description": "Internal Server Error",
  3933. "schema": {
  3934. "$ref": "#/definitions/app.Response"
  3935. }
  3936. }
  3937. }
  3938. }
  3939. },
  3940. "/HSBY/QueryHsbyBuyMyTradeDetail": {
  3941. "get": {
  3942. "security": [
  3943. {
  3944. "ApiKeyAuth": []
  3945. }
  3946. ],
  3947. "produces": [
  3948. "application/json"
  3949. ],
  3950. "tags": [
  3951. "定制【海商报业】"
  3952. ],
  3953. "summary": "查询\"我的订单 - 已完成\"单据信息",
  3954. "parameters": [
  3955. {
  3956. "type": "integer",
  3957. "description": "页码",
  3958. "name": "page",
  3959. "in": "query"
  3960. },
  3961. {
  3962. "type": "integer",
  3963. "description": "每页条数",
  3964. "name": "pagesize",
  3965. "in": "query"
  3966. },
  3967. {
  3968. "type": "string",
  3969. "description": "资金账户列表,格式:1,2,3",
  3970. "name": "accountIDs",
  3971. "in": "query",
  3972. "required": true
  3973. }
  3974. ],
  3975. "responses": {
  3976. "200": {
  3977. "description": "OK",
  3978. "schema": {
  3979. "$ref": "#/definitions/models.HsbyBuyMyTradeDetail"
  3980. }
  3981. },
  3982. "500": {
  3983. "description": "Internal Server Error",
  3984. "schema": {
  3985. "$ref": "#/definitions/app.Response"
  3986. }
  3987. }
  3988. }
  3989. }
  3990. },
  3991. "/HSBY/QueryHsbyGoodsOrderDetails": {
  3992. "get": {
  3993. "security": [
  3994. {
  3995. "ApiKeyAuth": []
  3996. }
  3997. ],
  3998. "description": "说明:查询结果已按委托价格和委托时间排序",
  3999. "produces": [
  4000. "application/json"
  4001. ],
  4002. "tags": [
  4003. "定制【海商报业】"
  4004. ],
  4005. "summary": "查询二级市场(挂牌点选)商品对应的挂牌委托单信息",
  4006. "parameters": [
  4007. {
  4008. "type": "integer",
  4009. "description": "商品ID",
  4010. "name": "goodsID",
  4011. "in": "query",
  4012. "required": true
  4013. },
  4014. {
  4015. "type": "string",
  4016. "description": "摘牌方资金账户列表,格式:1,2,3。主要用于过滤自己的挂牌单",
  4017. "name": "accountIDs",
  4018. "in": "query"
  4019. },
  4020. {
  4021. "type": "integer",
  4022. "description": "挂牌委托单方向(对手单方向),0:买 1:卖",
  4023. "name": "buyOrSell",
  4024. "in": "query"
  4025. },
  4026. {
  4027. "type": "number",
  4028. "description": " 参考价格。对手单买方向委托单则价格大于等于(站在摘牌人的角度,摘牌方面是卖,我的闲置下单);对手单卖方向委托单则价格小于等于(站在摘牌人的角度,摘牌方面是买,热门商品下单)",
  4029. "name": "price",
  4030. "in": "query"
  4031. },
  4032. {
  4033. "type": "integer",
  4034. "description": "档位,不传则默认为3档",
  4035. "name": "speed",
  4036. "in": "query"
  4037. }
  4038. ],
  4039. "responses": {
  4040. "200": {
  4041. "description": "OK",
  4042. "schema": {
  4043. "$ref": "#/definitions/models.HsbyGoodsOrderDetail"
  4044. }
  4045. },
  4046. "500": {
  4047. "description": "Internal Server Error",
  4048. "schema": {
  4049. "$ref": "#/definitions/app.Response"
  4050. }
  4051. }
  4052. }
  4053. }
  4054. },
  4055. "/HSBY/QueryHsbyListingGoodsDetail": {
  4056. "get": {
  4057. "security": [
  4058. {
  4059. "ApiKeyAuth": []
  4060. }
  4061. ],
  4062. "description": "说明:“我的商品”详情中,二级(挂牌点选)和三级(商城)的商品详情都使用此接口",
  4063. "produces": [
  4064. "application/json"
  4065. ],
  4066. "tags": [
  4067. "定制【海商报业】"
  4068. ],
  4069. "summary": "查询二级市场(挂牌点选)商品信息详情",
  4070. "parameters": [
  4071. {
  4072. "type": "integer",
  4073. "description": "商品ID",
  4074. "name": "goodsID",
  4075. "in": "query",
  4076. "required": true
  4077. },
  4078. {
  4079. "type": "integer",
  4080. "description": "资金账户,主要用于获取交易规则。不传则获取通用规则。",
  4081. "name": "accountID",
  4082. "in": "query"
  4083. }
  4084. ],
  4085. "responses": {
  4086. "200": {
  4087. "description": "OK",
  4088. "schema": {
  4089. "$ref": "#/definitions/models.HsbyListingGoodsDetail"
  4090. }
  4091. },
  4092. "500": {
  4093. "description": "Internal Server Error",
  4094. "schema": {
  4095. "$ref": "#/definitions/app.Response"
  4096. }
  4097. }
  4098. }
  4099. }
  4100. },
  4101. "/HSBY/QueryHsbyMarketGoodsDetail": {
  4102. "get": {
  4103. "security": [
  4104. {
  4105. "ApiKeyAuth": []
  4106. }
  4107. ],
  4108. "produces": [
  4109. "application/json"
  4110. ],
  4111. "tags": [
  4112. "定制【海商报业】"
  4113. ],
  4114. "summary": "查询三级市场(商城)商品信息详情",
  4115. "parameters": [
  4116. {
  4117. "type": "integer",
  4118. "description": "委托单号",
  4119. "name": "orderID",
  4120. "in": "query",
  4121. "required": true
  4122. },
  4123. {
  4124. "type": "integer",
  4125. "description": "资金账户,主要用于判断商品最大开仓手数;如未登录可不传。",
  4126. "name": "accountID",
  4127. "in": "query"
  4128. }
  4129. ],
  4130. "responses": {
  4131. "200": {
  4132. "description": "OK",
  4133. "schema": {
  4134. "$ref": "#/definitions/models.HsbyMarketGoodsDetail"
  4135. }
  4136. },
  4137. "500": {
  4138. "description": "Internal Server Error",
  4139. "schema": {
  4140. "$ref": "#/definitions/app.Response"
  4141. }
  4142. }
  4143. }
  4144. }
  4145. },
  4146. "/HSBY/QueryHsbyMarketGoodses": {
  4147. "get": {
  4148. "security": [
  4149. {
  4150. "ApiKeyAuth": []
  4151. }
  4152. ],
  4153. "produces": [
  4154. "application/json"
  4155. ],
  4156. "tags": [
  4157. "定制【海商报业】"
  4158. ],
  4159. "summary": "查询特卖商品列表(三级商城)",
  4160. "parameters": [
  4161. {
  4162. "type": "integer",
  4163. "description": "页码",
  4164. "name": "page",
  4165. "in": "query"
  4166. },
  4167. {
  4168. "type": "integer",
  4169. "description": "每页条数",
  4170. "name": "pagesize",
  4171. "in": "query"
  4172. },
  4173. {
  4174. "type": "string",
  4175. "description": "市场ID列表,格式:1,2,3",
  4176. "name": "marketIDs",
  4177. "in": "query",
  4178. "required": true
  4179. },
  4180. {
  4181. "type": "integer",
  4182. "description": "资金账户,用于判断商品是否有可用的优惠卷;同时只显示此账户所属机构下的商城委托单。",
  4183. "name": "accountID",
  4184. "in": "query",
  4185. "required": true
  4186. },
  4187. {
  4188. "type": "integer",
  4189. "description": "类别ID",
  4190. "name": "categoryID",
  4191. "in": "query"
  4192. },
  4193. {
  4194. "type": "string",
  4195. "description": "商品ID列表,格式:1,2,3。主要用于商品搜索。",
  4196. "name": "goodsIDs",
  4197. "in": "query"
  4198. },
  4199. {
  4200. "type": "integer",
  4201. "description": "优惠券类型ID,主要用于显示优惠卷对应的商品列表。",
  4202. "name": "couponTypeID",
  4203. "in": "query"
  4204. }
  4205. ],
  4206. "responses": {
  4207. "200": {
  4208. "description": "OK",
  4209. "schema": {
  4210. "$ref": "#/definitions/models.HsbyMarketGoods"
  4211. }
  4212. },
  4213. "500": {
  4214. "description": "Internal Server Error",
  4215. "schema": {
  4216. "$ref": "#/definitions/app.Response"
  4217. }
  4218. }
  4219. }
  4220. }
  4221. },
  4222. "/HSBY/QueryHsbyMarkets": {
  4223. "get": {
  4224. "security": [
  4225. {
  4226. "ApiKeyAuth": []
  4227. }
  4228. ],
  4229. "produces": [
  4230. "application/json"
  4231. ],
  4232. "tags": [
  4233. "定制【海商报业】"
  4234. ],
  4235. "summary": "查询海商报业相关市场信息",
  4236. "responses": {
  4237. "200": {
  4238. "description": "OK",
  4239. "schema": {
  4240. "$ref": "#/definitions/models.HsbyMarketInfo"
  4241. }
  4242. },
  4243. "500": {
  4244. "description": "Internal Server Error",
  4245. "schema": {
  4246. "$ref": "#/definitions/app.Response"
  4247. }
  4248. }
  4249. }
  4250. }
  4251. },
  4252. "/HSBY/QueryHsbyMyBuyOrderDetails": {
  4253. "get": {
  4254. "security": [
  4255. {
  4256. "ApiKeyAuth": []
  4257. }
  4258. ],
  4259. "description": "说明: myBuyStatus: 1,2 - 待成交;3 - 已提交;4 - 已撤消;5 - 委托失败",
  4260. "produces": [
  4261. "application/json"
  4262. ],
  4263. "tags": [
  4264. "定制【海商报业】"
  4265. ],
  4266. "summary": "查询“我的订单”信息",
  4267. "parameters": [
  4268. {
  4269. "type": "string",
  4270. "description": "资金账户列表,格式:1,2,3",
  4271. "name": "accountIDs",
  4272. "in": "query",
  4273. "required": true
  4274. }
  4275. ],
  4276. "responses": {
  4277. "200": {
  4278. "description": "OK",
  4279. "schema": {
  4280. "$ref": "#/definitions/models.HybsMyBuyOrderDetail"
  4281. }
  4282. },
  4283. "500": {
  4284. "description": "Internal Server Error",
  4285. "schema": {
  4286. "$ref": "#/definitions/app.Response"
  4287. }
  4288. }
  4289. }
  4290. }
  4291. },
  4292. "/HSBY/QueryHsbyMyGoods": {
  4293. "get": {
  4294. "security": [
  4295. {
  4296. "ApiKeyAuth": []
  4297. }
  4298. ],
  4299. "description": "说明: 挂牌点选(tradeMode = 16)价格取last; 商城(tradeMode = 70)价格取goodsprice",
  4300. "produces": [
  4301. "application/json"
  4302. ],
  4303. "tags": [
  4304. "定制【海商报业】"
  4305. ],
  4306. "summary": "查询“我的商品”信息",
  4307. "parameters": [
  4308. {
  4309. "type": "string",
  4310. "description": "资金账户列表,格式:1,2,3",
  4311. "name": "accountIDs",
  4312. "in": "query",
  4313. "required": true
  4314. }
  4315. ],
  4316. "responses": {
  4317. "200": {
  4318. "description": "OK",
  4319. "schema": {
  4320. "$ref": "#/definitions/models.HsbyMyGoods"
  4321. }
  4322. },
  4323. "500": {
  4324. "description": "Internal Server Error",
  4325. "schema": {
  4326. "$ref": "#/definitions/app.Response"
  4327. }
  4328. }
  4329. }
  4330. }
  4331. },
  4332. "/HSBY/QueryHsbyMyPackages": {
  4333. "get": {
  4334. "security": [
  4335. {
  4336. "ApiKeyAuth": []
  4337. }
  4338. ],
  4339. "produces": [
  4340. "application/json"
  4341. ],
  4342. "tags": [
  4343. "定制【海商报业】"
  4344. ],
  4345. "summary": "查询我的包裹信息",
  4346. "parameters": [
  4347. {
  4348. "type": "string",
  4349. "description": "资金账户列表,格式:1,2,3",
  4350. "name": "accountIDs",
  4351. "in": "query",
  4352. "required": true
  4353. },
  4354. {
  4355. "type": "integer",
  4356. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  4357. "name": "takeOrderStatus",
  4358. "in": "query"
  4359. }
  4360. ],
  4361. "responses": {
  4362. "200": {
  4363. "description": "OK",
  4364. "schema": {
  4365. "$ref": "#/definitions/models.HsbyMyPackage"
  4366. }
  4367. },
  4368. "500": {
  4369. "description": "Internal Server Error",
  4370. "schema": {
  4371. "$ref": "#/definitions/app.Response"
  4372. }
  4373. }
  4374. }
  4375. }
  4376. },
  4377. "/HSBY/QueryHsbyPreGoodsDetail": {
  4378. "get": {
  4379. "security": [
  4380. {
  4381. "ApiKeyAuth": []
  4382. }
  4383. ],
  4384. "produces": [
  4385. "application/json"
  4386. ],
  4387. "tags": [
  4388. "定制【海商报业】"
  4389. ],
  4390. "summary": "查询一级市场(预售)商品信息详情",
  4391. "parameters": [
  4392. {
  4393. "type": "integer",
  4394. "description": "商品ID",
  4395. "name": "goodsID",
  4396. "in": "query",
  4397. "required": true
  4398. },
  4399. {
  4400. "type": "integer",
  4401. "description": "资金账户,主要用于获取预售商品购买上限",
  4402. "name": "accountID",
  4403. "in": "query"
  4404. }
  4405. ],
  4406. "responses": {
  4407. "200": {
  4408. "description": "OK",
  4409. "schema": {
  4410. "$ref": "#/definitions/models.HsbyPreGoodsDetail"
  4411. }
  4412. },
  4413. "500": {
  4414. "description": "Internal Server Error",
  4415. "schema": {
  4416. "$ref": "#/definitions/app.Response"
  4417. }
  4418. }
  4419. }
  4420. }
  4421. },
  4422. "/HSBY/QueryHsbyPreGoodses": {
  4423. "get": {
  4424. "security": [
  4425. {
  4426. "ApiKeyAuth": []
  4427. }
  4428. ],
  4429. "description": "说明:结果已先显示已开始商品(按结束时间顺序排),再显示未开始商品(按开始时间顺序排)",
  4430. "produces": [
  4431. "application/json"
  4432. ],
  4433. "tags": [
  4434. "定制【海商报业】"
  4435. ],
  4436. "summary": "查询新品上市商品列表(一级市场预售)",
  4437. "parameters": [
  4438. {
  4439. "type": "integer",
  4440. "description": "页码",
  4441. "name": "page",
  4442. "in": "query"
  4443. },
  4444. {
  4445. "type": "integer",
  4446. "description": "每页条数",
  4447. "name": "pagesize",
  4448. "in": "query"
  4449. },
  4450. {
  4451. "type": "string",
  4452. "description": "市场ID列表,格式:1,2,3",
  4453. "name": "marketIDs",
  4454. "in": "query",
  4455. "required": true
  4456. },
  4457. {
  4458. "type": "integer",
  4459. "description": "目的地(省)ID",
  4460. "name": "descProvinceID",
  4461. "in": "query"
  4462. },
  4463. {
  4464. "type": "integer",
  4465. "description": "目的地(市)ID",
  4466. "name": "descCityID",
  4467. "in": "query"
  4468. }
  4469. ],
  4470. "responses": {
  4471. "200": {
  4472. "description": "OK",
  4473. "schema": {
  4474. "$ref": "#/definitions/models.HsbyPreGoods"
  4475. }
  4476. },
  4477. "500": {
  4478. "description": "Internal Server Error",
  4479. "schema": {
  4480. "$ref": "#/definitions/app.Response"
  4481. }
  4482. }
  4483. }
  4484. }
  4485. },
  4486. "/HSBY/QueryHsbySellMyDetails": {
  4487. "get": {
  4488. "security": [
  4489. {
  4490. "ApiKeyAuth": []
  4491. }
  4492. ],
  4493. "description": "说明:发布中 - 二级市场卖挂,3:委托成功、7:部分成交; 已完成 - 二级市场成交单,包括历史数据。查询结果已按时间从近到远排序",
  4494. "produces": [
  4495. "application/json"
  4496. ],
  4497. "tags": [
  4498. "定制【海商报业】"
  4499. ],
  4500. "summary": "查询\"我的闲置\"单据信息",
  4501. "parameters": [
  4502. {
  4503. "type": "integer",
  4504. "description": "页码",
  4505. "name": "page",
  4506. "in": "query"
  4507. },
  4508. {
  4509. "type": "integer",
  4510. "description": "每页条数",
  4511. "name": "pagesize",
  4512. "in": "query"
  4513. },
  4514. {
  4515. "type": "string",
  4516. "description": "资金账户列表,格式:1,2,3",
  4517. "name": "accountIDs",
  4518. "in": "query",
  4519. "required": true
  4520. },
  4521. {
  4522. "type": "integer",
  4523. "description": "单据类型:0 - 发布中(默认), 1 - 已完成",
  4524. "name": "orderType",
  4525. "in": "query"
  4526. }
  4527. ],
  4528. "responses": {
  4529. "200": {
  4530. "description": "OK",
  4531. "schema": {
  4532. "$ref": "#/definitions/models.HsbySellMyDetail"
  4533. }
  4534. },
  4535. "500": {
  4536. "description": "Internal Server Error",
  4537. "schema": {
  4538. "$ref": "#/definitions/app.Response"
  4539. }
  4540. }
  4541. }
  4542. }
  4543. },
  4544. "/HSBY/QueryHsbyTopGoodses": {
  4545. "get": {
  4546. "security": [
  4547. {
  4548. "ApiKeyAuth": []
  4549. }
  4550. ],
  4551. "description": "说明:查询结果已按Hotindex(景点热度)从大到小排序",
  4552. "produces": [
  4553. "application/json"
  4554. ],
  4555. "tags": [
  4556. "定制【海商报业】"
  4557. ],
  4558. "summary": "查询热卖商品列表(二级市场挂牌点选)",
  4559. "parameters": [
  4560. {
  4561. "type": "integer",
  4562. "description": "页码",
  4563. "name": "page",
  4564. "in": "query"
  4565. },
  4566. {
  4567. "type": "integer",
  4568. "description": "每页条数",
  4569. "name": "pagesize",
  4570. "in": "query"
  4571. },
  4572. {
  4573. "type": "string",
  4574. "description": "市场ID列表,格式:1,2,3",
  4575. "name": "marketIDs",
  4576. "in": "query",
  4577. "required": true
  4578. },
  4579. {
  4580. "type": "integer",
  4581. "description": "目的地(省)ID",
  4582. "name": "descProvinceID",
  4583. "in": "query"
  4584. },
  4585. {
  4586. "type": "integer",
  4587. "description": "目的地(市)ID",
  4588. "name": "descCityID",
  4589. "in": "query"
  4590. }
  4591. ],
  4592. "responses": {
  4593. "200": {
  4594. "description": "OK",
  4595. "schema": {
  4596. "$ref": "#/definitions/models.HsbyTopGoods"
  4597. }
  4598. },
  4599. "500": {
  4600. "description": "Internal Server Error",
  4601. "schema": {
  4602. "$ref": "#/definitions/app.Response"
  4603. }
  4604. }
  4605. }
  4606. }
  4607. },
  4608. "/HSBY/QueryHsbyVisitorMarketGoodsDetail": {
  4609. "get": {
  4610. "security": [
  4611. {
  4612. "ApiKeyAuth": []
  4613. }
  4614. ],
  4615. "description": "说明:使用于未登录状态查询商城商品详情,登录后请使用QueryHsbyMarketGoodsDetail接口进行查询。",
  4616. "produces": [
  4617. "application/json"
  4618. ],
  4619. "tags": [
  4620. "定制【海商报业】"
  4621. ],
  4622. "summary": "查询游客三级市场(商城)商品信息详情",
  4623. "parameters": [
  4624. {
  4625. "type": "integer",
  4626. "description": "商品ID",
  4627. "name": "goodsID",
  4628. "in": "query",
  4629. "required": true
  4630. }
  4631. ],
  4632. "responses": {
  4633. "200": {
  4634. "description": "OK",
  4635. "schema": {
  4636. "$ref": "#/definitions/models.HsbyMarketGoodsDetail"
  4637. }
  4638. },
  4639. "500": {
  4640. "description": "Internal Server Error",
  4641. "schema": {
  4642. "$ref": "#/definitions/app.Response"
  4643. }
  4644. }
  4645. }
  4646. }
  4647. },
  4648. "/HSBY/QueryHsbyVisitorMarketGoodses": {
  4649. "get": {
  4650. "security": [
  4651. {
  4652. "ApiKeyAuth": []
  4653. }
  4654. ],
  4655. "description": "说明:使用于未登录状态查询商城商品列表,登录后请使用QueryHsbyMarketGoodses接口进行查询。",
  4656. "produces": [
  4657. "application/json"
  4658. ],
  4659. "tags": [
  4660. "定制【海商报业】"
  4661. ],
  4662. "summary": "查询游客特卖商品列表(三级商城)",
  4663. "parameters": [
  4664. {
  4665. "type": "integer",
  4666. "description": "页码",
  4667. "name": "page",
  4668. "in": "query"
  4669. },
  4670. {
  4671. "type": "integer",
  4672. "description": "每页条数",
  4673. "name": "pagesize",
  4674. "in": "query"
  4675. },
  4676. {
  4677. "type": "string",
  4678. "description": "市场ID列表,格式:1,2,3",
  4679. "name": "marketIDs",
  4680. "in": "query",
  4681. "required": true
  4682. },
  4683. {
  4684. "type": "integer",
  4685. "description": "类别ID",
  4686. "name": "categoryID",
  4687. "in": "query"
  4688. },
  4689. {
  4690. "type": "string",
  4691. "description": "商品ID列表,格式:1,2,3。主要用于商品搜索。",
  4692. "name": "goodsIDs",
  4693. "in": "query"
  4694. }
  4695. ],
  4696. "responses": {
  4697. "200": {
  4698. "description": "OK",
  4699. "schema": {
  4700. "$ref": "#/definitions/models.HsbyMarketGoods"
  4701. }
  4702. },
  4703. "500": {
  4704. "description": "Internal Server Error",
  4705. "schema": {
  4706. "$ref": "#/definitions/app.Response"
  4707. }
  4708. }
  4709. }
  4710. }
  4711. },
  4712. "/HSBY/QueryMyCollectionOrders": {
  4713. "get": {
  4714. "security": [
  4715. {
  4716. "ApiKeyAuth": []
  4717. }
  4718. ],
  4719. "produces": [
  4720. "application/json"
  4721. ],
  4722. "tags": [
  4723. "定制【海商报业】"
  4724. ],
  4725. "summary": "我的闲置中收款信息查询",
  4726. "parameters": [
  4727. {
  4728. "type": "integer",
  4729. "description": "页码",
  4730. "name": "page",
  4731. "in": "query"
  4732. },
  4733. {
  4734. "type": "integer",
  4735. "description": "每页条数",
  4736. "name": "pagesize",
  4737. "in": "query"
  4738. },
  4739. {
  4740. "type": "string",
  4741. "description": "资金账户,格式:1,2,3",
  4742. "name": "accountIDs",
  4743. "in": "query",
  4744. "required": true
  4745. }
  4746. ],
  4747. "responses": {
  4748. "200": {
  4749. "description": "OK",
  4750. "schema": {
  4751. "$ref": "#/definitions/models.HsbySellCollectionOrder"
  4752. }
  4753. },
  4754. "500": {
  4755. "description": "Internal Server Error",
  4756. "schema": {
  4757. "$ref": "#/definitions/app.Response"
  4758. }
  4759. }
  4760. }
  4761. }
  4762. },
  4763. "/HSBY/QueryMyCouponHolds": {
  4764. "get": {
  4765. "security": [
  4766. {
  4767. "ApiKeyAuth": []
  4768. }
  4769. ],
  4770. "description": "说明:当holdStatus传入4(已过期)后,会从历史表中查询已过期的优惠卷数据。",
  4771. "produces": [
  4772. "application/json"
  4773. ],
  4774. "tags": [
  4775. "定制【海商报业】"
  4776. ],
  4777. "summary": "我的优惠卷持仓查询",
  4778. "parameters": [
  4779. {
  4780. "type": "string",
  4781. "description": "资金账户列表,格式:1,2,3",
  4782. "name": "accountIDs",
  4783. "in": "query",
  4784. "required": true
  4785. },
  4786. {
  4787. "type": "string",
  4788. "description": "持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期,格式:1,2,3",
  4789. "name": "holdStatus",
  4790. "in": "query"
  4791. }
  4792. ],
  4793. "responses": {
  4794. "200": {
  4795. "description": "OK",
  4796. "schema": {
  4797. "$ref": "#/definitions/models.MyCouponHold"
  4798. }
  4799. },
  4800. "500": {
  4801. "description": "Internal Server Error",
  4802. "schema": {
  4803. "$ref": "#/definitions/app.Response"
  4804. }
  4805. }
  4806. }
  4807. }
  4808. },
  4809. "/HSBY/QueryMyCoupons": {
  4810. "get": {
  4811. "security": [
  4812. {
  4813. "ApiKeyAuth": []
  4814. }
  4815. ],
  4816. "produces": [
  4817. "application/json"
  4818. ],
  4819. "tags": [
  4820. "定制【海商报业】"
  4821. ],
  4822. "summary": "我的优惠卷查询",
  4823. "parameters": [
  4824. {
  4825. "type": "string",
  4826. "description": "资金账户列表,格式:1,2,3",
  4827. "name": "accountIDs",
  4828. "in": "query",
  4829. "required": true
  4830. },
  4831. {
  4832. "type": "integer",
  4833. "description": "商品ID, 一般与sellUserID配套传入",
  4834. "name": "goodsID",
  4835. "in": "query"
  4836. },
  4837. {
  4838. "type": "integer",
  4839. "description": "卖方UserID",
  4840. "name": "sellUserID",
  4841. "in": "query"
  4842. }
  4843. ],
  4844. "responses": {
  4845. "200": {
  4846. "description": "OK",
  4847. "schema": {
  4848. "$ref": "#/definitions/models.MyCoupon"
  4849. }
  4850. },
  4851. "500": {
  4852. "description": "Internal Server Error",
  4853. "schema": {
  4854. "$ref": "#/definitions/app.Response"
  4855. }
  4856. }
  4857. }
  4858. }
  4859. },
  4860. "/HSBY/QueryMyPayOrders": {
  4861. "get": {
  4862. "security": [
  4863. {
  4864. "ApiKeyAuth": []
  4865. }
  4866. ],
  4867. "produces": [
  4868. "application/json"
  4869. ],
  4870. "tags": [
  4871. "定制【海商报业】"
  4872. ],
  4873. "summary": "获取我的订单中待付款信息",
  4874. "parameters": [
  4875. {
  4876. "type": "integer",
  4877. "description": "页码",
  4878. "name": "page",
  4879. "in": "query"
  4880. },
  4881. {
  4882. "type": "integer",
  4883. "description": "每页条数",
  4884. "name": "pagesize",
  4885. "in": "query"
  4886. },
  4887. {
  4888. "type": "string",
  4889. "description": "资金账户列表,格式:1,2,3",
  4890. "name": "accountIDs",
  4891. "in": "query",
  4892. "required": true
  4893. },
  4894. {
  4895. "type": "integer",
  4896. "description": "买方委托单号",
  4897. "name": "buyOrderID",
  4898. "in": "query"
  4899. },
  4900. {
  4901. "type": "integer",
  4902. "description": "卖方委托单号",
  4903. "name": "sellOrderID",
  4904. "in": "query"
  4905. }
  4906. ],
  4907. "responses": {
  4908. "200": {
  4909. "description": "OK",
  4910. "schema": {
  4911. "$ref": "#/definitions/models.HsbyBuyMyPayOrder"
  4912. }
  4913. },
  4914. "500": {
  4915. "description": "Internal Server Error",
  4916. "schema": {
  4917. "$ref": "#/definitions/app.Response"
  4918. }
  4919. }
  4920. }
  4921. }
  4922. },
  4923. "/HSBY/QueryMyUsedCoupon": {
  4924. "get": {
  4925. "security": [
  4926. {
  4927. "ApiKeyAuth": []
  4928. }
  4929. ],
  4930. "produces": [
  4931. "application/json"
  4932. ],
  4933. "tags": [
  4934. "定制【海商报业】"
  4935. ],
  4936. "summary": "已使用优惠卷查询",
  4937. "parameters": [
  4938. {
  4939. "type": "string",
  4940. "description": "资金账户列表,格式:1,2,3",
  4941. "name": "accountIDs",
  4942. "in": "query",
  4943. "required": true
  4944. }
  4945. ],
  4946. "responses": {
  4947. "200": {
  4948. "description": "OK",
  4949. "schema": {
  4950. "$ref": "#/definitions/models.MyUsedCoupon"
  4951. }
  4952. },
  4953. "500": {
  4954. "description": "Internal Server Error",
  4955. "schema": {
  4956. "$ref": "#/definitions/app.Response"
  4957. }
  4958. }
  4959. }
  4960. }
  4961. },
  4962. "/HSBY/QueryProvincesAndCities": {
  4963. "get": {
  4964. "security": [
  4965. {
  4966. "ApiKeyAuth": []
  4967. }
  4968. ],
  4969. "description": "查询结果只包括二级市场商品已关连的省市信息。",
  4970. "produces": [
  4971. "application/json"
  4972. ],
  4973. "tags": [
  4974. "定制【海商报业】"
  4975. ],
  4976. "summary": "查询省市信息(不包括区)",
  4977. "parameters": [
  4978. {
  4979. "type": "integer",
  4980. "description": "省ID",
  4981. "name": "provinceID",
  4982. "in": "query"
  4983. }
  4984. ],
  4985. "responses": {
  4986. "200": {
  4987. "description": "OK",
  4988. "schema": {
  4989. "$ref": "#/definitions/hsby.QueryProvincesAndCitiesRsp"
  4990. }
  4991. },
  4992. "500": {
  4993. "description": "Internal Server Error",
  4994. "schema": {
  4995. "$ref": "#/definitions/app.Response"
  4996. }
  4997. }
  4998. }
  4999. }
  5000. },
  5001. "/HSBY/SetHsbyMyPackagesStatus": {
  5002. "post": {
  5003. "security": [
  5004. {
  5005. "ApiKeyAuth": []
  5006. }
  5007. ],
  5008. "produces": [
  5009. "application/json"
  5010. ],
  5011. "tags": [
  5012. "定制【海商报业】"
  5013. ],
  5014. "summary": "设置我的包裹已收货状态",
  5015. "parameters": [
  5016. {
  5017. "type": "string",
  5018. "description": "提货单号",
  5019. "name": "takeOrderID",
  5020. "in": "query",
  5021. "required": true
  5022. },
  5023. {
  5024. "type": "integer",
  5025. "description": "资金账号",
  5026. "name": "accountID",
  5027. "in": "query",
  5028. "required": true
  5029. }
  5030. ],
  5031. "responses": {
  5032. "200": {
  5033. "description": "OK",
  5034. "schema": {
  5035. "$ref": "#/definitions/app.Response"
  5036. }
  5037. },
  5038. "500": {
  5039. "description": "Internal Server Error",
  5040. "schema": {
  5041. "$ref": "#/definitions/app.Response"
  5042. }
  5043. }
  5044. }
  5045. }
  5046. },
  5047. "/Market/QueryGoodsesByLoginID": {
  5048. "get": {
  5049. "security": [
  5050. {
  5051. "ApiKeyAuth": []
  5052. }
  5053. ],
  5054. "produces": [
  5055. "application/json"
  5056. ],
  5057. "tags": [
  5058. "通用市场"
  5059. ],
  5060. "summary": "获取登录账号有权限的商品信息",
  5061. "parameters": [
  5062. {
  5063. "type": "integer",
  5064. "description": "登录账号",
  5065. "name": "loginID",
  5066. "in": "query",
  5067. "required": true
  5068. },
  5069. {
  5070. "type": "string",
  5071. "description": "市场ID列表,格式:1,2,3",
  5072. "name": "marketIDs",
  5073. "in": "query"
  5074. }
  5075. ],
  5076. "responses": {
  5077. "200": {
  5078. "description": "OK",
  5079. "schema": {
  5080. "$ref": "#/definitions/models.Goods"
  5081. }
  5082. },
  5083. "500": {
  5084. "description": "Internal Server Error",
  5085. "schema": {
  5086. "$ref": "#/definitions/app.Response"
  5087. }
  5088. }
  5089. }
  5090. }
  5091. },
  5092. "/Market/QueryMarketRun": {
  5093. "get": {
  5094. "security": [
  5095. {
  5096. "ApiKeyAuth": []
  5097. }
  5098. ],
  5099. "produces": [
  5100. "application/json"
  5101. ],
  5102. "tags": [
  5103. "通用市场"
  5104. ],
  5105. "summary": "查询市场运行信息",
  5106. "parameters": [
  5107. {
  5108. "type": "integer",
  5109. "description": "市场ID,不传返回所有",
  5110. "name": "marketID",
  5111. "in": "query"
  5112. }
  5113. ],
  5114. "responses": {
  5115. "200": {
  5116. "description": "OK",
  5117. "schema": {
  5118. "$ref": "#/definitions/models.Marketrun"
  5119. }
  5120. },
  5121. "500": {
  5122. "description": "Internal Server Error",
  5123. "schema": {
  5124. "$ref": "#/definitions/app.Response"
  5125. }
  5126. }
  5127. }
  5128. }
  5129. },
  5130. "/Market/QueryMarketsByLoginID": {
  5131. "get": {
  5132. "security": [
  5133. {
  5134. "ApiKeyAuth": []
  5135. }
  5136. ],
  5137. "produces": [
  5138. "application/json"
  5139. ],
  5140. "tags": [
  5141. "通用市场"
  5142. ],
  5143. "summary": "获取登录账号有权限的市场信息",
  5144. "parameters": [
  5145. {
  5146. "type": "integer",
  5147. "description": "登录账号",
  5148. "name": "loginID",
  5149. "in": "query",
  5150. "required": true
  5151. }
  5152. ],
  5153. "responses": {
  5154. "200": {
  5155. "description": "OK",
  5156. "schema": {
  5157. "$ref": "#/definitions/models.Market"
  5158. }
  5159. },
  5160. "500": {
  5161. "description": "Internal Server Error",
  5162. "schema": {
  5163. "$ref": "#/definitions/app.Response"
  5164. }
  5165. }
  5166. }
  5167. }
  5168. },
  5169. "/Order/QueryHisTradeDetail": {
  5170. "get": {
  5171. "security": [
  5172. {
  5173. "ApiKeyAuth": []
  5174. }
  5175. ],
  5176. "produces": [
  5177. "application/json"
  5178. ],
  5179. "tags": [
  5180. "通用单据"
  5181. ],
  5182. "summary": "历史成交单查询(合约市场)",
  5183. "parameters": [
  5184. {
  5185. "type": "string",
  5186. "description": "资金账户 - 格式:1,2,3",
  5187. "name": "accountID",
  5188. "in": "query",
  5189. "required": true
  5190. },
  5191. {
  5192. "type": "integer",
  5193. "description": "成交单号",
  5194. "name": "tradeID",
  5195. "in": "query"
  5196. },
  5197. {
  5198. "type": "integer",
  5199. "description": "委托单号",
  5200. "name": "orderID",
  5201. "in": "query"
  5202. },
  5203. {
  5204. "type": "string",
  5205. "description": "交易模式 - 格式:1,2,3",
  5206. "name": "tradeMode",
  5207. "in": "query"
  5208. },
  5209. {
  5210. "type": "integer",
  5211. "description": "委托单据类型",
  5212. "name": "buildType",
  5213. "in": "query"
  5214. },
  5215. {
  5216. "type": "string",
  5217. "description": "成交类别 - 格式:1,2,3",
  5218. "name": "tradeType",
  5219. "in": "query"
  5220. },
  5221. {
  5222. "type": "string",
  5223. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  5224. "name": "startDate",
  5225. "in": "query"
  5226. },
  5227. {
  5228. "type": "string",
  5229. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  5230. "name": "endDate",
  5231. "in": "query"
  5232. }
  5233. ],
  5234. "responses": {
  5235. "200": {
  5236. "description": "OK",
  5237. "schema": {
  5238. "$ref": "#/definitions/order.QueryHisTradeDetailRsp"
  5239. }
  5240. },
  5241. "500": {
  5242. "description": "Internal Server Error",
  5243. "schema": {
  5244. "$ref": "#/definitions/app.Response"
  5245. }
  5246. }
  5247. }
  5248. }
  5249. },
  5250. "/Order/QueryHisTradeOrderDetail": {
  5251. "get": {
  5252. "security": [
  5253. {
  5254. "ApiKeyAuth": []
  5255. }
  5256. ],
  5257. "produces": [
  5258. "application/json"
  5259. ],
  5260. "tags": [
  5261. "通用单据"
  5262. ],
  5263. "summary": "历史委托单查询请求(合约市场)",
  5264. "parameters": [
  5265. {
  5266. "type": "string",
  5267. "description": "资金账户 - 格式:1,2,3",
  5268. "name": "accountID",
  5269. "in": "query",
  5270. "required": true
  5271. },
  5272. {
  5273. "type": "string",
  5274. "description": "交易模式 - 格式:1,2,3",
  5275. "name": "tradeMode",
  5276. "in": "query"
  5277. },
  5278. {
  5279. "type": "string",
  5280. "description": "委托状态 - 格式:1,2,3",
  5281. "name": "orderStatus",
  5282. "in": "query"
  5283. },
  5284. {
  5285. "type": "integer",
  5286. "description": "委托单号",
  5287. "name": "orderID",
  5288. "in": "query"
  5289. },
  5290. {
  5291. "type": "string",
  5292. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  5293. "name": "startDate",
  5294. "in": "query"
  5295. },
  5296. {
  5297. "type": "string",
  5298. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  5299. "name": "endDate",
  5300. "in": "query"
  5301. }
  5302. ],
  5303. "responses": {
  5304. "200": {
  5305. "description": "OK",
  5306. "schema": {
  5307. "$ref": "#/definitions/order.QueryHisTradeOrderDetailRsp"
  5308. }
  5309. },
  5310. "500": {
  5311. "description": "Internal Server Error",
  5312. "schema": {
  5313. "$ref": "#/definitions/app.Response"
  5314. }
  5315. }
  5316. }
  5317. }
  5318. },
  5319. "/Order/QueryTradeDetail": {
  5320. "get": {
  5321. "security": [
  5322. {
  5323. "ApiKeyAuth": []
  5324. }
  5325. ],
  5326. "produces": [
  5327. "application/json"
  5328. ],
  5329. "tags": [
  5330. "通用单据"
  5331. ],
  5332. "summary": "成交单查询(合约市场)",
  5333. "parameters": [
  5334. {
  5335. "type": "string",
  5336. "description": "资金账户 - 格式:1,2,3",
  5337. "name": "accountID",
  5338. "in": "query",
  5339. "required": true
  5340. },
  5341. {
  5342. "type": "integer",
  5343. "description": "成交单号",
  5344. "name": "tradeID",
  5345. "in": "query"
  5346. },
  5347. {
  5348. "type": "integer",
  5349. "description": "委托单号",
  5350. "name": "orderID",
  5351. "in": "query"
  5352. },
  5353. {
  5354. "type": "string",
  5355. "description": "交易模式 - 格式:1,2,3",
  5356. "name": "tradeMode",
  5357. "in": "query"
  5358. },
  5359. {
  5360. "type": "integer",
  5361. "description": "委托单据类型",
  5362. "name": "buildType",
  5363. "in": "query"
  5364. },
  5365. {
  5366. "type": "string",
  5367. "description": "成交类别 - 格式:1,2,3",
  5368. "name": "tradeType",
  5369. "in": "query"
  5370. }
  5371. ],
  5372. "responses": {
  5373. "200": {
  5374. "description": "OK",
  5375. "schema": {
  5376. "$ref": "#/definitions/order.QueryTradeDetailRsp"
  5377. }
  5378. },
  5379. "500": {
  5380. "description": "Internal Server Error",
  5381. "schema": {
  5382. "$ref": "#/definitions/app.Response"
  5383. }
  5384. }
  5385. }
  5386. }
  5387. },
  5388. "/Order/QueryTradeOrderDetail": {
  5389. "get": {
  5390. "security": [
  5391. {
  5392. "ApiKeyAuth": []
  5393. }
  5394. ],
  5395. "produces": [
  5396. "application/json"
  5397. ],
  5398. "tags": [
  5399. "通用单据"
  5400. ],
  5401. "summary": "委托单查询请求(合约市场)",
  5402. "parameters": [
  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": "tradeMode",
  5414. "in": "query"
  5415. },
  5416. {
  5417. "type": "string",
  5418. "description": "委托状态 - 格式:1,2,3",
  5419. "name": "orderStatus",
  5420. "in": "query"
  5421. },
  5422. {
  5423. "type": "integer",
  5424. "description": "委托单号",
  5425. "name": "orderID",
  5426. "in": "query"
  5427. }
  5428. ],
  5429. "responses": {
  5430. "200": {
  5431. "description": "OK",
  5432. "schema": {
  5433. "$ref": "#/definitions/order.QueryTradeOrderDetailRsp"
  5434. }
  5435. },
  5436. "500": {
  5437. "description": "Internal Server Error",
  5438. "schema": {
  5439. "$ref": "#/definitions/app.Response"
  5440. }
  5441. }
  5442. }
  5443. }
  5444. },
  5445. "/Order/QueryTradePosition": {
  5446. "get": {
  5447. "security": [
  5448. {
  5449. "ApiKeyAuth": []
  5450. }
  5451. ],
  5452. "produces": [
  5453. "application/json"
  5454. ],
  5455. "tags": [
  5456. "通用单据"
  5457. ],
  5458. "summary": "持仓汇总查询(合约市场)",
  5459. "parameters": [
  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": "tradeMode",
  5471. "in": "query"
  5472. }
  5473. ],
  5474. "responses": {
  5475. "200": {
  5476. "description": "OK",
  5477. "schema": {
  5478. "$ref": "#/definitions/order.QueryTradePositionRsp"
  5479. }
  5480. },
  5481. "500": {
  5482. "description": "Internal Server Error",
  5483. "schema": {
  5484. "$ref": "#/definitions/app.Response"
  5485. }
  5486. }
  5487. }
  5488. }
  5489. },
  5490. "/Quote/QueryHistoryDatas": {
  5491. "get": {
  5492. "security": [
  5493. {
  5494. "ApiKeyAuth": []
  5495. }
  5496. ],
  5497. "produces": [
  5498. "application/json"
  5499. ],
  5500. "tags": [
  5501. "行情服务"
  5502. ],
  5503. "summary": "查询行情历史数据",
  5504. "parameters": [
  5505. {
  5506. "type": "integer",
  5507. "description": "周期类型, 0-秒 1: 1分钟 2: 5分钟 3: 30分钟 4: 60分钟 120: 2小时 240: 4小时 11: 日线",
  5508. "name": "cycleType",
  5509. "in": "query",
  5510. "required": true
  5511. },
  5512. {
  5513. "type": "string",
  5514. "description": "商品代码",
  5515. "name": "goodsCode",
  5516. "in": "query",
  5517. "required": true
  5518. },
  5519. {
  5520. "type": "string",
  5521. "description": "开始时间,格式:yyyy-MM-dd HH:mm:ss",
  5522. "name": "startTime",
  5523. "in": "query"
  5524. },
  5525. {
  5526. "type": "string",
  5527. "description": "结束时间,格式:yyyy-MM-dd HH:mm:ss",
  5528. "name": "endTime",
  5529. "in": "query"
  5530. },
  5531. {
  5532. "type": "integer",
  5533. "description": "条数",
  5534. "name": "count",
  5535. "in": "query"
  5536. },
  5537. {
  5538. "type": "boolean",
  5539. "description": "是否按时间顺序排序(默认为时间倒序排序)",
  5540. "name": "isAsc",
  5541. "in": "query"
  5542. }
  5543. ],
  5544. "responses": {
  5545. "200": {
  5546. "description": "OK",
  5547. "schema": {
  5548. "$ref": "#/definitions/quote.HistoryData"
  5549. }
  5550. },
  5551. "500": {
  5552. "description": "Internal Server Error",
  5553. "schema": {
  5554. "$ref": "#/definitions/app.Response"
  5555. }
  5556. }
  5557. }
  5558. }
  5559. },
  5560. "/Quote/QueryHistoryTikDatas": {
  5561. "get": {
  5562. "security": [
  5563. {
  5564. "ApiKeyAuth": []
  5565. }
  5566. ],
  5567. "produces": [
  5568. "application/json"
  5569. ],
  5570. "tags": [
  5571. "行情服务"
  5572. ],
  5573. "summary": "查询行情Tik数据",
  5574. "parameters": [
  5575. {
  5576. "type": "string",
  5577. "description": "商品代码",
  5578. "name": "goodsCode",
  5579. "in": "query",
  5580. "required": true
  5581. },
  5582. {
  5583. "type": "string",
  5584. "description": "开始时间,格式:yyyy-MM-dd HH:mm:ss",
  5585. "name": "startTime",
  5586. "in": "query"
  5587. },
  5588. {
  5589. "type": "string",
  5590. "description": "结束时间,格式:yyyy-MM-dd HH:mm:ss",
  5591. "name": "endTime",
  5592. "in": "query"
  5593. },
  5594. {
  5595. "type": "integer",
  5596. "description": "条数",
  5597. "name": "count",
  5598. "in": "query"
  5599. },
  5600. {
  5601. "type": "boolean",
  5602. "description": "是否按时间顺序排序(默认为时间倒序排序)",
  5603. "name": "isAsc",
  5604. "in": "query"
  5605. }
  5606. ],
  5607. "responses": {
  5608. "200": {
  5609. "description": "OK",
  5610. "schema": {
  5611. "$ref": "#/definitions/quote.HistoryTikData"
  5612. }
  5613. },
  5614. "500": {
  5615. "description": "Internal Server Error",
  5616. "schema": {
  5617. "$ref": "#/definitions/app.Response"
  5618. }
  5619. }
  5620. }
  5621. }
  5622. },
  5623. "/Quote/QueryQuoteDay": {
  5624. "get": {
  5625. "security": [
  5626. {
  5627. "ApiKeyAuth": []
  5628. }
  5629. ],
  5630. "produces": [
  5631. "application/json"
  5632. ],
  5633. "tags": [
  5634. "行情服务"
  5635. ],
  5636. "summary": "获取商品盘面信息",
  5637. "parameters": [
  5638. {
  5639. "type": "string",
  5640. "description": "商品代码列表,格式:CU2102,CU2103,AL2107",
  5641. "name": "goodsCodes",
  5642. "in": "query",
  5643. "required": true
  5644. }
  5645. ],
  5646. "responses": {
  5647. "200": {
  5648. "description": "OK",
  5649. "schema": {
  5650. "$ref": "#/definitions/quote.QueryQuoteDayRsp"
  5651. }
  5652. },
  5653. "500": {
  5654. "description": "Internal Server Error",
  5655. "schema": {
  5656. "$ref": "#/definitions/app.Response"
  5657. }
  5658. }
  5659. }
  5660. }
  5661. },
  5662. "/Quote/QueryTSData": {
  5663. "get": {
  5664. "security": [
  5665. {
  5666. "ApiKeyAuth": []
  5667. }
  5668. ],
  5669. "produces": [
  5670. "application/json"
  5671. ],
  5672. "tags": [
  5673. "行情服务"
  5674. ],
  5675. "summary": "分时图数据查询",
  5676. "parameters": [
  5677. {
  5678. "type": "string",
  5679. "description": "商品代码",
  5680. "name": "goodsCode",
  5681. "in": "query",
  5682. "required": true
  5683. }
  5684. ],
  5685. "responses": {
  5686. "200": {
  5687. "description": "OK",
  5688. "schema": {
  5689. "$ref": "#/definitions/quote.QueryTSDataRsp"
  5690. }
  5691. },
  5692. "500": {
  5693. "description": "Internal Server Error",
  5694. "schema": {
  5695. "$ref": "#/definitions/app.Response"
  5696. }
  5697. }
  5698. }
  5699. }
  5700. },
  5701. "/SZDZ/QueryConvertConfig": {
  5702. "get": {
  5703. "security": [
  5704. {
  5705. "ApiKeyAuth": []
  5706. }
  5707. ],
  5708. "produces": [
  5709. "application/json"
  5710. ],
  5711. "tags": [
  5712. "定制【尚志大宗】"
  5713. ],
  5714. "summary": "查询交易系统转换设置",
  5715. "parameters": [
  5716. {
  5717. "type": "integer",
  5718. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)",
  5719. "name": "convertType",
  5720. "in": "query"
  5721. },
  5722. {
  5723. "type": "string",
  5724. "description": "外部商品代码[JD\\PD]",
  5725. "name": "outerGoodsCode",
  5726. "in": "query"
  5727. },
  5728. {
  5729. "type": "string",
  5730. "description": "内部商品ID列表[交易],格式:1,2,3",
  5731. "name": "innerGoodsIDs",
  5732. "in": "query"
  5733. }
  5734. ],
  5735. "responses": {
  5736. "200": {
  5737. "description": "OK",
  5738. "schema": {
  5739. "$ref": "#/definitions/models.Szdz3convertconfig"
  5740. }
  5741. },
  5742. "500": {
  5743. "description": "Internal Server Error",
  5744. "schema": {
  5745. "$ref": "#/definitions/app.Response"
  5746. }
  5747. }
  5748. }
  5749. }
  5750. },
  5751. "/SZDZ/QueryConvertLog": {
  5752. "get": {
  5753. "security": [
  5754. {
  5755. "ApiKeyAuth": []
  5756. }
  5757. ],
  5758. "produces": [
  5759. "application/json"
  5760. ],
  5761. "tags": [
  5762. "定制【尚志大宗】"
  5763. ],
  5764. "summary": "交易系统转换流水查询",
  5765. "parameters": [
  5766. {
  5767. "type": "string",
  5768. "description": "资金账户 - 格式:1,2,3",
  5769. "name": "accountID",
  5770. "in": "query",
  5771. "required": true
  5772. },
  5773. {
  5774. "type": "string",
  5775. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  5776. "name": "startDate",
  5777. "in": "query"
  5778. },
  5779. {
  5780. "type": "string",
  5781. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  5782. "name": "endDate",
  5783. "in": "query"
  5784. }
  5785. ],
  5786. "responses": {
  5787. "200": {
  5788. "description": "OK",
  5789. "schema": {
  5790. "$ref": "#/definitions/szdz.QueryConvertLogRsp"
  5791. }
  5792. },
  5793. "500": {
  5794. "description": "Internal Server Error",
  5795. "schema": {
  5796. "$ref": "#/definitions/app.Response"
  5797. }
  5798. }
  5799. }
  5800. }
  5801. },
  5802. "/SZDZ/QueryGoodsPickup": {
  5803. "get": {
  5804. "security": [
  5805. {
  5806. "ApiKeyAuth": []
  5807. }
  5808. ],
  5809. "produces": [
  5810. "application/json"
  5811. ],
  5812. "tags": [
  5813. "定制【尚志大宗】"
  5814. ],
  5815. "summary": "商品提货单查询",
  5816. "parameters": [
  5817. {
  5818. "type": "string",
  5819. "description": "资金账户 - 格式:1,2,3",
  5820. "name": "accountID",
  5821. "in": "query",
  5822. "required": true
  5823. },
  5824. {
  5825. "type": "integer",
  5826. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  5827. "name": "takeOrderStatus",
  5828. "in": "query"
  5829. }
  5830. ],
  5831. "responses": {
  5832. "200": {
  5833. "description": "OK",
  5834. "schema": {
  5835. "$ref": "#/definitions/szdz.QueryGoodsPickupRsp"
  5836. }
  5837. },
  5838. "500": {
  5839. "description": "Internal Server Error",
  5840. "schema": {
  5841. "$ref": "#/definitions/app.Response"
  5842. }
  5843. }
  5844. }
  5845. }
  5846. },
  5847. "/SZDZ/QueryRecieptOrder": {
  5848. "get": {
  5849. "security": [
  5850. {
  5851. "ApiKeyAuth": []
  5852. }
  5853. ],
  5854. "description": "说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算",
  5855. "produces": [
  5856. "application/json"
  5857. ],
  5858. "tags": [
  5859. "定制【尚志大宗】"
  5860. ],
  5861. "summary": "点选挂牌委托单据查询(摘牌大厅)",
  5862. "parameters": [
  5863. {
  5864. "type": "integer",
  5865. "description": "页码",
  5866. "name": "page",
  5867. "in": "query"
  5868. },
  5869. {
  5870. "type": "integer",
  5871. "description": "每页条数",
  5872. "name": "pagesize",
  5873. "in": "query"
  5874. },
  5875. {
  5876. "type": "integer",
  5877. "description": "商品ID",
  5878. "name": "goodsID",
  5879. "in": "query",
  5880. "required": true
  5881. },
  5882. {
  5883. "type": "string",
  5884. "description": "所属账户名称",
  5885. "name": "accountName",
  5886. "in": "query"
  5887. },
  5888. {
  5889. "type": "integer",
  5890. "description": "市场ID",
  5891. "name": "marketID",
  5892. "in": "query"
  5893. },
  5894. {
  5895. "type": "integer",
  5896. "description": "方向 - 0:买 1:卖",
  5897. "name": "buyorsell",
  5898. "in": "query",
  5899. "required": true
  5900. }
  5901. ],
  5902. "responses": {
  5903. "200": {
  5904. "description": "OK",
  5905. "schema": {
  5906. "$ref": "#/definitions/szdz.QueryRecieptOrderRsp"
  5907. }
  5908. },
  5909. "500": {
  5910. "description": "Internal Server Error",
  5911. "schema": {
  5912. "$ref": "#/definitions/app.Response"
  5913. }
  5914. }
  5915. }
  5916. }
  5917. },
  5918. "/SZDZ/QuerySZDZTradePosition": {
  5919. "get": {
  5920. "security": [
  5921. {
  5922. "ApiKeyAuth": []
  5923. }
  5924. ],
  5925. "produces": [
  5926. "application/json"
  5927. ],
  5928. "tags": [
  5929. "定制【尚志大宗】"
  5930. ],
  5931. "summary": "持仓汇总查询(尚志大宗)",
  5932. "parameters": [
  5933. {
  5934. "type": "integer",
  5935. "description": "资金账户",
  5936. "name": "accountID",
  5937. "in": "query",
  5938. "required": true
  5939. }
  5940. ],
  5941. "responses": {
  5942. "200": {
  5943. "description": "OK",
  5944. "schema": {
  5945. "$ref": "#/definitions/szdz.QuerySZDZTradePositionRsp"
  5946. }
  5947. },
  5948. "500": {
  5949. "description": "Internal Server Error",
  5950. "schema": {
  5951. "$ref": "#/definitions/app.Response"
  5952. }
  5953. }
  5954. }
  5955. }
  5956. },
  5957. "/SZDZ/SearchWhite": {
  5958. "get": {
  5959. "security": [
  5960. {
  5961. "ApiKeyAuth": []
  5962. }
  5963. ],
  5964. "produces": [
  5965. "application/json"
  5966. ],
  5967. "tags": [
  5968. "定制【尚志大宗】"
  5969. ],
  5970. "summary": "搜索白名单",
  5971. "parameters": [
  5972. {
  5973. "type": "integer",
  5974. "description": "用户ID",
  5975. "name": "userID",
  5976. "in": "query",
  5977. "required": true
  5978. }
  5979. ],
  5980. "responses": {
  5981. "200": {
  5982. "description": "OK",
  5983. "schema": {
  5984. "$ref": "#/definitions/models.Szdz3searchwhitelist"
  5985. }
  5986. },
  5987. "500": {
  5988. "description": "Internal Server Error",
  5989. "schema": {
  5990. "$ref": "#/definitions/app.Response"
  5991. }
  5992. }
  5993. }
  5994. }
  5995. },
  5996. "/Search/SearchGoodses": {
  5997. "get": {
  5998. "description": "说明:使用检索内容模糊匹配商品代码和商品名称",
  5999. "produces": [
  6000. "application/json"
  6001. ],
  6002. "tags": [
  6003. "检索服务"
  6004. ],
  6005. "summary": "检索商品信息",
  6006. "parameters": [
  6007. {
  6008. "type": "string",
  6009. "description": "检索内容",
  6010. "name": "content",
  6011. "in": "query",
  6012. "required": true
  6013. },
  6014. {
  6015. "type": "string",
  6016. "description": "交易模式,格式:1,2,3",
  6017. "name": "tradeModes",
  6018. "in": "query"
  6019. }
  6020. ],
  6021. "responses": {
  6022. "200": {
  6023. "description": "OK",
  6024. "schema": {
  6025. "$ref": "#/definitions/models.SearchGoods"
  6026. }
  6027. },
  6028. "500": {
  6029. "description": "Internal Server Error",
  6030. "schema": {
  6031. "$ref": "#/definitions/app.Response"
  6032. }
  6033. }
  6034. }
  6035. }
  6036. },
  6037. "/TaAccount/GetTaAccounts": {
  6038. "get": {
  6039. "security": [
  6040. {
  6041. "ApiKeyAuth": []
  6042. }
  6043. ],
  6044. "produces": [
  6045. "application/json"
  6046. ],
  6047. "tags": [
  6048. "资金账户"
  6049. ],
  6050. "summary": "获取资金账户信息",
  6051. "parameters": [
  6052. {
  6053. "type": "integer",
  6054. "description": "登录账户",
  6055. "name": "loginID",
  6056. "in": "query",
  6057. "required": true
  6058. },
  6059. {
  6060. "type": "integer",
  6061. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  6062. "name": "taAccountType",
  6063. "in": "query"
  6064. }
  6065. ],
  6066. "responses": {
  6067. "200": {
  6068. "description": "OK",
  6069. "schema": {
  6070. "$ref": "#/definitions/models.Taaccount"
  6071. }
  6072. },
  6073. "500": {
  6074. "description": "Internal Server Error",
  6075. "schema": {
  6076. "$ref": "#/definitions/app.Response"
  6077. }
  6078. }
  6079. }
  6080. }
  6081. },
  6082. "/TaAccount/QueryAmountLog": {
  6083. "get": {
  6084. "security": [
  6085. {
  6086. "ApiKeyAuth": []
  6087. }
  6088. ],
  6089. "produces": [
  6090. "application/json"
  6091. ],
  6092. "tags": [
  6093. "资金账户"
  6094. ],
  6095. "summary": "资金流水查询(当前)",
  6096. "parameters": [
  6097. {
  6098. "type": "integer",
  6099. "description": "页码",
  6100. "name": "page",
  6101. "in": "query"
  6102. },
  6103. {
  6104. "type": "integer",
  6105. "description": "每页条数",
  6106. "name": "pagesize",
  6107. "in": "query"
  6108. },
  6109. {
  6110. "type": "string",
  6111. "description": "资金账户 - 格式:1,2,3",
  6112. "name": "accountID",
  6113. "in": "query",
  6114. "required": true
  6115. },
  6116. {
  6117. "type": "string",
  6118. "description": "资金操作类型 - 格式:1,2,3",
  6119. "name": "OperateType",
  6120. "in": "query"
  6121. }
  6122. ],
  6123. "responses": {
  6124. "200": {
  6125. "description": "OK",
  6126. "schema": {
  6127. "$ref": "#/definitions/taaccount.QueryAmountLogRsp"
  6128. }
  6129. },
  6130. "500": {
  6131. "description": "Internal Server Error",
  6132. "schema": {
  6133. "$ref": "#/definitions/app.Response"
  6134. }
  6135. }
  6136. }
  6137. }
  6138. },
  6139. "/TaAccount/QueryHisAmountLog": {
  6140. "get": {
  6141. "security": [
  6142. {
  6143. "ApiKeyAuth": []
  6144. }
  6145. ],
  6146. "produces": [
  6147. "application/json"
  6148. ],
  6149. "tags": [
  6150. "资金账户"
  6151. ],
  6152. "summary": "资金流水查询(历史)",
  6153. "parameters": [
  6154. {
  6155. "type": "integer",
  6156. "description": "页码",
  6157. "name": "page",
  6158. "in": "query"
  6159. },
  6160. {
  6161. "type": "integer",
  6162. "description": "每页条数",
  6163. "name": "pagesize",
  6164. "in": "query"
  6165. },
  6166. {
  6167. "type": "string",
  6168. "description": "资金账户 - 格式:1,2,3",
  6169. "name": "accountID",
  6170. "in": "query",
  6171. "required": true
  6172. },
  6173. {
  6174. "type": "string",
  6175. "description": "资金操作类型 - 格式:1,2,3",
  6176. "name": "OperateType",
  6177. "in": "query"
  6178. },
  6179. {
  6180. "type": "string",
  6181. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  6182. "name": "startDate",
  6183. "in": "query"
  6184. },
  6185. {
  6186. "type": "string",
  6187. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  6188. "name": "endDate",
  6189. "in": "query"
  6190. }
  6191. ],
  6192. "responses": {
  6193. "200": {
  6194. "description": "OK",
  6195. "schema": {
  6196. "$ref": "#/definitions/taaccount.QueryHisAmountLogRsp"
  6197. }
  6198. },
  6199. "500": {
  6200. "description": "Internal Server Error",
  6201. "schema": {
  6202. "$ref": "#/definitions/app.Response"
  6203. }
  6204. }
  6205. }
  6206. }
  6207. },
  6208. "/Trade/QueryRecieptOrder": {
  6209. "get": {
  6210. "security": [
  6211. {
  6212. "ApiKeyAuth": []
  6213. }
  6214. ],
  6215. "description": "说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算",
  6216. "produces": [
  6217. "application/json"
  6218. ],
  6219. "tags": [
  6220. "通用交易"
  6221. ],
  6222. "summary": "点选挂牌委托单据查询(保证金摘牌大厅)",
  6223. "parameters": [
  6224. {
  6225. "type": "integer",
  6226. "description": "页码",
  6227. "name": "page",
  6228. "in": "query"
  6229. },
  6230. {
  6231. "type": "integer",
  6232. "description": "每页条数",
  6233. "name": "pagesize",
  6234. "in": "query"
  6235. },
  6236. {
  6237. "type": "integer",
  6238. "description": "商品ID",
  6239. "name": "goodsID",
  6240. "in": "query",
  6241. "required": true
  6242. },
  6243. {
  6244. "type": "string",
  6245. "description": "所属账户名称",
  6246. "name": "accountName",
  6247. "in": "query"
  6248. },
  6249. {
  6250. "type": "integer",
  6251. "description": "市场ID",
  6252. "name": "marketID",
  6253. "in": "query"
  6254. },
  6255. {
  6256. "type": "integer",
  6257. "description": "方向 - 0:买 1:卖",
  6258. "name": "buyorsell",
  6259. "in": "query",
  6260. "required": true
  6261. }
  6262. ],
  6263. "responses": {
  6264. "200": {
  6265. "description": "OK",
  6266. "schema": {
  6267. "$ref": "#/definitions/trade.QueryRecieptOrderRsp"
  6268. }
  6269. },
  6270. "500": {
  6271. "description": "Internal Server Error",
  6272. "schema": {
  6273. "$ref": "#/definitions/app.Response"
  6274. }
  6275. }
  6276. }
  6277. }
  6278. },
  6279. "/User/AddMessageBoard": {
  6280. "post": {
  6281. "security": [
  6282. {
  6283. "ApiKeyAuth": []
  6284. }
  6285. ],
  6286. "produces": [
  6287. "application/json"
  6288. ],
  6289. "tags": [
  6290. "用户信息"
  6291. ],
  6292. "summary": "添加用户留言板信息",
  6293. "parameters": [
  6294. {
  6295. "type": "integer",
  6296. "description": "用户ID",
  6297. "name": "userID",
  6298. "in": "query",
  6299. "required": true
  6300. },
  6301. {
  6302. "type": "string",
  6303. "description": "留言信息",
  6304. "name": "message",
  6305. "in": "query",
  6306. "required": true
  6307. },
  6308. {
  6309. "type": "string",
  6310. "description": "联系电话",
  6311. "name": "contactNum",
  6312. "in": "query",
  6313. "required": true
  6314. }
  6315. ],
  6316. "responses": {
  6317. "200": {
  6318. "description": "OK",
  6319. "schema": {
  6320. "$ref": "#/definitions/app.Response"
  6321. }
  6322. },
  6323. "500": {
  6324. "description": "Internal Server Error",
  6325. "schema": {
  6326. "$ref": "#/definitions/app.Response"
  6327. }
  6328. }
  6329. }
  6330. }
  6331. },
  6332. "/User/AddUserFavoriteGoods": {
  6333. "post": {
  6334. "security": [
  6335. {
  6336. "ApiKeyAuth": []
  6337. }
  6338. ],
  6339. "produces": [
  6340. "application/json"
  6341. ],
  6342. "tags": [
  6343. "用户信息"
  6344. ],
  6345. "summary": "添加用户商品收藏信息",
  6346. "parameters": [
  6347. {
  6348. "type": "integer",
  6349. "description": "用户ID",
  6350. "name": "userID",
  6351. "in": "query",
  6352. "required": true
  6353. },
  6354. {
  6355. "type": "integer",
  6356. "description": "商品ID",
  6357. "name": "goodsID",
  6358. "in": "query",
  6359. "required": true
  6360. }
  6361. ],
  6362. "responses": {
  6363. "200": {
  6364. "description": "OK",
  6365. "schema": {
  6366. "$ref": "#/definitions/app.Response"
  6367. }
  6368. },
  6369. "500": {
  6370. "description": "Internal Server Error",
  6371. "schema": {
  6372. "$ref": "#/definitions/app.Response"
  6373. }
  6374. }
  6375. }
  6376. }
  6377. },
  6378. "/User/GetLoginID": {
  6379. "get": {
  6380. "description": "UserName 可传入“登录账号”、“登录代码”和“手机号码”",
  6381. "produces": [
  6382. "application/json"
  6383. ],
  6384. "tags": [
  6385. "用户信息"
  6386. ],
  6387. "summary": "获取登录ID",
  6388. "parameters": [
  6389. {
  6390. "type": "string",
  6391. "description": "登录代码",
  6392. "name": "username",
  6393. "in": "query",
  6394. "required": true
  6395. }
  6396. ],
  6397. "responses": {
  6398. "200": {
  6399. "description": "OK",
  6400. "schema": {
  6401. "$ref": "#/definitions/app.Response"
  6402. }
  6403. },
  6404. "500": {
  6405. "description": "Internal Server Error",
  6406. "schema": {
  6407. "$ref": "#/definitions/app.Response"
  6408. }
  6409. }
  6410. }
  6411. }
  6412. },
  6413. "/User/GetUserAccount": {
  6414. "get": {
  6415. "security": [
  6416. {
  6417. "ApiKeyAuth": []
  6418. }
  6419. ],
  6420. "produces": [
  6421. "application/json"
  6422. ],
  6423. "tags": [
  6424. "用户信息"
  6425. ],
  6426. "summary": "获取用户账号信息",
  6427. "parameters": [
  6428. {
  6429. "type": "integer",
  6430. "description": "用户ID",
  6431. "name": "userID",
  6432. "in": "query",
  6433. "required": true
  6434. }
  6435. ],
  6436. "responses": {
  6437. "200": {
  6438. "description": "OK",
  6439. "schema": {
  6440. "$ref": "#/definitions/models.Useraccount"
  6441. }
  6442. },
  6443. "500": {
  6444. "description": "Internal Server Error",
  6445. "schema": {
  6446. "$ref": "#/definitions/app.Response"
  6447. }
  6448. }
  6449. }
  6450. }
  6451. },
  6452. "/User/GetUserAuthStatus": {
  6453. "get": {
  6454. "security": [
  6455. {
  6456. "ApiKeyAuth": []
  6457. }
  6458. ],
  6459. "produces": [
  6460. "application/json"
  6461. ],
  6462. "tags": [
  6463. "用户信息"
  6464. ],
  6465. "summary": "获取用户实名认证状态",
  6466. "parameters": [
  6467. {
  6468. "type": "integer",
  6469. "description": "用户ID",
  6470. "name": "userID",
  6471. "in": "query",
  6472. "required": true
  6473. }
  6474. ],
  6475. "responses": {
  6476. "200": {
  6477. "description": "OK",
  6478. "schema": {
  6479. "$ref": "#/definitions/app.Response"
  6480. }
  6481. },
  6482. "500": {
  6483. "description": "Internal Server Error",
  6484. "schema": {
  6485. "$ref": "#/definitions/app.Response"
  6486. }
  6487. }
  6488. }
  6489. }
  6490. },
  6491. "/User/LoginQuery": {
  6492. "get": {
  6493. "security": [
  6494. {
  6495. "ApiKeyAuth": []
  6496. }
  6497. ],
  6498. "produces": [
  6499. "application/json"
  6500. ],
  6501. "tags": [
  6502. "用户信息"
  6503. ],
  6504. "summary": "账户登录后信息查询",
  6505. "parameters": [
  6506. {
  6507. "type": "integer",
  6508. "description": "登录账号",
  6509. "name": "loginID",
  6510. "in": "query",
  6511. "required": true
  6512. }
  6513. ],
  6514. "responses": {
  6515. "200": {
  6516. "description": "OK",
  6517. "schema": {
  6518. "$ref": "#/definitions/user.LoginQueryRsp"
  6519. }
  6520. },
  6521. "500": {
  6522. "description": "Internal Server Error",
  6523. "schema": {
  6524. "$ref": "#/definitions/app.Response"
  6525. }
  6526. }
  6527. }
  6528. }
  6529. },
  6530. "/User/QueryMessageBoard": {
  6531. "get": {
  6532. "security": [
  6533. {
  6534. "ApiKeyAuth": []
  6535. }
  6536. ],
  6537. "produces": [
  6538. "application/json"
  6539. ],
  6540. "tags": [
  6541. "用户信息"
  6542. ],
  6543. "summary": "获取用户留言板信息",
  6544. "parameters": [
  6545. {
  6546. "type": "integer",
  6547. "description": "用户ID",
  6548. "name": "userID",
  6549. "in": "query",
  6550. "required": true
  6551. }
  6552. ],
  6553. "responses": {
  6554. "200": {
  6555. "description": "OK",
  6556. "schema": {
  6557. "$ref": "#/definitions/models.Messageboard"
  6558. }
  6559. },
  6560. "500": {
  6561. "description": "Internal Server Error",
  6562. "schema": {
  6563. "$ref": "#/definitions/app.Response"
  6564. }
  6565. }
  6566. }
  6567. }
  6568. },
  6569. "/User/QueryUserFavoriteGoodses": {
  6570. "get": {
  6571. "security": [
  6572. {
  6573. "ApiKeyAuth": []
  6574. }
  6575. ],
  6576. "produces": [
  6577. "application/json"
  6578. ],
  6579. "tags": [
  6580. "用户信息"
  6581. ],
  6582. "summary": "获取用户商品收藏信息",
  6583. "parameters": [
  6584. {
  6585. "type": "integer",
  6586. "description": "用户ID",
  6587. "name": "userID",
  6588. "in": "query",
  6589. "required": true
  6590. }
  6591. ],
  6592. "responses": {
  6593. "200": {
  6594. "description": "OK",
  6595. "schema": {
  6596. "$ref": "#/definitions/models.Userfavoritegoods"
  6597. }
  6598. },
  6599. "500": {
  6600. "description": "Internal Server Error",
  6601. "schema": {
  6602. "$ref": "#/definitions/app.Response"
  6603. }
  6604. }
  6605. }
  6606. }
  6607. },
  6608. "/User/QueryUserInfo": {
  6609. "get": {
  6610. "security": [
  6611. {
  6612. "ApiKeyAuth": []
  6613. }
  6614. ],
  6615. "produces": [
  6616. "application/json"
  6617. ],
  6618. "tags": [
  6619. "用户信息"
  6620. ],
  6621. "summary": "获取用户信息",
  6622. "parameters": [
  6623. {
  6624. "type": "integer",
  6625. "description": "用户ID",
  6626. "name": "userID",
  6627. "in": "query",
  6628. "required": true
  6629. }
  6630. ],
  6631. "responses": {
  6632. "200": {
  6633. "description": "OK",
  6634. "schema": {
  6635. "$ref": "#/definitions/models.Userinfo"
  6636. }
  6637. },
  6638. "500": {
  6639. "description": "Internal Server Error",
  6640. "schema": {
  6641. "$ref": "#/definitions/app.Response"
  6642. }
  6643. }
  6644. }
  6645. }
  6646. },
  6647. "/User/QueryUserReferNum": {
  6648. "get": {
  6649. "produces": [
  6650. "application/json"
  6651. ],
  6652. "tags": [
  6653. "用户信息"
  6654. ],
  6655. "summary": "获取用户邀请码",
  6656. "parameters": [
  6657. {
  6658. "type": "integer",
  6659. "description": "用户ID",
  6660. "name": "userID",
  6661. "in": "query",
  6662. "required": true
  6663. }
  6664. ],
  6665. "responses": {
  6666. "200": {
  6667. "description": "OK",
  6668. "schema": {
  6669. "$ref": "#/definitions/app.Response"
  6670. }
  6671. },
  6672. "500": {
  6673. "description": "Internal Server Error",
  6674. "schema": {
  6675. "$ref": "#/definitions/app.Response"
  6676. }
  6677. }
  6678. }
  6679. }
  6680. },
  6681. "/User/RemoveUserFavoriteGoods": {
  6682. "post": {
  6683. "security": [
  6684. {
  6685. "ApiKeyAuth": []
  6686. }
  6687. ],
  6688. "produces": [
  6689. "application/json"
  6690. ],
  6691. "tags": [
  6692. "用户信息"
  6693. ],
  6694. "summary": "移除用户商品收藏信息",
  6695. "parameters": [
  6696. {
  6697. "type": "integer",
  6698. "description": "用户ID",
  6699. "name": "userID",
  6700. "in": "query",
  6701. "required": true
  6702. },
  6703. {
  6704. "type": "integer",
  6705. "description": "商品ID",
  6706. "name": "goodsID",
  6707. "in": "query",
  6708. "required": true
  6709. }
  6710. ],
  6711. "responses": {
  6712. "200": {
  6713. "description": "OK",
  6714. "schema": {
  6715. "$ref": "#/definitions/app.Response"
  6716. }
  6717. },
  6718. "500": {
  6719. "description": "Internal Server Error",
  6720. "schema": {
  6721. "$ref": "#/definitions/app.Response"
  6722. }
  6723. }
  6724. }
  6725. }
  6726. },
  6727. "/User/UpdateUserAccountStatus": {
  6728. "post": {
  6729. "security": [
  6730. {
  6731. "ApiKeyAuth": []
  6732. }
  6733. ],
  6734. "produces": [
  6735. "application/json"
  6736. ],
  6737. "tags": [
  6738. "用户信息"
  6739. ],
  6740. "summary": "更新用户状态",
  6741. "parameters": [
  6742. {
  6743. "type": "integer",
  6744. "description": "用户ID",
  6745. "name": "userID",
  6746. "in": "query",
  6747. "required": true
  6748. },
  6749. {
  6750. "type": "integer",
  6751. "description": "账户状态 - 4:正常 6:注销(停用)",
  6752. "name": "accountStatus",
  6753. "in": "query",
  6754. "required": true
  6755. }
  6756. ],
  6757. "responses": {
  6758. "200": {
  6759. "description": "OK",
  6760. "schema": {
  6761. "$ref": "#/definitions/app.Response"
  6762. }
  6763. },
  6764. "500": {
  6765. "description": "Internal Server Error",
  6766. "schema": {
  6767. "$ref": "#/definitions/app.Response"
  6768. }
  6769. }
  6770. }
  6771. }
  6772. },
  6773. "/WR/GetWRCategoryInfo": {
  6774. "get": {
  6775. "produces": [
  6776. "application/json"
  6777. ],
  6778. "tags": [
  6779. "仓单服务"
  6780. ],
  6781. "summary": "获取现货分类信息",
  6782. "responses": {
  6783. "200": {
  6784. "description": "OK",
  6785. "schema": {
  6786. "$ref": "#/definitions/models.WRCategoryTree"
  6787. }
  6788. },
  6789. "500": {
  6790. "description": "Internal Server Error",
  6791. "schema": {
  6792. "$ref": "#/definitions/app.Response"
  6793. }
  6794. }
  6795. }
  6796. }
  6797. },
  6798. "/WRTrade/GetAllDeliveryGoods": {
  6799. "get": {
  6800. "security": [
  6801. {
  6802. "ApiKeyAuth": []
  6803. },
  6804. {
  6805. "ApiKeyAuth": []
  6806. }
  6807. ],
  6808. "produces": [
  6809. "application/json",
  6810. "application/json"
  6811. ],
  6812. "tags": [
  6813. "仓单贸易",
  6814. "仓单贸易"
  6815. ],
  6816. "summary": "获取带仓单分类的种类信息",
  6817. "responses": {
  6818. "200": {
  6819. "description": "OK",
  6820. "schema": {
  6821. "$ref": "#/definitions/app.Response"
  6822. }
  6823. },
  6824. "500": {
  6825. "description": "Internal Server Error",
  6826. "schema": {
  6827. "$ref": "#/definitions/app.Response"
  6828. }
  6829. }
  6830. }
  6831. }
  6832. }
  6833. },
  6834. "definitions": {
  6835. "app.Response": {
  6836. "type": "object",
  6837. "properties": {
  6838. "code": {
  6839. "type": "integer"
  6840. },
  6841. "data": {
  6842. "type": "object"
  6843. },
  6844. "msg": {
  6845. "type": "string"
  6846. },
  6847. "page": {
  6848. "description": "页码",
  6849. "type": "integer"
  6850. },
  6851. "pagesize": {
  6852. "description": "每页条数",
  6853. "type": "integer"
  6854. },
  6855. "total": {
  6856. "description": "总条数",
  6857. "type": "integer"
  6858. }
  6859. }
  6860. },
  6861. "common.QueryImageConfigsRsp": {
  6862. "type": "object",
  6863. "required": [
  6864. "configid"
  6865. ],
  6866. "properties": {
  6867. "areauserid": {
  6868. "description": "所属机构ID",
  6869. "type": "integer"
  6870. },
  6871. "configid": {
  6872. "description": "配置ID(SEQ_SZDZ2_IMAGECONFIG)",
  6873. "type": "integer"
  6874. },
  6875. "createdate": {
  6876. "description": "创建时间",
  6877. "type": "string"
  6878. },
  6879. "creatorid": {
  6880. "description": "创建人",
  6881. "type": "integer"
  6882. },
  6883. "imagepath": {
  6884. "description": "图片",
  6885. "type": "string"
  6886. },
  6887. "imagetype": {
  6888. "description": "类型 - 1:首页轮播(移动) 2:我的(移动)",
  6889. "type": "integer"
  6890. },
  6891. "isshow": {
  6892. "description": "是否展示 - 0:不展示 1:展示",
  6893. "type": "integer"
  6894. },
  6895. "marketid": {
  6896. "description": "市场ID",
  6897. "type": "integer"
  6898. },
  6899. "modifierid": {
  6900. "description": "操作人",
  6901. "type": "integer"
  6902. },
  6903. "sort": {
  6904. "description": "排序",
  6905. "type": "integer"
  6906. },
  6907. "title": {
  6908. "description": "标题",
  6909. "type": "string"
  6910. },
  6911. "trademode": {
  6912. "description": "交易模式",
  6913. "type": "integer"
  6914. },
  6915. "updatedate": {
  6916. "description": "修改时间",
  6917. "type": "string"
  6918. },
  6919. "url": {
  6920. "description": "链接(地址或商品ID)",
  6921. "type": "string"
  6922. },
  6923. "urltype": {
  6924. "description": "链接类型 - 1:直接地址 2:商品ID",
  6925. "type": "integer"
  6926. }
  6927. }
  6928. },
  6929. "common.QueryNoticeRsp": {
  6930. "type": "object",
  6931. "required": [
  6932. "autoid"
  6933. ],
  6934. "properties": {
  6935. "auditoruserid": {
  6936. "description": "审核人",
  6937. "type": "integer"
  6938. },
  6939. "auditremark": {
  6940. "description": "审核备注",
  6941. "type": "string"
  6942. },
  6943. "audittime": {
  6944. "description": "审核日期",
  6945. "type": "string"
  6946. },
  6947. "autoid": {
  6948. "description": "自增ID",
  6949. "type": "integer"
  6950. },
  6951. "content": {
  6952. "description": "内容",
  6953. "type": "string"
  6954. },
  6955. "createtime": {
  6956. "description": "创建时间",
  6957. "type": "string"
  6958. },
  6959. "creatorid": {
  6960. "description": "建仓人",
  6961. "type": "integer"
  6962. },
  6963. "endtime": {
  6964. "description": "结束时间",
  6965. "type": "string"
  6966. },
  6967. "istop": {
  6968. "description": "是否置顶 - 0:不置顶 1:置顶",
  6969. "type": "integer"
  6970. },
  6971. "msgiconurl": {
  6972. "description": "消息图标Url",
  6973. "type": "string"
  6974. },
  6975. "msgtype": {
  6976. "description": "消息类型 - 1:公告通知 2:系统消息 3:商品到期提货通知",
  6977. "type": "integer"
  6978. },
  6979. "publisher": {
  6980. "description": "消息发布者",
  6981. "type": "string"
  6982. },
  6983. "readed": {
  6984. "description": "是否已读",
  6985. "type": "boolean"
  6986. },
  6987. "scheduletime": {
  6988. "description": "计划发送时间",
  6989. "type": "string"
  6990. },
  6991. "sendtype": {
  6992. "description": "推送方式 - 1:全体广播 2:按会员广播 3:个人推送 4:按会员广播(仅会员)",
  6993. "type": "integer"
  6994. },
  6995. "sentstatus": {
  6996. "description": "推送状态 - 0:未推送 1:已推送 2:审核拒绝",
  6997. "type": "integer"
  6998. },
  6999. "title": {
  7000. "description": "标题",
  7001. "type": "string"
  7002. },
  7003. "userid": {
  7004. "description": "会员/投资者ID推送方式 为 个人时,填写投资者ID",
  7005. "type": "integer"
  7006. }
  7007. }
  7008. },
  7009. "common.QueryProvincesAndCitiesRsp": {
  7010. "type": "object",
  7011. "properties": {
  7012. "cities": {
  7013. "description": "市",
  7014. "type": "array",
  7015. "items": {
  7016. "$ref": "#/definitions/models.Division"
  7017. }
  7018. },
  7019. "province": {
  7020. "description": "省",
  7021. "type": "object",
  7022. "$ref": "#/definitions/models.Division"
  7023. }
  7024. }
  7025. },
  7026. "common.QueryTableDefineRsp": {
  7027. "type": "object",
  7028. "required": [
  7029. "tablekey"
  7030. ],
  7031. "properties": {
  7032. "columns": {
  7033. "description": "列头信息数组",
  7034. "type": "array",
  7035. "items": {
  7036. "$ref": "#/definitions/models.Tablecolumnconfig"
  7037. }
  7038. },
  7039. "remark": {
  7040. "description": "Remark",
  7041. "type": "string"
  7042. },
  7043. "tabelmenu": {
  7044. "description": "列表菜单",
  7045. "type": "string"
  7046. },
  7047. "tablekey": {
  7048. "description": "列表Key",
  7049. "type": "string"
  7050. },
  7051. "tablename": {
  7052. "description": "列表名称",
  7053. "type": "string"
  7054. },
  7055. "tabletype": {
  7056. "description": "列表类型 - 1:管理端 2:终端",
  7057. "type": "integer"
  7058. }
  7059. }
  7060. },
  7061. "common.QueryTraderMenuRsp": {
  7062. "type": "object",
  7063. "properties": {
  7064. "OperationMenu": {
  7065. "description": "功能菜单",
  7066. "type": "array",
  7067. "items": {
  7068. "$ref": "#/definitions/models.OperationPrimaryMenu"
  7069. }
  7070. },
  7071. "QuoteMenu": {
  7072. "description": "报价牌分类菜单",
  7073. "type": "array",
  7074. "items": {
  7075. "$ref": "#/definitions/models.QuotePrimaryMenu"
  7076. }
  7077. }
  7078. }
  7079. },
  7080. "cptrade.Cptradepositioncancel": {
  7081. "type": "object",
  7082. "required": [
  7083. "cancelid"
  7084. ],
  7085. "properties": {
  7086. "accountid": {
  7087. "description": "申请人账户ID",
  7088. "type": "integer"
  7089. },
  7090. "applystatus": {
  7091. "description": "申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  7092. "type": "integer"
  7093. },
  7094. "applytime": {
  7095. "description": "申请时间",
  7096. "type": "string"
  7097. },
  7098. "cancelid": {
  7099. "description": "注销ID(SEQ_CPTRADE_POSITIONCANCEL)",
  7100. "type": "integer"
  7101. },
  7102. "cancelqty": {
  7103. "description": "注销数量",
  7104. "type": "integer"
  7105. },
  7106. "createtime": {
  7107. "description": "创建时间",
  7108. "type": "string"
  7109. },
  7110. "creatorid": {
  7111. "description": "创建人ID",
  7112. "type": "integer"
  7113. },
  7114. "creatorname": {
  7115. "description": "创建人",
  7116. "type": "string"
  7117. },
  7118. "goodscode": {
  7119. "description": "订单商品代码",
  7120. "type": "string"
  7121. },
  7122. "goodsid": {
  7123. "description": "商品ID",
  7124. "type": "integer"
  7125. },
  7126. "goodsname": {
  7127. "description": "订单商品名称",
  7128. "type": "string"
  7129. },
  7130. "goodunit": {
  7131. "description": "报价单位",
  7132. "type": "string"
  7133. },
  7134. "handlestatus": {
  7135. "description": "处理状态",
  7136. "type": "integer"
  7137. },
  7138. "marketid": {
  7139. "description": "市场ID",
  7140. "type": "integer"
  7141. },
  7142. "marketname": {
  7143. "description": "市场名称",
  7144. "type": "string"
  7145. },
  7146. "tradedate": {
  7147. "description": "交易日(yyyyMMdd)",
  7148. "type": "string"
  7149. },
  7150. "userid": {
  7151. "description": "申请人ID",
  7152. "type": "integer"
  7153. }
  7154. }
  7155. },
  7156. "cptrade.Cptradepresaleapply": {
  7157. "type": "object",
  7158. "required": [
  7159. "applyid"
  7160. ],
  7161. "properties": {
  7162. "accountid": {
  7163. "description": "申请人账户ID",
  7164. "type": "integer"
  7165. },
  7166. "applyid": {
  7167. "description": "申请ID(181+Unix秒时间戳(10位)+xxxxxx)",
  7168. "type": "integer"
  7169. },
  7170. "applyremark": {
  7171. "description": "申请备注",
  7172. "type": "string"
  7173. },
  7174. "applystatus": {
  7175. "description": "申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  7176. "type": "integer"
  7177. },
  7178. "applytime": {
  7179. "description": "申请时间",
  7180. "type": "string"
  7181. },
  7182. "attachmenturl": {
  7183. "description": "附件地址",
  7184. "type": "string"
  7185. },
  7186. "endtime": {
  7187. "description": "预售结束时间",
  7188. "type": "string"
  7189. },
  7190. "goodscode": {
  7191. "description": "商品代码",
  7192. "type": "string"
  7193. },
  7194. "goodsid": {
  7195. "description": "商品ID",
  7196. "type": "integer"
  7197. },
  7198. "goodsname": {
  7199. "description": "商品名称",
  7200. "type": "string"
  7201. },
  7202. "goodunit": {
  7203. "description": "报价单位",
  7204. "type": "string"
  7205. },
  7206. "handlestatus": {
  7207. "description": "处理状态",
  7208. "type": "integer"
  7209. },
  7210. "marketid": {
  7211. "description": "预售市场ID",
  7212. "type": "integer"
  7213. },
  7214. "marketname": {
  7215. "description": "预售市场名称",
  7216. "type": "string"
  7217. },
  7218. "presaleqty": {
  7219. "description": "预售数量",
  7220. "type": "integer"
  7221. },
  7222. "relatedgoodscode": {
  7223. "description": "关联交易合约代码",
  7224. "type": "string"
  7225. },
  7226. "relatedgoodsid": {
  7227. "description": "关联交易合约ID",
  7228. "type": "integer"
  7229. },
  7230. "relatedgoodsname": {
  7231. "description": "关联交易合约名称",
  7232. "type": "string"
  7233. },
  7234. "starttime": {
  7235. "description": "预售开始时间",
  7236. "type": "string"
  7237. },
  7238. "tradedate": {
  7239. "description": "交易日(yyyyMMdd)",
  7240. "type": "string"
  7241. },
  7242. "trademode": {
  7243. "description": "交易模式 - 16:挂牌点选 21:大宗竞拍",
  7244. "type": "integer"
  7245. },
  7246. "userid": {
  7247. "description": "申请人ID",
  7248. "type": "integer"
  7249. }
  7250. }
  7251. },
  7252. "cptrade.Cptradeusergoodsdata": {
  7253. "type": "object",
  7254. "required": [
  7255. "accountid",
  7256. "goodsid"
  7257. ],
  7258. "properties": {
  7259. "EnabledQty": {
  7260. "description": "可用量",
  7261. "type": "integer"
  7262. },
  7263. "GoodsCode": {
  7264. "description": "订单商品代码",
  7265. "type": "string"
  7266. },
  7267. "GoodsName": {
  7268. "description": "订单商品名称",
  7269. "type": "string"
  7270. },
  7271. "WRStandardCode": {
  7272. "description": "仓单标准代码",
  7273. "type": "string"
  7274. },
  7275. "WRStandardName": {
  7276. "description": "仓单标准名称",
  7277. "type": "string"
  7278. },
  7279. "accountid": {
  7280. "description": "账户ID",
  7281. "type": "integer"
  7282. },
  7283. "cancelqty": {
  7284. "description": "注销量",
  7285. "type": "integer"
  7286. },
  7287. "curpresaleqty": {
  7288. "description": "当前预售量",
  7289. "type": "integer"
  7290. },
  7291. "deliveryqty": {
  7292. "description": "交割量",
  7293. "type": "integer"
  7294. },
  7295. "freezeamount": {
  7296. "description": "冻结金额",
  7297. "type": "number"
  7298. },
  7299. "goodsid": {
  7300. "description": "商品ID",
  7301. "type": "integer"
  7302. },
  7303. "goodunit": {
  7304. "description": "报价单位",
  7305. "type": "string"
  7306. },
  7307. "hasspotfreeze": {
  7308. "description": "是否有现货冻结 - 0:否 1:有",
  7309. "type": "integer"
  7310. },
  7311. "inqty": {
  7312. "description": "转入量(总数量)",
  7313. "type": "integer"
  7314. },
  7315. "marketid": {
  7316. "description": "市场ID",
  7317. "type": "integer"
  7318. },
  7319. "presaledamount": {
  7320. "description": "已预售总金额",
  7321. "type": "integer"
  7322. },
  7323. "presaledqty": {
  7324. "description": "已预售量",
  7325. "type": "integer"
  7326. },
  7327. "userid": {
  7328. "description": "用户ID",
  7329. "type": "integer"
  7330. },
  7331. "wrstandardid": {
  7332. "description": "仓单标准ID",
  7333. "type": "integer"
  7334. }
  7335. }
  7336. },
  7337. "cptrade.QueryCPTradeMyBidRsp": {
  7338. "type": "object",
  7339. "required": [
  7340. "accountid",
  7341. "goodsid",
  7342. "marketid",
  7343. "orderid",
  7344. "orderqty",
  7345. "ordertime",
  7346. "tradeprice",
  7347. "tradeqty"
  7348. ],
  7349. "properties": {
  7350. "accountid": {
  7351. "description": "账户ID[报价币种]",
  7352. "type": "integer"
  7353. },
  7354. "goodsid": {
  7355. "description": "商品ID",
  7356. "type": "integer"
  7357. },
  7358. "goodunit": {
  7359. "description": "报价单位",
  7360. "type": "string"
  7361. },
  7362. "marketid": {
  7363. "description": "市场ID",
  7364. "type": "integer"
  7365. },
  7366. "orderid": {
  7367. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  7368. "type": "integer"
  7369. },
  7370. "orderprice": {
  7371. "description": "委托价格",
  7372. "type": "number"
  7373. },
  7374. "orderqty": {
  7375. "description": "委托数量",
  7376. "type": "integer"
  7377. },
  7378. "ordertime": {
  7379. "description": "委托时间",
  7380. "type": "string"
  7381. },
  7382. "ordertotalprice": {
  7383. "description": "货款金额(委托总价格=委托价格*委托数量*合约单位)",
  7384. "type": "number"
  7385. },
  7386. "ordertotalweight": {
  7387. "description": "竞拍总重量(委托总重量=委托数量*合约单位)",
  7388. "type": "integer"
  7389. },
  7390. "totaltotalprice": {
  7391. "description": "成交货款金额(成交总价格=成交价格*成交数量*合约单位)",
  7392. "type": "number"
  7393. },
  7394. "tradeprice": {
  7395. "description": "成交价格",
  7396. "type": "number"
  7397. },
  7398. "tradeqty": {
  7399. "description": "成交数量",
  7400. "type": "integer"
  7401. }
  7402. }
  7403. },
  7404. "cptrade.QueryCPTradeOrderDetailRsq": {
  7405. "type": "object",
  7406. "required": [
  7407. "accountid",
  7408. "buildtype",
  7409. "buyorsell",
  7410. "goodsid",
  7411. "marketid",
  7412. "memberuserid",
  7413. "operatetype",
  7414. "orderqty",
  7415. "ordertime",
  7416. "pricemode",
  7417. "strorderid",
  7418. "tradedate",
  7419. "validtype"
  7420. ],
  7421. "properties": {
  7422. "accountid": {
  7423. "description": "账户ID[报价币种]",
  7424. "type": "integer"
  7425. },
  7426. "buildtype": {
  7427. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  7428. "type": "integer"
  7429. },
  7430. "buyorsell": {
  7431. "description": "买卖 - 0:买 1:卖",
  7432. "type": "integer"
  7433. },
  7434. "cancelorderid": {
  7435. "description": "撤单单号(撤单时填写)",
  7436. "type": "integer"
  7437. },
  7438. "cancelqty": {
  7439. "description": "撤单数量",
  7440. "type": "integer"
  7441. },
  7442. "clientordertime": {
  7443. "description": "客户端委托时间",
  7444. "type": "string"
  7445. },
  7446. "clientticket": {
  7447. "description": "客户端流水号",
  7448. "type": "string"
  7449. },
  7450. "clienttype": {
  7451. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  7452. "type": "integer"
  7453. },
  7454. "closeexchagechargevalue": {
  7455. "description": "平仓交易所手续费设置值",
  7456. "type": "number"
  7457. },
  7458. "closefeealgorithm": {
  7459. "description": "平仓手续费收取方式 1:比率 2:固定",
  7460. "type": "integer"
  7461. },
  7462. "closefreezecharge": {
  7463. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  7464. "type": "number"
  7465. },
  7466. "closememberchargevalue": {
  7467. "description": "平仓会员手续费设置值",
  7468. "type": "number"
  7469. },
  7470. "closeqty": {
  7471. "description": "平仓数量(先建后平操作 需要记录)",
  7472. "type": "integer"
  7473. },
  7474. "closetradeqty": {
  7475. "description": "平仓成交数量(先建后平操作,需要记录)",
  7476. "type": "integer"
  7477. },
  7478. "closeunfreezecharge": {
  7479. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  7480. "type": "number"
  7481. },
  7482. "delistingtype": {
  7483. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  7484. "type": "integer"
  7485. },
  7486. "freezecharge": {
  7487. "description": "冻结手续费",
  7488. "type": "number"
  7489. },
  7490. "freezemargin": {
  7491. "description": "冻结保证金(冻结交易金额)",
  7492. "type": "number"
  7493. },
  7494. "gcaccountid": {
  7495. "description": "账户ID[合约币种]",
  7496. "type": "integer"
  7497. },
  7498. "goodsid": {
  7499. "description": "商品ID",
  7500. "type": "integer"
  7501. },
  7502. "isconfirmexercise": {
  7503. "description": "是否确认行权- 0:否 1:是",
  7504. "type": "integer"
  7505. },
  7506. "ispreexercise": {
  7507. "description": "是否预申报- 0:否 1:是",
  7508. "type": "integer"
  7509. },
  7510. "listingselecttype": {
  7511. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  7512. "type": "integer"
  7513. },
  7514. "marginalgorithm": {
  7515. "description": "保证金收取方式 1:比率 2:固定",
  7516. "type": "integer"
  7517. },
  7518. "marginvalue": {
  7519. "description": "即市保证金设置值",
  7520. "type": "number"
  7521. },
  7522. "marketid": {
  7523. "description": "市场ID",
  7524. "type": "integer"
  7525. },
  7526. "marketmaxsub": {
  7527. "description": "市价最大偏移范围",
  7528. "type": "number"
  7529. },
  7530. "memberuserid": {
  7531. "description": "所属会员UserID",
  7532. "type": "integer"
  7533. },
  7534. "openexchagechargevalue": {
  7535. "description": "建仓交易所手续费设置值",
  7536. "type": "number"
  7537. },
  7538. "openfeealgorithm": {
  7539. "description": "建仓手续费收取方式 1:比率 2:固定",
  7540. "type": "integer"
  7541. },
  7542. "openfreezecharge": {
  7543. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  7544. "type": "number"
  7545. },
  7546. "openmemberchargevalue": {
  7547. "description": "建仓会员手续费设置值",
  7548. "type": "number"
  7549. },
  7550. "openqty": {
  7551. "description": "开仓数量(先建后平操作,需要记录)",
  7552. "type": "integer"
  7553. },
  7554. "opentradeqty": {
  7555. "description": "开仓成交数量(先建后平操作,需要记录)",
  7556. "type": "integer"
  7557. },
  7558. "openunfreezecharge": {
  7559. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  7560. "type": "number"
  7561. },
  7562. "operatetype": {
  7563. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  7564. "type": "integer"
  7565. },
  7566. "operatorid": {
  7567. "description": "登录账号(LoginID)",
  7568. "type": "integer"
  7569. },
  7570. "optiontype": {
  7571. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  7572. "type": "integer"
  7573. },
  7574. "orderprice": {
  7575. "description": "委托价格",
  7576. "type": "number"
  7577. },
  7578. "orderqty": {
  7579. "description": "委托数量",
  7580. "type": "integer"
  7581. },
  7582. "ordersrc": {
  7583. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  7584. "type": "integer"
  7585. },
  7586. "orderstatus": {
  7587. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  7588. "type": "integer"
  7589. },
  7590. "ordertime": {
  7591. "description": "委托时间",
  7592. "type": "string"
  7593. },
  7594. "preexerciseprice": {
  7595. "description": "预申报价格",
  7596. "type": "number"
  7597. },
  7598. "premium": {
  7599. "description": "权利金",
  7600. "type": "number"
  7601. },
  7602. "preorderid": {
  7603. "description": "关联预埋单号(止盈止损单时填写)",
  7604. "type": "integer"
  7605. },
  7606. "pricemode": {
  7607. "description": "取价方式 - 1:市价 2: 限价",
  7608. "type": "integer"
  7609. },
  7610. "quoteid": {
  7611. "description": "报价单ID",
  7612. "type": "integer"
  7613. },
  7614. "relatedid": {
  7615. "description": "关联单号(交割单)",
  7616. "type": "integer"
  7617. },
  7618. "retcode": {
  7619. "description": "错误代码",
  7620. "type": "integer"
  7621. },
  7622. "sessionid": {
  7623. "description": "会话ID",
  7624. "type": "integer"
  7625. },
  7626. "strorderid": {
  7627. "description": "委托单号",
  7628. "type": "string"
  7629. },
  7630. "tradedate": {
  7631. "description": "交易日(yyyyMMdd)",
  7632. "type": "string"
  7633. },
  7634. "tradeproperty": {
  7635. "description": "交易属性",
  7636. "type": "integer"
  7637. },
  7638. "tradeqty": {
  7639. "description": "成交数量",
  7640. "type": "integer"
  7641. },
  7642. "unfreezecharge": {
  7643. "description": "解冻手续费",
  7644. "type": "number"
  7645. },
  7646. "unfreezemargin": {
  7647. "description": "解冻保证金",
  7648. "type": "number"
  7649. },
  7650. "updatetime": {
  7651. "description": "更新时间",
  7652. "type": "string"
  7653. },
  7654. "uuid": {
  7655. "description": "发起端唯一id",
  7656. "type": "string"
  7657. },
  7658. "validtime": {
  7659. "description": "有效期限",
  7660. "type": "string"
  7661. },
  7662. "validtype": {
  7663. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  7664. "type": "integer"
  7665. },
  7666. "volumetype": {
  7667. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  7668. "type": "integer"
  7669. }
  7670. }
  7671. },
  7672. "cptrade.QueryMyCPTradeGoodsRsp": {
  7673. "type": "object",
  7674. "required": [
  7675. "goodscode",
  7676. "goodsid",
  7677. "goodsname",
  7678. "marketid",
  7679. "relatedgoodscode",
  7680. "relatedgoodsname"
  7681. ],
  7682. "properties": {
  7683. "accountid": {
  7684. "description": "卖方账户ID",
  7685. "type": "integer"
  7686. },
  7687. "agreeunit": {
  7688. "description": "合约单位",
  7689. "type": "number"
  7690. },
  7691. "applyid": {
  7692. "description": "关联申请ID",
  7693. "type": "integer"
  7694. },
  7695. "attachmenturl": {
  7696. "description": "附件地址",
  7697. "type": "string"
  7698. },
  7699. "createtime": {
  7700. "description": "创建时间",
  7701. "type": "string"
  7702. },
  7703. "currencyid": {
  7704. "description": "报价货币ID",
  7705. "type": "integer"
  7706. },
  7707. "decimalplace": {
  7708. "description": "报价小数位",
  7709. "type": "integer"
  7710. },
  7711. "endtime": {
  7712. "description": "预售结束时间",
  7713. "type": "string"
  7714. },
  7715. "floorprice": {
  7716. "description": "底价[大宗式竞拍]",
  7717. "type": "number"
  7718. },
  7719. "goodscode": {
  7720. "description": "商品代码(预售)",
  7721. "type": "string"
  7722. },
  7723. "goodsdetail": {
  7724. "description": "详情[大宗]",
  7725. "type": "string"
  7726. },
  7727. "goodsid": {
  7728. "description": "商品ID(自增ID SEQ_GOODS)",
  7729. "type": "integer"
  7730. },
  7731. "goodsname": {
  7732. "description": "商品名称(预售)",
  7733. "type": "string"
  7734. },
  7735. "goodunit": {
  7736. "description": "报价单位",
  7737. "type": "string"
  7738. },
  7739. "goodunitid": {
  7740. "description": "报价单位ID",
  7741. "type": "integer"
  7742. },
  7743. "marketid": {
  7744. "description": "所属市场ID",
  7745. "type": "integer"
  7746. },
  7747. "marketname": {
  7748. "description": "预售市场名称",
  7749. "type": "string"
  7750. },
  7751. "presaledamount": {
  7752. "description": "已预售总金额(预售结束时更新)",
  7753. "type": "number"
  7754. },
  7755. "presaledqty": {
  7756. "description": "已预售量(预售结束时更新)",
  7757. "type": "integer"
  7758. },
  7759. "presalemode": {
  7760. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  7761. "type": "integer"
  7762. },
  7763. "presaleqty": {
  7764. "description": "预售数量",
  7765. "type": "integer"
  7766. },
  7767. "refprice": {
  7768. "description": "参考价格[一口价]",
  7769. "type": "number"
  7770. },
  7771. "relatedgoodscode": {
  7772. "description": "商品代码(订单)",
  7773. "type": "string"
  7774. },
  7775. "relatedgoodsid": {
  7776. "description": "关联交易合约ID",
  7777. "type": "integer"
  7778. },
  7779. "relatedgoodsname": {
  7780. "description": "商品名称(订单)",
  7781. "type": "string"
  7782. },
  7783. "relatedmarketid": {
  7784. "description": "关联交易合约市场ID",
  7785. "type": "integer"
  7786. },
  7787. "sellstatus": {
  7788. "description": "卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理",
  7789. "type": "integer"
  7790. },
  7791. "startprice": {
  7792. "description": "起拍价[大宗式竞拍]",
  7793. "type": "number"
  7794. },
  7795. "starttime": {
  7796. "description": "预售开始时间",
  7797. "type": "string"
  7798. },
  7799. "tradedate": {
  7800. "description": "交易日(yyyyMMdd)",
  7801. "type": "string"
  7802. },
  7803. "tradeprice": {
  7804. "description": "成交价[大宗]",
  7805. "type": "number"
  7806. },
  7807. "userid": {
  7808. "description": "卖方用户ID",
  7809. "type": "integer"
  7810. }
  7811. }
  7812. },
  7813. "cptrade.QueryPresaleGoodsExRsp": {
  7814. "type": "object",
  7815. "required": [
  7816. "goodsid"
  7817. ],
  7818. "properties": {
  7819. "attachmenturl": {
  7820. "description": "附件地址",
  7821. "type": "string"
  7822. },
  7823. "createtime": {
  7824. "description": "创建时间",
  7825. "type": "string"
  7826. },
  7827. "endtime": {
  7828. "description": "预售结束时间",
  7829. "type": "string"
  7830. },
  7831. "floorprice": {
  7832. "description": "底价[大宗式竞拍]",
  7833. "type": "number"
  7834. },
  7835. "goodsdetail": {
  7836. "description": "详情[大宗]",
  7837. "type": "string"
  7838. },
  7839. "goodsid": {
  7840. "description": "商品ID(预售)",
  7841. "type": "integer"
  7842. },
  7843. "goodunit": {
  7844. "description": "报价单位",
  7845. "type": "string"
  7846. },
  7847. "marketid": {
  7848. "description": "预售市场ID - 根据预售模式选择市场",
  7849. "type": "integer"
  7850. },
  7851. "presaledamount": {
  7852. "description": "已预售总金额(预售结束时更新)",
  7853. "type": "number"
  7854. },
  7855. "presaledqty": {
  7856. "description": "已预售量(预售结束时更新)",
  7857. "type": "integer"
  7858. },
  7859. "presalemode": {
  7860. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  7861. "type": "integer"
  7862. },
  7863. "presaleqty": {
  7864. "description": "预售数量",
  7865. "type": "integer"
  7866. },
  7867. "refprice": {
  7868. "description": "参考价格[一口价]",
  7869. "type": "number"
  7870. },
  7871. "relatedgoodsid": {
  7872. "description": "关联交易合约ID",
  7873. "type": "integer"
  7874. },
  7875. "relatedmarketid": {
  7876. "description": "关联交易合约市场ID",
  7877. "type": "integer"
  7878. },
  7879. "sellstatus": {
  7880. "description": "卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理",
  7881. "type": "integer"
  7882. },
  7883. "startprice": {
  7884. "description": "起拍价[大宗式竞拍]",
  7885. "type": "number"
  7886. },
  7887. "starttime": {
  7888. "description": "预售开始时间",
  7889. "type": "string"
  7890. },
  7891. "tradedate": {
  7892. "description": "交易日(yyyyMMdd)",
  7893. "type": "string"
  7894. },
  7895. "tradeprice": {
  7896. "description": "成交价[大宗]",
  7897. "type": "number"
  7898. }
  7899. }
  7900. },
  7901. "delivery.QueryDeliveryRelationRsp": {
  7902. "type": "object",
  7903. "required": [
  7904. "begindate",
  7905. "enddate",
  7906. "goodsid",
  7907. "mindeliveryqty",
  7908. "xdeliveryratio"
  7909. ],
  7910. "properties": {
  7911. "begindate": {
  7912. "description": "起始日期(yyyyMMdd)",
  7913. "type": "string"
  7914. },
  7915. "buytemplateid": {
  7916. "description": "买履约计划模板ID",
  7917. "type": "integer"
  7918. },
  7919. "deliverygoodscode": {
  7920. "description": "品种代码",
  7921. "type": "string"
  7922. },
  7923. "deliverygoodsid": {
  7924. "description": "交割商品",
  7925. "type": "integer"
  7926. },
  7927. "deliverygoodsname": {
  7928. "description": "品种名称",
  7929. "type": "string"
  7930. },
  7931. "deliverymode": {
  7932. "description": "交割方式 - 1:点选式 2:申报式",
  7933. "type": "integer"
  7934. },
  7935. "deliverypricerule": {
  7936. "description": "交割价规则- 1:行情价 2:建仓价",
  7937. "type": "integer"
  7938. },
  7939. "deliverytype": {
  7940. "description": "交割模式 - 1:X交割 2:X+P交割 3:X+C交割 4:X+P+C交割",
  7941. "type": "integer"
  7942. },
  7943. "enddate": {
  7944. "description": "结束日期(yyyyMMdd)",
  7945. "type": "string"
  7946. },
  7947. "goodscode": {
  7948. "description": "商品代码",
  7949. "type": "string"
  7950. },
  7951. "goodsid": {
  7952. "description": "交易合约ID",
  7953. "type": "integer"
  7954. },
  7955. "goodsname": {
  7956. "description": "商品名称",
  7957. "type": "string"
  7958. },
  7959. "marketid": {
  7960. "description": "市场ID",
  7961. "type": "integer"
  7962. },
  7963. "mindeliveryqty": {
  7964. "description": "最小交割系数(K)",
  7965. "type": "integer"
  7966. },
  7967. "p2deliveryprice": {
  7968. "description": "P2合约价格(商品价时填写0,固定值时填写固定值)",
  7969. "type": "number"
  7970. },
  7971. "p2deliveryratio": {
  7972. "description": "P2合约系数(p)",
  7973. "type": "integer"
  7974. },
  7975. "p2goodsid": {
  7976. "description": "P2合约ID",
  7977. "type": "integer"
  7978. },
  7979. "p2pricemode": {
  7980. "description": "P2合约价格方式 - 1:商品价 2:固定值",
  7981. "type": "integer"
  7982. },
  7983. "pdeliveryprice": {
  7984. "description": "P合约价格(商品价时填写0,固定值时填写固定值)",
  7985. "type": "number"
  7986. },
  7987. "pdeliveryratio": {
  7988. "description": "P合约系数(n)",
  7989. "type": "integer"
  7990. },
  7991. "pgoodsid": {
  7992. "description": "P合约ID",
  7993. "type": "integer"
  7994. },
  7995. "ppricemode": {
  7996. "description": "P合约价格方式 - 1:商品价 2:固定值",
  7997. "type": "integer"
  7998. },
  7999. "rratio": {
  8000. "description": "兑换系数(R)",
  8001. "type": "integer"
  8002. },
  8003. "rratio1": {
  8004. "description": "兑换系数(交易合约)(R1)",
  8005. "type": "integer"
  8006. },
  8007. "rratio2": {
  8008. "description": "兑换系数(仓单标准)(R2)",
  8009. "type": "integer"
  8010. },
  8011. "selltemplateid": {
  8012. "description": "卖履约计划模板ID",
  8013. "type": "integer"
  8014. },
  8015. "wrstandardid": {
  8016. "description": "仓单标准ID",
  8017. "type": "integer"
  8018. },
  8019. "xdeliveryratio": {
  8020. "description": "交易合约系数(m)",
  8021. "type": "integer"
  8022. }
  8023. }
  8024. },
  8025. "ermcp.ExposureDetailRsp": {
  8026. "$ref": "#/definitions/models.ErmcpExposureDetailModel"
  8027. },
  8028. "ermcp.ExposureHedgePosDetailRsp": {
  8029. "$ref": "#/definitions/models.ErmcpHedgePositionDetail"
  8030. },
  8031. "ermcp.ExposureHedgePositionRsp": {
  8032. "$ref": "#/definitions/models.ErmcpHedgePosition"
  8033. },
  8034. "ermcp.ExposureSpotDetailRsp": {
  8035. "$ref": "#/definitions/models.ErmcpAreaSpotDetailModel"
  8036. },
  8037. "ermcp.ExposureSpotRsp": {
  8038. "$ref": "#/definitions/models.AreaSpotModel"
  8039. },
  8040. "ermcp.HisExposureRsp": {
  8041. "$ref": "#/definitions/models.ErmcpHisExposureS"
  8042. },
  8043. "ermcp.PendingAuditCntRsp": {
  8044. "$ref": "#/definitions/models.ErmcpPendingAudit"
  8045. },
  8046. "ermcp.QryAreaStockApplyRsp": {
  8047. "$ref": "#/definitions/models.ErmcpAreaStockApply"
  8048. },
  8049. "ermcp.QryAvalidGPRsp": {
  8050. "$ref": "#/definitions/models.ErmcpAvalidGoodsGroupModel"
  8051. },
  8052. "ermcp.QryBusinessDjRsp": {
  8053. "type": "object",
  8054. "properties": {
  8055. "amount": {
  8056. "description": "点价金额=(点价价格+升贴水)*点价数量",
  8057. "type": "number"
  8058. },
  8059. "applyid": {
  8060. "description": "申请人",
  8061. "type": "string"
  8062. },
  8063. "applyname": {
  8064. "description": "申请人名称",
  8065. "type": "string"
  8066. },
  8067. "applystatus": {
  8068. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  8069. "type": "integer"
  8070. },
  8071. "applytime": {
  8072. "description": "申请时间",
  8073. "type": "string"
  8074. },
  8075. "attachurl": {
  8076. "description": "附件",
  8077. "type": "string"
  8078. },
  8079. "auditname": {
  8080. "description": "审核人名称",
  8081. "type": "string"
  8082. },
  8083. "audittime": {
  8084. "description": "审核时间",
  8085. "type": "string"
  8086. },
  8087. "buyusername": {
  8088. "description": "采购方名称",
  8089. "type": "string"
  8090. },
  8091. "contractno": {
  8092. "description": "合同编号",
  8093. "type": "string"
  8094. },
  8095. "contractstatus": {
  8096. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  8097. "type": "integer"
  8098. },
  8099. "contracttype": {
  8100. "description": "现货合同类型 - 1:采购 -1:销售",
  8101. "type": "integer"
  8102. },
  8103. "enumdicname": {
  8104. "description": "单位名称",
  8105. "type": "string"
  8106. },
  8107. "goodscode": {
  8108. "description": "点价合约",
  8109. "type": "string"
  8110. },
  8111. "goodsname": {
  8112. "description": "商品名称",
  8113. "type": "string"
  8114. },
  8115. "operateapplyid": {
  8116. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  8117. "type": "string"
  8118. },
  8119. "operateapplytype": {
  8120. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  8121. "type": "integer"
  8122. },
  8123. "pricedPrice": {
  8124. "description": "点价价格(非必填)",
  8125. "type": "number"
  8126. },
  8127. "pricedQty": {
  8128. "description": "点价数量(非必填)",
  8129. "type": "number"
  8130. },
  8131. "pricemove": {
  8132. "description": "升贴水",
  8133. "type": "number"
  8134. },
  8135. "pricetype": {
  8136. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  8137. "type": "integer"
  8138. },
  8139. "relatedid": {
  8140. "description": "现货合同ID",
  8141. "type": "string"
  8142. },
  8143. "sellusername": {
  8144. "description": "销售方名字",
  8145. "type": "string"
  8146. },
  8147. "userid": {
  8148. "description": "用户ID",
  8149. "type": "integer"
  8150. },
  8151. "wrstandardcode": {
  8152. "description": "现货商品代码",
  8153. "type": "string"
  8154. },
  8155. "wrstandardid": {
  8156. "description": "现货商品id",
  8157. "type": "integer"
  8158. },
  8159. "wrstandardname": {
  8160. "description": "现货商品名称",
  8161. "type": "string"
  8162. }
  8163. }
  8164. },
  8165. "ermcp.QryBussinessFpRsp": {
  8166. "type": "object",
  8167. "properties": {
  8168. "applyid": {
  8169. "description": "申请人",
  8170. "type": "string"
  8171. },
  8172. "applyname": {
  8173. "description": "申请人名称",
  8174. "type": "string"
  8175. },
  8176. "applystatus": {
  8177. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  8178. "type": "integer"
  8179. },
  8180. "applytime": {
  8181. "description": "申请时间",
  8182. "type": "string"
  8183. },
  8184. "attachurl": {
  8185. "description": "附件",
  8186. "type": "string"
  8187. },
  8188. "auditname": {
  8189. "description": "审核人名称",
  8190. "type": "string"
  8191. },
  8192. "audittime": {
  8193. "description": "审核时间",
  8194. "type": "string"
  8195. },
  8196. "buyusername": {
  8197. "description": "采购方名称",
  8198. "type": "string"
  8199. },
  8200. "contractno": {
  8201. "description": "合同编号",
  8202. "type": "string"
  8203. },
  8204. "contractstatus": {
  8205. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  8206. "type": "integer"
  8207. },
  8208. "contracttype": {
  8209. "description": "现货合同类型 - 1:采购 -1:销售",
  8210. "type": "integer"
  8211. },
  8212. "enumdicname": {
  8213. "description": "单位名称",
  8214. "type": "string"
  8215. },
  8216. "goodscode": {
  8217. "description": "点价合约",
  8218. "type": "string"
  8219. },
  8220. "goodsname": {
  8221. "description": "商品名称",
  8222. "type": "string"
  8223. },
  8224. "invoiceAmount": {
  8225. "description": "已开收票金额(销售为开票,采购为收票)",
  8226. "type": "number"
  8227. },
  8228. "operateapplyid": {
  8229. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  8230. "type": "string"
  8231. },
  8232. "operateapplytype": {
  8233. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  8234. "type": "integer"
  8235. },
  8236. "pricemove": {
  8237. "description": "升贴水",
  8238. "type": "number"
  8239. },
  8240. "pricetype": {
  8241. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  8242. "type": "integer"
  8243. },
  8244. "relatedid": {
  8245. "description": "现货合同ID",
  8246. "type": "string"
  8247. },
  8248. "sellusername": {
  8249. "description": "销售方名字",
  8250. "type": "string"
  8251. },
  8252. "userid": {
  8253. "description": "用户ID",
  8254. "type": "integer"
  8255. },
  8256. "wrstandardcode": {
  8257. "description": "现货商品代码",
  8258. "type": "string"
  8259. },
  8260. "wrstandardid": {
  8261. "description": "现货商品id",
  8262. "type": "integer"
  8263. },
  8264. "wrstandardname": {
  8265. "description": "现货商品名称",
  8266. "type": "string"
  8267. }
  8268. }
  8269. },
  8270. "ermcp.QryBussinessJsExRsp": {
  8271. "type": "object",
  8272. "properties": {
  8273. "applyid": {
  8274. "description": "申请人",
  8275. "type": "string"
  8276. },
  8277. "applyname": {
  8278. "description": "申请人名称",
  8279. "type": "string"
  8280. },
  8281. "applystatus": {
  8282. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  8283. "type": "integer"
  8284. },
  8285. "applytime": {
  8286. "description": "申请时间",
  8287. "type": "string"
  8288. },
  8289. "attachurl": {
  8290. "description": "附件",
  8291. "type": "string"
  8292. },
  8293. "auditname": {
  8294. "description": "审核人名称",
  8295. "type": "string"
  8296. },
  8297. "audittime": {
  8298. "description": "审核时间",
  8299. "type": "string"
  8300. },
  8301. "buyusername": {
  8302. "description": "采购方名称",
  8303. "type": "string"
  8304. },
  8305. "contractno": {
  8306. "description": "合同编号",
  8307. "type": "string"
  8308. },
  8309. "contractstatus": {
  8310. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  8311. "type": "integer"
  8312. },
  8313. "contracttype": {
  8314. "description": "现货合同类型 - 1:采购 -1:销售",
  8315. "type": "integer"
  8316. },
  8317. "enumdicname": {
  8318. "description": "单位名称",
  8319. "type": "string"
  8320. },
  8321. "goodscode": {
  8322. "description": "点价合约",
  8323. "type": "string"
  8324. },
  8325. "goodsname": {
  8326. "description": "商品名称",
  8327. "type": "string"
  8328. },
  8329. "operateapplyid": {
  8330. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  8331. "type": "string"
  8332. },
  8333. "operateapplytype": {
  8334. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  8335. "type": "integer"
  8336. },
  8337. "pricemove": {
  8338. "description": "升贴水",
  8339. "type": "number"
  8340. },
  8341. "pricetype": {
  8342. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  8343. "type": "integer"
  8344. },
  8345. "reckontype": {
  8346. "description": "结算类型",
  8347. "type": "string"
  8348. },
  8349. "reckonvalue": {
  8350. "description": "值",
  8351. "type": "number"
  8352. },
  8353. "relatedid": {
  8354. "description": "现货合同ID",
  8355. "type": "string"
  8356. },
  8357. "sellusername": {
  8358. "description": "销售方名字",
  8359. "type": "string"
  8360. },
  8361. "userid": {
  8362. "description": "用户ID",
  8363. "type": "integer"
  8364. },
  8365. "wrstandardcode": {
  8366. "description": "现货商品代码",
  8367. "type": "string"
  8368. },
  8369. "wrstandardid": {
  8370. "description": "现货商品id",
  8371. "type": "integer"
  8372. },
  8373. "wrstandardname": {
  8374. "description": "现货商品名称",
  8375. "type": "string"
  8376. }
  8377. }
  8378. },
  8379. "ermcp.QryBussinessJsRsp": {
  8380. "type": "object",
  8381. "properties": {
  8382. "addmargin": {
  8383. "description": "追加保证金(非必填)",
  8384. "type": "number"
  8385. },
  8386. "applyid": {
  8387. "description": "申请人",
  8388. "type": "string"
  8389. },
  8390. "applyname": {
  8391. "description": "申请人名称",
  8392. "type": "string"
  8393. },
  8394. "applystatus": {
  8395. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  8396. "type": "integer"
  8397. },
  8398. "applytime": {
  8399. "description": "申请时间",
  8400. "type": "string"
  8401. },
  8402. "attachurl": {
  8403. "description": "附件",
  8404. "type": "string"
  8405. },
  8406. "auditname": {
  8407. "description": "审核人名称",
  8408. "type": "string"
  8409. },
  8410. "audittime": {
  8411. "description": "审核时间",
  8412. "type": "string"
  8413. },
  8414. "buyusername": {
  8415. "description": "采购方名称",
  8416. "type": "string"
  8417. },
  8418. "contractno": {
  8419. "description": "合同编号",
  8420. "type": "string"
  8421. },
  8422. "contractstatus": {
  8423. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  8424. "type": "integer"
  8425. },
  8426. "contracttype": {
  8427. "description": "现货合同类型 - 1:采购 -1:销售",
  8428. "type": "integer"
  8429. },
  8430. "decmargin": {
  8431. "description": "减少保证金(非必填)",
  8432. "type": "number"
  8433. },
  8434. "enumdicname": {
  8435. "description": "单位名称",
  8436. "type": "string"
  8437. },
  8438. "goodscode": {
  8439. "description": "点价合约",
  8440. "type": "string"
  8441. },
  8442. "goodsname": {
  8443. "description": "商品名称",
  8444. "type": "string"
  8445. },
  8446. "operateapplyid": {
  8447. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  8448. "type": "string"
  8449. },
  8450. "operateapplytype": {
  8451. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  8452. "type": "integer"
  8453. },
  8454. "pricemove": {
  8455. "description": "升贴水",
  8456. "type": "number"
  8457. },
  8458. "pricetype": {
  8459. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  8460. "type": "integer"
  8461. },
  8462. "reckonadjustamount": {
  8463. "description": "结算调整金额(非必填)",
  8464. "type": "number"
  8465. },
  8466. "reckonosamount": {
  8467. "description": "结算溢短金额(非必填)",
  8468. "type": "number"
  8469. },
  8470. "reckonotheramount": {
  8471. "description": "结算其他费用(非必填)",
  8472. "type": "number"
  8473. },
  8474. "reckonrealqty": {
  8475. "description": "结算实际数量(非必填)",
  8476. "type": "number"
  8477. },
  8478. "relatedid": {
  8479. "description": "现货合同ID",
  8480. "type": "string"
  8481. },
  8482. "sellusername": {
  8483. "description": "销售方名字",
  8484. "type": "string"
  8485. },
  8486. "userid": {
  8487. "description": "用户ID",
  8488. "type": "integer"
  8489. },
  8490. "wrstandardcode": {
  8491. "description": "现货商品代码",
  8492. "type": "string"
  8493. },
  8494. "wrstandardid": {
  8495. "description": "现货商品id",
  8496. "type": "integer"
  8497. },
  8498. "wrstandardname": {
  8499. "description": "现货商品名称",
  8500. "type": "string"
  8501. }
  8502. }
  8503. },
  8504. "ermcp.QryBussinessKxRsp": {
  8505. "type": "object",
  8506. "properties": {
  8507. "applyid": {
  8508. "description": "申请人",
  8509. "type": "string"
  8510. },
  8511. "applyname": {
  8512. "description": "申请人名称",
  8513. "type": "string"
  8514. },
  8515. "applystatus": {
  8516. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  8517. "type": "integer"
  8518. },
  8519. "applytime": {
  8520. "description": "申请时间",
  8521. "type": "string"
  8522. },
  8523. "attachurl": {
  8524. "description": "附件",
  8525. "type": "string"
  8526. },
  8527. "auditname": {
  8528. "description": "审核人名称",
  8529. "type": "string"
  8530. },
  8531. "audittime": {
  8532. "description": "审核时间",
  8533. "type": "string"
  8534. },
  8535. "buyusername": {
  8536. "description": "采购方名称",
  8537. "type": "string"
  8538. },
  8539. "contractno": {
  8540. "description": "合同编号",
  8541. "type": "string"
  8542. },
  8543. "contractstatus": {
  8544. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  8545. "type": "integer"
  8546. },
  8547. "contracttype": {
  8548. "description": "现货合同类型 - 1:采购 -1:销售",
  8549. "type": "integer"
  8550. },
  8551. "deductamount": {
  8552. "description": "退款(非必填)",
  8553. "type": "number"
  8554. },
  8555. "enumdicname": {
  8556. "description": "单位名称",
  8557. "type": "string"
  8558. },
  8559. "goodscode": {
  8560. "description": "点价合约",
  8561. "type": "string"
  8562. },
  8563. "goodsname": {
  8564. "description": "商品名称",
  8565. "type": "string"
  8566. },
  8567. "kxtype": {
  8568. "description": "款项类型 1-收付款(PayAmount字段有值) 2-退款(DeductAmount字段有值) 3-收付款/退款(2个字段都有)",
  8569. "type": "integer"
  8570. },
  8571. "operateapplyid": {
  8572. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  8573. "type": "string"
  8574. },
  8575. "operateapplytype": {
  8576. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  8577. "type": "integer"
  8578. },
  8579. "payamount": {
  8580. "description": "收付款(非必填)",
  8581. "type": "number"
  8582. },
  8583. "pricemove": {
  8584. "description": "升贴水",
  8585. "type": "number"
  8586. },
  8587. "pricetype": {
  8588. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  8589. "type": "integer"
  8590. },
  8591. "relatedid": {
  8592. "description": "现货合同ID",
  8593. "type": "string"
  8594. },
  8595. "sellusername": {
  8596. "description": "销售方名字",
  8597. "type": "string"
  8598. },
  8599. "userid": {
  8600. "description": "用户ID",
  8601. "type": "integer"
  8602. },
  8603. "wrstandardcode": {
  8604. "description": "现货商品代码",
  8605. "type": "string"
  8606. },
  8607. "wrstandardid": {
  8608. "description": "现货商品id",
  8609. "type": "integer"
  8610. },
  8611. "wrstandardname": {
  8612. "description": "现货商品名称",
  8613. "type": "string"
  8614. }
  8615. }
  8616. },
  8617. "ermcp.QryErmcpRsp": {
  8618. "$ref": "#/definitions/models.ErmcpModel"
  8619. },
  8620. "ermcp.QryGGCovertCfgRsp": {
  8621. "$ref": "#/definitions/models.ErmcpGGConvertCfg"
  8622. },
  8623. "ermcp.QryHedgePlanRsp": {
  8624. "$ref": "#/definitions/models.ErmcpHedgePlan"
  8625. },
  8626. "ermcp.QryMGChangeLogRsp": {
  8627. "$ref": "#/definitions/models.ErmcpMiddleGoodsChangeLog"
  8628. },
  8629. "ermcp.QryMiddleGoodsDetailRsp": {
  8630. "$ref": "#/definitions/models.ErmcpMiddleGoodsDetail"
  8631. },
  8632. "ermcp.QryMiddleGoodsRsp": {
  8633. "$ref": "#/definitions/models.ErmcpMiddleGoodsModel"
  8634. },
  8635. "ermcp.QryOPLogRsp": {
  8636. "$ref": "#/definitions/models.ErmcpOPLogModel"
  8637. },
  8638. "ermcp.QryReportDaySpotDetailRsp": {
  8639. "$ref": "#/definitions/models.ErmcpReportOPLog"
  8640. },
  8641. "ermcp.QryReportExposureDayRsp": {
  8642. "$ref": "#/definitions/models.ErmcpReportDayExposure"
  8643. },
  8644. "ermcp.QryReportFinanceDayRsp": {
  8645. "$ref": "#/definitions/models.ErmcpReportDayFR"
  8646. },
  8647. "ermcp.QryReportFinanceKxRsp": {
  8648. "$ref": "#/definitions/models.ErmcpReportOPLog"
  8649. },
  8650. "ermcp.QryReportFinanceMonRsp": {
  8651. "$ref": "#/definitions/models.ErmcpReportMonthFR"
  8652. },
  8653. "ermcp.QryReportSpotDayRsp": {
  8654. "$ref": "#/definitions/models.ErmcpReportDaySpot"
  8655. },
  8656. "ermcp.QryReportSpotMonRsp": {
  8657. "$ref": "#/definitions/models.ErmcpReportMonSpot"
  8658. },
  8659. "ermcp.QryReportSpotMonthDetailRsp": {
  8660. "$ref": "#/definitions/models.ErmcpReportDaySpot"
  8661. },
  8662. "ermcp.QrySpotContractRsp": {
  8663. "$ref": "#/definitions/models.ErmcpSpotContractModel"
  8664. },
  8665. "ermcp.QryUserInfoRsp": {
  8666. "$ref": "#/definitions/models.ErmcpUserModel"
  8667. },
  8668. "ermcp.QryWarehouseRsp": {
  8669. "$ref": "#/definitions/models.ErmcpWareHouseInfo"
  8670. },
  8671. "ermcp.QryWrStandardDetailRsp": {
  8672. "$ref": "#/definitions/models.ErmcpWrstandDetail"
  8673. },
  8674. "ermcp.QryWrStandardRsp": {
  8675. "$ref": "#/definitions/models.ErmcpWrstandard"
  8676. },
  8677. "ermcp.QueryAreaStockApplySumRsp": {
  8678. "$ref": "#/definitions/models.ErmcpAreaStockApplySum"
  8679. },
  8680. "ermcp.QueryErmcpTradePositionRsp": {
  8681. "type": "object",
  8682. "properties": {
  8683. "agreeunit": {
  8684. "description": "合约单位",
  8685. "type": "number"
  8686. },
  8687. "buyorsell": {
  8688. "description": "方向 - 0:买 1:卖",
  8689. "type": "integer"
  8690. },
  8691. "curpositionqty": {
  8692. "description": "持仓(总仓数量, 期末头寸)",
  8693. "type": "integer"
  8694. },
  8695. "curtdposition": {
  8696. "description": "今仓数量(期末今日头寸)",
  8697. "type": "integer"
  8698. },
  8699. "curtdpositionenabled": {
  8700. "description": "今仓可用",
  8701. "type": "integer"
  8702. },
  8703. "decimalplace": {
  8704. "description": "报价小数位",
  8705. "type": "integer"
  8706. },
  8707. "enableqty": {
  8708. "description": "可用(总仓可用)",
  8709. "type": "integer"
  8710. },
  8711. "exexchangename": {
  8712. "description": "外部交易所名称",
  8713. "type": "string"
  8714. },
  8715. "goodscode": {
  8716. "description": "商品代码(内部)",
  8717. "type": "string"
  8718. },
  8719. "goodsid": {
  8720. "description": "商品ID(自增ID SEQ_GOODS)",
  8721. "type": "integer"
  8722. },
  8723. "goodsname": {
  8724. "description": "商品名称",
  8725. "type": "string"
  8726. },
  8727. "last": {
  8728. "description": "现价",
  8729. "type": "number"
  8730. },
  8731. "marketid": {
  8732. "description": "所属市场ID",
  8733. "type": "integer"
  8734. },
  8735. "openaverageprice": {
  8736. "description": "开仓均价【头寸变化更新】 = 开仓成本 / 期末头寸 / 合约单位",
  8737. "type": "number"
  8738. },
  8739. "opencost": {
  8740. "description": "开仓成本",
  8741. "type": "number"
  8742. },
  8743. "openpl": {
  8744. "description": "逐笔浮盈【实时行情更新】(MTP:开仓盈亏、平仓盈亏) 买方向 = (最新价 - 开仓均价) * 买期末头寸 * 合约单位;卖方向 = (开仓均价 - 最新价) * 卖期末头寸 * 合约单位",
  8745. "type": "number"
  8746. },
  8747. "outgoodscode": {
  8748. "description": "商品代码(外部)",
  8749. "type": "string"
  8750. },
  8751. "positionaverageprice": {
  8752. "description": "持仓均价【头寸变化更新】= 持仓成本 / 期末头寸 / 合约单位",
  8753. "type": "number"
  8754. },
  8755. "positioncost": {
  8756. "description": "持仓成本",
  8757. "type": "number"
  8758. },
  8759. "positionpl": {
  8760. "description": "盯市浮盈【实时行情更新】(MTP:浮动盈亏、持仓盈亏) 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向 = (持仓均价 - 最新价) * 卖期末头寸 * 合约单位",
  8761. "type": "number"
  8762. },
  8763. "positionplrate": {
  8764. "description": "持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本",
  8765. "type": "number"
  8766. },
  8767. "usedmargin": {
  8768. "description": "占用保证金",
  8769. "type": "number"
  8770. }
  8771. }
  8772. },
  8773. "ermcp.RealtimeExposurePositionRsp": {
  8774. "$ref": "#/definitions/models.ErmcpExposurePostion"
  8775. },
  8776. "ermcp.RealtimeExposureRsp": {
  8777. "$ref": "#/definitions/models.ErmcpRealExposureModel"
  8778. },
  8779. "erms2.QueryArbitrageStrategyRsp": {
  8780. "type": "object",
  8781. "required": [
  8782. "asapplyid"
  8783. ],
  8784. "properties": {
  8785. "applybasis": {
  8786. "description": "申请基差",
  8787. "type": "number"
  8788. },
  8789. "asapplyid": {
  8790. "description": "策略申请ID(702+Unix秒时间戳(10位)+xxxxxx)",
  8791. "type": "string"
  8792. },
  8793. "asname": {
  8794. "description": "策略名称",
  8795. "type": "string"
  8796. },
  8797. "asno": {
  8798. "description": "策略编号",
  8799. "type": "string"
  8800. },
  8801. "basischangepl": {
  8802. "description": "基差变动损益[结算更新]",
  8803. "type": "number"
  8804. },
  8805. "biztype": {
  8806. "description": "业务类型 - 1:正向套利 -1:反向套利",
  8807. "type": "integer"
  8808. },
  8809. "closetradedate": {
  8810. "description": "完结交易日(yyyyMMdd)",
  8811. "type": "string"
  8812. },
  8813. "curbasis": {
  8814. "description": "当前基差[结算更新]",
  8815. "type": "number"
  8816. },
  8817. "deliverygoodsid": {
  8818. "description": "现货品种ID",
  8819. "type": "integer"
  8820. },
  8821. "futureavgprice": {
  8822. "description": "期货建仓均价",
  8823. "type": "number"
  8824. },
  8825. "futurecloseamount": {
  8826. "description": "期货平仓金额",
  8827. "type": "number"
  8828. },
  8829. "futurecloseqty": {
  8830. "description": "期货平仓数量",
  8831. "type": "number"
  8832. },
  8833. "futureopenamount": {
  8834. "description": "期货开仓金额",
  8835. "type": "number"
  8836. },
  8837. "futureopenqty": {
  8838. "description": "期货开仓数量",
  8839. "type": "number"
  8840. },
  8841. "futurepl": {
  8842. "description": "期货总盈亏[结算更新]",
  8843. "type": "number"
  8844. },
  8845. "futureqty": {
  8846. "description": "期货持仓数量",
  8847. "type": "number"
  8848. },
  8849. "futurequote": {
  8850. "description": "期货额度",
  8851. "type": "number"
  8852. },
  8853. "goodsgroupid": {
  8854. "description": "期货品种ID",
  8855. "type": "integer"
  8856. },
  8857. "marketid": {
  8858. "description": "市场ID",
  8859. "type": "integer"
  8860. },
  8861. "netexposure": {
  8862. "description": "单笔业务头寸净敞口 = 期货持仓数量 + 已定价现货不含税数量",
  8863. "type": "number"
  8864. },
  8865. "netexposurepl": {
  8866. "description": "净敞口损益 = TotalPL - BasisChangePL[结算更新]",
  8867. "type": "number"
  8868. },
  8869. "netexposurerate": {
  8870. "description": "净敞口比例 - 0:未结束 = (NetExposure/PriceSpotQtyNoTax) ; 已结束为0",
  8871. "type": "number"
  8872. },
  8873. "openbasis": {
  8874. "description": "建仓基差",
  8875. "type": "number"
  8876. },
  8877. "pricedspotqty": {
  8878. "description": "已定价现货数量",
  8879. "type": "number"
  8880. },
  8881. "pricedspotqtynotax": {
  8882. "description": "已定价现货不含税数量",
  8883. "type": "number"
  8884. },
  8885. "remark": {
  8886. "description": "备注",
  8887. "type": "string"
  8888. },
  8889. "spotavgprice": {
  8890. "description": "现货均价",
  8891. "type": "number"
  8892. },
  8893. "spotbuyamount": {
  8894. "description": "现货采购金额",
  8895. "type": "number"
  8896. },
  8897. "spotbuyqty": {
  8898. "description": "现货采购数量",
  8899. "type": "number"
  8900. },
  8901. "spotpl": {
  8902. "description": "现货总盈亏[结算更新]",
  8903. "type": "number"
  8904. },
  8905. "spotquota": {
  8906. "description": "现货额度",
  8907. "type": "number"
  8908. },
  8909. "spotsellamount": {
  8910. "description": "现货销售金额",
  8911. "type": "number"
  8912. },
  8913. "spotsellqty": {
  8914. "description": "现货销售数量",
  8915. "type": "number"
  8916. },
  8917. "spotusedquota": {
  8918. "description": "现货占用资金",
  8919. "type": "number"
  8920. },
  8921. "strategystatus": {
  8922. "description": "策略状态 - 0:未结束 1:已结束",
  8923. "type": "integer"
  8924. },
  8925. "totalpl": {
  8926. "description": "业务合计损益 = FuturePL + SpotPL [结算更新]",
  8927. "type": "number"
  8928. },
  8929. "tradedate": {
  8930. "description": "交易日(yyyyMMdd)",
  8931. "type": "string"
  8932. },
  8933. "updatetime": {
  8934. "description": "更新时间",
  8935. "type": "string"
  8936. },
  8937. "usedquota": {
  8938. "description": "已占用资金",
  8939. "type": "number"
  8940. },
  8941. "userid": {
  8942. "description": "所属机构",
  8943. "type": "integer"
  8944. }
  8945. }
  8946. },
  8947. "erms2.QueryInnerTradeDetailRsp": {
  8948. "type": "object",
  8949. "required": [
  8950. "asapplyid",
  8951. "buyorsell",
  8952. "goodscode",
  8953. "goodsgroupid",
  8954. "goodsgroupname",
  8955. "goodsname",
  8956. "tradeid"
  8957. ],
  8958. "properties": {
  8959. "accountid": {
  8960. "description": "账号ID",
  8961. "type": "integer"
  8962. },
  8963. "agreeunit": {
  8964. "description": "合约单位",
  8965. "type": "number"
  8966. },
  8967. "asapplyid": {
  8968. "description": "策略申请ID",
  8969. "type": "integer"
  8970. },
  8971. "asname": {
  8972. "description": "策略名称",
  8973. "type": "string"
  8974. },
  8975. "asno": {
  8976. "description": "策略编号",
  8977. "type": "string"
  8978. },
  8979. "buyorsell": {
  8980. "description": "方向 - 0:买 1:卖",
  8981. "type": "integer"
  8982. },
  8983. "channelbuildtype": {
  8984. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  8985. "type": "integer"
  8986. },
  8987. "closetype": {
  8988. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  8989. "type": "integer"
  8990. },
  8991. "decimalplace": {
  8992. "description": "报价小数位",
  8993. "type": "integer"
  8994. },
  8995. "detailtype": {
  8996. "description": "明细类型 - 1:套利对冲 2:期货换月 3:期货仓位调整",
  8997. "type": "integer"
  8998. },
  8999. "exexchangecode": {
  9000. "description": "外部交易所代码",
  9001. "type": "string"
  9002. },
  9003. "exexchangename": {
  9004. "description": "外部交易所名称",
  9005. "type": "string"
  9006. },
  9007. "goodscode": {
  9008. "description": "商品代码(合约)",
  9009. "type": "string"
  9010. },
  9011. "goodsgroupid": {
  9012. "description": "商品组ID(品种ID)",
  9013. "type": "integer"
  9014. },
  9015. "goodsgroupname": {
  9016. "description": "商品组名称(品种)",
  9017. "type": "string"
  9018. },
  9019. "goodsid": {
  9020. "description": "商品ID",
  9021. "type": "integer"
  9022. },
  9023. "goodsname": {
  9024. "description": "商品名称(合约)",
  9025. "type": "string"
  9026. },
  9027. "goodunit": {
  9028. "description": "报价单位",
  9029. "type": "string"
  9030. },
  9031. "marketid": {
  9032. "description": "市场ID",
  9033. "type": "integer"
  9034. },
  9035. "orderid": {
  9036. "description": "委托单号",
  9037. "type": "string"
  9038. },
  9039. "outgoodscode": {
  9040. "description": "商品代码(外部)",
  9041. "type": "string"
  9042. },
  9043. "relatedouttradeid": {
  9044. "description": "关联外部成交单ID",
  9045. "type": "string"
  9046. },
  9047. "remark": {
  9048. "description": "备注",
  9049. "type": "string"
  9050. },
  9051. "spotcontractid": {
  9052. "description": "现货合同ID [1:套利对冲 为合同ID,2:期货换月\\3:期货仓位调整时为0]",
  9053. "type": "integer"
  9054. },
  9055. "spotcontractno": {
  9056. "description": "现货合同编号",
  9057. "type": "string"
  9058. },
  9059. "tradeid": {
  9060. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  9061. "type": "string"
  9062. },
  9063. "tradeprice": {
  9064. "description": "成交价格",
  9065. "type": "number"
  9066. },
  9067. "tradeqty": {
  9068. "description": "成交数量",
  9069. "type": "integer"
  9070. },
  9071. "tradetime": {
  9072. "description": "成交时间",
  9073. "type": "string"
  9074. },
  9075. "updatetime": {
  9076. "description": "更新时间",
  9077. "type": "string"
  9078. }
  9079. }
  9080. },
  9081. "erms2.QuerySpotContractRsp": {
  9082. "type": "object",
  9083. "required": [
  9084. "spotcontractid"
  9085. ],
  9086. "properties": {
  9087. "accountid": {
  9088. "description": "资金账户ID",
  9089. "type": "integer"
  9090. },
  9091. "areauserid": {
  9092. "description": "所属机构",
  9093. "type": "integer"
  9094. },
  9095. "closedate": {
  9096. "description": "终止日期",
  9097. "type": "string"
  9098. },
  9099. "closeremark": {
  9100. "description": "结束备注",
  9101. "type": "string"
  9102. },
  9103. "closetradedate": {
  9104. "description": "完结交易日(yyyyMMdd)",
  9105. "type": "string"
  9106. },
  9107. "closetype": {
  9108. "description": "终止类型 - 1:违约 2:提前终止",
  9109. "type": "integer"
  9110. },
  9111. "contractamount": {
  9112. "description": "合同金额",
  9113. "type": "number"
  9114. },
  9115. "contractattachment": {
  9116. "description": "合同附件",
  9117. "type": "string"
  9118. },
  9119. "contractno": {
  9120. "description": "现货合同编号",
  9121. "type": "string"
  9122. },
  9123. "contractqty": {
  9124. "description": "合同数量(数值) (用于计算)",
  9125. "type": "number"
  9126. },
  9127. "contractqtychar": {
  9128. "description": "合同数量\\已订价数量 (用于显示)",
  9129. "type": "string"
  9130. },
  9131. "contractstatus": {
  9132. "description": "合同状态 - 0:未结束 1:已结束",
  9133. "type": "integer"
  9134. },
  9135. "contracttype": {
  9136. "description": "现货合同类型 - 1:采购合同 -1:销售合同",
  9137. "type": "integer"
  9138. },
  9139. "customeraccountid": {
  9140. "description": "客户资金账户ID",
  9141. "type": "integer"
  9142. },
  9143. "customeruserid": {
  9144. "description": "客户ID",
  9145. "type": "integer"
  9146. },
  9147. "deliverygoodsdesc": {
  9148. "description": "品种说明",
  9149. "type": "string"
  9150. },
  9151. "deliverygoodsid": {
  9152. "description": "现货品种ID",
  9153. "type": "integer"
  9154. },
  9155. "handlestatus": {
  9156. "description": "处理状态",
  9157. "type": "integer"
  9158. },
  9159. "invoiceatt": {
  9160. "description": "发票附件",
  9161. "type": "string"
  9162. },
  9163. "invoicedatetime": {
  9164. "description": "开收票更新时间",
  9165. "type": "string"
  9166. },
  9167. "invoiceopentime": {
  9168. "description": "开票时间",
  9169. "type": "string"
  9170. },
  9171. "invoiceremark": {
  9172. "description": "发票备注",
  9173. "type": "string"
  9174. },
  9175. "invoicestatus": {
  9176. "description": "开收票状态 - 0:未开票 1:已开票",
  9177. "type": "integer"
  9178. },
  9179. "lastdate": {
  9180. "description": "交货时间",
  9181. "type": "string"
  9182. },
  9183. "marketid": {
  9184. "description": "市场ID",
  9185. "type": "integer"
  9186. },
  9187. "paydatetime": {
  9188. "description": "收付款更新时间",
  9189. "type": "string"
  9190. },
  9191. "payremark": {
  9192. "description": "收付款备注",
  9193. "type": "string"
  9194. },
  9195. "paystatus": {
  9196. "description": "收付款状态 - 0:未支付 1:已收款 2:已付款",
  9197. "type": "integer"
  9198. },
  9199. "positionqty": {
  9200. "description": "头寸数量 - 合同数量去小数部分",
  9201. "type": "integer"
  9202. },
  9203. "producttype": {
  9204. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  9205. "type": "integer"
  9206. },
  9207. "relatedqty": {
  9208. "description": "已关联数量",
  9209. "type": "number"
  9210. },
  9211. "relatedstatus": {
  9212. "description": "关联完结状态 - 0:未结束 1:已结束",
  9213. "type": "integer"
  9214. },
  9215. "remark": {
  9216. "description": "备注",
  9217. "type": "string"
  9218. },
  9219. "signdate": {
  9220. "description": "签订日期",
  9221. "type": "string"
  9222. },
  9223. "spotcontractid": {
  9224. "description": "现货合同ID(701+Unix秒时间戳(10位)+xxxxxx)",
  9225. "type": "string"
  9226. },
  9227. "spotdatetime": {
  9228. "description": "收发货更新时间",
  9229. "type": "string"
  9230. },
  9231. "spotprice": {
  9232. "description": "价格",
  9233. "type": "number"
  9234. },
  9235. "spotremark": {
  9236. "description": "收发货备注",
  9237. "type": "string"
  9238. },
  9239. "spotstatus": {
  9240. "description": "收发货状态 - 0:未交收 1:已发货 2:已发货",
  9241. "type": "integer"
  9242. },
  9243. "tradedate": {
  9244. "description": "交易日(yyyyMMdd)",
  9245. "type": "string"
  9246. },
  9247. "userid": {
  9248. "description": "业务员用户ID",
  9249. "type": "integer"
  9250. },
  9251. "warehouseid": {
  9252. "description": "仓库ID",
  9253. "type": "integer"
  9254. },
  9255. "wrfactortypeid": {
  9256. "description": "仓单要素类型ID",
  9257. "type": "integer"
  9258. },
  9259. "wrstandardid": {
  9260. "description": "仓单标准ID(SEQ_WRSTANDARD)",
  9261. "type": "integer"
  9262. }
  9263. }
  9264. },
  9265. "erms3.AddErms2ASApplyReq": {
  9266. "type": "object",
  9267. "required": [
  9268. "asapplyid"
  9269. ],
  9270. "properties": {
  9271. "applybasis": {
  9272. "description": "申请基差",
  9273. "type": "number"
  9274. },
  9275. "applystatus": {
  9276. "description": "申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  9277. "type": "integer"
  9278. },
  9279. "asapplyid": {
  9280. "description": "策略申请ID(342+Unix秒时间戳(10位)+xxxxxx)",
  9281. "type": "integer"
  9282. },
  9283. "asname": {
  9284. "description": "策略名称",
  9285. "type": "string"
  9286. },
  9287. "asno": {
  9288. "description": "策略编号",
  9289. "type": "string"
  9290. },
  9291. "auditid": {
  9292. "description": "审核人",
  9293. "type": "integer"
  9294. },
  9295. "auditremark": {
  9296. "description": "审核备注",
  9297. "type": "string"
  9298. },
  9299. "audittime": {
  9300. "description": "审核时间",
  9301. "type": "string"
  9302. },
  9303. "biztype": {
  9304. "description": "业务类型 - 1:正向套利 2:反向套利",
  9305. "type": "integer"
  9306. },
  9307. "createtime": {
  9308. "description": "创建时间",
  9309. "type": "string"
  9310. },
  9311. "creatorid": {
  9312. "description": "创建人",
  9313. "type": "integer"
  9314. },
  9315. "deliverygoodsid": {
  9316. "description": "现货品种ID",
  9317. "type": "integer"
  9318. },
  9319. "futurequote": {
  9320. "description": "期货额度",
  9321. "type": "number"
  9322. },
  9323. "goodsgroupid": {
  9324. "description": "期货品种ID",
  9325. "type": "integer"
  9326. },
  9327. "marketid": {
  9328. "description": "市场ID",
  9329. "type": "integer"
  9330. },
  9331. "remark": {
  9332. "description": "备注",
  9333. "type": "string"
  9334. },
  9335. "spotquota": {
  9336. "description": "现货额度",
  9337. "type": "number"
  9338. },
  9339. "tradedate": {
  9340. "description": "交易日(yyyyMMdd)",
  9341. "type": "string"
  9342. },
  9343. "userid": {
  9344. "description": "所属机构",
  9345. "type": "integer"
  9346. }
  9347. }
  9348. },
  9349. "erms3.AddErms2SpotTradeApplyReq": {
  9350. "type": "object",
  9351. "required": [
  9352. "spottradeid"
  9353. ],
  9354. "properties": {
  9355. "applyjsondetail": {
  9356. "description": "申请明细(JSON)",
  9357. "type": "string"
  9358. },
  9359. "applystatus": {
  9360. "description": "申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  9361. "type": "integer"
  9362. },
  9363. "areauserid": {
  9364. "description": "所属机构",
  9365. "type": "integer"
  9366. },
  9367. "auditid": {
  9368. "description": "审核人",
  9369. "type": "integer"
  9370. },
  9371. "auditremark": {
  9372. "description": "审核备注",
  9373. "type": "string"
  9374. },
  9375. "audittime": {
  9376. "description": "审核时间",
  9377. "type": "string"
  9378. },
  9379. "createtime": {
  9380. "description": "创建时间",
  9381. "type": "string"
  9382. },
  9383. "creatorid": {
  9384. "description": "创建人",
  9385. "type": "integer"
  9386. },
  9387. "deliverygoodsid": {
  9388. "description": "现货品种ID",
  9389. "type": "integer"
  9390. },
  9391. "futureaccountid": {
  9392. "description": "期货资金账户",
  9393. "type": "integer"
  9394. },
  9395. "goodsgroupid": {
  9396. "description": "期货品种",
  9397. "type": "integer"
  9398. },
  9399. "marketid": {
  9400. "description": "市场ID",
  9401. "type": "integer"
  9402. },
  9403. "remark": {
  9404. "description": "备注",
  9405. "type": "string"
  9406. },
  9407. "spotaccountid": {
  9408. "description": "现货资金账户",
  9409. "type": "integer"
  9410. },
  9411. "spottradeid": {
  9412. "description": "业务ID(341+Unix秒时间戳(10位)+xxxxxx)",
  9413. "type": "integer"
  9414. },
  9415. "spottradename": {
  9416. "description": "业务名称",
  9417. "type": "string"
  9418. },
  9419. "spottradeno": {
  9420. "description": "业务编号",
  9421. "type": "string"
  9422. },
  9423. "tradedate": {
  9424. "description": "交易日(yyyyMMdd)",
  9425. "type": "string"
  9426. },
  9427. "wrstandardid": {
  9428. "description": "仓单标准ID",
  9429. "type": "integer"
  9430. }
  9431. }
  9432. },
  9433. "erms3.AddSpotContractApplyReq": {
  9434. "type": "object",
  9435. "required": [
  9436. "accountid",
  9437. "areauserid",
  9438. "contractno",
  9439. "contracttype",
  9440. "customeraccountid",
  9441. "customeruserid",
  9442. "details",
  9443. "orimargin",
  9444. "signdate"
  9445. ],
  9446. "properties": {
  9447. "accountid": {
  9448. "description": "资金账户ID",
  9449. "type": "integer"
  9450. },
  9451. "areauserid": {
  9452. "description": "所属机构",
  9453. "type": "integer"
  9454. },
  9455. "contractattachment": {
  9456. "description": "合同附件",
  9457. "type": "string"
  9458. },
  9459. "contractno": {
  9460. "description": "现货合同编号",
  9461. "type": "string"
  9462. },
  9463. "contracttype": {
  9464. "description": "现货合同类型 - 1:采购 -1:销售",
  9465. "type": "integer"
  9466. },
  9467. "creatorid": {
  9468. "description": "申请人",
  9469. "type": "integer"
  9470. },
  9471. "customeraccountid": {
  9472. "description": "客户资金账户ID",
  9473. "type": "integer"
  9474. },
  9475. "customeruserid": {
  9476. "description": "客户ID",
  9477. "type": "integer"
  9478. },
  9479. "details": {
  9480. "description": "明细",
  9481. "type": "array",
  9482. "items": {
  9483. "$ref": "#/definitions/erms3.SoptContractDetail"
  9484. }
  9485. },
  9486. "orimargin": {
  9487. "description": "初始保证金",
  9488. "type": "number"
  9489. },
  9490. "remark": {
  9491. "description": "备注",
  9492. "type": "string"
  9493. },
  9494. "signdate": {
  9495. "description": "签订日期",
  9496. "type": "string"
  9497. }
  9498. }
  9499. },
  9500. "erms3.AddSpotContractApplyRsp": {
  9501. "type": "object",
  9502. "required": [
  9503. "contractno"
  9504. ],
  9505. "properties": {
  9506. "contractno": {
  9507. "description": "现货合同编号",
  9508. "type": "string"
  9509. },
  9510. "spotcontractid": {
  9511. "description": "现货合同ID(345+Unix秒时间戳(10位)+xxxxxx)",
  9512. "type": "integer"
  9513. }
  9514. }
  9515. },
  9516. "erms3.AddUserInfoApplyReq": {
  9517. "type": "object",
  9518. "required": [
  9519. "userid"
  9520. ],
  9521. "properties": {
  9522. "accountid": {
  9523. "description": "交易系统帐号Id (加密存储)",
  9524. "type": "integer"
  9525. },
  9526. "areacode": {
  9527. "description": "机构代码",
  9528. "type": "string"
  9529. },
  9530. "areaid": {
  9531. "description": "机构Id",
  9532. "type": "integer"
  9533. },
  9534. "attachment1": {
  9535. "description": "附件1",
  9536. "type": "string"
  9537. },
  9538. "attachment2": {
  9539. "description": "附件2",
  9540. "type": "string"
  9541. },
  9542. "attachment3": {
  9543. "description": "附件3",
  9544. "type": "string"
  9545. },
  9546. "attachment4": {
  9547. "description": "附件4",
  9548. "type": "string"
  9549. },
  9550. "attachment5": {
  9551. "description": "附件5",
  9552. "type": "string"
  9553. },
  9554. "auditedby": {
  9555. "description": "审核人",
  9556. "type": "string"
  9557. },
  9558. "auditime": {
  9559. "description": "审核时间",
  9560. "type": "string"
  9561. },
  9562. "bankaccount": {
  9563. "description": "银行帐号 (加密存储)",
  9564. "type": "string"
  9565. },
  9566. "bankaccountname": {
  9567. "description": "收款人名称",
  9568. "type": "string"
  9569. },
  9570. "bankcardbackphotourl": {
  9571. "description": "银行卡背面照地址",
  9572. "type": "string"
  9573. },
  9574. "bankcardfrontphotourl": {
  9575. "description": "银行卡正面照地址",
  9576. "type": "string"
  9577. },
  9578. "bankid": {
  9579. "description": "银行编码",
  9580. "type": "string"
  9581. },
  9582. "bankname": {
  9583. "description": "银行名称",
  9584. "type": "string"
  9585. },
  9586. "bankpictureurl": {
  9587. "description": "银行卡正面地址",
  9588. "type": "string"
  9589. },
  9590. "biznature": {
  9591. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  9592. "type": "integer"
  9593. },
  9594. "bizscope": {
  9595. "description": "企业经营范围(企业)",
  9596. "type": "string"
  9597. },
  9598. "biztype": {
  9599. "description": "企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储",
  9600. "type": "integer"
  9601. },
  9602. "brokerid": {
  9603. "description": "经纪人ID(加密存储)",
  9604. "type": "string"
  9605. },
  9606. "cardaddress": {
  9607. "description": "证件地址 (加密存储)",
  9608. "type": "string"
  9609. },
  9610. "cardbackphotourl": {
  9611. "description": "背面证件照地址",
  9612. "type": "string"
  9613. },
  9614. "cardfrontphotourl": {
  9615. "description": "正面证件照地址",
  9616. "type": "string"
  9617. },
  9618. "cardnum": {
  9619. "description": "证件号码 (加密存储)",
  9620. "type": "string"
  9621. },
  9622. "cardtype": {
  9623. "description": "证件类型",
  9624. "type": "integer"
  9625. },
  9626. "cityid": {
  9627. "description": "市",
  9628. "type": "integer"
  9629. },
  9630. "company": {
  9631. "description": "公司(个人)",
  9632. "type": "string"
  9633. },
  9634. "contactcardbackphotourl": {
  9635. "description": "联系人证件背面图片地址",
  9636. "type": "string"
  9637. },
  9638. "contactcardfrontphotourl": {
  9639. "description": "联系人证件正面图片地址",
  9640. "type": "string"
  9641. },
  9642. "contactname": {
  9643. "description": "联系人",
  9644. "type": "string"
  9645. },
  9646. "countryid": {
  9647. "description": "国家",
  9648. "type": "integer"
  9649. },
  9650. "createtime": {
  9651. "description": "开户申请时间",
  9652. "type": "string"
  9653. },
  9654. "cusbankid": {
  9655. "description": "签约类型",
  9656. "type": "string"
  9657. },
  9658. "cusbankname": {
  9659. "description": "签约类型名称",
  9660. "type": "string"
  9661. },
  9662. "customername": {
  9663. "description": "客户名称(企业名称)",
  9664. "type": "string"
  9665. },
  9666. "districtid": {
  9667. "description": "地区",
  9668. "type": "integer"
  9669. },
  9670. "email": {
  9671. "description": "Email地址(加密存储)",
  9672. "type": "string"
  9673. },
  9674. "halfbodyphotourl": {
  9675. "description": "半身照地址",
  9676. "type": "string"
  9677. },
  9678. "headurl": {
  9679. "description": "头像地址",
  9680. "type": "string"
  9681. },
  9682. "ipaddress": {
  9683. "description": "IP地址",
  9684. "type": "string"
  9685. },
  9686. "isvalidate": {
  9687. "description": "是否有效 (删除后标记为失效) - 0:无效 1:有效",
  9688. "type": "string"
  9689. },
  9690. "legalcardbackphotourl": {
  9691. "description": "法人身份证背面照地址",
  9692. "type": "string"
  9693. },
  9694. "legalcardfrontphotourl": {
  9695. "description": "法人身份证正面照地址",
  9696. "type": "string"
  9697. },
  9698. "legalpersonname": {
  9699. "description": "法人姓名(企业)",
  9700. "type": "string"
  9701. },
  9702. "logincode": {
  9703. "description": "登录帐号 (加密存储)",
  9704. "type": "string"
  9705. },
  9706. "memberareaid": {
  9707. "description": "所属会员ID",
  9708. "type": "integer"
  9709. },
  9710. "mobile2": {
  9711. "description": "手机号码[明文-尚志]",
  9712. "type": "string"
  9713. },
  9714. "mobilephone": {
  9715. "description": "手机号码 (加密存储)",
  9716. "type": "string"
  9717. },
  9718. "modifiedby": {
  9719. "description": "修改人帐号",
  9720. "type": "integer"
  9721. },
  9722. "modifiedtime": {
  9723. "description": "修改时间",
  9724. "type": "string"
  9725. },
  9726. "nickname": {
  9727. "description": "昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)",
  9728. "type": "string"
  9729. },
  9730. "openmode": {
  9731. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)",
  9732. "type": "integer"
  9733. },
  9734. "otherurl": {
  9735. "description": "其它图片地址[使用分号分隔]",
  9736. "type": "string"
  9737. },
  9738. "postalcode": {
  9739. "description": "邮政编码",
  9740. "type": "string"
  9741. },
  9742. "provinceid": {
  9743. "description": "省",
  9744. "type": "integer"
  9745. },
  9746. "proxystatementurl": {
  9747. "description": "授权委托书",
  9748. "type": "string"
  9749. },
  9750. "qq": {
  9751. "description": "QQ(加密存储",
  9752. "type": "string"
  9753. },
  9754. "referral": {
  9755. "description": "推荐人编码",
  9756. "type": "string"
  9757. },
  9758. "remark": {
  9759. "description": "备注",
  9760. "type": "string"
  9761. },
  9762. "removebeforestatus": {
  9763. "description": "REMOVEBEFORESTATUS",
  9764. "type": "integer"
  9765. },
  9766. "sex": {
  9767. "description": "性别 - 0:女 1:男",
  9768. "type": "integer"
  9769. },
  9770. "signedstatus": {
  9771. "description": "账户一号签签约状态",
  9772. "type": "integer"
  9773. },
  9774. "signpdfurl": {
  9775. "description": "签约pdf文件",
  9776. "type": "string"
  9777. },
  9778. "subbranch": {
  9779. "description": "开户支行",
  9780. "type": "string"
  9781. },
  9782. "telphone": {
  9783. "description": "联系电话(加密存储)",
  9784. "type": "string"
  9785. },
  9786. "userid": {
  9787. "description": "用户ID(自增ID)",
  9788. "type": "integer"
  9789. },
  9790. "userinfotype": {
  9791. "description": "用户信息类型 - 1:个人 2:企业",
  9792. "type": "integer"
  9793. },
  9794. "username": {
  9795. "description": "用户姓名",
  9796. "type": "string"
  9797. },
  9798. "userstate": {
  9799. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  9800. "type": "integer"
  9801. },
  9802. "usertype": {
  9803. "description": "用户类型 - 1:投资者 2:机构",
  9804. "type": "integer"
  9805. },
  9806. "videourl": {
  9807. "description": "视频地址",
  9808. "type": "string"
  9809. },
  9810. "wechat": {
  9811. "description": "微信号 (加密存储)",
  9812. "type": "string"
  9813. }
  9814. }
  9815. },
  9816. "erms3.CustomerInfo": {
  9817. "type": "object",
  9818. "required": [
  9819. "userid"
  9820. ],
  9821. "properties": {
  9822. "accountids": {
  9823. "description": "资金账户ID列表",
  9824. "type": "array",
  9825. "items": {
  9826. "type": "integer"
  9827. }
  9828. },
  9829. "customername": {
  9830. "description": "名称(企业名称)",
  9831. "type": "string"
  9832. },
  9833. "mobile": {
  9834. "description": "手机号码",
  9835. "type": "string"
  9836. },
  9837. "userid": {
  9838. "description": "用户ID",
  9839. "type": "integer"
  9840. }
  9841. }
  9842. },
  9843. "erms3.ModifyUserInfoApplyReq": {
  9844. "type": "object",
  9845. "required": [
  9846. "userid"
  9847. ],
  9848. "properties": {
  9849. "accountid": {
  9850. "description": "交易系统帐号Id (加密存储)",
  9851. "type": "integer"
  9852. },
  9853. "areacode": {
  9854. "description": "机构代码",
  9855. "type": "string"
  9856. },
  9857. "areaid": {
  9858. "description": "机构Id",
  9859. "type": "integer"
  9860. },
  9861. "attachment1": {
  9862. "description": "附件1",
  9863. "type": "string"
  9864. },
  9865. "attachment2": {
  9866. "description": "附件2",
  9867. "type": "string"
  9868. },
  9869. "attachment3": {
  9870. "description": "附件3",
  9871. "type": "string"
  9872. },
  9873. "attachment4": {
  9874. "description": "附件4",
  9875. "type": "string"
  9876. },
  9877. "attachment5": {
  9878. "description": "附件5",
  9879. "type": "string"
  9880. },
  9881. "auditedby": {
  9882. "description": "审核人",
  9883. "type": "string"
  9884. },
  9885. "auditime": {
  9886. "description": "审核时间",
  9887. "type": "string"
  9888. },
  9889. "bankaccount": {
  9890. "description": "银行帐号 (加密存储)",
  9891. "type": "string"
  9892. },
  9893. "bankaccountname": {
  9894. "description": "收款人名称",
  9895. "type": "string"
  9896. },
  9897. "bankcardbackphotourl": {
  9898. "description": "银行卡背面照地址",
  9899. "type": "string"
  9900. },
  9901. "bankcardfrontphotourl": {
  9902. "description": "银行卡正面照地址",
  9903. "type": "string"
  9904. },
  9905. "bankid": {
  9906. "description": "银行编码",
  9907. "type": "string"
  9908. },
  9909. "bankname": {
  9910. "description": "银行名称",
  9911. "type": "string"
  9912. },
  9913. "bankpictureurl": {
  9914. "description": "银行卡正面地址",
  9915. "type": "string"
  9916. },
  9917. "biznature": {
  9918. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  9919. "type": "integer"
  9920. },
  9921. "bizscope": {
  9922. "description": "企业经营范围(企业)",
  9923. "type": "string"
  9924. },
  9925. "biztype": {
  9926. "description": "企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储",
  9927. "type": "integer"
  9928. },
  9929. "brokerid": {
  9930. "description": "经纪人ID(加密存储)",
  9931. "type": "string"
  9932. },
  9933. "cardaddress": {
  9934. "description": "证件地址 (加密存储)",
  9935. "type": "string"
  9936. },
  9937. "cardbackphotourl": {
  9938. "description": "背面证件照地址",
  9939. "type": "string"
  9940. },
  9941. "cardfrontphotourl": {
  9942. "description": "正面证件照地址",
  9943. "type": "string"
  9944. },
  9945. "cardnum": {
  9946. "description": "证件号码 (加密存储)",
  9947. "type": "string"
  9948. },
  9949. "cardtype": {
  9950. "description": "证件类型",
  9951. "type": "integer"
  9952. },
  9953. "cityid": {
  9954. "description": "市",
  9955. "type": "integer"
  9956. },
  9957. "company": {
  9958. "description": "公司(个人)",
  9959. "type": "string"
  9960. },
  9961. "contactcardbackphotourl": {
  9962. "description": "联系人证件背面图片地址",
  9963. "type": "string"
  9964. },
  9965. "contactcardfrontphotourl": {
  9966. "description": "联系人证件正面图片地址",
  9967. "type": "string"
  9968. },
  9969. "contactname": {
  9970. "description": "联系人",
  9971. "type": "string"
  9972. },
  9973. "countryid": {
  9974. "description": "国家",
  9975. "type": "integer"
  9976. },
  9977. "createtime": {
  9978. "description": "开户申请时间",
  9979. "type": "string"
  9980. },
  9981. "cusbankid": {
  9982. "description": "签约类型",
  9983. "type": "string"
  9984. },
  9985. "cusbankname": {
  9986. "description": "签约类型名称",
  9987. "type": "string"
  9988. },
  9989. "customername": {
  9990. "description": "客户名称(企业名称)",
  9991. "type": "string"
  9992. },
  9993. "districtid": {
  9994. "description": "地区",
  9995. "type": "integer"
  9996. },
  9997. "email": {
  9998. "description": "Email地址(加密存储)",
  9999. "type": "string"
  10000. },
  10001. "halfbodyphotourl": {
  10002. "description": "半身照地址",
  10003. "type": "string"
  10004. },
  10005. "headurl": {
  10006. "description": "头像地址",
  10007. "type": "string"
  10008. },
  10009. "ipaddress": {
  10010. "description": "IP地址",
  10011. "type": "string"
  10012. },
  10013. "isvalidate": {
  10014. "description": "是否有效 (删除后标记为失效) - 0:无效 1:有效",
  10015. "type": "string"
  10016. },
  10017. "legalcardbackphotourl": {
  10018. "description": "法人身份证背面照地址",
  10019. "type": "string"
  10020. },
  10021. "legalcardfrontphotourl": {
  10022. "description": "法人身份证正面照地址",
  10023. "type": "string"
  10024. },
  10025. "legalpersonname": {
  10026. "description": "法人姓名(企业)",
  10027. "type": "string"
  10028. },
  10029. "logincode": {
  10030. "description": "登录帐号 (加密存储)",
  10031. "type": "string"
  10032. },
  10033. "memberareaid": {
  10034. "description": "所属会员ID",
  10035. "type": "integer"
  10036. },
  10037. "mobile2": {
  10038. "description": "手机号码[明文-尚志]",
  10039. "type": "string"
  10040. },
  10041. "mobilephone": {
  10042. "description": "手机号码 (加密存储)",
  10043. "type": "string"
  10044. },
  10045. "modifiedby": {
  10046. "description": "修改人帐号",
  10047. "type": "integer"
  10048. },
  10049. "modifiedtime": {
  10050. "description": "修改时间",
  10051. "type": "string"
  10052. },
  10053. "nickname": {
  10054. "description": "昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)",
  10055. "type": "string"
  10056. },
  10057. "openmode": {
  10058. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)",
  10059. "type": "integer"
  10060. },
  10061. "otherurl": {
  10062. "description": "其它图片地址[使用分号分隔]",
  10063. "type": "string"
  10064. },
  10065. "postalcode": {
  10066. "description": "邮政编码",
  10067. "type": "string"
  10068. },
  10069. "provinceid": {
  10070. "description": "省",
  10071. "type": "integer"
  10072. },
  10073. "proxystatementurl": {
  10074. "description": "授权委托书",
  10075. "type": "string"
  10076. },
  10077. "qq": {
  10078. "description": "QQ(加密存储",
  10079. "type": "string"
  10080. },
  10081. "referral": {
  10082. "description": "推荐人编码",
  10083. "type": "string"
  10084. },
  10085. "remark": {
  10086. "description": "备注",
  10087. "type": "string"
  10088. },
  10089. "removebeforestatus": {
  10090. "description": "REMOVEBEFORESTATUS",
  10091. "type": "integer"
  10092. },
  10093. "sex": {
  10094. "description": "性别 - 0:女 1:男",
  10095. "type": "integer"
  10096. },
  10097. "signedstatus": {
  10098. "description": "账户一号签签约状态",
  10099. "type": "integer"
  10100. },
  10101. "signpdfurl": {
  10102. "description": "签约pdf文件",
  10103. "type": "string"
  10104. },
  10105. "subbranch": {
  10106. "description": "开户支行",
  10107. "type": "string"
  10108. },
  10109. "telphone": {
  10110. "description": "联系电话(加密存储)",
  10111. "type": "string"
  10112. },
  10113. "userid": {
  10114. "description": "用户ID(自增ID)",
  10115. "type": "integer"
  10116. },
  10117. "userinfotype": {
  10118. "description": "用户信息类型 - 1:个人 2:企业",
  10119. "type": "integer"
  10120. },
  10121. "username": {
  10122. "description": "用户姓名",
  10123. "type": "string"
  10124. },
  10125. "userstate": {
  10126. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  10127. "type": "integer"
  10128. },
  10129. "usertype": {
  10130. "description": "用户类型 - 1:投资者 2:机构",
  10131. "type": "integer"
  10132. },
  10133. "videourl": {
  10134. "description": "视频地址",
  10135. "type": "string"
  10136. },
  10137. "wechat": {
  10138. "description": "微信号 (加密存储)",
  10139. "type": "string"
  10140. }
  10141. }
  10142. },
  10143. "erms3.QryAuditContractRsp": {
  10144. "type": "object",
  10145. "required": [
  10146. "matchcustomername",
  10147. "spotcontractid"
  10148. ],
  10149. "properties": {
  10150. "accountid": {
  10151. "description": "交易员ID",
  10152. "type": "string"
  10153. },
  10154. "applystatus": {
  10155. "description": "申请状态 - 0:未审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  10156. "type": "integer"
  10157. },
  10158. "curdeliveryqty": {
  10159. "description": "未交收量",
  10160. "type": "integer"
  10161. },
  10162. "customername": {
  10163. "description": "采购方ID",
  10164. "type": "string"
  10165. },
  10166. "deliverygoodsid": {
  10167. "description": "品种ID",
  10168. "type": "string"
  10169. },
  10170. "deliveryqty": {
  10171. "description": "交收量",
  10172. "type": "integer"
  10173. },
  10174. "enumdicname": {
  10175. "description": "单位名称",
  10176. "type": "string"
  10177. },
  10178. "matchaccountid": {
  10179. "description": "业务员ID",
  10180. "type": "string"
  10181. },
  10182. "matchcustomername": {
  10183. "description": "销售方ID",
  10184. "type": "string"
  10185. },
  10186. "pricedqty": {
  10187. "description": "定价量",
  10188. "type": "number"
  10189. },
  10190. "signdate": {
  10191. "description": "签订日期",
  10192. "type": "string"
  10193. },
  10194. "spotcontractid": {
  10195. "description": "合同ID",
  10196. "type": "string"
  10197. },
  10198. "totaldqty": {
  10199. "description": "合同量",
  10200. "type": "number"
  10201. },
  10202. "unpricedqty": {
  10203. "description": "未定价量",
  10204. "type": "number"
  10205. },
  10206. "wrstandardname": {
  10207. "description": "商品名称",
  10208. "type": "string"
  10209. }
  10210. }
  10211. },
  10212. "erms3.QryPendingBizRsp": {
  10213. "$ref": "#/definitions/models.PendingAuditBizModel"
  10214. },
  10215. "erms3.QueryBusinessInfoRsp": {
  10216. "type": "object",
  10217. "properties": {
  10218. "businessid": {
  10219. "description": "业务ID.",
  10220. "type": "integer"
  10221. },
  10222. "buyamount": {
  10223. "description": "采购额.",
  10224. "type": "number"
  10225. },
  10226. "buyqty": {
  10227. "description": "采购量.",
  10228. "type": "string"
  10229. },
  10230. "futurepl": {
  10231. "description": "期货盈亏.",
  10232. "type": "number"
  10233. },
  10234. "futureqty": {
  10235. "description": "期货敞口.",
  10236. "type": "string"
  10237. },
  10238. "goodsid": {
  10239. "description": "商品名称/商品代码.",
  10240. "type": "string"
  10241. },
  10242. "hedgingqty": {
  10243. "description": "套保量.",
  10244. "type": "string"
  10245. },
  10246. "sellamount": {
  10247. "description": "销售额.",
  10248. "type": "number"
  10249. },
  10250. "sellqty": {
  10251. "description": "销售量.",
  10252. "type": "string"
  10253. },
  10254. "spotmarketvalue": {
  10255. "description": "现货市值.",
  10256. "type": "number"
  10257. },
  10258. "spotpl": {
  10259. "description": "浮动权益.",
  10260. "type": "number"
  10261. },
  10262. "spotqty": {
  10263. "description": "现货量.",
  10264. "type": "string"
  10265. },
  10266. "statu": {
  10267. "description": "状态,0-未结束 1-已结束.",
  10268. "type": "integer"
  10269. },
  10270. "totalpl": {
  10271. "description": "总盈亏.",
  10272. "type": "number"
  10273. },
  10274. "totalqty": {
  10275. "description": "总敞口.",
  10276. "type": "string"
  10277. },
  10278. "type": {
  10279. "description": "业务类型,1-期现套利,2-仓单回购,3-现货贸易.",
  10280. "type": "integer"
  10281. }
  10282. }
  10283. },
  10284. "erms3.QuerySpotContractAppleFormRsp": {
  10285. "type": "object",
  10286. "properties": {
  10287. "goodses": {
  10288. "description": "合约列表",
  10289. "type": "array",
  10290. "items": {
  10291. "$ref": "#/definitions/models.GoodsIDAndName"
  10292. }
  10293. },
  10294. "oppositeusers": {
  10295. "description": "对方账号列表",
  10296. "type": "array",
  10297. "items": {
  10298. "$ref": "#/definitions/erms3.CustomerInfo"
  10299. }
  10300. },
  10301. "ouruser": {
  10302. "description": "我方账号",
  10303. "type": "object",
  10304. "$ref": "#/definitions/erms3.CustomerInfo"
  10305. },
  10306. "warehouseinfos": {
  10307. "description": "仓库信息列表",
  10308. "type": "array",
  10309. "items": {
  10310. "$ref": "#/definitions/models.Warehouseinfo"
  10311. }
  10312. },
  10313. "wrstandards": {
  10314. "description": "仓单标准列表",
  10315. "type": "array",
  10316. "items": {
  10317. "$ref": "#/definitions/models.WRStandardInfo"
  10318. }
  10319. }
  10320. }
  10321. },
  10322. "erms3.QuerySpotContractInfoRsp": {
  10323. "type": "object",
  10324. "properties": {
  10325. "accountid": {
  10326. "description": "表示交易员ID.",
  10327. "type": "integer"
  10328. },
  10329. "curdeliveryqty": {
  10330. "description": "表示未交收量.",
  10331. "type": "number"
  10332. },
  10333. "customername": {
  10334. "description": "若合同类型为采购合同,表示采购方ID;若合同类型为销售合同,表示销售方ID.",
  10335. "type": "string"
  10336. },
  10337. "deliverygoodsid": {
  10338. "description": "表示品种ID.",
  10339. "type": "string"
  10340. },
  10341. "deliveryqty": {
  10342. "description": "表示交收量.",
  10343. "type": "number"
  10344. },
  10345. "matchaccountid": {
  10346. "description": "表示业务员ID.",
  10347. "type": "integer"
  10348. },
  10349. "matchcustomername": {
  10350. "description": "若合同类型为采购合同,表示销售方;若合同类型为销售合同,表示采购方ID.",
  10351. "type": "string"
  10352. },
  10353. "priceqty": {
  10354. "description": "表示定价量.",
  10355. "type": "number"
  10356. },
  10357. "relatedbizid": {
  10358. "description": "表示业务ID.",
  10359. "type": "string"
  10360. },
  10361. "signdate": {
  10362. "description": "表示签订日期.",
  10363. "type": "string"
  10364. },
  10365. "spotcontractid": {
  10366. "description": "合同ID",
  10367. "type": "string"
  10368. },
  10369. "status": {
  10370. "description": "表示状态,0-履约中 1-已完成.",
  10371. "type": "integer"
  10372. },
  10373. "totalqty": {
  10374. "description": "表示合同量.",
  10375. "type": "number"
  10376. },
  10377. "unpricedqty": {
  10378. "description": "表示未定价量.",
  10379. "type": "number"
  10380. },
  10381. "wrstandardname": {
  10382. "description": "表示商品ID.",
  10383. "type": "string"
  10384. }
  10385. }
  10386. },
  10387. "erms3.QueryUserInfoAppliesRsp": {
  10388. "type": "object",
  10389. "required": [
  10390. "userid"
  10391. ],
  10392. "properties": {
  10393. "biznature": {
  10394. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  10395. "type": "integer"
  10396. },
  10397. "contactname": {
  10398. "description": "联系人",
  10399. "type": "string"
  10400. },
  10401. "createtime": {
  10402. "description": "开户申请时间",
  10403. "type": "string"
  10404. },
  10405. "userid": {
  10406. "description": "用户ID(自增ID)",
  10407. "type": "integer"
  10408. },
  10409. "userinfotype": {
  10410. "description": "用户信息类型 - 1:个人 2:企业",
  10411. "type": "integer"
  10412. },
  10413. "username": {
  10414. "description": "用户姓名",
  10415. "type": "string"
  10416. },
  10417. "userstate": {
  10418. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  10419. "type": "integer"
  10420. }
  10421. }
  10422. },
  10423. "erms3.QueryUserInfosRsp": {
  10424. "type": "object",
  10425. "required": [
  10426. "userid"
  10427. ],
  10428. "properties": {
  10429. "biznature": {
  10430. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  10431. "type": "integer"
  10432. },
  10433. "contactname": {
  10434. "description": "联系人",
  10435. "type": "string"
  10436. },
  10437. "customername": {
  10438. "description": "客户名称(企业名称)",
  10439. "type": "string"
  10440. },
  10441. "userid": {
  10442. "description": "用户ID",
  10443. "type": "integer"
  10444. },
  10445. "userinfotype": {
  10446. "description": "用户信息类型 - 1:个人 2:企业",
  10447. "type": "integer"
  10448. },
  10449. "userstatus": {
  10450. "description": "用户状态 - 1:正常 2:注销",
  10451. "type": "integer"
  10452. }
  10453. }
  10454. },
  10455. "erms3.SoptContractDetail": {
  10456. "type": "object",
  10457. "required": [
  10458. "deliverygoodsid",
  10459. "producttype",
  10460. "unitname",
  10461. "warehouseid",
  10462. "wrstandardid",
  10463. "wrstandardname"
  10464. ],
  10465. "properties": {
  10466. "deliverygoodsdesc": {
  10467. "description": "现货品种说明",
  10468. "type": "string"
  10469. },
  10470. "deliverygoodsid": {
  10471. "description": "现货品种ID",
  10472. "type": "integer"
  10473. },
  10474. "deliverygoodsname": {
  10475. "description": "现货品种名称",
  10476. "type": "string"
  10477. },
  10478. "pointdesc": {
  10479. "description": "点价描述",
  10480. "type": "string"
  10481. },
  10482. "producttype": {
  10483. "description": "产品类型 1:标准仓单 2:等标 3:非标",
  10484. "type": "integer"
  10485. },
  10486. "producttypename": {
  10487. "description": "产品类型名称",
  10488. "type": "string"
  10489. },
  10490. "spotPointOrderVoList": {
  10491. "description": "点价列表",
  10492. "type": "array",
  10493. "items": {
  10494. "$ref": "#/definitions/erms3.SpotPointOrder"
  10495. }
  10496. },
  10497. "spotPriceOrderList": {
  10498. "description": "定价列表",
  10499. "type": "array",
  10500. "items": {
  10501. "$ref": "#/definitions/erms3.SpotPriceOrder"
  10502. }
  10503. },
  10504. "unitname": {
  10505. "description": "单位名称",
  10506. "type": "string"
  10507. },
  10508. "warehouseid": {
  10509. "description": "仓库ID",
  10510. "type": "integer"
  10511. },
  10512. "warehousename": {
  10513. "description": "仓库名称",
  10514. "type": "string"
  10515. },
  10516. "wrstandardid": {
  10517. "description": "交易标的ID",
  10518. "type": "integer"
  10519. },
  10520. "wrstandardname": {
  10521. "description": "交易标的名称",
  10522. "type": "string"
  10523. }
  10524. }
  10525. },
  10526. "erms3.SpotPointOrder": {
  10527. "type": "object",
  10528. "required": [
  10529. "basic",
  10530. "goodsid",
  10531. "qty"
  10532. ],
  10533. "properties": {
  10534. "basic": {
  10535. "description": "基差",
  10536. "type": "number"
  10537. },
  10538. "deliveryenddate": {
  10539. "description": "交收结束日期",
  10540. "type": "string"
  10541. },
  10542. "deliverystartdate": {
  10543. "description": "交收开始日期",
  10544. "type": "string"
  10545. },
  10546. "enddate": {
  10547. "description": "点价结束日期",
  10548. "type": "string"
  10549. },
  10550. "goodsid": {
  10551. "description": "商品ID",
  10552. "type": "integer"
  10553. },
  10554. "goodsname": {
  10555. "description": "商品名称",
  10556. "type": "string"
  10557. },
  10558. "qty": {
  10559. "description": "数量",
  10560. "type": "number"
  10561. },
  10562. "startdate": {
  10563. "description": "点价开始日期",
  10564. "type": "string"
  10565. }
  10566. }
  10567. },
  10568. "erms3.SpotPriceOrder": {
  10569. "type": "object",
  10570. "required": [
  10571. "amount",
  10572. "price",
  10573. "qty"
  10574. ],
  10575. "properties": {
  10576. "amount": {
  10577. "description": "金额",
  10578. "type": "number"
  10579. },
  10580. "deliveryenddate": {
  10581. "description": "交收结束日期",
  10582. "type": "string"
  10583. },
  10584. "deliverystartdate": {
  10585. "description": "交收开始日期",
  10586. "type": "string"
  10587. },
  10588. "price": {
  10589. "description": "价格",
  10590. "type": "number"
  10591. },
  10592. "qty": {
  10593. "description": "数量",
  10594. "type": "number"
  10595. }
  10596. }
  10597. },
  10598. "hsby.GetHsbyMyCountRsp": {
  10599. "type": "object",
  10600. "properties": {
  10601. "myCouponCount": {
  10602. "description": "我的优惠卷数量",
  10603. "type": "integer"
  10604. },
  10605. "myOrderDetailListingCount": {
  10606. "description": "我的订单求购中数量",
  10607. "type": "integer"
  10608. },
  10609. "myOrderDetailPreCount": {
  10610. "description": "我的订单抢购中数量",
  10611. "type": "integer"
  10612. },
  10613. "myPackageUnReceiveCount": {
  10614. "description": "我的包裹待收货数量",
  10615. "type": "integer"
  10616. },
  10617. "myPackageUnSendCount": {
  10618. "description": "我的包裹待发货数量",
  10619. "type": "integer"
  10620. },
  10621. "myPayOrderCount": {
  10622. "description": "我的订单待付款数量",
  10623. "type": "integer"
  10624. }
  10625. }
  10626. },
  10627. "hsby.QueryProvincesAndCitiesRsp": {
  10628. "type": "object",
  10629. "properties": {
  10630. "cities": {
  10631. "description": "市",
  10632. "type": "array",
  10633. "items": {
  10634. "$ref": "#/definitions/models.Division"
  10635. }
  10636. },
  10637. "province": {
  10638. "description": "省",
  10639. "type": "object",
  10640. "$ref": "#/definitions/models.Division"
  10641. }
  10642. }
  10643. },
  10644. "models.AreaSpotModel": {
  10645. "type": "object",
  10646. "properties": {
  10647. "areauserid": {
  10648. "description": "所属机构",
  10649. "type": "integer"
  10650. },
  10651. "decreaseqty": {
  10652. "description": "减少数量=-(销售已定价数量+采购计划数量)",
  10653. "type": "number"
  10654. },
  10655. "increaseqty": {
  10656. "description": "增加数量=销售计划数量+采购已定价数量",
  10657. "type": "number"
  10658. },
  10659. "oritoalspotqty": {
  10660. "description": "昨日数量",
  10661. "type": "number"
  10662. },
  10663. "totalspotqty": {
  10664. "description": "当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)",
  10665. "type": "number"
  10666. },
  10667. "updatetime": {
  10668. "description": "更新时间",
  10669. "type": "string"
  10670. },
  10671. "wrstandardcode": {
  10672. "description": "现货品种代码",
  10673. "type": "string"
  10674. },
  10675. "wrstandardid": {
  10676. "description": "现货商品ID",
  10677. "type": "integer"
  10678. },
  10679. "wrstandardname": {
  10680. "description": "现货品种",
  10681. "type": "string"
  10682. }
  10683. }
  10684. },
  10685. "models.Clientfixedadconfig": {
  10686. "type": "object",
  10687. "required": [
  10688. "adsort",
  10689. "adtype"
  10690. ],
  10691. "properties": {
  10692. "adsort": {
  10693. "description": "排序",
  10694. "type": "integer"
  10695. },
  10696. "adtype": {
  10697. "description": "广告位类型 - 1:新品抢购(HSBY)",
  10698. "type": "integer"
  10699. },
  10700. "areauserid": {
  10701. "description": "所属机构ID",
  10702. "type": "integer"
  10703. },
  10704. "createdate": {
  10705. "description": "创建时间",
  10706. "type": "string"
  10707. },
  10708. "creatorid": {
  10709. "description": "创建人",
  10710. "type": "integer"
  10711. },
  10712. "imagepath": {
  10713. "description": "图片",
  10714. "type": "string"
  10715. },
  10716. "isshow": {
  10717. "description": "是否展示 - 0:不展示 1:展示",
  10718. "type": "integer"
  10719. },
  10720. "modifierid": {
  10721. "description": "操作人",
  10722. "type": "integer"
  10723. },
  10724. "recsize": {
  10725. "description": "推荐尺寸",
  10726. "type": "string"
  10727. },
  10728. "title": {
  10729. "description": "标题",
  10730. "type": "string"
  10731. },
  10732. "updatedate": {
  10733. "description": "更新时间",
  10734. "type": "string"
  10735. },
  10736. "urlcontent": {
  10737. "description": "链接(地址或商品ID)",
  10738. "type": "string"
  10739. },
  10740. "urltype": {
  10741. "description": "链接类型 - 1:直接地址 2:商品ID",
  10742. "type": "integer"
  10743. }
  10744. }
  10745. },
  10746. "models.Division": {
  10747. "type": "object",
  10748. "required": [
  10749. "autoid",
  10750. "divisioncode"
  10751. ],
  10752. "properties": {
  10753. "autoid": {
  10754. "description": "自增ID",
  10755. "type": "integer"
  10756. },
  10757. "divisioncode": {
  10758. "description": "行政代码",
  10759. "type": "string"
  10760. },
  10761. "divisionlevel": {
  10762. "description": "行政级别",
  10763. "type": "string"
  10764. },
  10765. "divisionname": {
  10766. "description": "行政名称",
  10767. "type": "string"
  10768. },
  10769. "modifierid": {
  10770. "description": "修改人",
  10771. "type": "integer"
  10772. },
  10773. "modifytime": {
  10774. "description": "修改时间",
  10775. "type": "string"
  10776. },
  10777. "parentcode": {
  10778. "description": "上级行政代码",
  10779. "type": "string"
  10780. },
  10781. "pathname": {
  10782. "description": "路径名称",
  10783. "type": "string"
  10784. },
  10785. "postcode": {
  10786. "description": "邮政编码",
  10787. "type": "string"
  10788. },
  10789. "separablename": {
  10790. "description": "可拆分的全称",
  10791. "type": "string"
  10792. },
  10793. "shortcode": {
  10794. "description": "地区简码",
  10795. "type": "string"
  10796. }
  10797. }
  10798. },
  10799. "models.Enumdicitem": {
  10800. "type": "object",
  10801. "required": [
  10802. "autoid",
  10803. "enumdiccode",
  10804. "enumdicid",
  10805. "enumitemname"
  10806. ],
  10807. "properties": {
  10808. "autoid": {
  10809. "description": "自增ID",
  10810. "type": "integer"
  10811. },
  10812. "bankmappedvalue": {
  10813. "description": "银行服务对应值",
  10814. "type": "string"
  10815. },
  10816. "enumdiccode": {
  10817. "description": "所属枚举代码",
  10818. "type": "string"
  10819. },
  10820. "enumdicid": {
  10821. "description": "所属枚举ID",
  10822. "type": "integer"
  10823. },
  10824. "enumdicname": {
  10825. "description": "枚举项名称",
  10826. "type": "string"
  10827. },
  10828. "enumitemname": {
  10829. "description": "枚举项值",
  10830. "type": "integer"
  10831. },
  10832. "enumitemstatus": {
  10833. "description": "枚举项状态 - 1.启用 2.不启用",
  10834. "type": "integer"
  10835. },
  10836. "enumitemvalue": {
  10837. "description": "通用值 - [币种通用简写]",
  10838. "type": "string"
  10839. },
  10840. "param1": {
  10841. "description": "参数1[币种:币种小数位]",
  10842. "type": "string"
  10843. },
  10844. "param2": {
  10845. "description": "参数1[币种:币种显示单位]",
  10846. "type": "string"
  10847. },
  10848. "remark": {
  10849. "description": "备注",
  10850. "type": "string"
  10851. }
  10852. }
  10853. },
  10854. "models.ErmcpAreaSpotDetailModel": {
  10855. "type": "object",
  10856. "properties": {
  10857. "contracttype": {
  10858. "description": "合同类型 1-采购 -1-销售",
  10859. "type": "integer"
  10860. },
  10861. "createtime": {
  10862. "description": "创建时间",
  10863. "type": "string"
  10864. },
  10865. "enumdicname": {
  10866. "description": "现货商品单位名称",
  10867. "type": "string"
  10868. },
  10869. "logtype": {
  10870. "description": "记录类型 1-套保 2-现货合同",
  10871. "type": "integer"
  10872. },
  10873. "qty": {
  10874. "description": "数量",
  10875. "type": "number"
  10876. },
  10877. "recordname": {
  10878. "description": "类型名称",
  10879. "type": "string"
  10880. },
  10881. "relatedid": {
  10882. "description": "套保计划ID/现货合同ID",
  10883. "type": "string"
  10884. },
  10885. "relatedno": {
  10886. "description": "编号",
  10887. "type": "string"
  10888. },
  10889. "strtime": {
  10890. "description": "时间",
  10891. "type": "string"
  10892. },
  10893. "wrstandardcode": {
  10894. "description": "现货商品代码",
  10895. "type": "string"
  10896. },
  10897. "wrstandardname": {
  10898. "description": "现货商品名称",
  10899. "type": "string"
  10900. }
  10901. }
  10902. },
  10903. "models.ErmcpAreaStock": {
  10904. "type": "object",
  10905. "properties": {
  10906. "brandname": {
  10907. "description": "品牌名称",
  10908. "type": "string"
  10909. },
  10910. "curstock": {
  10911. "description": "期末库存量(今日量)",
  10912. "type": "number"
  10913. },
  10914. "deliverygoodsid": {
  10915. "description": "现货品种ID",
  10916. "type": "integer"
  10917. },
  10918. "enumdicname": {
  10919. "description": "单位名称",
  10920. "type": "string"
  10921. },
  10922. "modelname": {
  10923. "description": "型号名称",
  10924. "type": "string"
  10925. },
  10926. "oristock": {
  10927. "description": "期初库存量(昨日量)",
  10928. "type": "number"
  10929. },
  10930. "spotgoodsbrandid": {
  10931. "description": "现货品牌ID",
  10932. "type": "integer"
  10933. },
  10934. "spotgoodsmodelid": {
  10935. "description": "现货型号ID",
  10936. "type": "integer"
  10937. },
  10938. "todaybuyinqty": {
  10939. "description": "今日采购入库量",
  10940. "type": "number"
  10941. },
  10942. "todayproduceinqty": {
  10943. "description": "今日生产入库量",
  10944. "type": "number"
  10945. },
  10946. "todayproduceoutqty": {
  10947. "description": "今日生产出库量",
  10948. "type": "number"
  10949. },
  10950. "todayselloutqty": {
  10951. "description": "今日销售出库量",
  10952. "type": "number"
  10953. },
  10954. "unitid": {
  10955. "description": "单位id",
  10956. "type": "integer"
  10957. },
  10958. "updatetime": {
  10959. "description": "更新时间",
  10960. "type": "string"
  10961. },
  10962. "userid": {
  10963. "description": "机构ID",
  10964. "type": "integer"
  10965. },
  10966. "username": {
  10967. "description": "机构名称",
  10968. "type": "string"
  10969. },
  10970. "warehousecode": {
  10971. "description": "仓库代码",
  10972. "type": "string"
  10973. },
  10974. "warehouseinfoid": {
  10975. "description": "仓库ID",
  10976. "type": "string"
  10977. },
  10978. "warehousename": {
  10979. "description": "仓库名称",
  10980. "type": "string"
  10981. },
  10982. "warehousetype": {
  10983. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  10984. "type": "integer"
  10985. },
  10986. "wrstandardcode": {
  10987. "description": "现货商品代码",
  10988. "type": "string"
  10989. },
  10990. "wrstandardid": {
  10991. "description": "现货商品ID",
  10992. "type": "string"
  10993. },
  10994. "wrstandardname": {
  10995. "description": "现货商品名称",
  10996. "type": "string"
  10997. }
  10998. }
  10999. },
  11000. "models.ErmcpAreaStockApply": {
  11001. "type": "object",
  11002. "properties": {
  11003. "applyid": {
  11004. "description": "申请人",
  11005. "type": "integer"
  11006. },
  11007. "applyname": {
  11008. "description": "申请人名称",
  11009. "type": "string"
  11010. },
  11011. "applyremark": {
  11012. "description": "申请备注",
  11013. "type": "string"
  11014. },
  11015. "applysrc": {
  11016. "description": "申请来源 - 1:管理端 2:终端",
  11017. "type": "integer"
  11018. },
  11019. "applystatus": {
  11020. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  11021. "type": "integer"
  11022. },
  11023. "applytime": {
  11024. "description": "申请时间",
  11025. "type": "string"
  11026. },
  11027. "auditid": {
  11028. "description": "审核人",
  11029. "type": "integer"
  11030. },
  11031. "auditname": {
  11032. "description": "审核人名称",
  11033. "type": "string"
  11034. },
  11035. "auditremark": {
  11036. "description": "审核备注",
  11037. "type": "string"
  11038. },
  11039. "auditsrc": {
  11040. "description": "审核来源 - 1:管理端 2:终端",
  11041. "type": "integer"
  11042. },
  11043. "audittime": {
  11044. "description": "审核时间",
  11045. "type": "string"
  11046. },
  11047. "audittradedate": {
  11048. "description": "审核交易日(yyyyMMdd)",
  11049. "type": "string"
  11050. },
  11051. "brandname": {
  11052. "description": "品牌名称",
  11053. "type": "string"
  11054. },
  11055. "buyuserid": {
  11056. "description": "采购方userid",
  11057. "type": "integer"
  11058. },
  11059. "buyusername": {
  11060. "description": "采购方名称",
  11061. "type": "string"
  11062. },
  11063. "contractno": {
  11064. "description": "合同编号",
  11065. "type": "string"
  11066. },
  11067. "contractqty": {
  11068. "description": "合同量",
  11069. "type": "number"
  11070. },
  11071. "contracttype": {
  11072. "description": "现货合同类型 - 1:采购 -1:销售",
  11073. "type": "integer"
  11074. },
  11075. "deliverygoodsid": {
  11076. "description": "现货品种ID",
  11077. "type": "integer"
  11078. },
  11079. "enumdicname": {
  11080. "description": "现货商品单位名称",
  11081. "type": "string"
  11082. },
  11083. "inoutapplyid": {
  11084. "description": "申请ID(607+Unix秒时间戳(10位)+xxxxxx)",
  11085. "type": "string"
  11086. },
  11087. "inouttype": {
  11088. "description": "出入库类型 - 1:采购入库 2:销售出库 3:生产入库 4:生产出库",
  11089. "type": "integer"
  11090. },
  11091. "modelname": {
  11092. "description": "型号名称",
  11093. "type": "string"
  11094. },
  11095. "pricetype": {
  11096. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  11097. "type": "integer"
  11098. },
  11099. "qty": {
  11100. "description": "数量",
  11101. "type": "number"
  11102. },
  11103. "selluserid": {
  11104. "description": "销售方userid",
  11105. "type": "integer"
  11106. },
  11107. "sellusername": {
  11108. "description": "销售方名称",
  11109. "type": "string"
  11110. },
  11111. "spotcontractid": {
  11112. "description": "关联现货合同ID",
  11113. "type": "string"
  11114. },
  11115. "spotgoodsbrandid": {
  11116. "description": "现货品牌ID",
  11117. "type": "integer"
  11118. },
  11119. "spotgoodsmodelid": {
  11120. "description": "现货型号ID",
  11121. "type": "integer"
  11122. },
  11123. "unitid": {
  11124. "description": "单位id",
  11125. "type": "integer"
  11126. },
  11127. "userid": {
  11128. "description": "机构ID",
  11129. "type": "integer"
  11130. },
  11131. "warehousecode": {
  11132. "description": "仓库代码",
  11133. "type": "string"
  11134. },
  11135. "warehouseinfoid": {
  11136. "description": "现货仓库ID",
  11137. "type": "string"
  11138. },
  11139. "warehousename": {
  11140. "description": "仓库名称",
  11141. "type": "string"
  11142. },
  11143. "warehousetype": {
  11144. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  11145. "type": "integer"
  11146. },
  11147. "wrstandardcode": {
  11148. "description": "现货商品代码",
  11149. "type": "string"
  11150. },
  11151. "wrstandardid": {
  11152. "description": "现货商品ID",
  11153. "type": "string"
  11154. },
  11155. "wrstandardname": {
  11156. "description": "现货商品名称",
  11157. "type": "string"
  11158. }
  11159. }
  11160. },
  11161. "models.ErmcpAreaStockApplySum": {
  11162. "type": "object",
  11163. "properties": {
  11164. "brandname": {
  11165. "description": "品牌名称",
  11166. "type": "string"
  11167. },
  11168. "inouttype": {
  11169. "description": "出入库类型 - 1:采购入库 2:销售出库 3:生产入库 4:生产出库",
  11170. "type": "integer"
  11171. },
  11172. "modelname": {
  11173. "description": "型号名称",
  11174. "type": "string"
  11175. },
  11176. "spotcontractid": {
  11177. "description": "关联现货合同ID",
  11178. "type": "string"
  11179. },
  11180. "spotgoodsbrandid": {
  11181. "description": "品牌id",
  11182. "type": "integer"
  11183. },
  11184. "spotgoodsmodelid": {
  11185. "description": "型号id",
  11186. "type": "integer"
  11187. },
  11188. "totalqty": {
  11189. "description": "总数量",
  11190. "type": "number"
  11191. }
  11192. }
  11193. },
  11194. "models.ErmcpAreaStockReport": {
  11195. "type": "object",
  11196. "properties": {
  11197. "brandname": {
  11198. "description": "品牌名称",
  11199. "type": "string"
  11200. },
  11201. "curstock": {
  11202. "description": "期末库存量",
  11203. "type": "number"
  11204. },
  11205. "deliverygoodsid": {
  11206. "description": "现货品种ID",
  11207. "type": "integer"
  11208. },
  11209. "enumdicname": {
  11210. "description": "单位名称",
  11211. "type": "string"
  11212. },
  11213. "modelname": {
  11214. "description": "型号名称",
  11215. "type": "string"
  11216. },
  11217. "oristock": {
  11218. "description": "期初库存量",
  11219. "type": "number"
  11220. },
  11221. "spotgoodsbrandid": {
  11222. "description": "现货品牌ID",
  11223. "type": "integer"
  11224. },
  11225. "spotgoodsmodelid": {
  11226. "description": "现货型号ID",
  11227. "type": "integer"
  11228. },
  11229. "todaybuyinqty": {
  11230. "description": "今日采购入库量",
  11231. "type": "number"
  11232. },
  11233. "todayproduceinqty": {
  11234. "description": "今日生产入库量",
  11235. "type": "number"
  11236. },
  11237. "todayproduceoutqty": {
  11238. "description": "今日生产出库量",
  11239. "type": "number"
  11240. },
  11241. "todayselloutqty": {
  11242. "description": "今日销售出库量",
  11243. "type": "number"
  11244. },
  11245. "unitid": {
  11246. "description": "单位id",
  11247. "type": "integer"
  11248. },
  11249. "updatetime": {
  11250. "description": "更新时间",
  11251. "type": "string"
  11252. },
  11253. "userid": {
  11254. "description": "机构ID",
  11255. "type": "integer"
  11256. },
  11257. "username": {
  11258. "description": "机构名称",
  11259. "type": "string"
  11260. },
  11261. "warehousecode": {
  11262. "description": "仓库代码",
  11263. "type": "string"
  11264. },
  11265. "warehouseinfoid": {
  11266. "description": "仓库ID",
  11267. "type": "string"
  11268. },
  11269. "warehousename": {
  11270. "description": "仓库名称",
  11271. "type": "string"
  11272. },
  11273. "warehousetype": {
  11274. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  11275. "type": "integer"
  11276. },
  11277. "wrstandardcode": {
  11278. "description": "现货商品代码",
  11279. "type": "string"
  11280. },
  11281. "wrstandardid": {
  11282. "description": "现货商品ID",
  11283. "type": "string"
  11284. },
  11285. "wrstandardname": {
  11286. "description": "现货商品名称",
  11287. "type": "string"
  11288. }
  11289. }
  11290. },
  11291. "models.ErmcpAvalidGoodsGroupModel": {
  11292. "type": "object",
  11293. "properties": {
  11294. "goodsgroupid": {
  11295. "description": "期货品种id",
  11296. "type": "integer"
  11297. },
  11298. "goodsgroupname": {
  11299. "description": "期货品种名称",
  11300. "type": "string"
  11301. },
  11302. "goodunitid": {
  11303. "description": "品种单位id",
  11304. "type": "integer"
  11305. },
  11306. "goodunitname": {
  11307. "description": "品种单位名称",
  11308. "type": "string"
  11309. },
  11310. "outergroupcode": {
  11311. "description": "期货品种代码",
  11312. "type": "string"
  11313. }
  11314. }
  11315. },
  11316. "models.ErmcpExposureDetailModel": {
  11317. "type": "object",
  11318. "properties": {
  11319. "areauserid": {
  11320. "description": "机构ID",
  11321. "type": "integer"
  11322. },
  11323. "changeQty": {
  11324. "description": "套保变动量",
  11325. "type": "number"
  11326. },
  11327. "contracttype": {
  11328. "description": "现货合同类型 - 1:采购 -1:销售",
  11329. "type": "integer"
  11330. },
  11331. "convertfactor": {
  11332. "description": "标仓系数",
  11333. "type": "number"
  11334. },
  11335. "convertratio": {
  11336. "description": "套保系数",
  11337. "type": "number"
  11338. },
  11339. "createtime": {
  11340. "description": "时间",
  11341. "type": "string"
  11342. },
  11343. "enumdicname": {
  11344. "description": "现货商品单位名称",
  11345. "type": "string"
  11346. },
  11347. "logtype": {
  11348. "description": "类型 - 1:套保计划 2:现货合同",
  11349. "type": "integer"
  11350. },
  11351. "middlegoodsId": {
  11352. "description": "套保商品id",
  11353. "type": "integer"
  11354. },
  11355. "middlegoodscode": {
  11356. "description": "套保商品代码",
  11357. "type": "string"
  11358. },
  11359. "middlegoodsname": {
  11360. "description": "套保商品名称",
  11361. "type": "string"
  11362. },
  11363. "qty": {
  11364. "description": "数量",
  11365. "type": "number"
  11366. },
  11367. "relateNo": {
  11368. "description": "现货合同/套保计划编号",
  11369. "type": "string"
  11370. },
  11371. "wrstandardcode": {
  11372. "description": "现货商品代码",
  11373. "type": "string"
  11374. },
  11375. "wrstandardid": {
  11376. "description": "现货商品ID",
  11377. "type": "integer"
  11378. },
  11379. "wrstandardname": {
  11380. "description": "现货商品名称",
  11381. "type": "string"
  11382. }
  11383. }
  11384. },
  11385. "models.ErmcpExposurePostion": {
  11386. "type": "object",
  11387. "properties": {
  11388. "agreeunit": {
  11389. "description": "合约单位",
  11390. "type": "string"
  11391. },
  11392. "areauserid": {
  11393. "description": "所属机构id",
  11394. "type": "integer"
  11395. },
  11396. "convertratio": {
  11397. "description": "期货品种系数(折算系数)",
  11398. "type": "number"
  11399. },
  11400. "curqty": {
  11401. "description": "当前持仓",
  11402. "type": "integer"
  11403. },
  11404. "diffhedgeqty": {
  11405. "description": "套保品种变动量=持仓变动量*期货合约单位*期货品种系数",
  11406. "type": "number"
  11407. },
  11408. "diffqty": {
  11409. "description": "持仓变动量=当前持仓-昨日持仓",
  11410. "type": "integer"
  11411. },
  11412. "goodscode": {
  11413. "description": "商品代码",
  11414. "type": "string"
  11415. },
  11416. "goodsid": {
  11417. "description": "商品id",
  11418. "type": "integer"
  11419. },
  11420. "goodsname": {
  11421. "description": "商品名称",
  11422. "type": "string"
  11423. },
  11424. "middlegoodsid": {
  11425. "description": "套保商品id",
  11426. "type": "integer"
  11427. },
  11428. "ydqty": {
  11429. "description": "昨日持仓",
  11430. "type": "integer"
  11431. }
  11432. }
  11433. },
  11434. "models.ErmcpGGConvertCfg": {
  11435. "type": "object",
  11436. "properties": {
  11437. "convertratio": {
  11438. "description": "折算系数",
  11439. "type": "number"
  11440. },
  11441. "destgoodsgroupid": {
  11442. "description": "目标品种ID",
  11443. "type": "integer"
  11444. },
  11445. "dstcode": {
  11446. "description": "目录品种代码",
  11447. "type": "string"
  11448. },
  11449. "dstexchangecode": {
  11450. "description": "目标期货交易所",
  11451. "type": "string"
  11452. },
  11453. "dstname": {
  11454. "description": "目标品种名称",
  11455. "type": "string"
  11456. },
  11457. "dstunitid": {
  11458. "description": "目标品种单位ID",
  11459. "type": "integer"
  11460. },
  11461. "dstunitidname": {
  11462. "description": "目标品种单位名称",
  11463. "type": "string"
  11464. },
  11465. "modifytime": {
  11466. "description": "修改时间",
  11467. "type": "string"
  11468. },
  11469. "srccode": {
  11470. "description": "源品种代码",
  11471. "type": "string"
  11472. },
  11473. "srcexchangecode": {
  11474. "description": "源期货交易所",
  11475. "type": "string"
  11476. },
  11477. "srcgoodsgroupid": {
  11478. "description": "源品种ID",
  11479. "type": "integer"
  11480. },
  11481. "srcname": {
  11482. "description": "源品种名称",
  11483. "type": "string"
  11484. },
  11485. "srcunitid": {
  11486. "description": "源品种单位ID",
  11487. "type": "integer"
  11488. },
  11489. "srcunitidname": {
  11490. "description": "源品种单位名称",
  11491. "type": "string"
  11492. }
  11493. }
  11494. },
  11495. "models.ErmcpHedgePlan": {
  11496. "type": "object",
  11497. "properties": {
  11498. "areauserid": {
  11499. "description": "用户ID",
  11500. "type": "integer"
  11501. },
  11502. "audittime": {
  11503. "description": "审核时间",
  11504. "type": "string"
  11505. },
  11506. "contracttype": {
  11507. "description": "计划类型 - 1:采购 -1:销售",
  11508. "type": "integer"
  11509. },
  11510. "convertfactor": {
  11511. "description": "标仓系数",
  11512. "type": "number"
  11513. },
  11514. "createtime": {
  11515. "description": "创建时间",
  11516. "type": "string"
  11517. },
  11518. "deliverygoodsid": {
  11519. "description": "现货品种ID",
  11520. "type": "integer"
  11521. },
  11522. "deliverygoodsname": {
  11523. "description": "现货品种名称",
  11524. "type": "string"
  11525. },
  11526. "enumdicname": {
  11527. "description": "单位名称",
  11528. "type": "string"
  11529. },
  11530. "hedgeplanid": {
  11531. "description": "套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)",
  11532. "type": "string"
  11533. },
  11534. "hedgeplanno": {
  11535. "description": "套保计划编号(名称)",
  11536. "type": "string"
  11537. },
  11538. "hedgeplanstatus": {
  11539. "description": "套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  11540. "type": "integer"
  11541. },
  11542. "planqty": {
  11543. "description": "计划数量",
  11544. "type": "number"
  11545. },
  11546. "plantime": {
  11547. "description": "计划时间",
  11548. "type": "string"
  11549. },
  11550. "producttype": {
  11551. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  11552. "type": "integer"
  11553. },
  11554. "remark": {
  11555. "description": "备注",
  11556. "type": "string"
  11557. },
  11558. "spotgoodsdesc": {
  11559. "description": "商品型号",
  11560. "type": "string"
  11561. },
  11562. "unitid": {
  11563. "description": "单位id",
  11564. "type": "integer"
  11565. },
  11566. "updatetime": {
  11567. "description": "更新时间",
  11568. "type": "string"
  11569. },
  11570. "wrstandardid": {
  11571. "description": "现货商品ID",
  11572. "type": "integer"
  11573. },
  11574. "wrstandardname": {
  11575. "description": "现货商品名称",
  11576. "type": "string"
  11577. }
  11578. }
  11579. },
  11580. "models.ErmcpHedgePosition": {
  11581. "type": "object",
  11582. "properties": {
  11583. "accountid": {
  11584. "description": "资金账号[外部母账户]",
  11585. "type": "integer"
  11586. },
  11587. "curbuyposition": {
  11588. "description": "期末买头寸",
  11589. "type": "integer"
  11590. },
  11591. "cursellposition": {
  11592. "description": "期末卖头寸",
  11593. "type": "integer"
  11594. },
  11595. "curtdbuyposition": {
  11596. "description": "期末今日买头寸",
  11597. "type": "integer"
  11598. },
  11599. "curtdsellposition": {
  11600. "description": "期末今日卖头寸",
  11601. "type": "integer"
  11602. },
  11603. "curydbuyposition": {
  11604. "description": "期末上日买头寸",
  11605. "type": "integer"
  11606. },
  11607. "curydsellposition": {
  11608. "description": "期末上日卖头寸",
  11609. "type": "integer"
  11610. },
  11611. "decreaseqty": {
  11612. "description": "减少数量 = (期末卖头寸 - 期初卖头寸)*-1",
  11613. "type": "integer"
  11614. },
  11615. "fretdbuyposition": {
  11616. "description": "冻结今日买头寸",
  11617. "type": "integer"
  11618. },
  11619. "fretdsellposition": {
  11620. "description": "冻结今日卖头寸",
  11621. "type": "integer"
  11622. },
  11623. "freydbuyposition": {
  11624. "description": "冻结上日买头寸",
  11625. "type": "integer"
  11626. },
  11627. "freydsellposition": {
  11628. "description": "冻结上日卖头寸",
  11629. "type": "integer"
  11630. },
  11631. "goodscode": {
  11632. "description": "商品代码",
  11633. "type": "string"
  11634. },
  11635. "goodsid": {
  11636. "description": "商品id",
  11637. "type": "integer"
  11638. },
  11639. "goodsname": {
  11640. "description": "商品名称",
  11641. "type": "string"
  11642. },
  11643. "hedgeaccountcode": {
  11644. "description": "对冲账号",
  11645. "type": "string"
  11646. },
  11647. "hedgegoodsid": {
  11648. "description": "对冲合约ID",
  11649. "type": "integer"
  11650. },
  11651. "increaseqty": {
  11652. "description": "增加数量 = 期末买头寸 - 期初买头寸",
  11653. "type": "integer"
  11654. },
  11655. "marketid": {
  11656. "description": "市场ID",
  11657. "type": "integer"
  11658. },
  11659. "relateduserid": {
  11660. "description": "关联用户id",
  11661. "type": "integer"
  11662. },
  11663. "totalcurqty": {
  11664. "description": "当前数量(净头寸) = 期末买头寸 - 期末卖头寸",
  11665. "type": "integer"
  11666. },
  11667. "totalydqty": {
  11668. "description": "昨日数量(净头寸) = 期初买头寸 - 期初卖头寸",
  11669. "type": "integer"
  11670. },
  11671. "tradedate": {
  11672. "description": "交易日(yyyyMMdd)",
  11673. "type": "string"
  11674. },
  11675. "ydbuyposition": {
  11676. "description": "期初买头寸",
  11677. "type": "integer"
  11678. },
  11679. "ydsellposition": {
  11680. "description": "期初卖头寸",
  11681. "type": "integer"
  11682. }
  11683. }
  11684. },
  11685. "models.ErmcpHedgePositionDetail": {
  11686. "type": "object",
  11687. "properties": {
  11688. "buyorsell": {
  11689. "description": "买卖方向 0-买 1-卖",
  11690. "type": "integer"
  11691. },
  11692. "channelbuildtype": {
  11693. "description": "开平方向 1-建仓 2-平仓",
  11694. "type": "integer"
  11695. },
  11696. "goodscode": {
  11697. "description": "商品代码",
  11698. "type": "string"
  11699. },
  11700. "goodsname": {
  11701. "description": "商品名称",
  11702. "type": "string"
  11703. },
  11704. "hedgegoodsid": {
  11705. "description": "商品id",
  11706. "type": "integer"
  11707. },
  11708. "tradeqty": {
  11709. "description": "数量(成交数量)",
  11710. "type": "integer"
  11711. },
  11712. "tradetime": {
  11713. "description": "时间(成交时间)",
  11714. "type": "string"
  11715. }
  11716. }
  11717. },
  11718. "models.ErmcpHisExposure": {
  11719. "type": "object",
  11720. "properties": {
  11721. "needhedgeexposoure": {
  11722. "description": "应套保敞口",
  11723. "type": "number"
  11724. },
  11725. "reckondate": {
  11726. "description": "日照时期(yyyyMMdd)",
  11727. "type": "string"
  11728. },
  11729. "totalexposure": {
  11730. "description": "总敞口",
  11731. "type": "number"
  11732. }
  11733. }
  11734. },
  11735. "models.ErmcpHisExposureS": {
  11736. "type": "object",
  11737. "properties": {
  11738. "data": {
  11739. "description": "历史敞口",
  11740. "type": "array",
  11741. "items": {
  11742. "$ref": "#/definitions/models.ErmcpHisExposure"
  11743. }
  11744. },
  11745. "enumdicname": {
  11746. "description": "单位名称",
  11747. "type": "string"
  11748. },
  11749. "middlegoodscode": {
  11750. "description": "套保品种代码",
  11751. "type": "string"
  11752. },
  11753. "middlegoodsid": {
  11754. "description": "套保品种ID",
  11755. "type": "integer"
  11756. },
  11757. "middlegoodsname": {
  11758. "description": "套保品种名称",
  11759. "type": "string"
  11760. }
  11761. }
  11762. },
  11763. "models.ErmcpMiddleGoodsChangeLog": {
  11764. "type": "object",
  11765. "properties": {
  11766. "aftervalue": {
  11767. "description": "变更后",
  11768. "type": "number"
  11769. },
  11770. "applyid": {
  11771. "description": "操作人",
  11772. "type": "integer"
  11773. },
  11774. "applyname": {
  11775. "description": "操作人名称",
  11776. "type": "string"
  11777. },
  11778. "applysrc": {
  11779. "description": "操作来源 - 1:管理端 2:终端",
  11780. "type": "integer"
  11781. },
  11782. "beforevalue": {
  11783. "description": "变更前",
  11784. "type": "number"
  11785. },
  11786. "changelogtype": {
  11787. "description": "变更流水类型 - 1:套保比率变更",
  11788. "type": "integer"
  11789. },
  11790. "handlestatus": {
  11791. "description": "处理状态",
  11792. "type": "integer"
  11793. },
  11794. "logdatetime": {
  11795. "description": "流水日期",
  11796. "type": "string"
  11797. },
  11798. "logid": {
  11799. "description": "流水ID",
  11800. "type": "integer"
  11801. },
  11802. "logremark": {
  11803. "description": "流水备注",
  11804. "type": "string"
  11805. },
  11806. "middlegoodsid": {
  11807. "description": "套保品种ID",
  11808. "type": "integer"
  11809. },
  11810. "tradedate": {
  11811. "description": "交易日(yyyyMMdd)",
  11812. "type": "string"
  11813. },
  11814. "updatetime": {
  11815. "description": "更新时间",
  11816. "type": "string"
  11817. }
  11818. }
  11819. },
  11820. "models.ErmcpMiddleGoodsDetail": {
  11821. "type": "object",
  11822. "properties": {
  11823. "cvList": {
  11824. "description": "期货品种折算列表",
  11825. "type": "array",
  11826. "items": {
  11827. "$ref": "#/definitions/models.GoodsGroupConvert"
  11828. }
  11829. },
  11830. "mg": {
  11831. "description": "套保品种基本信息",
  11832. "type": "object",
  11833. "$ref": "#/definitions/models.ErmcpMiddleGoodsModel"
  11834. }
  11835. }
  11836. },
  11837. "models.ErmcpMiddleGoodsModel": {
  11838. "type": "object",
  11839. "properties": {
  11840. "areauserid": {
  11841. "description": "机构用户ID",
  11842. "type": "integer"
  11843. },
  11844. "createtime": {
  11845. "description": "修改时间",
  11846. "type": "string"
  11847. },
  11848. "enumdicname": {
  11849. "description": "单位名称",
  11850. "type": "string"
  11851. },
  11852. "evaluateratio": {
  11853. "description": "估价系数",
  11854. "type": "number"
  11855. },
  11856. "goodsgroupid": {
  11857. "description": "关联期货品种ID",
  11858. "type": "integer"
  11859. },
  11860. "isvalid": {
  11861. "description": "状态 0-无效(停用) 1-有效(正常)",
  11862. "type": "integer"
  11863. },
  11864. "middlegoodscode": {
  11865. "description": "套保品种代码",
  11866. "type": "string"
  11867. },
  11868. "middlegoodsid": {
  11869. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  11870. "type": "integer"
  11871. },
  11872. "middlegoodsname": {
  11873. "description": "套保品种名称",
  11874. "type": "string"
  11875. },
  11876. "modifytime": {
  11877. "description": "修改时间",
  11878. "type": "string"
  11879. },
  11880. "needhedgeratio": {
  11881. "description": "套保比率",
  11882. "type": "number"
  11883. },
  11884. "qtydecimalplace": {
  11885. "description": "数量小数位",
  11886. "type": "integer"
  11887. },
  11888. "relatedgoodsid": {
  11889. "description": "关联交易商品ID",
  11890. "type": "integer"
  11891. },
  11892. "relatedgoodstype": {
  11893. "description": "关联商品类型 - 1:期货合约 2:现货品种",
  11894. "type": "integer"
  11895. }
  11896. }
  11897. },
  11898. "models.ErmcpModel": {
  11899. "type": "object",
  11900. "properties": {
  11901. "accountname": {
  11902. "description": "账户名称",
  11903. "type": "string"
  11904. },
  11905. "attachment": {
  11906. "description": "附件",
  11907. "type": "string"
  11908. },
  11909. "audittime": {
  11910. "description": "审核时间",
  11911. "type": "string"
  11912. },
  11913. "brandname": {
  11914. "description": "品牌名称",
  11915. "type": "string"
  11916. },
  11917. "contracctstatus": {
  11918. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  11919. "type": "integer"
  11920. },
  11921. "contractmargin": {
  11922. "description": "合同保证金",
  11923. "type": "number"
  11924. },
  11925. "contractno": {
  11926. "description": "合同编号",
  11927. "type": "string"
  11928. },
  11929. "contracttype": {
  11930. "description": "合同类型 1-采购, -1-销售",
  11931. "type": "integer"
  11932. },
  11933. "convertfactor": {
  11934. "description": "标仓系数",
  11935. "type": "number"
  11936. },
  11937. "createtime": {
  11938. "description": "创建时间",
  11939. "type": "string"
  11940. },
  11941. "daikaiamount": {
  11942. "description": "待开票额",
  11943. "type": "number"
  11944. },
  11945. "deliveryenddate": {
  11946. "description": "交割结束日",
  11947. "type": "string"
  11948. },
  11949. "deliverygoodscode": {
  11950. "description": "现货商品代码",
  11951. "type": "string"
  11952. },
  11953. "deliverygoodsid": {
  11954. "description": "现货商品ID",
  11955. "type": "integer"
  11956. },
  11957. "deliverygoodsname": {
  11958. "description": "现货商品名称",
  11959. "type": "string"
  11960. },
  11961. "deliverystartdate": {
  11962. "description": "交割开始日",
  11963. "type": "string"
  11964. },
  11965. "enddate": {
  11966. "description": "点价结束日",
  11967. "type": "string"
  11968. },
  11969. "enumdicname": {
  11970. "description": "单位名称",
  11971. "type": "string"
  11972. },
  11973. "goodscode": {
  11974. "description": "点价商品代码",
  11975. "type": "string"
  11976. },
  11977. "goodsid": {
  11978. "description": "点价商品ID",
  11979. "type": "integer"
  11980. },
  11981. "goodsname": {
  11982. "description": "点价商品名称",
  11983. "type": "string"
  11984. },
  11985. "invoiceamount": {
  11986. "description": "已开票额",
  11987. "type": "number"
  11988. },
  11989. "loanamount": {
  11990. "description": "贷款总额=已定价额+调整金额",
  11991. "type": "number"
  11992. },
  11993. "margin": {
  11994. "description": "保证金",
  11995. "type": "number"
  11996. },
  11997. "modelname": {
  11998. "description": "型号名称",
  11999. "type": "string"
  12000. },
  12001. "payamount": {
  12002. "description": "已收付额(收款或付款)",
  12003. "type": "number"
  12004. },
  12005. "price": {
  12006. "description": "价格",
  12007. "type": "number"
  12008. },
  12009. "pricedamount": {
  12010. "description": "已定价额",
  12011. "type": "number"
  12012. },
  12013. "pricedavg": {
  12014. "description": "已点均价",
  12015. "type": "number"
  12016. },
  12017. "pricedqty": {
  12018. "description": "已定价量",
  12019. "type": "number"
  12020. },
  12021. "pricemove": {
  12022. "description": "升贴水",
  12023. "type": "number"
  12024. },
  12025. "pricetype": {
  12026. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  12027. "type": "integer"
  12028. },
  12029. "producttype": {
  12030. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  12031. "type": "integer"
  12032. },
  12033. "qty": {
  12034. "description": "合同量",
  12035. "type": "number"
  12036. },
  12037. "reckonadjustamount": {
  12038. "description": "调整金额",
  12039. "type": "number"
  12040. },
  12041. "reckonedamount": {
  12042. "description": "已收付额(已确定额)",
  12043. "type": "number"
  12044. },
  12045. "reckonotheramount": {
  12046. "description": "其它费用",
  12047. "type": "number"
  12048. },
  12049. "reckonrealqty": {
  12050. "description": "已确定量",
  12051. "type": "number"
  12052. },
  12053. "remark": {
  12054. "description": "备注",
  12055. "type": "string"
  12056. },
  12057. "spotcontractid": {
  12058. "description": "合同ID",
  12059. "type": "string"
  12060. },
  12061. "spotgoodsbrandid": {
  12062. "description": "现货品牌ID",
  12063. "type": "integer"
  12064. },
  12065. "spotgoodsdesc": {
  12066. "description": "商品型号(商品规格)",
  12067. "type": "string"
  12068. },
  12069. "spotgoodsmodelid": {
  12070. "description": "现货型号ID",
  12071. "type": "integer"
  12072. },
  12073. "startdate": {
  12074. "description": "点价开始日",
  12075. "type": "string"
  12076. },
  12077. "totalamount": {
  12078. "description": "合计总额",
  12079. "type": "number"
  12080. },
  12081. "unpayamount": {
  12082. "description": "待支收额(支付或收款)",
  12083. "type": "number"
  12084. },
  12085. "unpricedqty": {
  12086. "description": "未定价量",
  12087. "type": "number"
  12088. },
  12089. "unsureqty": {
  12090. "description": "未确定量",
  12091. "type": "number"
  12092. },
  12093. "userid": {
  12094. "description": "用户ID",
  12095. "type": "integer"
  12096. }
  12097. }
  12098. },
  12099. "models.ErmcpOPLogModel": {
  12100. "type": "object",
  12101. "properties": {
  12102. "aftervalue": {
  12103. "description": "变更后",
  12104. "type": "number"
  12105. },
  12106. "applyid": {
  12107. "description": "操作人ID",
  12108. "type": "string"
  12109. },
  12110. "applyname": {
  12111. "description": "操作人名称",
  12112. "type": "string"
  12113. },
  12114. "beforevalue": {
  12115. "description": "变更前",
  12116. "type": "number"
  12117. },
  12118. "biztype": {
  12119. "description": "业务类型 - 1:套保计划 2:现货合同",
  12120. "type": "integer"
  12121. },
  12122. "contracttype": {
  12123. "description": "现货合同类型 - 1:采购 -1:销售",
  12124. "type": "integer"
  12125. },
  12126. "logvalue": {
  12127. "description": "数值",
  12128. "type": "number"
  12129. },
  12130. "operatelogtype": {
  12131. "description": "操作流水类型",
  12132. "type": "integer"
  12133. },
  12134. "operatelogtypedesc": {
  12135. "description": "操作流水类型名称",
  12136. "type": "string"
  12137. },
  12138. "relatedid": {
  12139. "description": "现货合同ID\\套保计划",
  12140. "type": "string"
  12141. },
  12142. "updatetime": {
  12143. "description": "更新时间",
  12144. "type": "string"
  12145. }
  12146. }
  12147. },
  12148. "models.ErmcpPendingAudit": {
  12149. "type": "object",
  12150. "properties": {
  12151. "businessdjqty": {
  12152. "description": "待审核数量: 点价",
  12153. "type": "integer"
  12154. },
  12155. "businessfpqty": {
  12156. "description": "待审核数量: 发票",
  12157. "type": "integer"
  12158. },
  12159. "businessjsqty": {
  12160. "description": "待审核数量: 结算",
  12161. "type": "integer"
  12162. },
  12163. "businesskxqty": {
  12164. "description": "待审核数量: 款项",
  12165. "type": "integer"
  12166. },
  12167. "hedgeplanqty": {
  12168. "description": "待审核数量: 套保计划",
  12169. "type": "integer"
  12170. },
  12171. "spotcontractqty": {
  12172. "description": "待审核数量: 现货合同",
  12173. "type": "integer"
  12174. },
  12175. "userqty": {
  12176. "description": "待审核数量: 用户",
  12177. "type": "integer"
  12178. }
  12179. }
  12180. },
  12181. "models.ErmcpRealExposureModel": {
  12182. "type": "object",
  12183. "properties": {
  12184. "areaUserID": {
  12185. "description": "所属机构",
  12186. "type": "integer"
  12187. },
  12188. "buyFutureQty": {
  12189. "description": "买入期货数量",
  12190. "type": "number"
  12191. },
  12192. "buyPlanQty": {
  12193. "description": "采购计划数量",
  12194. "type": "number"
  12195. },
  12196. "buyPricedQty": {
  12197. "description": "采购合同已定价数量",
  12198. "type": "number"
  12199. },
  12200. "diffFutuQty": {
  12201. "description": "今日变动量(期货) = (买入 - 买入期初) - (卖出 - 卖出期初)",
  12202. "type": "number"
  12203. },
  12204. "diffSpotQty": {
  12205. "description": "今日变动量(现货) = 现货数量 - 期初现货数量",
  12206. "type": "number"
  12207. },
  12208. "enumdicname": {
  12209. "description": "单位名称",
  12210. "type": "string"
  12211. },
  12212. "middleGoodsCode": {
  12213. "description": "套保品种代码",
  12214. "type": "string"
  12215. },
  12216. "middleGoodsHedgeRatio": {
  12217. "description": "应套保比例",
  12218. "type": "number"
  12219. },
  12220. "middleGoodsID": {
  12221. "description": "套保品种",
  12222. "type": "integer"
  12223. },
  12224. "middleGoodsName": {
  12225. "description": "套保品种名称",
  12226. "type": "string"
  12227. },
  12228. "needHedgeExposoure": {
  12229. "description": "应套保敞口",
  12230. "type": "number"
  12231. },
  12232. "needHedgeRatio": {
  12233. "description": "应套保敞口比例",
  12234. "type": "number"
  12235. },
  12236. "oriBuyFutureQty": {
  12237. "description": "期初买入期货数量",
  12238. "type": "number"
  12239. },
  12240. "oriBuyPlanQty": {
  12241. "description": "期初采购计划数量",
  12242. "type": "number"
  12243. },
  12244. "oriBuyPricedQty": {
  12245. "description": "期初采购合同已定价数量",
  12246. "type": "number"
  12247. },
  12248. "oriSellFutureQty": {
  12249. "description": "期初卖出期货数量",
  12250. "type": "number"
  12251. },
  12252. "oriSellPlanQty": {
  12253. "description": "期初销售计划数量",
  12254. "type": "number"
  12255. },
  12256. "oriSellPricedQty": {
  12257. "description": "期初销售合同已定价数量",
  12258. "type": "number"
  12259. },
  12260. "oriTotalFutuQty": {
  12261. "description": "期初期货数量=期初买入期货数量-期初卖出期货数量",
  12262. "type": "number"
  12263. },
  12264. "oriTotalSpotQty": {
  12265. "description": "期初现货数量=(期初销售计划数量-期初销售合同已定价数量)-(期初采购计划数量-期初采购合同已定价数量)",
  12266. "type": "number"
  12267. },
  12268. "sellFutureQty": {
  12269. "description": "卖出期货数量",
  12270. "type": "number"
  12271. },
  12272. "sellPlanQty": {
  12273. "description": "销售计划数量",
  12274. "type": "number"
  12275. },
  12276. "sellPricedQty": {
  12277. "description": "销售合同已定价数量",
  12278. "type": "number"
  12279. },
  12280. "totalExposure": {
  12281. "description": "总敞口",
  12282. "type": "number"
  12283. },
  12284. "totalFutureQty": {
  12285. "description": "期货数量",
  12286. "type": "number"
  12287. },
  12288. "totalHedgeRatio": {
  12289. "description": "敞口比例",
  12290. "type": "number"
  12291. },
  12292. "totalNeedHedgeQty": {
  12293. "description": "期货应套保量",
  12294. "type": "number"
  12295. },
  12296. "totalSpotQty": {
  12297. "description": "现货数量",
  12298. "type": "number"
  12299. }
  12300. }
  12301. },
  12302. "models.ErmcpReportDayExposure": {
  12303. "type": "object",
  12304. "properties": {
  12305. "areauserid": {
  12306. "description": "所属机构",
  12307. "type": "integer"
  12308. },
  12309. "buyfutureqty": {
  12310. "description": "买入期货数量",
  12311. "type": "number"
  12312. },
  12313. "buyplanqty": {
  12314. "description": "采购计划数量",
  12315. "type": "number"
  12316. },
  12317. "buypricedqty": {
  12318. "description": "采购合同已定价数量",
  12319. "type": "number"
  12320. },
  12321. "diffFutuQty": {
  12322. "description": "今日变动量(期货) = (买入 - 买入期初) - (卖出 - 卖出期初)",
  12323. "type": "number"
  12324. },
  12325. "diffSpotQty": {
  12326. "description": "今日变动量(现货) = 现货数量 - 期初现货数量",
  12327. "type": "number"
  12328. },
  12329. "enumdicname": {
  12330. "description": "单位名称",
  12331. "type": "string"
  12332. },
  12333. "middlegoodscode": {
  12334. "description": "套保品种代码",
  12335. "type": "string"
  12336. },
  12337. "middlegoodshedgeratio": {
  12338. "description": "应套保比例",
  12339. "type": "number"
  12340. },
  12341. "middlegoodsid": {
  12342. "description": "套保品种ID",
  12343. "type": "integer"
  12344. },
  12345. "middlegoodsname": {
  12346. "description": "套保品种名称",
  12347. "type": "string"
  12348. },
  12349. "needhedgeexposoure": {
  12350. "description": "应套保敞口",
  12351. "type": "number"
  12352. },
  12353. "needhedgeratio": {
  12354. "description": "应套保敞口比例",
  12355. "type": "number"
  12356. },
  12357. "oriTotalFutuQty": {
  12358. "description": "期初期货数量=期初买入期货数量-期初卖出期货数量",
  12359. "type": "number"
  12360. },
  12361. "oriTotalSpotQty": {
  12362. "description": "期初现货数量=(期初销售计划数量-期初销售合同已定价数量)-(期初采购计划数量-期初采购合同已定价数量)",
  12363. "type": "number"
  12364. },
  12365. "oribuyfutureqty": {
  12366. "description": "期初买入期货数量",
  12367. "type": "number"
  12368. },
  12369. "oribuyplanqty": {
  12370. "description": "期初采购计划数量",
  12371. "type": "number"
  12372. },
  12373. "oribuypricedqty": {
  12374. "description": "期初采购合同已定价数量",
  12375. "type": "number"
  12376. },
  12377. "orisellfutureqty": {
  12378. "description": "期初卖出期货数量",
  12379. "type": "number"
  12380. },
  12381. "orisellplanqty": {
  12382. "description": "期初销售计划数量",
  12383. "type": "number"
  12384. },
  12385. "orisellpricedqty": {
  12386. "description": "期初销售合同已定价数量",
  12387. "type": "number"
  12388. },
  12389. "reckondate": {
  12390. "description": "日照时期(yyyyMMdd)",
  12391. "type": "string"
  12392. },
  12393. "sellfutureqty": {
  12394. "description": "卖出期货数量",
  12395. "type": "number"
  12396. },
  12397. "sellplanqty": {
  12398. "description": "销售计划数量",
  12399. "type": "number"
  12400. },
  12401. "sellpricedqty": {
  12402. "description": "销售合同已定价数量",
  12403. "type": "number"
  12404. },
  12405. "totalexposure": {
  12406. "description": "总敞口",
  12407. "type": "number"
  12408. },
  12409. "totalfutureqty": {
  12410. "description": "期货数量",
  12411. "type": "number"
  12412. },
  12413. "totalhedgeratio": {
  12414. "description": "敞口比例",
  12415. "type": "number"
  12416. },
  12417. "totalneedhedgeqty": {
  12418. "description": "期货应套保量",
  12419. "type": "number"
  12420. },
  12421. "totalspotqty": {
  12422. "description": "现货数量",
  12423. "type": "number"
  12424. }
  12425. }
  12426. },
  12427. "models.ErmcpReportDayFR": {
  12428. "type": "object",
  12429. "properties": {
  12430. "areauserid": {
  12431. "description": "所属机构",
  12432. "type": "integer"
  12433. },
  12434. "collectinvoiceamount": {
  12435. "description": "今日开票金额",
  12436. "type": "number"
  12437. },
  12438. "collectinvoicecount": {
  12439. "description": "今日开票笔数",
  12440. "type": "integer"
  12441. },
  12442. "collectmoneyamount": {
  12443. "description": "今日收款金额",
  12444. "type": "number"
  12445. },
  12446. "collectmoneycount": {
  12447. "description": "今日收款笔数",
  12448. "type": "integer"
  12449. },
  12450. "payinvoiceamount": {
  12451. "description": "今日收票金额",
  12452. "type": "number"
  12453. },
  12454. "payinvoicecount": {
  12455. "description": "今日收票笔数",
  12456. "type": "integer"
  12457. },
  12458. "paymoneyamount": {
  12459. "description": "今日付款金额",
  12460. "type": "number"
  12461. },
  12462. "paymoneycount": {
  12463. "description": "今日付款笔数",
  12464. "type": "integer"
  12465. },
  12466. "reckondate": {
  12467. "description": "日照时期(yyyyMMdd)",
  12468. "type": "string"
  12469. },
  12470. "updatetime": {
  12471. "description": "更新时间",
  12472. "type": "string"
  12473. }
  12474. }
  12475. },
  12476. "models.ErmcpReportDaySpot": {
  12477. "type": "object",
  12478. "properties": {
  12479. "areauserid": {
  12480. "description": "所属机构T",
  12481. "type": "integer"
  12482. },
  12483. "enumdicname": {
  12484. "description": "现货商品单位名称",
  12485. "type": "string"
  12486. },
  12487. "reckondate": {
  12488. "description": "日照时期(yyyyMMdd)",
  12489. "type": "string"
  12490. },
  12491. "todaybuyreckonqty": {
  12492. "description": "采购确定量",
  12493. "type": "number"
  12494. },
  12495. "todaysellreckonqty": {
  12496. "description": "销售确定量",
  12497. "type": "number"
  12498. },
  12499. "totalbuypricedqty": {
  12500. "description": "采购定价量 = 期末 - 期初",
  12501. "type": "number"
  12502. },
  12503. "totalsellpricedqty": {
  12504. "description": "销售定价量 = 期末 - 期初",
  12505. "type": "number"
  12506. },
  12507. "wrstandardcode": {
  12508. "description": "现货商品代码",
  12509. "type": "string"
  12510. },
  12511. "wrstandardid": {
  12512. "description": "现货商品ID",
  12513. "type": "integer"
  12514. },
  12515. "wrstandardname": {
  12516. "description": "现货商品名称",
  12517. "type": "string"
  12518. }
  12519. }
  12520. },
  12521. "models.ErmcpReportMonSpot": {
  12522. "type": "object",
  12523. "properties": {
  12524. "areauserid": {
  12525. "description": "所属机构T",
  12526. "type": "integer"
  12527. },
  12528. "cycletime": {
  12529. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  12530. "type": "string"
  12531. },
  12532. "cycletype": {
  12533. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  12534. "type": "integer"
  12535. },
  12536. "enumdicname": {
  12537. "description": "现货商品单位名称",
  12538. "type": "string"
  12539. },
  12540. "todaybuyreckonqty": {
  12541. "description": "采购确定量",
  12542. "type": "number"
  12543. },
  12544. "todaysellreckonqty": {
  12545. "description": "销售确定量",
  12546. "type": "number"
  12547. },
  12548. "totalbuypricedqty": {
  12549. "description": "采购定价量 = 期末 - 期初",
  12550. "type": "number"
  12551. },
  12552. "totalsellpricedqty": {
  12553. "description": "销售定价量 = 期末 - 期初",
  12554. "type": "number"
  12555. },
  12556. "wrstandardcode": {
  12557. "description": "现货商品代码",
  12558. "type": "string"
  12559. },
  12560. "wrstandardid": {
  12561. "description": "现货商品ID",
  12562. "type": "integer"
  12563. },
  12564. "wrstandardname": {
  12565. "description": "现货商品名称",
  12566. "type": "string"
  12567. }
  12568. }
  12569. },
  12570. "models.ErmcpReportMonthFR": {
  12571. "type": "object",
  12572. "properties": {
  12573. "areauserid": {
  12574. "description": "所属机构【原值】",
  12575. "type": "integer"
  12576. },
  12577. "collectinvoiceamount": {
  12578. "description": "今日开票金额【汇总】",
  12579. "type": "number"
  12580. },
  12581. "collectinvoicecount": {
  12582. "description": "今日开票笔数【汇总】",
  12583. "type": "integer"
  12584. },
  12585. "collectmoneyamount": {
  12586. "description": "今日收款金额【汇总】",
  12587. "type": "number"
  12588. },
  12589. "collectmoneycount": {
  12590. "description": "今日收款笔数 【汇总】",
  12591. "type": "integer"
  12592. },
  12593. "cycletime": {
  12594. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  12595. "type": "string"
  12596. },
  12597. "cycletype": {
  12598. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  12599. "type": "integer"
  12600. },
  12601. "dayFr": {
  12602. "description": "日报表明细",
  12603. "type": "array",
  12604. "items": {
  12605. "$ref": "#/definitions/models.ErmcpReportDayFR"
  12606. }
  12607. },
  12608. "payinvoiceamount": {
  12609. "description": "今日收票金额【汇总】",
  12610. "type": "number"
  12611. },
  12612. "payinvoicecount": {
  12613. "description": "今日收票笔数【汇总】",
  12614. "type": "integer"
  12615. },
  12616. "paymoneyamount": {
  12617. "description": "今日付款金额【汇总】",
  12618. "type": "number"
  12619. },
  12620. "paymoneycount": {
  12621. "description": "今日付款笔数【汇总】",
  12622. "type": "integer"
  12623. },
  12624. "updatetime": {
  12625. "description": "更新时间",
  12626. "type": "string"
  12627. }
  12628. }
  12629. },
  12630. "models.ErmcpReportOPLog": {
  12631. "type": "object",
  12632. "properties": {
  12633. "applyid": {
  12634. "description": "操作人",
  12635. "type": "integer"
  12636. },
  12637. "applyname": {
  12638. "description": "操作人名称",
  12639. "type": "string"
  12640. },
  12641. "biztype": {
  12642. "description": "业务类型 - 1:套保计划 2:现货合同",
  12643. "type": "integer"
  12644. },
  12645. "contracttype": {
  12646. "description": "现货合同类型 - 1:采购 -1:销售",
  12647. "type": "integer"
  12648. },
  12649. "enumdicName": {
  12650. "description": "单位名称",
  12651. "type": "string"
  12652. },
  12653. "logdatetime": {
  12654. "description": "流水日期(时间)",
  12655. "type": "string"
  12656. },
  12657. "logid": {
  12658. "description": "流水ID(604+Unix秒时间戳(10位)+xxxxxx)",
  12659. "type": "string"
  12660. },
  12661. "logtypename": {
  12662. "description": "合同类型(名称)",
  12663. "type": "string"
  12664. },
  12665. "logvalue": {
  12666. "description": "数值",
  12667. "type": "string"
  12668. },
  12669. "operatelogtype": {
  12670. "description": "操作流水类型 -",
  12671. "type": "integer"
  12672. },
  12673. "optypename": {
  12674. "description": "流水类型名称",
  12675. "type": "string"
  12676. },
  12677. "relatedid": {
  12678. "description": "现货合同ID\\套保计划",
  12679. "type": "string"
  12680. },
  12681. "relatedno": {
  12682. "description": "合同编号",
  12683. "type": "string"
  12684. },
  12685. "tradedate": {
  12686. "description": "交易日(yyyyMMdd)",
  12687. "type": "string"
  12688. },
  12689. "userid": {
  12690. "description": "机构ID",
  12691. "type": "integer"
  12692. },
  12693. "wrstandardcode": {
  12694. "description": "现货商品代码",
  12695. "type": "string"
  12696. },
  12697. "wrstandardid": {
  12698. "description": "现货商品ID",
  12699. "type": "integer"
  12700. },
  12701. "wrstandardname": {
  12702. "description": "现货商品名称",
  12703. "type": "string"
  12704. }
  12705. }
  12706. },
  12707. "models.ErmcpSpotContractModel": {
  12708. "type": "object",
  12709. "properties": {
  12710. "amount": {
  12711. "description": "金额 [1:一口价、3:暂定价]",
  12712. "type": "number"
  12713. },
  12714. "attachment": {
  12715. "description": "附件",
  12716. "type": "string"
  12717. },
  12718. "auditremark": {
  12719. "description": "审核意见",
  12720. "type": "string"
  12721. },
  12722. "audittime": {
  12723. "description": "审核时间",
  12724. "type": "string"
  12725. },
  12726. "brandname": {
  12727. "description": "品牌名称",
  12728. "type": "string"
  12729. },
  12730. "buyuserid": {
  12731. "description": "采购方ID",
  12732. "type": "integer"
  12733. },
  12734. "buyusername": {
  12735. "description": "采购方名称",
  12736. "type": "string"
  12737. },
  12738. "contracctstatus": {
  12739. "description": "合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  12740. "type": "integer"
  12741. },
  12742. "contractmargin": {
  12743. "description": "合同保证金",
  12744. "type": "number"
  12745. },
  12746. "contractno": {
  12747. "description": "现货合同编号",
  12748. "type": "string"
  12749. },
  12750. "contracttype": {
  12751. "description": "现货合同类型 - 1:采购 -1:销售",
  12752. "type": "integer"
  12753. },
  12754. "convertfactor": {
  12755. "description": "标仓系数",
  12756. "type": "number"
  12757. },
  12758. "createtime": {
  12759. "description": "创建时间",
  12760. "type": "string"
  12761. },
  12762. "deliveryenddate": {
  12763. "description": "交收期(结束)",
  12764. "type": "string"
  12765. },
  12766. "deliverygoodscode": {
  12767. "description": "现货品种代码",
  12768. "type": "string"
  12769. },
  12770. "deliverygoodsid": {
  12771. "description": "现货品种ID",
  12772. "type": "integer"
  12773. },
  12774. "deliverygoodsname": {
  12775. "description": "现货品种名称",
  12776. "type": "string"
  12777. },
  12778. "deliverystartdate": {
  12779. "description": "交收期(开始)",
  12780. "type": "string"
  12781. },
  12782. "enddate": {
  12783. "description": "点价结束日期 [2:点价 3:暂定价]",
  12784. "type": "string"
  12785. },
  12786. "enumdicname": {
  12787. "description": "单位名称",
  12788. "type": "string"
  12789. },
  12790. "goodscode": {
  12791. "description": "点价合约代码",
  12792. "type": "string"
  12793. },
  12794. "goodsid": {
  12795. "description": "点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]",
  12796. "type": "integer"
  12797. },
  12798. "goodsname": {
  12799. "description": "点价商品名称",
  12800. "type": "string"
  12801. },
  12802. "margin": {
  12803. "description": "当前保证金",
  12804. "type": "number"
  12805. },
  12806. "modelname": {
  12807. "description": "型号名称",
  12808. "type": "string"
  12809. },
  12810. "price": {
  12811. "description": "价格\\暂定价 [1:一口价、3:暂定价]",
  12812. "type": "number"
  12813. },
  12814. "pricemove": {
  12815. "description": "升贴水 [2:点价 3:暂定价]",
  12816. "type": "number"
  12817. },
  12818. "pricetype": {
  12819. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  12820. "type": "integer"
  12821. },
  12822. "producttype": {
  12823. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  12824. "type": "integer"
  12825. },
  12826. "qty": {
  12827. "description": "数量",
  12828. "type": "number"
  12829. },
  12830. "remark": {
  12831. "description": "备注",
  12832. "type": "string"
  12833. },
  12834. "selluserid": {
  12835. "description": "销售方ID",
  12836. "type": "integer"
  12837. },
  12838. "sellusername": {
  12839. "description": "销售方名称",
  12840. "type": "string"
  12841. },
  12842. "spotcontractid": {
  12843. "description": "现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)",
  12844. "type": "string"
  12845. },
  12846. "spotgoodsbrandid": {
  12847. "description": "现货品牌ID",
  12848. "type": "integer"
  12849. },
  12850. "spotgoodsdesc": {
  12851. "description": "商品型号",
  12852. "type": "string"
  12853. },
  12854. "spotgoodsmodelid": {
  12855. "description": "现货型号ID",
  12856. "type": "integer"
  12857. },
  12858. "startdate": {
  12859. "description": "点价开始日期 [2:点价 3:暂定价]",
  12860. "type": "string"
  12861. },
  12862. "updatetime": {
  12863. "description": "更新时间",
  12864. "type": "string"
  12865. },
  12866. "userid": {
  12867. "description": "机构ID",
  12868. "type": "integer"
  12869. },
  12870. "wrstandardid": {
  12871. "description": "现货商品ID",
  12872. "type": "integer"
  12873. }
  12874. }
  12875. },
  12876. "models.ErmcpUserModel": {
  12877. "type": "object",
  12878. "properties": {
  12879. "address": {
  12880. "description": "通讯地址",
  12881. "type": "string"
  12882. },
  12883. "attachment1": {
  12884. "description": "附件1",
  12885. "type": "string"
  12886. },
  12887. "audittime": {
  12888. "description": "审核时间",
  12889. "type": "string"
  12890. },
  12891. "cardfrontphotourl": {
  12892. "description": "证件正面图片地址",
  12893. "type": "string"
  12894. },
  12895. "cardnum": {
  12896. "description": "证件号码",
  12897. "type": "string"
  12898. },
  12899. "cardtype": {
  12900. "description": "证件类型",
  12901. "type": "integer"
  12902. },
  12903. "cardtypename": {
  12904. "description": "证件类型名称",
  12905. "type": "string"
  12906. },
  12907. "cityid": {
  12908. "description": "市",
  12909. "type": "integer"
  12910. },
  12911. "countryid": {
  12912. "description": "国家",
  12913. "type": "integer"
  12914. },
  12915. "createtime": {
  12916. "description": "创建时间",
  12917. "type": "string"
  12918. },
  12919. "customername": {
  12920. "description": "企业名称",
  12921. "type": "string"
  12922. },
  12923. "memberuserid": {
  12924. "description": "所属机构ID",
  12925. "type": "integer"
  12926. },
  12927. "mobile": {
  12928. "description": "手机号码",
  12929. "type": "string"
  12930. },
  12931. "modifytime": {
  12932. "description": "修改时间",
  12933. "type": "string"
  12934. },
  12935. "provinceid": {
  12936. "description": "省",
  12937. "type": "integer"
  12938. },
  12939. "remark": {
  12940. "description": "备注",
  12941. "type": "string"
  12942. },
  12943. "status": {
  12944. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销",
  12945. "type": "integer"
  12946. },
  12947. "statusdesc": {
  12948. "description": "账户状态中文描述",
  12949. "type": "string"
  12950. },
  12951. "telphone": {
  12952. "description": "联系电话",
  12953. "type": "string"
  12954. },
  12955. "userid": {
  12956. "description": "用户ID",
  12957. "type": "integer"
  12958. },
  12959. "userinfotype": {
  12960. "description": "客户类型",
  12961. "type": "string"
  12962. }
  12963. }
  12964. },
  12965. "models.ErmcpWareHouseInfo": {
  12966. "type": "object",
  12967. "properties": {
  12968. "address": {
  12969. "description": "详细地址",
  12970. "type": "string"
  12971. },
  12972. "areauserid": {
  12973. "description": "所属机构",
  12974. "type": "integer"
  12975. },
  12976. "autoid": {
  12977. "description": "自增ID(仓库ID)",
  12978. "type": "integer"
  12979. },
  12980. "cityid": {
  12981. "description": "市",
  12982. "type": "integer"
  12983. },
  12984. "contactname": {
  12985. "description": "联系人",
  12986. "type": "string"
  12987. },
  12988. "contactnum": {
  12989. "description": "联系电话",
  12990. "type": "string"
  12991. },
  12992. "countryid": {
  12993. "description": "国家",
  12994. "type": "integer"
  12995. },
  12996. "createtime": {
  12997. "description": "创建时间",
  12998. "type": "string"
  12999. },
  13000. "districtid": {
  13001. "description": "区",
  13002. "type": "integer"
  13003. },
  13004. "hasvideo": {
  13005. "description": "是否有视频 - 0:无 1:有",
  13006. "type": "integer"
  13007. },
  13008. "provinceid": {
  13009. "description": "省",
  13010. "type": "integer"
  13011. },
  13012. "remark": {
  13013. "description": "审核备注",
  13014. "type": "string"
  13015. },
  13016. "videourl": {
  13017. "description": "视频地址",
  13018. "type": "string"
  13019. },
  13020. "warehousecode": {
  13021. "description": "仓库代码",
  13022. "type": "string"
  13023. },
  13024. "warehousename": {
  13025. "description": "仓库名称",
  13026. "type": "string"
  13027. },
  13028. "warehousestatus": {
  13029. "description": "仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝",
  13030. "type": "integer"
  13031. },
  13032. "warehousetype": {
  13033. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  13034. "type": "integer"
  13035. }
  13036. }
  13037. },
  13038. "models.ErmcpWrstandDetail": {
  13039. "type": "object",
  13040. "properties": {
  13041. "gbList": {
  13042. "description": "品牌列表",
  13043. "type": "array",
  13044. "items": {
  13045. "$ref": "#/definitions/models.GoodsBrand"
  13046. }
  13047. },
  13048. "goodsList": {
  13049. "description": "关联交易商品列表",
  13050. "type": "array",
  13051. "items": {
  13052. "$ref": "#/definitions/models.RelatedGoodsEx"
  13053. }
  13054. },
  13055. "gtList": {
  13056. "description": "型号列表",
  13057. "type": "array",
  13058. "items": {
  13059. "$ref": "#/definitions/models.GoodsTypeModel"
  13060. }
  13061. },
  13062. "wrd": {
  13063. "description": "基本信息",
  13064. "type": "object",
  13065. "$ref": "#/definitions/models.ErmcpWrstandard"
  13066. },
  13067. "wrsList": {
  13068. "description": "套保信息列表",
  13069. "type": "array",
  13070. "items": {
  13071. "$ref": "#/definitions/models.WRSConverTDetail"
  13072. }
  13073. }
  13074. }
  13075. },
  13076. "models.ErmcpWrstandard": {
  13077. "type": "object",
  13078. "properties": {
  13079. "areauserid": {
  13080. "description": "所属机构",
  13081. "type": "integer"
  13082. },
  13083. "createtime": {
  13084. "description": "创建时间",
  13085. "type": "string"
  13086. },
  13087. "creatorid": {
  13088. "description": "创建人",
  13089. "type": "integer"
  13090. },
  13091. "deliverygoodsid": {
  13092. "description": "品种ID",
  13093. "type": "integer"
  13094. },
  13095. "enumdicname": {
  13096. "description": "单位名称",
  13097. "type": "string"
  13098. },
  13099. "isvalid": {
  13100. "description": "是否有效 0-无效(停用) 1-有效(正常)",
  13101. "type": "integer"
  13102. },
  13103. "minivalue": {
  13104. "description": "最小变动值",
  13105. "type": "integer"
  13106. },
  13107. "minivaluedp": {
  13108. "description": "最小变动值小数位",
  13109. "type": "integer"
  13110. },
  13111. "realminivalue": {
  13112. "description": "实际最小变动值",
  13113. "type": "integer"
  13114. },
  13115. "realminivaluedp": {
  13116. "description": "实际最小变动值小数位",
  13117. "type": "integer"
  13118. },
  13119. "remark": {
  13120. "description": "备注",
  13121. "type": "string"
  13122. },
  13123. "unitid": {
  13124. "description": "单位ID",
  13125. "type": "integer"
  13126. },
  13127. "updatetime": {
  13128. "description": "更新时间",
  13129. "type": "string"
  13130. },
  13131. "wrstandardcode": {
  13132. "description": "现货商品代码",
  13133. "type": "string"
  13134. },
  13135. "wrstandardid": {
  13136. "description": "现货商品ID(SEQ_WRSTANDARD)",
  13137. "type": "integer"
  13138. },
  13139. "wrstandardname": {
  13140. "description": "现货商品名称",
  13141. "type": "string"
  13142. }
  13143. }
  13144. },
  13145. "models.Externalexchange": {
  13146. "type": "object",
  13147. "required": [
  13148. "autoid"
  13149. ],
  13150. "properties": {
  13151. "autoid": {
  13152. "description": "AutoID - SEQ_EXTERNALEXCHANGE",
  13153. "type": "integer"
  13154. },
  13155. "exchangefullname": {
  13156. "description": "外部交易所全称",
  13157. "type": "string"
  13158. },
  13159. "exexchangecode": {
  13160. "description": "外部交易所代码",
  13161. "type": "string"
  13162. },
  13163. "exexchangename": {
  13164. "description": "外部交易所名称(简称)",
  13165. "type": "string"
  13166. },
  13167. "ismarketprice": {
  13168. "description": "是否支持市价 - 0:不支持 1:支持",
  13169. "type": "integer"
  13170. },
  13171. "quotegear": {
  13172. "description": "行情档位(1-10)",
  13173. "type": "integer"
  13174. },
  13175. "showbrokerflag": {
  13176. "description": "是否显示买卖经纪盘 - 0:不显示 1:显示",
  13177. "type": "integer"
  13178. },
  13179. "updatetime": {
  13180. "description": "更新时间",
  13181. "type": "string"
  13182. }
  13183. }
  13184. },
  13185. "models.Funcmenulist": {
  13186. "type": "object",
  13187. "required": [
  13188. "resourcecode"
  13189. ],
  13190. "properties": {
  13191. "iconame": {
  13192. "description": "菜单图标",
  13193. "type": "string"
  13194. },
  13195. "menutype": {
  13196. "description": "菜单类型 1-管理端 2-交易端 3-终端权限",
  13197. "type": "integer"
  13198. },
  13199. "parentcode": {
  13200. "description": "上级资源代码",
  13201. "type": "string"
  13202. },
  13203. "remark": {
  13204. "description": "备注",
  13205. "type": "string"
  13206. },
  13207. "resourcecode": {
  13208. "description": "资源代码",
  13209. "type": "string"
  13210. },
  13211. "resourcelevel": {
  13212. "description": "级别 1-一级 2-二级 3-三级 4-四级",
  13213. "type": "integer"
  13214. },
  13215. "resourcename": {
  13216. "description": "资源名",
  13217. "type": "string"
  13218. },
  13219. "sort": {
  13220. "description": "排序 - 一级时,是所有一级菜单的排序顺序;二级时是所属同一个一级菜单下的排序、三级时是同一个二级菜单下的排序",
  13221. "type": "integer"
  13222. },
  13223. "url": {
  13224. "description": "URL",
  13225. "type": "string"
  13226. }
  13227. }
  13228. },
  13229. "models.Goods": {
  13230. "type": "object",
  13231. "required": [
  13232. "goodscode",
  13233. "goodsid",
  13234. "goodsname",
  13235. "marketid"
  13236. ],
  13237. "properties": {
  13238. "agreeunit": {
  13239. "description": "合约单位",
  13240. "type": "number"
  13241. },
  13242. "auditaccountid": {
  13243. "description": "审核操作员账号",
  13244. "type": "integer"
  13245. },
  13246. "audittime": {
  13247. "description": "审核时间",
  13248. "type": "string"
  13249. },
  13250. "cancelaccountid": {
  13251. "description": "注销操作员账号",
  13252. "type": "integer"
  13253. },
  13254. "canceltime": {
  13255. "description": "注销时间",
  13256. "type": "string"
  13257. },
  13258. "closepricemode": {
  13259. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  13260. "type": "integer"
  13261. },
  13262. "closepriceparam": {
  13263. "description": "强平最新价浮动比例 - 方式为2时使用 (\u003c1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价",
  13264. "type": "number"
  13265. },
  13266. "createtime": {
  13267. "description": "创建时间",
  13268. "type": "string"
  13269. },
  13270. "creatorid": {
  13271. "description": "创建人",
  13272. "type": "integer"
  13273. },
  13274. "currencyid": {
  13275. "description": "报价货币ID",
  13276. "type": "integer"
  13277. },
  13278. "cutmode": {
  13279. "description": "斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓",
  13280. "type": "integer"
  13281. },
  13282. "decimalplace": {
  13283. "description": "报价小数位",
  13284. "type": "integer"
  13285. },
  13286. "delistingdate": {
  13287. "description": "商品退市时间(状态:退市) -- 已作废",
  13288. "type": "string"
  13289. },
  13290. "delistingmode": {
  13291. "description": "退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\\币币兑换)",
  13292. "type": "integer"
  13293. },
  13294. "deliveryflag": {
  13295. "description": "交割标志 - 0:不可交割 1:可交割",
  13296. "type": "integer"
  13297. },
  13298. "forceclosemode": {
  13299. "description": "定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]",
  13300. "type": "integer"
  13301. },
  13302. "forceclosevalue": {
  13303. "description": "定期强平参数 [收益权]",
  13304. "type": "integer"
  13305. },
  13306. "goodscode": {
  13307. "description": "商品代码(内部)",
  13308. "type": "string"
  13309. },
  13310. "goodscurrencyid": {
  13311. "description": "合约货币ID",
  13312. "type": "integer"
  13313. },
  13314. "goodsgroupid": {
  13315. "description": "所属商品组ID",
  13316. "type": "integer"
  13317. },
  13318. "goodsid": {
  13319. "description": "商品ID(自增ID SEQ_GOODS)",
  13320. "type": "integer"
  13321. },
  13322. "goodsname": {
  13323. "description": "商品名称",
  13324. "type": "string"
  13325. },
  13326. "goodsquotetype": {
  13327. "description": "合约报价类型: 1-直接报价 2-间接报价",
  13328. "type": "integer"
  13329. },
  13330. "goodsstatus": {
  13331. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  13332. "type": "integer"
  13333. },
  13334. "goodstradetype": {
  13335. "description": "商品交易权限类型 - 1:可建可平 3:不可建可平",
  13336. "type": "integer"
  13337. },
  13338. "goodunitid": {
  13339. "description": "报价单位ID",
  13340. "type": "integer"
  13341. },
  13342. "hasquoter": {
  13343. "description": "是否有报价商 - 0:无报价商 1:有报价商",
  13344. "type": "integer"
  13345. },
  13346. "hqprotecttime": {
  13347. "description": "行情保护时间(秒)",
  13348. "type": "integer"
  13349. },
  13350. "innerdealmode": {
  13351. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  13352. "type": "integer"
  13353. },
  13354. "isbuylimited": {
  13355. "description": "是否限制建仓量 - 0:不限制 1:限制",
  13356. "type": "integer"
  13357. },
  13358. "lasttradedate": {
  13359. "description": "最后交易日期(状态:待退市)",
  13360. "type": "string"
  13361. },
  13362. "listingdate": {
  13363. "description": "交易开始日期",
  13364. "type": "string"
  13365. },
  13366. "marketid": {
  13367. "description": "所属市场ID",
  13368. "type": "integer"
  13369. },
  13370. "modifierid": {
  13371. "description": "修改人",
  13372. "type": "integer"
  13373. },
  13374. "modifystatus": {
  13375. "description": "变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核",
  13376. "type": "integer"
  13377. },
  13378. "modifytime": {
  13379. "description": "修改时间",
  13380. "type": "string"
  13381. },
  13382. "outerdealmode": {
  13383. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  13384. "type": "integer"
  13385. },
  13386. "outgoodscode": {
  13387. "description": "商品代码(外部)",
  13388. "type": "string"
  13389. },
  13390. "qtydecimalplace": {
  13391. "description": "成交量小数位",
  13392. "type": "integer"
  13393. },
  13394. "quotegear": {
  13395. "description": "行情档位(1-10)",
  13396. "type": "integer"
  13397. },
  13398. "quoteminunit": {
  13399. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  13400. "type": "integer"
  13401. },
  13402. "quoteshowtype": {
  13403. "description": "行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价",
  13404. "type": "integer"
  13405. },
  13406. "quoteshowtypeinterval": {
  13407. "description": "行情报价间隔时间(秒)(成交价时为0)",
  13408. "type": "integer"
  13409. },
  13410. "remark": {
  13411. "description": "备注",
  13412. "type": "string"
  13413. }
  13414. }
  13415. },
  13416. "models.GoodsBrand": {
  13417. "type": "object",
  13418. "properties": {
  13419. "brandid": {
  13420. "description": "品牌ID",
  13421. "type": "integer"
  13422. },
  13423. "brandname": {
  13424. "description": "品牌名称",
  13425. "type": "string"
  13426. },
  13427. "isvalid": {
  13428. "description": "是否有效 - 0:无效 1:有效",
  13429. "type": "integer"
  13430. }
  13431. }
  13432. },
  13433. "models.GoodsGroupConvert": {
  13434. "type": "object",
  13435. "properties": {
  13436. "convertratio": {
  13437. "description": "折算系数",
  13438. "type": "number"
  13439. },
  13440. "dstgoodsgroupid": {
  13441. "description": "目标期货品种ID",
  13442. "type": "integer"
  13443. },
  13444. "goodsgroupname": {
  13445. "description": "期货品种名称",
  13446. "type": "string"
  13447. },
  13448. "outergroupcode": {
  13449. "description": "期货品种代码",
  13450. "type": "string"
  13451. },
  13452. "srcgoodsgroupid": {
  13453. "description": "源期货品种ID",
  13454. "type": "integer"
  13455. }
  13456. }
  13457. },
  13458. "models.GoodsIDAndName": {
  13459. "type": "object",
  13460. "required": [
  13461. "goodscode",
  13462. "goodsid",
  13463. "goodsname",
  13464. "marketid"
  13465. ],
  13466. "properties": {
  13467. "goodscode": {
  13468. "description": "商品代码(内部)",
  13469. "type": "string"
  13470. },
  13471. "goodsid": {
  13472. "description": "商品ID(自增ID SEQ_GOODS)",
  13473. "type": "integer"
  13474. },
  13475. "goodsname": {
  13476. "description": "商品名称",
  13477. "type": "string"
  13478. },
  13479. "marketid": {
  13480. "description": "所属市场ID",
  13481. "type": "integer"
  13482. }
  13483. }
  13484. },
  13485. "models.GoodsTypeModel": {
  13486. "type": "object",
  13487. "properties": {
  13488. "modelid": {
  13489. "description": "型号ID",
  13490. "type": "integer"
  13491. },
  13492. "modelname": {
  13493. "description": "型号名称",
  13494. "type": "string"
  13495. },
  13496. "updatetime": {
  13497. "description": "更新时间",
  13498. "type": "string"
  13499. }
  13500. }
  13501. },
  13502. "models.Goodsgroup": {
  13503. "type": "object",
  13504. "required": [
  13505. "goodsgroupid",
  13506. "goodsgroupname",
  13507. "goodsgroupstatus",
  13508. "marketid"
  13509. ],
  13510. "properties": {
  13511. "agreeunit": {
  13512. "description": "合约单位",
  13513. "type": "number"
  13514. },
  13515. "canshort": {
  13516. "description": "是否允许做空[通道交易] - 0:不能做空 1:可以做空",
  13517. "type": "integer"
  13518. },
  13519. "closepricemode": {
  13520. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  13521. "type": "integer"
  13522. },
  13523. "closepriceparam": {
  13524. "description": "强平最新价浮动比例 - 方式为2时使用",
  13525. "type": "number"
  13526. },
  13527. "createtime": {
  13528. "description": "创建时间",
  13529. "type": "string"
  13530. },
  13531. "creatorid": {
  13532. "description": "创建人",
  13533. "type": "integer"
  13534. },
  13535. "currencyid": {
  13536. "description": "报价货币ID",
  13537. "type": "integer"
  13538. },
  13539. "decimalplace": {
  13540. "description": "报价小数位",
  13541. "type": "integer"
  13542. },
  13543. "exercisetype": {
  13544. "description": "行权类型[场外期权]-1:欧式期权 2:美式期权",
  13545. "type": "integer"
  13546. },
  13547. "exexchangeid": {
  13548. "description": "外部交易所ID[通道交易]",
  13549. "type": "integer"
  13550. },
  13551. "goodsgroupid": {
  13552. "description": "商品组ID(自增ID)",
  13553. "type": "integer"
  13554. },
  13555. "goodsgroupname": {
  13556. "description": "商品组名称",
  13557. "type": "string"
  13558. },
  13559. "goodsgroupstatus": {
  13560. "description": "商品组状态 - 1:正常 2:注销",
  13561. "type": "integer"
  13562. },
  13563. "goodunitid": {
  13564. "description": "报价单位ID",
  13565. "type": "integer"
  13566. },
  13567. "innerdealmode": {
  13568. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  13569. "type": "integer"
  13570. },
  13571. "isbuylimited": {
  13572. "description": "是否限制建仓量 - 0:不限制 1:限制",
  13573. "type": "integer"
  13574. },
  13575. "marketid": {
  13576. "description": "所属市场ID",
  13577. "type": "integer"
  13578. },
  13579. "modifierid": {
  13580. "description": "修改人",
  13581. "type": "integer"
  13582. },
  13583. "modifytime": {
  13584. "description": "修改时间",
  13585. "type": "string"
  13586. },
  13587. "outerdealmode": {
  13588. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  13589. "type": "integer"
  13590. },
  13591. "outergroupcode": {
  13592. "description": "外部商品组代码[通道交易]",
  13593. "type": "string"
  13594. },
  13595. "premiumdecimalplace": {
  13596. "description": "权利金小数位[场外期权]",
  13597. "type": "integer"
  13598. },
  13599. "premiumspreadalgorithm": {
  13600. "description": "权利金点差方式[场外期权] 1:比率 2:固定",
  13601. "type": "integer"
  13602. },
  13603. "premiumspreadvalue": {
  13604. "description": "权利金点差值[场外期权]",
  13605. "type": "number"
  13606. },
  13607. "qtydecimalplace": {
  13608. "description": "成交量小数位",
  13609. "type": "integer"
  13610. },
  13611. "quotegear": {
  13612. "description": "行情档位(1-10)",
  13613. "type": "integer"
  13614. },
  13615. "quoteminunit": {
  13616. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  13617. "type": "integer"
  13618. },
  13619. "quoterid": {
  13620. "description": "报价商ID[场外期权]",
  13621. "type": "integer"
  13622. },
  13623. "quotesourcegroupid": {
  13624. "description": "所属行情源分组ID[参考行情市场用\\通道交易]",
  13625. "type": "integer"
  13626. },
  13627. "syncgoodsqty": {
  13628. "description": "同步合约数[通道交易-投资管理用] - 0表示不限",
  13629. "type": "integer"
  13630. }
  13631. }
  13632. },
  13633. "models.HsbyBuyMyPayOrder": {
  13634. "type": "object",
  13635. "required": [
  13636. "goodscode",
  13637. "goodsname",
  13638. "tradeid",
  13639. "trademode"
  13640. ],
  13641. "properties": {
  13642. "agreeunit": {
  13643. "description": "合约单位",
  13644. "type": "number"
  13645. },
  13646. "buyaccountid": {
  13647. "description": "买方账号ID[报价币种]",
  13648. "type": "integer"
  13649. },
  13650. "buyorderid": {
  13651. "description": "买方委托单号",
  13652. "type": "string"
  13653. },
  13654. "createtime": {
  13655. "description": "创建时间",
  13656. "type": "string"
  13657. },
  13658. "currencysign": {
  13659. "description": "货币符号",
  13660. "type": "string"
  13661. },
  13662. "decimalplace": {
  13663. "description": "报价小数位",
  13664. "type": "integer"
  13665. },
  13666. "goodscode": {
  13667. "description": "商品代码(内部)",
  13668. "type": "string"
  13669. },
  13670. "goodsid": {
  13671. "description": "商品ID",
  13672. "type": "integer"
  13673. },
  13674. "goodsname": {
  13675. "description": "商品名称",
  13676. "type": "string"
  13677. },
  13678. "marketid": {
  13679. "description": "市场ID",
  13680. "type": "integer"
  13681. },
  13682. "offamount": {
  13683. "description": "优惠金额",
  13684. "type": "number"
  13685. },
  13686. "originalamount": {
  13687. "description": "原金额 = TradeAmount + TradeCharge + OffAmount",
  13688. "type": "number"
  13689. },
  13690. "payamount": {
  13691. "description": "支付金额 = TradeAmount + TradeCharge",
  13692. "type": "number"
  13693. },
  13694. "payflag": {
  13695. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  13696. "type": "integer"
  13697. },
  13698. "paylimitedtime": {
  13699. "description": "支付期限",
  13700. "type": "string"
  13701. },
  13702. "paytime": {
  13703. "description": "付款时间",
  13704. "type": "string"
  13705. },
  13706. "picurls1": {
  13707. "description": "预售商品介绍图片[多张用逗号分隔]",
  13708. "type": "string"
  13709. },
  13710. "picurls2": {
  13711. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  13712. "type": "string"
  13713. },
  13714. "sellaccountid": {
  13715. "description": "卖方账号ID[报价币种]",
  13716. "type": "integer"
  13717. },
  13718. "sellorderid": {
  13719. "description": "卖方委托单号",
  13720. "type": "string"
  13721. },
  13722. "tradeamount": {
  13723. "description": "成交金额",
  13724. "type": "number"
  13725. },
  13726. "tradecharge": {
  13727. "description": "成交手续费(买方)",
  13728. "type": "number"
  13729. },
  13730. "tradedate": {
  13731. "description": "交易日(yyyyMMdd)",
  13732. "type": "string"
  13733. },
  13734. "tradeid": {
  13735. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  13736. "type": "string"
  13737. },
  13738. "trademode": {
  13739. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  13740. "type": "integer"
  13741. },
  13742. "tradeprice": {
  13743. "description": "成交价格",
  13744. "type": "number"
  13745. },
  13746. "tradeqty": {
  13747. "description": "成交数量",
  13748. "type": "integer"
  13749. },
  13750. "vendorname1": {
  13751. "description": "预售商品供应商名称",
  13752. "type": "string"
  13753. },
  13754. "vendorname2": {
  13755. "description": "挂牌商品供应商名称",
  13756. "type": "string"
  13757. }
  13758. }
  13759. },
  13760. "models.HsbyBuyMyTradeDetail": {
  13761. "type": "object",
  13762. "required": [
  13763. "accountid",
  13764. "buyorsell",
  13765. "goodscode",
  13766. "goodsid",
  13767. "goodsname",
  13768. "marketid",
  13769. "orderid",
  13770. "qty",
  13771. "time",
  13772. "trademode"
  13773. ],
  13774. "properties": {
  13775. "accountid": {
  13776. "description": "账户ID[报价币种]",
  13777. "type": "integer"
  13778. },
  13779. "agreeunit": {
  13780. "description": "合约单位",
  13781. "type": "number"
  13782. },
  13783. "amount": {
  13784. "description": "金额 = 价格 * 数量 * 合约单位",
  13785. "type": "number"
  13786. },
  13787. "buyorsell": {
  13788. "description": "买卖 - 0:买 1:卖",
  13789. "type": "integer"
  13790. },
  13791. "currencysign": {
  13792. "description": "货币符号",
  13793. "type": "string"
  13794. },
  13795. "decimalplace": {
  13796. "description": "报价小数位",
  13797. "type": "integer"
  13798. },
  13799. "goodscode": {
  13800. "description": "商品代码(内部)",
  13801. "type": "string"
  13802. },
  13803. "goodsid": {
  13804. "description": "商品ID",
  13805. "type": "integer"
  13806. },
  13807. "goodsname": {
  13808. "description": "商品名称",
  13809. "type": "string"
  13810. },
  13811. "marketid": {
  13812. "description": "市场ID",
  13813. "type": "integer"
  13814. },
  13815. "orderid": {
  13816. "description": "单号(成交单号)",
  13817. "type": "string"
  13818. },
  13819. "picurls1": {
  13820. "description": "预售商品介绍图片[多张用逗号分隔]",
  13821. "type": "string"
  13822. },
  13823. "picurls2": {
  13824. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  13825. "type": "string"
  13826. },
  13827. "price": {
  13828. "description": "价格",
  13829. "type": "number"
  13830. },
  13831. "qty": {
  13832. "description": "数量",
  13833. "type": "integer"
  13834. },
  13835. "time": {
  13836. "description": "时间",
  13837. "type": "string"
  13838. },
  13839. "trademode": {
  13840. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  13841. "type": "integer"
  13842. },
  13843. "vendorname1": {
  13844. "description": "预售商品供应商名称",
  13845. "type": "string"
  13846. },
  13847. "vendorname2": {
  13848. "description": "挂牌商品供应商名称",
  13849. "type": "string"
  13850. }
  13851. }
  13852. },
  13853. "models.HsbyGoodsOrderDetail": {
  13854. "type": "object",
  13855. "required": [
  13856. "buyorsell",
  13857. "orderid",
  13858. "ordertime"
  13859. ],
  13860. "properties": {
  13861. "buyorsell": {
  13862. "description": "买卖 - 0:买 1:卖",
  13863. "type": "integer"
  13864. },
  13865. "currencysign": {
  13866. "description": "货币符号",
  13867. "type": "string"
  13868. },
  13869. "customername": {
  13870. "description": "客户名称(企业名称),已脱敏",
  13871. "type": "string"
  13872. },
  13873. "enableqty": {
  13874. "description": "可用数量",
  13875. "type": "integer"
  13876. },
  13877. "goodunit": {
  13878. "description": "报价单位",
  13879. "type": "string"
  13880. },
  13881. "orderid": {
  13882. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  13883. "type": "string"
  13884. },
  13885. "orderprice": {
  13886. "description": "委托价格",
  13887. "type": "number"
  13888. },
  13889. "ordertime": {
  13890. "description": "委托时间",
  13891. "type": "string"
  13892. }
  13893. }
  13894. },
  13895. "models.HsbyListingGoodsDetail": {
  13896. "type": "object",
  13897. "required": [
  13898. "goodscode",
  13899. "goodsid",
  13900. "goodsname",
  13901. "marketid",
  13902. "trademode"
  13903. ],
  13904. "properties": {
  13905. "agreeunit": {
  13906. "description": "合约单位",
  13907. "type": "number"
  13908. },
  13909. "buymaxqty": {
  13910. "description": "购买上限 [71] - 0为不限",
  13911. "type": "integer"
  13912. },
  13913. "currency": {
  13914. "description": "货币",
  13915. "type": "string"
  13916. },
  13917. "currencysign": {
  13918. "description": "货币符号",
  13919. "type": "string"
  13920. },
  13921. "decimalplace": {
  13922. "description": "报价小数位",
  13923. "type": "integer"
  13924. },
  13925. "desccityid": {
  13926. "description": "目的地(市)ID",
  13927. "type": "integer"
  13928. },
  13929. "descprovinceid": {
  13930. "description": "目的地(省)ID",
  13931. "type": "integer"
  13932. },
  13933. "goodscode": {
  13934. "description": "商品代码(内部)",
  13935. "type": "string"
  13936. },
  13937. "goodsdesc": {
  13938. "description": "商品详情",
  13939. "type": "string"
  13940. },
  13941. "goodsid": {
  13942. "description": "商品ID(自增ID SEQ_GOODS)",
  13943. "type": "integer"
  13944. },
  13945. "goodsname": {
  13946. "description": "商品名称",
  13947. "type": "string"
  13948. },
  13949. "goodsprice": {
  13950. "description": "商品价格",
  13951. "type": "number"
  13952. },
  13953. "hotindex": {
  13954. "description": "景点热度",
  13955. "type": "integer"
  13956. },
  13957. "last": {
  13958. "description": "现价",
  13959. "type": "number"
  13960. },
  13961. "limitdown": {
  13962. "description": "跌停价",
  13963. "type": "number"
  13964. },
  13965. "limitup": {
  13966. "description": "涨停价",
  13967. "type": "number"
  13968. },
  13969. "lotsize": {
  13970. "description": "手数最小变动单位",
  13971. "type": "integer"
  13972. },
  13973. "marketid": {
  13974. "description": "所属市场ID",
  13975. "type": "integer"
  13976. },
  13977. "picurls": {
  13978. "description": "介绍图片[多张用逗号分隔]",
  13979. "type": "string"
  13980. },
  13981. "quoteminunit": {
  13982. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  13983. "type": "integer"
  13984. },
  13985. "stepvalue": {
  13986. "description": "价格最小变动单位",
  13987. "type": "number"
  13988. },
  13989. "trademode": {
  13990. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  13991. "type": "integer"
  13992. },
  13993. "vendorattr": {
  13994. "description": "供应商附件(多张,逗号分隔)",
  13995. "type": "string"
  13996. },
  13997. "vendorname": {
  13998. "description": "供应商名称",
  13999. "type": "string"
  14000. },
  14001. "vendorphone": {
  14002. "description": "供应商客服电话",
  14003. "type": "string"
  14004. },
  14005. "videourls": {
  14006. "description": "介绍视频[多张用逗号分隔]",
  14007. "type": "string"
  14008. }
  14009. }
  14010. },
  14011. "models.HsbyMarketGoods": {
  14012. "type": "object",
  14013. "required": [
  14014. "accountid",
  14015. "buyorsell",
  14016. "goodscode",
  14017. "goodsid",
  14018. "goodsname",
  14019. "marketid",
  14020. "orderid",
  14021. "trademode"
  14022. ],
  14023. "properties": {
  14024. "accountid": {
  14025. "description": "账户ID[报价币种]",
  14026. "type": "integer"
  14027. },
  14028. "agreeunit": {
  14029. "description": "合约单位",
  14030. "type": "number"
  14031. },
  14032. "buyorsell": {
  14033. "description": "买卖 - 0:买 1:卖",
  14034. "type": "integer"
  14035. },
  14036. "categoryid": {
  14037. "description": "类别ID(WRCATEGORY)",
  14038. "type": "integer"
  14039. },
  14040. "currency": {
  14041. "description": "货币",
  14042. "type": "string"
  14043. },
  14044. "currencysign": {
  14045. "description": "货币符号",
  14046. "type": "string"
  14047. },
  14048. "customername": {
  14049. "description": "卖家名称",
  14050. "type": "string"
  14051. },
  14052. "decimalplace": {
  14053. "description": "报价小数位",
  14054. "type": "integer"
  14055. },
  14056. "goodscode": {
  14057. "description": "商品代码(内部)",
  14058. "type": "string"
  14059. },
  14060. "goodsid": {
  14061. "description": "商品ID",
  14062. "type": "integer"
  14063. },
  14064. "goodsname": {
  14065. "description": "商品名称",
  14066. "type": "string"
  14067. },
  14068. "goodsprice": {
  14069. "description": "商品价格",
  14070. "type": "number"
  14071. },
  14072. "hascoupon": {
  14073. "description": "是否可用优惠卷",
  14074. "type": "boolean"
  14075. },
  14076. "hotindex": {
  14077. "description": "景点热度",
  14078. "type": "integer"
  14079. },
  14080. "marketid": {
  14081. "description": "市场ID",
  14082. "type": "integer"
  14083. },
  14084. "orderid": {
  14085. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  14086. "type": "string"
  14087. },
  14088. "orderprice": {
  14089. "description": "委托价格",
  14090. "type": "number"
  14091. },
  14092. "orderstatus": {
  14093. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  14094. "type": "integer"
  14095. },
  14096. "picurls": {
  14097. "description": "介绍图片[多张用逗号分隔]",
  14098. "type": "string"
  14099. },
  14100. "quoteminunit": {
  14101. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  14102. "type": "integer"
  14103. },
  14104. "sellUserID": {
  14105. "description": "卖方UserID",
  14106. "type": "integer"
  14107. },
  14108. "trademode": {
  14109. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  14110. "type": "integer"
  14111. },
  14112. "videourls": {
  14113. "description": "介绍视频[多张用逗号分隔]",
  14114. "type": "string"
  14115. }
  14116. }
  14117. },
  14118. "models.HsbyMarketGoodsDetail": {
  14119. "type": "object",
  14120. "required": [
  14121. "accountid",
  14122. "buyorsell",
  14123. "goodscode",
  14124. "goodsid",
  14125. "goodsname",
  14126. "marketid",
  14127. "orderid",
  14128. "orderqty",
  14129. "trademode"
  14130. ],
  14131. "properties": {
  14132. "accountid": {
  14133. "description": "账户ID[报价币种]",
  14134. "type": "integer"
  14135. },
  14136. "agreeunit": {
  14137. "description": "合约单位",
  14138. "type": "number"
  14139. },
  14140. "buymaxqty": {
  14141. "description": "购买上限 [71] - 0为不限",
  14142. "type": "integer"
  14143. },
  14144. "buyorsell": {
  14145. "description": "买卖 - 0:买 1:卖",
  14146. "type": "integer"
  14147. },
  14148. "cancelqty": {
  14149. "description": "撤单数量",
  14150. "type": "integer"
  14151. },
  14152. "categoryid": {
  14153. "description": "类别ID(WRCATEGORY)",
  14154. "type": "integer"
  14155. },
  14156. "currency": {
  14157. "description": "货币",
  14158. "type": "string"
  14159. },
  14160. "currencysign": {
  14161. "description": "货币符号",
  14162. "type": "string"
  14163. },
  14164. "customername": {
  14165. "description": "卖家名称",
  14166. "type": "string"
  14167. },
  14168. "decimalplace": {
  14169. "description": "报价小数位",
  14170. "type": "integer"
  14171. },
  14172. "goodscode": {
  14173. "description": "商品代码(内部)",
  14174. "type": "string"
  14175. },
  14176. "goodsdesc": {
  14177. "description": "商品详情",
  14178. "type": "string"
  14179. },
  14180. "goodsid": {
  14181. "description": "商品ID",
  14182. "type": "integer"
  14183. },
  14184. "goodsname": {
  14185. "description": "商品名称",
  14186. "type": "string"
  14187. },
  14188. "goodsprice": {
  14189. "description": "商品价格",
  14190. "type": "number"
  14191. },
  14192. "hotindex": {
  14193. "description": "景点热度",
  14194. "type": "integer"
  14195. },
  14196. "lotsize": {
  14197. "description": "手数最小变动单位",
  14198. "type": "integer"
  14199. },
  14200. "marketid": {
  14201. "description": "市场ID",
  14202. "type": "integer"
  14203. },
  14204. "orderid": {
  14205. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  14206. "type": "string"
  14207. },
  14208. "orderprice": {
  14209. "description": "委托价格",
  14210. "type": "number"
  14211. },
  14212. "orderqty": {
  14213. "description": "委托数量",
  14214. "type": "integer"
  14215. },
  14216. "orderstatus": {
  14217. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  14218. "type": "integer"
  14219. },
  14220. "picurls": {
  14221. "description": "介绍图片[多张用逗号分隔]",
  14222. "type": "string"
  14223. },
  14224. "quoteminunit": {
  14225. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  14226. "type": "integer"
  14227. },
  14228. "sellUserID": {
  14229. "description": "卖方UserID",
  14230. "type": "integer"
  14231. },
  14232. "trademode": {
  14233. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  14234. "type": "integer"
  14235. },
  14236. "tradeqty": {
  14237. "description": "成交数量",
  14238. "type": "integer"
  14239. },
  14240. "vendorattr": {
  14241. "description": "供应商附件(多张,逗号分隔)",
  14242. "type": "string"
  14243. },
  14244. "vendorname": {
  14245. "description": "供应商名称",
  14246. "type": "string"
  14247. },
  14248. "vendorphone": {
  14249. "description": "供应商客服电话",
  14250. "type": "string"
  14251. },
  14252. "videourls": {
  14253. "description": "介绍视频[多张用逗号分隔]",
  14254. "type": "string"
  14255. }
  14256. }
  14257. },
  14258. "models.HsbyMarketInfo": {
  14259. "type": "object",
  14260. "required": [
  14261. "marketid",
  14262. "marketstatus",
  14263. "trademode"
  14264. ],
  14265. "properties": {
  14266. "marketid": {
  14267. "description": "市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务",
  14268. "type": "integer"
  14269. },
  14270. "marketname": {
  14271. "description": "市场名称",
  14272. "type": "string"
  14273. },
  14274. "marketstatus": {
  14275. "description": "生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销",
  14276. "type": "integer"
  14277. },
  14278. "trademode": {
  14279. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  14280. "type": "integer"
  14281. }
  14282. }
  14283. },
  14284. "models.HsbyMyGoods": {
  14285. "type": "object",
  14286. "required": [
  14287. "accountid",
  14288. "goodscode",
  14289. "goodsid",
  14290. "goodsname",
  14291. "marketid",
  14292. "trademode"
  14293. ],
  14294. "properties": {
  14295. "accountid": {
  14296. "description": "账号Id",
  14297. "type": "integer"
  14298. },
  14299. "agreeunit": {
  14300. "description": "合约单位",
  14301. "type": "number"
  14302. },
  14303. "buyaverageprice": {
  14304. "description": "持仓均价",
  14305. "type": "number"
  14306. },
  14307. "buycurholderamount": {
  14308. "description": "买当前持仓总金额[商品币种]",
  14309. "type": "number"
  14310. },
  14311. "buycurpositionqty": {
  14312. "description": "买当前持仓总数量",
  14313. "type": "integer"
  14314. },
  14315. "buymaxqty": {
  14316. "description": "购买上限 [71] - 0为不限",
  14317. "type": "integer"
  14318. },
  14319. "currencysign": {
  14320. "description": "货币符号",
  14321. "type": "string"
  14322. },
  14323. "decimalplace": {
  14324. "description": "报价小数位",
  14325. "type": "integer"
  14326. },
  14327. "enableqty": {
  14328. "description": "可用数量",
  14329. "type": "integer"
  14330. },
  14331. "goodscode": {
  14332. "description": "商品代码(内部)",
  14333. "type": "string"
  14334. },
  14335. "goodsid": {
  14336. "description": "商品Id",
  14337. "type": "integer"
  14338. },
  14339. "goodsname": {
  14340. "description": "商品名称",
  14341. "type": "string"
  14342. },
  14343. "goodsprice": {
  14344. "description": "商品价格",
  14345. "type": "number"
  14346. },
  14347. "goodsstatus": {
  14348. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  14349. "type": "integer"
  14350. },
  14351. "last": {
  14352. "description": "现价(仅使用于挂牌点选)",
  14353. "type": "number"
  14354. },
  14355. "limitdown": {
  14356. "description": "跌停价(仅使用于挂牌点选)",
  14357. "type": "number"
  14358. },
  14359. "limitup": {
  14360. "description": "涨停价(仅使用于挂牌点选)",
  14361. "type": "number"
  14362. },
  14363. "lotsize": {
  14364. "description": "手数最小变动单位",
  14365. "type": "integer"
  14366. },
  14367. "marketid": {
  14368. "description": "所属市场ID",
  14369. "type": "integer"
  14370. },
  14371. "picurls": {
  14372. "description": "介绍图片[多张用逗号分隔]",
  14373. "type": "string"
  14374. },
  14375. "quoteminunit": {
  14376. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  14377. "type": "integer"
  14378. },
  14379. "stepvalue": {
  14380. "description": "价格最小变动单位",
  14381. "type": "number"
  14382. },
  14383. "trademode": {
  14384. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  14385. "type": "integer"
  14386. }
  14387. }
  14388. },
  14389. "models.HsbyMyPackage": {
  14390. "type": "object",
  14391. "required": [
  14392. "goodscode",
  14393. "goodsname",
  14394. "takeorderid",
  14395. "trademode"
  14396. ],
  14397. "properties": {
  14398. "accountid": {
  14399. "description": "账户ID",
  14400. "type": "integer"
  14401. },
  14402. "address": {
  14403. "description": "提货人详细地址",
  14404. "type": "string"
  14405. },
  14406. "agreeunit": {
  14407. "description": "合约单位",
  14408. "type": "number"
  14409. },
  14410. "amount": {
  14411. "description": "提货金额",
  14412. "type": "number"
  14413. },
  14414. "auditer": {
  14415. "description": "审核人",
  14416. "type": "integer"
  14417. },
  14418. "audittime": {
  14419. "description": "审核时间",
  14420. "type": "string"
  14421. },
  14422. "averageprice": {
  14423. "description": "均价",
  14424. "type": "number"
  14425. },
  14426. "cardnum": {
  14427. "description": "提货人证件号码",
  14428. "type": "string"
  14429. },
  14430. "cardtypeid": {
  14431. "description": "提货人证件类型",
  14432. "type": "integer"
  14433. },
  14434. "checkremark": {
  14435. "description": "审核备注",
  14436. "type": "string"
  14437. },
  14438. "currencysign": {
  14439. "description": "货币符号",
  14440. "type": "string"
  14441. },
  14442. "decimalplace": {
  14443. "description": "报价小数位",
  14444. "type": "integer"
  14445. },
  14446. "goodscode": {
  14447. "description": "商品代码(内部)",
  14448. "type": "string"
  14449. },
  14450. "goodsid": {
  14451. "description": "商品ID",
  14452. "type": "integer"
  14453. },
  14454. "goodsname": {
  14455. "description": "商品名称",
  14456. "type": "string"
  14457. },
  14458. "handlestatus": {
  14459. "description": "处理状态",
  14460. "type": "integer"
  14461. },
  14462. "marketid": {
  14463. "description": "市场ID",
  14464. "type": "integer"
  14465. },
  14466. "phonenum": {
  14467. "description": "提货人联系方式",
  14468. "type": "string"
  14469. },
  14470. "picurls": {
  14471. "description": "介绍图片[多张用逗号分隔]",
  14472. "type": "string"
  14473. },
  14474. "qty": {
  14475. "description": "提货数量",
  14476. "type": "number"
  14477. },
  14478. "recivername": {
  14479. "description": "提货人姓名",
  14480. "type": "string"
  14481. },
  14482. "reqtime": {
  14483. "description": "更新时间",
  14484. "type": "string"
  14485. },
  14486. "takemode": {
  14487. "description": "提货方式 - 2:自提 3:配送",
  14488. "type": "integer"
  14489. },
  14490. "takeorderid": {
  14491. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  14492. "type": "string"
  14493. },
  14494. "takeorderstatus": {
  14495. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  14496. "type": "integer"
  14497. },
  14498. "takeremark": {
  14499. "description": "提货备注",
  14500. "type": "string"
  14501. },
  14502. "tradedate": {
  14503. "description": "交易日(yyyyMMdd)",
  14504. "type": "string"
  14505. },
  14506. "trademode": {
  14507. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  14508. "type": "integer"
  14509. },
  14510. "userid": {
  14511. "description": "用户ID",
  14512. "type": "integer"
  14513. },
  14514. "vendorname": {
  14515. "description": "供应商名称",
  14516. "type": "string"
  14517. }
  14518. }
  14519. },
  14520. "models.HsbyPreGoods": {
  14521. "type": "object",
  14522. "required": [
  14523. "goodscode",
  14524. "goodsid",
  14525. "goodsname",
  14526. "marketid",
  14527. "trademode"
  14528. ],
  14529. "properties": {
  14530. "agreeunit": {
  14531. "description": "合约单位",
  14532. "type": "number"
  14533. },
  14534. "currency": {
  14535. "description": "货币",
  14536. "type": "string"
  14537. },
  14538. "currencysign": {
  14539. "description": "货币符号",
  14540. "type": "string"
  14541. },
  14542. "decimalplace": {
  14543. "description": "报价小数位",
  14544. "type": "integer"
  14545. },
  14546. "desccityid": {
  14547. "description": "目的地(市)",
  14548. "type": "integer"
  14549. },
  14550. "descprovinceid": {
  14551. "description": "目的地(省)",
  14552. "type": "integer"
  14553. },
  14554. "enableqty": {
  14555. "description": "剩余数量",
  14556. "type": "integer"
  14557. },
  14558. "goodscode": {
  14559. "description": "商品代码(内部)",
  14560. "type": "string"
  14561. },
  14562. "goodsid": {
  14563. "description": "商品ID(自增ID SEQ_GOODS)",
  14564. "type": "integer"
  14565. },
  14566. "goodsname": {
  14567. "description": "商品名称",
  14568. "type": "string"
  14569. },
  14570. "goodsstatus": {
  14571. "description": "商品状态- 2:未上市 3:上市",
  14572. "type": "integer"
  14573. },
  14574. "lasttradedate": {
  14575. "description": "最后交易日期(状态:待退市)",
  14576. "type": "string"
  14577. },
  14578. "listingdate": {
  14579. "description": "交易开始日期",
  14580. "type": "string"
  14581. },
  14582. "marketid": {
  14583. "description": "所属市场ID",
  14584. "type": "integer"
  14585. },
  14586. "picurls": {
  14587. "description": "介绍图片[多张用逗号分隔]",
  14588. "type": "string"
  14589. },
  14590. "presaledqty": {
  14591. "description": "已预售量(预售结束时更新)",
  14592. "type": "integer"
  14593. },
  14594. "presaleqty": {
  14595. "description": "预售数量",
  14596. "type": "integer"
  14597. },
  14598. "quoteminunit": {
  14599. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  14600. "type": "integer"
  14601. },
  14602. "refprice": {
  14603. "description": "参考价格[一口价]",
  14604. "type": "number"
  14605. },
  14606. "relatedgoodsid": {
  14607. "description": "关联交易合约ID",
  14608. "type": "integer"
  14609. },
  14610. "trademode": {
  14611. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  14612. "type": "integer"
  14613. },
  14614. "videourls": {
  14615. "description": "介绍视频[多张用逗号分隔]",
  14616. "type": "string"
  14617. }
  14618. }
  14619. },
  14620. "models.HsbyPreGoodsDetail": {
  14621. "type": "object",
  14622. "required": [
  14623. "goodscode",
  14624. "goodsid",
  14625. "goodsname",
  14626. "marketid",
  14627. "trademode"
  14628. ],
  14629. "properties": {
  14630. "agreeunit": {
  14631. "description": "合约单位",
  14632. "type": "number"
  14633. },
  14634. "buymaxqty": {
  14635. "description": "购买上限 [71] - 0为不限",
  14636. "type": "integer"
  14637. },
  14638. "currency": {
  14639. "description": "货币",
  14640. "type": "string"
  14641. },
  14642. "currencysign": {
  14643. "description": "货币符号",
  14644. "type": "string"
  14645. },
  14646. "customername": {
  14647. "description": "发行单位",
  14648. "type": "string"
  14649. },
  14650. "decimalplace": {
  14651. "description": "报价小数位",
  14652. "type": "integer"
  14653. },
  14654. "desccityid": {
  14655. "description": "目的地(市)ID",
  14656. "type": "integer"
  14657. },
  14658. "descprovinceid": {
  14659. "description": "目的地(省)ID",
  14660. "type": "integer"
  14661. },
  14662. "enableqty": {
  14663. "description": "剩余数量",
  14664. "type": "integer"
  14665. },
  14666. "goodscode": {
  14667. "description": "商品代码(内部)",
  14668. "type": "string"
  14669. },
  14670. "goodsdesc": {
  14671. "description": "商品详情",
  14672. "type": "string"
  14673. },
  14674. "goodsid": {
  14675. "description": "商品ID(自增ID SEQ_GOODS)",
  14676. "type": "integer"
  14677. },
  14678. "goodsname": {
  14679. "description": "商品名称",
  14680. "type": "string"
  14681. },
  14682. "goodsstatus": {
  14683. "description": "商品状态- 2:未上市 3:上市",
  14684. "type": "integer"
  14685. },
  14686. "goodunit": {
  14687. "description": "报价单位",
  14688. "type": "string"
  14689. },
  14690. "lasttradedate": {
  14691. "description": "最后交易日期(状态:待退市)",
  14692. "type": "string"
  14693. },
  14694. "listingdate": {
  14695. "description": "交易开始日期",
  14696. "type": "string"
  14697. },
  14698. "lotsize": {
  14699. "description": "手数最小变动单位",
  14700. "type": "integer"
  14701. },
  14702. "marketid": {
  14703. "description": "所属市场ID",
  14704. "type": "integer"
  14705. },
  14706. "picurls": {
  14707. "description": "介绍图片[多张用逗号分隔]",
  14708. "type": "string"
  14709. },
  14710. "presaledqty": {
  14711. "description": "已预售量(预售结束时更新)",
  14712. "type": "integer"
  14713. },
  14714. "presaleqty": {
  14715. "description": "预售数量",
  14716. "type": "integer"
  14717. },
  14718. "quoteminunit": {
  14719. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  14720. "type": "integer"
  14721. },
  14722. "refprice": {
  14723. "description": "参考价格[一口价]",
  14724. "type": "number"
  14725. },
  14726. "relatedgoodsid": {
  14727. "description": "关联交易合约ID",
  14728. "type": "integer"
  14729. },
  14730. "stepvalue": {
  14731. "description": "价格最小变动单位",
  14732. "type": "number"
  14733. },
  14734. "trademode": {
  14735. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  14736. "type": "integer"
  14737. },
  14738. "vendorattr": {
  14739. "description": "供应商附件(多张,逗号分隔)",
  14740. "type": "string"
  14741. },
  14742. "vendorname": {
  14743. "description": "供应商名称",
  14744. "type": "string"
  14745. },
  14746. "vendorphone": {
  14747. "description": "供应商客服电话",
  14748. "type": "string"
  14749. },
  14750. "videourls": {
  14751. "description": "介绍视频[多张用逗号分隔]",
  14752. "type": "string"
  14753. }
  14754. }
  14755. },
  14756. "models.HsbySellCollectionOrder": {
  14757. "type": "object",
  14758. "required": [
  14759. "goodscode",
  14760. "goodsname",
  14761. "tradeid",
  14762. "trademode"
  14763. ],
  14764. "properties": {
  14765. "agreeunit": {
  14766. "description": "合约单位",
  14767. "type": "number"
  14768. },
  14769. "buyaccountid": {
  14770. "description": "买方账号ID[报价币种]",
  14771. "type": "integer"
  14772. },
  14773. "buyorderid": {
  14774. "description": "买方委托单号",
  14775. "type": "string"
  14776. },
  14777. "createtime": {
  14778. "description": "创建时间",
  14779. "type": "string"
  14780. },
  14781. "currencysign": {
  14782. "description": "货币符号",
  14783. "type": "string"
  14784. },
  14785. "decimalplace": {
  14786. "description": "报价小数位",
  14787. "type": "integer"
  14788. },
  14789. "goodscode": {
  14790. "description": "商品代码(内部)",
  14791. "type": "string"
  14792. },
  14793. "goodsid": {
  14794. "description": "商品ID",
  14795. "type": "integer"
  14796. },
  14797. "goodsname": {
  14798. "description": "商品名称",
  14799. "type": "string"
  14800. },
  14801. "marketid": {
  14802. "description": "市场ID",
  14803. "type": "integer"
  14804. },
  14805. "offamount": {
  14806. "description": "优惠金额",
  14807. "type": "number"
  14808. },
  14809. "payamount": {
  14810. "description": "支付金额 = TradeAmount + TradeCharge - OffAmount",
  14811. "type": "number"
  14812. },
  14813. "payflag": {
  14814. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  14815. "type": "integer"
  14816. },
  14817. "paylimitedtime": {
  14818. "description": "支付期限",
  14819. "type": "string"
  14820. },
  14821. "paytime": {
  14822. "description": "付款时间",
  14823. "type": "string"
  14824. },
  14825. "picurls": {
  14826. "description": "商品介绍图片[多张用逗号分隔]",
  14827. "type": "string"
  14828. },
  14829. "sellaccountid": {
  14830. "description": "卖方账号ID[报价币种]",
  14831. "type": "integer"
  14832. },
  14833. "sellorderid": {
  14834. "description": "卖方委托单号",
  14835. "type": "string"
  14836. },
  14837. "tradeamount": {
  14838. "description": "成交金额",
  14839. "type": "number"
  14840. },
  14841. "tradecharge": {
  14842. "description": "成交手续费(买方)",
  14843. "type": "number"
  14844. },
  14845. "tradedate": {
  14846. "description": "交易日(yyyyMMdd)",
  14847. "type": "string"
  14848. },
  14849. "tradeid": {
  14850. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  14851. "type": "string"
  14852. },
  14853. "trademode": {
  14854. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  14855. "type": "integer"
  14856. },
  14857. "tradeprice": {
  14858. "description": "成交价格",
  14859. "type": "number"
  14860. },
  14861. "tradeqty": {
  14862. "description": "成交数量",
  14863. "type": "integer"
  14864. }
  14865. }
  14866. },
  14867. "models.HsbySellMyDetail": {
  14868. "type": "object",
  14869. "required": [
  14870. "accountid",
  14871. "buyorsell",
  14872. "goodscode",
  14873. "goodsid",
  14874. "goodsname",
  14875. "marketid",
  14876. "orderid",
  14877. "time",
  14878. "trademode"
  14879. ],
  14880. "properties": {
  14881. "accountid": {
  14882. "description": "账户ID[报价币种]",
  14883. "type": "integer"
  14884. },
  14885. "agreeunit": {
  14886. "description": "合约单位",
  14887. "type": "number"
  14888. },
  14889. "buyorsell": {
  14890. "description": "买卖 - 0:买 1:卖",
  14891. "type": "integer"
  14892. },
  14893. "currencysign": {
  14894. "description": "货币符号",
  14895. "type": "string"
  14896. },
  14897. "decimalplace": {
  14898. "description": "报价小数位",
  14899. "type": "integer"
  14900. },
  14901. "goodscode": {
  14902. "description": "商品代码(内部)",
  14903. "type": "string"
  14904. },
  14905. "goodsid": {
  14906. "description": "商品ID",
  14907. "type": "integer"
  14908. },
  14909. "goodsname": {
  14910. "description": "商品名称",
  14911. "type": "string"
  14912. },
  14913. "marketid": {
  14914. "description": "市场ID",
  14915. "type": "integer"
  14916. },
  14917. "orderid": {
  14918. "description": "单号(发布中 - 委托单号;已完成 - 成交单号)",
  14919. "type": "string"
  14920. },
  14921. "ordertype": {
  14922. "description": "单据类型:0 - 发布中, 1 - 已完成",
  14923. "type": "integer"
  14924. },
  14925. "picurls": {
  14926. "description": "介绍图片[多张用逗号分隔]",
  14927. "type": "string"
  14928. },
  14929. "price": {
  14930. "description": "价格",
  14931. "type": "number"
  14932. },
  14933. "qty": {
  14934. "description": "数量",
  14935. "type": "integer"
  14936. },
  14937. "time": {
  14938. "description": "时间",
  14939. "type": "string"
  14940. },
  14941. "trademode": {
  14942. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  14943. "type": "integer"
  14944. },
  14945. "vendorname": {
  14946. "description": "供应商名称",
  14947. "type": "string"
  14948. }
  14949. }
  14950. },
  14951. "models.HsbyTopGoods": {
  14952. "type": "object",
  14953. "required": [
  14954. "goodscode",
  14955. "goodsid",
  14956. "goodsname",
  14957. "marketid",
  14958. "trademode"
  14959. ],
  14960. "properties": {
  14961. "agreeunit": {
  14962. "description": "合约单位",
  14963. "type": "number"
  14964. },
  14965. "currency": {
  14966. "description": "货币",
  14967. "type": "string"
  14968. },
  14969. "currencysign": {
  14970. "description": "货币符号",
  14971. "type": "string"
  14972. },
  14973. "decimalplace": {
  14974. "description": "报价小数位",
  14975. "type": "integer"
  14976. },
  14977. "desccityid": {
  14978. "description": "目的地(市)",
  14979. "type": "integer"
  14980. },
  14981. "descprovinceid": {
  14982. "description": "目的地(省)",
  14983. "type": "integer"
  14984. },
  14985. "goodscode": {
  14986. "description": "商品代码(内部)",
  14987. "type": "string"
  14988. },
  14989. "goodsid": {
  14990. "description": "商品ID(自增ID SEQ_GOODS)",
  14991. "type": "integer"
  14992. },
  14993. "goodsname": {
  14994. "description": "商品名称",
  14995. "type": "string"
  14996. },
  14997. "hotindex": {
  14998. "description": "景点热度",
  14999. "type": "integer"
  15000. },
  15001. "last": {
  15002. "description": "现价",
  15003. "type": "number"
  15004. },
  15005. "marketid": {
  15006. "description": "所属市场ID",
  15007. "type": "integer"
  15008. },
  15009. "picurls": {
  15010. "description": "介绍图片[多张用逗号分隔]",
  15011. "type": "string"
  15012. },
  15013. "quoteminunit": {
  15014. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  15015. "type": "integer"
  15016. },
  15017. "trademode": {
  15018. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  15019. "type": "integer"
  15020. },
  15021. "videourls": {
  15022. "description": "介绍视频[多张用逗号分隔]",
  15023. "type": "string"
  15024. }
  15025. }
  15026. },
  15027. "models.HybsMyBuyOrderDetail": {
  15028. "type": "object",
  15029. "required": [
  15030. "accountid",
  15031. "buyorsell",
  15032. "goodscode",
  15033. "goodsid",
  15034. "goodsname",
  15035. "marketid",
  15036. "orderid",
  15037. "orderqty",
  15038. "ordertime",
  15039. "trademode"
  15040. ],
  15041. "properties": {
  15042. "accountid": {
  15043. "description": "账户ID[报价币种]",
  15044. "type": "integer"
  15045. },
  15046. "agreeunit": {
  15047. "description": "合约单位",
  15048. "type": "number"
  15049. },
  15050. "buyorsell": {
  15051. "description": "买卖 - 0:买 1:卖",
  15052. "type": "integer"
  15053. },
  15054. "cancelqty": {
  15055. "description": "撤单数量",
  15056. "type": "integer"
  15057. },
  15058. "currencysign": {
  15059. "description": "货币符号",
  15060. "type": "string"
  15061. },
  15062. "decimalplace": {
  15063. "description": "报价小数位",
  15064. "type": "integer"
  15065. },
  15066. "goodscode": {
  15067. "description": "商品代码(内部)",
  15068. "type": "string"
  15069. },
  15070. "goodsid": {
  15071. "description": "商品ID",
  15072. "type": "integer"
  15073. },
  15074. "goodsname": {
  15075. "description": "商品名称",
  15076. "type": "string"
  15077. },
  15078. "listingselecttype": {
  15079. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  15080. "type": "integer"
  15081. },
  15082. "marketid": {
  15083. "description": "市场ID",
  15084. "type": "integer"
  15085. },
  15086. "mybuystatus": {
  15087. "description": "\"我的订单\"显示状态- 1:抢购中 2:求购中 3:已完成 4:已撤消 5:委托失败",
  15088. "type": "integer"
  15089. },
  15090. "orderamount": {
  15091. "description": "委托金额",
  15092. "type": "number"
  15093. },
  15094. "orderid": {
  15095. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  15096. "type": "string"
  15097. },
  15098. "orderprice": {
  15099. "description": "委托价格",
  15100. "type": "number"
  15101. },
  15102. "orderqty": {
  15103. "description": "委托数量",
  15104. "type": "integer"
  15105. },
  15106. "orderstatus": {
  15107. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  15108. "type": "integer"
  15109. },
  15110. "ordertime": {
  15111. "description": "委托时间",
  15112. "type": "string"
  15113. },
  15114. "picurls1": {
  15115. "description": "预售商品介绍图片[多张用逗号分隔]",
  15116. "type": "string"
  15117. },
  15118. "picurls2": {
  15119. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  15120. "type": "string"
  15121. },
  15122. "trademode": {
  15123. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  15124. "type": "integer"
  15125. },
  15126. "tradeqty": {
  15127. "description": "成交数量",
  15128. "type": "integer"
  15129. },
  15130. "vendorname1": {
  15131. "description": "预售商品供应商名称",
  15132. "type": "string"
  15133. },
  15134. "vendorname2": {
  15135. "description": "挂牌商品供应商名称",
  15136. "type": "string"
  15137. }
  15138. }
  15139. },
  15140. "models.Loginaccount": {
  15141. "type": "object",
  15142. "required": [
  15143. "loginid"
  15144. ],
  15145. "properties": {
  15146. "canoutin": {
  15147. "description": "是否可出入金 - 0:不可 1:可",
  15148. "type": "integer"
  15149. },
  15150. "clientroleid": {
  15151. "description": "终端角色ID",
  15152. "type": "integer"
  15153. },
  15154. "haslogined": {
  15155. "description": "是否已登录 - 0:未登录 1:已登录",
  15156. "type": "integer"
  15157. },
  15158. "hasupdatedpwd": {
  15159. "description": "是否已更改密码 - 0:未修改 1:已修改",
  15160. "type": "integer"
  15161. },
  15162. "lastloginip": {
  15163. "description": "最新登录地址",
  15164. "type": "string"
  15165. },
  15166. "lastloginmode": {
  15167. "description": "最新登录方式(客户端类型) - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  15168. "type": "integer"
  15169. },
  15170. "lastloginremark": {
  15171. "description": "最新登录描述",
  15172. "type": "string"
  15173. },
  15174. "lastlogintime": {
  15175. "description": "最新登录时间",
  15176. "type": "string"
  15177. },
  15178. "logincode": {
  15179. "description": "登录代码",
  15180. "type": "string"
  15181. },
  15182. "loginfailnum": {
  15183. "description": "连续登录失败次数(登录成功时清零)",
  15184. "type": "integer"
  15185. },
  15186. "loginid": {
  15187. "description": "登陆账号",
  15188. "type": "integer"
  15189. },
  15190. "loginport": {
  15191. "description": "最新登录端口",
  15192. "type": "integer"
  15193. },
  15194. "loginstatus": {
  15195. "description": "登录账号状态 1:正常 2:冻结 3:无效",
  15196. "type": "integer"
  15197. },
  15198. "loginusertype": {
  15199. "description": "登录账号类型 - 1:投资者 2:机构交易员",
  15200. "type": "integer"
  15201. },
  15202. "modifierid": {
  15203. "description": "修改人",
  15204. "type": "integer"
  15205. },
  15206. "modifytime": {
  15207. "description": "修改时间",
  15208. "type": "string"
  15209. },
  15210. "pwdwrongcount": {
  15211. "description": "密码错误次数",
  15212. "type": "integer"
  15213. },
  15214. "taaccountrighttype": {
  15215. "description": "资金账号权限类型 - 1:不选默认为所有权限 2:不选默认为无权限",
  15216. "type": "integer"
  15217. },
  15218. "unfreezetime": {
  15219. "description": "账户解冻时间",
  15220. "type": "string"
  15221. },
  15222. "userid": {
  15223. "description": "用户ID",
  15224. "type": "integer"
  15225. }
  15226. }
  15227. },
  15228. "models.Market": {
  15229. "type": "object",
  15230. "required": [
  15231. "marketid",
  15232. "marketstatus",
  15233. "openmethod",
  15234. "reckonpricealgorithm",
  15235. "trademode",
  15236. "tradeproperty"
  15237. ],
  15238. "properties": {
  15239. "auctionwrtype": {
  15240. "description": "竞拍仓单类型 - 1:无仓单 2:有仓单 3;有无仓单均可",
  15241. "type": "integer"
  15242. },
  15243. "canacceptquote": {
  15244. "description": "确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]",
  15245. "type": "integer"
  15246. },
  15247. "cangoodsexercise": {
  15248. "description": "[期权]是否可现货行权- 0:否 1:是",
  15249. "type": "integer"
  15250. },
  15251. "cangoodsexercisetype": {
  15252. "description": "可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]",
  15253. "type": "integer"
  15254. },
  15255. "canmanualquotestrike": {
  15256. "description": "是否可手动报行权价- 0:否 1:是 [期权]",
  15257. "type": "integer"
  15258. },
  15259. "canmutistage": {
  15260. "description": "是否可多段运行 – 0:不可 1:可 [挂牌期权]",
  15261. "type": "integer"
  15262. },
  15263. "canpreexercise": {
  15264. "description": "[期权]是否可预申报- 0:否 1:是",
  15265. "type": "integer"
  15266. },
  15267. "clearinterval": {
  15268. "description": "待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))",
  15269. "type": "integer"
  15270. },
  15271. "contracttmp": {
  15272. "description": "合同模板[荷兰式][竞价式][仓单贸易]",
  15273. "type": "string"
  15274. },
  15275. "exchareaid": {
  15276. "description": "所属交易所,可以没有",
  15277. "type": "integer"
  15278. },
  15279. "goodstype": {
  15280. "description": "商品类型 - 1:交易商品 2:仓单商品",
  15281. "type": "integer"
  15282. },
  15283. "hasrebate": {
  15284. "description": "是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏",
  15285. "type": "integer"
  15286. },
  15287. "hastradecredit": {
  15288. "description": "是否交易授信[做市收益权] - 0:不授信 1:授信",
  15289. "type": "integer"
  15290. },
  15291. "haswr": {
  15292. "description": "[竞拍]是否需要仓单 - 0:不需要 1:需要-作废",
  15293. "type": "integer"
  15294. },
  15295. "isdeductmargin": {
  15296. "description": "竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除",
  15297. "type": "integer"
  15298. },
  15299. "isrecordsource": {
  15300. "description": "是否记录成交源 - 0:不记录 1:记录 [所有权]",
  15301. "type": "integer"
  15302. },
  15303. "isreleasemargin": {
  15304. "description": "成交参与保证金是否释放[竞价式] - 0:不释放 1释放",
  15305. "type": "integer"
  15306. },
  15307. "marginformula": {
  15308. "description": "持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  15309. "type": "integer"
  15310. },
  15311. "marginformula2": {
  15312. "description": "持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  15313. "type": "integer"
  15314. },
  15315. "marketid": {
  15316. "description": "市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务",
  15317. "type": "integer"
  15318. },
  15319. "marketname": {
  15320. "description": "市场名称",
  15321. "type": "string"
  15322. },
  15323. "marketserviceid": {
  15324. "description": "市场服务ID",
  15325. "type": "integer"
  15326. },
  15327. "marketstatus": {
  15328. "description": "生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销",
  15329. "type": "integer"
  15330. },
  15331. "markettype": {
  15332. "description": "市场类型- 1:非交易服务 2:交易服务",
  15333. "type": "integer"
  15334. },
  15335. "matchermode": {
  15336. "description": "指定对手模式[仓单贸易模式专用] - 1:任意对手",
  15337. "type": "integer"
  15338. },
  15339. "openmethod": {
  15340. "description": "开盘模式 - 0 自动 1手动",
  15341. "type": "integer"
  15342. },
  15343. "otcuserid": {
  15344. "description": "场外期权做市商[场外期权]",
  15345. "type": "integer"
  15346. },
  15347. "outersynctime": {
  15348. "description": "外部同步时间点(h24:mi:ss)[场外期权]",
  15349. "type": "string"
  15350. },
  15351. "pendingflag": {
  15352. "description": "待开市时间标识[通道交易-对冲] - 0:当日 1:上日",
  15353. "type": "integer"
  15354. },
  15355. "pendingtime": {
  15356. "description": "待开市时间[通道交易-对冲](HH:mm)",
  15357. "type": "string"
  15358. },
  15359. "performancetempid": {
  15360. "description": "履约计划模板ID - 作废",
  15361. "type": "integer"
  15362. },
  15363. "premiumquotemode": {
  15364. "description": "权利金报价方式 - 1:自动 2:手动",
  15365. "type": "integer"
  15366. },
  15367. "rebateratio": {
  15368. "description": "返利比率[竞价式]",
  15369. "type": "number"
  15370. },
  15371. "reckonorder": {
  15372. "description": "结算顺序",
  15373. "type": "integer"
  15374. },
  15375. "reckonpricealgorithm": {
  15376. "description": "结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价 6.卖一价 7.买一卖一均价 8.外部结算价",
  15377. "type": "integer"
  15378. },
  15379. "reckonpriceparam": {
  15380. "description": "结算价参数",
  15381. "type": "integer"
  15382. },
  15383. "reckontime": {
  15384. "description": "结算时间[通道交易-对冲](HH:mm)",
  15385. "type": "string"
  15386. },
  15387. "roleprioritytype": {
  15388. "description": "角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]",
  15389. "type": "integer"
  15390. },
  15391. "selllistingauditflag": {
  15392. "description": "卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要",
  15393. "type": "integer"
  15394. },
  15395. "trademarkettype": {
  15396. "description": "交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场",
  15397. "type": "integer"
  15398. },
  15399. "trademode": {
  15400. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  15401. "type": "integer"
  15402. },
  15403. "tradeproperty": {
  15404. "description": "交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易 8:场外期权",
  15405. "type": "integer"
  15406. },
  15407. "tradetype": {
  15408. "description": "下单方式[通道交易] - 1:直接转单 2:净头寸下单",
  15409. "type": "integer"
  15410. }
  15411. }
  15412. },
  15413. "models.Marketrun": {
  15414. "type": "object",
  15415. "required": [
  15416. "marketid",
  15417. "nexttradedate",
  15418. "reckonflag",
  15419. "runstatus",
  15420. "tradedate",
  15421. "tradedate2"
  15422. ],
  15423. "properties": {
  15424. "afternexttradedate": {
  15425. "description": "下下交易日",
  15426. "type": "string"
  15427. },
  15428. "clearquoteflag": {
  15429. "description": "行情清盘标志- 1:未发送 2:已发送 3:已回复",
  15430. "type": "integer"
  15431. },
  15432. "lastreckondate": {
  15433. "description": "最新交易日(结算成功)",
  15434. "type": "string"
  15435. },
  15436. "machinedate": {
  15437. "description": "机器时间",
  15438. "type": "string"
  15439. },
  15440. "manualflag": {
  15441. "description": "手动开市标志- 0:否 1:是 (市场为手动时,是否触发了手动开市标志)",
  15442. "type": "integer"
  15443. },
  15444. "marketid": {
  15445. "description": "市场ID",
  15446. "type": "integer"
  15447. },
  15448. "nexttradedate": {
  15449. "description": "下一交易日",
  15450. "type": "string"
  15451. },
  15452. "pretradedate": {
  15453. "description": "上一交易日",
  15454. "type": "string"
  15455. },
  15456. "reckonflag": {
  15457. "description": "结算标识 - 0: 停止结算 1: 正常(管理端控制此字段,交易服务根据此字段判断是否做结算)",
  15458. "type": "integer"
  15459. },
  15460. "runstatus": {
  15461. "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.今日免清算",
  15462. "type": "integer"
  15463. },
  15464. "sectionid": {
  15465. "description": "时间段号[多时段时用]",
  15466. "type": "integer"
  15467. },
  15468. "tradedate": {
  15469. "description": "当前交易日(服务) 资金结算完成即变更,供交易服务使用",
  15470. "type": "string"
  15471. },
  15472. "tradedate2": {
  15473. "description": "当前交易日(行情) 在第一个市场待开市时变更为TradeDate,供行情及终端系统使用",
  15474. "type": "string"
  15475. },
  15476. "updatetime": {
  15477. "description": "更新时间",
  15478. "type": "string"
  15479. }
  15480. }
  15481. },
  15482. "models.Messageboard": {
  15483. "type": "object",
  15484. "required": [
  15485. "messageboardid"
  15486. ],
  15487. "properties": {
  15488. "contactnum": {
  15489. "description": "联系电话",
  15490. "type": "string"
  15491. },
  15492. "createtime": {
  15493. "description": "创建时间",
  15494. "type": "string"
  15495. },
  15496. "message": {
  15497. "description": "留言信息",
  15498. "type": "string"
  15499. },
  15500. "messageboardid": {
  15501. "description": "留言簿ID(SEQ_MessageBoard)",
  15502. "type": "integer"
  15503. },
  15504. "userid": {
  15505. "description": "用户ID",
  15506. "type": "integer"
  15507. }
  15508. }
  15509. },
  15510. "models.MyCoupon": {
  15511. "type": "object",
  15512. "required": [
  15513. "accountid",
  15514. "coupontypeid"
  15515. ],
  15516. "properties": {
  15517. "accountid": {
  15518. "description": "资金账户ID",
  15519. "type": "integer"
  15520. },
  15521. "areauserid": {
  15522. "description": "所属机构",
  15523. "type": "integer"
  15524. },
  15525. "conditionvalue": {
  15526. "description": "条件阈值(可为0)",
  15527. "type": "number"
  15528. },
  15529. "couponcategroy": {
  15530. "description": "种类 - 1:现金券 2:折扣券 3:折扣券(单张)",
  15531. "type": "integer"
  15532. },
  15533. "couponname": {
  15534. "description": "优惠券名称",
  15535. "type": "string"
  15536. },
  15537. "coupontypeid": {
  15538. "description": "优惠券类型ID",
  15539. "type": "string"
  15540. },
  15541. "couponvalue": {
  15542. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值]",
  15543. "type": "number"
  15544. },
  15545. "curfreezeqty": {
  15546. "description": "期末冻结数量",
  15547. "type": "integer"
  15548. },
  15549. "curqty": {
  15550. "description": "期末数量",
  15551. "type": "integer"
  15552. },
  15553. "isgeneral": {
  15554. "description": "是否通用券 - 0:否 1:是",
  15555. "type": "integer"
  15556. },
  15557. "isunusable": {
  15558. "description": "是否不可用",
  15559. "type": "boolean"
  15560. },
  15561. "limitedflag": {
  15562. "description": "是否指定商品 - 0:不限 1:限制",
  15563. "type": "integer"
  15564. },
  15565. "limitedgoodsids": {
  15566. "description": "指定商品IDs[逗号分隔,前后加逗号]",
  15567. "type": "string"
  15568. },
  15569. "orifreezeqty": {
  15570. "description": "期初冻结数量",
  15571. "type": "integer"
  15572. },
  15573. "oriqty": {
  15574. "description": "期初数量",
  15575. "type": "integer"
  15576. },
  15577. "reasontype": {
  15578. "description": "不可用原因 - 0:未确认 1:不可用于此商品 2:不可用于此卖家",
  15579. "type": "integer"
  15580. },
  15581. "todaydecrease": {
  15582. "description": "今日减少",
  15583. "type": "integer"
  15584. },
  15585. "todayincrease": {
  15586. "description": "今日增加",
  15587. "type": "integer"
  15588. },
  15589. "userid": {
  15590. "description": "用户ID",
  15591. "type": "integer"
  15592. },
  15593. "userscope": {
  15594. "description": "卖家范围(用户ID,逗号分隔,前后加逗号) [IsGeneral =0时使用]",
  15595. "type": "string"
  15596. }
  15597. }
  15598. },
  15599. "models.MyCouponHold": {
  15600. "type": "object",
  15601. "required": [
  15602. "couponholdid"
  15603. ],
  15604. "properties": {
  15605. "accountid": {
  15606. "description": "资金账户ID",
  15607. "type": "integer"
  15608. },
  15609. "conditionvalue": {
  15610. "description": "条件阈值(可为0)",
  15611. "type": "number"
  15612. },
  15613. "couponcategroy": {
  15614. "description": "种类 - 1:现金券 2:折扣券 3:折扣券(单个商品)",
  15615. "type": "integer"
  15616. },
  15617. "couponholdid": {
  15618. "description": "优惠券持仓ID(229+Unix秒时间戳(10位)+xxxxxx)",
  15619. "type": "string"
  15620. },
  15621. "couponname": {
  15622. "description": "优惠券名称",
  15623. "type": "string"
  15624. },
  15625. "coupontypeid": {
  15626. "description": "优惠券类型ID - SEQ_COUPONTYPE",
  15627. "type": "string"
  15628. },
  15629. "couponvalue": {
  15630. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值]",
  15631. "type": "number"
  15632. },
  15633. "createtime": {
  15634. "description": "创建时间",
  15635. "type": "string"
  15636. },
  15637. "enddate": {
  15638. "description": "结束日期",
  15639. "type": "string"
  15640. },
  15641. "giveapplyid": {
  15642. "description": "发放申请ID(SEQ_COUPONGIVEAPPLY)",
  15643. "type": "integer"
  15644. },
  15645. "holdstatus": {
  15646. "description": "持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期",
  15647. "type": "integer"
  15648. },
  15649. "isgeneral": {
  15650. "description": "是否通用券 - 0:否 1:是",
  15651. "type": "integer"
  15652. },
  15653. "limitedflag": {
  15654. "description": "是否指定商品 - 0:不限 1:限制",
  15655. "type": "integer"
  15656. },
  15657. "limitedgoodsids": {
  15658. "description": "指定商品IDs[逗号分隔]",
  15659. "type": "string"
  15660. },
  15661. "qty": {
  15662. "description": "数量(按1平铺)",
  15663. "type": "integer"
  15664. },
  15665. "startdate": {
  15666. "description": "开始日期",
  15667. "type": "string"
  15668. },
  15669. "userid": {
  15670. "description": "用户ID",
  15671. "type": "integer"
  15672. },
  15673. "userscope": {
  15674. "description": "卖家范围(用户ID,逗号分隔) [IsGeneral =0时使用]",
  15675. "type": "string"
  15676. }
  15677. }
  15678. },
  15679. "models.MyUsedCoupon": {
  15680. "type": "object",
  15681. "required": [
  15682. "coupontypeid",
  15683. "orderid"
  15684. ],
  15685. "properties": {
  15686. "accountid": {
  15687. "description": "资金账户ID(买方)",
  15688. "type": "integer"
  15689. },
  15690. "conditionvalue": {
  15691. "description": "条件阈值(可为0)",
  15692. "type": "number"
  15693. },
  15694. "couponcategroy": {
  15695. "description": "种类 - 1:现金券 2:折扣券",
  15696. "type": "integer"
  15697. },
  15698. "couponname": {
  15699. "description": "优惠券名称",
  15700. "type": "string"
  15701. },
  15702. "coupontypeid": {
  15703. "description": "优惠券类型ID(买方)",
  15704. "type": "string"
  15705. },
  15706. "couponvalue": {
  15707. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值(0-100)]",
  15708. "type": "number"
  15709. },
  15710. "createtime": {
  15711. "description": "创建时间",
  15712. "type": "string"
  15713. },
  15714. "goodsid": {
  15715. "description": "商品ID",
  15716. "type": "integer"
  15717. },
  15718. "handlestatus": {
  15719. "description": "处理状态",
  15720. "type": "integer"
  15721. },
  15722. "marketid": {
  15723. "description": "市场ID",
  15724. "type": "integer"
  15725. },
  15726. "offamount": {
  15727. "description": "优惠金额",
  15728. "type": "number"
  15729. },
  15730. "orderid": {
  15731. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  15732. "type": "string"
  15733. },
  15734. "sellaccountid": {
  15735. "description": "资金账户ID(卖方)",
  15736. "type": "integer"
  15737. },
  15738. "tradeamount": {
  15739. "description": "成交金额",
  15740. "type": "number"
  15741. },
  15742. "tradeid": {
  15743. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  15744. "type": "string"
  15745. },
  15746. "usedqty": {
  15747. "description": "使用数量",
  15748. "type": "integer"
  15749. }
  15750. }
  15751. },
  15752. "models.OperationPrimaryMenu": {
  15753. "type": "object",
  15754. "properties": {
  15755. "Children": {
  15756. "description": "二级功能菜单",
  15757. "type": "array",
  15758. "items": {
  15759. "$ref": "#/definitions/models.OperationSecondaryMenu"
  15760. }
  15761. },
  15762. "Key": {
  15763. "description": "菜单KEY",
  15764. "type": "string"
  15765. },
  15766. "Label": {
  15767. "description": "菜单标题",
  15768. "type": "string"
  15769. }
  15770. }
  15771. },
  15772. "models.OperationSecondaryMenu": {
  15773. "type": "object",
  15774. "properties": {
  15775. "Key": {
  15776. "description": "菜单KEY",
  15777. "type": "string"
  15778. },
  15779. "Label": {
  15780. "description": "菜单标题",
  15781. "type": "string"
  15782. },
  15783. "TabList": {
  15784. "description": "三级功能菜单",
  15785. "type": "array",
  15786. "items": {
  15787. "$ref": "#/definitions/models.OperationTabMenu"
  15788. }
  15789. }
  15790. }
  15791. },
  15792. "models.OperationTabMenu": {
  15793. "type": "object",
  15794. "properties": {
  15795. "Key": {
  15796. "description": "菜单KEY",
  15797. "type": "string"
  15798. },
  15799. "Label": {
  15800. "description": "菜单标题",
  15801. "type": "string"
  15802. }
  15803. }
  15804. },
  15805. "models.PendingAuditBizModel": {
  15806. "type": "object",
  15807. "properties": {
  15808. "accountid": {
  15809. "description": "现货账户",
  15810. "type": "string"
  15811. },
  15812. "areaname": {
  15813. "description": "所属部门",
  15814. "type": "string"
  15815. },
  15816. "bizid": {
  15817. "description": "业务ID",
  15818. "type": "string"
  15819. },
  15820. "bizname": {
  15821. "description": "业务名称",
  15822. "type": "string"
  15823. },
  15824. "status": {
  15825. "description": "状态,0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  15826. "type": "integer"
  15827. },
  15828. "type": {
  15829. "description": "业务类型,1-期现套利,2-仓单回购,3-现货贸易",
  15830. "type": "integer"
  15831. }
  15832. }
  15833. },
  15834. "models.QueryErrorInfosRsp": {
  15835. "type": "object",
  15836. "required": [
  15837. "errorid"
  15838. ],
  15839. "properties": {
  15840. "description": {
  15841. "description": "异常描述",
  15842. "type": "string"
  15843. },
  15844. "errorcode": {
  15845. "description": "异常代码",
  15846. "type": "string"
  15847. },
  15848. "errorid": {
  15849. "description": "异常ID",
  15850. "type": "integer"
  15851. },
  15852. "modulecode": {
  15853. "description": "所属模块",
  15854. "type": "string"
  15855. },
  15856. "operatecode": {
  15857. "description": "所属操作",
  15858. "type": "string"
  15859. },
  15860. "rownumber": {
  15861. "description": "行号",
  15862. "type": "string"
  15863. }
  15864. }
  15865. },
  15866. "models.QueryHedgeOrderDetailRsp": {
  15867. "type": "object",
  15868. "properties": {
  15869. "accountid": {
  15870. "description": "账户ID",
  15871. "type": "integer"
  15872. },
  15873. "buyorsell": {
  15874. "description": "买卖 - 0:买 1:卖",
  15875. "type": "integer"
  15876. },
  15877. "channelbuildtype": {
  15878. "description": "开平标志 - 0:无 1:建仓 2:平仓",
  15879. "type": "integer"
  15880. },
  15881. "channelinnerorderstatus": {
  15882. "description": "委托状态 - 1:委托请求 2:冻结成功 3:委托失败 4:委托部成部失败 5:委托成功 6:全部撤销 7:部成部撤 8:部成部撤部失败 9:全部成交",
  15883. "type": "integer"
  15884. },
  15885. "channeloperatetype": {
  15886. "description": "操作类型 - 1:正常委托 2:斩仓委托 3:强平委托",
  15887. "type": "integer"
  15888. },
  15889. "closetype": {
  15890. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  15891. "type": "integer"
  15892. },
  15893. "curexchangerate": {
  15894. "description": "当前汇率",
  15895. "type": "number"
  15896. },
  15897. "exchangefullname": {
  15898. "description": "外部交易所全称",
  15899. "type": "string"
  15900. },
  15901. "goodscode": {
  15902. "description": "商品代码(内部)",
  15903. "type": "string"
  15904. },
  15905. "goodsid": {
  15906. "description": "商品ID",
  15907. "type": "integer"
  15908. },
  15909. "goodsname": {
  15910. "description": "商品名称",
  15911. "type": "string"
  15912. },
  15913. "marketid": {
  15914. "description": "市场ID",
  15915. "type": "integer"
  15916. },
  15917. "openfreezemargin": {
  15918. "description": "冻结保证金(冻结交易金额)",
  15919. "type": "number"
  15920. },
  15921. "orderid": {
  15922. "description": "委托单号(107+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  15923. "type": "string"
  15924. },
  15925. "orderprice": {
  15926. "description": "委托价格(账户)",
  15927. "type": "number"
  15928. },
  15929. "orderqty": {
  15930. "description": "委托数量",
  15931. "type": "integer"
  15932. },
  15933. "ordertime": {
  15934. "description": "委托时间",
  15935. "type": "string"
  15936. },
  15937. "pricemode": {
  15938. "description": "取价方式 - 1:市价 2: 限价",
  15939. "type": "integer"
  15940. },
  15941. "tradedate": {
  15942. "description": "交易日(yyyyMMdd)",
  15943. "type": "string"
  15944. },
  15945. "tradeqty": {
  15946. "description": "成交数量",
  15947. "type": "integer"
  15948. }
  15949. }
  15950. },
  15951. "models.QueryHedgeTradeDetailRsp": {
  15952. "type": "object",
  15953. "properties": {
  15954. "accountid": {
  15955. "description": "账号ID",
  15956. "type": "integer"
  15957. },
  15958. "buyorsell": {
  15959. "description": "方向 - 0:买 1:卖",
  15960. "type": "integer"
  15961. },
  15962. "channelbuildtype": {
  15963. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  15964. "type": "integer"
  15965. },
  15966. "closecharge": {
  15967. "description": "平仓手续费(账户)",
  15968. "type": "number"
  15969. },
  15970. "closecharge2": {
  15971. "description": "平仓手续费(商品)",
  15972. "type": "number"
  15973. },
  15974. "closetype": {
  15975. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  15976. "type": "integer"
  15977. },
  15978. "curexchangerate": {
  15979. "description": "当前汇率",
  15980. "type": "number"
  15981. },
  15982. "exchangefullname": {
  15983. "description": "外部交易所全称",
  15984. "type": "string"
  15985. },
  15986. "goodscode": {
  15987. "description": "商品代码(内部)",
  15988. "type": "string"
  15989. },
  15990. "goodsid": {
  15991. "description": "商品ID",
  15992. "type": "integer"
  15993. },
  15994. "goodsname": {
  15995. "description": "商品名称",
  15996. "type": "string"
  15997. },
  15998. "marketid": {
  15999. "description": "市场ID",
  16000. "type": "integer"
  16001. },
  16002. "opencharge": {
  16003. "description": "建仓手续费(账户)",
  16004. "type": "number"
  16005. },
  16006. "opencharge2": {
  16007. "description": "建仓手续费(商品)",
  16008. "type": "number"
  16009. },
  16010. "orderid": {
  16011. "description": "委托单号",
  16012. "type": "string"
  16013. },
  16014. "tradeamount": {
  16015. "description": "成交金额(账户)",
  16016. "type": "number"
  16017. },
  16018. "tradedate": {
  16019. "description": "交易日(yyyyMMdd)",
  16020. "type": "string"
  16021. },
  16022. "tradeid": {
  16023. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  16024. "type": "string"
  16025. },
  16026. "tradeprice": {
  16027. "description": "成交价格",
  16028. "type": "number"
  16029. },
  16030. "tradeqty": {
  16031. "description": "成交数量",
  16032. "type": "integer"
  16033. },
  16034. "tradetime": {
  16035. "description": "成交时间",
  16036. "type": "string"
  16037. },
  16038. "tradetype": {
  16039. "description": "成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交",
  16040. "type": "integer"
  16041. }
  16042. }
  16043. },
  16044. "models.QuotePrimaryMenu": {
  16045. "type": "object",
  16046. "properties": {
  16047. "Index": {
  16048. "description": "序号",
  16049. "type": "integer"
  16050. },
  16051. "Key": {
  16052. "description": "键名",
  16053. "type": "string"
  16054. },
  16055. "Name": {
  16056. "description": "菜单名称",
  16057. "type": "string"
  16058. },
  16059. "SubMenus": {
  16060. "description": "子菜单",
  16061. "type": "array",
  16062. "items": {
  16063. "$ref": "#/definitions/models.QuoteSecondaryMenu"
  16064. }
  16065. },
  16066. "SubTitleType": {
  16067. "description": "子菜单标题模式:0-市场名称;1-外部交易所名称",
  16068. "type": "integer"
  16069. },
  16070. "TradeModes": {
  16071. "description": "包含市场交易类型",
  16072. "type": "string"
  16073. }
  16074. }
  16075. },
  16076. "models.QuoteSecondaryMenu": {
  16077. "type": "object",
  16078. "properties": {
  16079. "ExExchangeCode": {
  16080. "description": "外部交易所代码",
  16081. "type": "string"
  16082. },
  16083. "ExExchangeID": {
  16084. "description": "外部交易所ID",
  16085. "type": "integer"
  16086. },
  16087. "GoodsGroupIDs": {
  16088. "description": "商品组ID列表",
  16089. "type": "array",
  16090. "items": {
  16091. "type": "integer"
  16092. }
  16093. },
  16094. "Index": {
  16095. "description": "序号",
  16096. "type": "integer"
  16097. },
  16098. "MarketID": {
  16099. "description": "市场ID",
  16100. "type": "integer"
  16101. },
  16102. "MenuTitle": {
  16103. "description": "菜单标题(市场名称或外部交易所名称)",
  16104. "type": "string"
  16105. },
  16106. "TradeMode": {
  16107. "description": "交易模式",
  16108. "type": "integer"
  16109. }
  16110. }
  16111. },
  16112. "models.RelatedGoodsEx": {
  16113. "type": "object",
  16114. "properties": {
  16115. "goodscode": {
  16116. "description": "商品代码",
  16117. "type": "string"
  16118. },
  16119. "goodsid": {
  16120. "description": "商品id",
  16121. "type": "integer"
  16122. },
  16123. "goodsname": {
  16124. "description": "商品名称",
  16125. "type": "string"
  16126. }
  16127. }
  16128. },
  16129. "models.SearchGoods": {
  16130. "type": "object",
  16131. "required": [
  16132. "goodscode",
  16133. "goodsid",
  16134. "goodsname",
  16135. "marketid",
  16136. "trademode"
  16137. ],
  16138. "properties": {
  16139. "goodscode": {
  16140. "description": "商品代码(内部)",
  16141. "type": "string"
  16142. },
  16143. "goodsid": {
  16144. "description": "商品ID(自增ID SEQ_GOODS)",
  16145. "type": "integer"
  16146. },
  16147. "goodsname": {
  16148. "description": "商品名称",
  16149. "type": "string"
  16150. },
  16151. "marketid": {
  16152. "description": "所属市场ID",
  16153. "type": "integer"
  16154. },
  16155. "marketname": {
  16156. "description": "市场名称",
  16157. "type": "string"
  16158. },
  16159. "trademode": {
  16160. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  16161. "type": "integer"
  16162. }
  16163. }
  16164. },
  16165. "models.Systemparam": {
  16166. "type": "object",
  16167. "required": [
  16168. "paramcode"
  16169. ],
  16170. "properties": {
  16171. "loginid": {
  16172. "description": "更新用户账号,登录账号",
  16173. "type": "string"
  16174. },
  16175. "modifyflag": {
  16176. "description": "修改标志0 不允许修改 1 允许修改",
  16177. "type": "integer"
  16178. },
  16179. "paramcode": {
  16180. "description": "参数代码",
  16181. "type": "string"
  16182. },
  16183. "paramname": {
  16184. "description": "参数名",
  16185. "type": "string"
  16186. },
  16187. "paramtype": {
  16188. "description": "参数类型 0-通用 1-管理端 2-终端 3-后台 4-商城",
  16189. "type": "integer"
  16190. },
  16191. "paramvalue": {
  16192. "description": "参数值",
  16193. "type": "string"
  16194. },
  16195. "paramvalue2": {
  16196. "description": "参数值(CLOB)",
  16197. "type": "string"
  16198. },
  16199. "regexpress": {
  16200. "description": "正则表达式",
  16201. "type": "string"
  16202. },
  16203. "remark": {
  16204. "description": "备注",
  16205. "type": "string"
  16206. },
  16207. "serverip": {
  16208. "description": "限制服务器IP,备份参数,现在界面不用显示0.0.0.0则无限制,是通用参数192.168.0.211 指定服务器的参数配置",
  16209. "type": "string"
  16210. },
  16211. "showflag": {
  16212. "description": "是否显示0 不显示 1 显示",
  16213. "type": "integer"
  16214. },
  16215. "updatetime": {
  16216. "description": "更新时间",
  16217. "type": "string"
  16218. },
  16219. "userid": {
  16220. "description": "更新用户ID",
  16221. "type": "integer"
  16222. }
  16223. }
  16224. },
  16225. "models.Szdz3convertconfig": {
  16226. "type": "object",
  16227. "required": [
  16228. "converttype",
  16229. "innergoodsid",
  16230. "outergoodscode"
  16231. ],
  16232. "properties": {
  16233. "canin": {
  16234. "description": "是否可转入 - 0:不可 1:可 [5:花生米转交易]",
  16235. "type": "integer"
  16236. },
  16237. "canout": {
  16238. "description": "是否可转出 - 0:不可 1:可 [5:花生米转交易]",
  16239. "type": "integer"
  16240. },
  16241. "converttype": {
  16242. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)",
  16243. "type": "integer"
  16244. },
  16245. "createtime": {
  16246. "description": "创建时间",
  16247. "type": "string"
  16248. },
  16249. "creatorid": {
  16250. "description": "创建人",
  16251. "type": "integer"
  16252. },
  16253. "daymaxvalue": {
  16254. "description": "当日最大转入限制",
  16255. "type": "number"
  16256. },
  16257. "freezedays": {
  16258. "description": "冻结天数 [5:花生米转交易]",
  16259. "type": "integer"
  16260. },
  16261. "innergoodsid": {
  16262. "description": "内部商品ID[交易]",
  16263. "type": "integer"
  16264. },
  16265. "inratio": {
  16266. "description": "目标值",
  16267. "type": "integer"
  16268. },
  16269. "modifierid": {
  16270. "description": "修改人",
  16271. "type": "integer"
  16272. },
  16273. "modifytime": {
  16274. "description": "修改时间",
  16275. "type": "string"
  16276. },
  16277. "outergoodscode": {
  16278. "description": "外部商品代码[JD\\PD]",
  16279. "type": "string"
  16280. },
  16281. "outratio": {
  16282. "description": "源值",
  16283. "type": "integer"
  16284. },
  16285. "pddecimalplace": {
  16286. "description": "PD小数位",
  16287. "type": "integer"
  16288. },
  16289. "timemaxvalue": {
  16290. "description": "单次最大转入限制",
  16291. "type": "number"
  16292. },
  16293. "timeminvalue": {
  16294. "description": "单次最小转入限制",
  16295. "type": "number"
  16296. }
  16297. }
  16298. },
  16299. "models.Szdz3searchwhitelist": {
  16300. "type": "object",
  16301. "required": [
  16302. "userid"
  16303. ],
  16304. "properties": {
  16305. "createtime": {
  16306. "description": "创建时间",
  16307. "type": "string"
  16308. },
  16309. "creatorid": {
  16310. "description": "创建人",
  16311. "type": "integer"
  16312. },
  16313. "modifierid": {
  16314. "description": "修改人",
  16315. "type": "integer"
  16316. },
  16317. "modifytime": {
  16318. "description": "修改时间",
  16319. "type": "string"
  16320. },
  16321. "userid": {
  16322. "description": "用户ID",
  16323. "type": "integer"
  16324. }
  16325. }
  16326. },
  16327. "models.Taaccount": {
  16328. "type": "object",
  16329. "required": [
  16330. "accountid",
  16331. "userid"
  16332. ],
  16333. "properties": {
  16334. "accountflag": {
  16335. "description": "账户标识 - 0\\1 (默认为0, 当上级账户与本账户的关联用户均为自己时更新为1)",
  16336. "type": "integer"
  16337. },
  16338. "accountid": {
  16339. "description": "资金账户ID",
  16340. "type": "integer"
  16341. },
  16342. "accountname": {
  16343. "description": "账户名称",
  16344. "type": "string"
  16345. },
  16346. "balance": {
  16347. "description": "期初余额",
  16348. "type": "number"
  16349. },
  16350. "capitalbalance": {
  16351. "description": "本金余额[外部子账户实际出入金余额]",
  16352. "type": "number"
  16353. },
  16354. "changeflag": {
  16355. "description": "变动标志(当前账户资金有任何变动更新为1系统结算时更新0;供清算时使用) 0:无变动 1:有变动",
  16356. "type": "integer"
  16357. },
  16358. "changetime": {
  16359. "description": "账户状态变更时间",
  16360. "type": "string"
  16361. },
  16362. "closepl": {
  16363. "description": "今日平仓盈亏",
  16364. "type": "number"
  16365. },
  16366. "creditdecrease": {
  16367. "description": "今日授信减少",
  16368. "type": "number"
  16369. },
  16370. "creditincrease": {
  16371. "description": "今日授信增加",
  16372. "type": "number"
  16373. },
  16374. "currencyid": {
  16375. "description": "货币ID",
  16376. "type": "integer"
  16377. },
  16378. "currentbalance": {
  16379. "description": "期末余额",
  16380. "type": "number"
  16381. },
  16382. "freezecharge": {
  16383. "description": "手续费冻结",
  16384. "type": "number"
  16385. },
  16386. "freezemargin": {
  16387. "description": "冻结保证金",
  16388. "type": "number"
  16389. },
  16390. "fromaccountid": {
  16391. "description": "所属上级账户",
  16392. "type": "integer"
  16393. },
  16394. "inamount": {
  16395. "description": "今日入金金额(包括三方入金)",
  16396. "type": "number"
  16397. },
  16398. "ismain": {
  16399. "description": "是否母账号 0:不是母账户 1:是母账户",
  16400. "type": "integer"
  16401. },
  16402. "ismarketaccount": {
  16403. "description": "是否机构接单账号 0:不是 1:是",
  16404. "type": "integer"
  16405. },
  16406. "isreckonaccount": {
  16407. "description": "是否机构分润账号 0:不是 1:是",
  16408. "type": "integer"
  16409. },
  16410. "mortgagecredit": {
  16411. "description": "授信金额",
  16412. "type": "number"
  16413. },
  16414. "orifreezecharge": {
  16415. "description": "期初手续费冻结",
  16416. "type": "number"
  16417. },
  16418. "orifreezemargin": {
  16419. "description": "期初冻结保证金",
  16420. "type": "number"
  16421. },
  16422. "orimortgagecredit": {
  16423. "description": "期初授信金额",
  16424. "type": "number"
  16425. },
  16426. "oriothercredit": {
  16427. "description": "期初其它授信金额",
  16428. "type": "number"
  16429. },
  16430. "oriotherfreezemargin": {
  16431. "description": "期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)",
  16432. "type": "number"
  16433. },
  16434. "orioutamountfreeze": {
  16435. "description": "期初出金冻结",
  16436. "type": "number"
  16437. },
  16438. "oriusedmargin": {
  16439. "description": "期初占用保证金",
  16440. "type": "number"
  16441. },
  16442. "othercredit": {
  16443. "description": "其它授信金额",
  16444. "type": "number"
  16445. },
  16446. "othercreditdecrease": {
  16447. "description": "今日其它授信减少",
  16448. "type": "number"
  16449. },
  16450. "othercreditincrease": {
  16451. "description": "今日其它授信增加",
  16452. "type": "number"
  16453. },
  16454. "otherfreezemargin": {
  16455. "description": "其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)",
  16456. "type": "number"
  16457. },
  16458. "otherincome": {
  16459. "description": "其他收入(交割收款 申购收款 全款卖出 商城卖出 买家退货 会员手续费收入)",
  16460. "type": "number"
  16461. },
  16462. "otherpay": {
  16463. "description": "其他支出(交割付款 申购付款 全款买入 商城买入 卖家退货)",
  16464. "type": "number"
  16465. },
  16466. "outamount": {
  16467. "description": "今日出金金额(包括三方出金)",
  16468. "type": "number"
  16469. },
  16470. "outamountfreeze": {
  16471. "description": "出金冻结",
  16472. "type": "number"
  16473. },
  16474. "outthreshold": {
  16475. "description": "出金阈值",
  16476. "type": "number"
  16477. },
  16478. "parentaccountid": {
  16479. "description": "所属根账号",
  16480. "type": "integer"
  16481. },
  16482. "paycharge": {
  16483. "description": "今日手续费支出",
  16484. "type": "number"
  16485. },
  16486. "relatedaccountstatus": {
  16487. "description": "关联用户交易权限状态 - 1:正常(可交易) 2:受限(可平仓,不可建仓) 3:冻结(不可交易)",
  16488. "type": "integer"
  16489. },
  16490. "relateduserid": {
  16491. "description": "关联用户",
  16492. "type": "integer"
  16493. },
  16494. "serivcegroup": {
  16495. "description": "服务分组",
  16496. "type": "integer"
  16497. },
  16498. "signstatus": {
  16499. "description": "签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中",
  16500. "type": "integer"
  16501. },
  16502. "sublevelpath": {
  16503. "description": "账号层级路径(逗号分隔,首尾加逗号)",
  16504. "type": "string"
  16505. },
  16506. "taaccounttype": {
  16507. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  16508. "type": "integer"
  16509. },
  16510. "thirdinamount": {
  16511. "description": "今日三方入金",
  16512. "type": "number"
  16513. },
  16514. "thirdoutamount": {
  16515. "description": "今日三方出金",
  16516. "type": "number"
  16517. },
  16518. "tradestatus": {
  16519. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  16520. "type": "integer"
  16521. },
  16522. "tradestatuschangetime": {
  16523. "description": "激活时间",
  16524. "type": "string"
  16525. },
  16526. "transferamount": {
  16527. "description": "今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)",
  16528. "type": "number"
  16529. },
  16530. "usedmargin": {
  16531. "description": "占用保证金",
  16532. "type": "number"
  16533. },
  16534. "userid": {
  16535. "description": "用户ID",
  16536. "type": "integer"
  16537. }
  16538. }
  16539. },
  16540. "models.Tablecolumnconfig": {
  16541. "type": "object",
  16542. "required": [
  16543. "autoid"
  16544. ],
  16545. "properties": {
  16546. "aligntype": {
  16547. "description": "对齐方式 - 1:居中对齐 2:左对齐 3:右对齐",
  16548. "type": "integer"
  16549. },
  16550. "autoid": {
  16551. "description": "AutoID",
  16552. "type": "integer"
  16553. },
  16554. "columnfield": {
  16555. "description": "列字段",
  16556. "type": "string"
  16557. },
  16558. "columntitle": {
  16559. "description": "列Title",
  16560. "type": "string"
  16561. },
  16562. "columnwidth": {
  16563. "description": "列宽",
  16564. "type": "string"
  16565. },
  16566. "formatterstring": {
  16567. "description": "格式化字符",
  16568. "type": "string"
  16569. },
  16570. "formattertype": {
  16571. "description": "格式化类型",
  16572. "type": "string"
  16573. },
  16574. "groupname": {
  16575. "description": "表头分组名称",
  16576. "type": "string"
  16577. },
  16578. "isshow": {
  16579. "description": "是否显示 - 0:不显示 1:显示",
  16580. "type": "integer"
  16581. },
  16582. "needsummary": {
  16583. "description": "是否需要汇总 - 0:不需要 1:需要",
  16584. "type": "integer"
  16585. },
  16586. "orderindex": {
  16587. "description": "顺序",
  16588. "type": "integer"
  16589. },
  16590. "remark": {
  16591. "description": "备注",
  16592. "type": "string"
  16593. },
  16594. "summarytype": {
  16595. "description": "汇总类型 - 1:加总 2:最后一个",
  16596. "type": "integer"
  16597. },
  16598. "tablekey": {
  16599. "description": "列表Key",
  16600. "type": "string"
  16601. }
  16602. }
  16603. },
  16604. "models.Useraccount": {
  16605. "type": "object",
  16606. "required": [
  16607. "userid"
  16608. ],
  16609. "properties": {
  16610. "accountname": {
  16611. "description": "账户名称(机构名称)",
  16612. "type": "string"
  16613. },
  16614. "accountstatus": {
  16615. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销",
  16616. "type": "integer"
  16617. },
  16618. "auditremark": {
  16619. "description": "审核备注",
  16620. "type": "string"
  16621. },
  16622. "audittime": {
  16623. "description": "审核时间",
  16624. "type": "string"
  16625. },
  16626. "audituserid": {
  16627. "description": "审核人",
  16628. "type": "integer"
  16629. },
  16630. "broker": {
  16631. "description": "所属经纪人ID",
  16632. "type": "integer"
  16633. },
  16634. "canceltime": {
  16635. "description": "销户时间",
  16636. "type": "string"
  16637. },
  16638. "canceluserid": {
  16639. "description": "销户人",
  16640. "type": "integer"
  16641. },
  16642. "createtime": {
  16643. "description": "创建时间",
  16644. "type": "string"
  16645. },
  16646. "creatorid": {
  16647. "description": "创建人",
  16648. "type": "integer"
  16649. },
  16650. "hasauth": {
  16651. "description": "是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝",
  16652. "type": "integer"
  16653. },
  16654. "isanonymous": {
  16655. "description": "是否匿名下单 - 0:否 1:是",
  16656. "type": "integer"
  16657. },
  16658. "maxinvestornum": {
  16659. "description": "最大用户数(经纪会员下投资者个数)",
  16660. "type": "integer"
  16661. },
  16662. "memberuserid": {
  16663. "description": "所属会员ID",
  16664. "type": "integer"
  16665. },
  16666. "modifierid": {
  16667. "description": "修改人",
  16668. "type": "integer"
  16669. },
  16670. "modifyremark": {
  16671. "description": "变更备注",
  16672. "type": "string"
  16673. },
  16674. "modifystatus": {
  16675. "description": "变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)",
  16676. "type": "integer"
  16677. },
  16678. "modifytime": {
  16679. "description": "修改时间",
  16680. "type": "string"
  16681. },
  16682. "parentuserid": {
  16683. "description": "所属机构ID",
  16684. "type": "integer"
  16685. },
  16686. "reckonaccountid": {
  16687. "description": "默认结算资金账号ID(机构分润使用) 作废",
  16688. "type": "integer"
  16689. },
  16690. "refercount": {
  16691. "description": "推荐总人数",
  16692. "type": "integer"
  16693. },
  16694. "refereeuserid": {
  16695. "description": "推荐人ID",
  16696. "type": "integer"
  16697. },
  16698. "refernum": {
  16699. "description": "推荐码",
  16700. "type": "string"
  16701. },
  16702. "subarealevelpath": {
  16703. "description": "子机构层级路径(逗号分隔,首尾加逗号)",
  16704. "type": "string"
  16705. },
  16706. "userid": {
  16707. "description": "用户ID",
  16708. "type": "integer"
  16709. },
  16710. "usertype": {
  16711. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户",
  16712. "type": "integer"
  16713. }
  16714. }
  16715. },
  16716. "models.Userfavoritegoods": {
  16717. "type": "object",
  16718. "required": [
  16719. "goodsid"
  16720. ],
  16721. "properties": {
  16722. "goodsid": {
  16723. "description": "商品ID",
  16724. "type": "integer"
  16725. }
  16726. }
  16727. },
  16728. "models.Userinfo": {
  16729. "type": "object",
  16730. "required": [
  16731. "userid"
  16732. ],
  16733. "properties": {
  16734. "address": {
  16735. "description": "地址",
  16736. "type": "string"
  16737. },
  16738. "attachment1": {
  16739. "description": "附件1",
  16740. "type": "string"
  16741. },
  16742. "attachment2": {
  16743. "description": "附件2",
  16744. "type": "string"
  16745. },
  16746. "bankaccount": {
  16747. "description": "银行帐号 (加密存储)",
  16748. "type": "string"
  16749. },
  16750. "bankaccountname": {
  16751. "description": "收款人名称",
  16752. "type": "string"
  16753. },
  16754. "bankcardfrontphotourl": {
  16755. "description": "银行卡正面照地址",
  16756. "type": "string"
  16757. },
  16758. "bankid": {
  16759. "description": "银行编码",
  16760. "type": "string"
  16761. },
  16762. "bankname": {
  16763. "description": "银行名称",
  16764. "type": "string"
  16765. },
  16766. "biznature": {
  16767. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  16768. "type": "integer"
  16769. },
  16770. "bizscope": {
  16771. "description": "企业经营范围(企业)",
  16772. "type": "string"
  16773. },
  16774. "cardbackphotourl": {
  16775. "description": "证件背面图片地址",
  16776. "type": "string"
  16777. },
  16778. "cardfrontphotourl": {
  16779. "description": "证件正面图片地址",
  16780. "type": "string"
  16781. },
  16782. "cardnum": {
  16783. "description": "证件号码(加密存储)",
  16784. "type": "string"
  16785. },
  16786. "cardtypeid": {
  16787. "description": "证件类型ID",
  16788. "type": "integer"
  16789. },
  16790. "cityid": {
  16791. "description": "市",
  16792. "type": "integer"
  16793. },
  16794. "company": {
  16795. "description": "公司(个人)",
  16796. "type": "string"
  16797. },
  16798. "contactname": {
  16799. "description": "联系人",
  16800. "type": "string"
  16801. },
  16802. "countryid": {
  16803. "description": "国家",
  16804. "type": "integer"
  16805. },
  16806. "createtime": {
  16807. "description": "创建时间",
  16808. "type": "string"
  16809. },
  16810. "creatorid": {
  16811. "description": "创建人",
  16812. "type": "integer"
  16813. },
  16814. "customername": {
  16815. "description": "客户名称(企业名称)",
  16816. "type": "string"
  16817. },
  16818. "districtid": {
  16819. "description": "地区",
  16820. "type": "integer"
  16821. },
  16822. "email": {
  16823. "description": "邮件(加密存储)",
  16824. "type": "string"
  16825. },
  16826. "fax": {
  16827. "description": "传真(加密存储)",
  16828. "type": "string"
  16829. },
  16830. "halfbodyphotourl": {
  16831. "description": "半身照地址",
  16832. "type": "string"
  16833. },
  16834. "hasencrypt": {
  16835. "description": "数据是否已加密 - 0:未加密 1:已加密",
  16836. "type": "integer"
  16837. },
  16838. "headurl": {
  16839. "description": "头像地址",
  16840. "type": "string"
  16841. },
  16842. "legalcardbackphotourl": {
  16843. "description": "法人身份证背面照地址",
  16844. "type": "string"
  16845. },
  16846. "legalcardfrontphotourl": {
  16847. "description": "法人身份证正面照地址",
  16848. "type": "string"
  16849. },
  16850. "legalpersonname": {
  16851. "description": "法人姓名(企业)",
  16852. "type": "string"
  16853. },
  16854. "mobile": {
  16855. "description": "手机号码(加密存储)",
  16856. "type": "string"
  16857. },
  16858. "mobile2": {
  16859. "description": "手机号码[明文-尚志]",
  16860. "type": "string"
  16861. },
  16862. "modifierid": {
  16863. "description": "修改人",
  16864. "type": "integer"
  16865. },
  16866. "modifiertime": {
  16867. "description": "修改时间",
  16868. "type": "string"
  16869. },
  16870. "needinvoice": {
  16871. "description": "是否需要发票 - 0:不需要 1:需要",
  16872. "type": "integer"
  16873. },
  16874. "nickname": {
  16875. "description": "昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)",
  16876. "type": "string"
  16877. },
  16878. "openmode": {
  16879. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户",
  16880. "type": "integer"
  16881. },
  16882. "otherurl": {
  16883. "description": "其它图片地址[使用分号分隔]",
  16884. "type": "string"
  16885. },
  16886. "postalcode": {
  16887. "description": "邮政编码",
  16888. "type": "string"
  16889. },
  16890. "provinceid": {
  16891. "description": "省",
  16892. "type": "integer"
  16893. },
  16894. "qq": {
  16895. "description": "QQ(加密存储",
  16896. "type": "string"
  16897. },
  16898. "remark": {
  16899. "description": "备注",
  16900. "type": "string"
  16901. },
  16902. "sex": {
  16903. "description": "用户性别 0: 女 1: 男",
  16904. "type": "integer"
  16905. },
  16906. "signpdfurl": {
  16907. "description": "签约pdf文件",
  16908. "type": "string"
  16909. },
  16910. "telphone": {
  16911. "description": "联系电话(加密存储)",
  16912. "type": "string"
  16913. },
  16914. "userid": {
  16915. "description": "用户ID",
  16916. "type": "integer"
  16917. },
  16918. "userinfotype": {
  16919. "description": "用户信息类型 - 1:个人 2:企业",
  16920. "type": "integer"
  16921. },
  16922. "userstatus": {
  16923. "description": "用户状态 - 1:正常 2:注销",
  16924. "type": "integer"
  16925. },
  16926. "usertype": {
  16927. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户",
  16928. "type": "integer"
  16929. },
  16930. "wechat": {
  16931. "description": "微信(加密存储)",
  16932. "type": "string"
  16933. },
  16934. "wskhinfo": {
  16935. "description": "开户申请信息(JSON)",
  16936. "type": "string"
  16937. }
  16938. }
  16939. },
  16940. "models.WRCategoryTree": {
  16941. "type": "object",
  16942. "required": [
  16943. "categoryid"
  16944. ],
  16945. "properties": {
  16946. "areauserid": {
  16947. "description": "所属机构",
  16948. "type": "integer"
  16949. },
  16950. "categorydesc": {
  16951. "description": "类别描述",
  16952. "type": "string"
  16953. },
  16954. "categoryid": {
  16955. "description": "类别ID(SEQ_WRCATEGORY)",
  16956. "type": "integer"
  16957. },
  16958. "categoryname": {
  16959. "description": "类别名称",
  16960. "type": "string"
  16961. },
  16962. "iconurl": {
  16963. "description": "图标地址",
  16964. "type": "string"
  16965. },
  16966. "orderindex": {
  16967. "description": "顺序",
  16968. "type": "integer"
  16969. },
  16970. "parentcategoryid": {
  16971. "description": "父类别ID",
  16972. "type": "integer"
  16973. },
  16974. "subcategory": {
  16975. "description": "子分类",
  16976. "type": "array",
  16977. "items": {
  16978. "$ref": "#/definitions/models.WRCategoryTree"
  16979. }
  16980. }
  16981. }
  16982. },
  16983. "models.WRSConverTDetail": {
  16984. "type": "object",
  16985. "properties": {
  16986. "convertratio": {
  16987. "description": "套保系数",
  16988. "type": "number"
  16989. },
  16990. "deliverygoodsid": {
  16991. "description": "现货品种ID",
  16992. "type": "integer"
  16993. },
  16994. "middlegoodscode": {
  16995. "description": "套保品种代码",
  16996. "type": "string"
  16997. },
  16998. "middlegoodsid": {
  16999. "description": "套保品种ID",
  17000. "type": "integer"
  17001. },
  17002. "middlegoodsname": {
  17003. "description": "套保品种名称",
  17004. "type": "string"
  17005. },
  17006. "modifytime": {
  17007. "description": "修改时间",
  17008. "type": "string"
  17009. },
  17010. "wrstandardid": {
  17011. "description": "现货商品ID",
  17012. "type": "integer"
  17013. }
  17014. }
  17015. },
  17016. "models.WRStandardInfo": {
  17017. "type": "object",
  17018. "required": [
  17019. "wrstandardid"
  17020. ],
  17021. "properties": {
  17022. "createtime": {
  17023. "description": "创建时间",
  17024. "type": "string"
  17025. },
  17026. "creatorid": {
  17027. "description": "创建人",
  17028. "type": "integer"
  17029. },
  17030. "deliverygoodsid": {
  17031. "description": "品种ID",
  17032. "type": "integer"
  17033. },
  17034. "deliverygoodsname": {
  17035. "description": "交割商品名称",
  17036. "type": "string"
  17037. },
  17038. "factoryitemjson": {
  17039. "description": "要素项定义Json[{\"DGFactoryItemTypeID\": ,\"ItemTypeMode\": ,\"FactoryItemIDs\": },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem-\u003eDGFactoryItemTypeIDItemTypeMode - 要素项类型模式 --DGFactoryItem-\u003eItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem-\u003eDGFactoryItemID, 逗号分隔",
  17040. "type": "string"
  17041. },
  17042. "isvalid": {
  17043. "description": "是否有效 - 0:无效 1:有效",
  17044. "type": "integer"
  17045. },
  17046. "minivalue": {
  17047. "description": "最小变动值",
  17048. "type": "integer"
  17049. },
  17050. "minivaluedp": {
  17051. "description": "最小变动值小数位",
  17052. "type": "integer"
  17053. },
  17054. "realminivalue": {
  17055. "description": "实际最小变动值",
  17056. "type": "integer"
  17057. },
  17058. "realminivaluedp": {
  17059. "description": "实际最小变动值小数位",
  17060. "type": "integer"
  17061. },
  17062. "unitid": {
  17063. "description": "单位ID",
  17064. "type": "integer"
  17065. },
  17066. "unitname": {
  17067. "description": "单位",
  17068. "type": "string"
  17069. },
  17070. "updatetime": {
  17071. "description": "更新时间",
  17072. "type": "string"
  17073. },
  17074. "updatorid": {
  17075. "description": "更新人",
  17076. "type": "integer"
  17077. },
  17078. "wrsstatus": {
  17079. "description": "状态 - 作废 - 0:未激活 1:正常",
  17080. "type": "integer"
  17081. },
  17082. "wrstandardcode": {
  17083. "description": "仓单标准代码",
  17084. "type": "string"
  17085. },
  17086. "wrstandardid": {
  17087. "description": "仓单标准ID(SEQ_WRSTANDARD)",
  17088. "type": "integer"
  17089. },
  17090. "wrstandardname": {
  17091. "description": "仓单标准名称",
  17092. "type": "string"
  17093. }
  17094. }
  17095. },
  17096. "models.Warehouseinfo": {
  17097. "type": "object",
  17098. "required": [
  17099. "autoid",
  17100. "warehousecode"
  17101. ],
  17102. "properties": {
  17103. "address": {
  17104. "description": "详细地址",
  17105. "type": "string"
  17106. },
  17107. "areauserid": {
  17108. "description": "所属机构",
  17109. "type": "integer"
  17110. },
  17111. "autoid": {
  17112. "description": "自增ID",
  17113. "type": "integer"
  17114. },
  17115. "cityid": {
  17116. "description": "市",
  17117. "type": "integer"
  17118. },
  17119. "contactname": {
  17120. "description": "联系人",
  17121. "type": "string"
  17122. },
  17123. "contactnum": {
  17124. "description": "联系电话",
  17125. "type": "string"
  17126. },
  17127. "countryid": {
  17128. "description": "国家",
  17129. "type": "integer"
  17130. },
  17131. "createtime": {
  17132. "description": "创建时间",
  17133. "type": "string"
  17134. },
  17135. "districtid": {
  17136. "description": "区",
  17137. "type": "integer"
  17138. },
  17139. "hasvideo": {
  17140. "description": "是否有视频 - 0:无 1:有",
  17141. "type": "integer"
  17142. },
  17143. "provinceid": {
  17144. "description": "省",
  17145. "type": "integer"
  17146. },
  17147. "remark": {
  17148. "description": "审核备注",
  17149. "type": "string"
  17150. },
  17151. "videourl": {
  17152. "description": "视频地址",
  17153. "type": "string"
  17154. },
  17155. "warehousecode": {
  17156. "description": "仓库代码",
  17157. "type": "string"
  17158. },
  17159. "warehousename": {
  17160. "description": "仓库名称",
  17161. "type": "string"
  17162. },
  17163. "warehousestatus": {
  17164. "description": "仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝",
  17165. "type": "integer"
  17166. },
  17167. "warehousetype": {
  17168. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  17169. "type": "integer"
  17170. }
  17171. }
  17172. },
  17173. "order.QueryHisTradeDetailRsp": {
  17174. "type": "object",
  17175. "required": [
  17176. "accountid",
  17177. "buyorsell",
  17178. "goodsid",
  17179. "histradedate",
  17180. "marketid",
  17181. "memberuserid",
  17182. "orderid",
  17183. "tradeamount",
  17184. "tradedate",
  17185. "tradeid",
  17186. "tradeprice",
  17187. "tradeqty",
  17188. "tradetime"
  17189. ],
  17190. "properties": {
  17191. "accountid": {
  17192. "description": "账户ID[报价币种]",
  17193. "type": "integer"
  17194. },
  17195. "buildtype": {
  17196. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  17197. "type": "integer"
  17198. },
  17199. "buyorsell": {
  17200. "description": "方向 - 0:买 1:卖",
  17201. "type": "integer"
  17202. },
  17203. "charge": {
  17204. "description": "手续费",
  17205. "type": "number"
  17206. },
  17207. "closecharge": {
  17208. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  17209. "type": "number"
  17210. },
  17211. "closeexchagechargevalue": {
  17212. "description": "平仓交易所手续费设置值",
  17213. "type": "number"
  17214. },
  17215. "closefeealgorithm": {
  17216. "description": "平仓手续费收取方式 1:比率 2:固定",
  17217. "type": "integer"
  17218. },
  17219. "closememberchargevalue": {
  17220. "description": "平仓会员手续费设置值",
  17221. "type": "number"
  17222. },
  17223. "closepl": {
  17224. "description": "平仓盈亏",
  17225. "type": "number"
  17226. },
  17227. "closepl2": {
  17228. "description": "平仓盈亏[逐笔]",
  17229. "type": "number"
  17230. },
  17231. "closeqty": {
  17232. "description": "平仓数量(先建后平操作 需要记录)",
  17233. "type": "integer"
  17234. },
  17235. "creditamount": {
  17236. "description": "授信金额",
  17237. "type": "number"
  17238. },
  17239. "gcaccountid": {
  17240. "description": "账户ID[合约币种]",
  17241. "type": "integer"
  17242. },
  17243. "goodscode": {
  17244. "description": "商品代码",
  17245. "type": "string"
  17246. },
  17247. "goodsid": {
  17248. "description": "商品ID",
  17249. "type": "integer"
  17250. },
  17251. "goodsname": {
  17252. "description": "商品名称",
  17253. "type": "string"
  17254. },
  17255. "histradedate": {
  17256. "description": "历史交易日",
  17257. "type": "string"
  17258. },
  17259. "intclosepl": {
  17260. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  17261. "type": "integer"
  17262. },
  17263. "isconfirmexercise": {
  17264. "description": "是否确认行权- 0:否 1:是",
  17265. "type": "integer"
  17266. },
  17267. "ismain": {
  17268. "description": "是否主单 - 0:不是 1:是",
  17269. "type": "integer"
  17270. },
  17271. "ispreexercise": {
  17272. "description": "是否预申报- 0:否 1:是",
  17273. "type": "integer"
  17274. },
  17275. "isreckoned": {
  17276. "description": "是否结算 - 0:未结算 1:已结算",
  17277. "type": "integer"
  17278. },
  17279. "isvaliddata": {
  17280. "description": "是否有效 - 0:无效 1:有效",
  17281. "type": "integer"
  17282. },
  17283. "listingselecttype": {
  17284. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  17285. "type": "integer"
  17286. },
  17287. "marketid": {
  17288. "description": "市场ID",
  17289. "type": "integer"
  17290. },
  17291. "marketname": {
  17292. "description": "市场名称",
  17293. "type": "string"
  17294. },
  17295. "matchaccountid": {
  17296. "description": "对手账号id",
  17297. "type": "integer"
  17298. },
  17299. "memberuserid": {
  17300. "description": "会员id 个人投资者 需要填写",
  17301. "type": "integer"
  17302. },
  17303. "opencharge": {
  17304. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  17305. "type": "number"
  17306. },
  17307. "openexchagechargevalue": {
  17308. "description": "建仓交易所手续费设置值",
  17309. "type": "number"
  17310. },
  17311. "openfeealgorithm": {
  17312. "description": "建仓手续费收取方式 1:比率 2:固定",
  17313. "type": "integer"
  17314. },
  17315. "openmemberchargevalue": {
  17316. "description": "建仓会员手续费设置值",
  17317. "type": "number"
  17318. },
  17319. "openqty": {
  17320. "description": "开仓数量(先建后平操作 需要记录)",
  17321. "type": "integer"
  17322. },
  17323. "optiontype": {
  17324. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  17325. "type": "integer"
  17326. },
  17327. "orderid": {
  17328. "description": "委托单号",
  17329. "type": "string"
  17330. },
  17331. "performanceplanid": {
  17332. "description": "履约计划ID[期权]",
  17333. "type": "integer"
  17334. },
  17335. "performancestatus": {
  17336. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  17337. "type": "integer"
  17338. },
  17339. "preexerciseprice": {
  17340. "description": "预申报价格",
  17341. "type": "number"
  17342. },
  17343. "premium": {
  17344. "description": "权利金 - [持仓单的权利金]",
  17345. "type": "number"
  17346. },
  17347. "relatedouttradeid": {
  17348. "description": "关联外部成交单ID",
  17349. "type": "integer"
  17350. },
  17351. "status": {
  17352. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  17353. "type": "integer"
  17354. },
  17355. "tradeamount": {
  17356. "description": "成交金额[账户币种,用于所有权]",
  17357. "type": "number"
  17358. },
  17359. "tradedate": {
  17360. "description": "交易日(yyyyMMdd)",
  17361. "type": "string"
  17362. },
  17363. "tradeid": {
  17364. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  17365. "type": "string"
  17366. },
  17367. "trademode": {
  17368. "description": "交易模式",
  17369. "type": "integer"
  17370. },
  17371. "tradeprice": {
  17372. "description": "成交价格",
  17373. "type": "number"
  17374. },
  17375. "tradeproperty": {
  17376. "description": "交易属性",
  17377. "type": "integer"
  17378. },
  17379. "tradeqty": {
  17380. "description": "成交数量",
  17381. "type": "integer"
  17382. },
  17383. "tradetime": {
  17384. "description": "成交时间",
  17385. "type": "string"
  17386. },
  17387. "tradetype": {
  17388. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  17389. "type": "integer"
  17390. }
  17391. }
  17392. },
  17393. "order.QueryHisTradeOrderDetailRsp": {
  17394. "type": "object",
  17395. "required": [
  17396. "accountid",
  17397. "buildtype",
  17398. "buyorsell",
  17399. "goodsid",
  17400. "histradedate",
  17401. "marketid",
  17402. "memberuserid",
  17403. "operatetype",
  17404. "orderid",
  17405. "orderqty",
  17406. "ordertime",
  17407. "pricemode",
  17408. "tradedate",
  17409. "validtype"
  17410. ],
  17411. "properties": {
  17412. "accountid": {
  17413. "description": "账户ID[报价币种]",
  17414. "type": "integer"
  17415. },
  17416. "buildtype": {
  17417. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  17418. "type": "integer"
  17419. },
  17420. "buyorsell": {
  17421. "description": "买卖 - 0:买 1:卖",
  17422. "type": "integer"
  17423. },
  17424. "cancelorderid": {
  17425. "description": "撤单单号(撤单时填写)",
  17426. "type": "string"
  17427. },
  17428. "cancelqty": {
  17429. "description": "撤单数量",
  17430. "type": "integer"
  17431. },
  17432. "clientordertime": {
  17433. "description": "客户端委托时间",
  17434. "type": "string"
  17435. },
  17436. "clientticket": {
  17437. "description": "客户端流水号",
  17438. "type": "string"
  17439. },
  17440. "clienttype": {
  17441. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  17442. "type": "integer"
  17443. },
  17444. "closeexchagechargevalue": {
  17445. "description": "平仓交易所手续费设置值",
  17446. "type": "number"
  17447. },
  17448. "closefeealgorithm": {
  17449. "description": "平仓手续费收取方式 1:比率 2:固定",
  17450. "type": "integer"
  17451. },
  17452. "closefreezecharge": {
  17453. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  17454. "type": "number"
  17455. },
  17456. "closememberchargevalue": {
  17457. "description": "平仓会员手续费设置值",
  17458. "type": "number"
  17459. },
  17460. "closeqty": {
  17461. "description": "平仓数量(先建后平操作 需要记录)",
  17462. "type": "integer"
  17463. },
  17464. "closetradeqty": {
  17465. "description": "平仓成交数量(先建后平操作,需要记录)",
  17466. "type": "integer"
  17467. },
  17468. "closeunfreezecharge": {
  17469. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  17470. "type": "number"
  17471. },
  17472. "delistingtype": {
  17473. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  17474. "type": "integer"
  17475. },
  17476. "freezecharge": {
  17477. "description": "冻结手续费",
  17478. "type": "number"
  17479. },
  17480. "freezemargin": {
  17481. "description": "冻结保证金(冻结交易金额)",
  17482. "type": "number"
  17483. },
  17484. "gcaccountid": {
  17485. "description": "账户ID[合约币种]",
  17486. "type": "integer"
  17487. },
  17488. "goodscode": {
  17489. "description": "商品代码",
  17490. "type": "string"
  17491. },
  17492. "goodsid": {
  17493. "description": "商品ID",
  17494. "type": "integer"
  17495. },
  17496. "goodsname": {
  17497. "description": "商品名称",
  17498. "type": "string"
  17499. },
  17500. "histradedate": {
  17501. "description": "历史交易日",
  17502. "type": "string"
  17503. },
  17504. "isconfirmexercise": {
  17505. "description": "是否确认行权- 0:否 1:是",
  17506. "type": "integer"
  17507. },
  17508. "ispreexercise": {
  17509. "description": "是否预申报- 0:否 1:是",
  17510. "type": "integer"
  17511. },
  17512. "isvaliddata": {
  17513. "description": "是否有效 - 0:无效 1:有效",
  17514. "type": "integer"
  17515. },
  17516. "listingselecttype": {
  17517. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  17518. "type": "integer"
  17519. },
  17520. "marginalgorithm": {
  17521. "description": "保证金收取方式 1:比率 2:固定",
  17522. "type": "integer"
  17523. },
  17524. "marginvalue": {
  17525. "description": "即市保证金设置值",
  17526. "type": "number"
  17527. },
  17528. "marketid": {
  17529. "description": "市场ID",
  17530. "type": "integer"
  17531. },
  17532. "marketmaxsub": {
  17533. "description": "市价最大偏移范围",
  17534. "type": "number"
  17535. },
  17536. "marketname": {
  17537. "description": "市场名称",
  17538. "type": "string"
  17539. },
  17540. "memberuserid": {
  17541. "description": "所属会员UserID",
  17542. "type": "integer"
  17543. },
  17544. "openexchagechargevalue": {
  17545. "description": "建仓交易所手续费设置值",
  17546. "type": "number"
  17547. },
  17548. "openfeealgorithm": {
  17549. "description": "建仓手续费收取方式 1:比率 2:固定",
  17550. "type": "integer"
  17551. },
  17552. "openfreezecharge": {
  17553. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  17554. "type": "number"
  17555. },
  17556. "openmemberchargevalue": {
  17557. "description": "建仓会员手续费设置值",
  17558. "type": "number"
  17559. },
  17560. "openqty": {
  17561. "description": "开仓数量(先建后平操作,需要记录)",
  17562. "type": "integer"
  17563. },
  17564. "opentradeqty": {
  17565. "description": "开仓成交数量(先建后平操作,需要记录)",
  17566. "type": "integer"
  17567. },
  17568. "openunfreezecharge": {
  17569. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  17570. "type": "number"
  17571. },
  17572. "operatetype": {
  17573. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  17574. "type": "integer"
  17575. },
  17576. "operatorid": {
  17577. "description": "登录账号(LoginID)",
  17578. "type": "integer"
  17579. },
  17580. "optiontype": {
  17581. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  17582. "type": "integer"
  17583. },
  17584. "orderid": {
  17585. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  17586. "type": "string"
  17587. },
  17588. "orderprice": {
  17589. "description": "委托价格",
  17590. "type": "number"
  17591. },
  17592. "orderqty": {
  17593. "description": "委托数量",
  17594. "type": "integer"
  17595. },
  17596. "ordersrc": {
  17597. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  17598. "type": "integer"
  17599. },
  17600. "orderstatus": {
  17601. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  17602. "type": "integer"
  17603. },
  17604. "ordertime": {
  17605. "description": "委托时间",
  17606. "type": "string"
  17607. },
  17608. "preexerciseprice": {
  17609. "description": "预申报价格",
  17610. "type": "number"
  17611. },
  17612. "premium": {
  17613. "description": "权利金",
  17614. "type": "number"
  17615. },
  17616. "preorderid": {
  17617. "description": "关联预埋单号(止盈止损单时填写)",
  17618. "type": "string"
  17619. },
  17620. "pricemode": {
  17621. "description": "取价方式 - 1:市价 2: 限价",
  17622. "type": "integer"
  17623. },
  17624. "quoteid": {
  17625. "description": "报价单ID",
  17626. "type": "integer"
  17627. },
  17628. "relatedid": {
  17629. "description": "关联单号(交割单)",
  17630. "type": "string"
  17631. },
  17632. "retcode": {
  17633. "description": "错误代码",
  17634. "type": "integer"
  17635. },
  17636. "sessionid": {
  17637. "description": "会话ID",
  17638. "type": "integer"
  17639. },
  17640. "tradedate": {
  17641. "description": "交易日(yyyyMMdd)",
  17642. "type": "string"
  17643. },
  17644. "trademode": {
  17645. "description": "交易模式",
  17646. "type": "integer"
  17647. },
  17648. "tradeproperty": {
  17649. "description": "交易属性",
  17650. "type": "integer"
  17651. },
  17652. "tradeqty": {
  17653. "description": "成交数量",
  17654. "type": "integer"
  17655. },
  17656. "unfreezecharge": {
  17657. "description": "解冻手续费",
  17658. "type": "number"
  17659. },
  17660. "unfreezemargin": {
  17661. "description": "解冻保证金",
  17662. "type": "number"
  17663. },
  17664. "updatetime": {
  17665. "description": "更新时间",
  17666. "type": "string"
  17667. },
  17668. "uuid": {
  17669. "description": "发起端唯一id",
  17670. "type": "string"
  17671. },
  17672. "validtime": {
  17673. "description": "有效期限",
  17674. "type": "string"
  17675. },
  17676. "validtype": {
  17677. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  17678. "type": "integer"
  17679. },
  17680. "volumetype": {
  17681. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  17682. "type": "integer"
  17683. }
  17684. }
  17685. },
  17686. "order.QueryTradeDetailRsp": {
  17687. "type": "object",
  17688. "required": [
  17689. "accountid",
  17690. "buyorsell",
  17691. "goodsid",
  17692. "marketid",
  17693. "memberuserid",
  17694. "orderid",
  17695. "tradeamount",
  17696. "tradedate",
  17697. "tradeid",
  17698. "tradeprice",
  17699. "tradeqty",
  17700. "tradetime"
  17701. ],
  17702. "properties": {
  17703. "accountid": {
  17704. "description": "账户ID[报价币种]",
  17705. "type": "integer"
  17706. },
  17707. "buildtype": {
  17708. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  17709. "type": "integer"
  17710. },
  17711. "buyorsell": {
  17712. "description": "方向 - 0:买 1:卖",
  17713. "type": "integer"
  17714. },
  17715. "charge": {
  17716. "description": "手续费",
  17717. "type": "number"
  17718. },
  17719. "closecharge": {
  17720. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  17721. "type": "number"
  17722. },
  17723. "closeexchagechargevalue": {
  17724. "description": "平仓交易所手续费设置值",
  17725. "type": "number"
  17726. },
  17727. "closefeealgorithm": {
  17728. "description": "平仓手续费收取方式 1:比率 2:固定",
  17729. "type": "integer"
  17730. },
  17731. "closememberchargevalue": {
  17732. "description": "平仓会员手续费设置值",
  17733. "type": "number"
  17734. },
  17735. "closepl": {
  17736. "description": "平仓盈亏",
  17737. "type": "number"
  17738. },
  17739. "closepl2": {
  17740. "description": "平仓盈亏[逐笔]",
  17741. "type": "number"
  17742. },
  17743. "closeqty": {
  17744. "description": "平仓数量(先建后平操作 需要记录)",
  17745. "type": "integer"
  17746. },
  17747. "creditamount": {
  17748. "description": "授信金额",
  17749. "type": "number"
  17750. },
  17751. "gcaccountid": {
  17752. "description": "账户ID[合约币种]",
  17753. "type": "integer"
  17754. },
  17755. "goodscode": {
  17756. "description": "商品代码",
  17757. "type": "string"
  17758. },
  17759. "goodsid": {
  17760. "description": "商品ID",
  17761. "type": "integer"
  17762. },
  17763. "goodsname": {
  17764. "description": "商品名称",
  17765. "type": "string"
  17766. },
  17767. "intclosepl": {
  17768. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  17769. "type": "integer"
  17770. },
  17771. "isconfirmexercise": {
  17772. "description": "是否确认行权- 0:否 1:是",
  17773. "type": "integer"
  17774. },
  17775. "ismain": {
  17776. "description": "是否主单 - 0:不是 1:是",
  17777. "type": "integer"
  17778. },
  17779. "ispreexercise": {
  17780. "description": "是否预申报- 0:否 1:是",
  17781. "type": "integer"
  17782. },
  17783. "isreckoned": {
  17784. "description": "是否结算 - 0:未结算 1:已结算",
  17785. "type": "integer"
  17786. },
  17787. "listingselecttype": {
  17788. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  17789. "type": "integer"
  17790. },
  17791. "marketid": {
  17792. "description": "市场ID",
  17793. "type": "integer"
  17794. },
  17795. "marketname": {
  17796. "description": "市场名称",
  17797. "type": "string"
  17798. },
  17799. "matchaccountid": {
  17800. "description": "对手账号id",
  17801. "type": "integer"
  17802. },
  17803. "memberuserid": {
  17804. "description": "会员id 个人投资者 需要填写",
  17805. "type": "integer"
  17806. },
  17807. "opencharge": {
  17808. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  17809. "type": "number"
  17810. },
  17811. "openexchagechargevalue": {
  17812. "description": "建仓交易所手续费设置值",
  17813. "type": "number"
  17814. },
  17815. "openfeealgorithm": {
  17816. "description": "建仓手续费收取方式 1:比率 2:固定",
  17817. "type": "integer"
  17818. },
  17819. "openmemberchargevalue": {
  17820. "description": "建仓会员手续费设置值",
  17821. "type": "number"
  17822. },
  17823. "openqty": {
  17824. "description": "开仓数量(先建后平操作 需要记录)",
  17825. "type": "integer"
  17826. },
  17827. "optiontype": {
  17828. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  17829. "type": "integer"
  17830. },
  17831. "orderid": {
  17832. "description": "委托单号",
  17833. "type": "string"
  17834. },
  17835. "performanceplanid": {
  17836. "description": "履约计划ID[期权]",
  17837. "type": "integer"
  17838. },
  17839. "performancestatus": {
  17840. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  17841. "type": "integer"
  17842. },
  17843. "preexerciseprice": {
  17844. "description": "预申报价格",
  17845. "type": "number"
  17846. },
  17847. "premium": {
  17848. "description": "权利金 - [持仓单的权利金]",
  17849. "type": "number"
  17850. },
  17851. "relatedouttradeid": {
  17852. "description": "关联外部成交单ID",
  17853. "type": "integer"
  17854. },
  17855. "status": {
  17856. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  17857. "type": "integer"
  17858. },
  17859. "tradeamount": {
  17860. "description": "成交金额[账户币种,用于所有权]",
  17861. "type": "number"
  17862. },
  17863. "tradedate": {
  17864. "description": "交易日(yyyyMMdd)",
  17865. "type": "string"
  17866. },
  17867. "tradeid": {
  17868. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  17869. "type": "string"
  17870. },
  17871. "trademode": {
  17872. "description": "交易模式",
  17873. "type": "integer"
  17874. },
  17875. "tradeprice": {
  17876. "description": "成交价格",
  17877. "type": "number"
  17878. },
  17879. "tradeproperty": {
  17880. "description": "交易属性",
  17881. "type": "integer"
  17882. },
  17883. "tradeqty": {
  17884. "description": "成交数量",
  17885. "type": "integer"
  17886. },
  17887. "tradetime": {
  17888. "description": "成交时间",
  17889. "type": "string"
  17890. },
  17891. "tradetype": {
  17892. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  17893. "type": "integer"
  17894. }
  17895. }
  17896. },
  17897. "order.QueryTradeOrderDetailRsp": {
  17898. "type": "object",
  17899. "required": [
  17900. "accountid",
  17901. "buildtype",
  17902. "buyorsell",
  17903. "goodsid",
  17904. "marketid",
  17905. "operatetype",
  17906. "orderqty",
  17907. "ordertime",
  17908. "pricemode",
  17909. "tradedate",
  17910. "validtype"
  17911. ],
  17912. "properties": {
  17913. "accountid": {
  17914. "description": "账户ID[报价币种]",
  17915. "type": "integer"
  17916. },
  17917. "buildtype": {
  17918. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  17919. "type": "integer"
  17920. },
  17921. "buyorsell": {
  17922. "description": "买卖 - 0:买 1:卖",
  17923. "type": "integer"
  17924. },
  17925. "cancelorderid": {
  17926. "description": "撤单单号(撤单时填写)",
  17927. "type": "string"
  17928. },
  17929. "cancelqty": {
  17930. "description": "撤单数量",
  17931. "type": "integer"
  17932. },
  17933. "clienttype": {
  17934. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  17935. "type": "integer"
  17936. },
  17937. "closefreezecharge": {
  17938. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  17939. "type": "number"
  17940. },
  17941. "closeqty": {
  17942. "description": "平仓数量(先建后平操作 需要记录)",
  17943. "type": "integer"
  17944. },
  17945. "closetradeqty": {
  17946. "description": "平仓成交数量(先建后平操作,需要记录)",
  17947. "type": "integer"
  17948. },
  17949. "closeunfreezecharge": {
  17950. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  17951. "type": "number"
  17952. },
  17953. "delistingtype": {
  17954. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  17955. "type": "integer"
  17956. },
  17957. "enableqty": {
  17958. "description": "可用数量 = 委托数量 - 成交数量 - 撤单数量",
  17959. "type": "integer"
  17960. },
  17961. "freezecharge": {
  17962. "description": "冻结手续费",
  17963. "type": "number"
  17964. },
  17965. "freezemargin": {
  17966. "description": "冻结保证金(冻结交易金额)",
  17967. "type": "number"
  17968. },
  17969. "goodscode": {
  17970. "description": "商品代码",
  17971. "type": "string"
  17972. },
  17973. "goodsid": {
  17974. "description": "商品ID",
  17975. "type": "integer"
  17976. },
  17977. "goodsname": {
  17978. "description": "商品名称",
  17979. "type": "string"
  17980. },
  17981. "listingselecttype": {
  17982. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  17983. "type": "integer"
  17984. },
  17985. "marketid": {
  17986. "description": "市场ID",
  17987. "type": "integer"
  17988. },
  17989. "marketname": {
  17990. "description": "市场名称",
  17991. "type": "string"
  17992. },
  17993. "openfreezecharge": {
  17994. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  17995. "type": "number"
  17996. },
  17997. "openqty": {
  17998. "description": "开仓数量(先建后平操作,需要记录)",
  17999. "type": "integer"
  18000. },
  18001. "opentradeqty": {
  18002. "description": "开仓成交数量(先建后平操作,需要记录)",
  18003. "type": "integer"
  18004. },
  18005. "openunfreezecharge": {
  18006. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  18007. "type": "number"
  18008. },
  18009. "operatetype": {
  18010. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  18011. "type": "integer"
  18012. },
  18013. "operatorid": {
  18014. "description": "登录账号(LoginID)",
  18015. "type": "integer"
  18016. },
  18017. "orderid": {
  18018. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  18019. "type": "string"
  18020. },
  18021. "orderprice": {
  18022. "description": "委托价格",
  18023. "type": "number"
  18024. },
  18025. "orderqty": {
  18026. "description": "委托数量",
  18027. "type": "integer"
  18028. },
  18029. "ordersrc": {
  18030. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  18031. "type": "integer"
  18032. },
  18033. "orderstatus": {
  18034. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  18035. "type": "integer"
  18036. },
  18037. "ordertime": {
  18038. "description": "委托时间",
  18039. "type": "string"
  18040. },
  18041. "preorderid": {
  18042. "description": "关联预埋单号(止盈止损单时填写)",
  18043. "type": "string"
  18044. },
  18045. "pricemode": {
  18046. "description": "取价方式 - 1:市价 2: 限价",
  18047. "type": "integer"
  18048. },
  18049. "relatedid": {
  18050. "description": "关联单号(交割单)",
  18051. "type": "string"
  18052. },
  18053. "tradedate": {
  18054. "description": "交易日(yyyyMMdd)",
  18055. "type": "string"
  18056. },
  18057. "trademode": {
  18058. "description": "交易模式",
  18059. "type": "integer"
  18060. },
  18061. "tradeqty": {
  18062. "description": "成交数量",
  18063. "type": "integer"
  18064. },
  18065. "unfreezecharge": {
  18066. "description": "解冻手续费",
  18067. "type": "number"
  18068. },
  18069. "unfreezemargin": {
  18070. "description": "解冻保证金",
  18071. "type": "number"
  18072. },
  18073. "validtime": {
  18074. "description": "有效期限",
  18075. "type": "string"
  18076. },
  18077. "validtype": {
  18078. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  18079. "type": "integer"
  18080. },
  18081. "volumetype": {
  18082. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  18083. "type": "integer"
  18084. }
  18085. }
  18086. },
  18087. "order.QueryTradePositionRsp": {
  18088. "type": "object",
  18089. "required": [
  18090. "goodsid"
  18091. ],
  18092. "properties": {
  18093. "accountid": {
  18094. "description": "资金账户",
  18095. "type": "integer"
  18096. },
  18097. "agreeunit": {
  18098. "description": "合约单位",
  18099. "type": "number"
  18100. },
  18101. "averageprice": {
  18102. "description": "持仓均价",
  18103. "type": "number"
  18104. },
  18105. "buyorsell": {
  18106. "description": "方向 - 0:买 1:卖",
  18107. "type": "integer"
  18108. },
  18109. "closetotalqty": {
  18110. "description": "平仓总数量",
  18111. "type": "integer"
  18112. },
  18113. "curholderamount": {
  18114. "description": "当前持仓总金额[商品币种]",
  18115. "type": "number"
  18116. },
  18117. "curpositionqty": {
  18118. "description": "当前持仓总数量",
  18119. "type": "integer"
  18120. },
  18121. "currencyid": {
  18122. "description": "报价货币ID",
  18123. "type": "integer"
  18124. },
  18125. "curtdposition": {
  18126. "description": "期末今日头寸",
  18127. "type": "integer"
  18128. },
  18129. "decimalplace": {
  18130. "description": "报价小数位",
  18131. "type": "integer"
  18132. },
  18133. "enableqty": {
  18134. "description": "可用量",
  18135. "type": "integer"
  18136. },
  18137. "fretdposition": {
  18138. "description": "冻结今日头寸",
  18139. "type": "integer"
  18140. },
  18141. "frozenqty": {
  18142. "description": "持仓冻结数量",
  18143. "type": "integer"
  18144. },
  18145. "goodscode": {
  18146. "description": "商品代码",
  18147. "type": "string"
  18148. },
  18149. "goodsid": {
  18150. "description": "商品Id",
  18151. "type": "integer"
  18152. },
  18153. "goodsname": {
  18154. "description": "商品名称",
  18155. "type": "string"
  18156. },
  18157. "goodunit": {
  18158. "description": "报价单位",
  18159. "type": "string"
  18160. },
  18161. "goodunitid": {
  18162. "description": "报价单位ID",
  18163. "type": "integer"
  18164. },
  18165. "holderamount": {
  18166. "description": "期初持仓总金额[商品币种]",
  18167. "type": "number"
  18168. },
  18169. "marketid": {
  18170. "description": "所属市场ID",
  18171. "type": "integer"
  18172. },
  18173. "openreqqty": {
  18174. "description": "开仓申请数量(用于比较最大持仓数量)",
  18175. "type": "integer"
  18176. },
  18177. "opentotalqty": {
  18178. "description": "开仓总数量",
  18179. "type": "integer"
  18180. },
  18181. "otherfrozenqty": {
  18182. "description": "持仓其他冻结数量(交割冻结)",
  18183. "type": "integer"
  18184. },
  18185. "positionqty": {
  18186. "description": "期初持仓数量",
  18187. "type": "integer"
  18188. },
  18189. "tnqty": {
  18190. "description": "T+N冻结总量",
  18191. "type": "integer"
  18192. },
  18193. "tnusedqty": {
  18194. "description": "T+N使用量(可以使用T+N的冻结数量)",
  18195. "type": "integer"
  18196. },
  18197. "trademode": {
  18198. "description": "交易模式",
  18199. "type": "integer"
  18200. },
  18201. "usedmargin": {
  18202. "description": "占用保证金[商品币种]",
  18203. "type": "number"
  18204. }
  18205. }
  18206. },
  18207. "quote.HistoryData": {
  18208. "type": "object",
  18209. "properties": {
  18210. "c": {
  18211. "description": "收盘价",
  18212. "type": "number"
  18213. },
  18214. "f": {
  18215. "description": "是否补充数据",
  18216. "type": "boolean"
  18217. },
  18218. "h": {
  18219. "description": "最高价",
  18220. "type": "number"
  18221. },
  18222. "hv": {
  18223. "description": "持仓量",
  18224. "type": "integer"
  18225. },
  18226. "l": {
  18227. "description": "最低价",
  18228. "type": "number"
  18229. },
  18230. "o": {
  18231. "description": "开盘价",
  18232. "type": "number"
  18233. },
  18234. "s": {
  18235. "description": "结算价,日线周期(包括)以上才有",
  18236. "type": "number"
  18237. },
  18238. "ts": {
  18239. "description": "时间",
  18240. "type": "string"
  18241. },
  18242. "tt": {
  18243. "description": "总金额",
  18244. "type": "number"
  18245. },
  18246. "tv": {
  18247. "description": "总量",
  18248. "type": "integer"
  18249. }
  18250. }
  18251. },
  18252. "quote.HistoryTikData": {
  18253. "type": "object",
  18254. "properties": {
  18255. "AV": {
  18256. "description": "卖量",
  18257. "type": "integer"
  18258. },
  18259. "Ask": {
  18260. "description": "卖价",
  18261. "type": "number"
  18262. },
  18263. "BV": {
  18264. "description": "买量",
  18265. "type": "integer"
  18266. },
  18267. "Bid": {
  18268. "description": "买价",
  18269. "type": "number"
  18270. },
  18271. "HI": {
  18272. "description": "单笔持仓",
  18273. "type": "integer"
  18274. },
  18275. "HV": {
  18276. "description": "持仓量",
  18277. "type": "integer"
  18278. },
  18279. "PE": {
  18280. "description": "现价",
  18281. "type": "number"
  18282. },
  18283. "TDR": {
  18284. "description": "交易方向,0:买 1:卖",
  18285. "type": "integer"
  18286. },
  18287. "TK": {
  18288. "description": "交易类型",
  18289. "type": "integer"
  18290. },
  18291. "TS": {
  18292. "description": "行情时间文本",
  18293. "type": "string"
  18294. },
  18295. "TT": {
  18296. "description": "现金额",
  18297. "type": "number"
  18298. },
  18299. "Vol": {
  18300. "description": "现量",
  18301. "type": "integer"
  18302. }
  18303. }
  18304. },
  18305. "quote.QueryQuoteDayRsp": {
  18306. "type": "object",
  18307. "properties": {
  18308. "ask": {
  18309. "description": "卖1",
  18310. "type": "number"
  18311. },
  18312. "ask10": {
  18313. "description": "卖10",
  18314. "type": "number"
  18315. },
  18316. "ask2": {
  18317. "description": "卖2",
  18318. "type": "number"
  18319. },
  18320. "ask3": {
  18321. "description": "卖3",
  18322. "type": "number"
  18323. },
  18324. "ask4": {
  18325. "description": "卖4",
  18326. "type": "number"
  18327. },
  18328. "ask5": {
  18329. "description": "卖5",
  18330. "type": "number"
  18331. },
  18332. "ask6": {
  18333. "description": "卖6",
  18334. "type": "number"
  18335. },
  18336. "ask7": {
  18337. "description": "卖7",
  18338. "type": "number"
  18339. },
  18340. "ask8": {
  18341. "description": "卖8",
  18342. "type": "number"
  18343. },
  18344. "ask9": {
  18345. "description": "卖9",
  18346. "type": "number"
  18347. },
  18348. "askorderid": {
  18349. "description": "卖单号1",
  18350. "type": "integer"
  18351. },
  18352. "askorderid2": {
  18353. "description": "卖单号2",
  18354. "type": "integer"
  18355. },
  18356. "askorderid3": {
  18357. "description": "卖单号3",
  18358. "type": "integer"
  18359. },
  18360. "askorderid4": {
  18361. "description": "卖单号4",
  18362. "type": "integer"
  18363. },
  18364. "askorderid5": {
  18365. "description": "卖单号5",
  18366. "type": "integer"
  18367. },
  18368. "askordervolume": {
  18369. "description": "卖单量1",
  18370. "type": "integer"
  18371. },
  18372. "askordervolume10": {
  18373. "description": "卖单量10",
  18374. "type": "integer"
  18375. },
  18376. "askordervolume2": {
  18377. "description": "卖单量2",
  18378. "type": "integer"
  18379. },
  18380. "askordervolume3": {
  18381. "description": "卖单量3",
  18382. "type": "integer"
  18383. },
  18384. "askordervolume4": {
  18385. "description": "卖单量4",
  18386. "type": "integer"
  18387. },
  18388. "askordervolume5": {
  18389. "description": "卖单量5",
  18390. "type": "integer"
  18391. },
  18392. "askordervolume6": {
  18393. "description": "卖单量6",
  18394. "type": "integer"
  18395. },
  18396. "askordervolume7": {
  18397. "description": "卖单量7",
  18398. "type": "integer"
  18399. },
  18400. "askordervolume8": {
  18401. "description": "卖单量8",
  18402. "type": "integer"
  18403. },
  18404. "askordervolume9": {
  18405. "description": "卖单量9",
  18406. "type": "integer"
  18407. },
  18408. "askqueueinfo": {
  18409. "description": "大利市卖港股用",
  18410. "type": "string"
  18411. },
  18412. "askvolume": {
  18413. "description": "卖量1",
  18414. "type": "integer"
  18415. },
  18416. "askvolume10": {
  18417. "description": "卖量10",
  18418. "type": "integer"
  18419. },
  18420. "askvolume2": {
  18421. "description": "卖量2",
  18422. "type": "integer"
  18423. },
  18424. "askvolume3": {
  18425. "description": "卖量3",
  18426. "type": "integer"
  18427. },
  18428. "askvolume4": {
  18429. "description": "卖量4",
  18430. "type": "integer"
  18431. },
  18432. "askvolume5": {
  18433. "description": "卖量5",
  18434. "type": "integer"
  18435. },
  18436. "askvolume6": {
  18437. "description": "卖量6",
  18438. "type": "integer"
  18439. },
  18440. "askvolume7": {
  18441. "description": "卖量7",
  18442. "type": "integer"
  18443. },
  18444. "askvolume8": {
  18445. "description": "卖量8",
  18446. "type": "integer"
  18447. },
  18448. "askvolume9": {
  18449. "description": "卖量9",
  18450. "type": "integer"
  18451. },
  18452. "averageprice": {
  18453. "description": "均价",
  18454. "type": "number"
  18455. },
  18456. "bid": {
  18457. "description": "买1",
  18458. "type": "number"
  18459. },
  18460. "bid10": {
  18461. "description": "买10",
  18462. "type": "number"
  18463. },
  18464. "bid2": {
  18465. "description": "买2",
  18466. "type": "number"
  18467. },
  18468. "bid3": {
  18469. "description": "买3",
  18470. "type": "number"
  18471. },
  18472. "bid4": {
  18473. "description": "买4",
  18474. "type": "number"
  18475. },
  18476. "bid5": {
  18477. "description": "买5",
  18478. "type": "number"
  18479. },
  18480. "bid6": {
  18481. "description": "买6",
  18482. "type": "number"
  18483. },
  18484. "bid7": {
  18485. "description": "买7",
  18486. "type": "number"
  18487. },
  18488. "bid8": {
  18489. "description": "买8",
  18490. "type": "number"
  18491. },
  18492. "bid9": {
  18493. "description": "买9",
  18494. "type": "number"
  18495. },
  18496. "bidorderid": {
  18497. "description": "买单号1",
  18498. "type": "integer"
  18499. },
  18500. "bidorderid2": {
  18501. "description": "买单号2",
  18502. "type": "integer"
  18503. },
  18504. "bidorderid3": {
  18505. "description": "买单号3",
  18506. "type": "integer"
  18507. },
  18508. "bidorderid4": {
  18509. "description": "买单号4",
  18510. "type": "integer"
  18511. },
  18512. "bidorderid5": {
  18513. "description": "买单号5",
  18514. "type": "integer"
  18515. },
  18516. "bidordervolume": {
  18517. "description": "买单量1",
  18518. "type": "integer"
  18519. },
  18520. "bidordervolume10": {
  18521. "description": "买单量10",
  18522. "type": "integer"
  18523. },
  18524. "bidordervolume2": {
  18525. "description": "买单量2",
  18526. "type": "integer"
  18527. },
  18528. "bidordervolume3": {
  18529. "description": "买单量3",
  18530. "type": "integer"
  18531. },
  18532. "bidordervolume4": {
  18533. "description": "买单量4",
  18534. "type": "integer"
  18535. },
  18536. "bidordervolume5": {
  18537. "description": "买单量5",
  18538. "type": "integer"
  18539. },
  18540. "bidordervolume6": {
  18541. "description": "买单量6",
  18542. "type": "integer"
  18543. },
  18544. "bidordervolume7": {
  18545. "description": "买单量7",
  18546. "type": "integer"
  18547. },
  18548. "bidordervolume8": {
  18549. "description": "买单量8",
  18550. "type": "integer"
  18551. },
  18552. "bidordervolume9": {
  18553. "description": "买单量9",
  18554. "type": "integer"
  18555. },
  18556. "bidqueueinfo": {
  18557. "description": "大利市买港股用",
  18558. "type": "string"
  18559. },
  18560. "bidvolume": {
  18561. "description": "买量1",
  18562. "type": "integer"
  18563. },
  18564. "bidvolume10": {
  18565. "description": "买量10",
  18566. "type": "integer"
  18567. },
  18568. "bidvolume2": {
  18569. "description": "买量2",
  18570. "type": "integer"
  18571. },
  18572. "bidvolume3": {
  18573. "description": "买量3",
  18574. "type": "integer"
  18575. },
  18576. "bidvolume4": {
  18577. "description": "买量4",
  18578. "type": "integer"
  18579. },
  18580. "bidvolume5": {
  18581. "description": "买量5",
  18582. "type": "integer"
  18583. },
  18584. "bidvolume6": {
  18585. "description": "买量6",
  18586. "type": "integer"
  18587. },
  18588. "bidvolume7": {
  18589. "description": "买量7",
  18590. "type": "integer"
  18591. },
  18592. "bidvolume8": {
  18593. "description": "买量8",
  18594. "type": "integer"
  18595. },
  18596. "bidvolume9": {
  18597. "description": "买量9",
  18598. "type": "integer"
  18599. },
  18600. "calloptionpremiums": {
  18601. "description": "认购期权1",
  18602. "type": "integer"
  18603. },
  18604. "calloptionpremiums2": {
  18605. "description": "认购期权2",
  18606. "type": "integer"
  18607. },
  18608. "calloptionpremiums3": {
  18609. "description": "认购期权3",
  18610. "type": "integer"
  18611. },
  18612. "calloptionpremiums4": {
  18613. "description": "认购期权4",
  18614. "type": "integer"
  18615. },
  18616. "calloptionpremiums5": {
  18617. "description": "认购期权5",
  18618. "type": "integer"
  18619. },
  18620. "cleartime": {
  18621. "description": "清盘时间",
  18622. "type": "integer"
  18623. },
  18624. "exchangecode": {
  18625. "description": "交易所代码",
  18626. "type": "integer"
  18627. },
  18628. "exchangedate": {
  18629. "description": "交易日",
  18630. "type": "integer"
  18631. },
  18632. "goodscode": {
  18633. "description": "商品代码",
  18634. "type": "string"
  18635. },
  18636. "grepmarketprice": {
  18637. "description": "暗盘价 港股专用",
  18638. "type": "number"
  18639. },
  18640. "highest": {
  18641. "description": "最高价",
  18642. "type": "number"
  18643. },
  18644. "holdincrement": {
  18645. "description": "单笔持仓",
  18646. "type": "integer"
  18647. },
  18648. "holdvolume": {
  18649. "description": "持仓",
  18650. "type": "integer"
  18651. },
  18652. "iep": {
  18653. "description": "平衡价 港股专用",
  18654. "type": "number"
  18655. },
  18656. "iev": {
  18657. "description": "平衡量 港股专用",
  18658. "type": "number"
  18659. },
  18660. "inventory": {
  18661. "description": "库存",
  18662. "type": "integer"
  18663. },
  18664. "iscleared": {
  18665. "description": "是否清盘标志",
  18666. "type": "integer"
  18667. },
  18668. "issettled": {
  18669. "description": "是否结算标志",
  18670. "type": "integer"
  18671. },
  18672. "last": {
  18673. "description": "最新价",
  18674. "type": "number"
  18675. },
  18676. "lastlot": {
  18677. "description": "最新成交手数",
  18678. "type": "integer"
  18679. },
  18680. "lasttime": {
  18681. "description": "行情时间(只有现价变化行情时间才变化)",
  18682. "type": "string"
  18683. },
  18684. "lastturnover": {
  18685. "description": "最新成交金额",
  18686. "type": "number"
  18687. },
  18688. "lastvolume": {
  18689. "description": "最新成交量",
  18690. "type": "integer"
  18691. },
  18692. "limitdown": {
  18693. "description": "跌停价",
  18694. "type": "number"
  18695. },
  18696. "limitup": {
  18697. "description": "涨停价",
  18698. "type": "number"
  18699. },
  18700. "lowest": {
  18701. "description": "最低价",
  18702. "type": "number"
  18703. },
  18704. "nontotalholdervolume": {
  18705. "description": "非交易持仓量",
  18706. "type": "integer"
  18707. },
  18708. "nontotallot": {
  18709. "description": "非交易总手数",
  18710. "type": "integer"
  18711. },
  18712. "nontotalturnover": {
  18713. "description": "非交易总金额",
  18714. "type": "integer"
  18715. },
  18716. "nontotalvolume": {
  18717. "description": "非交易总量",
  18718. "type": "integer"
  18719. },
  18720. "opened": {
  18721. "description": "开盘价",
  18722. "type": "number"
  18723. },
  18724. "opentime": {
  18725. "description": "开盘时间",
  18726. "type": "string"
  18727. },
  18728. "orderid": {
  18729. "description": "序号",
  18730. "type": "integer"
  18731. },
  18732. "preclose": {
  18733. "description": "昨收",
  18734. "type": "number"
  18735. },
  18736. "preholdvolume": {
  18737. "description": "昨持仓",
  18738. "type": "integer"
  18739. },
  18740. "presettle": {
  18741. "description": "昨结价",
  18742. "type": "number"
  18743. },
  18744. "publictradetype": {
  18745. "description": "公共交易标志类型 港股专用",
  18746. "type": "string"
  18747. },
  18748. "putoptionpremiums": {
  18749. "description": "认沽期权1",
  18750. "type": "integer"
  18751. },
  18752. "putoptionpremiums2": {
  18753. "description": "认沽期权2",
  18754. "type": "integer"
  18755. },
  18756. "putoptionpremiums3": {
  18757. "description": "认沽期权3",
  18758. "type": "integer"
  18759. },
  18760. "putoptionpremiums4": {
  18761. "description": "认沽期权4",
  18762. "type": "integer"
  18763. },
  18764. "putoptionpremiums5": {
  18765. "description": "认沽期权5",
  18766. "type": "integer"
  18767. },
  18768. "settle": {
  18769. "description": "结算价",
  18770. "type": "number"
  18771. },
  18772. "strikeprice": {
  18773. "description": "发行价",
  18774. "type": "number"
  18775. },
  18776. "totalaskvolume": {
  18777. "description": "内盘",
  18778. "type": "integer"
  18779. },
  18780. "totalbidvolume": {
  18781. "description": "外盘",
  18782. "type": "integer"
  18783. },
  18784. "totallot": {
  18785. "description": "总手数",
  18786. "type": "integer"
  18787. },
  18788. "totalturnover": {
  18789. "description": "总金额",
  18790. "type": "number"
  18791. },
  18792. "totalvolume": {
  18793. "description": "总量",
  18794. "type": "integer"
  18795. },
  18796. "utclasttime": {
  18797. "description": "utc的行情时间",
  18798. "type": "string"
  18799. }
  18800. }
  18801. },
  18802. "quote.QueryTSDataRsp": {
  18803. "type": "object",
  18804. "properties": {
  18805. "decimalPlace": {
  18806. "description": "小数位",
  18807. "type": "integer"
  18808. },
  18809. "endTime": {
  18810. "description": "结束时间",
  18811. "type": "string"
  18812. },
  18813. "goodsCode": {
  18814. "description": "商品代码",
  18815. "type": "string"
  18816. },
  18817. "historyDatas": {
  18818. "description": "历史数据",
  18819. "type": "array",
  18820. "items": {
  18821. "$ref": "#/definitions/quote.HistoryData"
  18822. }
  18823. },
  18824. "outGoodsCode": {
  18825. "description": "外部商品代码",
  18826. "type": "string"
  18827. },
  18828. "preSettle": {
  18829. "description": "昨结",
  18830. "type": "number"
  18831. },
  18832. "startTime": {
  18833. "description": "开始时间",
  18834. "type": "string"
  18835. },
  18836. "tradeDate": {
  18837. "description": "交易日",
  18838. "type": "string"
  18839. }
  18840. }
  18841. },
  18842. "szdz.QueryConvertLogRsp": {
  18843. "type": "object",
  18844. "required": [
  18845. "logid"
  18846. ],
  18847. "properties": {
  18848. "accountid": {
  18849. "description": "资金账户ID",
  18850. "type": "integer"
  18851. },
  18852. "clientticket": {
  18853. "description": "客户端流水号",
  18854. "type": "string"
  18855. },
  18856. "converttype": {
  18857. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍",
  18858. "type": "integer"
  18859. },
  18860. "createtime": {
  18861. "description": "记账时间",
  18862. "type": "string"
  18863. },
  18864. "daymaxvalue": {
  18865. "description": "配置当日最大转入限制",
  18866. "type": "number"
  18867. },
  18868. "daymaxvalue2": {
  18869. "description": "配置当日最大转入限制(转入)",
  18870. "type": "number"
  18871. },
  18872. "goodscode": {
  18873. "description": "商品代码",
  18874. "type": "string"
  18875. },
  18876. "goodsname": {
  18877. "description": "商品名称",
  18878. "type": "string"
  18879. },
  18880. "handlestatus": {
  18881. "description": "处理状态",
  18882. "type": "integer"
  18883. },
  18884. "innergoodsid": {
  18885. "description": "内部商品ID",
  18886. "type": "integer"
  18887. },
  18888. "inratio": {
  18889. "description": "配置转入比值",
  18890. "type": "integer"
  18891. },
  18892. "invalue": {
  18893. "description": "目标值",
  18894. "type": "number"
  18895. },
  18896. "logid": {
  18897. "description": "LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  18898. "type": "integer"
  18899. },
  18900. "mobile": {
  18901. "description": "手机号码(加密存储)",
  18902. "type": "string"
  18903. },
  18904. "outergoodscode": {
  18905. "description": "外部商品代码[JD\\PD]",
  18906. "type": "string"
  18907. },
  18908. "outratio": {
  18909. "description": "配置转出比值",
  18910. "type": "integer"
  18911. },
  18912. "outvalue": {
  18913. "description": "源值",
  18914. "type": "number"
  18915. },
  18916. "pddecimalplace": {
  18917. "description": "PD小数位",
  18918. "type": "integer"
  18919. },
  18920. "qty": {
  18921. "description": "数量",
  18922. "type": "string"
  18923. },
  18924. "remark": {
  18925. "description": "备注",
  18926. "type": "string"
  18927. },
  18928. "sessionid": {
  18929. "description": "会话ID",
  18930. "type": "integer"
  18931. },
  18932. "timemaxvalue": {
  18933. "description": "配置单次最大转入限制",
  18934. "type": "number"
  18935. },
  18936. "timemaxvalue2": {
  18937. "description": "配置单次最大转入限制(转入)",
  18938. "type": "number"
  18939. },
  18940. "timeminvalue": {
  18941. "description": "配置单次最小数量限制",
  18942. "type": "number"
  18943. },
  18944. "timeminvalue2": {
  18945. "description": "配置单次最小数量限制(转入)",
  18946. "type": "number"
  18947. },
  18948. "tradedate": {
  18949. "description": "交易日(yyyyMMdd)",
  18950. "type": "string"
  18951. },
  18952. "userid": {
  18953. "description": "用户ID",
  18954. "type": "integer"
  18955. }
  18956. }
  18957. },
  18958. "szdz.QueryGoodsPickupRsp": {
  18959. "type": "object",
  18960. "required": [
  18961. "takeorderid"
  18962. ],
  18963. "properties": {
  18964. "accountid": {
  18965. "description": "账户ID",
  18966. "type": "integer"
  18967. },
  18968. "address": {
  18969. "description": "提货人详细地址",
  18970. "type": "string"
  18971. },
  18972. "auditer": {
  18973. "description": "审核人",
  18974. "type": "integer"
  18975. },
  18976. "audittime": {
  18977. "description": "审核时间",
  18978. "type": "string"
  18979. },
  18980. "cardnum": {
  18981. "description": "提货人证件号码",
  18982. "type": "string"
  18983. },
  18984. "cardtypeid": {
  18985. "description": "提货人证件类型",
  18986. "type": "integer"
  18987. },
  18988. "checkremark": {
  18989. "description": "审核备注",
  18990. "type": "string"
  18991. },
  18992. "goodscode": {
  18993. "description": "商品代码",
  18994. "type": "string"
  18995. },
  18996. "goodsid": {
  18997. "description": "商品ID",
  18998. "type": "integer"
  18999. },
  19000. "goodsname": {
  19001. "description": "商品名称",
  19002. "type": "string"
  19003. },
  19004. "handlestatus": {
  19005. "description": "处理状态",
  19006. "type": "integer"
  19007. },
  19008. "marketid": {
  19009. "description": "市场ID",
  19010. "type": "integer"
  19011. },
  19012. "phonenum": {
  19013. "description": "提货人联系方式",
  19014. "type": "string"
  19015. },
  19016. "qty": {
  19017. "description": "提货数量",
  19018. "type": "number"
  19019. },
  19020. "recivername": {
  19021. "description": "提货人姓名",
  19022. "type": "string"
  19023. },
  19024. "reqtime": {
  19025. "description": "更新时间",
  19026. "type": "string"
  19027. },
  19028. "takemode": {
  19029. "description": "提货方式 - 2:自提 3:配送",
  19030. "type": "integer"
  19031. },
  19032. "takeorderid": {
  19033. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  19034. "type": "string"
  19035. },
  19036. "takeorderstatus": {
  19037. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  19038. "type": "integer"
  19039. },
  19040. "takeremark": {
  19041. "description": "提货备注",
  19042. "type": "string"
  19043. },
  19044. "tradedate": {
  19045. "description": "交易日(yyyyMMdd)",
  19046. "type": "string"
  19047. },
  19048. "userid": {
  19049. "description": "用户ID",
  19050. "type": "integer"
  19051. }
  19052. }
  19053. },
  19054. "szdz.QueryRecieptOrderRsp": {
  19055. "type": "object",
  19056. "required": [
  19057. "ordertime"
  19058. ],
  19059. "properties": {
  19060. "accountName": {
  19061. "description": "所属账号名称(已脱敏)",
  19062. "type": "string"
  19063. },
  19064. "accountid": {
  19065. "description": "资金账号",
  19066. "type": "integer"
  19067. },
  19068. "buyorsell": {
  19069. "description": "方向 - 0:买 1:卖",
  19070. "type": "integer"
  19071. },
  19072. "enableqty": {
  19073. "description": "可摘数量",
  19074. "type": "integer"
  19075. },
  19076. "goodscode": {
  19077. "description": "商品代码",
  19078. "type": "string"
  19079. },
  19080. "goodsid": {
  19081. "description": "商品ID",
  19082. "type": "integer"
  19083. },
  19084. "goodsname": {
  19085. "description": "商品名称",
  19086. "type": "string"
  19087. },
  19088. "orderid": {
  19089. "description": "委托单号",
  19090. "type": "string"
  19091. },
  19092. "orderprice": {
  19093. "description": "委托价格",
  19094. "type": "number"
  19095. },
  19096. "ordertime": {
  19097. "description": "委托时间",
  19098. "type": "string"
  19099. },
  19100. "tradedate": {
  19101. "description": "交易日(yyyyMMdd)",
  19102. "type": "string"
  19103. }
  19104. }
  19105. },
  19106. "szdz.QuerySZDZTradePositionRsp": {
  19107. "type": "object",
  19108. "properties": {
  19109. "accountid": {
  19110. "description": "账号Id",
  19111. "type": "integer"
  19112. },
  19113. "agreeunit": {
  19114. "description": "合约单位",
  19115. "type": "number"
  19116. },
  19117. "averageprice": {
  19118. "description": "持仓均价",
  19119. "type": "number"
  19120. },
  19121. "buyorsell": {
  19122. "description": "方向 - 0:买 1:卖",
  19123. "type": "integer"
  19124. },
  19125. "closetotalqty": {
  19126. "description": "平仓总数量",
  19127. "type": "integer"
  19128. },
  19129. "curholderamount": {
  19130. "description": "当前持仓总金额",
  19131. "type": "number"
  19132. },
  19133. "curpositionqty": {
  19134. "description": "当前持仓总数量",
  19135. "type": "integer"
  19136. },
  19137. "currencyid": {
  19138. "description": "报价货币ID",
  19139. "type": "integer"
  19140. },
  19141. "curtdposition": {
  19142. "description": "期末今日头寸",
  19143. "type": "integer"
  19144. },
  19145. "decimalplace": {
  19146. "description": "报价小数位",
  19147. "type": "integer"
  19148. },
  19149. "enableqty": {
  19150. "description": "可用量",
  19151. "type": "integer"
  19152. },
  19153. "fretdposition": {
  19154. "description": "冻结今日头寸",
  19155. "type": "integer"
  19156. },
  19157. "frozenqty": {
  19158. "description": "持仓冻结数量",
  19159. "type": "integer"
  19160. },
  19161. "goodscode": {
  19162. "description": "商品代码(内部)",
  19163. "type": "string"
  19164. },
  19165. "goodsid": {
  19166. "description": "商品Id",
  19167. "type": "integer"
  19168. },
  19169. "goodsname": {
  19170. "description": "商品名称",
  19171. "type": "string"
  19172. },
  19173. "goodunit": {
  19174. "description": "报价单位",
  19175. "type": "string"
  19176. },
  19177. "goodunitid": {
  19178. "description": "报价单位ID",
  19179. "type": "integer"
  19180. },
  19181. "holderamount": {
  19182. "description": "期初持仓总金额",
  19183. "type": "number"
  19184. },
  19185. "marketid": {
  19186. "description": "市场ID",
  19187. "type": "integer"
  19188. },
  19189. "openreqqty": {
  19190. "description": "开仓申请数量",
  19191. "type": "integer"
  19192. },
  19193. "opentotalqty": {
  19194. "description": "开仓总数量",
  19195. "type": "integer"
  19196. },
  19197. "otherfrozenqty": {
  19198. "description": "持仓其他冻结数量(交割冻结)",
  19199. "type": "integer"
  19200. },
  19201. "positionqty": {
  19202. "description": "期初持仓数量",
  19203. "type": "integer"
  19204. },
  19205. "szdz3freezqty": {
  19206. "description": "尚志大宗转换冻结总数量",
  19207. "type": "integer"
  19208. },
  19209. "tnqty": {
  19210. "description": "T+N冻结总量",
  19211. "type": "integer"
  19212. },
  19213. "tnusedqty": {
  19214. "description": "T+N使用量",
  19215. "type": "integer"
  19216. },
  19217. "trademode": {
  19218. "description": "交易模式",
  19219. "type": "integer"
  19220. },
  19221. "usedmargin": {
  19222. "description": "占用保证金",
  19223. "type": "number"
  19224. }
  19225. }
  19226. },
  19227. "taaccount.QueryAmountLogRsp": {
  19228. "type": "object",
  19229. "required": [
  19230. "accountid",
  19231. "amount",
  19232. "amountadjusttype",
  19233. "autoid",
  19234. "balance",
  19235. "createtime",
  19236. "currentbalance",
  19237. "operatetype"
  19238. ],
  19239. "properties": {
  19240. "OPERATETYPENAME": {
  19241. "description": "资金操作类型名称",
  19242. "type": "string"
  19243. },
  19244. "accountid": {
  19245. "description": "资金账户ID",
  19246. "type": "integer"
  19247. },
  19248. "agoodscode": {
  19249. "description": "竞拍商品代码",
  19250. "type": "string"
  19251. },
  19252. "agoodsname": {
  19253. "description": "竞拍商品名称",
  19254. "type": "string"
  19255. },
  19256. "amount": {
  19257. "description": "资金金额",
  19258. "type": "number"
  19259. },
  19260. "amountadjusttype": {
  19261. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  19262. "type": "integer"
  19263. },
  19264. "autoid": {
  19265. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  19266. "type": "integer"
  19267. },
  19268. "balance": {
  19269. "description": "期初余额",
  19270. "type": "number"
  19271. },
  19272. "businesscode": {
  19273. "description": "业务编号",
  19274. "type": "integer"
  19275. },
  19276. "createtime": {
  19277. "description": "发生时间",
  19278. "type": "string"
  19279. },
  19280. "currencyid": {
  19281. "description": "币种ID",
  19282. "type": "integer"
  19283. },
  19284. "currentbalance": {
  19285. "description": "期末余额(变动后金额)",
  19286. "type": "number"
  19287. },
  19288. "dgoodscode": {
  19289. "description": "交割商品代码",
  19290. "type": "string"
  19291. },
  19292. "dgoodsname": {
  19293. "description": "交割商品名称",
  19294. "type": "string"
  19295. },
  19296. "goodscode": {
  19297. "description": "商品代码",
  19298. "type": "string"
  19299. },
  19300. "goodsid": {
  19301. "description": "商品ID",
  19302. "type": "integer"
  19303. },
  19304. "goodsname": {
  19305. "description": "商品名称",
  19306. "type": "string"
  19307. },
  19308. "marketid": {
  19309. "description": "市场ID",
  19310. "type": "integer"
  19311. },
  19312. "marketname": {
  19313. "description": "市场名称",
  19314. "type": "string"
  19315. },
  19316. "moneyticket": {
  19317. "description": "资金流水号:银行端流水号",
  19318. "type": "integer"
  19319. },
  19320. "operatetype": {
  19321. "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:营销收款",
  19322. "type": "integer"
  19323. },
  19324. "relationorderid": {
  19325. "description": "关联单号",
  19326. "type": "string"
  19327. },
  19328. "remark": {
  19329. "description": "备注",
  19330. "type": "string"
  19331. },
  19332. "trademode": {
  19333. "description": "交易模式",
  19334. "type": "integer"
  19335. }
  19336. }
  19337. },
  19338. "taaccount.QueryHisAmountLogRsp": {
  19339. "type": "object",
  19340. "required": [
  19341. "accountid",
  19342. "amount",
  19343. "amountadjusttype",
  19344. "autoid",
  19345. "balance",
  19346. "createtime",
  19347. "currentbalance",
  19348. "histradedate",
  19349. "operatetype"
  19350. ],
  19351. "properties": {
  19352. "OPERATETYPENAME": {
  19353. "description": "资金操作类型名称",
  19354. "type": "string"
  19355. },
  19356. "accountid": {
  19357. "description": "资金账户ID",
  19358. "type": "integer"
  19359. },
  19360. "agoodscode": {
  19361. "description": "竞拍商品代码",
  19362. "type": "string"
  19363. },
  19364. "agoodsname": {
  19365. "description": "竞拍商品名称",
  19366. "type": "string"
  19367. },
  19368. "amount": {
  19369. "description": "资金金额",
  19370. "type": "number"
  19371. },
  19372. "amountadjusttype": {
  19373. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  19374. "type": "integer"
  19375. },
  19376. "autoid": {
  19377. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  19378. "type": "integer"
  19379. },
  19380. "balance": {
  19381. "description": "期初余额",
  19382. "type": "number"
  19383. },
  19384. "businesscode": {
  19385. "description": "业务编号",
  19386. "type": "integer"
  19387. },
  19388. "createtime": {
  19389. "description": "发生时间",
  19390. "type": "string"
  19391. },
  19392. "currencyid": {
  19393. "description": "币种ID",
  19394. "type": "integer"
  19395. },
  19396. "currentbalance": {
  19397. "description": "期末余额(变动后金额)",
  19398. "type": "number"
  19399. },
  19400. "dgoodscode": {
  19401. "description": "交割商品代码",
  19402. "type": "string"
  19403. },
  19404. "dgoodsname": {
  19405. "description": "交割商品名称",
  19406. "type": "string"
  19407. },
  19408. "goodscode": {
  19409. "description": "商品代码",
  19410. "type": "string"
  19411. },
  19412. "goodsid": {
  19413. "description": "商品ID",
  19414. "type": "integer"
  19415. },
  19416. "goodsname": {
  19417. "description": "商品名称",
  19418. "type": "string"
  19419. },
  19420. "histradedate": {
  19421. "description": "历史交易日",
  19422. "type": "string"
  19423. },
  19424. "isvaliddata": {
  19425. "description": "是否有效 - 0:无效 1:有效",
  19426. "type": "integer"
  19427. },
  19428. "marketid": {
  19429. "description": "市场ID",
  19430. "type": "integer"
  19431. },
  19432. "marketname": {
  19433. "description": "市场名称",
  19434. "type": "string"
  19435. },
  19436. "moneyticket": {
  19437. "description": "资金流水号:银行端流水号",
  19438. "type": "integer"
  19439. },
  19440. "operatetype": {
  19441. "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:营销收款",
  19442. "type": "integer"
  19443. },
  19444. "relationorderid": {
  19445. "description": "关联单号",
  19446. "type": "string"
  19447. },
  19448. "remark": {
  19449. "description": "备注",
  19450. "type": "string"
  19451. },
  19452. "trademode": {
  19453. "description": "交易模式",
  19454. "type": "integer"
  19455. }
  19456. }
  19457. },
  19458. "trade.QueryRecieptOrderRsp": {
  19459. "type": "object",
  19460. "required": [
  19461. "ordertime"
  19462. ],
  19463. "properties": {
  19464. "accountName": {
  19465. "description": "所属账号名称(已脱敏)",
  19466. "type": "string"
  19467. },
  19468. "accountid": {
  19469. "description": "资金账号",
  19470. "type": "integer"
  19471. },
  19472. "buyorsell": {
  19473. "description": "方向 - 0:买 1:卖",
  19474. "type": "integer"
  19475. },
  19476. "enableqty": {
  19477. "description": "可摘数量",
  19478. "type": "integer"
  19479. },
  19480. "goodscode": {
  19481. "description": "商品代码",
  19482. "type": "string"
  19483. },
  19484. "goodsid": {
  19485. "description": "商品ID",
  19486. "type": "integer"
  19487. },
  19488. "goodsname": {
  19489. "description": "商品名称",
  19490. "type": "string"
  19491. },
  19492. "orderid": {
  19493. "description": "委托单号",
  19494. "type": "string"
  19495. },
  19496. "orderprice": {
  19497. "description": "委托价格",
  19498. "type": "number"
  19499. },
  19500. "ordertime": {
  19501. "description": "委托时间",
  19502. "type": "string"
  19503. },
  19504. "tradedate": {
  19505. "description": "交易日(yyyyMMdd)",
  19506. "type": "string"
  19507. }
  19508. }
  19509. },
  19510. "user.LoginQueryRsp": {
  19511. "type": "object",
  19512. "properties": {
  19513. "externalExchanges": {
  19514. "description": "外部交易所",
  19515. "type": "array",
  19516. "items": {
  19517. "$ref": "#/definitions/models.Externalexchange"
  19518. }
  19519. },
  19520. "goodsgroups": {
  19521. "description": "商品组",
  19522. "type": "array",
  19523. "items": {
  19524. "$ref": "#/definitions/models.Goodsgroup"
  19525. }
  19526. },
  19527. "loginAccount": {
  19528. "description": "登录账号",
  19529. "type": "object",
  19530. "$ref": "#/definitions/models.Loginaccount"
  19531. },
  19532. "markets": {
  19533. "description": "市场",
  19534. "type": "array",
  19535. "items": {
  19536. "$ref": "#/definitions/models.Market"
  19537. }
  19538. },
  19539. "systemParams": {
  19540. "description": "系统参数",
  19541. "type": "array",
  19542. "items": {
  19543. "$ref": "#/definitions/models.Systemparam"
  19544. }
  19545. },
  19546. "userAccount": {
  19547. "description": "用户账号",
  19548. "type": "object",
  19549. "$ref": "#/definitions/models.Useraccount"
  19550. },
  19551. "userInfo": {
  19552. "description": "用户信息",
  19553. "type": "object",
  19554. "$ref": "#/definitions/models.Userinfo"
  19555. },
  19556. "username": {
  19557. "description": "用户姓名",
  19558. "type": "string"
  19559. }
  19560. }
  19561. }
  19562. },
  19563. "securityDefinitions": {
  19564. "ApiKeyAuth": {
  19565. "type": "apiKey",
  19566. "name": "Authorization",
  19567. "in": "header"
  19568. }
  19569. }
  19570. }`
  19571. type swaggerInfo struct {
  19572. Version string
  19573. Host string
  19574. BasePath string
  19575. Schemes []string
  19576. Title string
  19577. Description string
  19578. }
  19579. // SwaggerInfo holds exported Swagger Info so clients can modify it
  19580. var SwaggerInfo = swaggerInfo{
  19581. Version: "1.0",
  19582. Host: "",
  19583. BasePath: "/api",
  19584. Schemes: []string{},
  19585. Title: "MTP2.0 查询服务 API",
  19586. Description: "新的查询服务,替代原通用查询服务。游客Token:c886a057f3d820d4dbc41473686c7c2d",
  19587. }
  19588. type s struct{}
  19589. func (s *s) ReadDoc() string {
  19590. sInfo := SwaggerInfo
  19591. sInfo.Description = strings.Replace(sInfo.Description, "\n", "\\n", -1)
  19592. t, err := template.New("swagger_info").Funcs(template.FuncMap{
  19593. "marshal": func(v interface{}) string {
  19594. a, _ := json.Marshal(v)
  19595. return string(a)
  19596. },
  19597. }).Parse(doc)
  19598. if err != nil {
  19599. return doc
  19600. }
  19601. var tpl bytes.Buffer
  19602. if err := t.Execute(&tpl, sInfo); err != nil {
  19603. return doc
  19604. }
  19605. return tpl.String()
  19606. }
  19607. func init() {
  19608. swag.Register(swag.Name, &s{})
  19609. }