docs.go 734 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402640364046405640664076408640964106411641264136414641564166417641864196420642164226423642464256426642764286429643064316432643364346435643664376438643964406441644264436444644564466447644864496450645164526453645464556456645764586459646064616462646364646465646664676468646964706471647264736474647564766477647864796480648164826483648464856486648764886489649064916492649364946495649664976498649965006501650265036504650565066507650865096510651165126513651465156516651765186519652065216522652365246525652665276528652965306531653265336534653565366537653865396540654165426543654465456546654765486549655065516552655365546555655665576558655965606561656265636564656565666567656865696570657165726573657465756576657765786579658065816582658365846585658665876588658965906591659265936594659565966597659865996600660166026603660466056606660766086609661066116612661366146615661666176618661966206621662266236624662566266627662866296630663166326633663466356636663766386639664066416642664366446645664666476648664966506651665266536654665566566657665866596660666166626663666466656666666766686669667066716672667366746675667666776678667966806681668266836684668566866687668866896690669166926693669466956696669766986699670067016702670367046705670667076708670967106711671267136714671567166717671867196720672167226723672467256726672767286729673067316732673367346735673667376738673967406741674267436744674567466747674867496750675167526753675467556756675767586759676067616762676367646765676667676768676967706771677267736774677567766777677867796780678167826783678467856786678767886789679067916792679367946795679667976798679968006801680268036804680568066807680868096810681168126813681468156816681768186819682068216822682368246825682668276828682968306831683268336834683568366837683868396840684168426843684468456846684768486849685068516852685368546855685668576858685968606861686268636864686568666867686868696870687168726873687468756876687768786879688068816882688368846885688668876888688968906891689268936894689568966897689868996900690169026903690469056906690769086909691069116912691369146915691669176918691969206921692269236924692569266927692869296930693169326933693469356936693769386939694069416942694369446945694669476948694969506951695269536954695569566957695869596960696169626963696469656966696769686969697069716972697369746975697669776978697969806981698269836984698569866987698869896990699169926993699469956996699769986999700070017002700370047005700670077008700970107011701270137014701570167017701870197020702170227023702470257026702770287029703070317032703370347035703670377038703970407041704270437044704570467047704870497050705170527053705470557056705770587059706070617062706370647065706670677068706970707071707270737074707570767077707870797080708170827083708470857086708770887089709070917092709370947095709670977098709971007101710271037104710571067107710871097110711171127113711471157116711771187119712071217122712371247125712671277128712971307131713271337134713571367137713871397140714171427143714471457146714771487149715071517152715371547155715671577158715971607161716271637164716571667167716871697170717171727173717471757176717771787179718071817182718371847185718671877188718971907191719271937194719571967197719871997200720172027203720472057206720772087209721072117212721372147215721672177218721972207221722272237224722572267227722872297230723172327233723472357236723772387239724072417242724372447245724672477248724972507251725272537254725572567257725872597260726172627263726472657266726772687269727072717272727372747275727672777278727972807281728272837284728572867287728872897290729172927293729472957296729772987299730073017302730373047305730673077308730973107311731273137314731573167317731873197320732173227323732473257326732773287329733073317332733373347335733673377338733973407341734273437344734573467347734873497350735173527353735473557356735773587359736073617362736373647365736673677368736973707371737273737374737573767377737873797380738173827383738473857386738773887389739073917392739373947395739673977398739974007401740274037404740574067407740874097410741174127413741474157416741774187419742074217422742374247425742674277428742974307431743274337434743574367437743874397440744174427443744474457446744774487449745074517452745374547455745674577458745974607461746274637464746574667467746874697470747174727473747474757476747774787479748074817482748374847485748674877488748974907491749274937494749574967497749874997500750175027503750475057506750775087509751075117512751375147515751675177518751975207521752275237524752575267527752875297530753175327533753475357536753775387539754075417542754375447545754675477548754975507551755275537554755575567557755875597560756175627563756475657566756775687569757075717572757375747575757675777578757975807581758275837584758575867587758875897590759175927593759475957596759775987599760076017602760376047605760676077608760976107611761276137614761576167617761876197620762176227623762476257626762776287629763076317632763376347635763676377638763976407641764276437644764576467647764876497650765176527653765476557656765776587659766076617662766376647665766676677668766976707671767276737674767576767677767876797680768176827683768476857686768776887689769076917692769376947695769676977698769977007701770277037704770577067707770877097710771177127713771477157716771777187719772077217722772377247725772677277728772977307731773277337734773577367737773877397740774177427743774477457746774777487749775077517752775377547755775677577758775977607761776277637764776577667767776877697770777177727773777477757776777777787779778077817782778377847785778677877788778977907791779277937794779577967797779877997800780178027803780478057806780778087809781078117812781378147815781678177818781978207821782278237824782578267827782878297830783178327833783478357836783778387839784078417842784378447845784678477848784978507851785278537854785578567857785878597860786178627863786478657866786778687869787078717872787378747875787678777878787978807881788278837884788578867887788878897890789178927893789478957896789778987899790079017902790379047905790679077908790979107911791279137914791579167917791879197920792179227923792479257926792779287929793079317932793379347935793679377938793979407941794279437944794579467947794879497950795179527953795479557956795779587959796079617962796379647965796679677968796979707971797279737974797579767977797879797980798179827983798479857986798779887989799079917992799379947995799679977998799980008001800280038004800580068007800880098010801180128013801480158016801780188019802080218022802380248025802680278028802980308031803280338034803580368037803880398040804180428043804480458046804780488049805080518052805380548055805680578058805980608061806280638064806580668067806880698070807180728073807480758076807780788079808080818082808380848085808680878088808980908091809280938094809580968097809880998100810181028103810481058106810781088109811081118112811381148115811681178118811981208121812281238124812581268127812881298130813181328133813481358136813781388139814081418142814381448145814681478148814981508151815281538154815581568157815881598160816181628163816481658166816781688169817081718172817381748175817681778178817981808181818281838184818581868187818881898190819181928193819481958196819781988199820082018202820382048205820682078208820982108211821282138214821582168217821882198220822182228223822482258226822782288229823082318232823382348235823682378238823982408241824282438244824582468247824882498250825182528253825482558256825782588259826082618262826382648265826682678268826982708271827282738274827582768277827882798280828182828283828482858286828782888289829082918292829382948295829682978298829983008301830283038304830583068307830883098310831183128313831483158316831783188319832083218322832383248325832683278328832983308331833283338334833583368337833883398340834183428343834483458346834783488349835083518352835383548355835683578358835983608361836283638364836583668367836883698370837183728373837483758376837783788379838083818382838383848385838683878388838983908391839283938394839583968397839883998400840184028403840484058406840784088409841084118412841384148415841684178418841984208421842284238424842584268427842884298430843184328433843484358436843784388439844084418442844384448445844684478448844984508451845284538454845584568457845884598460846184628463846484658466846784688469847084718472847384748475847684778478847984808481848284838484848584868487848884898490849184928493849484958496849784988499850085018502850385048505850685078508850985108511851285138514851585168517851885198520852185228523852485258526852785288529853085318532853385348535853685378538853985408541854285438544854585468547854885498550855185528553855485558556855785588559856085618562856385648565856685678568856985708571857285738574857585768577857885798580858185828583858485858586858785888589859085918592859385948595859685978598859986008601860286038604860586068607860886098610861186128613861486158616861786188619862086218622862386248625862686278628862986308631863286338634863586368637863886398640864186428643864486458646864786488649865086518652865386548655865686578658865986608661866286638664866586668667866886698670867186728673867486758676867786788679868086818682868386848685868686878688868986908691869286938694869586968697869886998700870187028703870487058706870787088709871087118712871387148715871687178718871987208721872287238724872587268727872887298730873187328733873487358736873787388739874087418742874387448745874687478748874987508751875287538754875587568757875887598760876187628763876487658766876787688769877087718772877387748775877687778778877987808781878287838784878587868787878887898790879187928793879487958796879787988799880088018802880388048805880688078808880988108811881288138814881588168817881888198820882188228823882488258826882788288829883088318832883388348835883688378838883988408841884288438844884588468847884888498850885188528853885488558856885788588859886088618862886388648865886688678868886988708871887288738874887588768877887888798880888188828883888488858886888788888889889088918892889388948895889688978898889989008901890289038904890589068907890889098910891189128913891489158916891789188919892089218922892389248925892689278928892989308931893289338934893589368937893889398940894189428943894489458946894789488949895089518952895389548955895689578958895989608961896289638964896589668967896889698970897189728973897489758976897789788979898089818982898389848985898689878988898989908991899289938994899589968997899889999000900190029003900490059006900790089009901090119012901390149015901690179018901990209021902290239024902590269027902890299030903190329033903490359036903790389039904090419042904390449045904690479048904990509051905290539054905590569057905890599060906190629063906490659066906790689069907090719072907390749075907690779078907990809081908290839084908590869087908890899090909190929093909490959096909790989099910091019102910391049105910691079108910991109111911291139114911591169117911891199120912191229123912491259126912791289129913091319132913391349135913691379138913991409141914291439144914591469147914891499150915191529153915491559156915791589159916091619162916391649165916691679168916991709171917291739174917591769177917891799180918191829183918491859186918791889189919091919192919391949195919691979198919992009201920292039204920592069207920892099210921192129213921492159216921792189219922092219222922392249225922692279228922992309231923292339234923592369237923892399240924192429243924492459246924792489249925092519252925392549255925692579258925992609261926292639264926592669267926892699270927192729273927492759276927792789279928092819282928392849285928692879288928992909291929292939294929592969297929892999300930193029303930493059306930793089309931093119312931393149315931693179318931993209321932293239324932593269327932893299330933193329333933493359336933793389339934093419342934393449345934693479348934993509351935293539354935593569357935893599360936193629363936493659366936793689369937093719372937393749375937693779378937993809381938293839384938593869387938893899390939193929393939493959396939793989399940094019402940394049405940694079408940994109411941294139414941594169417941894199420942194229423942494259426942794289429943094319432943394349435943694379438943994409441944294439444944594469447944894499450945194529453945494559456945794589459946094619462946394649465946694679468946994709471947294739474947594769477947894799480948194829483948494859486948794889489949094919492949394949495949694979498949995009501950295039504950595069507950895099510951195129513951495159516951795189519952095219522952395249525952695279528952995309531953295339534953595369537953895399540954195429543954495459546954795489549955095519552955395549555955695579558955995609561956295639564956595669567956895699570957195729573957495759576957795789579958095819582958395849585958695879588958995909591959295939594959595969597959895999600960196029603960496059606960796089609961096119612961396149615961696179618961996209621962296239624962596269627962896299630963196329633963496359636963796389639964096419642964396449645964696479648964996509651965296539654965596569657965896599660966196629663966496659666966796689669967096719672967396749675967696779678967996809681968296839684968596869687968896899690969196929693969496959696969796989699970097019702970397049705970697079708970997109711971297139714971597169717971897199720972197229723972497259726972797289729973097319732973397349735973697379738973997409741974297439744974597469747974897499750975197529753975497559756975797589759976097619762976397649765976697679768976997709771977297739774977597769777977897799780978197829783978497859786978797889789979097919792979397949795979697979798979998009801980298039804980598069807980898099810981198129813981498159816981798189819982098219822982398249825982698279828982998309831983298339834983598369837983898399840984198429843984498459846984798489849985098519852985398549855985698579858985998609861986298639864986598669867986898699870987198729873987498759876987798789879988098819882988398849885988698879888988998909891989298939894989598969897989898999900990199029903990499059906990799089909991099119912991399149915991699179918991999209921992299239924992599269927992899299930993199329933993499359936993799389939994099419942994399449945994699479948994999509951995299539954995599569957995899599960996199629963996499659966996799689969997099719972997399749975997699779978997999809981998299839984998599869987998899899990999199929993999499959996999799989999100001000110002100031000410005100061000710008100091001010011100121001310014100151001610017100181001910020100211002210023100241002510026100271002810029100301003110032100331003410035100361003710038100391004010041100421004310044100451004610047100481004910050100511005210053100541005510056100571005810059100601006110062100631006410065100661006710068100691007010071100721007310074100751007610077100781007910080100811008210083100841008510086100871008810089100901009110092100931009410095100961009710098100991010010101101021010310104101051010610107101081010910110101111011210113101141011510116101171011810119101201012110122101231012410125101261012710128101291013010131101321013310134101351013610137101381013910140101411014210143101441014510146101471014810149101501015110152101531015410155101561015710158101591016010161101621016310164101651016610167101681016910170101711017210173101741017510176101771017810179101801018110182101831018410185101861018710188101891019010191101921019310194101951019610197101981019910200102011020210203102041020510206102071020810209102101021110212102131021410215102161021710218102191022010221102221022310224102251022610227102281022910230102311023210233102341023510236102371023810239102401024110242102431024410245102461024710248102491025010251102521025310254102551025610257102581025910260102611026210263102641026510266102671026810269102701027110272102731027410275102761027710278102791028010281102821028310284102851028610287102881028910290102911029210293102941029510296102971029810299103001030110302103031030410305103061030710308103091031010311103121031310314103151031610317103181031910320103211032210323103241032510326103271032810329103301033110332103331033410335103361033710338103391034010341103421034310344103451034610347103481034910350103511035210353103541035510356103571035810359103601036110362103631036410365103661036710368103691037010371103721037310374103751037610377103781037910380103811038210383103841038510386103871038810389103901039110392103931039410395103961039710398103991040010401104021040310404104051040610407104081040910410104111041210413104141041510416104171041810419104201042110422104231042410425104261042710428104291043010431104321043310434104351043610437104381043910440104411044210443104441044510446104471044810449104501045110452104531045410455104561045710458104591046010461104621046310464104651046610467104681046910470104711047210473104741047510476104771047810479104801048110482104831048410485104861048710488104891049010491104921049310494104951049610497104981049910500105011050210503105041050510506105071050810509105101051110512105131051410515105161051710518105191052010521105221052310524105251052610527105281052910530105311053210533105341053510536105371053810539105401054110542105431054410545105461054710548105491055010551105521055310554105551055610557105581055910560105611056210563105641056510566105671056810569105701057110572105731057410575105761057710578105791058010581105821058310584105851058610587105881058910590105911059210593105941059510596105971059810599106001060110602106031060410605106061060710608106091061010611106121061310614106151061610617106181061910620106211062210623106241062510626106271062810629106301063110632106331063410635106361063710638106391064010641106421064310644106451064610647106481064910650106511065210653106541065510656106571065810659106601066110662106631066410665106661066710668106691067010671106721067310674106751067610677106781067910680106811068210683106841068510686106871068810689106901069110692106931069410695106961069710698106991070010701107021070310704107051070610707107081070910710107111071210713107141071510716107171071810719107201072110722107231072410725107261072710728107291073010731107321073310734107351073610737107381073910740107411074210743107441074510746107471074810749107501075110752107531075410755107561075710758107591076010761107621076310764107651076610767107681076910770107711077210773107741077510776107771077810779107801078110782107831078410785107861078710788107891079010791107921079310794107951079610797107981079910800108011080210803108041080510806108071080810809108101081110812108131081410815108161081710818108191082010821108221082310824108251082610827108281082910830108311083210833108341083510836108371083810839108401084110842108431084410845108461084710848108491085010851108521085310854108551085610857108581085910860108611086210863108641086510866108671086810869108701087110872108731087410875108761087710878108791088010881108821088310884108851088610887108881088910890108911089210893108941089510896108971089810899109001090110902109031090410905109061090710908109091091010911109121091310914109151091610917109181091910920109211092210923109241092510926109271092810929109301093110932109331093410935109361093710938109391094010941109421094310944109451094610947109481094910950109511095210953109541095510956109571095810959109601096110962109631096410965109661096710968109691097010971109721097310974109751097610977109781097910980109811098210983109841098510986109871098810989109901099110992109931099410995109961099710998109991100011001110021100311004110051100611007110081100911010110111101211013110141101511016110171101811019110201102111022110231102411025110261102711028110291103011031110321103311034110351103611037110381103911040110411104211043110441104511046110471104811049110501105111052110531105411055110561105711058110591106011061110621106311064110651106611067110681106911070110711107211073110741107511076110771107811079110801108111082110831108411085110861108711088110891109011091110921109311094110951109611097110981109911100111011110211103111041110511106111071110811109111101111111112111131111411115111161111711118111191112011121111221112311124111251112611127111281112911130111311113211133111341113511136111371113811139111401114111142111431114411145111461114711148111491115011151111521115311154111551115611157111581115911160111611116211163111641116511166111671116811169111701117111172111731117411175111761117711178111791118011181111821118311184111851118611187111881118911190111911119211193111941119511196111971119811199112001120111202112031120411205112061120711208112091121011211112121121311214112151121611217112181121911220112211122211223112241122511226112271122811229112301123111232112331123411235112361123711238112391124011241112421124311244112451124611247112481124911250112511125211253112541125511256112571125811259112601126111262112631126411265112661126711268112691127011271112721127311274112751127611277112781127911280112811128211283112841128511286112871128811289112901129111292112931129411295112961129711298112991130011301113021130311304113051130611307113081130911310113111131211313113141131511316113171131811319113201132111322113231132411325113261132711328113291133011331113321133311334113351133611337113381133911340113411134211343113441134511346113471134811349113501135111352113531135411355113561135711358113591136011361113621136311364113651136611367113681136911370113711137211373113741137511376113771137811379113801138111382113831138411385113861138711388113891139011391113921139311394113951139611397113981139911400114011140211403114041140511406114071140811409114101141111412114131141411415114161141711418114191142011421114221142311424114251142611427114281142911430114311143211433114341143511436114371143811439114401144111442114431144411445114461144711448114491145011451114521145311454114551145611457114581145911460114611146211463114641146511466114671146811469114701147111472114731147411475114761147711478114791148011481114821148311484114851148611487114881148911490114911149211493114941149511496114971149811499115001150111502115031150411505115061150711508115091151011511115121151311514115151151611517115181151911520115211152211523115241152511526115271152811529115301153111532115331153411535115361153711538115391154011541115421154311544115451154611547115481154911550115511155211553115541155511556115571155811559115601156111562115631156411565115661156711568115691157011571115721157311574115751157611577115781157911580115811158211583115841158511586115871158811589115901159111592115931159411595115961159711598115991160011601116021160311604116051160611607116081160911610116111161211613116141161511616116171161811619116201162111622116231162411625116261162711628116291163011631116321163311634116351163611637116381163911640116411164211643116441164511646116471164811649116501165111652116531165411655116561165711658116591166011661116621166311664116651166611667116681166911670116711167211673116741167511676116771167811679116801168111682116831168411685116861168711688116891169011691116921169311694116951169611697116981169911700117011170211703117041170511706117071170811709117101171111712117131171411715117161171711718117191172011721117221172311724117251172611727117281172911730117311173211733117341173511736117371173811739117401174111742117431174411745117461174711748117491175011751117521175311754117551175611757117581175911760117611176211763117641176511766117671176811769117701177111772117731177411775117761177711778117791178011781117821178311784117851178611787117881178911790117911179211793117941179511796117971179811799118001180111802118031180411805118061180711808118091181011811118121181311814118151181611817118181181911820118211182211823118241182511826118271182811829118301183111832118331183411835118361183711838118391184011841118421184311844118451184611847118481184911850118511185211853118541185511856118571185811859118601186111862118631186411865118661186711868118691187011871118721187311874118751187611877118781187911880118811188211883118841188511886118871188811889118901189111892118931189411895118961189711898118991190011901119021190311904119051190611907119081190911910119111191211913119141191511916119171191811919119201192111922119231192411925119261192711928119291193011931119321193311934119351193611937119381193911940119411194211943119441194511946119471194811949119501195111952119531195411955119561195711958119591196011961119621196311964119651196611967119681196911970119711197211973119741197511976119771197811979119801198111982119831198411985119861198711988119891199011991119921199311994119951199611997119981199912000120011200212003120041200512006120071200812009120101201112012120131201412015120161201712018120191202012021120221202312024120251202612027120281202912030120311203212033120341203512036120371203812039120401204112042120431204412045120461204712048120491205012051120521205312054120551205612057120581205912060120611206212063120641206512066120671206812069120701207112072120731207412075120761207712078120791208012081120821208312084120851208612087120881208912090120911209212093120941209512096120971209812099121001210112102121031210412105121061210712108121091211012111121121211312114121151211612117121181211912120121211212212123121241212512126121271212812129121301213112132121331213412135121361213712138121391214012141121421214312144121451214612147121481214912150121511215212153121541215512156121571215812159121601216112162121631216412165121661216712168121691217012171121721217312174121751217612177121781217912180121811218212183121841218512186121871218812189121901219112192121931219412195121961219712198121991220012201122021220312204122051220612207122081220912210122111221212213122141221512216122171221812219122201222112222122231222412225122261222712228122291223012231122321223312234122351223612237122381223912240122411224212243122441224512246122471224812249122501225112252122531225412255122561225712258122591226012261122621226312264122651226612267122681226912270122711227212273122741227512276122771227812279122801228112282122831228412285122861228712288122891229012291122921229312294122951229612297122981229912300123011230212303123041230512306123071230812309123101231112312123131231412315123161231712318123191232012321123221232312324123251232612327123281232912330123311233212333123341233512336123371233812339123401234112342123431234412345123461234712348123491235012351123521235312354123551235612357123581235912360123611236212363123641236512366123671236812369123701237112372123731237412375123761237712378123791238012381123821238312384123851238612387123881238912390123911239212393123941239512396123971239812399124001240112402124031240412405124061240712408124091241012411124121241312414124151241612417124181241912420124211242212423124241242512426124271242812429124301243112432124331243412435124361243712438124391244012441124421244312444124451244612447124481244912450124511245212453124541245512456124571245812459124601246112462124631246412465124661246712468124691247012471124721247312474124751247612477124781247912480124811248212483124841248512486124871248812489124901249112492124931249412495124961249712498124991250012501125021250312504125051250612507125081250912510125111251212513125141251512516125171251812519125201252112522125231252412525125261252712528125291253012531125321253312534125351253612537125381253912540125411254212543125441254512546125471254812549125501255112552125531255412555125561255712558125591256012561125621256312564125651256612567125681256912570125711257212573125741257512576125771257812579125801258112582125831258412585125861258712588125891259012591125921259312594125951259612597125981259912600126011260212603126041260512606126071260812609126101261112612126131261412615126161261712618126191262012621126221262312624126251262612627126281262912630126311263212633126341263512636126371263812639126401264112642126431264412645126461264712648126491265012651126521265312654126551265612657126581265912660126611266212663126641266512666126671266812669126701267112672126731267412675126761267712678126791268012681126821268312684126851268612687126881268912690126911269212693126941269512696126971269812699127001270112702127031270412705127061270712708127091271012711127121271312714127151271612717127181271912720127211272212723127241272512726127271272812729127301273112732127331273412735127361273712738127391274012741127421274312744127451274612747127481274912750127511275212753127541275512756127571275812759127601276112762127631276412765127661276712768127691277012771127721277312774127751277612777127781277912780127811278212783127841278512786127871278812789127901279112792127931279412795127961279712798127991280012801128021280312804128051280612807128081280912810128111281212813128141281512816128171281812819128201282112822128231282412825128261282712828128291283012831128321283312834128351283612837128381283912840128411284212843128441284512846128471284812849128501285112852128531285412855128561285712858128591286012861128621286312864128651286612867128681286912870128711287212873128741287512876128771287812879128801288112882128831288412885128861288712888128891289012891128921289312894128951289612897128981289912900129011290212903129041290512906129071290812909129101291112912129131291412915129161291712918129191292012921129221292312924129251292612927129281292912930129311293212933129341293512936129371293812939129401294112942129431294412945129461294712948129491295012951129521295312954129551295612957129581295912960129611296212963129641296512966129671296812969129701297112972129731297412975129761297712978129791298012981129821298312984129851298612987129881298912990129911299212993129941299512996129971299812999130001300113002130031300413005130061300713008130091301013011130121301313014130151301613017130181301913020130211302213023130241302513026130271302813029130301303113032130331303413035130361303713038130391304013041130421304313044130451304613047130481304913050130511305213053130541305513056130571305813059130601306113062130631306413065130661306713068130691307013071130721307313074130751307613077130781307913080130811308213083130841308513086130871308813089130901309113092130931309413095130961309713098130991310013101131021310313104131051310613107131081310913110131111311213113131141311513116131171311813119131201312113122131231312413125131261312713128131291313013131131321313313134131351313613137131381313913140131411314213143131441314513146131471314813149131501315113152131531315413155131561315713158131591316013161131621316313164131651316613167131681316913170131711317213173131741317513176131771317813179131801318113182131831318413185131861318713188131891319013191131921319313194131951319613197131981319913200132011320213203132041320513206132071320813209132101321113212132131321413215132161321713218132191322013221132221322313224132251322613227132281322913230132311323213233132341323513236132371323813239132401324113242132431324413245132461324713248132491325013251132521325313254132551325613257132581325913260132611326213263132641326513266132671326813269132701327113272132731327413275132761327713278132791328013281132821328313284132851328613287132881328913290132911329213293132941329513296132971329813299133001330113302133031330413305133061330713308133091331013311133121331313314133151331613317133181331913320133211332213323133241332513326133271332813329133301333113332133331333413335133361333713338133391334013341133421334313344133451334613347133481334913350133511335213353133541335513356133571335813359133601336113362133631336413365133661336713368133691337013371133721337313374133751337613377133781337913380133811338213383133841338513386133871338813389133901339113392133931339413395133961339713398133991340013401134021340313404134051340613407134081340913410134111341213413134141341513416134171341813419134201342113422134231342413425134261342713428134291343013431134321343313434134351343613437134381343913440134411344213443134441344513446134471344813449134501345113452134531345413455134561345713458134591346013461134621346313464134651346613467134681346913470134711347213473134741347513476134771347813479134801348113482134831348413485134861348713488134891349013491134921349313494134951349613497134981349913500135011350213503135041350513506135071350813509135101351113512135131351413515135161351713518135191352013521135221352313524135251352613527135281352913530135311353213533135341353513536135371353813539135401354113542135431354413545135461354713548135491355013551135521355313554135551355613557135581355913560135611356213563135641356513566135671356813569135701357113572135731357413575135761357713578135791358013581135821358313584135851358613587135881358913590135911359213593135941359513596135971359813599136001360113602136031360413605136061360713608136091361013611136121361313614136151361613617136181361913620136211362213623136241362513626136271362813629136301363113632136331363413635136361363713638136391364013641136421364313644136451364613647136481364913650136511365213653136541365513656136571365813659136601366113662136631366413665136661366713668136691367013671136721367313674136751367613677136781367913680136811368213683136841368513686136871368813689136901369113692136931369413695136961369713698136991370013701137021370313704137051370613707137081370913710137111371213713137141371513716137171371813719137201372113722137231372413725137261372713728137291373013731137321373313734137351373613737137381373913740137411374213743137441374513746137471374813749137501375113752137531375413755137561375713758137591376013761137621376313764137651376613767137681376913770137711377213773137741377513776137771377813779137801378113782137831378413785137861378713788137891379013791137921379313794137951379613797137981379913800138011380213803138041380513806138071380813809138101381113812138131381413815138161381713818138191382013821138221382313824138251382613827138281382913830138311383213833138341383513836138371383813839138401384113842138431384413845138461384713848138491385013851138521385313854138551385613857138581385913860138611386213863138641386513866138671386813869138701387113872138731387413875138761387713878138791388013881138821388313884138851388613887138881388913890138911389213893138941389513896138971389813899139001390113902139031390413905139061390713908139091391013911139121391313914139151391613917139181391913920139211392213923139241392513926139271392813929139301393113932139331393413935139361393713938139391394013941139421394313944139451394613947139481394913950139511395213953139541395513956139571395813959139601396113962139631396413965139661396713968139691397013971139721397313974139751397613977139781397913980139811398213983139841398513986139871398813989139901399113992139931399413995139961399713998139991400014001140021400314004140051400614007140081400914010140111401214013140141401514016140171401814019140201402114022140231402414025140261402714028140291403014031140321403314034140351403614037140381403914040140411404214043140441404514046140471404814049140501405114052140531405414055140561405714058140591406014061140621406314064140651406614067140681406914070140711407214073140741407514076140771407814079140801408114082140831408414085140861408714088140891409014091140921409314094140951409614097140981409914100141011410214103141041410514106141071410814109141101411114112141131411414115141161411714118141191412014121141221412314124141251412614127141281412914130141311413214133141341413514136141371413814139141401414114142141431414414145141461414714148141491415014151141521415314154141551415614157141581415914160141611416214163141641416514166141671416814169141701417114172141731417414175141761417714178141791418014181141821418314184141851418614187141881418914190141911419214193141941419514196141971419814199142001420114202142031420414205142061420714208142091421014211142121421314214142151421614217142181421914220142211422214223142241422514226142271422814229142301423114232142331423414235142361423714238142391424014241142421424314244142451424614247142481424914250142511425214253142541425514256142571425814259142601426114262142631426414265142661426714268142691427014271142721427314274142751427614277142781427914280142811428214283142841428514286142871428814289142901429114292142931429414295142961429714298142991430014301143021430314304143051430614307143081430914310143111431214313143141431514316143171431814319143201432114322143231432414325143261432714328143291433014331143321433314334143351433614337143381433914340143411434214343143441434514346143471434814349143501435114352143531435414355143561435714358143591436014361143621436314364143651436614367143681436914370143711437214373143741437514376143771437814379143801438114382143831438414385143861438714388143891439014391143921439314394143951439614397143981439914400144011440214403144041440514406144071440814409144101441114412144131441414415144161441714418144191442014421144221442314424144251442614427144281442914430144311443214433144341443514436144371443814439144401444114442144431444414445144461444714448144491445014451144521445314454144551445614457144581445914460144611446214463144641446514466144671446814469144701447114472144731447414475144761447714478144791448014481144821448314484144851448614487144881448914490144911449214493144941449514496144971449814499145001450114502145031450414505145061450714508145091451014511145121451314514145151451614517145181451914520145211452214523145241452514526145271452814529145301453114532145331453414535145361453714538145391454014541145421454314544145451454614547145481454914550145511455214553145541455514556145571455814559145601456114562145631456414565145661456714568145691457014571145721457314574145751457614577145781457914580145811458214583145841458514586145871458814589145901459114592145931459414595145961459714598145991460014601146021460314604146051460614607146081460914610146111461214613146141461514616146171461814619146201462114622146231462414625146261462714628146291463014631146321463314634146351463614637146381463914640146411464214643146441464514646146471464814649146501465114652146531465414655146561465714658146591466014661146621466314664146651466614667146681466914670146711467214673146741467514676146771467814679146801468114682146831468414685146861468714688146891469014691146921469314694146951469614697146981469914700147011470214703147041470514706147071470814709147101471114712147131471414715147161471714718147191472014721147221472314724147251472614727147281472914730147311473214733147341473514736147371473814739147401474114742147431474414745147461474714748147491475014751147521475314754147551475614757147581475914760147611476214763147641476514766147671476814769147701477114772147731477414775147761477714778147791478014781147821478314784147851478614787147881478914790147911479214793147941479514796147971479814799148001480114802148031480414805148061480714808148091481014811148121481314814148151481614817148181481914820148211482214823148241482514826148271482814829148301483114832148331483414835148361483714838148391484014841148421484314844148451484614847148481484914850148511485214853148541485514856148571485814859148601486114862148631486414865148661486714868148691487014871148721487314874148751487614877148781487914880148811488214883148841488514886148871488814889148901489114892148931489414895148961489714898148991490014901149021490314904149051490614907149081490914910149111491214913149141491514916149171491814919149201492114922149231492414925149261492714928149291493014931149321493314934149351493614937149381493914940149411494214943149441494514946149471494814949149501495114952149531495414955149561495714958149591496014961149621496314964149651496614967149681496914970149711497214973149741497514976149771497814979149801498114982149831498414985149861498714988149891499014991149921499314994149951499614997149981499915000150011500215003150041500515006150071500815009150101501115012150131501415015150161501715018150191502015021150221502315024150251502615027150281502915030150311503215033150341503515036150371503815039150401504115042150431504415045150461504715048150491505015051150521505315054150551505615057150581505915060150611506215063150641506515066150671506815069150701507115072150731507415075150761507715078150791508015081150821508315084150851508615087150881508915090150911509215093150941509515096150971509815099151001510115102151031510415105151061510715108151091511015111151121511315114151151511615117151181511915120151211512215123151241512515126151271512815129151301513115132151331513415135151361513715138151391514015141151421514315144151451514615147151481514915150151511515215153151541515515156151571515815159151601516115162151631516415165151661516715168151691517015171151721517315174151751517615177151781517915180151811518215183151841518515186151871518815189151901519115192151931519415195151961519715198151991520015201152021520315204152051520615207152081520915210152111521215213152141521515216152171521815219152201522115222152231522415225152261522715228152291523015231152321523315234152351523615237152381523915240152411524215243152441524515246152471524815249152501525115252152531525415255152561525715258152591526015261152621526315264152651526615267152681526915270152711527215273152741527515276152771527815279152801528115282152831528415285152861528715288152891529015291152921529315294152951529615297152981529915300153011530215303153041530515306153071530815309153101531115312153131531415315153161531715318153191532015321153221532315324153251532615327153281532915330153311533215333153341533515336153371533815339153401534115342153431534415345153461534715348153491535015351153521535315354153551535615357153581535915360153611536215363153641536515366153671536815369153701537115372153731537415375153761537715378153791538015381153821538315384153851538615387153881538915390153911539215393153941539515396153971539815399154001540115402154031540415405154061540715408154091541015411154121541315414154151541615417154181541915420154211542215423154241542515426154271542815429154301543115432154331543415435154361543715438154391544015441154421544315444154451544615447154481544915450154511545215453154541545515456154571545815459154601546115462154631546415465154661546715468154691547015471154721547315474154751547615477154781547915480154811548215483154841548515486154871548815489154901549115492154931549415495154961549715498154991550015501155021550315504155051550615507155081550915510155111551215513155141551515516155171551815519155201552115522155231552415525155261552715528155291553015531155321553315534155351553615537155381553915540155411554215543155441554515546155471554815549155501555115552155531555415555155561555715558155591556015561155621556315564155651556615567155681556915570155711557215573155741557515576155771557815579155801558115582155831558415585155861558715588155891559015591155921559315594155951559615597155981559915600156011560215603156041560515606156071560815609156101561115612156131561415615156161561715618156191562015621156221562315624156251562615627156281562915630156311563215633156341563515636156371563815639156401564115642156431564415645156461564715648156491565015651156521565315654156551565615657156581565915660156611566215663156641566515666156671566815669156701567115672156731567415675156761567715678156791568015681156821568315684156851568615687156881568915690156911569215693156941569515696156971569815699157001570115702157031570415705157061570715708157091571015711157121571315714157151571615717157181571915720157211572215723157241572515726157271572815729157301573115732157331573415735157361573715738157391574015741157421574315744157451574615747157481574915750157511575215753157541575515756157571575815759157601576115762157631576415765157661576715768157691577015771157721577315774157751577615777157781577915780157811578215783157841578515786157871578815789157901579115792157931579415795157961579715798157991580015801158021580315804158051580615807158081580915810158111581215813158141581515816158171581815819158201582115822158231582415825158261582715828158291583015831158321583315834158351583615837158381583915840158411584215843158441584515846158471584815849158501585115852158531585415855158561585715858158591586015861158621586315864158651586615867158681586915870158711587215873158741587515876158771587815879158801588115882158831588415885158861588715888158891589015891158921589315894158951589615897158981589915900159011590215903159041590515906159071590815909159101591115912159131591415915159161591715918159191592015921159221592315924159251592615927159281592915930159311593215933159341593515936159371593815939159401594115942159431594415945159461594715948159491595015951159521595315954159551595615957159581595915960159611596215963159641596515966159671596815969159701597115972159731597415975159761597715978159791598015981159821598315984159851598615987159881598915990159911599215993159941599515996159971599815999160001600116002160031600416005160061600716008160091601016011160121601316014160151601616017160181601916020160211602216023160241602516026160271602816029160301603116032160331603416035160361603716038160391604016041160421604316044160451604616047160481604916050160511605216053160541605516056160571605816059160601606116062160631606416065160661606716068160691607016071160721607316074160751607616077160781607916080160811608216083160841608516086160871608816089160901609116092160931609416095160961609716098160991610016101161021610316104161051610616107161081610916110161111611216113161141611516116161171611816119161201612116122161231612416125161261612716128161291613016131161321613316134161351613616137161381613916140161411614216143161441614516146161471614816149161501615116152161531615416155161561615716158161591616016161161621616316164161651616616167161681616916170161711617216173161741617516176161771617816179161801618116182161831618416185161861618716188161891619016191161921619316194161951619616197161981619916200162011620216203162041620516206162071620816209162101621116212162131621416215162161621716218162191622016221162221622316224162251622616227162281622916230162311623216233162341623516236162371623816239162401624116242162431624416245162461624716248162491625016251162521625316254162551625616257162581625916260162611626216263162641626516266162671626816269162701627116272162731627416275162761627716278162791628016281162821628316284162851628616287162881628916290162911629216293162941629516296162971629816299163001630116302163031630416305163061630716308163091631016311163121631316314163151631616317163181631916320163211632216323163241632516326163271632816329163301633116332163331633416335163361633716338163391634016341163421634316344163451634616347163481634916350163511635216353163541635516356163571635816359163601636116362163631636416365163661636716368163691637016371163721637316374163751637616377163781637916380163811638216383163841638516386163871638816389163901639116392163931639416395163961639716398163991640016401164021640316404164051640616407164081640916410164111641216413164141641516416164171641816419164201642116422164231642416425164261642716428164291643016431164321643316434164351643616437164381643916440164411644216443164441644516446164471644816449164501645116452164531645416455164561645716458164591646016461164621646316464164651646616467164681646916470164711647216473164741647516476164771647816479164801648116482164831648416485164861648716488164891649016491164921649316494164951649616497164981649916500165011650216503165041650516506165071650816509165101651116512165131651416515165161651716518165191652016521165221652316524165251652616527165281652916530165311653216533165341653516536165371653816539165401654116542165431654416545165461654716548165491655016551165521655316554165551655616557165581655916560165611656216563165641656516566165671656816569165701657116572165731657416575165761657716578165791658016581165821658316584165851658616587165881658916590165911659216593165941659516596165971659816599166001660116602166031660416605166061660716608166091661016611166121661316614166151661616617166181661916620166211662216623166241662516626166271662816629166301663116632166331663416635166361663716638166391664016641166421664316644166451664616647166481664916650166511665216653166541665516656166571665816659166601666116662166631666416665166661666716668166691667016671166721667316674166751667616677166781667916680166811668216683166841668516686166871668816689166901669116692166931669416695166961669716698166991670016701167021670316704167051670616707167081670916710167111671216713167141671516716167171671816719167201672116722167231672416725167261672716728167291673016731167321673316734167351673616737167381673916740167411674216743167441674516746167471674816749167501675116752167531675416755167561675716758167591676016761167621676316764167651676616767167681676916770167711677216773167741677516776167771677816779167801678116782167831678416785167861678716788167891679016791167921679316794167951679616797167981679916800168011680216803168041680516806168071680816809168101681116812168131681416815168161681716818168191682016821168221682316824168251682616827168281682916830168311683216833168341683516836168371683816839168401684116842168431684416845168461684716848168491685016851168521685316854168551685616857168581685916860168611686216863168641686516866168671686816869168701687116872168731687416875168761687716878168791688016881168821688316884168851688616887168881688916890168911689216893168941689516896168971689816899169001690116902169031690416905169061690716908169091691016911169121691316914169151691616917169181691916920169211692216923169241692516926169271692816929169301693116932169331693416935169361693716938169391694016941169421694316944169451694616947169481694916950169511695216953169541695516956169571695816959169601696116962169631696416965169661696716968169691697016971169721697316974169751697616977169781697916980169811698216983169841698516986169871698816989169901699116992169931699416995169961699716998169991700017001170021700317004170051700617007170081700917010170111701217013170141701517016170171701817019170201702117022170231702417025170261702717028170291703017031170321703317034170351703617037170381703917040170411704217043170441704517046170471704817049170501705117052170531705417055170561705717058170591706017061170621706317064170651706617067170681706917070170711707217073170741707517076170771707817079170801708117082170831708417085170861708717088170891709017091170921709317094170951709617097170981709917100171011710217103171041710517106171071710817109171101711117112171131711417115171161711717118171191712017121171221712317124171251712617127171281712917130171311713217133171341713517136171371713817139171401714117142171431714417145171461714717148171491715017151171521715317154171551715617157171581715917160171611716217163171641716517166171671716817169171701717117172171731717417175171761717717178171791718017181171821718317184171851718617187171881718917190171911719217193171941719517196171971719817199172001720117202172031720417205172061720717208172091721017211172121721317214172151721617217172181721917220172211722217223172241722517226172271722817229172301723117232172331723417235172361723717238172391724017241172421724317244172451724617247172481724917250172511725217253172541725517256172571725817259172601726117262172631726417265172661726717268172691727017271172721727317274172751727617277172781727917280172811728217283172841728517286172871728817289172901729117292172931729417295172961729717298172991730017301173021730317304173051730617307173081730917310173111731217313173141731517316173171731817319173201732117322173231732417325173261732717328173291733017331173321733317334173351733617337173381733917340173411734217343173441734517346173471734817349173501735117352173531735417355173561735717358173591736017361173621736317364173651736617367173681736917370173711737217373173741737517376173771737817379173801738117382173831738417385173861738717388173891739017391173921739317394173951739617397173981739917400174011740217403174041740517406174071740817409174101741117412174131741417415174161741717418174191742017421174221742317424174251742617427174281742917430174311743217433174341743517436174371743817439174401744117442174431744417445174461744717448174491745017451174521745317454174551745617457174581745917460174611746217463174641746517466174671746817469174701747117472174731747417475174761747717478174791748017481174821748317484174851748617487174881748917490174911749217493174941749517496174971749817499175001750117502175031750417505175061750717508175091751017511175121751317514175151751617517175181751917520175211752217523175241752517526175271752817529175301753117532175331753417535175361753717538175391754017541175421754317544175451754617547175481754917550175511755217553175541755517556175571755817559175601756117562175631756417565175661756717568175691757017571175721757317574175751757617577175781757917580175811758217583175841758517586175871758817589175901759117592175931759417595175961759717598175991760017601176021760317604176051760617607176081760917610176111761217613176141761517616176171761817619176201762117622176231762417625176261762717628176291763017631176321763317634176351763617637176381763917640176411764217643176441764517646176471764817649176501765117652176531765417655176561765717658176591766017661176621766317664176651766617667176681766917670176711767217673176741767517676176771767817679176801768117682176831768417685176861768717688176891769017691176921769317694176951769617697176981769917700177011770217703177041770517706177071770817709177101771117712177131771417715177161771717718177191772017721177221772317724177251772617727177281772917730177311773217733177341773517736177371773817739177401774117742177431774417745177461774717748177491775017751177521775317754177551775617757177581775917760177611776217763177641776517766177671776817769177701777117772177731777417775177761777717778177791778017781177821778317784177851778617787177881778917790177911779217793177941779517796177971779817799178001780117802178031780417805178061780717808178091781017811178121781317814178151781617817178181781917820178211782217823178241782517826178271782817829178301783117832178331783417835178361783717838178391784017841178421784317844178451784617847178481784917850178511785217853178541785517856178571785817859178601786117862178631786417865178661786717868178691787017871178721787317874178751787617877178781787917880178811788217883178841788517886178871788817889178901789117892178931789417895178961789717898178991790017901179021790317904179051790617907179081790917910179111791217913179141791517916179171791817919179201792117922179231792417925179261792717928179291793017931179321793317934179351793617937179381793917940179411794217943179441794517946179471794817949179501795117952179531795417955179561795717958179591796017961179621796317964179651796617967179681796917970179711797217973179741797517976179771797817979179801798117982179831798417985179861798717988179891799017991179921799317994179951799617997179981799918000180011800218003180041800518006180071800818009180101801118012180131801418015180161801718018180191802018021180221802318024180251802618027180281802918030180311803218033180341803518036180371803818039180401804118042180431804418045180461804718048180491805018051180521805318054180551805618057180581805918060180611806218063180641806518066180671806818069180701807118072180731807418075180761807718078180791808018081180821808318084180851808618087180881808918090180911809218093180941809518096180971809818099181001810118102181031810418105181061810718108181091811018111181121811318114181151811618117181181811918120181211812218123181241812518126181271812818129181301813118132181331813418135181361813718138181391814018141181421814318144181451814618147181481814918150181511815218153181541815518156181571815818159181601816118162181631816418165181661816718168181691817018171181721817318174181751817618177181781817918180181811818218183181841818518186181871818818189181901819118192181931819418195181961819718198181991820018201182021820318204182051820618207182081820918210182111821218213182141821518216182171821818219182201822118222182231822418225182261822718228182291823018231182321823318234182351823618237182381823918240182411824218243182441824518246182471824818249182501825118252182531825418255182561825718258182591826018261182621826318264182651826618267182681826918270182711827218273182741827518276182771827818279182801828118282182831828418285182861828718288182891829018291182921829318294182951829618297182981829918300183011830218303183041830518306183071830818309183101831118312183131831418315183161831718318183191832018321183221832318324183251832618327183281832918330183311833218333183341833518336183371833818339183401834118342183431834418345183461834718348183491835018351183521835318354183551835618357183581835918360183611836218363183641836518366183671836818369183701837118372183731837418375183761837718378183791838018381183821838318384183851838618387183881838918390183911839218393183941839518396183971839818399184001840118402184031840418405184061840718408184091841018411184121841318414184151841618417184181841918420184211842218423184241842518426184271842818429184301843118432184331843418435184361843718438184391844018441184421844318444184451844618447184481844918450184511845218453184541845518456184571845818459184601846118462184631846418465184661846718468184691847018471184721847318474184751847618477184781847918480184811848218483184841848518486184871848818489184901849118492184931849418495184961849718498184991850018501185021850318504185051850618507185081850918510185111851218513185141851518516185171851818519185201852118522185231852418525185261852718528185291853018531185321853318534185351853618537185381853918540185411854218543185441854518546185471854818549185501855118552185531855418555185561855718558185591856018561185621856318564185651856618567185681856918570185711857218573185741857518576185771857818579185801858118582185831858418585185861858718588185891859018591185921859318594185951859618597185981859918600186011860218603186041860518606186071860818609186101861118612186131861418615186161861718618186191862018621186221862318624186251862618627186281862918630186311863218633186341863518636186371863818639186401864118642186431864418645186461864718648186491865018651186521865318654186551865618657186581865918660186611866218663186641866518666186671866818669186701867118672186731867418675186761867718678186791868018681186821868318684186851868618687186881868918690186911869218693186941869518696186971869818699187001870118702187031870418705187061870718708187091871018711187121871318714187151871618717187181871918720187211872218723187241872518726187271872818729187301873118732187331873418735187361873718738187391874018741187421874318744187451874618747187481874918750187511875218753187541875518756187571875818759187601876118762187631876418765187661876718768187691877018771187721877318774187751877618777187781877918780187811878218783187841878518786187871878818789187901879118792187931879418795187961879718798187991880018801188021880318804188051880618807188081880918810188111881218813188141881518816188171881818819188201882118822188231882418825188261882718828188291883018831188321883318834188351883618837188381883918840188411884218843188441884518846188471884818849188501885118852188531885418855188561885718858188591886018861188621886318864188651886618867188681886918870188711887218873188741887518876188771887818879188801888118882188831888418885188861888718888188891889018891188921889318894188951889618897188981889918900189011890218903189041890518906189071890818909189101891118912189131891418915189161891718918189191892018921189221892318924189251892618927189281892918930189311893218933189341893518936189371893818939189401894118942189431894418945189461894718948189491895018951189521895318954189551895618957189581895918960189611896218963189641896518966189671896818969189701897118972189731897418975189761897718978189791898018981189821898318984189851898618987189881898918990189911899218993189941899518996189971899818999190001900119002190031900419005190061900719008190091901019011190121901319014190151901619017190181901919020190211902219023190241902519026190271902819029190301903119032190331903419035190361903719038190391904019041190421904319044190451904619047190481904919050190511905219053190541905519056190571905819059190601906119062190631906419065190661906719068190691907019071190721907319074190751907619077190781907919080190811908219083190841908519086190871908819089190901909119092190931909419095190961909719098190991910019101191021910319104191051910619107191081910919110191111911219113191141911519116191171911819119191201912119122191231912419125191261912719128191291913019131191321913319134191351913619137191381913919140191411914219143191441914519146191471914819149191501915119152191531915419155191561915719158191591916019161191621916319164191651916619167191681916919170191711917219173191741917519176191771917819179191801918119182191831918419185191861918719188191891919019191191921919319194191951919619197191981919919200192011920219203192041920519206192071920819209192101921119212192131921419215192161921719218192191922019221192221922319224192251922619227192281922919230192311923219233192341923519236192371923819239192401924119242192431924419245192461924719248192491925019251192521925319254192551925619257192581925919260192611926219263192641926519266192671926819269192701927119272192731927419275192761927719278192791928019281192821928319284192851928619287192881928919290192911929219293192941929519296192971929819299193001930119302193031930419305193061930719308193091931019311193121931319314193151931619317193181931919320193211932219323193241932519326193271932819329193301933119332193331933419335193361933719338193391934019341193421934319344193451934619347193481934919350193511935219353193541935519356193571935819359193601936119362193631936419365193661936719368193691937019371193721937319374193751937619377193781937919380193811938219383193841938519386193871938819389193901939119392193931939419395193961939719398193991940019401194021940319404194051940619407194081940919410194111941219413194141941519416194171941819419194201942119422194231942419425194261942719428194291943019431194321943319434194351943619437194381943919440194411944219443194441944519446194471944819449194501945119452194531945419455194561945719458194591946019461194621946319464194651946619467194681946919470194711947219473194741947519476194771947819479194801948119482194831948419485194861948719488194891949019491194921949319494194951949619497194981949919500195011950219503195041950519506195071950819509195101951119512195131951419515195161951719518195191952019521195221952319524195251952619527195281952919530195311953219533195341953519536195371953819539195401954119542195431954419545195461954719548195491955019551195521955319554195551955619557195581955919560195611956219563195641956519566195671956819569195701957119572195731957419575195761957719578195791958019581195821958319584195851958619587195881958919590195911959219593195941959519596195971959819599196001960119602196031960419605196061960719608196091961019611196121961319614196151961619617196181961919620196211962219623196241962519626196271962819629196301963119632196331963419635196361963719638196391964019641196421964319644196451964619647196481964919650196511965219653196541965519656196571965819659196601966119662196631966419665196661966719668196691967019671196721967319674196751967619677196781967919680196811968219683196841968519686196871968819689196901969119692196931969419695196961969719698196991970019701197021970319704197051970619707197081970919710197111971219713197141971519716197171971819719197201972119722197231972419725197261972719728197291973019731197321973319734197351973619737197381973919740197411974219743197441974519746197471974819749197501975119752197531975419755197561975719758197591976019761197621976319764197651976619767197681976919770197711977219773197741977519776197771977819779197801978119782197831978419785197861978719788197891979019791197921979319794197951979619797197981979919800198011980219803198041980519806198071980819809198101981119812198131981419815198161981719818198191982019821198221982319824198251982619827198281982919830198311983219833198341983519836198371983819839198401984119842198431984419845198461984719848198491985019851198521985319854198551985619857198581985919860198611986219863198641986519866198671986819869198701987119872198731987419875198761987719878198791988019881198821988319884198851988619887198881988919890198911989219893198941989519896198971989819899199001990119902199031990419905199061990719908199091991019911199121991319914199151991619917199181991919920199211992219923199241992519926199271992819929199301993119932199331993419935199361993719938199391994019941199421994319944199451994619947199481994919950199511995219953199541995519956199571995819959199601996119962199631996419965199661996719968199691997019971199721997319974199751997619977199781997919980199811998219983199841998519986199871998819989199901999119992199931999419995199961999719998199992000020001200022000320004200052000620007200082000920010200112001220013200142001520016200172001820019200202002120022200232002420025200262002720028200292003020031200322003320034200352003620037200382003920040200412004220043200442004520046200472004820049200502005120052200532005420055200562005720058200592006020061200622006320064200652006620067200682006920070200712007220073200742007520076200772007820079200802008120082200832008420085200862008720088200892009020091200922009320094200952009620097200982009920100201012010220103201042010520106201072010820109201102011120112201132011420115201162011720118201192012020121201222012320124201252012620127201282012920130201312013220133201342013520136201372013820139201402014120142201432014420145201462014720148201492015020151201522015320154201552015620157201582015920160201612016220163201642016520166201672016820169201702017120172201732017420175201762017720178201792018020181201822018320184201852018620187201882018920190201912019220193201942019520196201972019820199202002020120202202032020420205202062020720208202092021020211202122021320214202152021620217202182021920220202212022220223202242022520226202272022820229202302023120232202332023420235202362023720238202392024020241202422024320244202452024620247202482024920250202512025220253202542025520256202572025820259202602026120262202632026420265202662026720268202692027020271202722027320274202752027620277202782027920280202812028220283202842028520286202872028820289202902029120292202932029420295202962029720298202992030020301203022030320304203052030620307203082030920310203112031220313203142031520316203172031820319203202032120322203232032420325203262032720328203292033020331203322033320334203352033620337203382033920340203412034220343203442034520346203472034820349203502035120352203532035420355203562035720358203592036020361203622036320364203652036620367203682036920370203712037220373203742037520376203772037820379203802038120382203832038420385203862038720388203892039020391203922039320394203952039620397203982039920400204012040220403204042040520406204072040820409204102041120412204132041420415204162041720418204192042020421204222042320424204252042620427204282042920430204312043220433204342043520436
  1. // GENERATED BY THE COMMAND ABOVE; DO NOT EDIT
  2. // This file was generated by swaggo/swag
  3. package docs
  4. import (
  5. "bytes"
  6. "encoding/json"
  7. "strings"
  8. "github.com/alecthomas/template"
  9. "github.com/swaggo/swag"
  10. )
  11. var doc = `{
  12. "schemes": {{ marshal .Schemes }},
  13. "swagger": "2.0",
  14. "info": {
  15. "description": "{{.Description}}",
  16. "title": "{{.Title}}",
  17. "termsOfService": "http://muchinfo.cn",
  18. "contact": {},
  19. "version": "{{.Version}}"
  20. },
  21. "host": "{{.Host}}",
  22. "basePath": "{{.BasePath}}",
  23. "paths": {
  24. "/CPTrade/QueryCPTradeMyBidInfos": {
  25. "get": {
  26. "security": [
  27. {
  28. "ApiKeyAuth": []
  29. }
  30. ],
  31. "produces": [
  32. "application/json"
  33. ],
  34. "tags": [
  35. "产能预售"
  36. ],
  37. "summary": "查询产能预售我的出价信息",
  38. "parameters": [
  39. {
  40. "type": "integer",
  41. "description": "资金账户",
  42. "name": "accountid",
  43. "in": "query",
  44. "required": true
  45. },
  46. {
  47. "type": "integer",
  48. "description": "预售市场ID",
  49. "name": "marketid",
  50. "in": "query"
  51. },
  52. {
  53. "type": "integer",
  54. "description": "预售商品ID",
  55. "name": "goodsid",
  56. "in": "query"
  57. }
  58. ],
  59. "responses": {
  60. "200": {
  61. "description": "OK",
  62. "schema": {
  63. "$ref": "#/definitions/cptrade.QueryCPTradeMyBidRsp"
  64. }
  65. },
  66. "500": {
  67. "description": "Internal Server Error",
  68. "schema": {
  69. "$ref": "#/definitions/app.Response"
  70. }
  71. }
  72. }
  73. }
  74. },
  75. "/CPTrade/QueryCPTradeOrderDetail": {
  76. "get": {
  77. "security": [
  78. {
  79. "ApiKeyAuth": []
  80. }
  81. ],
  82. "produces": [
  83. "application/json"
  84. ],
  85. "tags": [
  86. "产能预售"
  87. ],
  88. "summary": "查询产能预售委托单信息",
  89. "parameters": [
  90. {
  91. "type": "integer",
  92. "description": "预售商品ID",
  93. "name": "goodsid",
  94. "in": "query"
  95. },
  96. {
  97. "type": "integer",
  98. "description": "预售市场ID",
  99. "name": "marketid",
  100. "in": "query"
  101. },
  102. {
  103. "type": "string",
  104. "description": "预售商品ID列表 - 格式:1,2,3",
  105. "name": "goodsids",
  106. "in": "query"
  107. }
  108. ],
  109. "responses": {
  110. "200": {
  111. "description": "OK",
  112. "schema": {
  113. "$ref": "#/definitions/cptrade.QueryCPTradeOrderDetailRsq"
  114. }
  115. },
  116. "500": {
  117. "description": "Internal Server Error",
  118. "schema": {
  119. "$ref": "#/definitions/app.Response"
  120. }
  121. }
  122. }
  123. }
  124. },
  125. "/CPTrade/QueryMyCPTradeGoods": {
  126. "get": {
  127. "security": [
  128. {
  129. "ApiKeyAuth": []
  130. }
  131. ],
  132. "produces": [
  133. "application/json"
  134. ],
  135. "tags": [
  136. "产能预售"
  137. ],
  138. "summary": "查询我的预售信息",
  139. "parameters": [
  140. {
  141. "type": "integer",
  142. "description": "资金账户",
  143. "name": "accountid",
  144. "in": "query",
  145. "required": true
  146. }
  147. ],
  148. "responses": {
  149. "200": {
  150. "description": "OK",
  151. "schema": {
  152. "$ref": "#/definitions/cptrade.QueryMyCPTradeGoodsRsp"
  153. }
  154. },
  155. "500": {
  156. "description": "Internal Server Error",
  157. "schema": {
  158. "$ref": "#/definitions/app.Response"
  159. }
  160. }
  161. }
  162. }
  163. },
  164. "/CPTrade/QueryPositionCancel": {
  165. "get": {
  166. "security": [
  167. {
  168. "ApiKeyAuth": []
  169. }
  170. ],
  171. "produces": [
  172. "application/json"
  173. ],
  174. "tags": [
  175. "产能预售"
  176. ],
  177. "summary": "查询远期订单注销申请信息",
  178. "parameters": [
  179. {
  180. "type": "integer",
  181. "description": "账户ID",
  182. "name": "userid",
  183. "in": "query",
  184. "required": true
  185. },
  186. {
  187. "type": "integer",
  188. "description": "注销ID",
  189. "name": "cancelid",
  190. "in": "query"
  191. },
  192. {
  193. "type": "integer",
  194. "description": "资金账户ID",
  195. "name": "accountid",
  196. "in": "query"
  197. }
  198. ],
  199. "responses": {
  200. "200": {
  201. "description": "OK",
  202. "schema": {
  203. "$ref": "#/definitions/cptrade.Cptradepositioncancel"
  204. }
  205. },
  206. "500": {
  207. "description": "Internal Server Error",
  208. "schema": {
  209. "$ref": "#/definitions/app.Response"
  210. }
  211. }
  212. }
  213. }
  214. },
  215. "/CPTrade/QueryPreasleApply": {
  216. "get": {
  217. "security": [
  218. {
  219. "ApiKeyAuth": []
  220. }
  221. ],
  222. "produces": [
  223. "application/json"
  224. ],
  225. "tags": [
  226. "产能预售"
  227. ],
  228. "summary": "查询产能预售申请信息",
  229. "parameters": [
  230. {
  231. "type": "integer",
  232. "description": "账户ID",
  233. "name": "userid",
  234. "in": "query",
  235. "required": true
  236. },
  237. {
  238. "type": "integer",
  239. "description": "申请ID",
  240. "name": "applyid",
  241. "in": "query"
  242. },
  243. {
  244. "type": "integer",
  245. "description": "资金账户ID",
  246. "name": "accountid",
  247. "in": "query"
  248. }
  249. ],
  250. "responses": {
  251. "200": {
  252. "description": "OK",
  253. "schema": {
  254. "$ref": "#/definitions/cptrade.Cptradepresaleapply"
  255. }
  256. },
  257. "500": {
  258. "description": "Internal Server Error",
  259. "schema": {
  260. "$ref": "#/definitions/app.Response"
  261. }
  262. }
  263. }
  264. }
  265. },
  266. "/CPTrade/QueryPresaleGoodsEx": {
  267. "get": {
  268. "security": [
  269. {
  270. "ApiKeyAuth": []
  271. }
  272. ],
  273. "produces": [
  274. "application/json"
  275. ],
  276. "tags": [
  277. "产能预售"
  278. ],
  279. "summary": "查询产能预售商品扩展信息",
  280. "parameters": [
  281. {
  282. "type": "integer",
  283. "description": "预售商品ID",
  284. "name": "goodsid",
  285. "in": "query"
  286. },
  287. {
  288. "type": "integer",
  289. "description": "预售市场ID",
  290. "name": "marketid",
  291. "in": "query"
  292. },
  293. {
  294. "type": "integer",
  295. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  296. "name": "presalemode",
  297. "in": "query"
  298. },
  299. {
  300. "type": "string",
  301. "description": "预售商品ID列表 - 格式:1,2,3",
  302. "name": "goodsids",
  303. "in": "query"
  304. },
  305. {
  306. "type": "string",
  307. "description": "预售商品代码",
  308. "name": "goodscode",
  309. "in": "query"
  310. }
  311. ],
  312. "responses": {
  313. "200": {
  314. "description": "OK",
  315. "schema": {
  316. "$ref": "#/definitions/cptrade.QueryPresaleGoodsExRsp"
  317. }
  318. },
  319. "500": {
  320. "description": "Internal Server Error",
  321. "schema": {
  322. "$ref": "#/definitions/app.Response"
  323. }
  324. }
  325. }
  326. }
  327. },
  328. "/CPTrade/QueryUserGoodsData": {
  329. "get": {
  330. "security": [
  331. {
  332. "ApiKeyAuth": []
  333. }
  334. ],
  335. "produces": [
  336. "application/json"
  337. ],
  338. "tags": [
  339. "产能预售"
  340. ],
  341. "summary": "查询远期订单信息",
  342. "parameters": [
  343. {
  344. "type": "integer",
  345. "description": "资金账户ID",
  346. "name": "accountid",
  347. "in": "query",
  348. "required": true
  349. }
  350. ],
  351. "responses": {
  352. "200": {
  353. "description": "OK",
  354. "schema": {
  355. "$ref": "#/definitions/cptrade.Cptradeusergoodsdata"
  356. }
  357. },
  358. "500": {
  359. "description": "Internal Server Error",
  360. "schema": {
  361. "$ref": "#/definitions/app.Response"
  362. }
  363. }
  364. }
  365. }
  366. },
  367. "/Common/GetAllEnums": {
  368. "get": {
  369. "description": "autoid传入后则返回这个ID之后的数据;如不传则返回所有",
  370. "produces": [
  371. "application/json"
  372. ],
  373. "tags": [
  374. "通用服务"
  375. ],
  376. "summary": "获取所有枚举信息",
  377. "parameters": [
  378. {
  379. "type": "integer",
  380. "description": "起始自增ID",
  381. "name": "autoid",
  382. "in": "query"
  383. }
  384. ],
  385. "responses": {
  386. "200": {
  387. "description": "OK",
  388. "schema": {
  389. "$ref": "#/definitions/models.Enumdicitem"
  390. }
  391. },
  392. "500": {
  393. "description": "Internal Server Error",
  394. "schema": {
  395. "$ref": "#/definitions/app.Response"
  396. }
  397. }
  398. }
  399. }
  400. },
  401. "/Common/GetDivisions": {
  402. "get": {
  403. "produces": [
  404. "application/json"
  405. ],
  406. "tags": [
  407. "通用服务"
  408. ],
  409. "summary": "查询区域信息",
  410. "responses": {
  411. "200": {
  412. "description": "OK",
  413. "schema": {
  414. "$ref": "#/definitions/models.Division"
  415. }
  416. },
  417. "500": {
  418. "description": "Internal Server Error",
  419. "schema": {
  420. "$ref": "#/definitions/app.Response"
  421. }
  422. }
  423. }
  424. }
  425. },
  426. "/Common/GetServerTime": {
  427. "get": {
  428. "produces": [
  429. "application/json"
  430. ],
  431. "tags": [
  432. "通用服务"
  433. ],
  434. "summary": "获取服务器时间",
  435. "responses": {
  436. "200": {
  437. "description": "OK",
  438. "schema": {
  439. "$ref": "#/definitions/app.Response"
  440. }
  441. },
  442. "500": {
  443. "description": "Internal Server Error",
  444. "schema": {
  445. "$ref": "#/definitions/app.Response"
  446. }
  447. }
  448. }
  449. }
  450. },
  451. "/Common/NoticeReaded": {
  452. "post": {
  453. "security": [
  454. {
  455. "ApiKeyAuth": []
  456. }
  457. ],
  458. "produces": [
  459. "application/json"
  460. ],
  461. "tags": [
  462. "通用服务"
  463. ],
  464. "summary": "通知公告设置已读请求",
  465. "parameters": [
  466. {
  467. "type": "integer",
  468. "description": "登录账号",
  469. "name": "loginID",
  470. "in": "query",
  471. "required": true
  472. },
  473. {
  474. "type": "integer",
  475. "description": "通知公告ID",
  476. "name": "noticeID",
  477. "in": "query",
  478. "required": true
  479. }
  480. ],
  481. "responses": {
  482. "200": {
  483. "description": "OK",
  484. "schema": {
  485. "$ref": "#/definitions/app.Response"
  486. }
  487. },
  488. "500": {
  489. "description": "Internal Server Error",
  490. "schema": {
  491. "$ref": "#/definitions/app.Response"
  492. }
  493. }
  494. }
  495. }
  496. },
  497. "/Common/QueryErrorInfos": {
  498. "get": {
  499. "description": "如果传入rowNumber,则返回此rowNumber后的数据",
  500. "produces": [
  501. "application/json"
  502. ],
  503. "tags": [
  504. "通用服务"
  505. ],
  506. "summary": "获取数据库错误信息",
  507. "parameters": [
  508. {
  509. "type": "string",
  510. "description": "起始行号前索引",
  511. "name": "rowNumber",
  512. "in": "query"
  513. }
  514. ],
  515. "responses": {
  516. "200": {
  517. "description": "OK",
  518. "schema": {
  519. "$ref": "#/definitions/models.QueryErrorInfosRsp"
  520. }
  521. },
  522. "500": {
  523. "description": "Internal Server Error",
  524. "schema": {
  525. "$ref": "#/definitions/app.Response"
  526. }
  527. }
  528. }
  529. }
  530. },
  531. "/Common/QueryImageConfigs": {
  532. "get": {
  533. "produces": [
  534. "application/json"
  535. ],
  536. "tags": [
  537. "通用服务"
  538. ],
  539. "summary": "查询轮播图配置信息",
  540. "parameters": [
  541. {
  542. "type": "integer",
  543. "description": "类型 - 1:App首页轮播 2:我的",
  544. "name": "imageType",
  545. "in": "query"
  546. }
  547. ],
  548. "responses": {
  549. "200": {
  550. "description": "OK",
  551. "schema": {
  552. "$ref": "#/definitions/common.QueryImageConfigsRsp"
  553. }
  554. },
  555. "500": {
  556. "description": "Internal Server Error",
  557. "schema": {
  558. "$ref": "#/definitions/app.Response"
  559. }
  560. }
  561. }
  562. }
  563. },
  564. "/Common/QueryNotice": {
  565. "get": {
  566. "security": [
  567. {
  568. "ApiKeyAuth": []
  569. }
  570. ],
  571. "produces": [
  572. "application/json"
  573. ],
  574. "tags": [
  575. "通用服务"
  576. ],
  577. "summary": "通知公告系统消息查询",
  578. "parameters": [
  579. {
  580. "type": "integer",
  581. "description": "页码",
  582. "name": "page",
  583. "in": "query"
  584. },
  585. {
  586. "type": "integer",
  587. "description": "每页条数",
  588. "name": "pagesize",
  589. "in": "query"
  590. },
  591. {
  592. "type": "integer",
  593. "description": "登录账号",
  594. "name": "loginID",
  595. "in": "query",
  596. "required": true
  597. },
  598. {
  599. "type": "integer",
  600. "description": "消息类型 - 1:公告通知 2:系统消息",
  601. "name": "msgType",
  602. "in": "query"
  603. },
  604. {
  605. "type": "boolean",
  606. "description": "是否只获取未读信息",
  607. "name": "onlyUnRead",
  608. "in": "query"
  609. },
  610. {
  611. "type": "integer",
  612. "description": "自增ID,传入后会返回这个ID后面的记录",
  613. "name": "lastID",
  614. "in": "query"
  615. }
  616. ],
  617. "responses": {
  618. "200": {
  619. "description": "OK",
  620. "schema": {
  621. "$ref": "#/definitions/common.QueryNoticeRsp"
  622. }
  623. },
  624. "500": {
  625. "description": "Internal Server Error",
  626. "schema": {
  627. "$ref": "#/definitions/app.Response"
  628. }
  629. }
  630. }
  631. }
  632. },
  633. "/Common/QueryProvincesAndCities": {
  634. "get": {
  635. "produces": [
  636. "application/json"
  637. ],
  638. "tags": [
  639. "通用服务"
  640. ],
  641. "summary": "查询省市信息(不包括区)",
  642. "parameters": [
  643. {
  644. "type": "integer",
  645. "description": "省ID",
  646. "name": "provinceID",
  647. "in": "query"
  648. }
  649. ],
  650. "responses": {
  651. "200": {
  652. "description": "OK",
  653. "schema": {
  654. "$ref": "#/definitions/common.QueryProvincesAndCitiesRsp"
  655. }
  656. },
  657. "500": {
  658. "description": "Internal Server Error",
  659. "schema": {
  660. "$ref": "#/definitions/app.Response"
  661. }
  662. }
  663. }
  664. }
  665. },
  666. "/Common/QueryTableDefine": {
  667. "get": {
  668. "produces": [
  669. "application/json"
  670. ],
  671. "tags": [
  672. "通用服务"
  673. ],
  674. "summary": "查询交易端列表头信息",
  675. "parameters": [
  676. {
  677. "type": "string",
  678. "description": "表key",
  679. "name": "tableKey",
  680. "in": "query"
  681. },
  682. {
  683. "type": "integer",
  684. "description": "列表类型 - 1:管理端 2:H5终端 3:移动终端",
  685. "name": "tableType",
  686. "in": "query"
  687. }
  688. ],
  689. "responses": {
  690. "200": {
  691. "description": "OK",
  692. "schema": {
  693. "$ref": "#/definitions/common.QueryTableDefineRsp"
  694. }
  695. },
  696. "500": {
  697. "description": "Internal Server Error",
  698. "schema": {
  699. "$ref": "#/definitions/app.Response"
  700. }
  701. }
  702. }
  703. }
  704. },
  705. "/Common/QueryTraderMenu": {
  706. "get": {
  707. "produces": [
  708. "application/json"
  709. ],
  710. "tags": [
  711. "通用服务"
  712. ],
  713. "summary": "查询交易端菜单",
  714. "parameters": [
  715. {
  716. "type": "integer",
  717. "description": "登录账号",
  718. "name": "loginid",
  719. "in": "query",
  720. "required": true
  721. }
  722. ],
  723. "responses": {
  724. "200": {
  725. "description": "OK",
  726. "schema": {
  727. "$ref": "#/definitions/common.QueryTraderMenuRsp"
  728. }
  729. },
  730. "500": {
  731. "description": "Internal Server Error",
  732. "schema": {
  733. "$ref": "#/definitions/app.Response"
  734. }
  735. }
  736. }
  737. }
  738. },
  739. "/Delivery/QueryDeliveryRelation": {
  740. "get": {
  741. "security": [
  742. {
  743. "ApiKeyAuth": []
  744. }
  745. ],
  746. "produces": [
  747. "application/json"
  748. ],
  749. "tags": [
  750. "交割服务"
  751. ],
  752. "summary": "查询商品交割关系表",
  753. "parameters": [
  754. {
  755. "type": "integer",
  756. "description": "商品ID",
  757. "name": "goodsid",
  758. "in": "query"
  759. },
  760. {
  761. "type": "integer",
  762. "description": "品种ID",
  763. "name": "deliverygoodsid",
  764. "in": "query"
  765. },
  766. {
  767. "type": "integer",
  768. "description": "市场ID",
  769. "name": "marketid",
  770. "in": "query"
  771. }
  772. ],
  773. "responses": {
  774. "200": {
  775. "description": "OK",
  776. "schema": {
  777. "$ref": "#/definitions/delivery.QueryDeliveryRelationRsp"
  778. }
  779. },
  780. "500": {
  781. "description": "Internal Server Error",
  782. "schema": {
  783. "$ref": "#/definitions/app.Response"
  784. }
  785. }
  786. }
  787. }
  788. },
  789. "/Ermcp/GetErmcpGoods": {
  790. "get": {
  791. "security": [
  792. {
  793. "ApiKeyAuth": []
  794. }
  795. ],
  796. "produces": [
  797. "application/json"
  798. ],
  799. "tags": [
  800. "企业风险管理(app)"
  801. ],
  802. "summary": "查询企业风管期货商品信息",
  803. "parameters": [
  804. {
  805. "type": "string",
  806. "description": "最后修改时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  807. "name": "lastUpdateTime",
  808. "in": "query"
  809. }
  810. ],
  811. "responses": {
  812. "200": {
  813. "description": "OK",
  814. "schema": {
  815. "$ref": "#/definitions/models.Goods"
  816. }
  817. },
  818. "500": {
  819. "description": "Internal Server Error",
  820. "schema": {
  821. "$ref": "#/definitions/app.Response"
  822. }
  823. }
  824. }
  825. }
  826. },
  827. "/Ermcp/GetErmcpGoodsSortByPosition": {
  828. "get": {
  829. "security": [
  830. {
  831. "ApiKeyAuth": []
  832. }
  833. ],
  834. "produces": [
  835. "application/json"
  836. ],
  837. "tags": [
  838. "企业风险管理(app)"
  839. ],
  840. "summary": "查询企业风管期货主力、次主力商品信息",
  841. "parameters": [
  842. {
  843. "type": "string",
  844. "description": "主力: 1; 次主力: 2; 主力+次主力:1,2",
  845. "name": "sortIndex",
  846. "in": "query"
  847. }
  848. ],
  849. "responses": {
  850. "200": {
  851. "description": "OK",
  852. "schema": {
  853. "$ref": "#/definitions/models.Goodssortbypreposition"
  854. }
  855. },
  856. "500": {
  857. "description": "Internal Server Error",
  858. "schema": {
  859. "$ref": "#/definitions/app.Response"
  860. }
  861. }
  862. }
  863. }
  864. },
  865. "/Ermcp/GetErmcpRoleFuncMenuLists": {
  866. "get": {
  867. "security": [
  868. {
  869. "ApiKeyAuth": []
  870. }
  871. ],
  872. "produces": [
  873. "application/json"
  874. ],
  875. "tags": [
  876. "企业风险管理(app)"
  877. ],
  878. "summary": "获取企业风管终端权限",
  879. "parameters": [
  880. {
  881. "type": "integer",
  882. "description": "登录账号",
  883. "name": "loginID",
  884. "in": "query",
  885. "required": true
  886. }
  887. ],
  888. "responses": {
  889. "200": {
  890. "description": "OK",
  891. "schema": {
  892. "$ref": "#/definitions/models.Funcmenulist"
  893. }
  894. },
  895. "500": {
  896. "description": "Internal Server Error",
  897. "schema": {
  898. "$ref": "#/definitions/app.Response"
  899. }
  900. }
  901. }
  902. }
  903. },
  904. "/Ermcp/QryReportDayExposure": {
  905. "get": {
  906. "security": [
  907. {
  908. "ApiKeyAuth": []
  909. }
  910. ],
  911. "produces": [
  912. "application/json"
  913. ],
  914. "tags": [
  915. "企业风险管理(app)"
  916. ],
  917. "summary": "查询敞口日报表(菜单:报表查询/敞口报表/敞口日报表)",
  918. "parameters": [
  919. {
  920. "type": "integer",
  921. "description": "用户ID",
  922. "name": "userid",
  923. "in": "query",
  924. "required": true
  925. },
  926. {
  927. "type": "string",
  928. "description": "交易日(格式:yyyyMMdd)",
  929. "name": "tradedate",
  930. "in": "query",
  931. "required": true
  932. }
  933. ],
  934. "responses": {
  935. "200": {
  936. "description": "OK",
  937. "schema": {
  938. "type": "array",
  939. "items": {
  940. "$ref": "#/definitions/ermcp.QryReportExposureDayRsp"
  941. }
  942. }
  943. },
  944. "500": {
  945. "description": "Internal Server Error",
  946. "schema": {
  947. "$ref": "#/definitions/app.Response"
  948. }
  949. }
  950. }
  951. }
  952. },
  953. "/Ermcp/QryReportDayFinance": {
  954. "get": {
  955. "security": [
  956. {
  957. "ApiKeyAuth": []
  958. }
  959. ],
  960. "produces": [
  961. "application/json"
  962. ],
  963. "tags": [
  964. "企业风险管理(app)"
  965. ],
  966. "summary": "查询财务日报表(菜单:报表查询/财务报表/日报表)",
  967. "parameters": [
  968. {
  969. "type": "integer",
  970. "description": "用户ID",
  971. "name": "userid",
  972. "in": "query",
  973. "required": true
  974. },
  975. {
  976. "type": "string",
  977. "description": "交易日(格式:yyyyMMdd)",
  978. "name": "tradedate",
  979. "in": "query",
  980. "required": true
  981. }
  982. ],
  983. "responses": {
  984. "200": {
  985. "description": "OK",
  986. "schema": {
  987. "type": "array",
  988. "items": {
  989. "$ref": "#/definitions/ermcp.QryReportFinanceDayRsp"
  990. }
  991. }
  992. },
  993. "500": {
  994. "description": "Internal Server Error",
  995. "schema": {
  996. "$ref": "#/definitions/app.Response"
  997. }
  998. }
  999. }
  1000. }
  1001. },
  1002. "/Ermcp/QryReportDayFinanceFp": {
  1003. "get": {
  1004. "security": [
  1005. {
  1006. "ApiKeyAuth": []
  1007. }
  1008. ],
  1009. "produces": [
  1010. "application/json"
  1011. ],
  1012. "tags": [
  1013. "企业风险管理(app)"
  1014. ],
  1015. "summary": "查询财务日报表发票(菜单:报表查询/财务报表/日报表/发票)",
  1016. "parameters": [
  1017. {
  1018. "type": "integer",
  1019. "description": "用户ID",
  1020. "name": "userid",
  1021. "in": "query",
  1022. "required": true
  1023. },
  1024. {
  1025. "type": "string",
  1026. "description": "交易日(格式:yyyyMMdd)",
  1027. "name": "tradedate",
  1028. "in": "query",
  1029. "required": true
  1030. }
  1031. ],
  1032. "responses": {
  1033. "200": {
  1034. "description": "OK",
  1035. "schema": {
  1036. "type": "array",
  1037. "items": {
  1038. "$ref": "#/definitions/ermcp.QryReportFinanceKxRsp"
  1039. }
  1040. }
  1041. },
  1042. "500": {
  1043. "description": "Internal Server Error",
  1044. "schema": {
  1045. "$ref": "#/definitions/app.Response"
  1046. }
  1047. }
  1048. }
  1049. }
  1050. },
  1051. "/Ermcp/QryReportDayFinanceKx": {
  1052. "get": {
  1053. "security": [
  1054. {
  1055. "ApiKeyAuth": []
  1056. }
  1057. ],
  1058. "produces": [
  1059. "application/json"
  1060. ],
  1061. "tags": [
  1062. "企业风险管理(app)"
  1063. ],
  1064. "summary": "查询财务日报表款项(菜单:报表查询/财务报表/日报表/款项)",
  1065. "parameters": [
  1066. {
  1067. "type": "integer",
  1068. "description": "用户ID",
  1069. "name": "userid",
  1070. "in": "query",
  1071. "required": true
  1072. },
  1073. {
  1074. "type": "string",
  1075. "description": "交易日(格式:yyyyMMdd)",
  1076. "name": "tradedate",
  1077. "in": "query",
  1078. "required": true
  1079. }
  1080. ],
  1081. "responses": {
  1082. "200": {
  1083. "description": "OK",
  1084. "schema": {
  1085. "type": "array",
  1086. "items": {
  1087. "$ref": "#/definitions/ermcp.QryReportFinanceKxRsp"
  1088. }
  1089. }
  1090. },
  1091. "500": {
  1092. "description": "Internal Server Error",
  1093. "schema": {
  1094. "$ref": "#/definitions/app.Response"
  1095. }
  1096. }
  1097. }
  1098. }
  1099. },
  1100. "/Ermcp/QryReportDaySpot": {
  1101. "get": {
  1102. "security": [
  1103. {
  1104. "ApiKeyAuth": []
  1105. }
  1106. ],
  1107. "produces": [
  1108. "application/json"
  1109. ],
  1110. "tags": [
  1111. "企业风险管理(app)"
  1112. ],
  1113. "summary": "查询现货日报表(菜单:报表查询/现货报表/现货日报表)",
  1114. "parameters": [
  1115. {
  1116. "type": "integer",
  1117. "description": "用户ID",
  1118. "name": "userid",
  1119. "in": "query",
  1120. "required": true
  1121. },
  1122. {
  1123. "type": "string",
  1124. "description": "交易日(格式:yyyyMMdd)",
  1125. "name": "tradedate",
  1126. "in": "query",
  1127. "required": true
  1128. }
  1129. ],
  1130. "responses": {
  1131. "200": {
  1132. "description": "OK",
  1133. "schema": {
  1134. "type": "array",
  1135. "items": {
  1136. "$ref": "#/definitions/ermcp.QryReportSpotDayRsp"
  1137. }
  1138. }
  1139. },
  1140. "500": {
  1141. "description": "Internal Server Error",
  1142. "schema": {
  1143. "$ref": "#/definitions/app.Response"
  1144. }
  1145. }
  1146. }
  1147. }
  1148. },
  1149. "/Ermcp/QryReportDaySpotDetail": {
  1150. "get": {
  1151. "security": [
  1152. {
  1153. "ApiKeyAuth": []
  1154. }
  1155. ],
  1156. "produces": [
  1157. "application/json"
  1158. ],
  1159. "tags": [
  1160. "企业风险管理(app)"
  1161. ],
  1162. "summary": "查询现货日报表详情(菜单:报表查询/现货报表/现货日报表详情)",
  1163. "parameters": [
  1164. {
  1165. "type": "integer",
  1166. "description": "用户ID",
  1167. "name": "userid",
  1168. "in": "query",
  1169. "required": true
  1170. },
  1171. {
  1172. "type": "integer",
  1173. "description": "现货商品id",
  1174. "name": "wrstandardid",
  1175. "in": "query",
  1176. "required": true
  1177. },
  1178. {
  1179. "type": "string",
  1180. "description": "交易日(格式:yyyyMMdd)",
  1181. "name": "tradedate",
  1182. "in": "query",
  1183. "required": true
  1184. }
  1185. ],
  1186. "responses": {
  1187. "200": {
  1188. "description": "OK",
  1189. "schema": {
  1190. "type": "array",
  1191. "items": {
  1192. "$ref": "#/definitions/ermcp.QryReportDaySpotDetailRsp"
  1193. }
  1194. }
  1195. },
  1196. "500": {
  1197. "description": "Internal Server Error",
  1198. "schema": {
  1199. "$ref": "#/definitions/app.Response"
  1200. }
  1201. }
  1202. }
  1203. }
  1204. },
  1205. "/Ermcp/QryReportMonthFinance": {
  1206. "get": {
  1207. "security": [
  1208. {
  1209. "ApiKeyAuth": []
  1210. }
  1211. ],
  1212. "produces": [
  1213. "application/json"
  1214. ],
  1215. "tags": [
  1216. "企业风险管理(app)"
  1217. ],
  1218. "summary": "查询财务月报表(菜单:报表查询/财务报表/月报表)",
  1219. "parameters": [
  1220. {
  1221. "type": "integer",
  1222. "description": "用户ID",
  1223. "name": "userid",
  1224. "in": "query",
  1225. "required": true
  1226. },
  1227. {
  1228. "type": "string",
  1229. "description": "周期时间:月(格式:yyyyMM)",
  1230. "name": "cycletime",
  1231. "in": "query",
  1232. "required": true
  1233. }
  1234. ],
  1235. "responses": {
  1236. "200": {
  1237. "description": "OK",
  1238. "schema": {
  1239. "type": "array",
  1240. "items": {
  1241. "$ref": "#/definitions/ermcp.QryReportFinanceMonRsp"
  1242. }
  1243. }
  1244. },
  1245. "500": {
  1246. "description": "Internal Server Error",
  1247. "schema": {
  1248. "$ref": "#/definitions/app.Response"
  1249. }
  1250. }
  1251. }
  1252. }
  1253. },
  1254. "/Ermcp/QryReportMonthSpot": {
  1255. "get": {
  1256. "security": [
  1257. {
  1258. "ApiKeyAuth": []
  1259. }
  1260. ],
  1261. "produces": [
  1262. "application/json"
  1263. ],
  1264. "tags": [
  1265. "企业风险管理(app)"
  1266. ],
  1267. "summary": "查询现货月报表(菜单:报表查询/现货报表/现货月报表)",
  1268. "parameters": [
  1269. {
  1270. "type": "integer",
  1271. "description": "用户ID",
  1272. "name": "userid",
  1273. "in": "query",
  1274. "required": true
  1275. },
  1276. {
  1277. "type": "string",
  1278. "description": "周期时间:月(格式:yyyyMM)",
  1279. "name": "cycletime",
  1280. "in": "query",
  1281. "required": true
  1282. }
  1283. ],
  1284. "responses": {
  1285. "200": {
  1286. "description": "OK",
  1287. "schema": {
  1288. "type": "array",
  1289. "items": {
  1290. "$ref": "#/definitions/ermcp.QryReportSpotMonRsp"
  1291. }
  1292. }
  1293. },
  1294. "500": {
  1295. "description": "Internal Server Error",
  1296. "schema": {
  1297. "$ref": "#/definitions/app.Response"
  1298. }
  1299. }
  1300. }
  1301. }
  1302. },
  1303. "/Ermcp/QryReportMonthSpotDetail": {
  1304. "get": {
  1305. "security": [
  1306. {
  1307. "ApiKeyAuth": []
  1308. }
  1309. ],
  1310. "produces": [
  1311. "application/json"
  1312. ],
  1313. "tags": [
  1314. "企业风险管理(app)"
  1315. ],
  1316. "summary": "查询现货月报表详情(菜单:报表查询/现货月报表/现货月报表详情)",
  1317. "parameters": [
  1318. {
  1319. "type": "integer",
  1320. "description": "用户ID",
  1321. "name": "userid",
  1322. "in": "query",
  1323. "required": true
  1324. },
  1325. {
  1326. "type": "integer",
  1327. "description": "现货商品id",
  1328. "name": "wrstandardid",
  1329. "in": "query",
  1330. "required": true
  1331. },
  1332. {
  1333. "type": "string",
  1334. "description": "周期时间:月(格式:yyyyMM)",
  1335. "name": "cycletime",
  1336. "in": "query",
  1337. "required": true
  1338. }
  1339. ],
  1340. "responses": {
  1341. "200": {
  1342. "description": "OK",
  1343. "schema": {
  1344. "type": "array",
  1345. "items": {
  1346. "$ref": "#/definitions/ermcp.QryReportSpotMonthDetailRsp"
  1347. }
  1348. }
  1349. },
  1350. "500": {
  1351. "description": "Internal Server Error",
  1352. "schema": {
  1353. "$ref": "#/definitions/app.Response"
  1354. }
  1355. }
  1356. }
  1357. }
  1358. },
  1359. "/Ermcp/QueryAreaStock": {
  1360. "get": {
  1361. "security": [
  1362. {
  1363. "ApiKeyAuth": []
  1364. }
  1365. ],
  1366. "produces": [
  1367. "application/json"
  1368. ],
  1369. "tags": [
  1370. "企业风险管理(app)"
  1371. ],
  1372. "summary": "查询机构库存(库存管理/当前库存)",
  1373. "parameters": [
  1374. {
  1375. "type": "integer",
  1376. "description": "用户ID",
  1377. "name": "userid",
  1378. "in": "query",
  1379. "required": true
  1380. }
  1381. ],
  1382. "responses": {
  1383. "200": {
  1384. "description": "OK",
  1385. "schema": {
  1386. "type": "array",
  1387. "items": {
  1388. "$ref": "#/definitions/models.ErmcpAreaStock"
  1389. }
  1390. }
  1391. },
  1392. "500": {
  1393. "description": "Internal Server Error",
  1394. "schema": {
  1395. "$ref": "#/definitions/app.Response"
  1396. }
  1397. }
  1398. }
  1399. }
  1400. },
  1401. "/Ermcp/QueryAreaStockApply": {
  1402. "get": {
  1403. "security": [
  1404. {
  1405. "ApiKeyAuth": []
  1406. }
  1407. ],
  1408. "produces": [
  1409. "application/json"
  1410. ],
  1411. "tags": [
  1412. "企业风险管理(app)"
  1413. ],
  1414. "summary": "查询库存申请(出入库记录|库存审核)",
  1415. "parameters": [
  1416. {
  1417. "type": "integer",
  1418. "description": "用户ID",
  1419. "name": "userid",
  1420. "in": "query",
  1421. "required": true
  1422. },
  1423. {
  1424. "type": "string",
  1425. "description": "出入库类型(可多项,逗号隔开) 1:采购入库 2:销售出库 3:生产入库 4:生产出库",
  1426. "name": "inouttype",
  1427. "in": "query"
  1428. },
  1429. {
  1430. "type": "integer",
  1431. "description": "合同ID",
  1432. "name": "spotcontractid",
  1433. "in": "query"
  1434. },
  1435. {
  1436. "type": "integer",
  1437. "description": "现货商品ID",
  1438. "name": "wrstandardid",
  1439. "in": "query"
  1440. },
  1441. {
  1442. "type": "integer",
  1443. "description": "品牌ID",
  1444. "name": "spotgoodsbrandid",
  1445. "in": "query"
  1446. },
  1447. {
  1448. "type": "integer",
  1449. "description": "型号ID",
  1450. "name": "spotgoodsmodelid",
  1451. "in": "query"
  1452. },
  1453. {
  1454. "type": "integer",
  1455. "description": "仓库ID",
  1456. "name": "warehouseinfoid",
  1457. "in": "query"
  1458. },
  1459. {
  1460. "type": "string",
  1461. "description": "申请状态(可多项,逗号隔开)1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  1462. "name": "applystatus",
  1463. "in": "query"
  1464. }
  1465. ],
  1466. "responses": {
  1467. "200": {
  1468. "description": "OK",
  1469. "schema": {
  1470. "type": "array",
  1471. "items": {
  1472. "$ref": "#/definitions/ermcp.QryAreaStockApplyRsp"
  1473. }
  1474. }
  1475. },
  1476. "500": {
  1477. "description": "Internal Server Error",
  1478. "schema": {
  1479. "$ref": "#/definitions/app.Response"
  1480. }
  1481. }
  1482. }
  1483. }
  1484. },
  1485. "/Ermcp/QueryAreaStockApplySum": {
  1486. "get": {
  1487. "security": [
  1488. {
  1489. "ApiKeyAuth": []
  1490. }
  1491. ],
  1492. "produces": [
  1493. "application/json"
  1494. ],
  1495. "tags": [
  1496. "企业风险管理(app)"
  1497. ],
  1498. "summary": "查询已登记出入库信息(入库登记/已入库信息 | 出库登记/已出库信息)",
  1499. "parameters": [
  1500. {
  1501. "type": "integer",
  1502. "description": "合同ID",
  1503. "name": "spotcontractid",
  1504. "in": "query"
  1505. }
  1506. ],
  1507. "responses": {
  1508. "200": {
  1509. "description": "OK",
  1510. "schema": {
  1511. "type": "array",
  1512. "items": {
  1513. "$ref": "#/definitions/ermcp.QueryAreaStockApplySumRsp"
  1514. }
  1515. }
  1516. },
  1517. "500": {
  1518. "description": "Internal Server Error",
  1519. "schema": {
  1520. "$ref": "#/definitions/app.Response"
  1521. }
  1522. }
  1523. }
  1524. }
  1525. },
  1526. "/Ermcp/QueryAreaStockReport": {
  1527. "get": {
  1528. "security": [
  1529. {
  1530. "ApiKeyAuth": []
  1531. }
  1532. ],
  1533. "produces": [
  1534. "application/json"
  1535. ],
  1536. "tags": [
  1537. "企业风险管理(app)"
  1538. ],
  1539. "summary": "查询库存报表",
  1540. "parameters": [
  1541. {
  1542. "type": "integer",
  1543. "description": "用户ID",
  1544. "name": "userid",
  1545. "in": "query",
  1546. "required": true
  1547. },
  1548. {
  1549. "type": "integer",
  1550. "description": "查询类型 1-日报表 2-月报表",
  1551. "name": "querytype",
  1552. "in": "query",
  1553. "required": true
  1554. },
  1555. {
  1556. "type": "string",
  1557. "description": "查询日期(格式 日报表YYYYMMDD, 月报表YYYYMM)",
  1558. "name": "querydate",
  1559. "in": "query",
  1560. "required": true
  1561. },
  1562. {
  1563. "type": "integer",
  1564. "description": "现货商品ID",
  1565. "name": "wrstandardid",
  1566. "in": "query"
  1567. },
  1568. {
  1569. "type": "integer",
  1570. "description": "品牌ID",
  1571. "name": "spotgoodsbrandid",
  1572. "in": "query"
  1573. },
  1574. {
  1575. "type": "integer",
  1576. "description": "型号ID",
  1577. "name": "spotgoodsmodelid",
  1578. "in": "query"
  1579. },
  1580. {
  1581. "type": "integer",
  1582. "description": "仓库ID",
  1583. "name": "warehouseinfoid",
  1584. "in": "query"
  1585. }
  1586. ],
  1587. "responses": {
  1588. "200": {
  1589. "description": "OK",
  1590. "schema": {
  1591. "type": "array",
  1592. "items": {
  1593. "$ref": "#/definitions/models.ErmcpAreaStockReport"
  1594. }
  1595. }
  1596. },
  1597. "500": {
  1598. "description": "Internal Server Error",
  1599. "schema": {
  1600. "$ref": "#/definitions/app.Response"
  1601. }
  1602. }
  1603. }
  1604. }
  1605. },
  1606. "/Ermcp/QueryAreaStockReportDetail": {
  1607. "get": {
  1608. "security": [
  1609. {
  1610. "ApiKeyAuth": []
  1611. }
  1612. ],
  1613. "produces": [
  1614. "application/json"
  1615. ],
  1616. "tags": [
  1617. "企业风险管理(app)"
  1618. ],
  1619. "summary": "查询库存报表明细",
  1620. "parameters": [
  1621. {
  1622. "type": "integer",
  1623. "description": "用户ID",
  1624. "name": "userid",
  1625. "in": "query",
  1626. "required": true
  1627. },
  1628. {
  1629. "type": "integer",
  1630. "description": "查询类型 1-日报表明细 2-月报表明细",
  1631. "name": "querytype",
  1632. "in": "query",
  1633. "required": true
  1634. },
  1635. {
  1636. "type": "integer",
  1637. "description": "明细类型 1:入库明细(采购入库+生产入库) 2:出库明细(销售出库+生产出库)",
  1638. "name": "detailtype",
  1639. "in": "query",
  1640. "required": true
  1641. },
  1642. {
  1643. "type": "string",
  1644. "description": "查询日期(格式 日报表YYYYMMDD, 月报表YYYYMM)",
  1645. "name": "querydate",
  1646. "in": "query",
  1647. "required": true
  1648. },
  1649. {
  1650. "type": "integer",
  1651. "description": "现货商品ID",
  1652. "name": "wrstandardid",
  1653. "in": "query"
  1654. },
  1655. {
  1656. "type": "integer",
  1657. "description": "品牌ID",
  1658. "name": "spotgoodsbrandid",
  1659. "in": "query"
  1660. },
  1661. {
  1662. "type": "integer",
  1663. "description": "型号ID",
  1664. "name": "spotgoodsmodelid",
  1665. "in": "query"
  1666. },
  1667. {
  1668. "type": "integer",
  1669. "description": "仓库ID",
  1670. "name": "warehouseinfoid",
  1671. "in": "query"
  1672. }
  1673. ],
  1674. "responses": {
  1675. "200": {
  1676. "description": "OK",
  1677. "schema": {
  1678. "type": "array",
  1679. "items": {
  1680. "$ref": "#/definitions/models.ErmcpAreaStockApply"
  1681. }
  1682. }
  1683. },
  1684. "500": {
  1685. "description": "Internal Server Error",
  1686. "schema": {
  1687. "$ref": "#/definitions/app.Response"
  1688. }
  1689. }
  1690. }
  1691. }
  1692. },
  1693. "/Ermcp/QueryAvaildGoodsGroup": {
  1694. "get": {
  1695. "security": [
  1696. {
  1697. "ApiKeyAuth": []
  1698. }
  1699. ],
  1700. "produces": [
  1701. "application/json"
  1702. ],
  1703. "tags": [
  1704. "企业风险管理(app)"
  1705. ],
  1706. "summary": "查询可配置期货品种(菜单:商品信息/现货商品/新增现货商品/新增套保品种)",
  1707. "parameters": [
  1708. {
  1709. "type": "integer",
  1710. "description": "所属机构ID",
  1711. "name": "userid",
  1712. "in": "query",
  1713. "required": true
  1714. }
  1715. ],
  1716. "responses": {
  1717. "200": {
  1718. "description": "OK",
  1719. "schema": {
  1720. "type": "array",
  1721. "items": {
  1722. "$ref": "#/definitions/ermcp.QryAvalidGPRsp"
  1723. }
  1724. }
  1725. },
  1726. "500": {
  1727. "description": "Internal Server Error",
  1728. "schema": {
  1729. "$ref": "#/definitions/app.Response"
  1730. }
  1731. }
  1732. }
  1733. }
  1734. },
  1735. "/Ermcp/QueryBusinessDj": {
  1736. "get": {
  1737. "security": [
  1738. {
  1739. "ApiKeyAuth": []
  1740. }
  1741. ],
  1742. "produces": [
  1743. "application/json"
  1744. ],
  1745. "tags": [
  1746. "企业风险管理(app)"
  1747. ],
  1748. "summary": "查询业务管理(点价)(对应菜单:业务管理/点价)",
  1749. "parameters": [
  1750. {
  1751. "type": "integer",
  1752. "description": "用户ID",
  1753. "name": "UserId",
  1754. "in": "query",
  1755. "required": true
  1756. },
  1757. {
  1758. "type": "string",
  1759. "description": "现货合同ID, 不填则查所有",
  1760. "name": "relatedid",
  1761. "in": "query"
  1762. }
  1763. ],
  1764. "responses": {
  1765. "200": {
  1766. "description": "OK",
  1767. "schema": {
  1768. "type": "array",
  1769. "items": {
  1770. "$ref": "#/definitions/ermcp.QryBusinessDjRsp"
  1771. }
  1772. }
  1773. },
  1774. "500": {
  1775. "description": "Internal Server Error",
  1776. "schema": {
  1777. "$ref": "#/definitions/app.Response"
  1778. }
  1779. }
  1780. }
  1781. }
  1782. },
  1783. "/Ermcp/QueryBusinessFp": {
  1784. "get": {
  1785. "security": [
  1786. {
  1787. "ApiKeyAuth": []
  1788. }
  1789. ],
  1790. "produces": [
  1791. "application/json"
  1792. ],
  1793. "tags": [
  1794. "企业风险管理(app)"
  1795. ],
  1796. "summary": "查询财务管理(发票)(对应菜单:财务管理/发票)",
  1797. "parameters": [
  1798. {
  1799. "type": "integer",
  1800. "description": "用户ID",
  1801. "name": "UserId",
  1802. "in": "query",
  1803. "required": true
  1804. },
  1805. {
  1806. "type": "string",
  1807. "description": "现货合同ID, 不填则查所有",
  1808. "name": "relatedid",
  1809. "in": "query"
  1810. }
  1811. ],
  1812. "responses": {
  1813. "200": {
  1814. "description": "OK",
  1815. "schema": {
  1816. "type": "array",
  1817. "items": {
  1818. "$ref": "#/definitions/ermcp.QryBussinessFpRsp"
  1819. }
  1820. }
  1821. },
  1822. "500": {
  1823. "description": "Internal Server Error",
  1824. "schema": {
  1825. "$ref": "#/definitions/app.Response"
  1826. }
  1827. }
  1828. }
  1829. }
  1830. },
  1831. "/Ermcp/QueryBusinessJs": {
  1832. "get": {
  1833. "security": [
  1834. {
  1835. "ApiKeyAuth": []
  1836. }
  1837. ],
  1838. "produces": [
  1839. "application/json"
  1840. ],
  1841. "tags": [
  1842. "企业风险管理(app)"
  1843. ],
  1844. "summary": "查询业务管理(结算)(对应菜单:业务管理/结算)",
  1845. "parameters": [
  1846. {
  1847. "type": "integer",
  1848. "description": "用户ID",
  1849. "name": "UserId",
  1850. "in": "query",
  1851. "required": true
  1852. },
  1853. {
  1854. "type": "string",
  1855. "description": "现货合同ID, 不填则查所有",
  1856. "name": "relatedid",
  1857. "in": "query"
  1858. },
  1859. {
  1860. "type": "string",
  1861. "description": "操作申请id",
  1862. "name": "operateapplyid",
  1863. "in": "query"
  1864. }
  1865. ],
  1866. "responses": {
  1867. "200": {
  1868. "description": "OK",
  1869. "schema": {
  1870. "type": "array",
  1871. "items": {
  1872. "$ref": "#/definitions/ermcp.QryBussinessJsRsp"
  1873. }
  1874. }
  1875. },
  1876. "500": {
  1877. "description": "Internal Server Error",
  1878. "schema": {
  1879. "$ref": "#/definitions/app.Response"
  1880. }
  1881. }
  1882. }
  1883. }
  1884. },
  1885. "/Ermcp/QueryBusinessJsEx": {
  1886. "get": {
  1887. "security": [
  1888. {
  1889. "ApiKeyAuth": []
  1890. }
  1891. ],
  1892. "produces": [
  1893. "application/json"
  1894. ],
  1895. "tags": [
  1896. "企业风险管理(app)"
  1897. ],
  1898. "summary": "查询业务管理(结算)(对应菜单:业务管理/结算[拆分记录])",
  1899. "parameters": [
  1900. {
  1901. "type": "integer",
  1902. "description": "用户ID",
  1903. "name": "UserId",
  1904. "in": "query",
  1905. "required": true
  1906. },
  1907. {
  1908. "type": "string",
  1909. "description": "现货合同ID, 不填则查所有",
  1910. "name": "relatedid",
  1911. "in": "query"
  1912. }
  1913. ],
  1914. "responses": {
  1915. "200": {
  1916. "description": "OK",
  1917. "schema": {
  1918. "type": "array",
  1919. "items": {
  1920. "$ref": "#/definitions/ermcp.QryBussinessJsExRsp"
  1921. }
  1922. }
  1923. },
  1924. "500": {
  1925. "description": "Internal Server Error",
  1926. "schema": {
  1927. "$ref": "#/definitions/app.Response"
  1928. }
  1929. }
  1930. }
  1931. }
  1932. },
  1933. "/Ermcp/QueryBusinessKx": {
  1934. "get": {
  1935. "security": [
  1936. {
  1937. "ApiKeyAuth": []
  1938. }
  1939. ],
  1940. "produces": [
  1941. "application/json"
  1942. ],
  1943. "tags": [
  1944. "企业风险管理(app)"
  1945. ],
  1946. "summary": "查询财务管理(款项)(对应菜单:财务管理/款项)",
  1947. "parameters": [
  1948. {
  1949. "type": "integer",
  1950. "description": "用户ID",
  1951. "name": "UserId",
  1952. "in": "query",
  1953. "required": true
  1954. },
  1955. {
  1956. "type": "string",
  1957. "description": "现货合同ID, 不填则查所有",
  1958. "name": "relatedid",
  1959. "in": "query"
  1960. }
  1961. ],
  1962. "responses": {
  1963. "200": {
  1964. "description": "OK",
  1965. "schema": {
  1966. "type": "array",
  1967. "items": {
  1968. "$ref": "#/definitions/ermcp.QryBussinessKxRsp"
  1969. }
  1970. }
  1971. },
  1972. "500": {
  1973. "description": "Internal Server Error",
  1974. "schema": {
  1975. "$ref": "#/definitions/app.Response"
  1976. }
  1977. }
  1978. }
  1979. }
  1980. },
  1981. "/Ermcp/QueryChangeLog": {
  1982. "get": {
  1983. "security": [
  1984. {
  1985. "ApiKeyAuth": []
  1986. }
  1987. ],
  1988. "produces": [
  1989. "application/json"
  1990. ],
  1991. "tags": [
  1992. "企业风险管理(app)"
  1993. ],
  1994. "summary": "查询变更记录",
  1995. "parameters": [
  1996. {
  1997. "type": "string",
  1998. "description": "合同ID",
  1999. "name": "RelatedId",
  2000. "in": "query",
  2001. "required": true
  2002. }
  2003. ],
  2004. "responses": {
  2005. "200": {
  2006. "description": "OK",
  2007. "schema": {
  2008. "type": "array",
  2009. "items": {
  2010. "$ref": "#/definitions/ermcp.QryOPLogRsp"
  2011. }
  2012. }
  2013. },
  2014. "500": {
  2015. "description": "Internal Server Error",
  2016. "schema": {
  2017. "$ref": "#/definitions/app.Response"
  2018. }
  2019. }
  2020. }
  2021. }
  2022. },
  2023. "/Ermcp/QueryContract": {
  2024. "get": {
  2025. "security": [
  2026. {
  2027. "ApiKeyAuth": []
  2028. }
  2029. ],
  2030. "produces": [
  2031. "application/json"
  2032. ],
  2033. "tags": [
  2034. "企业风险管理(app)"
  2035. ],
  2036. "summary": "查询合同(采购和销售)",
  2037. "parameters": [
  2038. {
  2039. "type": "integer",
  2040. "description": "用户ID",
  2041. "name": "userId",
  2042. "in": "query",
  2043. "required": true
  2044. },
  2045. {
  2046. "type": "integer",
  2047. "description": "合同类型 1-采购, -1-销售",
  2048. "name": "contracttype",
  2049. "in": "query",
  2050. "required": true
  2051. },
  2052. {
  2053. "type": "integer",
  2054. "description": "查询类型 1-全部 2-待点价 3-履约结算",
  2055. "name": "querytype",
  2056. "in": "query",
  2057. "required": true
  2058. },
  2059. {
  2060. "type": "string",
  2061. "description": "合同ID(SpotContractId)",
  2062. "name": "contractid",
  2063. "in": "query"
  2064. }
  2065. ],
  2066. "responses": {
  2067. "200": {
  2068. "description": "OK",
  2069. "schema": {
  2070. "type": "array",
  2071. "items": {
  2072. "$ref": "#/definitions/ermcp.QryErmcpRsp"
  2073. }
  2074. }
  2075. },
  2076. "500": {
  2077. "description": "Internal Server Error",
  2078. "schema": {
  2079. "$ref": "#/definitions/app.Response"
  2080. }
  2081. }
  2082. }
  2083. }
  2084. },
  2085. "/Ermcp/QueryErmcpHisOrderDetails": {
  2086. "get": {
  2087. "security": [
  2088. {
  2089. "ApiKeyAuth": []
  2090. }
  2091. ],
  2092. "produces": [
  2093. "application/json"
  2094. ],
  2095. "tags": [
  2096. "企业风险管理(app)"
  2097. ],
  2098. "summary": "获取企业风管期货历史委托单信息",
  2099. "parameters": [
  2100. {
  2101. "type": "integer",
  2102. "description": "资金账户ID",
  2103. "name": "accountID",
  2104. "in": "query",
  2105. "required": true
  2106. },
  2107. {
  2108. "type": "string",
  2109. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  2110. "name": "startDate",
  2111. "in": "query"
  2112. },
  2113. {
  2114. "type": "string",
  2115. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  2116. "name": "endDate",
  2117. "in": "query"
  2118. }
  2119. ],
  2120. "responses": {
  2121. "200": {
  2122. "description": "OK",
  2123. "schema": {
  2124. "$ref": "#/definitions/models.QueryHedgeOrderDetailRsp"
  2125. }
  2126. },
  2127. "500": {
  2128. "description": "Internal Server Error",
  2129. "schema": {
  2130. "$ref": "#/definitions/app.Response"
  2131. }
  2132. }
  2133. }
  2134. }
  2135. },
  2136. "/Ermcp/QueryErmcpHisTradeDetails": {
  2137. "get": {
  2138. "security": [
  2139. {
  2140. "ApiKeyAuth": []
  2141. }
  2142. ],
  2143. "produces": [
  2144. "application/json"
  2145. ],
  2146. "tags": [
  2147. "企业风险管理(app)"
  2148. ],
  2149. "summary": "获取企业风管期货历史成交单信息",
  2150. "parameters": [
  2151. {
  2152. "type": "integer",
  2153. "description": "资金账户ID",
  2154. "name": "accountID",
  2155. "in": "query",
  2156. "required": true
  2157. },
  2158. {
  2159. "type": "integer",
  2160. "description": "商品ID",
  2161. "name": "goodsID",
  2162. "in": "query"
  2163. },
  2164. {
  2165. "type": "integer",
  2166. "description": "买卖方向,0:买 1:卖",
  2167. "name": "buyOrSell",
  2168. "in": "query"
  2169. },
  2170. {
  2171. "type": "string",
  2172. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  2173. "name": "startDate",
  2174. "in": "query"
  2175. },
  2176. {
  2177. "type": "string",
  2178. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  2179. "name": "endDate",
  2180. "in": "query"
  2181. }
  2182. ],
  2183. "responses": {
  2184. "200": {
  2185. "description": "OK",
  2186. "schema": {
  2187. "$ref": "#/definitions/models.QueryHedgeTradeDetailRsp"
  2188. }
  2189. },
  2190. "500": {
  2191. "description": "Internal Server Error",
  2192. "schema": {
  2193. "$ref": "#/definitions/app.Response"
  2194. }
  2195. }
  2196. }
  2197. }
  2198. },
  2199. "/Ermcp/QueryErmcpOrderDetails": {
  2200. "get": {
  2201. "security": [
  2202. {
  2203. "ApiKeyAuth": []
  2204. }
  2205. ],
  2206. "produces": [
  2207. "application/json"
  2208. ],
  2209. "tags": [
  2210. "企业风险管理(app)"
  2211. ],
  2212. "summary": "获取企业风管期货委托单信息",
  2213. "parameters": [
  2214. {
  2215. "type": "integer",
  2216. "description": "资金账户ID",
  2217. "name": "accountID",
  2218. "in": "query",
  2219. "required": true
  2220. }
  2221. ],
  2222. "responses": {
  2223. "200": {
  2224. "description": "OK",
  2225. "schema": {
  2226. "$ref": "#/definitions/models.QueryHedgeOrderDetailRsp"
  2227. }
  2228. },
  2229. "500": {
  2230. "description": "Internal Server Error",
  2231. "schema": {
  2232. "$ref": "#/definitions/app.Response"
  2233. }
  2234. }
  2235. }
  2236. }
  2237. },
  2238. "/Ermcp/QueryErmcpTradeDetails": {
  2239. "get": {
  2240. "security": [
  2241. {
  2242. "ApiKeyAuth": []
  2243. }
  2244. ],
  2245. "produces": [
  2246. "application/json"
  2247. ],
  2248. "tags": [
  2249. "企业风险管理(app)"
  2250. ],
  2251. "summary": "获取企业风管期货成交单信息",
  2252. "parameters": [
  2253. {
  2254. "type": "integer",
  2255. "description": "资金账户ID",
  2256. "name": "accountID",
  2257. "in": "query",
  2258. "required": true
  2259. },
  2260. {
  2261. "type": "integer",
  2262. "description": "商品ID",
  2263. "name": "goodsID",
  2264. "in": "query"
  2265. },
  2266. {
  2267. "type": "integer",
  2268. "description": "买卖方向,0:买 1:卖",
  2269. "name": "buyOrSell",
  2270. "in": "query"
  2271. }
  2272. ],
  2273. "responses": {
  2274. "200": {
  2275. "description": "OK",
  2276. "schema": {
  2277. "$ref": "#/definitions/models.QueryHedgeTradeDetailRsp"
  2278. }
  2279. },
  2280. "500": {
  2281. "description": "Internal Server Error",
  2282. "schema": {
  2283. "$ref": "#/definitions/app.Response"
  2284. }
  2285. }
  2286. }
  2287. }
  2288. },
  2289. "/Ermcp/QueryErmcpTradePosition": {
  2290. "get": {
  2291. "security": [
  2292. {
  2293. "ApiKeyAuth": []
  2294. }
  2295. ],
  2296. "description": "本接口只使用于通道交易相关头寸查询;子账户持仓头寸占用保证金为0;",
  2297. "produces": [
  2298. "application/json"
  2299. ],
  2300. "tags": [
  2301. "企业风险管理(app)"
  2302. ],
  2303. "summary": "获取企业风管期货持仓头寸信息",
  2304. "parameters": [
  2305. {
  2306. "type": "integer",
  2307. "description": "资金账户ID",
  2308. "name": "accountID",
  2309. "in": "query",
  2310. "required": true
  2311. },
  2312. {
  2313. "type": "integer",
  2314. "description": "所属市场ID",
  2315. "name": "marketID",
  2316. "in": "query"
  2317. }
  2318. ],
  2319. "responses": {
  2320. "200": {
  2321. "description": "OK",
  2322. "schema": {
  2323. "$ref": "#/definitions/ermcp.QueryErmcpTradePositionRsp"
  2324. }
  2325. },
  2326. "500": {
  2327. "description": "Internal Server Error",
  2328. "schema": {
  2329. "$ref": "#/definitions/app.Response"
  2330. }
  2331. }
  2332. }
  2333. }
  2334. },
  2335. "/Ermcp/QueryExposureDetail": {
  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. "type": "integer",
  2359. "description": "套保商品",
  2360. "name": "middleGoodsId",
  2361. "in": "query",
  2362. "required": true
  2363. }
  2364. ],
  2365. "responses": {
  2366. "200": {
  2367. "description": "OK",
  2368. "schema": {
  2369. "type": "array",
  2370. "items": {
  2371. "$ref": "#/definitions/ermcp.ExposureDetailRsp"
  2372. }
  2373. }
  2374. },
  2375. "500": {
  2376. "description": "Internal Server Error",
  2377. "schema": {
  2378. "$ref": "#/definitions/app.Response"
  2379. }
  2380. }
  2381. }
  2382. }
  2383. },
  2384. "/Ermcp/QueryExposureHedgePosition": {
  2385. "get": {
  2386. "security": [
  2387. {
  2388. "ApiKeyAuth": []
  2389. }
  2390. ],
  2391. "produces": [
  2392. "application/json"
  2393. ],
  2394. "tags": [
  2395. "企业风险管理(app)"
  2396. ],
  2397. "summary": "查询敞口期货头寸(菜单:敞口/期货头寸)",
  2398. "parameters": [
  2399. {
  2400. "type": "integer",
  2401. "description": "所属机构ID",
  2402. "name": "areaUserId",
  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.ExposureHedgePositionRsp"
  2414. }
  2415. }
  2416. },
  2417. "500": {
  2418. "description": "Internal Server Error",
  2419. "schema": {
  2420. "$ref": "#/definitions/app.Response"
  2421. }
  2422. }
  2423. }
  2424. }
  2425. },
  2426. "/Ermcp/QueryExposureHedgePositionDetail": {
  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. "type": "integer",
  2450. "description": "商品id",
  2451. "name": "goodsId",
  2452. "in": "query",
  2453. "required": true
  2454. }
  2455. ],
  2456. "responses": {
  2457. "200": {
  2458. "description": "OK",
  2459. "schema": {
  2460. "type": "array",
  2461. "items": {
  2462. "$ref": "#/definitions/ermcp.ExposureHedgePosDetailRsp"
  2463. }
  2464. }
  2465. },
  2466. "500": {
  2467. "description": "Internal Server Error",
  2468. "schema": {
  2469. "$ref": "#/definitions/app.Response"
  2470. }
  2471. }
  2472. }
  2473. }
  2474. },
  2475. "/Ermcp/QueryExposureSpot": {
  2476. "get": {
  2477. "security": [
  2478. {
  2479. "ApiKeyAuth": []
  2480. }
  2481. ],
  2482. "produces": [
  2483. "application/json"
  2484. ],
  2485. "tags": [
  2486. "企业风险管理(app)"
  2487. ],
  2488. "summary": "查询敞口现货头寸(敞口/现货头寸)",
  2489. "parameters": [
  2490. {
  2491. "type": "integer",
  2492. "description": "所属机构ID",
  2493. "name": "areaUserId",
  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.ExposureSpotRsp"
  2505. }
  2506. }
  2507. },
  2508. "500": {
  2509. "description": "Internal Server Error",
  2510. "schema": {
  2511. "$ref": "#/definitions/app.Response"
  2512. }
  2513. }
  2514. }
  2515. }
  2516. },
  2517. "/Ermcp/QueryExposureSpotDetail": {
  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": "areaUserId",
  2536. "in": "query",
  2537. "required": true
  2538. },
  2539. {
  2540. "type": "integer",
  2541. "description": "现货品种ID",
  2542. "name": "wrstandardId",
  2543. "in": "query",
  2544. "required": true
  2545. }
  2546. ],
  2547. "responses": {
  2548. "200": {
  2549. "description": "OK",
  2550. "schema": {
  2551. "type": "array",
  2552. "items": {
  2553. "$ref": "#/definitions/ermcp.ExposureSpotDetailRsp"
  2554. }
  2555. }
  2556. },
  2557. "500": {
  2558. "description": "Internal Server Error",
  2559. "schema": {
  2560. "$ref": "#/definitions/app.Response"
  2561. }
  2562. }
  2563. }
  2564. }
  2565. },
  2566. "/Ermcp/QueryGGConvertConfig": {
  2567. "get": {
  2568. "security": [
  2569. {
  2570. "ApiKeyAuth": []
  2571. }
  2572. ],
  2573. "produces": [
  2574. "application/json"
  2575. ],
  2576. "tags": [
  2577. "企业风险管理(app)"
  2578. ],
  2579. "summary": "查询期货品种配置(菜单:商品信息/期货品种)",
  2580. "parameters": [
  2581. {
  2582. "type": "integer",
  2583. "description": "品种id(不填则查所有)",
  2584. "name": "goodsgroupid",
  2585. "in": "query"
  2586. }
  2587. ],
  2588. "responses": {
  2589. "200": {
  2590. "description": "OK",
  2591. "schema": {
  2592. "type": "array",
  2593. "items": {
  2594. "$ref": "#/definitions/ermcp.QryGGCovertCfgRsp"
  2595. }
  2596. }
  2597. },
  2598. "500": {
  2599. "description": "Internal Server Error",
  2600. "schema": {
  2601. "$ref": "#/definitions/app.Response"
  2602. }
  2603. }
  2604. }
  2605. }
  2606. },
  2607. "/Ermcp/QueryGoodsBrand": {
  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": "userid",
  2626. "in": "query",
  2627. "required": true
  2628. },
  2629. {
  2630. "type": "integer",
  2631. "description": "现货商品ID",
  2632. "name": "wrstandardid",
  2633. "in": "query"
  2634. }
  2635. ],
  2636. "responses": {
  2637. "200": {
  2638. "description": "OK",
  2639. "schema": {
  2640. "type": "array",
  2641. "items": {
  2642. "$ref": "#/definitions/models.ErmcpGoodsBrand"
  2643. }
  2644. }
  2645. },
  2646. "500": {
  2647. "description": "Internal Server Error",
  2648. "schema": {
  2649. "$ref": "#/definitions/app.Response"
  2650. }
  2651. }
  2652. }
  2653. }
  2654. },
  2655. "/Ermcp/QueryGoodsModel": {
  2656. "get": {
  2657. "security": [
  2658. {
  2659. "ApiKeyAuth": []
  2660. }
  2661. ],
  2662. "produces": [
  2663. "application/json"
  2664. ],
  2665. "tags": [
  2666. "企业风险管理(app)"
  2667. ],
  2668. "summary": "查询商品型号",
  2669. "parameters": [
  2670. {
  2671. "type": "integer",
  2672. "description": "用户ID",
  2673. "name": "userid",
  2674. "in": "query",
  2675. "required": true
  2676. }
  2677. ],
  2678. "responses": {
  2679. "200": {
  2680. "description": "OK",
  2681. "schema": {
  2682. "type": "array",
  2683. "items": {
  2684. "$ref": "#/definitions/models.ErmcpGoodsModel"
  2685. }
  2686. }
  2687. },
  2688. "500": {
  2689. "description": "Internal Server Error",
  2690. "schema": {
  2691. "$ref": "#/definitions/app.Response"
  2692. }
  2693. }
  2694. }
  2695. }
  2696. },
  2697. "/Ermcp/QueryHedgePlan": {
  2698. "get": {
  2699. "security": [
  2700. {
  2701. "ApiKeyAuth": []
  2702. }
  2703. ],
  2704. "produces": [
  2705. "application/json"
  2706. ],
  2707. "tags": [
  2708. "企业风险管理(app)"
  2709. ],
  2710. "summary": "查询套保计划",
  2711. "parameters": [
  2712. {
  2713. "type": "integer",
  2714. "description": "用户ID",
  2715. "name": "userId",
  2716. "in": "query",
  2717. "required": true
  2718. },
  2719. {
  2720. "type": "string",
  2721. "description": "套保计划状态(允许多个,逗号隔开) - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  2722. "name": "HedgePlanStatus",
  2723. "in": "query",
  2724. "required": true
  2725. }
  2726. ],
  2727. "responses": {
  2728. "200": {
  2729. "description": "OK",
  2730. "schema": {
  2731. "type": "array",
  2732. "items": {
  2733. "$ref": "#/definitions/ermcp.QryHedgePlanRsp"
  2734. }
  2735. }
  2736. },
  2737. "500": {
  2738. "description": "Internal Server Error",
  2739. "schema": {
  2740. "$ref": "#/definitions/app.Response"
  2741. }
  2742. }
  2743. }
  2744. }
  2745. },
  2746. "/Ermcp/QueryHisExposure": {
  2747. "get": {
  2748. "security": [
  2749. {
  2750. "ApiKeyAuth": []
  2751. }
  2752. ],
  2753. "produces": [
  2754. "application/json"
  2755. ],
  2756. "tags": [
  2757. "企业风险管理(app)"
  2758. ],
  2759. "summary": "查询历史敞口(菜单:敞口/历史敞口)",
  2760. "parameters": [
  2761. {
  2762. "type": "integer",
  2763. "description": "所属机构ID",
  2764. "name": "areaUserId",
  2765. "in": "query",
  2766. "required": true
  2767. },
  2768. {
  2769. "type": "integer",
  2770. "description": "每个品种记录数",
  2771. "name": "lastNum",
  2772. "in": "query",
  2773. "required": true
  2774. }
  2775. ],
  2776. "responses": {
  2777. "200": {
  2778. "description": "OK",
  2779. "schema": {
  2780. "type": "array",
  2781. "items": {
  2782. "$ref": "#/definitions/ermcp.HisExposureRsp"
  2783. }
  2784. }
  2785. },
  2786. "500": {
  2787. "description": "Internal Server Error",
  2788. "schema": {
  2789. "$ref": "#/definitions/app.Response"
  2790. }
  2791. }
  2792. }
  2793. }
  2794. },
  2795. "/Ermcp/QueryMiddleGoods": {
  2796. "get": {
  2797. "security": [
  2798. {
  2799. "ApiKeyAuth": []
  2800. }
  2801. ],
  2802. "produces": [
  2803. "application/json"
  2804. ],
  2805. "tags": [
  2806. "企业风险管理(app)"
  2807. ],
  2808. "summary": "查询套保品种(菜单:套保品种)",
  2809. "parameters": [
  2810. {
  2811. "type": "integer",
  2812. "description": "所属机构ID",
  2813. "name": "userid",
  2814. "in": "query",
  2815. "required": true
  2816. },
  2817. {
  2818. "type": "integer",
  2819. "description": "状态 0-停用 1-正常",
  2820. "name": "status",
  2821. "in": "query",
  2822. "required": true
  2823. }
  2824. ],
  2825. "responses": {
  2826. "200": {
  2827. "description": "OK",
  2828. "schema": {
  2829. "type": "array",
  2830. "items": {
  2831. "$ref": "#/definitions/ermcp.QryMiddleGoodsRsp"
  2832. }
  2833. }
  2834. },
  2835. "500": {
  2836. "description": "Internal Server Error",
  2837. "schema": {
  2838. "$ref": "#/definitions/app.Response"
  2839. }
  2840. }
  2841. }
  2842. }
  2843. },
  2844. "/Ermcp/QueryMiddleGoodsChangeLog": {
  2845. "get": {
  2846. "security": [
  2847. {
  2848. "ApiKeyAuth": []
  2849. }
  2850. ],
  2851. "produces": [
  2852. "application/json"
  2853. ],
  2854. "tags": [
  2855. "企业风险管理(app)"
  2856. ],
  2857. "summary": "查询套保品种变更记录(菜单:套保品种/商品详情/变更记录)",
  2858. "parameters": [
  2859. {
  2860. "type": "integer",
  2861. "description": "所属机构ID",
  2862. "name": "userid",
  2863. "in": "query",
  2864. "required": true
  2865. },
  2866. {
  2867. "type": "integer",
  2868. "description": "套保品种id",
  2869. "name": "middlegoodsid",
  2870. "in": "query",
  2871. "required": true
  2872. }
  2873. ],
  2874. "responses": {
  2875. "200": {
  2876. "description": "OK",
  2877. "schema": {
  2878. "type": "array",
  2879. "items": {
  2880. "$ref": "#/definitions/ermcp.QryMGChangeLogRsp"
  2881. }
  2882. }
  2883. },
  2884. "500": {
  2885. "description": "Internal Server Error",
  2886. "schema": {
  2887. "$ref": "#/definitions/app.Response"
  2888. }
  2889. }
  2890. }
  2891. }
  2892. },
  2893. "/Ermcp/QueryMiddleGoodsDetail": {
  2894. "get": {
  2895. "security": [
  2896. {
  2897. "ApiKeyAuth": []
  2898. }
  2899. ],
  2900. "produces": [
  2901. "application/json"
  2902. ],
  2903. "tags": [
  2904. "企业风险管理(app)"
  2905. ],
  2906. "summary": "查询套保品种详情(菜单:套保品种/商品详情)",
  2907. "parameters": [
  2908. {
  2909. "type": "integer",
  2910. "description": "所属机构ID",
  2911. "name": "userid",
  2912. "in": "query",
  2913. "required": true
  2914. },
  2915. {
  2916. "type": "integer",
  2917. "description": "套保品种id",
  2918. "name": "middlegoodsid",
  2919. "in": "query",
  2920. "required": true
  2921. }
  2922. ],
  2923. "responses": {
  2924. "200": {
  2925. "description": "OK",
  2926. "schema": {
  2927. "type": "array",
  2928. "items": {
  2929. "$ref": "#/definitions/ermcp.QryMiddleGoodsDetailRsp"
  2930. }
  2931. }
  2932. },
  2933. "500": {
  2934. "description": "Internal Server Error",
  2935. "schema": {
  2936. "$ref": "#/definitions/app.Response"
  2937. }
  2938. }
  2939. }
  2940. }
  2941. },
  2942. "/Ermcp/QueryPendingAuditInfo": {
  2943. "get": {
  2944. "security": [
  2945. {
  2946. "ApiKeyAuth": []
  2947. }
  2948. ],
  2949. "produces": [
  2950. "application/json"
  2951. ],
  2952. "tags": [
  2953. "企业风险管理(app)"
  2954. ],
  2955. "summary": "查询待审核数量信息(首页/菜单按钮小红点)",
  2956. "parameters": [
  2957. {
  2958. "type": "integer",
  2959. "description": "用户ID",
  2960. "name": "UserId",
  2961. "in": "query",
  2962. "required": true
  2963. }
  2964. ],
  2965. "responses": {
  2966. "200": {
  2967. "description": "OK",
  2968. "schema": {
  2969. "type": "array",
  2970. "items": {
  2971. "$ref": "#/definitions/ermcp.PendingAuditCntRsp"
  2972. }
  2973. }
  2974. },
  2975. "500": {
  2976. "description": "Internal Server Error",
  2977. "schema": {
  2978. "$ref": "#/definitions/app.Response"
  2979. }
  2980. }
  2981. }
  2982. }
  2983. },
  2984. "/Ermcp/QueryRealtimeExposure": {
  2985. "get": {
  2986. "security": [
  2987. {
  2988. "ApiKeyAuth": []
  2989. }
  2990. ],
  2991. "produces": [
  2992. "application/json"
  2993. ],
  2994. "tags": [
  2995. "企业风险管理(app)"
  2996. ],
  2997. "summary": "查询实时敞口",
  2998. "parameters": [
  2999. {
  3000. "type": "integer",
  3001. "description": "所属机构ID",
  3002. "name": "AreaUserID",
  3003. "in": "query",
  3004. "required": true
  3005. }
  3006. ],
  3007. "responses": {
  3008. "200": {
  3009. "description": "OK",
  3010. "schema": {
  3011. "type": "array",
  3012. "items": {
  3013. "$ref": "#/definitions/ermcp.RealtimeExposureRsp"
  3014. }
  3015. }
  3016. },
  3017. "500": {
  3018. "description": "Internal Server Error",
  3019. "schema": {
  3020. "$ref": "#/definitions/app.Response"
  3021. }
  3022. }
  3023. }
  3024. }
  3025. },
  3026. "/Ermcp/QueryRealtimeExposurePosition": {
  3027. "get": {
  3028. "security": [
  3029. {
  3030. "ApiKeyAuth": []
  3031. }
  3032. ],
  3033. "produces": [
  3034. "application/json"
  3035. ],
  3036. "tags": [
  3037. "企业风险管理(app)"
  3038. ],
  3039. "summary": "查询实时敞口期货头寸明细(菜单:实时敞口/期货明细)",
  3040. "parameters": [
  3041. {
  3042. "type": "integer",
  3043. "description": "所属机构ID",
  3044. "name": "areaUserId",
  3045. "in": "query",
  3046. "required": true
  3047. },
  3048. {
  3049. "type": "integer",
  3050. "description": "套保商品ID",
  3051. "name": "middleGoodsId",
  3052. "in": "query",
  3053. "required": true
  3054. }
  3055. ],
  3056. "responses": {
  3057. "200": {
  3058. "description": "OK",
  3059. "schema": {
  3060. "type": "array",
  3061. "items": {
  3062. "$ref": "#/definitions/ermcp.RealtimeExposurePositionRsp"
  3063. }
  3064. }
  3065. },
  3066. "500": {
  3067. "description": "Internal Server Error",
  3068. "schema": {
  3069. "$ref": "#/definitions/app.Response"
  3070. }
  3071. }
  3072. }
  3073. }
  3074. },
  3075. "/Ermcp/QuerySpotContract": {
  3076. "get": {
  3077. "security": [
  3078. {
  3079. "ApiKeyAuth": []
  3080. }
  3081. ],
  3082. "produces": [
  3083. "application/json"
  3084. ],
  3085. "tags": [
  3086. "企业风险管理(app)"
  3087. ],
  3088. "summary": "查询现货合同(对应现货合同菜单)",
  3089. "parameters": [
  3090. {
  3091. "type": "integer",
  3092. "description": "用户ID",
  3093. "name": "userId",
  3094. "in": "query",
  3095. "required": true
  3096. },
  3097. {
  3098. "type": "integer",
  3099. "description": "查询类型 1-未提交 2-待审核 3-履约中 4-已完成",
  3100. "name": "QueryType",
  3101. "in": "query",
  3102. "required": true
  3103. }
  3104. ],
  3105. "responses": {
  3106. "200": {
  3107. "description": "OK",
  3108. "schema": {
  3109. "type": "array",
  3110. "items": {
  3111. "$ref": "#/definitions/ermcp.QrySpotContractRsp"
  3112. }
  3113. }
  3114. },
  3115. "500": {
  3116. "description": "Internal Server Error",
  3117. "schema": {
  3118. "$ref": "#/definitions/app.Response"
  3119. }
  3120. }
  3121. }
  3122. }
  3123. },
  3124. "/Ermcp/QueryUserInfo": {
  3125. "get": {
  3126. "security": [
  3127. {
  3128. "ApiKeyAuth": []
  3129. }
  3130. ],
  3131. "produces": [
  3132. "application/json"
  3133. ],
  3134. "tags": [
  3135. "企业风险管理(app)"
  3136. ],
  3137. "summary": "查询客户资料",
  3138. "parameters": [
  3139. {
  3140. "type": "integer",
  3141. "description": "所属机构用户ID",
  3142. "name": "MemberUserID",
  3143. "in": "query",
  3144. "required": true
  3145. },
  3146. {
  3147. "type": "integer",
  3148. "description": "查询类型(1:未提交 2:待审核 3:正常 4:停用)",
  3149. "name": "queryType",
  3150. "in": "query",
  3151. "required": true
  3152. }
  3153. ],
  3154. "responses": {
  3155. "200": {
  3156. "description": "OK",
  3157. "schema": {
  3158. "type": "array",
  3159. "items": {
  3160. "$ref": "#/definitions/ermcp.QryUserInfoRsp"
  3161. }
  3162. }
  3163. },
  3164. "500": {
  3165. "description": "Internal Server Error",
  3166. "schema": {
  3167. "$ref": "#/definitions/app.Response"
  3168. }
  3169. }
  3170. }
  3171. }
  3172. },
  3173. "/Ermcp/QueryWarehouseInfo": {
  3174. "get": {
  3175. "security": [
  3176. {
  3177. "ApiKeyAuth": []
  3178. }
  3179. ],
  3180. "produces": [
  3181. "application/json"
  3182. ],
  3183. "tags": [
  3184. "企业风险管理(app)"
  3185. ],
  3186. "summary": "查询仓库信息",
  3187. "parameters": [
  3188. {
  3189. "type": "integer",
  3190. "description": "用户ID",
  3191. "name": "userid",
  3192. "in": "query",
  3193. "required": true
  3194. },
  3195. {
  3196. "type": "string",
  3197. "description": "仓库状态(可多项,逗号隔开) 1:正常 2:注销 3:待审核 4:审核拒绝",
  3198. "name": "status",
  3199. "in": "query"
  3200. }
  3201. ],
  3202. "responses": {
  3203. "200": {
  3204. "description": "OK",
  3205. "schema": {
  3206. "type": "array",
  3207. "items": {
  3208. "$ref": "#/definitions/ermcp.QryWarehouseRsp"
  3209. }
  3210. }
  3211. },
  3212. "500": {
  3213. "description": "Internal Server Error",
  3214. "schema": {
  3215. "$ref": "#/definitions/app.Response"
  3216. }
  3217. }
  3218. }
  3219. }
  3220. },
  3221. "/Ermcp/QueryWrStandard": {
  3222. "get": {
  3223. "security": [
  3224. {
  3225. "ApiKeyAuth": []
  3226. }
  3227. ],
  3228. "produces": [
  3229. "application/json"
  3230. ],
  3231. "tags": [
  3232. "企业风险管理(app)"
  3233. ],
  3234. "summary": "查询现货商品",
  3235. "parameters": [
  3236. {
  3237. "type": "integer",
  3238. "description": "所属机构ID",
  3239. "name": "userid",
  3240. "in": "query",
  3241. "required": true
  3242. },
  3243. {
  3244. "type": "integer",
  3245. "description": "状态 0-停用 1-正常",
  3246. "name": "status",
  3247. "in": "query",
  3248. "required": true
  3249. }
  3250. ],
  3251. "responses": {
  3252. "200": {
  3253. "description": "OK",
  3254. "schema": {
  3255. "type": "array",
  3256. "items": {
  3257. "$ref": "#/definitions/ermcp.QryWrStandardRsp"
  3258. }
  3259. }
  3260. },
  3261. "500": {
  3262. "description": "Internal Server Error",
  3263. "schema": {
  3264. "$ref": "#/definitions/app.Response"
  3265. }
  3266. }
  3267. }
  3268. }
  3269. },
  3270. "/Ermcp/QueryWrStandardDetail": {
  3271. "get": {
  3272. "security": [
  3273. {
  3274. "ApiKeyAuth": []
  3275. }
  3276. ],
  3277. "produces": [
  3278. "application/json"
  3279. ],
  3280. "tags": [
  3281. "企业风险管理(app)"
  3282. ],
  3283. "summary": "查询现货商品详情(菜单:现货品种/现货品种详情)",
  3284. "parameters": [
  3285. {
  3286. "type": "integer",
  3287. "description": "所属机构ID",
  3288. "name": "userid",
  3289. "in": "query",
  3290. "required": true
  3291. },
  3292. {
  3293. "type": "integer",
  3294. "description": "现货商品ID",
  3295. "name": "wrstandardid",
  3296. "in": "query",
  3297. "required": true
  3298. },
  3299. {
  3300. "type": "integer",
  3301. "description": "可不填, 1-查询关联交易商品",
  3302. "name": "goods",
  3303. "in": "query"
  3304. }
  3305. ],
  3306. "responses": {
  3307. "200": {
  3308. "description": "OK",
  3309. "schema": {
  3310. "type": "array",
  3311. "items": {
  3312. "$ref": "#/definitions/ermcp.QryWrStandardDetailRsp"
  3313. }
  3314. }
  3315. },
  3316. "500": {
  3317. "description": "Internal Server Error",
  3318. "schema": {
  3319. "$ref": "#/definitions/app.Response"
  3320. }
  3321. }
  3322. }
  3323. }
  3324. },
  3325. "/Erms2/QueryArbitrageStrategy": {
  3326. "get": {
  3327. "security": [
  3328. {
  3329. "ApiKeyAuth": []
  3330. }
  3331. ],
  3332. "produces": [
  3333. "application/json"
  3334. ],
  3335. "tags": [
  3336. "风险管理"
  3337. ],
  3338. "summary": "查询期现套利策略表信息(指定资金账户、未结束的)",
  3339. "parameters": [
  3340. {
  3341. "type": "integer",
  3342. "description": "账户ID",
  3343. "name": "userid",
  3344. "in": "query",
  3345. "required": true
  3346. },
  3347. {
  3348. "type": "string",
  3349. "description": "商品组ID(品种ID)",
  3350. "name": "goodsgroupid",
  3351. "in": "query"
  3352. }
  3353. ],
  3354. "responses": {
  3355. "200": {
  3356. "description": "OK",
  3357. "schema": {
  3358. "$ref": "#/definitions/erms2.QueryArbitrageStrategyRsp"
  3359. }
  3360. },
  3361. "500": {
  3362. "description": "Internal Server Error",
  3363. "schema": {
  3364. "$ref": "#/definitions/app.Response"
  3365. }
  3366. }
  3367. }
  3368. }
  3369. },
  3370. "/Erms2/QueryInnerTradeDetail": {
  3371. "get": {
  3372. "security": [
  3373. {
  3374. "ApiKeyAuth": []
  3375. }
  3376. ],
  3377. "produces": [
  3378. "application/json"
  3379. ],
  3380. "tags": [
  3381. "风险管理"
  3382. ],
  3383. "summary": "查询内部成交单信息",
  3384. "parameters": [
  3385. {
  3386. "type": "integer",
  3387. "description": "资金账户",
  3388. "name": "accountid",
  3389. "in": "query",
  3390. "required": true
  3391. }
  3392. ],
  3393. "responses": {
  3394. "200": {
  3395. "description": "OK",
  3396. "schema": {
  3397. "$ref": "#/definitions/erms2.QueryInnerTradeDetailRsp"
  3398. }
  3399. },
  3400. "500": {
  3401. "description": "Internal Server Error",
  3402. "schema": {
  3403. "$ref": "#/definitions/app.Response"
  3404. }
  3405. }
  3406. }
  3407. }
  3408. },
  3409. "/Erms2/QuerySpotContract": {
  3410. "get": {
  3411. "security": [
  3412. {
  3413. "ApiKeyAuth": []
  3414. }
  3415. ],
  3416. "produces": [
  3417. "application/json"
  3418. ],
  3419. "tags": [
  3420. "风险管理"
  3421. ],
  3422. "summary": "查询现货合同表信息(指定策略ID、未结束的)",
  3423. "parameters": [
  3424. {
  3425. "type": "integer",
  3426. "description": "策略申请ID",
  3427. "name": "asapplyid",
  3428. "in": "query",
  3429. "required": true
  3430. },
  3431. {
  3432. "type": "integer",
  3433. "description": "现货合同ID",
  3434. "name": "spotcontractid",
  3435. "in": "query"
  3436. }
  3437. ],
  3438. "responses": {
  3439. "200": {
  3440. "description": "OK",
  3441. "schema": {
  3442. "$ref": "#/definitions/erms2.QuerySpotContractRsp"
  3443. }
  3444. },
  3445. "500": {
  3446. "description": "Internal Server Error",
  3447. "schema": {
  3448. "$ref": "#/definitions/app.Response"
  3449. }
  3450. }
  3451. }
  3452. }
  3453. },
  3454. "/Erms3/AddErms2ASApply": {
  3455. "post": {
  3456. "security": [
  3457. {
  3458. "ApiKeyAuth": []
  3459. }
  3460. ],
  3461. "produces": [
  3462. "application/json"
  3463. ],
  3464. "tags": [
  3465. "风险管理v3"
  3466. ],
  3467. "summary": "新增期现套利业务申请",
  3468. "parameters": [
  3469. {
  3470. "description": "申请参数",
  3471. "name": "jsonBody",
  3472. "in": "body",
  3473. "required": true,
  3474. "schema": {
  3475. "$ref": "#/definitions/erms3.AddErms2ASApplyReq"
  3476. }
  3477. }
  3478. ],
  3479. "responses": {
  3480. "200": {
  3481. "description": "OK",
  3482. "schema": {
  3483. "$ref": "#/definitions/app.Response"
  3484. }
  3485. },
  3486. "500": {
  3487. "description": "Internal Server Error",
  3488. "schema": {
  3489. "$ref": "#/definitions/app.Response"
  3490. }
  3491. }
  3492. }
  3493. }
  3494. },
  3495. "/Erms3/AddErms2SpotTradeApply": {
  3496. "post": {
  3497. "security": [
  3498. {
  3499. "ApiKeyAuth": []
  3500. }
  3501. ],
  3502. "produces": [
  3503. "application/json"
  3504. ],
  3505. "tags": [
  3506. "风险管理v3"
  3507. ],
  3508. "summary": "新增现货贸易业务申请",
  3509. "parameters": [
  3510. {
  3511. "description": "申请参数",
  3512. "name": "jsonBody",
  3513. "in": "body",
  3514. "required": true,
  3515. "schema": {
  3516. "$ref": "#/definitions/erms3.AddErms2SpotTradeApplyReq"
  3517. }
  3518. }
  3519. ],
  3520. "responses": {
  3521. "200": {
  3522. "description": "OK",
  3523. "schema": {
  3524. "$ref": "#/definitions/app.Response"
  3525. }
  3526. },
  3527. "500": {
  3528. "description": "Internal Server Error",
  3529. "schema": {
  3530. "$ref": "#/definitions/app.Response"
  3531. }
  3532. }
  3533. }
  3534. }
  3535. },
  3536. "/Erms3/AddSpotContractApply": {
  3537. "post": {
  3538. "security": [
  3539. {
  3540. "ApiKeyAuth": []
  3541. }
  3542. ],
  3543. "produces": [
  3544. "application/json"
  3545. ],
  3546. "tags": [
  3547. "风险管理v3"
  3548. ],
  3549. "summary": "新增现货合同申请",
  3550. "parameters": [
  3551. {
  3552. "description": "申请参数",
  3553. "name": "jsonBody",
  3554. "in": "body",
  3555. "required": true,
  3556. "schema": {
  3557. "$ref": "#/definitions/erms3.AddSpotContractApplyReq"
  3558. }
  3559. }
  3560. ],
  3561. "responses": {
  3562. "200": {
  3563. "description": "OK",
  3564. "schema": {
  3565. "$ref": "#/definitions/erms3.AddSpotContractApplyRsp"
  3566. }
  3567. },
  3568. "500": {
  3569. "description": "Internal Server Error",
  3570. "schema": {
  3571. "$ref": "#/definitions/app.Response"
  3572. }
  3573. }
  3574. }
  3575. }
  3576. },
  3577. "/Erms3/AddUserInfoApply": {
  3578. "post": {
  3579. "security": [
  3580. {
  3581. "ApiKeyAuth": []
  3582. }
  3583. ],
  3584. "produces": [
  3585. "application/json"
  3586. ],
  3587. "tags": [
  3588. "风险管理v3"
  3589. ],
  3590. "summary": "新增客户申请",
  3591. "parameters": [
  3592. {
  3593. "description": "用户信息",
  3594. "name": "jsonBody",
  3595. "in": "body",
  3596. "required": true,
  3597. "schema": {
  3598. "$ref": "#/definitions/erms3.AddUserInfoApplyReq"
  3599. }
  3600. }
  3601. ],
  3602. "responses": {
  3603. "200": {
  3604. "description": "OK",
  3605. "schema": {
  3606. "$ref": "#/definitions/app.Response"
  3607. }
  3608. },
  3609. "500": {
  3610. "description": "Internal Server Error",
  3611. "schema": {
  3612. "$ref": "#/definitions/app.Response"
  3613. }
  3614. }
  3615. }
  3616. }
  3617. },
  3618. "/Erms3/ModifyUserInfoApply": {
  3619. "post": {
  3620. "security": [
  3621. {
  3622. "ApiKeyAuth": []
  3623. }
  3624. ],
  3625. "description": "保存草稿(撤回)- { \"userid\": int, \"userstate\": 1 } 提交审核 - { \"userid\": int, \"userstate\": 2 }",
  3626. "produces": [
  3627. "application/json"
  3628. ],
  3629. "tags": [
  3630. "风险管理v3"
  3631. ],
  3632. "summary": "修改客户申请",
  3633. "parameters": [
  3634. {
  3635. "description": "用户信息",
  3636. "name": "jsonBody",
  3637. "in": "body",
  3638. "required": true,
  3639. "schema": {
  3640. "$ref": "#/definitions/erms3.ModifyUserInfoApplyReq"
  3641. }
  3642. }
  3643. ],
  3644. "responses": {
  3645. "200": {
  3646. "description": "OK",
  3647. "schema": {
  3648. "$ref": "#/definitions/app.Response"
  3649. }
  3650. },
  3651. "500": {
  3652. "description": "Internal Server Error",
  3653. "schema": {
  3654. "$ref": "#/definitions/app.Response"
  3655. }
  3656. }
  3657. }
  3658. }
  3659. },
  3660. "/Erms3/QueryBusinessInfo": {
  3661. "get": {
  3662. "security": [
  3663. {
  3664. "ApiKeyAuth": []
  3665. }
  3666. ],
  3667. "produces": [
  3668. "application/json"
  3669. ],
  3670. "tags": [
  3671. "风险管理v3"
  3672. ],
  3673. "summary": "查询业务表单数据",
  3674. "parameters": [
  3675. {
  3676. "type": "string",
  3677. "description": "资金账号ID列表,用逗号分隔",
  3678. "name": "accountids",
  3679. "in": "query",
  3680. "required": true
  3681. },
  3682. {
  3683. "type": "integer",
  3684. "description": "状态,0为未结束 1为已结束",
  3685. "name": "status",
  3686. "in": "query",
  3687. "required": true
  3688. }
  3689. ],
  3690. "responses": {
  3691. "200": {
  3692. "description": "OK",
  3693. "schema": {
  3694. "type": "array",
  3695. "items": {
  3696. "$ref": "#/definitions/erms3.QueryBusinessInfoRsp"
  3697. }
  3698. }
  3699. },
  3700. "500": {
  3701. "description": "Internal Server Error",
  3702. "schema": {
  3703. "$ref": "#/definitions/app.Response"
  3704. }
  3705. }
  3706. }
  3707. }
  3708. },
  3709. "/Erms3/QueryPendingAuditContract": {
  3710. "get": {
  3711. "security": [
  3712. {
  3713. "ApiKeyAuth": []
  3714. }
  3715. ],
  3716. "produces": [
  3717. "application/json"
  3718. ],
  3719. "tags": [
  3720. "风险管理v3"
  3721. ],
  3722. "summary": "查询待审核合同",
  3723. "parameters": [
  3724. {
  3725. "type": "string",
  3726. "description": "资金账号ID列表,逗号隔开",
  3727. "name": "accountids",
  3728. "in": "query",
  3729. "required": true
  3730. },
  3731. {
  3732. "type": "integer",
  3733. "description": "合同类型 1-采购 -1-销售",
  3734. "name": "contracttype",
  3735. "in": "query",
  3736. "required": true
  3737. },
  3738. {
  3739. "type": "integer",
  3740. "description": "合同模式 1-普通 2-回购",
  3741. "name": "contractmode",
  3742. "in": "query",
  3743. "required": true
  3744. }
  3745. ],
  3746. "responses": {
  3747. "200": {
  3748. "description": "OK",
  3749. "schema": {
  3750. "type": "array",
  3751. "items": {
  3752. "$ref": "#/definitions/erms3.QryAuditContractRsp"
  3753. }
  3754. }
  3755. },
  3756. "500": {
  3757. "description": "Internal Server Error",
  3758. "schema": {
  3759. "$ref": "#/definitions/app.Response"
  3760. }
  3761. }
  3762. }
  3763. }
  3764. },
  3765. "/Erms3/QueryPendingBusiness": {
  3766. "get": {
  3767. "security": [
  3768. {
  3769. "ApiKeyAuth": []
  3770. }
  3771. ],
  3772. "produces": [
  3773. "application/json"
  3774. ],
  3775. "tags": [
  3776. "风险管理v3"
  3777. ],
  3778. "summary": "查询待审核基差贸易业务",
  3779. "parameters": [
  3780. {
  3781. "type": "string",
  3782. "description": "资金账号ID列表,逗号隔开",
  3783. "name": "accountids",
  3784. "in": "query",
  3785. "required": true
  3786. }
  3787. ],
  3788. "responses": {
  3789. "200": {
  3790. "description": "OK",
  3791. "schema": {
  3792. "type": "array",
  3793. "items": {
  3794. "$ref": "#/definitions/erms3.QryPendingBizRsp"
  3795. }
  3796. }
  3797. },
  3798. "500": {
  3799. "description": "Internal Server Error",
  3800. "schema": {
  3801. "$ref": "#/definitions/app.Response"
  3802. }
  3803. }
  3804. }
  3805. }
  3806. },
  3807. "/Erms3/QuerySpotContractAppleForm": {
  3808. "get": {
  3809. "security": [
  3810. {
  3811. "ApiKeyAuth": []
  3812. }
  3813. ],
  3814. "produces": [
  3815. "application/json"
  3816. ],
  3817. "tags": [
  3818. "风险管理v3"
  3819. ],
  3820. "summary": "查询合同申请表单数据",
  3821. "parameters": [
  3822. {
  3823. "type": "integer",
  3824. "description": "登录账号",
  3825. "name": "loginID",
  3826. "in": "query",
  3827. "required": true
  3828. }
  3829. ],
  3830. "responses": {
  3831. "200": {
  3832. "description": "OK",
  3833. "schema": {
  3834. "$ref": "#/definitions/erms3.QuerySpotContractAppleFormRsp"
  3835. }
  3836. },
  3837. "500": {
  3838. "description": "Internal Server Error",
  3839. "schema": {
  3840. "$ref": "#/definitions/app.Response"
  3841. }
  3842. }
  3843. }
  3844. }
  3845. },
  3846. "/Erms3/QuerySpotContractDetail": {
  3847. "get": {
  3848. "security": [
  3849. {
  3850. "ApiKeyAuth": []
  3851. }
  3852. ],
  3853. "produces": [
  3854. "application/json"
  3855. ],
  3856. "tags": [
  3857. "风险管理v3"
  3858. ],
  3859. "summary": "查询合同详细信息",
  3860. "parameters": [
  3861. {
  3862. "type": "string",
  3863. "description": "资金账号ID列表,用逗号分隔",
  3864. "name": "accountids",
  3865. "in": "query",
  3866. "required": true
  3867. },
  3868. {
  3869. "type": "integer",
  3870. "description": "合同类型,1为采购合同 -1为销售合同",
  3871. "name": "contracttype",
  3872. "in": "query",
  3873. "required": true
  3874. },
  3875. {
  3876. "type": "integer",
  3877. "description": "合同模式,1为普通合同 2为回购销售合同",
  3878. "name": "contractmode",
  3879. "in": "query",
  3880. "required": true
  3881. },
  3882. {
  3883. "type": "integer",
  3884. "description": "状态,0为履约中 1为已完成",
  3885. "name": "status",
  3886. "in": "query",
  3887. "required": true
  3888. }
  3889. ],
  3890. "responses": {
  3891. "200": {
  3892. "description": "OK",
  3893. "schema": {
  3894. "type": "array",
  3895. "items": {
  3896. "$ref": "#/definitions/erms3.QuerySpotContractInfoRsp"
  3897. }
  3898. }
  3899. },
  3900. "500": {
  3901. "description": "Internal Server Error",
  3902. "schema": {
  3903. "$ref": "#/definitions/app.Response"
  3904. }
  3905. }
  3906. }
  3907. }
  3908. },
  3909. "/Erms3/QueryUserInfoApplies": {
  3910. "get": {
  3911. "security": [
  3912. {
  3913. "ApiKeyAuth": []
  3914. }
  3915. ],
  3916. "produces": [
  3917. "application/json"
  3918. ],
  3919. "tags": [
  3920. "风险管理v3"
  3921. ],
  3922. "summary": "客户申请信息查询",
  3923. "parameters": [
  3924. {
  3925. "type": "integer",
  3926. "description": "页码",
  3927. "name": "page",
  3928. "in": "query"
  3929. },
  3930. {
  3931. "type": "integer",
  3932. "description": "每页条数",
  3933. "name": "pagesize",
  3934. "in": "query"
  3935. },
  3936. {
  3937. "type": "string",
  3938. "description": "客户名称,支持模糊查询",
  3939. "name": "userName",
  3940. "in": "query"
  3941. }
  3942. ],
  3943. "responses": {
  3944. "200": {
  3945. "description": "OK",
  3946. "schema": {
  3947. "$ref": "#/definitions/erms3.QueryUserInfoAppliesRsp"
  3948. }
  3949. },
  3950. "500": {
  3951. "description": "Internal Server Error",
  3952. "schema": {
  3953. "$ref": "#/definitions/app.Response"
  3954. }
  3955. }
  3956. }
  3957. }
  3958. },
  3959. "/Erms3/QueryUserInfos": {
  3960. "get": {
  3961. "security": [
  3962. {
  3963. "ApiKeyAuth": []
  3964. }
  3965. ],
  3966. "produces": [
  3967. "application/json"
  3968. ],
  3969. "tags": [
  3970. "风险管理v3"
  3971. ],
  3972. "summary": "客户信息查询",
  3973. "parameters": [
  3974. {
  3975. "type": "integer",
  3976. "description": "页码",
  3977. "name": "page",
  3978. "in": "query"
  3979. },
  3980. {
  3981. "type": "integer",
  3982. "description": "每页条数",
  3983. "name": "pagesize",
  3984. "in": "query"
  3985. },
  3986. {
  3987. "type": "string",
  3988. "description": "客户名称,支持模糊查询",
  3989. "name": "userName",
  3990. "in": "query"
  3991. }
  3992. ],
  3993. "responses": {
  3994. "200": {
  3995. "description": "OK",
  3996. "schema": {
  3997. "$ref": "#/definitions/erms3.QueryUserInfosRsp"
  3998. }
  3999. },
  4000. "500": {
  4001. "description": "Internal Server Error",
  4002. "schema": {
  4003. "$ref": "#/definitions/app.Response"
  4004. }
  4005. }
  4006. }
  4007. }
  4008. },
  4009. "/HSBY/GetHsbyMyCount": {
  4010. "get": {
  4011. "security": [
  4012. {
  4013. "ApiKeyAuth": []
  4014. }
  4015. ],
  4016. "description": "说明: 不包括已完成的数量。",
  4017. "produces": [
  4018. "application/json"
  4019. ],
  4020. "tags": [
  4021. "定制【海商报业】"
  4022. ],
  4023. "summary": "获取我的订单与包裹数量",
  4024. "parameters": [
  4025. {
  4026. "type": "string",
  4027. "description": "资金账户列表,格式:1,2,3",
  4028. "name": "accountIDs",
  4029. "in": "query",
  4030. "required": true
  4031. }
  4032. ],
  4033. "responses": {
  4034. "200": {
  4035. "description": "OK",
  4036. "schema": {
  4037. "$ref": "#/definitions/hsby.GetHsbyMyCountRsp"
  4038. }
  4039. },
  4040. "500": {
  4041. "description": "Internal Server Error",
  4042. "schema": {
  4043. "$ref": "#/definitions/app.Response"
  4044. }
  4045. }
  4046. }
  4047. }
  4048. },
  4049. "/HSBY/QueryClientFixedADConfigs": {
  4050. "get": {
  4051. "security": [
  4052. {
  4053. "ApiKeyAuth": []
  4054. }
  4055. ],
  4056. "produces": [
  4057. "application/json"
  4058. ],
  4059. "tags": [
  4060. "定制【海商报业】"
  4061. ],
  4062. "summary": "获取终端固定广告配置",
  4063. "responses": {
  4064. "200": {
  4065. "description": "OK",
  4066. "schema": {
  4067. "$ref": "#/definitions/models.Clientfixedadconfig"
  4068. }
  4069. },
  4070. "500": {
  4071. "description": "Internal Server Error",
  4072. "schema": {
  4073. "$ref": "#/definitions/app.Response"
  4074. }
  4075. }
  4076. }
  4077. }
  4078. },
  4079. "/HSBY/QueryHsbyBuyMyTradeDetail": {
  4080. "get": {
  4081. "security": [
  4082. {
  4083. "ApiKeyAuth": []
  4084. }
  4085. ],
  4086. "produces": [
  4087. "application/json"
  4088. ],
  4089. "tags": [
  4090. "定制【海商报业】"
  4091. ],
  4092. "summary": "查询\"我的订单 - 已完成\"单据信息",
  4093. "parameters": [
  4094. {
  4095. "type": "integer",
  4096. "description": "页码",
  4097. "name": "page",
  4098. "in": "query"
  4099. },
  4100. {
  4101. "type": "integer",
  4102. "description": "每页条数",
  4103. "name": "pagesize",
  4104. "in": "query"
  4105. },
  4106. {
  4107. "type": "string",
  4108. "description": "资金账户列表,格式:1,2,3",
  4109. "name": "accountIDs",
  4110. "in": "query",
  4111. "required": true
  4112. }
  4113. ],
  4114. "responses": {
  4115. "200": {
  4116. "description": "OK",
  4117. "schema": {
  4118. "$ref": "#/definitions/models.HsbyBuyMyTradeDetail"
  4119. }
  4120. },
  4121. "500": {
  4122. "description": "Internal Server Error",
  4123. "schema": {
  4124. "$ref": "#/definitions/app.Response"
  4125. }
  4126. }
  4127. }
  4128. }
  4129. },
  4130. "/HSBY/QueryHsbyGoodsOrderDetails": {
  4131. "get": {
  4132. "security": [
  4133. {
  4134. "ApiKeyAuth": []
  4135. }
  4136. ],
  4137. "description": "说明:查询结果已按委托价格和委托时间排序",
  4138. "produces": [
  4139. "application/json"
  4140. ],
  4141. "tags": [
  4142. "定制【海商报业】"
  4143. ],
  4144. "summary": "查询二级市场(挂牌点选)商品对应的挂牌委托单信息",
  4145. "parameters": [
  4146. {
  4147. "type": "integer",
  4148. "description": "商品ID",
  4149. "name": "goodsID",
  4150. "in": "query",
  4151. "required": true
  4152. },
  4153. {
  4154. "type": "string",
  4155. "description": "摘牌方资金账户列表,格式:1,2,3。主要用于过滤自己的挂牌单",
  4156. "name": "accountIDs",
  4157. "in": "query"
  4158. },
  4159. {
  4160. "type": "integer",
  4161. "description": "挂牌委托单方向(对手单方向),0:买 1:卖",
  4162. "name": "buyOrSell",
  4163. "in": "query"
  4164. },
  4165. {
  4166. "type": "number",
  4167. "description": " 参考价格。对手单买方向委托单则价格大于等于(站在摘牌人的角度,摘牌方面是卖,我的闲置下单);对手单卖方向委托单则价格小于等于(站在摘牌人的角度,摘牌方面是买,热门商品下单)",
  4168. "name": "price",
  4169. "in": "query"
  4170. },
  4171. {
  4172. "type": "integer",
  4173. "description": "档位,不传则默认为3档",
  4174. "name": "speed",
  4175. "in": "query"
  4176. }
  4177. ],
  4178. "responses": {
  4179. "200": {
  4180. "description": "OK",
  4181. "schema": {
  4182. "$ref": "#/definitions/models.HsbyGoodsOrderDetail"
  4183. }
  4184. },
  4185. "500": {
  4186. "description": "Internal Server Error",
  4187. "schema": {
  4188. "$ref": "#/definitions/app.Response"
  4189. }
  4190. }
  4191. }
  4192. }
  4193. },
  4194. "/HSBY/QueryHsbyListingGoodsDetail": {
  4195. "get": {
  4196. "security": [
  4197. {
  4198. "ApiKeyAuth": []
  4199. }
  4200. ],
  4201. "description": "说明:“我的商品”详情中,二级(挂牌点选)和三级(商城)的商品详情都使用此接口",
  4202. "produces": [
  4203. "application/json"
  4204. ],
  4205. "tags": [
  4206. "定制【海商报业】"
  4207. ],
  4208. "summary": "查询二级市场(挂牌点选)商品信息详情",
  4209. "parameters": [
  4210. {
  4211. "type": "integer",
  4212. "description": "商品ID",
  4213. "name": "goodsID",
  4214. "in": "query",
  4215. "required": true
  4216. },
  4217. {
  4218. "type": "integer",
  4219. "description": "资金账户,主要用于获取交易规则。不传则获取通用规则。",
  4220. "name": "accountID",
  4221. "in": "query"
  4222. }
  4223. ],
  4224. "responses": {
  4225. "200": {
  4226. "description": "OK",
  4227. "schema": {
  4228. "$ref": "#/definitions/models.HsbyListingGoodsDetail"
  4229. }
  4230. },
  4231. "500": {
  4232. "description": "Internal Server Error",
  4233. "schema": {
  4234. "$ref": "#/definitions/app.Response"
  4235. }
  4236. }
  4237. }
  4238. }
  4239. },
  4240. "/HSBY/QueryHsbyMarketGoodsDetail": {
  4241. "get": {
  4242. "security": [
  4243. {
  4244. "ApiKeyAuth": []
  4245. }
  4246. ],
  4247. "produces": [
  4248. "application/json"
  4249. ],
  4250. "tags": [
  4251. "定制【海商报业】"
  4252. ],
  4253. "summary": "查询三级市场(商城)商品信息详情",
  4254. "parameters": [
  4255. {
  4256. "type": "integer",
  4257. "description": "委托单号",
  4258. "name": "orderID",
  4259. "in": "query",
  4260. "required": true
  4261. },
  4262. {
  4263. "type": "integer",
  4264. "description": "资金账户,主要用于判断商品最大开仓手数;如未登录可不传。",
  4265. "name": "accountID",
  4266. "in": "query"
  4267. }
  4268. ],
  4269. "responses": {
  4270. "200": {
  4271. "description": "OK",
  4272. "schema": {
  4273. "$ref": "#/definitions/models.HsbyMarketGoodsDetail"
  4274. }
  4275. },
  4276. "500": {
  4277. "description": "Internal Server Error",
  4278. "schema": {
  4279. "$ref": "#/definitions/app.Response"
  4280. }
  4281. }
  4282. }
  4283. }
  4284. },
  4285. "/HSBY/QueryHsbyMarketGoodses": {
  4286. "get": {
  4287. "security": [
  4288. {
  4289. "ApiKeyAuth": []
  4290. }
  4291. ],
  4292. "produces": [
  4293. "application/json"
  4294. ],
  4295. "tags": [
  4296. "定制【海商报业】"
  4297. ],
  4298. "summary": "查询特卖商品列表(三级商城)",
  4299. "parameters": [
  4300. {
  4301. "type": "integer",
  4302. "description": "页码",
  4303. "name": "page",
  4304. "in": "query"
  4305. },
  4306. {
  4307. "type": "integer",
  4308. "description": "每页条数",
  4309. "name": "pagesize",
  4310. "in": "query"
  4311. },
  4312. {
  4313. "type": "string",
  4314. "description": "市场ID列表,格式:1,2,3",
  4315. "name": "marketIDs",
  4316. "in": "query",
  4317. "required": true
  4318. },
  4319. {
  4320. "type": "integer",
  4321. "description": "资金账户,用于判断商品是否有可用的优惠卷;同时只显示此账户所属机构下的商城委托单。",
  4322. "name": "accountID",
  4323. "in": "query",
  4324. "required": true
  4325. },
  4326. {
  4327. "type": "integer",
  4328. "description": "类别ID",
  4329. "name": "categoryID",
  4330. "in": "query"
  4331. },
  4332. {
  4333. "type": "string",
  4334. "description": "商品ID列表,格式:1,2,3。主要用于商品搜索。",
  4335. "name": "goodsIDs",
  4336. "in": "query"
  4337. },
  4338. {
  4339. "type": "integer",
  4340. "description": "优惠券类型ID,主要用于显示优惠卷对应的商品列表。",
  4341. "name": "couponTypeID",
  4342. "in": "query"
  4343. }
  4344. ],
  4345. "responses": {
  4346. "200": {
  4347. "description": "OK",
  4348. "schema": {
  4349. "$ref": "#/definitions/models.HsbyMarketGoods"
  4350. }
  4351. },
  4352. "500": {
  4353. "description": "Internal Server Error",
  4354. "schema": {
  4355. "$ref": "#/definitions/app.Response"
  4356. }
  4357. }
  4358. }
  4359. }
  4360. },
  4361. "/HSBY/QueryHsbyMarkets": {
  4362. "get": {
  4363. "security": [
  4364. {
  4365. "ApiKeyAuth": []
  4366. }
  4367. ],
  4368. "produces": [
  4369. "application/json"
  4370. ],
  4371. "tags": [
  4372. "定制【海商报业】"
  4373. ],
  4374. "summary": "查询海商报业相关市场信息",
  4375. "responses": {
  4376. "200": {
  4377. "description": "OK",
  4378. "schema": {
  4379. "$ref": "#/definitions/models.HsbyMarketInfo"
  4380. }
  4381. },
  4382. "500": {
  4383. "description": "Internal Server Error",
  4384. "schema": {
  4385. "$ref": "#/definitions/app.Response"
  4386. }
  4387. }
  4388. }
  4389. }
  4390. },
  4391. "/HSBY/QueryHsbyMyBuyOrderDetails": {
  4392. "get": {
  4393. "security": [
  4394. {
  4395. "ApiKeyAuth": []
  4396. }
  4397. ],
  4398. "description": "说明: myBuyStatus: 1,2 - 待成交;3 - 已提交;4 - 已撤消;5 - 委托失败",
  4399. "produces": [
  4400. "application/json"
  4401. ],
  4402. "tags": [
  4403. "定制【海商报业】"
  4404. ],
  4405. "summary": "查询“我的订单”信息",
  4406. "parameters": [
  4407. {
  4408. "type": "string",
  4409. "description": "资金账户列表,格式:1,2,3",
  4410. "name": "accountIDs",
  4411. "in": "query",
  4412. "required": true
  4413. }
  4414. ],
  4415. "responses": {
  4416. "200": {
  4417. "description": "OK",
  4418. "schema": {
  4419. "$ref": "#/definitions/models.HybsMyBuyOrderDetail"
  4420. }
  4421. },
  4422. "500": {
  4423. "description": "Internal Server Error",
  4424. "schema": {
  4425. "$ref": "#/definitions/app.Response"
  4426. }
  4427. }
  4428. }
  4429. }
  4430. },
  4431. "/HSBY/QueryHsbyMyGoods": {
  4432. "get": {
  4433. "security": [
  4434. {
  4435. "ApiKeyAuth": []
  4436. }
  4437. ],
  4438. "description": "说明: 挂牌点选(tradeMode = 16)价格取last; 商城(tradeMode = 70)价格取goodsprice",
  4439. "produces": [
  4440. "application/json"
  4441. ],
  4442. "tags": [
  4443. "定制【海商报业】"
  4444. ],
  4445. "summary": "查询“我的商品”信息",
  4446. "parameters": [
  4447. {
  4448. "type": "string",
  4449. "description": "资金账户列表,格式:1,2,3",
  4450. "name": "accountIDs",
  4451. "in": "query",
  4452. "required": true
  4453. }
  4454. ],
  4455. "responses": {
  4456. "200": {
  4457. "description": "OK",
  4458. "schema": {
  4459. "$ref": "#/definitions/models.HsbyMyGoods"
  4460. }
  4461. },
  4462. "500": {
  4463. "description": "Internal Server Error",
  4464. "schema": {
  4465. "$ref": "#/definitions/app.Response"
  4466. }
  4467. }
  4468. }
  4469. }
  4470. },
  4471. "/HSBY/QueryHsbyMyPackages": {
  4472. "get": {
  4473. "security": [
  4474. {
  4475. "ApiKeyAuth": []
  4476. }
  4477. ],
  4478. "produces": [
  4479. "application/json"
  4480. ],
  4481. "tags": [
  4482. "定制【海商报业】"
  4483. ],
  4484. "summary": "查询我的包裹信息",
  4485. "parameters": [
  4486. {
  4487. "type": "string",
  4488. "description": "资金账户列表,格式:1,2,3",
  4489. "name": "accountIDs",
  4490. "in": "query",
  4491. "required": true
  4492. },
  4493. {
  4494. "type": "integer",
  4495. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  4496. "name": "takeOrderStatus",
  4497. "in": "query"
  4498. }
  4499. ],
  4500. "responses": {
  4501. "200": {
  4502. "description": "OK",
  4503. "schema": {
  4504. "$ref": "#/definitions/models.HsbyMyPackage"
  4505. }
  4506. },
  4507. "500": {
  4508. "description": "Internal Server Error",
  4509. "schema": {
  4510. "$ref": "#/definitions/app.Response"
  4511. }
  4512. }
  4513. }
  4514. }
  4515. },
  4516. "/HSBY/QueryHsbyPreGoodsDetail": {
  4517. "get": {
  4518. "security": [
  4519. {
  4520. "ApiKeyAuth": []
  4521. }
  4522. ],
  4523. "produces": [
  4524. "application/json"
  4525. ],
  4526. "tags": [
  4527. "定制【海商报业】"
  4528. ],
  4529. "summary": "查询一级市场(预售)商品信息详情",
  4530. "parameters": [
  4531. {
  4532. "type": "integer",
  4533. "description": "商品ID",
  4534. "name": "goodsID",
  4535. "in": "query",
  4536. "required": true
  4537. },
  4538. {
  4539. "type": "integer",
  4540. "description": "资金账户,主要用于获取预售商品购买上限",
  4541. "name": "accountID",
  4542. "in": "query"
  4543. }
  4544. ],
  4545. "responses": {
  4546. "200": {
  4547. "description": "OK",
  4548. "schema": {
  4549. "$ref": "#/definitions/models.HsbyPreGoodsDetail"
  4550. }
  4551. },
  4552. "500": {
  4553. "description": "Internal Server Error",
  4554. "schema": {
  4555. "$ref": "#/definitions/app.Response"
  4556. }
  4557. }
  4558. }
  4559. }
  4560. },
  4561. "/HSBY/QueryHsbyPreGoodses": {
  4562. "get": {
  4563. "security": [
  4564. {
  4565. "ApiKeyAuth": []
  4566. }
  4567. ],
  4568. "description": "说明:结果已先显示已开始商品(按结束时间顺序排),再显示未开始商品(按开始时间顺序排)",
  4569. "produces": [
  4570. "application/json"
  4571. ],
  4572. "tags": [
  4573. "定制【海商报业】"
  4574. ],
  4575. "summary": "查询新品上市商品列表(一级市场预售)",
  4576. "parameters": [
  4577. {
  4578. "type": "integer",
  4579. "description": "页码",
  4580. "name": "page",
  4581. "in": "query"
  4582. },
  4583. {
  4584. "type": "integer",
  4585. "description": "每页条数",
  4586. "name": "pagesize",
  4587. "in": "query"
  4588. },
  4589. {
  4590. "type": "string",
  4591. "description": "市场ID列表,格式:1,2,3",
  4592. "name": "marketIDs",
  4593. "in": "query",
  4594. "required": true
  4595. },
  4596. {
  4597. "type": "integer",
  4598. "description": "目的地(省)ID",
  4599. "name": "descProvinceID",
  4600. "in": "query"
  4601. },
  4602. {
  4603. "type": "integer",
  4604. "description": "目的地(市)ID",
  4605. "name": "descCityID",
  4606. "in": "query"
  4607. }
  4608. ],
  4609. "responses": {
  4610. "200": {
  4611. "description": "OK",
  4612. "schema": {
  4613. "$ref": "#/definitions/models.HsbyPreGoods"
  4614. }
  4615. },
  4616. "500": {
  4617. "description": "Internal Server Error",
  4618. "schema": {
  4619. "$ref": "#/definitions/app.Response"
  4620. }
  4621. }
  4622. }
  4623. }
  4624. },
  4625. "/HSBY/QueryHsbySellMyDetails": {
  4626. "get": {
  4627. "security": [
  4628. {
  4629. "ApiKeyAuth": []
  4630. }
  4631. ],
  4632. "description": "说明:发布中 - 二级市场卖挂,3:委托成功、7:部分成交; 已完成 - 二级市场成交单,包括历史数据。查询结果已按时间从近到远排序",
  4633. "produces": [
  4634. "application/json"
  4635. ],
  4636. "tags": [
  4637. "定制【海商报业】"
  4638. ],
  4639. "summary": "查询\"我的闲置\"单据信息",
  4640. "parameters": [
  4641. {
  4642. "type": "integer",
  4643. "description": "页码",
  4644. "name": "page",
  4645. "in": "query"
  4646. },
  4647. {
  4648. "type": "integer",
  4649. "description": "每页条数",
  4650. "name": "pagesize",
  4651. "in": "query"
  4652. },
  4653. {
  4654. "type": "string",
  4655. "description": "资金账户列表,格式:1,2,3",
  4656. "name": "accountIDs",
  4657. "in": "query",
  4658. "required": true
  4659. },
  4660. {
  4661. "type": "integer",
  4662. "description": "单据类型:0 - 发布中(默认), 1 - 已完成",
  4663. "name": "orderType",
  4664. "in": "query"
  4665. }
  4666. ],
  4667. "responses": {
  4668. "200": {
  4669. "description": "OK",
  4670. "schema": {
  4671. "$ref": "#/definitions/models.HsbySellMyDetail"
  4672. }
  4673. },
  4674. "500": {
  4675. "description": "Internal Server Error",
  4676. "schema": {
  4677. "$ref": "#/definitions/app.Response"
  4678. }
  4679. }
  4680. }
  4681. }
  4682. },
  4683. "/HSBY/QueryHsbyTopGoodses": {
  4684. "get": {
  4685. "security": [
  4686. {
  4687. "ApiKeyAuth": []
  4688. }
  4689. ],
  4690. "description": "说明:查询结果已按Hotindex(景点热度)从大到小排序",
  4691. "produces": [
  4692. "application/json"
  4693. ],
  4694. "tags": [
  4695. "定制【海商报业】"
  4696. ],
  4697. "summary": "查询热卖商品列表(二级市场挂牌点选)",
  4698. "parameters": [
  4699. {
  4700. "type": "integer",
  4701. "description": "页码",
  4702. "name": "page",
  4703. "in": "query"
  4704. },
  4705. {
  4706. "type": "integer",
  4707. "description": "每页条数",
  4708. "name": "pagesize",
  4709. "in": "query"
  4710. },
  4711. {
  4712. "type": "string",
  4713. "description": "市场ID列表,格式:1,2,3",
  4714. "name": "marketIDs",
  4715. "in": "query",
  4716. "required": true
  4717. },
  4718. {
  4719. "type": "integer",
  4720. "description": "目的地(省)ID",
  4721. "name": "descProvinceID",
  4722. "in": "query"
  4723. },
  4724. {
  4725. "type": "integer",
  4726. "description": "目的地(市)ID",
  4727. "name": "descCityID",
  4728. "in": "query"
  4729. }
  4730. ],
  4731. "responses": {
  4732. "200": {
  4733. "description": "OK",
  4734. "schema": {
  4735. "$ref": "#/definitions/models.HsbyTopGoods"
  4736. }
  4737. },
  4738. "500": {
  4739. "description": "Internal Server Error",
  4740. "schema": {
  4741. "$ref": "#/definitions/app.Response"
  4742. }
  4743. }
  4744. }
  4745. }
  4746. },
  4747. "/HSBY/QueryHsbyVisitorMarketGoodsDetail": {
  4748. "get": {
  4749. "security": [
  4750. {
  4751. "ApiKeyAuth": []
  4752. }
  4753. ],
  4754. "description": "说明:使用于未登录状态查询商城商品详情,登录后请使用QueryHsbyMarketGoodsDetail接口进行查询。",
  4755. "produces": [
  4756. "application/json"
  4757. ],
  4758. "tags": [
  4759. "定制【海商报业】"
  4760. ],
  4761. "summary": "查询游客三级市场(商城)商品信息详情",
  4762. "parameters": [
  4763. {
  4764. "type": "integer",
  4765. "description": "商品ID",
  4766. "name": "goodsID",
  4767. "in": "query",
  4768. "required": true
  4769. }
  4770. ],
  4771. "responses": {
  4772. "200": {
  4773. "description": "OK",
  4774. "schema": {
  4775. "$ref": "#/definitions/models.HsbyMarketGoodsDetail"
  4776. }
  4777. },
  4778. "500": {
  4779. "description": "Internal Server Error",
  4780. "schema": {
  4781. "$ref": "#/definitions/app.Response"
  4782. }
  4783. }
  4784. }
  4785. }
  4786. },
  4787. "/HSBY/QueryHsbyVisitorMarketGoodses": {
  4788. "get": {
  4789. "security": [
  4790. {
  4791. "ApiKeyAuth": []
  4792. }
  4793. ],
  4794. "description": "说明:使用于未登录状态查询商城商品列表,登录后请使用QueryHsbyMarketGoodses接口进行查询。",
  4795. "produces": [
  4796. "application/json"
  4797. ],
  4798. "tags": [
  4799. "定制【海商报业】"
  4800. ],
  4801. "summary": "查询游客特卖商品列表(三级商城)",
  4802. "parameters": [
  4803. {
  4804. "type": "integer",
  4805. "description": "页码",
  4806. "name": "page",
  4807. "in": "query"
  4808. },
  4809. {
  4810. "type": "integer",
  4811. "description": "每页条数",
  4812. "name": "pagesize",
  4813. "in": "query"
  4814. },
  4815. {
  4816. "type": "string",
  4817. "description": "市场ID列表,格式:1,2,3",
  4818. "name": "marketIDs",
  4819. "in": "query",
  4820. "required": true
  4821. },
  4822. {
  4823. "type": "integer",
  4824. "description": "类别ID",
  4825. "name": "categoryID",
  4826. "in": "query"
  4827. },
  4828. {
  4829. "type": "string",
  4830. "description": "商品ID列表,格式:1,2,3。主要用于商品搜索。",
  4831. "name": "goodsIDs",
  4832. "in": "query"
  4833. }
  4834. ],
  4835. "responses": {
  4836. "200": {
  4837. "description": "OK",
  4838. "schema": {
  4839. "$ref": "#/definitions/models.HsbyMarketGoods"
  4840. }
  4841. },
  4842. "500": {
  4843. "description": "Internal Server Error",
  4844. "schema": {
  4845. "$ref": "#/definitions/app.Response"
  4846. }
  4847. }
  4848. }
  4849. }
  4850. },
  4851. "/HSBY/QueryMyCollectionOrders": {
  4852. "get": {
  4853. "security": [
  4854. {
  4855. "ApiKeyAuth": []
  4856. }
  4857. ],
  4858. "produces": [
  4859. "application/json"
  4860. ],
  4861. "tags": [
  4862. "定制【海商报业】"
  4863. ],
  4864. "summary": "我的闲置中收款信息查询",
  4865. "parameters": [
  4866. {
  4867. "type": "integer",
  4868. "description": "页码",
  4869. "name": "page",
  4870. "in": "query"
  4871. },
  4872. {
  4873. "type": "integer",
  4874. "description": "每页条数",
  4875. "name": "pagesize",
  4876. "in": "query"
  4877. },
  4878. {
  4879. "type": "string",
  4880. "description": "资金账户,格式:1,2,3",
  4881. "name": "accountIDs",
  4882. "in": "query",
  4883. "required": true
  4884. }
  4885. ],
  4886. "responses": {
  4887. "200": {
  4888. "description": "OK",
  4889. "schema": {
  4890. "$ref": "#/definitions/models.HsbySellCollectionOrder"
  4891. }
  4892. },
  4893. "500": {
  4894. "description": "Internal Server Error",
  4895. "schema": {
  4896. "$ref": "#/definitions/app.Response"
  4897. }
  4898. }
  4899. }
  4900. }
  4901. },
  4902. "/HSBY/QueryMyCouponHolds": {
  4903. "get": {
  4904. "security": [
  4905. {
  4906. "ApiKeyAuth": []
  4907. }
  4908. ],
  4909. "description": "说明:当holdStatus传入4(已过期)后,会从历史表中查询已过期的优惠卷数据。",
  4910. "produces": [
  4911. "application/json"
  4912. ],
  4913. "tags": [
  4914. "定制【海商报业】"
  4915. ],
  4916. "summary": "我的优惠卷持仓查询",
  4917. "parameters": [
  4918. {
  4919. "type": "string",
  4920. "description": "资金账户列表,格式:1,2,3",
  4921. "name": "accountIDs",
  4922. "in": "query",
  4923. "required": true
  4924. },
  4925. {
  4926. "type": "string",
  4927. "description": "持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期,格式:1,2,3",
  4928. "name": "holdStatus",
  4929. "in": "query"
  4930. }
  4931. ],
  4932. "responses": {
  4933. "200": {
  4934. "description": "OK",
  4935. "schema": {
  4936. "$ref": "#/definitions/models.MyCouponHold"
  4937. }
  4938. },
  4939. "500": {
  4940. "description": "Internal Server Error",
  4941. "schema": {
  4942. "$ref": "#/definitions/app.Response"
  4943. }
  4944. }
  4945. }
  4946. }
  4947. },
  4948. "/HSBY/QueryMyCoupons": {
  4949. "get": {
  4950. "security": [
  4951. {
  4952. "ApiKeyAuth": []
  4953. }
  4954. ],
  4955. "produces": [
  4956. "application/json"
  4957. ],
  4958. "tags": [
  4959. "定制【海商报业】"
  4960. ],
  4961. "summary": "我的优惠卷查询",
  4962. "parameters": [
  4963. {
  4964. "type": "string",
  4965. "description": "资金账户列表,格式:1,2,3",
  4966. "name": "accountIDs",
  4967. "in": "query",
  4968. "required": true
  4969. },
  4970. {
  4971. "type": "integer",
  4972. "description": "商品ID, 一般与sellUserID配套传入",
  4973. "name": "goodsID",
  4974. "in": "query"
  4975. },
  4976. {
  4977. "type": "integer",
  4978. "description": "卖方UserID",
  4979. "name": "sellUserID",
  4980. "in": "query"
  4981. }
  4982. ],
  4983. "responses": {
  4984. "200": {
  4985. "description": "OK",
  4986. "schema": {
  4987. "$ref": "#/definitions/models.MyCoupon"
  4988. }
  4989. },
  4990. "500": {
  4991. "description": "Internal Server Error",
  4992. "schema": {
  4993. "$ref": "#/definitions/app.Response"
  4994. }
  4995. }
  4996. }
  4997. }
  4998. },
  4999. "/HSBY/QueryMyPayOrders": {
  5000. "get": {
  5001. "security": [
  5002. {
  5003. "ApiKeyAuth": []
  5004. }
  5005. ],
  5006. "produces": [
  5007. "application/json"
  5008. ],
  5009. "tags": [
  5010. "定制【海商报业】"
  5011. ],
  5012. "summary": "获取我的订单中待付款信息",
  5013. "parameters": [
  5014. {
  5015. "type": "integer",
  5016. "description": "页码",
  5017. "name": "page",
  5018. "in": "query"
  5019. },
  5020. {
  5021. "type": "integer",
  5022. "description": "每页条数",
  5023. "name": "pagesize",
  5024. "in": "query"
  5025. },
  5026. {
  5027. "type": "string",
  5028. "description": "资金账户列表,格式:1,2,3",
  5029. "name": "accountIDs",
  5030. "in": "query",
  5031. "required": true
  5032. },
  5033. {
  5034. "type": "integer",
  5035. "description": "买方委托单号",
  5036. "name": "buyOrderID",
  5037. "in": "query"
  5038. },
  5039. {
  5040. "type": "integer",
  5041. "description": "卖方委托单号",
  5042. "name": "sellOrderID",
  5043. "in": "query"
  5044. }
  5045. ],
  5046. "responses": {
  5047. "200": {
  5048. "description": "OK",
  5049. "schema": {
  5050. "$ref": "#/definitions/models.HsbyBuyMyPayOrder"
  5051. }
  5052. },
  5053. "500": {
  5054. "description": "Internal Server Error",
  5055. "schema": {
  5056. "$ref": "#/definitions/app.Response"
  5057. }
  5058. }
  5059. }
  5060. }
  5061. },
  5062. "/HSBY/QueryMyUsedCoupon": {
  5063. "get": {
  5064. "security": [
  5065. {
  5066. "ApiKeyAuth": []
  5067. }
  5068. ],
  5069. "produces": [
  5070. "application/json"
  5071. ],
  5072. "tags": [
  5073. "定制【海商报业】"
  5074. ],
  5075. "summary": "已使用优惠卷查询",
  5076. "parameters": [
  5077. {
  5078. "type": "string",
  5079. "description": "资金账户列表,格式:1,2,3",
  5080. "name": "accountIDs",
  5081. "in": "query",
  5082. "required": true
  5083. }
  5084. ],
  5085. "responses": {
  5086. "200": {
  5087. "description": "OK",
  5088. "schema": {
  5089. "$ref": "#/definitions/models.MyUsedCoupon"
  5090. }
  5091. },
  5092. "500": {
  5093. "description": "Internal Server Error",
  5094. "schema": {
  5095. "$ref": "#/definitions/app.Response"
  5096. }
  5097. }
  5098. }
  5099. }
  5100. },
  5101. "/HSBY/QueryProvincesAndCities": {
  5102. "get": {
  5103. "security": [
  5104. {
  5105. "ApiKeyAuth": []
  5106. }
  5107. ],
  5108. "description": "查询结果只包括二级市场商品已关连的省市信息。",
  5109. "produces": [
  5110. "application/json"
  5111. ],
  5112. "tags": [
  5113. "定制【海商报业】"
  5114. ],
  5115. "summary": "查询省市信息(不包括区)",
  5116. "parameters": [
  5117. {
  5118. "type": "integer",
  5119. "description": "省ID",
  5120. "name": "provinceID",
  5121. "in": "query"
  5122. }
  5123. ],
  5124. "responses": {
  5125. "200": {
  5126. "description": "OK",
  5127. "schema": {
  5128. "$ref": "#/definitions/hsby.QueryProvincesAndCitiesRsp"
  5129. }
  5130. },
  5131. "500": {
  5132. "description": "Internal Server Error",
  5133. "schema": {
  5134. "$ref": "#/definitions/app.Response"
  5135. }
  5136. }
  5137. }
  5138. }
  5139. },
  5140. "/HSBY/SetHsbyMyPackagesStatus": {
  5141. "post": {
  5142. "security": [
  5143. {
  5144. "ApiKeyAuth": []
  5145. }
  5146. ],
  5147. "produces": [
  5148. "application/json"
  5149. ],
  5150. "tags": [
  5151. "定制【海商报业】"
  5152. ],
  5153. "summary": "设置我的包裹已收货状态",
  5154. "parameters": [
  5155. {
  5156. "type": "string",
  5157. "description": "提货单号",
  5158. "name": "takeOrderID",
  5159. "in": "query",
  5160. "required": true
  5161. },
  5162. {
  5163. "type": "integer",
  5164. "description": "资金账号",
  5165. "name": "accountID",
  5166. "in": "query",
  5167. "required": true
  5168. }
  5169. ],
  5170. "responses": {
  5171. "200": {
  5172. "description": "OK",
  5173. "schema": {
  5174. "$ref": "#/definitions/app.Response"
  5175. }
  5176. },
  5177. "500": {
  5178. "description": "Internal Server Error",
  5179. "schema": {
  5180. "$ref": "#/definitions/app.Response"
  5181. }
  5182. }
  5183. }
  5184. }
  5185. },
  5186. "/Market/QueryGoodsesByLoginID": {
  5187. "get": {
  5188. "security": [
  5189. {
  5190. "ApiKeyAuth": []
  5191. }
  5192. ],
  5193. "produces": [
  5194. "application/json"
  5195. ],
  5196. "tags": [
  5197. "通用市场"
  5198. ],
  5199. "summary": "获取登录账号有权限的商品信息",
  5200. "parameters": [
  5201. {
  5202. "type": "integer",
  5203. "description": "登录账号",
  5204. "name": "loginID",
  5205. "in": "query",
  5206. "required": true
  5207. },
  5208. {
  5209. "type": "string",
  5210. "description": "市场ID列表,格式:1,2,3",
  5211. "name": "marketIDs",
  5212. "in": "query"
  5213. }
  5214. ],
  5215. "responses": {
  5216. "200": {
  5217. "description": "OK",
  5218. "schema": {
  5219. "$ref": "#/definitions/models.Goods"
  5220. }
  5221. },
  5222. "500": {
  5223. "description": "Internal Server Error",
  5224. "schema": {
  5225. "$ref": "#/definitions/app.Response"
  5226. }
  5227. }
  5228. }
  5229. }
  5230. },
  5231. "/Market/QueryMarketRun": {
  5232. "get": {
  5233. "security": [
  5234. {
  5235. "ApiKeyAuth": []
  5236. }
  5237. ],
  5238. "produces": [
  5239. "application/json"
  5240. ],
  5241. "tags": [
  5242. "通用市场"
  5243. ],
  5244. "summary": "查询市场运行信息",
  5245. "parameters": [
  5246. {
  5247. "type": "integer",
  5248. "description": "市场ID,不传返回所有",
  5249. "name": "marketID",
  5250. "in": "query"
  5251. }
  5252. ],
  5253. "responses": {
  5254. "200": {
  5255. "description": "OK",
  5256. "schema": {
  5257. "$ref": "#/definitions/models.Marketrun"
  5258. }
  5259. },
  5260. "500": {
  5261. "description": "Internal Server Error",
  5262. "schema": {
  5263. "$ref": "#/definitions/app.Response"
  5264. }
  5265. }
  5266. }
  5267. }
  5268. },
  5269. "/Market/QueryMarketsByLoginID": {
  5270. "get": {
  5271. "security": [
  5272. {
  5273. "ApiKeyAuth": []
  5274. }
  5275. ],
  5276. "produces": [
  5277. "application/json"
  5278. ],
  5279. "tags": [
  5280. "通用市场"
  5281. ],
  5282. "summary": "获取登录账号有权限的市场信息",
  5283. "parameters": [
  5284. {
  5285. "type": "integer",
  5286. "description": "登录账号",
  5287. "name": "loginID",
  5288. "in": "query",
  5289. "required": true
  5290. }
  5291. ],
  5292. "responses": {
  5293. "200": {
  5294. "description": "OK",
  5295. "schema": {
  5296. "$ref": "#/definitions/models.Market"
  5297. }
  5298. },
  5299. "500": {
  5300. "description": "Internal Server Error",
  5301. "schema": {
  5302. "$ref": "#/definitions/app.Response"
  5303. }
  5304. }
  5305. }
  5306. }
  5307. },
  5308. "/Order/QueryHisTradeDetail": {
  5309. "get": {
  5310. "security": [
  5311. {
  5312. "ApiKeyAuth": []
  5313. }
  5314. ],
  5315. "produces": [
  5316. "application/json"
  5317. ],
  5318. "tags": [
  5319. "通用单据"
  5320. ],
  5321. "summary": "历史成交单查询(合约市场)",
  5322. "parameters": [
  5323. {
  5324. "type": "string",
  5325. "description": "资金账户 - 格式:1,2,3",
  5326. "name": "accountID",
  5327. "in": "query",
  5328. "required": true
  5329. },
  5330. {
  5331. "type": "integer",
  5332. "description": "成交单号",
  5333. "name": "tradeID",
  5334. "in": "query"
  5335. },
  5336. {
  5337. "type": "integer",
  5338. "description": "委托单号",
  5339. "name": "orderID",
  5340. "in": "query"
  5341. },
  5342. {
  5343. "type": "string",
  5344. "description": "交易模式 - 格式:1,2,3",
  5345. "name": "tradeMode",
  5346. "in": "query"
  5347. },
  5348. {
  5349. "type": "integer",
  5350. "description": "委托单据类型",
  5351. "name": "buildType",
  5352. "in": "query"
  5353. },
  5354. {
  5355. "type": "string",
  5356. "description": "成交类别 - 格式:1,2,3",
  5357. "name": "tradeType",
  5358. "in": "query"
  5359. },
  5360. {
  5361. "type": "string",
  5362. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  5363. "name": "startDate",
  5364. "in": "query"
  5365. },
  5366. {
  5367. "type": "string",
  5368. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  5369. "name": "endDate",
  5370. "in": "query"
  5371. }
  5372. ],
  5373. "responses": {
  5374. "200": {
  5375. "description": "OK",
  5376. "schema": {
  5377. "$ref": "#/definitions/order.QueryHisTradeDetailRsp"
  5378. }
  5379. },
  5380. "500": {
  5381. "description": "Internal Server Error",
  5382. "schema": {
  5383. "$ref": "#/definitions/app.Response"
  5384. }
  5385. }
  5386. }
  5387. }
  5388. },
  5389. "/Order/QueryHisTradeOrderDetail": {
  5390. "get": {
  5391. "security": [
  5392. {
  5393. "ApiKeyAuth": []
  5394. }
  5395. ],
  5396. "produces": [
  5397. "application/json"
  5398. ],
  5399. "tags": [
  5400. "通用单据"
  5401. ],
  5402. "summary": "历史委托单查询请求(合约市场)",
  5403. "parameters": [
  5404. {
  5405. "type": "string",
  5406. "description": "资金账户 - 格式:1,2,3",
  5407. "name": "accountID",
  5408. "in": "query",
  5409. "required": true
  5410. },
  5411. {
  5412. "type": "string",
  5413. "description": "交易模式 - 格式:1,2,3",
  5414. "name": "tradeMode",
  5415. "in": "query"
  5416. },
  5417. {
  5418. "type": "string",
  5419. "description": "委托状态 - 格式:1,2,3",
  5420. "name": "orderStatus",
  5421. "in": "query"
  5422. },
  5423. {
  5424. "type": "integer",
  5425. "description": "委托单号",
  5426. "name": "orderID",
  5427. "in": "query"
  5428. },
  5429. {
  5430. "type": "string",
  5431. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  5432. "name": "startDate",
  5433. "in": "query"
  5434. },
  5435. {
  5436. "type": "string",
  5437. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  5438. "name": "endDate",
  5439. "in": "query"
  5440. }
  5441. ],
  5442. "responses": {
  5443. "200": {
  5444. "description": "OK",
  5445. "schema": {
  5446. "$ref": "#/definitions/order.QueryHisTradeOrderDetailRsp"
  5447. }
  5448. },
  5449. "500": {
  5450. "description": "Internal Server Error",
  5451. "schema": {
  5452. "$ref": "#/definitions/app.Response"
  5453. }
  5454. }
  5455. }
  5456. }
  5457. },
  5458. "/Order/QueryTradeDetail": {
  5459. "get": {
  5460. "security": [
  5461. {
  5462. "ApiKeyAuth": []
  5463. }
  5464. ],
  5465. "produces": [
  5466. "application/json"
  5467. ],
  5468. "tags": [
  5469. "通用单据"
  5470. ],
  5471. "summary": "成交单查询(合约市场)",
  5472. "parameters": [
  5473. {
  5474. "type": "string",
  5475. "description": "资金账户 - 格式:1,2,3",
  5476. "name": "accountID",
  5477. "in": "query",
  5478. "required": true
  5479. },
  5480. {
  5481. "type": "integer",
  5482. "description": "成交单号",
  5483. "name": "tradeID",
  5484. "in": "query"
  5485. },
  5486. {
  5487. "type": "integer",
  5488. "description": "委托单号",
  5489. "name": "orderID",
  5490. "in": "query"
  5491. },
  5492. {
  5493. "type": "string",
  5494. "description": "交易模式 - 格式:1,2,3",
  5495. "name": "tradeMode",
  5496. "in": "query"
  5497. },
  5498. {
  5499. "type": "integer",
  5500. "description": "委托单据类型",
  5501. "name": "buildType",
  5502. "in": "query"
  5503. },
  5504. {
  5505. "type": "string",
  5506. "description": "成交类别 - 格式:1,2,3",
  5507. "name": "tradeType",
  5508. "in": "query"
  5509. }
  5510. ],
  5511. "responses": {
  5512. "200": {
  5513. "description": "OK",
  5514. "schema": {
  5515. "$ref": "#/definitions/order.QueryTradeDetailRsp"
  5516. }
  5517. },
  5518. "500": {
  5519. "description": "Internal Server Error",
  5520. "schema": {
  5521. "$ref": "#/definitions/app.Response"
  5522. }
  5523. }
  5524. }
  5525. }
  5526. },
  5527. "/Order/QueryTradeOrderDetail": {
  5528. "get": {
  5529. "security": [
  5530. {
  5531. "ApiKeyAuth": []
  5532. }
  5533. ],
  5534. "produces": [
  5535. "application/json"
  5536. ],
  5537. "tags": [
  5538. "通用单据"
  5539. ],
  5540. "summary": "委托单查询请求(合约市场)",
  5541. "parameters": [
  5542. {
  5543. "type": "string",
  5544. "description": "资金账户 - 格式:1,2,3",
  5545. "name": "accountID",
  5546. "in": "query",
  5547. "required": true
  5548. },
  5549. {
  5550. "type": "string",
  5551. "description": "交易模式 - 格式:1,2,3",
  5552. "name": "tradeMode",
  5553. "in": "query"
  5554. },
  5555. {
  5556. "type": "string",
  5557. "description": "委托状态 - 格式:1,2,3",
  5558. "name": "orderStatus",
  5559. "in": "query"
  5560. },
  5561. {
  5562. "type": "integer",
  5563. "description": "委托单号",
  5564. "name": "orderID",
  5565. "in": "query"
  5566. }
  5567. ],
  5568. "responses": {
  5569. "200": {
  5570. "description": "OK",
  5571. "schema": {
  5572. "$ref": "#/definitions/order.QueryTradeOrderDetailRsp"
  5573. }
  5574. },
  5575. "500": {
  5576. "description": "Internal Server Error",
  5577. "schema": {
  5578. "$ref": "#/definitions/app.Response"
  5579. }
  5580. }
  5581. }
  5582. }
  5583. },
  5584. "/Order/QueryTradePosition": {
  5585. "get": {
  5586. "security": [
  5587. {
  5588. "ApiKeyAuth": []
  5589. }
  5590. ],
  5591. "produces": [
  5592. "application/json"
  5593. ],
  5594. "tags": [
  5595. "通用单据"
  5596. ],
  5597. "summary": "持仓汇总查询(合约市场)",
  5598. "parameters": [
  5599. {
  5600. "type": "string",
  5601. "description": "资金账户 - 格式:1,2,3",
  5602. "name": "accountID",
  5603. "in": "query",
  5604. "required": true
  5605. },
  5606. {
  5607. "type": "string",
  5608. "description": "交易模式 - 格式:1,2,3",
  5609. "name": "tradeMode",
  5610. "in": "query"
  5611. }
  5612. ],
  5613. "responses": {
  5614. "200": {
  5615. "description": "OK",
  5616. "schema": {
  5617. "$ref": "#/definitions/order.QueryTradePositionRsp"
  5618. }
  5619. },
  5620. "500": {
  5621. "description": "Internal Server Error",
  5622. "schema": {
  5623. "$ref": "#/definitions/app.Response"
  5624. }
  5625. }
  5626. }
  5627. }
  5628. },
  5629. "/Quote/QueryHistoryDatas": {
  5630. "get": {
  5631. "security": [
  5632. {
  5633. "ApiKeyAuth": []
  5634. }
  5635. ],
  5636. "produces": [
  5637. "application/json"
  5638. ],
  5639. "tags": [
  5640. "行情服务"
  5641. ],
  5642. "summary": "查询行情历史数据",
  5643. "parameters": [
  5644. {
  5645. "type": "integer",
  5646. "description": "周期类型, 0-秒 1: 1分钟 2: 5分钟 3: 30分钟 4: 60分钟 120: 2小时 240: 4小时 11: 日线",
  5647. "name": "cycleType",
  5648. "in": "query",
  5649. "required": true
  5650. },
  5651. {
  5652. "type": "string",
  5653. "description": "商品代码",
  5654. "name": "goodsCode",
  5655. "in": "query",
  5656. "required": true
  5657. },
  5658. {
  5659. "type": "string",
  5660. "description": "开始时间,格式:yyyy-MM-dd HH:mm:ss",
  5661. "name": "startTime",
  5662. "in": "query"
  5663. },
  5664. {
  5665. "type": "string",
  5666. "description": "结束时间,格式:yyyy-MM-dd HH:mm:ss",
  5667. "name": "endTime",
  5668. "in": "query"
  5669. },
  5670. {
  5671. "type": "integer",
  5672. "description": "条数",
  5673. "name": "count",
  5674. "in": "query"
  5675. },
  5676. {
  5677. "type": "boolean",
  5678. "description": "是否按时间顺序排序(默认为时间倒序排序)",
  5679. "name": "isAsc",
  5680. "in": "query"
  5681. }
  5682. ],
  5683. "responses": {
  5684. "200": {
  5685. "description": "OK",
  5686. "schema": {
  5687. "$ref": "#/definitions/quote.HistoryData"
  5688. }
  5689. },
  5690. "500": {
  5691. "description": "Internal Server Error",
  5692. "schema": {
  5693. "$ref": "#/definitions/app.Response"
  5694. }
  5695. }
  5696. }
  5697. }
  5698. },
  5699. "/Quote/QueryHistoryTikDatas": {
  5700. "get": {
  5701. "security": [
  5702. {
  5703. "ApiKeyAuth": []
  5704. }
  5705. ],
  5706. "produces": [
  5707. "application/json"
  5708. ],
  5709. "tags": [
  5710. "行情服务"
  5711. ],
  5712. "summary": "查询行情Tik数据",
  5713. "parameters": [
  5714. {
  5715. "type": "string",
  5716. "description": "商品代码",
  5717. "name": "goodsCode",
  5718. "in": "query",
  5719. "required": true
  5720. },
  5721. {
  5722. "type": "string",
  5723. "description": "开始时间,格式:yyyy-MM-dd HH:mm:ss",
  5724. "name": "startTime",
  5725. "in": "query"
  5726. },
  5727. {
  5728. "type": "string",
  5729. "description": "结束时间,格式:yyyy-MM-dd HH:mm:ss",
  5730. "name": "endTime",
  5731. "in": "query"
  5732. },
  5733. {
  5734. "type": "integer",
  5735. "description": "条数",
  5736. "name": "count",
  5737. "in": "query"
  5738. },
  5739. {
  5740. "type": "boolean",
  5741. "description": "是否按时间顺序排序(默认为时间倒序排序)",
  5742. "name": "isAsc",
  5743. "in": "query"
  5744. }
  5745. ],
  5746. "responses": {
  5747. "200": {
  5748. "description": "OK",
  5749. "schema": {
  5750. "$ref": "#/definitions/quote.HistoryTikData"
  5751. }
  5752. },
  5753. "500": {
  5754. "description": "Internal Server Error",
  5755. "schema": {
  5756. "$ref": "#/definitions/app.Response"
  5757. }
  5758. }
  5759. }
  5760. }
  5761. },
  5762. "/Quote/QueryQuoteDay": {
  5763. "get": {
  5764. "security": [
  5765. {
  5766. "ApiKeyAuth": []
  5767. }
  5768. ],
  5769. "produces": [
  5770. "application/json"
  5771. ],
  5772. "tags": [
  5773. "行情服务"
  5774. ],
  5775. "summary": "获取商品盘面信息",
  5776. "parameters": [
  5777. {
  5778. "type": "string",
  5779. "description": "商品代码列表,格式:CU2102,CU2103,AL2107",
  5780. "name": "goodsCodes",
  5781. "in": "query",
  5782. "required": true
  5783. }
  5784. ],
  5785. "responses": {
  5786. "200": {
  5787. "description": "OK",
  5788. "schema": {
  5789. "$ref": "#/definitions/quote.QueryQuoteDayRsp"
  5790. }
  5791. },
  5792. "500": {
  5793. "description": "Internal Server Error",
  5794. "schema": {
  5795. "$ref": "#/definitions/app.Response"
  5796. }
  5797. }
  5798. }
  5799. }
  5800. },
  5801. "/Quote/QueryTSData": {
  5802. "get": {
  5803. "security": [
  5804. {
  5805. "ApiKeyAuth": []
  5806. }
  5807. ],
  5808. "produces": [
  5809. "application/json"
  5810. ],
  5811. "tags": [
  5812. "行情服务"
  5813. ],
  5814. "summary": "分时图数据查询",
  5815. "parameters": [
  5816. {
  5817. "type": "string",
  5818. "description": "商品代码",
  5819. "name": "goodsCode",
  5820. "in": "query",
  5821. "required": true
  5822. }
  5823. ],
  5824. "responses": {
  5825. "200": {
  5826. "description": "OK",
  5827. "schema": {
  5828. "$ref": "#/definitions/quote.QueryTSDataRsp"
  5829. }
  5830. },
  5831. "500": {
  5832. "description": "Internal Server Error",
  5833. "schema": {
  5834. "$ref": "#/definitions/app.Response"
  5835. }
  5836. }
  5837. }
  5838. }
  5839. },
  5840. "/SZDZ/QueryConvertConfig": {
  5841. "get": {
  5842. "security": [
  5843. {
  5844. "ApiKeyAuth": []
  5845. }
  5846. ],
  5847. "produces": [
  5848. "application/json"
  5849. ],
  5850. "tags": [
  5851. "定制【尚志大宗】"
  5852. ],
  5853. "summary": "查询交易系统转换设置",
  5854. "parameters": [
  5855. {
  5856. "type": "integer",
  5857. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)",
  5858. "name": "convertType",
  5859. "in": "query"
  5860. },
  5861. {
  5862. "type": "string",
  5863. "description": "外部商品代码[JD\\PD]",
  5864. "name": "outerGoodsCode",
  5865. "in": "query"
  5866. },
  5867. {
  5868. "type": "string",
  5869. "description": "内部商品ID列表[交易],格式:1,2,3",
  5870. "name": "innerGoodsIDs",
  5871. "in": "query"
  5872. }
  5873. ],
  5874. "responses": {
  5875. "200": {
  5876. "description": "OK",
  5877. "schema": {
  5878. "$ref": "#/definitions/models.Szdz3convertconfig"
  5879. }
  5880. },
  5881. "500": {
  5882. "description": "Internal Server Error",
  5883. "schema": {
  5884. "$ref": "#/definitions/app.Response"
  5885. }
  5886. }
  5887. }
  5888. }
  5889. },
  5890. "/SZDZ/QueryConvertLog": {
  5891. "get": {
  5892. "security": [
  5893. {
  5894. "ApiKeyAuth": []
  5895. }
  5896. ],
  5897. "produces": [
  5898. "application/json"
  5899. ],
  5900. "tags": [
  5901. "定制【尚志大宗】"
  5902. ],
  5903. "summary": "交易系统转换流水查询",
  5904. "parameters": [
  5905. {
  5906. "type": "string",
  5907. "description": "资金账户 - 格式:1,2,3",
  5908. "name": "accountID",
  5909. "in": "query",
  5910. "required": true
  5911. },
  5912. {
  5913. "type": "string",
  5914. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  5915. "name": "startDate",
  5916. "in": "query"
  5917. },
  5918. {
  5919. "type": "string",
  5920. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  5921. "name": "endDate",
  5922. "in": "query"
  5923. }
  5924. ],
  5925. "responses": {
  5926. "200": {
  5927. "description": "OK",
  5928. "schema": {
  5929. "$ref": "#/definitions/szdz.QueryConvertLogRsp"
  5930. }
  5931. },
  5932. "500": {
  5933. "description": "Internal Server Error",
  5934. "schema": {
  5935. "$ref": "#/definitions/app.Response"
  5936. }
  5937. }
  5938. }
  5939. }
  5940. },
  5941. "/SZDZ/QueryGoodsPickup": {
  5942. "get": {
  5943. "security": [
  5944. {
  5945. "ApiKeyAuth": []
  5946. }
  5947. ],
  5948. "produces": [
  5949. "application/json"
  5950. ],
  5951. "tags": [
  5952. "定制【尚志大宗】"
  5953. ],
  5954. "summary": "商品提货单查询",
  5955. "parameters": [
  5956. {
  5957. "type": "string",
  5958. "description": "资金账户 - 格式:1,2,3",
  5959. "name": "accountID",
  5960. "in": "query",
  5961. "required": true
  5962. },
  5963. {
  5964. "type": "integer",
  5965. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  5966. "name": "takeOrderStatus",
  5967. "in": "query"
  5968. }
  5969. ],
  5970. "responses": {
  5971. "200": {
  5972. "description": "OK",
  5973. "schema": {
  5974. "$ref": "#/definitions/szdz.QueryGoodsPickupRsp"
  5975. }
  5976. },
  5977. "500": {
  5978. "description": "Internal Server Error",
  5979. "schema": {
  5980. "$ref": "#/definitions/app.Response"
  5981. }
  5982. }
  5983. }
  5984. }
  5985. },
  5986. "/SZDZ/QueryRecieptOrder": {
  5987. "get": {
  5988. "security": [
  5989. {
  5990. "ApiKeyAuth": []
  5991. }
  5992. ],
  5993. "description": "说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算",
  5994. "produces": [
  5995. "application/json"
  5996. ],
  5997. "tags": [
  5998. "定制【尚志大宗】"
  5999. ],
  6000. "summary": "点选挂牌委托单据查询(摘牌大厅)",
  6001. "parameters": [
  6002. {
  6003. "type": "integer",
  6004. "description": "页码",
  6005. "name": "page",
  6006. "in": "query"
  6007. },
  6008. {
  6009. "type": "integer",
  6010. "description": "每页条数",
  6011. "name": "pagesize",
  6012. "in": "query"
  6013. },
  6014. {
  6015. "type": "integer",
  6016. "description": "商品ID",
  6017. "name": "goodsID",
  6018. "in": "query",
  6019. "required": true
  6020. },
  6021. {
  6022. "type": "string",
  6023. "description": "所属账户名称",
  6024. "name": "accountName",
  6025. "in": "query"
  6026. },
  6027. {
  6028. "type": "integer",
  6029. "description": "市场ID",
  6030. "name": "marketID",
  6031. "in": "query"
  6032. },
  6033. {
  6034. "type": "integer",
  6035. "description": "方向 - 0:买 1:卖",
  6036. "name": "buyorsell",
  6037. "in": "query",
  6038. "required": true
  6039. }
  6040. ],
  6041. "responses": {
  6042. "200": {
  6043. "description": "OK",
  6044. "schema": {
  6045. "$ref": "#/definitions/szdz.QueryRecieptOrderRsp"
  6046. }
  6047. },
  6048. "500": {
  6049. "description": "Internal Server Error",
  6050. "schema": {
  6051. "$ref": "#/definitions/app.Response"
  6052. }
  6053. }
  6054. }
  6055. }
  6056. },
  6057. "/SZDZ/QuerySZDZTradePosition": {
  6058. "get": {
  6059. "security": [
  6060. {
  6061. "ApiKeyAuth": []
  6062. }
  6063. ],
  6064. "produces": [
  6065. "application/json"
  6066. ],
  6067. "tags": [
  6068. "定制【尚志大宗】"
  6069. ],
  6070. "summary": "持仓汇总查询(尚志大宗)",
  6071. "parameters": [
  6072. {
  6073. "type": "integer",
  6074. "description": "资金账户",
  6075. "name": "accountID",
  6076. "in": "query",
  6077. "required": true
  6078. }
  6079. ],
  6080. "responses": {
  6081. "200": {
  6082. "description": "OK",
  6083. "schema": {
  6084. "$ref": "#/definitions/szdz.QuerySZDZTradePositionRsp"
  6085. }
  6086. },
  6087. "500": {
  6088. "description": "Internal Server Error",
  6089. "schema": {
  6090. "$ref": "#/definitions/app.Response"
  6091. }
  6092. }
  6093. }
  6094. }
  6095. },
  6096. "/SZDZ/SearchWhite": {
  6097. "get": {
  6098. "security": [
  6099. {
  6100. "ApiKeyAuth": []
  6101. }
  6102. ],
  6103. "produces": [
  6104. "application/json"
  6105. ],
  6106. "tags": [
  6107. "定制【尚志大宗】"
  6108. ],
  6109. "summary": "搜索白名单",
  6110. "parameters": [
  6111. {
  6112. "type": "integer",
  6113. "description": "用户ID",
  6114. "name": "userID",
  6115. "in": "query",
  6116. "required": true
  6117. }
  6118. ],
  6119. "responses": {
  6120. "200": {
  6121. "description": "OK",
  6122. "schema": {
  6123. "$ref": "#/definitions/models.Szdz3searchwhitelist"
  6124. }
  6125. },
  6126. "500": {
  6127. "description": "Internal Server Error",
  6128. "schema": {
  6129. "$ref": "#/definitions/app.Response"
  6130. }
  6131. }
  6132. }
  6133. }
  6134. },
  6135. "/Search/SearchGoodses": {
  6136. "get": {
  6137. "description": "说明:使用检索内容模糊匹配商品代码和商品名称",
  6138. "produces": [
  6139. "application/json"
  6140. ],
  6141. "tags": [
  6142. "检索服务"
  6143. ],
  6144. "summary": "检索商品信息",
  6145. "parameters": [
  6146. {
  6147. "type": "string",
  6148. "description": "检索内容",
  6149. "name": "content",
  6150. "in": "query",
  6151. "required": true
  6152. },
  6153. {
  6154. "type": "string",
  6155. "description": "交易模式,格式:1,2,3",
  6156. "name": "tradeModes",
  6157. "in": "query"
  6158. }
  6159. ],
  6160. "responses": {
  6161. "200": {
  6162. "description": "OK",
  6163. "schema": {
  6164. "$ref": "#/definitions/models.SearchGoods"
  6165. }
  6166. },
  6167. "500": {
  6168. "description": "Internal Server Error",
  6169. "schema": {
  6170. "$ref": "#/definitions/app.Response"
  6171. }
  6172. }
  6173. }
  6174. }
  6175. },
  6176. "/TaAccount/GetTaAccounts": {
  6177. "get": {
  6178. "security": [
  6179. {
  6180. "ApiKeyAuth": []
  6181. }
  6182. ],
  6183. "produces": [
  6184. "application/json"
  6185. ],
  6186. "tags": [
  6187. "资金账户"
  6188. ],
  6189. "summary": "获取资金账户信息",
  6190. "parameters": [
  6191. {
  6192. "type": "integer",
  6193. "description": "登录账户",
  6194. "name": "loginID",
  6195. "in": "query",
  6196. "required": true
  6197. },
  6198. {
  6199. "type": "integer",
  6200. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  6201. "name": "taAccountType",
  6202. "in": "query"
  6203. }
  6204. ],
  6205. "responses": {
  6206. "200": {
  6207. "description": "OK",
  6208. "schema": {
  6209. "$ref": "#/definitions/models.Taaccount"
  6210. }
  6211. },
  6212. "500": {
  6213. "description": "Internal Server Error",
  6214. "schema": {
  6215. "$ref": "#/definitions/app.Response"
  6216. }
  6217. }
  6218. }
  6219. }
  6220. },
  6221. "/TaAccount/QueryAmountLog": {
  6222. "get": {
  6223. "security": [
  6224. {
  6225. "ApiKeyAuth": []
  6226. }
  6227. ],
  6228. "produces": [
  6229. "application/json"
  6230. ],
  6231. "tags": [
  6232. "资金账户"
  6233. ],
  6234. "summary": "资金流水查询(当前)",
  6235. "parameters": [
  6236. {
  6237. "type": "integer",
  6238. "description": "页码",
  6239. "name": "page",
  6240. "in": "query"
  6241. },
  6242. {
  6243. "type": "integer",
  6244. "description": "每页条数",
  6245. "name": "pagesize",
  6246. "in": "query"
  6247. },
  6248. {
  6249. "type": "string",
  6250. "description": "资金账户 - 格式:1,2,3",
  6251. "name": "accountID",
  6252. "in": "query",
  6253. "required": true
  6254. },
  6255. {
  6256. "type": "string",
  6257. "description": "资金操作类型 - 格式:1,2,3",
  6258. "name": "OperateType",
  6259. "in": "query"
  6260. }
  6261. ],
  6262. "responses": {
  6263. "200": {
  6264. "description": "OK",
  6265. "schema": {
  6266. "$ref": "#/definitions/taaccount.QueryAmountLogRsp"
  6267. }
  6268. },
  6269. "500": {
  6270. "description": "Internal Server Error",
  6271. "schema": {
  6272. "$ref": "#/definitions/app.Response"
  6273. }
  6274. }
  6275. }
  6276. }
  6277. },
  6278. "/TaAccount/QueryHisAmountLog": {
  6279. "get": {
  6280. "security": [
  6281. {
  6282. "ApiKeyAuth": []
  6283. }
  6284. ],
  6285. "produces": [
  6286. "application/json"
  6287. ],
  6288. "tags": [
  6289. "资金账户"
  6290. ],
  6291. "summary": "资金流水查询(历史)",
  6292. "parameters": [
  6293. {
  6294. "type": "integer",
  6295. "description": "页码",
  6296. "name": "page",
  6297. "in": "query"
  6298. },
  6299. {
  6300. "type": "integer",
  6301. "description": "每页条数",
  6302. "name": "pagesize",
  6303. "in": "query"
  6304. },
  6305. {
  6306. "type": "string",
  6307. "description": "资金账户 - 格式:1,2,3",
  6308. "name": "accountID",
  6309. "in": "query",
  6310. "required": true
  6311. },
  6312. {
  6313. "type": "string",
  6314. "description": "资金操作类型 - 格式:1,2,3",
  6315. "name": "OperateType",
  6316. "in": "query"
  6317. },
  6318. {
  6319. "type": "string",
  6320. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  6321. "name": "startDate",
  6322. "in": "query"
  6323. },
  6324. {
  6325. "type": "string",
  6326. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  6327. "name": "endDate",
  6328. "in": "query"
  6329. }
  6330. ],
  6331. "responses": {
  6332. "200": {
  6333. "description": "OK",
  6334. "schema": {
  6335. "$ref": "#/definitions/taaccount.QueryHisAmountLogRsp"
  6336. }
  6337. },
  6338. "500": {
  6339. "description": "Internal Server Error",
  6340. "schema": {
  6341. "$ref": "#/definitions/app.Response"
  6342. }
  6343. }
  6344. }
  6345. }
  6346. },
  6347. "/Trade/QueryRecieptOrder": {
  6348. "get": {
  6349. "security": [
  6350. {
  6351. "ApiKeyAuth": []
  6352. }
  6353. ],
  6354. "description": "说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算",
  6355. "produces": [
  6356. "application/json"
  6357. ],
  6358. "tags": [
  6359. "通用交易"
  6360. ],
  6361. "summary": "点选挂牌委托单据查询(保证金摘牌大厅)",
  6362. "parameters": [
  6363. {
  6364. "type": "integer",
  6365. "description": "页码",
  6366. "name": "page",
  6367. "in": "query"
  6368. },
  6369. {
  6370. "type": "integer",
  6371. "description": "每页条数",
  6372. "name": "pagesize",
  6373. "in": "query"
  6374. },
  6375. {
  6376. "type": "integer",
  6377. "description": "商品ID",
  6378. "name": "goodsID",
  6379. "in": "query",
  6380. "required": true
  6381. },
  6382. {
  6383. "type": "string",
  6384. "description": "所属账户名称",
  6385. "name": "accountName",
  6386. "in": "query"
  6387. },
  6388. {
  6389. "type": "integer",
  6390. "description": "市场ID",
  6391. "name": "marketID",
  6392. "in": "query"
  6393. },
  6394. {
  6395. "type": "integer",
  6396. "description": "方向 - 0:买 1:卖",
  6397. "name": "buyorsell",
  6398. "in": "query",
  6399. "required": true
  6400. }
  6401. ],
  6402. "responses": {
  6403. "200": {
  6404. "description": "OK",
  6405. "schema": {
  6406. "$ref": "#/definitions/trade.QueryRecieptOrderRsp"
  6407. }
  6408. },
  6409. "500": {
  6410. "description": "Internal Server Error",
  6411. "schema": {
  6412. "$ref": "#/definitions/app.Response"
  6413. }
  6414. }
  6415. }
  6416. }
  6417. },
  6418. "/User/AddMessageBoard": {
  6419. "post": {
  6420. "security": [
  6421. {
  6422. "ApiKeyAuth": []
  6423. }
  6424. ],
  6425. "produces": [
  6426. "application/json"
  6427. ],
  6428. "tags": [
  6429. "用户信息"
  6430. ],
  6431. "summary": "添加用户留言板信息",
  6432. "parameters": [
  6433. {
  6434. "type": "integer",
  6435. "description": "用户ID",
  6436. "name": "userID",
  6437. "in": "query",
  6438. "required": true
  6439. },
  6440. {
  6441. "type": "string",
  6442. "description": "留言信息",
  6443. "name": "message",
  6444. "in": "query",
  6445. "required": true
  6446. },
  6447. {
  6448. "type": "string",
  6449. "description": "联系电话",
  6450. "name": "contactNum",
  6451. "in": "query",
  6452. "required": true
  6453. }
  6454. ],
  6455. "responses": {
  6456. "200": {
  6457. "description": "OK",
  6458. "schema": {
  6459. "$ref": "#/definitions/app.Response"
  6460. }
  6461. },
  6462. "500": {
  6463. "description": "Internal Server Error",
  6464. "schema": {
  6465. "$ref": "#/definitions/app.Response"
  6466. }
  6467. }
  6468. }
  6469. }
  6470. },
  6471. "/User/AddUserFavoriteGoods": {
  6472. "post": {
  6473. "security": [
  6474. {
  6475. "ApiKeyAuth": []
  6476. }
  6477. ],
  6478. "produces": [
  6479. "application/json"
  6480. ],
  6481. "tags": [
  6482. "用户信息"
  6483. ],
  6484. "summary": "添加用户商品收藏信息",
  6485. "parameters": [
  6486. {
  6487. "type": "integer",
  6488. "description": "用户ID",
  6489. "name": "userID",
  6490. "in": "query",
  6491. "required": true
  6492. },
  6493. {
  6494. "type": "integer",
  6495. "description": "商品ID",
  6496. "name": "goodsID",
  6497. "in": "query",
  6498. "required": true
  6499. }
  6500. ],
  6501. "responses": {
  6502. "200": {
  6503. "description": "OK",
  6504. "schema": {
  6505. "$ref": "#/definitions/app.Response"
  6506. }
  6507. },
  6508. "500": {
  6509. "description": "Internal Server Error",
  6510. "schema": {
  6511. "$ref": "#/definitions/app.Response"
  6512. }
  6513. }
  6514. }
  6515. }
  6516. },
  6517. "/User/GetLoginID": {
  6518. "get": {
  6519. "description": "UserName 可传入“登录账号”、“登录代码”和“手机号码”",
  6520. "produces": [
  6521. "application/json"
  6522. ],
  6523. "tags": [
  6524. "用户信息"
  6525. ],
  6526. "summary": "获取登录ID",
  6527. "parameters": [
  6528. {
  6529. "type": "string",
  6530. "description": "登录代码",
  6531. "name": "username",
  6532. "in": "query",
  6533. "required": true
  6534. }
  6535. ],
  6536. "responses": {
  6537. "200": {
  6538. "description": "OK",
  6539. "schema": {
  6540. "$ref": "#/definitions/app.Response"
  6541. }
  6542. },
  6543. "500": {
  6544. "description": "Internal Server Error",
  6545. "schema": {
  6546. "$ref": "#/definitions/app.Response"
  6547. }
  6548. }
  6549. }
  6550. }
  6551. },
  6552. "/User/GetUserAccount": {
  6553. "get": {
  6554. "security": [
  6555. {
  6556. "ApiKeyAuth": []
  6557. }
  6558. ],
  6559. "produces": [
  6560. "application/json"
  6561. ],
  6562. "tags": [
  6563. "用户信息"
  6564. ],
  6565. "summary": "获取用户账号信息",
  6566. "parameters": [
  6567. {
  6568. "type": "integer",
  6569. "description": "用户ID",
  6570. "name": "userID",
  6571. "in": "query",
  6572. "required": true
  6573. }
  6574. ],
  6575. "responses": {
  6576. "200": {
  6577. "description": "OK",
  6578. "schema": {
  6579. "$ref": "#/definitions/models.Useraccount"
  6580. }
  6581. },
  6582. "500": {
  6583. "description": "Internal Server Error",
  6584. "schema": {
  6585. "$ref": "#/definitions/app.Response"
  6586. }
  6587. }
  6588. }
  6589. }
  6590. },
  6591. "/User/GetUserAuthStatus": {
  6592. "get": {
  6593. "security": [
  6594. {
  6595. "ApiKeyAuth": []
  6596. }
  6597. ],
  6598. "produces": [
  6599. "application/json"
  6600. ],
  6601. "tags": [
  6602. "用户信息"
  6603. ],
  6604. "summary": "获取用户实名认证状态",
  6605. "parameters": [
  6606. {
  6607. "type": "integer",
  6608. "description": "用户ID",
  6609. "name": "userID",
  6610. "in": "query",
  6611. "required": true
  6612. }
  6613. ],
  6614. "responses": {
  6615. "200": {
  6616. "description": "OK",
  6617. "schema": {
  6618. "$ref": "#/definitions/app.Response"
  6619. }
  6620. },
  6621. "500": {
  6622. "description": "Internal Server Error",
  6623. "schema": {
  6624. "$ref": "#/definitions/app.Response"
  6625. }
  6626. }
  6627. }
  6628. }
  6629. },
  6630. "/User/LoginQuery": {
  6631. "get": {
  6632. "security": [
  6633. {
  6634. "ApiKeyAuth": []
  6635. }
  6636. ],
  6637. "produces": [
  6638. "application/json"
  6639. ],
  6640. "tags": [
  6641. "用户信息"
  6642. ],
  6643. "summary": "账户登录后信息查询",
  6644. "parameters": [
  6645. {
  6646. "type": "integer",
  6647. "description": "登录账号",
  6648. "name": "loginID",
  6649. "in": "query",
  6650. "required": true
  6651. }
  6652. ],
  6653. "responses": {
  6654. "200": {
  6655. "description": "OK",
  6656. "schema": {
  6657. "$ref": "#/definitions/user.LoginQueryRsp"
  6658. }
  6659. },
  6660. "500": {
  6661. "description": "Internal Server Error",
  6662. "schema": {
  6663. "$ref": "#/definitions/app.Response"
  6664. }
  6665. }
  6666. }
  6667. }
  6668. },
  6669. "/User/QueryMessageBoard": {
  6670. "get": {
  6671. "security": [
  6672. {
  6673. "ApiKeyAuth": []
  6674. }
  6675. ],
  6676. "produces": [
  6677. "application/json"
  6678. ],
  6679. "tags": [
  6680. "用户信息"
  6681. ],
  6682. "summary": "获取用户留言板信息",
  6683. "parameters": [
  6684. {
  6685. "type": "integer",
  6686. "description": "用户ID",
  6687. "name": "userID",
  6688. "in": "query",
  6689. "required": true
  6690. }
  6691. ],
  6692. "responses": {
  6693. "200": {
  6694. "description": "OK",
  6695. "schema": {
  6696. "$ref": "#/definitions/models.Messageboard"
  6697. }
  6698. },
  6699. "500": {
  6700. "description": "Internal Server Error",
  6701. "schema": {
  6702. "$ref": "#/definitions/app.Response"
  6703. }
  6704. }
  6705. }
  6706. }
  6707. },
  6708. "/User/QueryUserFavoriteGoodses": {
  6709. "get": {
  6710. "security": [
  6711. {
  6712. "ApiKeyAuth": []
  6713. }
  6714. ],
  6715. "produces": [
  6716. "application/json"
  6717. ],
  6718. "tags": [
  6719. "用户信息"
  6720. ],
  6721. "summary": "获取用户商品收藏信息",
  6722. "parameters": [
  6723. {
  6724. "type": "integer",
  6725. "description": "用户ID",
  6726. "name": "userID",
  6727. "in": "query",
  6728. "required": true
  6729. }
  6730. ],
  6731. "responses": {
  6732. "200": {
  6733. "description": "OK",
  6734. "schema": {
  6735. "$ref": "#/definitions/models.Userfavoritegoods"
  6736. }
  6737. },
  6738. "500": {
  6739. "description": "Internal Server Error",
  6740. "schema": {
  6741. "$ref": "#/definitions/app.Response"
  6742. }
  6743. }
  6744. }
  6745. }
  6746. },
  6747. "/User/QueryUserInfo": {
  6748. "get": {
  6749. "security": [
  6750. {
  6751. "ApiKeyAuth": []
  6752. }
  6753. ],
  6754. "produces": [
  6755. "application/json"
  6756. ],
  6757. "tags": [
  6758. "用户信息"
  6759. ],
  6760. "summary": "获取用户信息",
  6761. "parameters": [
  6762. {
  6763. "type": "integer",
  6764. "description": "用户ID",
  6765. "name": "userID",
  6766. "in": "query",
  6767. "required": true
  6768. },
  6769. {
  6770. "type": "boolean",
  6771. "description": "是否解密",
  6772. "name": "isDecrypt",
  6773. "in": "query"
  6774. }
  6775. ],
  6776. "responses": {
  6777. "200": {
  6778. "description": "OK",
  6779. "schema": {
  6780. "$ref": "#/definitions/models.Userinfo"
  6781. }
  6782. },
  6783. "500": {
  6784. "description": "Internal Server Error",
  6785. "schema": {
  6786. "$ref": "#/definitions/app.Response"
  6787. }
  6788. }
  6789. }
  6790. }
  6791. },
  6792. "/User/QueryUserReferNum": {
  6793. "get": {
  6794. "produces": [
  6795. "application/json"
  6796. ],
  6797. "tags": [
  6798. "用户信息"
  6799. ],
  6800. "summary": "获取用户邀请码",
  6801. "parameters": [
  6802. {
  6803. "type": "integer",
  6804. "description": "用户ID",
  6805. "name": "userID",
  6806. "in": "query",
  6807. "required": true
  6808. }
  6809. ],
  6810. "responses": {
  6811. "200": {
  6812. "description": "OK",
  6813. "schema": {
  6814. "$ref": "#/definitions/app.Response"
  6815. }
  6816. },
  6817. "500": {
  6818. "description": "Internal Server Error",
  6819. "schema": {
  6820. "$ref": "#/definitions/app.Response"
  6821. }
  6822. }
  6823. }
  6824. }
  6825. },
  6826. "/User/RemoveUserFavoriteGoods": {
  6827. "post": {
  6828. "security": [
  6829. {
  6830. "ApiKeyAuth": []
  6831. }
  6832. ],
  6833. "produces": [
  6834. "application/json"
  6835. ],
  6836. "tags": [
  6837. "用户信息"
  6838. ],
  6839. "summary": "移除用户商品收藏信息",
  6840. "parameters": [
  6841. {
  6842. "type": "integer",
  6843. "description": "用户ID",
  6844. "name": "userID",
  6845. "in": "query",
  6846. "required": true
  6847. },
  6848. {
  6849. "type": "integer",
  6850. "description": "商品ID",
  6851. "name": "goodsID",
  6852. "in": "query",
  6853. "required": true
  6854. }
  6855. ],
  6856. "responses": {
  6857. "200": {
  6858. "description": "OK",
  6859. "schema": {
  6860. "$ref": "#/definitions/app.Response"
  6861. }
  6862. },
  6863. "500": {
  6864. "description": "Internal Server Error",
  6865. "schema": {
  6866. "$ref": "#/definitions/app.Response"
  6867. }
  6868. }
  6869. }
  6870. }
  6871. },
  6872. "/User/UpdateUserAccountStatus": {
  6873. "post": {
  6874. "security": [
  6875. {
  6876. "ApiKeyAuth": []
  6877. }
  6878. ],
  6879. "produces": [
  6880. "application/json"
  6881. ],
  6882. "tags": [
  6883. "用户信息"
  6884. ],
  6885. "summary": "更新用户状态",
  6886. "parameters": [
  6887. {
  6888. "type": "integer",
  6889. "description": "用户ID",
  6890. "name": "userID",
  6891. "in": "query",
  6892. "required": true
  6893. },
  6894. {
  6895. "type": "integer",
  6896. "description": "账户状态 - 4:正常 6:注销(停用)",
  6897. "name": "accountStatus",
  6898. "in": "query",
  6899. "required": true
  6900. }
  6901. ],
  6902. "responses": {
  6903. "200": {
  6904. "description": "OK",
  6905. "schema": {
  6906. "$ref": "#/definitions/app.Response"
  6907. }
  6908. },
  6909. "500": {
  6910. "description": "Internal Server Error",
  6911. "schema": {
  6912. "$ref": "#/definitions/app.Response"
  6913. }
  6914. }
  6915. }
  6916. }
  6917. },
  6918. "/WR/GetWRCategoryInfo": {
  6919. "get": {
  6920. "produces": [
  6921. "application/json"
  6922. ],
  6923. "tags": [
  6924. "仓单服务"
  6925. ],
  6926. "summary": "获取现货分类信息",
  6927. "responses": {
  6928. "200": {
  6929. "description": "OK",
  6930. "schema": {
  6931. "$ref": "#/definitions/models.WRCategoryTree"
  6932. }
  6933. },
  6934. "500": {
  6935. "description": "Internal Server Error",
  6936. "schema": {
  6937. "$ref": "#/definitions/app.Response"
  6938. }
  6939. }
  6940. }
  6941. }
  6942. },
  6943. "/WRTrade/GetAllDeliveryGoods": {
  6944. "get": {
  6945. "security": [
  6946. {
  6947. "ApiKeyAuth": []
  6948. },
  6949. {
  6950. "ApiKeyAuth": []
  6951. }
  6952. ],
  6953. "produces": [
  6954. "application/json",
  6955. "application/json"
  6956. ],
  6957. "tags": [
  6958. "仓单贸易",
  6959. "仓单贸易"
  6960. ],
  6961. "summary": "获取带仓单分类的种类信息",
  6962. "responses": {
  6963. "200": {
  6964. "description": "OK",
  6965. "schema": {
  6966. "$ref": "#/definitions/app.Response"
  6967. }
  6968. },
  6969. "500": {
  6970. "description": "Internal Server Error",
  6971. "schema": {
  6972. "$ref": "#/definitions/app.Response"
  6973. }
  6974. }
  6975. }
  6976. }
  6977. }
  6978. },
  6979. "definitions": {
  6980. "app.Response": {
  6981. "type": "object",
  6982. "properties": {
  6983. "code": {
  6984. "type": "integer"
  6985. },
  6986. "data": {
  6987. "type": "object"
  6988. },
  6989. "msg": {
  6990. "type": "string"
  6991. },
  6992. "page": {
  6993. "description": "页码",
  6994. "type": "integer"
  6995. },
  6996. "pagesize": {
  6997. "description": "每页条数",
  6998. "type": "integer"
  6999. },
  7000. "total": {
  7001. "description": "总条数",
  7002. "type": "integer"
  7003. }
  7004. }
  7005. },
  7006. "common.QueryImageConfigsRsp": {
  7007. "type": "object",
  7008. "required": [
  7009. "configid"
  7010. ],
  7011. "properties": {
  7012. "areauserid": {
  7013. "description": "所属机构ID",
  7014. "type": "integer"
  7015. },
  7016. "configid": {
  7017. "description": "配置ID(SEQ_SZDZ2_IMAGECONFIG)",
  7018. "type": "integer"
  7019. },
  7020. "createdate": {
  7021. "description": "创建时间",
  7022. "type": "string"
  7023. },
  7024. "creatorid": {
  7025. "description": "创建人",
  7026. "type": "integer"
  7027. },
  7028. "imagepath": {
  7029. "description": "图片",
  7030. "type": "string"
  7031. },
  7032. "imagetype": {
  7033. "description": "类型 - 1:首页轮播(移动) 2:我的(移动)",
  7034. "type": "integer"
  7035. },
  7036. "isshow": {
  7037. "description": "是否展示 - 0:不展示 1:展示",
  7038. "type": "integer"
  7039. },
  7040. "marketid": {
  7041. "description": "市场ID",
  7042. "type": "integer"
  7043. },
  7044. "modifierid": {
  7045. "description": "操作人",
  7046. "type": "integer"
  7047. },
  7048. "sort": {
  7049. "description": "排序",
  7050. "type": "integer"
  7051. },
  7052. "title": {
  7053. "description": "标题",
  7054. "type": "string"
  7055. },
  7056. "trademode": {
  7057. "description": "交易模式",
  7058. "type": "integer"
  7059. },
  7060. "updatedate": {
  7061. "description": "修改时间",
  7062. "type": "string"
  7063. },
  7064. "url": {
  7065. "description": "链接(地址或商品ID)",
  7066. "type": "string"
  7067. },
  7068. "urltype": {
  7069. "description": "链接类型 - 1:直接地址 2:商品ID",
  7070. "type": "integer"
  7071. }
  7072. }
  7073. },
  7074. "common.QueryNoticeRsp": {
  7075. "type": "object",
  7076. "required": [
  7077. "autoid"
  7078. ],
  7079. "properties": {
  7080. "auditoruserid": {
  7081. "description": "审核人",
  7082. "type": "integer"
  7083. },
  7084. "auditremark": {
  7085. "description": "审核备注",
  7086. "type": "string"
  7087. },
  7088. "audittime": {
  7089. "description": "审核日期",
  7090. "type": "string"
  7091. },
  7092. "autoid": {
  7093. "description": "自增ID",
  7094. "type": "integer"
  7095. },
  7096. "content": {
  7097. "description": "内容",
  7098. "type": "string"
  7099. },
  7100. "createtime": {
  7101. "description": "创建时间",
  7102. "type": "string"
  7103. },
  7104. "creatorid": {
  7105. "description": "建仓人",
  7106. "type": "integer"
  7107. },
  7108. "endtime": {
  7109. "description": "结束时间",
  7110. "type": "string"
  7111. },
  7112. "istop": {
  7113. "description": "是否置顶 - 0:不置顶 1:置顶",
  7114. "type": "integer"
  7115. },
  7116. "msgiconurl": {
  7117. "description": "消息图标Url",
  7118. "type": "string"
  7119. },
  7120. "msgtype": {
  7121. "description": "消息类型 - 1:公告通知 2:系统消息 3:商品到期提货通知",
  7122. "type": "integer"
  7123. },
  7124. "publisher": {
  7125. "description": "消息发布者",
  7126. "type": "string"
  7127. },
  7128. "readed": {
  7129. "description": "是否已读",
  7130. "type": "boolean"
  7131. },
  7132. "scheduletime": {
  7133. "description": "计划发送时间",
  7134. "type": "string"
  7135. },
  7136. "sendtype": {
  7137. "description": "推送方式 - 1:全体广播 2:按会员广播 3:个人推送 4:按会员广播(仅会员)",
  7138. "type": "integer"
  7139. },
  7140. "sentstatus": {
  7141. "description": "推送状态 - 0:未推送 1:已推送 2:审核拒绝",
  7142. "type": "integer"
  7143. },
  7144. "title": {
  7145. "description": "标题",
  7146. "type": "string"
  7147. },
  7148. "userid": {
  7149. "description": "会员/投资者ID推送方式 为 个人时,填写投资者ID",
  7150. "type": "integer"
  7151. }
  7152. }
  7153. },
  7154. "common.QueryProvincesAndCitiesRsp": {
  7155. "type": "object",
  7156. "properties": {
  7157. "cities": {
  7158. "description": "市",
  7159. "type": "array",
  7160. "items": {
  7161. "$ref": "#/definitions/models.Division"
  7162. }
  7163. },
  7164. "province": {
  7165. "description": "省",
  7166. "$ref": "#/definitions/models.Division"
  7167. }
  7168. }
  7169. },
  7170. "common.QueryTableDefineRsp": {
  7171. "type": "object",
  7172. "required": [
  7173. "tablekey"
  7174. ],
  7175. "properties": {
  7176. "columns": {
  7177. "description": "列头信息数组",
  7178. "type": "array",
  7179. "items": {
  7180. "$ref": "#/definitions/models.Tablecolumnconfig"
  7181. }
  7182. },
  7183. "remark": {
  7184. "description": "Remark",
  7185. "type": "string"
  7186. },
  7187. "tabelmenu": {
  7188. "description": "列表菜单",
  7189. "type": "string"
  7190. },
  7191. "tablekey": {
  7192. "description": "列表Key",
  7193. "type": "string"
  7194. },
  7195. "tablename": {
  7196. "description": "列表名称",
  7197. "type": "string"
  7198. },
  7199. "tabletype": {
  7200. "description": "列表类型 - 1:管理端 2:终端",
  7201. "type": "integer"
  7202. }
  7203. }
  7204. },
  7205. "common.QueryTraderMenuRsp": {
  7206. "type": "object",
  7207. "properties": {
  7208. "OperationMenu": {
  7209. "description": "功能菜单",
  7210. "type": "array",
  7211. "items": {
  7212. "$ref": "#/definitions/models.OperationPrimaryMenu"
  7213. }
  7214. },
  7215. "QuoteMenu": {
  7216. "description": "报价牌分类菜单",
  7217. "type": "array",
  7218. "items": {
  7219. "$ref": "#/definitions/models.QuotePrimaryMenu"
  7220. }
  7221. }
  7222. }
  7223. },
  7224. "cptrade.Cptradepositioncancel": {
  7225. "type": "object",
  7226. "required": [
  7227. "cancelid"
  7228. ],
  7229. "properties": {
  7230. "accountid": {
  7231. "description": "申请人账户ID",
  7232. "type": "integer"
  7233. },
  7234. "applystatus": {
  7235. "description": "申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  7236. "type": "integer"
  7237. },
  7238. "applytime": {
  7239. "description": "申请时间",
  7240. "type": "string"
  7241. },
  7242. "cancelid": {
  7243. "description": "注销ID(SEQ_CPTRADE_POSITIONCANCEL)",
  7244. "type": "integer"
  7245. },
  7246. "cancelqty": {
  7247. "description": "注销数量",
  7248. "type": "integer"
  7249. },
  7250. "createtime": {
  7251. "description": "创建时间",
  7252. "type": "string"
  7253. },
  7254. "creatorid": {
  7255. "description": "创建人ID",
  7256. "type": "integer"
  7257. },
  7258. "creatorname": {
  7259. "description": "创建人",
  7260. "type": "string"
  7261. },
  7262. "goodscode": {
  7263. "description": "订单商品代码",
  7264. "type": "string"
  7265. },
  7266. "goodsid": {
  7267. "description": "商品ID",
  7268. "type": "integer"
  7269. },
  7270. "goodsname": {
  7271. "description": "订单商品名称",
  7272. "type": "string"
  7273. },
  7274. "goodunit": {
  7275. "description": "报价单位",
  7276. "type": "string"
  7277. },
  7278. "handlestatus": {
  7279. "description": "处理状态",
  7280. "type": "integer"
  7281. },
  7282. "marketid": {
  7283. "description": "市场ID",
  7284. "type": "integer"
  7285. },
  7286. "marketname": {
  7287. "description": "市场名称",
  7288. "type": "string"
  7289. },
  7290. "tradedate": {
  7291. "description": "交易日(yyyyMMdd)",
  7292. "type": "string"
  7293. },
  7294. "userid": {
  7295. "description": "申请人ID",
  7296. "type": "integer"
  7297. }
  7298. }
  7299. },
  7300. "cptrade.Cptradepresaleapply": {
  7301. "type": "object",
  7302. "required": [
  7303. "applyid"
  7304. ],
  7305. "properties": {
  7306. "accountid": {
  7307. "description": "申请人账户ID",
  7308. "type": "integer"
  7309. },
  7310. "applyid": {
  7311. "description": "申请ID(181+Unix秒时间戳(10位)+xxxxxx)",
  7312. "type": "integer"
  7313. },
  7314. "applyremark": {
  7315. "description": "申请备注",
  7316. "type": "string"
  7317. },
  7318. "applystatus": {
  7319. "description": "申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  7320. "type": "integer"
  7321. },
  7322. "applytime": {
  7323. "description": "申请时间",
  7324. "type": "string"
  7325. },
  7326. "attachmenturl": {
  7327. "description": "附件地址",
  7328. "type": "string"
  7329. },
  7330. "endtime": {
  7331. "description": "预售结束时间",
  7332. "type": "string"
  7333. },
  7334. "goodscode": {
  7335. "description": "商品代码",
  7336. "type": "string"
  7337. },
  7338. "goodsid": {
  7339. "description": "商品ID",
  7340. "type": "integer"
  7341. },
  7342. "goodsname": {
  7343. "description": "商品名称",
  7344. "type": "string"
  7345. },
  7346. "goodunit": {
  7347. "description": "报价单位",
  7348. "type": "string"
  7349. },
  7350. "handlestatus": {
  7351. "description": "处理状态",
  7352. "type": "integer"
  7353. },
  7354. "marketid": {
  7355. "description": "预售市场ID",
  7356. "type": "integer"
  7357. },
  7358. "marketname": {
  7359. "description": "预售市场名称",
  7360. "type": "string"
  7361. },
  7362. "presaleqty": {
  7363. "description": "预售数量",
  7364. "type": "integer"
  7365. },
  7366. "relatedgoodscode": {
  7367. "description": "关联交易合约代码",
  7368. "type": "string"
  7369. },
  7370. "relatedgoodsid": {
  7371. "description": "关联交易合约ID",
  7372. "type": "integer"
  7373. },
  7374. "relatedgoodsname": {
  7375. "description": "关联交易合约名称",
  7376. "type": "string"
  7377. },
  7378. "starttime": {
  7379. "description": "预售开始时间",
  7380. "type": "string"
  7381. },
  7382. "tradedate": {
  7383. "description": "交易日(yyyyMMdd)",
  7384. "type": "string"
  7385. },
  7386. "trademode": {
  7387. "description": "交易模式 - 16:挂牌点选 21:大宗竞拍",
  7388. "type": "integer"
  7389. },
  7390. "userid": {
  7391. "description": "申请人ID",
  7392. "type": "integer"
  7393. }
  7394. }
  7395. },
  7396. "cptrade.Cptradeusergoodsdata": {
  7397. "type": "object",
  7398. "required": [
  7399. "accountid",
  7400. "goodsid"
  7401. ],
  7402. "properties": {
  7403. "EnabledQty": {
  7404. "description": "可用量",
  7405. "type": "integer"
  7406. },
  7407. "GoodsCode": {
  7408. "description": "订单商品代码",
  7409. "type": "string"
  7410. },
  7411. "GoodsName": {
  7412. "description": "订单商品名称",
  7413. "type": "string"
  7414. },
  7415. "WRStandardCode": {
  7416. "description": "仓单标准代码",
  7417. "type": "string"
  7418. },
  7419. "WRStandardName": {
  7420. "description": "仓单标准名称",
  7421. "type": "string"
  7422. },
  7423. "accountid": {
  7424. "description": "账户ID",
  7425. "type": "integer"
  7426. },
  7427. "cancelqty": {
  7428. "description": "注销量",
  7429. "type": "integer"
  7430. },
  7431. "curpresaleqty": {
  7432. "description": "当前预售量",
  7433. "type": "integer"
  7434. },
  7435. "deliveryqty": {
  7436. "description": "交割量",
  7437. "type": "integer"
  7438. },
  7439. "freezeamount": {
  7440. "description": "冻结金额",
  7441. "type": "number"
  7442. },
  7443. "goodsid": {
  7444. "description": "商品ID",
  7445. "type": "integer"
  7446. },
  7447. "goodunit": {
  7448. "description": "报价单位",
  7449. "type": "string"
  7450. },
  7451. "hasspotfreeze": {
  7452. "description": "是否有现货冻结 - 0:否 1:有",
  7453. "type": "integer"
  7454. },
  7455. "inqty": {
  7456. "description": "转入量(总数量)",
  7457. "type": "integer"
  7458. },
  7459. "marketid": {
  7460. "description": "市场ID",
  7461. "type": "integer"
  7462. },
  7463. "presaledamount": {
  7464. "description": "已预售总金额",
  7465. "type": "integer"
  7466. },
  7467. "presaledqty": {
  7468. "description": "已预售量",
  7469. "type": "integer"
  7470. },
  7471. "userid": {
  7472. "description": "用户ID",
  7473. "type": "integer"
  7474. },
  7475. "wrstandardid": {
  7476. "description": "仓单标准ID",
  7477. "type": "integer"
  7478. }
  7479. }
  7480. },
  7481. "cptrade.QueryCPTradeMyBidRsp": {
  7482. "type": "object",
  7483. "required": [
  7484. "accountid",
  7485. "goodsid",
  7486. "marketid",
  7487. "orderid",
  7488. "orderqty",
  7489. "ordertime",
  7490. "tradeprice",
  7491. "tradeqty"
  7492. ],
  7493. "properties": {
  7494. "accountid": {
  7495. "description": "账户ID[报价币种]",
  7496. "type": "integer"
  7497. },
  7498. "goodsid": {
  7499. "description": "商品ID",
  7500. "type": "integer"
  7501. },
  7502. "goodunit": {
  7503. "description": "报价单位",
  7504. "type": "string"
  7505. },
  7506. "marketid": {
  7507. "description": "市场ID",
  7508. "type": "integer"
  7509. },
  7510. "orderid": {
  7511. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  7512. "type": "integer"
  7513. },
  7514. "orderprice": {
  7515. "description": "委托价格",
  7516. "type": "number"
  7517. },
  7518. "orderqty": {
  7519. "description": "委托数量",
  7520. "type": "integer"
  7521. },
  7522. "ordertime": {
  7523. "description": "委托时间",
  7524. "type": "string"
  7525. },
  7526. "ordertotalprice": {
  7527. "description": "货款金额(委托总价格=委托价格*委托数量*合约单位)",
  7528. "type": "number"
  7529. },
  7530. "ordertotalweight": {
  7531. "description": "竞拍总重量(委托总重量=委托数量*合约单位)",
  7532. "type": "integer"
  7533. },
  7534. "totaltotalprice": {
  7535. "description": "成交货款金额(成交总价格=成交价格*成交数量*合约单位)",
  7536. "type": "number"
  7537. },
  7538. "tradeprice": {
  7539. "description": "成交价格",
  7540. "type": "number"
  7541. },
  7542. "tradeqty": {
  7543. "description": "成交数量",
  7544. "type": "integer"
  7545. }
  7546. }
  7547. },
  7548. "cptrade.QueryCPTradeOrderDetailRsq": {
  7549. "type": "object",
  7550. "required": [
  7551. "accountid",
  7552. "buildtype",
  7553. "buyorsell",
  7554. "goodsid",
  7555. "marketid",
  7556. "memberuserid",
  7557. "operatetype",
  7558. "orderqty",
  7559. "ordertime",
  7560. "pricemode",
  7561. "strorderid",
  7562. "tradedate",
  7563. "validtype"
  7564. ],
  7565. "properties": {
  7566. "accountid": {
  7567. "description": "账户ID[报价币种]",
  7568. "type": "integer"
  7569. },
  7570. "buildtype": {
  7571. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  7572. "type": "integer"
  7573. },
  7574. "buyorsell": {
  7575. "description": "买卖 - 0:买 1:卖",
  7576. "type": "integer"
  7577. },
  7578. "cancelorderid": {
  7579. "description": "撤单单号(撤单时填写)",
  7580. "type": "integer"
  7581. },
  7582. "cancelqty": {
  7583. "description": "撤单数量",
  7584. "type": "integer"
  7585. },
  7586. "clientordertime": {
  7587. "description": "客户端委托时间",
  7588. "type": "string"
  7589. },
  7590. "clientticket": {
  7591. "description": "客户端流水号",
  7592. "type": "string"
  7593. },
  7594. "clienttype": {
  7595. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  7596. "type": "integer"
  7597. },
  7598. "closeexchagechargevalue": {
  7599. "description": "平仓交易所手续费设置值",
  7600. "type": "number"
  7601. },
  7602. "closefeealgorithm": {
  7603. "description": "平仓手续费收取方式 1:比率 2:固定",
  7604. "type": "integer"
  7605. },
  7606. "closefreezecharge": {
  7607. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  7608. "type": "number"
  7609. },
  7610. "closememberchargevalue": {
  7611. "description": "平仓会员手续费设置值",
  7612. "type": "number"
  7613. },
  7614. "closeqty": {
  7615. "description": "平仓数量(先建后平操作 需要记录)",
  7616. "type": "integer"
  7617. },
  7618. "closetradeqty": {
  7619. "description": "平仓成交数量(先建后平操作,需要记录)",
  7620. "type": "integer"
  7621. },
  7622. "closeunfreezecharge": {
  7623. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  7624. "type": "number"
  7625. },
  7626. "delistingtype": {
  7627. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  7628. "type": "integer"
  7629. },
  7630. "freezecharge": {
  7631. "description": "冻结手续费",
  7632. "type": "number"
  7633. },
  7634. "freezemargin": {
  7635. "description": "冻结保证金(冻结交易金额)",
  7636. "type": "number"
  7637. },
  7638. "gcaccountid": {
  7639. "description": "账户ID[合约币种]",
  7640. "type": "integer"
  7641. },
  7642. "goodsid": {
  7643. "description": "商品ID",
  7644. "type": "integer"
  7645. },
  7646. "isconfirmexercise": {
  7647. "description": "是否确认行权- 0:否 1:是",
  7648. "type": "integer"
  7649. },
  7650. "ispreexercise": {
  7651. "description": "是否预申报- 0:否 1:是",
  7652. "type": "integer"
  7653. },
  7654. "listingselecttype": {
  7655. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  7656. "type": "integer"
  7657. },
  7658. "marginalgorithm": {
  7659. "description": "保证金收取方式 1:比率 2:固定",
  7660. "type": "integer"
  7661. },
  7662. "marginvalue": {
  7663. "description": "即市保证金设置值",
  7664. "type": "number"
  7665. },
  7666. "marketid": {
  7667. "description": "市场ID",
  7668. "type": "integer"
  7669. },
  7670. "marketmaxsub": {
  7671. "description": "市价最大偏移范围",
  7672. "type": "number"
  7673. },
  7674. "memberuserid": {
  7675. "description": "所属会员UserID",
  7676. "type": "integer"
  7677. },
  7678. "openexchagechargevalue": {
  7679. "description": "建仓交易所手续费设置值",
  7680. "type": "number"
  7681. },
  7682. "openfeealgorithm": {
  7683. "description": "建仓手续费收取方式 1:比率 2:固定",
  7684. "type": "integer"
  7685. },
  7686. "openfreezecharge": {
  7687. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  7688. "type": "number"
  7689. },
  7690. "openmemberchargevalue": {
  7691. "description": "建仓会员手续费设置值",
  7692. "type": "number"
  7693. },
  7694. "openqty": {
  7695. "description": "开仓数量(先建后平操作,需要记录)",
  7696. "type": "integer"
  7697. },
  7698. "opentradeqty": {
  7699. "description": "开仓成交数量(先建后平操作,需要记录)",
  7700. "type": "integer"
  7701. },
  7702. "openunfreezecharge": {
  7703. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  7704. "type": "number"
  7705. },
  7706. "operatetype": {
  7707. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  7708. "type": "integer"
  7709. },
  7710. "operatorid": {
  7711. "description": "登录账号(LoginID)",
  7712. "type": "integer"
  7713. },
  7714. "optiontype": {
  7715. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  7716. "type": "integer"
  7717. },
  7718. "orderprice": {
  7719. "description": "委托价格",
  7720. "type": "number"
  7721. },
  7722. "orderqty": {
  7723. "description": "委托数量",
  7724. "type": "integer"
  7725. },
  7726. "ordersrc": {
  7727. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  7728. "type": "integer"
  7729. },
  7730. "orderstatus": {
  7731. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  7732. "type": "integer"
  7733. },
  7734. "ordertime": {
  7735. "description": "委托时间",
  7736. "type": "string"
  7737. },
  7738. "preexerciseprice": {
  7739. "description": "预申报价格",
  7740. "type": "number"
  7741. },
  7742. "premium": {
  7743. "description": "权利金",
  7744. "type": "number"
  7745. },
  7746. "preorderid": {
  7747. "description": "关联预埋单号(止盈止损单时填写)",
  7748. "type": "integer"
  7749. },
  7750. "pricemode": {
  7751. "description": "取价方式 - 1:市价 2: 限价",
  7752. "type": "integer"
  7753. },
  7754. "quoteid": {
  7755. "description": "报价单ID",
  7756. "type": "integer"
  7757. },
  7758. "relatedid": {
  7759. "description": "关联单号(交割单)",
  7760. "type": "integer"
  7761. },
  7762. "retcode": {
  7763. "description": "错误代码",
  7764. "type": "integer"
  7765. },
  7766. "sessionid": {
  7767. "description": "会话ID",
  7768. "type": "integer"
  7769. },
  7770. "strorderid": {
  7771. "description": "委托单号",
  7772. "type": "string"
  7773. },
  7774. "tradedate": {
  7775. "description": "交易日(yyyyMMdd)",
  7776. "type": "string"
  7777. },
  7778. "tradeproperty": {
  7779. "description": "交易属性",
  7780. "type": "integer"
  7781. },
  7782. "tradeqty": {
  7783. "description": "成交数量",
  7784. "type": "integer"
  7785. },
  7786. "unfreezecharge": {
  7787. "description": "解冻手续费",
  7788. "type": "number"
  7789. },
  7790. "unfreezemargin": {
  7791. "description": "解冻保证金",
  7792. "type": "number"
  7793. },
  7794. "updatetime": {
  7795. "description": "更新时间",
  7796. "type": "string"
  7797. },
  7798. "uuid": {
  7799. "description": "发起端唯一id",
  7800. "type": "string"
  7801. },
  7802. "validtime": {
  7803. "description": "有效期限",
  7804. "type": "string"
  7805. },
  7806. "validtype": {
  7807. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  7808. "type": "integer"
  7809. },
  7810. "volumetype": {
  7811. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  7812. "type": "integer"
  7813. }
  7814. }
  7815. },
  7816. "cptrade.QueryMyCPTradeGoodsRsp": {
  7817. "type": "object",
  7818. "required": [
  7819. "goodscode",
  7820. "goodsid",
  7821. "goodsname",
  7822. "marketid",
  7823. "relatedgoodscode",
  7824. "relatedgoodsname"
  7825. ],
  7826. "properties": {
  7827. "accountid": {
  7828. "description": "卖方账户ID",
  7829. "type": "integer"
  7830. },
  7831. "agreeunit": {
  7832. "description": "合约单位",
  7833. "type": "number"
  7834. },
  7835. "applyid": {
  7836. "description": "关联申请ID",
  7837. "type": "integer"
  7838. },
  7839. "attachmenturl": {
  7840. "description": "附件地址",
  7841. "type": "string"
  7842. },
  7843. "createtime": {
  7844. "description": "创建时间",
  7845. "type": "string"
  7846. },
  7847. "currencyid": {
  7848. "description": "报价货币ID",
  7849. "type": "integer"
  7850. },
  7851. "decimalplace": {
  7852. "description": "报价小数位",
  7853. "type": "integer"
  7854. },
  7855. "endtime": {
  7856. "description": "预售结束时间",
  7857. "type": "string"
  7858. },
  7859. "floorprice": {
  7860. "description": "底价[大宗式竞拍]",
  7861. "type": "number"
  7862. },
  7863. "goodscode": {
  7864. "description": "商品代码(预售)",
  7865. "type": "string"
  7866. },
  7867. "goodsdetail": {
  7868. "description": "详情[大宗]",
  7869. "type": "string"
  7870. },
  7871. "goodsid": {
  7872. "description": "商品ID(自增ID SEQ_GOODS)",
  7873. "type": "integer"
  7874. },
  7875. "goodsname": {
  7876. "description": "商品名称(预售)",
  7877. "type": "string"
  7878. },
  7879. "goodunit": {
  7880. "description": "报价单位",
  7881. "type": "string"
  7882. },
  7883. "goodunitid": {
  7884. "description": "报价单位ID",
  7885. "type": "integer"
  7886. },
  7887. "marketid": {
  7888. "description": "所属市场ID",
  7889. "type": "integer"
  7890. },
  7891. "marketname": {
  7892. "description": "预售市场名称",
  7893. "type": "string"
  7894. },
  7895. "presaledamount": {
  7896. "description": "已预售总金额(预售结束时更新)",
  7897. "type": "number"
  7898. },
  7899. "presaledqty": {
  7900. "description": "已预售量(预售结束时更新)",
  7901. "type": "integer"
  7902. },
  7903. "presalemode": {
  7904. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  7905. "type": "integer"
  7906. },
  7907. "presaleqty": {
  7908. "description": "预售数量",
  7909. "type": "integer"
  7910. },
  7911. "refprice": {
  7912. "description": "参考价格[一口价]",
  7913. "type": "number"
  7914. },
  7915. "relatedgoodscode": {
  7916. "description": "商品代码(订单)",
  7917. "type": "string"
  7918. },
  7919. "relatedgoodsid": {
  7920. "description": "关联交易合约ID",
  7921. "type": "integer"
  7922. },
  7923. "relatedgoodsname": {
  7924. "description": "商品名称(订单)",
  7925. "type": "string"
  7926. },
  7927. "relatedmarketid": {
  7928. "description": "关联交易合约市场ID",
  7929. "type": "integer"
  7930. },
  7931. "sellstatus": {
  7932. "description": "卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理",
  7933. "type": "integer"
  7934. },
  7935. "startprice": {
  7936. "description": "起拍价[大宗式竞拍]",
  7937. "type": "number"
  7938. },
  7939. "starttime": {
  7940. "description": "预售开始时间",
  7941. "type": "string"
  7942. },
  7943. "tradedate": {
  7944. "description": "交易日(yyyyMMdd)",
  7945. "type": "string"
  7946. },
  7947. "tradeprice": {
  7948. "description": "成交价[大宗]",
  7949. "type": "number"
  7950. },
  7951. "userid": {
  7952. "description": "卖方用户ID",
  7953. "type": "integer"
  7954. }
  7955. }
  7956. },
  7957. "cptrade.QueryPresaleGoodsExRsp": {
  7958. "type": "object",
  7959. "required": [
  7960. "goodsid"
  7961. ],
  7962. "properties": {
  7963. "attachmenturl": {
  7964. "description": "附件地址",
  7965. "type": "string"
  7966. },
  7967. "createtime": {
  7968. "description": "创建时间",
  7969. "type": "string"
  7970. },
  7971. "endtime": {
  7972. "description": "预售结束时间",
  7973. "type": "string"
  7974. },
  7975. "floorprice": {
  7976. "description": "底价[大宗式竞拍]",
  7977. "type": "number"
  7978. },
  7979. "goodsdetail": {
  7980. "description": "详情[大宗]",
  7981. "type": "string"
  7982. },
  7983. "goodsid": {
  7984. "description": "商品ID(预售)",
  7985. "type": "integer"
  7986. },
  7987. "goodunit": {
  7988. "description": "报价单位",
  7989. "type": "string"
  7990. },
  7991. "marketid": {
  7992. "description": "预售市场ID - 根据预售模式选择市场",
  7993. "type": "integer"
  7994. },
  7995. "presaledamount": {
  7996. "description": "已预售总金额(预售结束时更新)",
  7997. "type": "number"
  7998. },
  7999. "presaledqty": {
  8000. "description": "已预售量(预售结束时更新)",
  8001. "type": "integer"
  8002. },
  8003. "presalemode": {
  8004. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  8005. "type": "integer"
  8006. },
  8007. "presaleqty": {
  8008. "description": "预售数量",
  8009. "type": "integer"
  8010. },
  8011. "refprice": {
  8012. "description": "参考价格[一口价]",
  8013. "type": "number"
  8014. },
  8015. "relatedgoodsid": {
  8016. "description": "关联交易合约ID",
  8017. "type": "integer"
  8018. },
  8019. "relatedmarketid": {
  8020. "description": "关联交易合约市场ID",
  8021. "type": "integer"
  8022. },
  8023. "sellstatus": {
  8024. "description": "卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理",
  8025. "type": "integer"
  8026. },
  8027. "startprice": {
  8028. "description": "起拍价[大宗式竞拍]",
  8029. "type": "number"
  8030. },
  8031. "starttime": {
  8032. "description": "预售开始时间",
  8033. "type": "string"
  8034. },
  8035. "tradedate": {
  8036. "description": "交易日(yyyyMMdd)",
  8037. "type": "string"
  8038. },
  8039. "tradeprice": {
  8040. "description": "成交价[大宗]",
  8041. "type": "number"
  8042. }
  8043. }
  8044. },
  8045. "delivery.QueryDeliveryRelationRsp": {
  8046. "type": "object",
  8047. "required": [
  8048. "begindate",
  8049. "enddate",
  8050. "goodsid",
  8051. "mindeliveryqty",
  8052. "xdeliveryratio"
  8053. ],
  8054. "properties": {
  8055. "begindate": {
  8056. "description": "起始日期(yyyyMMdd)",
  8057. "type": "string"
  8058. },
  8059. "buytemplateid": {
  8060. "description": "买履约计划模板ID",
  8061. "type": "integer"
  8062. },
  8063. "deliverygoodscode": {
  8064. "description": "品种代码",
  8065. "type": "string"
  8066. },
  8067. "deliverygoodsid": {
  8068. "description": "交割商品",
  8069. "type": "integer"
  8070. },
  8071. "deliverygoodsname": {
  8072. "description": "品种名称",
  8073. "type": "string"
  8074. },
  8075. "deliverymode": {
  8076. "description": "交割方式 - 1:点选式 2:申报式",
  8077. "type": "integer"
  8078. },
  8079. "deliverypricerule": {
  8080. "description": "交割价规则- 1:行情价 2:建仓价",
  8081. "type": "integer"
  8082. },
  8083. "deliverytype": {
  8084. "description": "交割模式 - 1:X交割 2:X+P交割 3:X+C交割 4:X+P+C交割",
  8085. "type": "integer"
  8086. },
  8087. "enddate": {
  8088. "description": "结束日期(yyyyMMdd)",
  8089. "type": "string"
  8090. },
  8091. "goodscode": {
  8092. "description": "商品代码",
  8093. "type": "string"
  8094. },
  8095. "goodsid": {
  8096. "description": "交易合约ID",
  8097. "type": "integer"
  8098. },
  8099. "goodsname": {
  8100. "description": "商品名称",
  8101. "type": "string"
  8102. },
  8103. "marketid": {
  8104. "description": "市场ID",
  8105. "type": "integer"
  8106. },
  8107. "mindeliveryqty": {
  8108. "description": "最小交割系数(K)",
  8109. "type": "integer"
  8110. },
  8111. "p2deliveryprice": {
  8112. "description": "P2合约价格(商品价时填写0,固定值时填写固定值)",
  8113. "type": "number"
  8114. },
  8115. "p2deliveryratio": {
  8116. "description": "P2合约系数(p)",
  8117. "type": "integer"
  8118. },
  8119. "p2goodsid": {
  8120. "description": "P2合约ID",
  8121. "type": "integer"
  8122. },
  8123. "p2pricemode": {
  8124. "description": "P2合约价格方式 - 1:商品价 2:固定值",
  8125. "type": "integer"
  8126. },
  8127. "pdeliveryprice": {
  8128. "description": "P合约价格(商品价时填写0,固定值时填写固定值)",
  8129. "type": "number"
  8130. },
  8131. "pdeliveryratio": {
  8132. "description": "P合约系数(n)",
  8133. "type": "integer"
  8134. },
  8135. "pgoodsid": {
  8136. "description": "P合约ID",
  8137. "type": "integer"
  8138. },
  8139. "ppricemode": {
  8140. "description": "P合约价格方式 - 1:商品价 2:固定值",
  8141. "type": "integer"
  8142. },
  8143. "rratio": {
  8144. "description": "兑换系数(R)",
  8145. "type": "integer"
  8146. },
  8147. "rratio1": {
  8148. "description": "兑换系数(交易合约)(R1)",
  8149. "type": "integer"
  8150. },
  8151. "rratio2": {
  8152. "description": "兑换系数(仓单标准)(R2)",
  8153. "type": "integer"
  8154. },
  8155. "selltemplateid": {
  8156. "description": "卖履约计划模板ID",
  8157. "type": "integer"
  8158. },
  8159. "wrstandardid": {
  8160. "description": "仓单标准ID",
  8161. "type": "integer"
  8162. },
  8163. "xdeliveryratio": {
  8164. "description": "交易合约系数(m)",
  8165. "type": "integer"
  8166. }
  8167. }
  8168. },
  8169. "ermcp.ExposureDetailRsp": {
  8170. "type": "object",
  8171. "properties": {
  8172. "areauserid": {
  8173. "description": "机构ID",
  8174. "type": "integer"
  8175. },
  8176. "changeQty": {
  8177. "description": "套保变动量",
  8178. "type": "number"
  8179. },
  8180. "contracttype": {
  8181. "description": "现货合同类型 - 1:采购 -1:销售",
  8182. "type": "integer"
  8183. },
  8184. "convertfactor": {
  8185. "description": "标仓系数",
  8186. "type": "number"
  8187. },
  8188. "convertratio": {
  8189. "description": "套保系数",
  8190. "type": "number"
  8191. },
  8192. "createtime": {
  8193. "description": "时间",
  8194. "type": "string"
  8195. },
  8196. "enumdicname": {
  8197. "description": "现货商品单位名称",
  8198. "type": "string"
  8199. },
  8200. "logtype": {
  8201. "description": "类型 - 1:套保计划 2:现货合同",
  8202. "type": "integer"
  8203. },
  8204. "middlegoodsId": {
  8205. "description": "套保商品id",
  8206. "type": "integer"
  8207. },
  8208. "middlegoodscode": {
  8209. "description": "套保商品代码",
  8210. "type": "string"
  8211. },
  8212. "middlegoodsname": {
  8213. "description": "套保商品名称",
  8214. "type": "string"
  8215. },
  8216. "qty": {
  8217. "description": "数量",
  8218. "type": "number"
  8219. },
  8220. "relateNo": {
  8221. "description": "现货合同/套保计划编号",
  8222. "type": "string"
  8223. },
  8224. "wrstandardcode": {
  8225. "description": "现货商品代码",
  8226. "type": "string"
  8227. },
  8228. "wrstandardid": {
  8229. "description": "现货商品ID",
  8230. "type": "integer"
  8231. },
  8232. "wrstandardname": {
  8233. "description": "现货商品名称",
  8234. "type": "string"
  8235. }
  8236. }
  8237. },
  8238. "ermcp.ExposureHedgePosDetailRsp": {
  8239. "type": "object",
  8240. "properties": {
  8241. "buyorsell": {
  8242. "description": "买卖方向 0-买 1-卖",
  8243. "type": "integer"
  8244. },
  8245. "channelbuildtype": {
  8246. "description": "开平方向 1-建仓 2-平仓",
  8247. "type": "integer"
  8248. },
  8249. "goodscode": {
  8250. "description": "商品代码",
  8251. "type": "string"
  8252. },
  8253. "goodsname": {
  8254. "description": "商品名称",
  8255. "type": "string"
  8256. },
  8257. "hedgegoodsid": {
  8258. "description": "商品id",
  8259. "type": "integer"
  8260. },
  8261. "tradeqty": {
  8262. "description": "数量(成交数量)",
  8263. "type": "integer"
  8264. },
  8265. "tradetime": {
  8266. "description": "时间(成交时间)",
  8267. "type": "string"
  8268. }
  8269. }
  8270. },
  8271. "ermcp.ExposureHedgePositionRsp": {
  8272. "type": "object",
  8273. "properties": {
  8274. "accountid": {
  8275. "description": "资金账号[外部母账户]",
  8276. "type": "integer"
  8277. },
  8278. "curbuyposition": {
  8279. "description": "期末买头寸",
  8280. "type": "integer"
  8281. },
  8282. "cursellposition": {
  8283. "description": "期末卖头寸",
  8284. "type": "integer"
  8285. },
  8286. "curtdbuyposition": {
  8287. "description": "期末今日买头寸",
  8288. "type": "integer"
  8289. },
  8290. "curtdsellposition": {
  8291. "description": "期末今日卖头寸",
  8292. "type": "integer"
  8293. },
  8294. "curydbuyposition": {
  8295. "description": "期末上日买头寸",
  8296. "type": "integer"
  8297. },
  8298. "curydsellposition": {
  8299. "description": "期末上日卖头寸",
  8300. "type": "integer"
  8301. },
  8302. "decreaseqty": {
  8303. "description": "减少数量 = (期末卖头寸 - 期初卖头寸)*-1",
  8304. "type": "integer"
  8305. },
  8306. "fretdbuyposition": {
  8307. "description": "冻结今日买头寸",
  8308. "type": "integer"
  8309. },
  8310. "fretdsellposition": {
  8311. "description": "冻结今日卖头寸",
  8312. "type": "integer"
  8313. },
  8314. "freydbuyposition": {
  8315. "description": "冻结上日买头寸",
  8316. "type": "integer"
  8317. },
  8318. "freydsellposition": {
  8319. "description": "冻结上日卖头寸",
  8320. "type": "integer"
  8321. },
  8322. "goodscode": {
  8323. "description": "商品代码",
  8324. "type": "string"
  8325. },
  8326. "goodsid": {
  8327. "description": "商品id",
  8328. "type": "integer"
  8329. },
  8330. "goodsname": {
  8331. "description": "商品名称",
  8332. "type": "string"
  8333. },
  8334. "hedgeaccountcode": {
  8335. "description": "对冲账号",
  8336. "type": "string"
  8337. },
  8338. "hedgegoodsid": {
  8339. "description": "对冲合约ID",
  8340. "type": "integer"
  8341. },
  8342. "increaseqty": {
  8343. "description": "增加数量 = 期末买头寸 - 期初买头寸",
  8344. "type": "integer"
  8345. },
  8346. "marketid": {
  8347. "description": "市场ID",
  8348. "type": "integer"
  8349. },
  8350. "relateduserid": {
  8351. "description": "关联用户id",
  8352. "type": "integer"
  8353. },
  8354. "totalcurqty": {
  8355. "description": "当前数量(净头寸) = 期末买头寸 - 期末卖头寸",
  8356. "type": "integer"
  8357. },
  8358. "totalydqty": {
  8359. "description": "昨日数量(净头寸) = 期初买头寸 - 期初卖头寸",
  8360. "type": "integer"
  8361. },
  8362. "tradedate": {
  8363. "description": "交易日(yyyyMMdd)",
  8364. "type": "string"
  8365. },
  8366. "ydbuyposition": {
  8367. "description": "期初买头寸",
  8368. "type": "integer"
  8369. },
  8370. "ydsellposition": {
  8371. "description": "期初卖头寸",
  8372. "type": "integer"
  8373. }
  8374. }
  8375. },
  8376. "ermcp.ExposureSpotDetailRsp": {
  8377. "type": "object",
  8378. "properties": {
  8379. "contracttype": {
  8380. "description": "合同类型 1-采购 -1-销售",
  8381. "type": "integer"
  8382. },
  8383. "createtime": {
  8384. "description": "创建时间",
  8385. "type": "string"
  8386. },
  8387. "enumdicname": {
  8388. "description": "现货商品单位名称",
  8389. "type": "string"
  8390. },
  8391. "logtype": {
  8392. "description": "记录类型 1-套保 2-现货合同",
  8393. "type": "integer"
  8394. },
  8395. "qty": {
  8396. "description": "数量",
  8397. "type": "number"
  8398. },
  8399. "recordname": {
  8400. "description": "类型名称",
  8401. "type": "string"
  8402. },
  8403. "relatedid": {
  8404. "description": "套保计划ID/现货合同ID",
  8405. "type": "string"
  8406. },
  8407. "relatedno": {
  8408. "description": "编号",
  8409. "type": "string"
  8410. },
  8411. "strtime": {
  8412. "description": "时间",
  8413. "type": "string"
  8414. },
  8415. "wrstandardcode": {
  8416. "description": "现货商品代码",
  8417. "type": "string"
  8418. },
  8419. "wrstandardname": {
  8420. "description": "现货商品名称",
  8421. "type": "string"
  8422. }
  8423. }
  8424. },
  8425. "ermcp.ExposureSpotRsp": {
  8426. "type": "object",
  8427. "properties": {
  8428. "areauserid": {
  8429. "description": "所属机构",
  8430. "type": "integer"
  8431. },
  8432. "decreaseqty": {
  8433. "description": "减少数量=-(销售已定价数量+采购计划数量)",
  8434. "type": "number"
  8435. },
  8436. "increaseqty": {
  8437. "description": "增加数量=销售计划数量+采购已定价数量",
  8438. "type": "number"
  8439. },
  8440. "oritoalspotqty": {
  8441. "description": "昨日数量",
  8442. "type": "number"
  8443. },
  8444. "totalspotqty": {
  8445. "description": "当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)",
  8446. "type": "number"
  8447. },
  8448. "updatetime": {
  8449. "description": "更新时间",
  8450. "type": "string"
  8451. },
  8452. "wrstandardcode": {
  8453. "description": "现货品种代码",
  8454. "type": "string"
  8455. },
  8456. "wrstandardid": {
  8457. "description": "现货商品ID",
  8458. "type": "integer"
  8459. },
  8460. "wrstandardname": {
  8461. "description": "现货品种",
  8462. "type": "string"
  8463. }
  8464. }
  8465. },
  8466. "ermcp.HisExposureRsp": {
  8467. "type": "object",
  8468. "properties": {
  8469. "data": {
  8470. "description": "历史敞口",
  8471. "type": "array",
  8472. "items": {
  8473. "$ref": "#/definitions/models.ErmcpHisExposure"
  8474. }
  8475. },
  8476. "enumdicname": {
  8477. "description": "单位名称",
  8478. "type": "string"
  8479. },
  8480. "middlegoodscode": {
  8481. "description": "套保品种代码",
  8482. "type": "string"
  8483. },
  8484. "middlegoodsid": {
  8485. "description": "套保品种ID",
  8486. "type": "integer"
  8487. },
  8488. "middlegoodsname": {
  8489. "description": "套保品种名称",
  8490. "type": "string"
  8491. }
  8492. }
  8493. },
  8494. "ermcp.PendingAuditCntRsp": {
  8495. "type": "object",
  8496. "properties": {
  8497. "areastockqty": {
  8498. "description": "待审核数量: 库存申请",
  8499. "type": "integer"
  8500. },
  8501. "businessdjqty": {
  8502. "description": "待审核数量: 点价",
  8503. "type": "integer"
  8504. },
  8505. "businessfpqty": {
  8506. "description": "待审核数量: 发票",
  8507. "type": "integer"
  8508. },
  8509. "businessjsqty": {
  8510. "description": "待审核数量: 结算",
  8511. "type": "integer"
  8512. },
  8513. "businesskxqty": {
  8514. "description": "待审核数量: 款项",
  8515. "type": "integer"
  8516. },
  8517. "hedgeplanqty": {
  8518. "description": "待审核数量: 套保计划",
  8519. "type": "integer"
  8520. },
  8521. "spotcontractqty": {
  8522. "description": "待审核数量: 现货合同",
  8523. "type": "integer"
  8524. },
  8525. "userqty": {
  8526. "description": "待审核数量: 用户",
  8527. "type": "integer"
  8528. }
  8529. }
  8530. },
  8531. "ermcp.QryAreaStockApplyRsp": {
  8532. "type": "object",
  8533. "properties": {
  8534. "applyid": {
  8535. "description": "申请人",
  8536. "type": "integer"
  8537. },
  8538. "applyname": {
  8539. "description": "申请人名称",
  8540. "type": "string"
  8541. },
  8542. "applyremark": {
  8543. "description": "申请备注",
  8544. "type": "string"
  8545. },
  8546. "applysrc": {
  8547. "description": "申请来源 - 1:管理端 2:终端",
  8548. "type": "integer"
  8549. },
  8550. "applystatus": {
  8551. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  8552. "type": "integer"
  8553. },
  8554. "applytime": {
  8555. "description": "申请时间",
  8556. "type": "string"
  8557. },
  8558. "auditid": {
  8559. "description": "审核人",
  8560. "type": "integer"
  8561. },
  8562. "auditname": {
  8563. "description": "审核人名称",
  8564. "type": "string"
  8565. },
  8566. "auditremark": {
  8567. "description": "审核备注",
  8568. "type": "string"
  8569. },
  8570. "auditsrc": {
  8571. "description": "审核来源 - 1:管理端 2:终端",
  8572. "type": "integer"
  8573. },
  8574. "audittime": {
  8575. "description": "审核时间",
  8576. "type": "string"
  8577. },
  8578. "audittradedate": {
  8579. "description": "审核交易日(yyyyMMdd)",
  8580. "type": "string"
  8581. },
  8582. "brandname": {
  8583. "description": "品牌名称",
  8584. "type": "string"
  8585. },
  8586. "buyuserid": {
  8587. "description": "采购方userid",
  8588. "type": "integer"
  8589. },
  8590. "buyusername": {
  8591. "description": "采购方名称",
  8592. "type": "string"
  8593. },
  8594. "contractno": {
  8595. "description": "合同编号",
  8596. "type": "string"
  8597. },
  8598. "contractqty": {
  8599. "description": "合同量",
  8600. "type": "number"
  8601. },
  8602. "contracttype": {
  8603. "description": "现货合同类型 - 1:采购 -1:销售",
  8604. "type": "integer"
  8605. },
  8606. "deliverygoodsid": {
  8607. "description": "现货品种ID",
  8608. "type": "integer"
  8609. },
  8610. "enumdicname": {
  8611. "description": "现货商品单位名称",
  8612. "type": "string"
  8613. },
  8614. "inoutapplyid": {
  8615. "description": "申请ID(607+Unix秒时间戳(10位)+xxxxxx)",
  8616. "type": "string"
  8617. },
  8618. "inouttype": {
  8619. "description": "出入库类型 - 1:采购入库 2:销售出库 3:生产入库 4:生产出库",
  8620. "type": "integer"
  8621. },
  8622. "modelname": {
  8623. "description": "型号名称",
  8624. "type": "string"
  8625. },
  8626. "pricetype": {
  8627. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  8628. "type": "integer"
  8629. },
  8630. "qty": {
  8631. "description": "数量",
  8632. "type": "number"
  8633. },
  8634. "selluserid": {
  8635. "description": "销售方userid",
  8636. "type": "integer"
  8637. },
  8638. "sellusername": {
  8639. "description": "销售方名称",
  8640. "type": "string"
  8641. },
  8642. "spotcontractid": {
  8643. "description": "关联现货合同ID",
  8644. "type": "string"
  8645. },
  8646. "spotgoodsbrandid": {
  8647. "description": "现货品牌ID",
  8648. "type": "integer"
  8649. },
  8650. "spotgoodsmodelid": {
  8651. "description": "现货型号ID",
  8652. "type": "integer"
  8653. },
  8654. "unitid": {
  8655. "description": "单位id",
  8656. "type": "integer"
  8657. },
  8658. "userid": {
  8659. "description": "机构ID",
  8660. "type": "integer"
  8661. },
  8662. "warehousecode": {
  8663. "description": "仓库代码",
  8664. "type": "string"
  8665. },
  8666. "warehouseinfoid": {
  8667. "description": "现货仓库ID",
  8668. "type": "string"
  8669. },
  8670. "warehousename": {
  8671. "description": "仓库名称",
  8672. "type": "string"
  8673. },
  8674. "warehousetype": {
  8675. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  8676. "type": "integer"
  8677. },
  8678. "wrstandardcode": {
  8679. "description": "现货商品代码",
  8680. "type": "string"
  8681. },
  8682. "wrstandardid": {
  8683. "description": "现货商品ID",
  8684. "type": "string"
  8685. },
  8686. "wrstandardname": {
  8687. "description": "现货商品名称",
  8688. "type": "string"
  8689. }
  8690. }
  8691. },
  8692. "ermcp.QryAvalidGPRsp": {
  8693. "type": "object",
  8694. "properties": {
  8695. "goodsgroupid": {
  8696. "description": "期货品种id",
  8697. "type": "integer"
  8698. },
  8699. "goodsgroupname": {
  8700. "description": "期货品种名称",
  8701. "type": "string"
  8702. },
  8703. "goodunitid": {
  8704. "description": "品种单位id",
  8705. "type": "integer"
  8706. },
  8707. "goodunitname": {
  8708. "description": "品种单位名称",
  8709. "type": "string"
  8710. },
  8711. "outergroupcode": {
  8712. "description": "期货品种代码",
  8713. "type": "string"
  8714. }
  8715. }
  8716. },
  8717. "ermcp.QryBusinessDjRsp": {
  8718. "type": "object",
  8719. "properties": {
  8720. "amount": {
  8721. "description": "点价金额=(点价价格+升贴水)*点价数量",
  8722. "type": "number"
  8723. },
  8724. "applyid": {
  8725. "description": "申请人",
  8726. "type": "string"
  8727. },
  8728. "applyname": {
  8729. "description": "申请人名称",
  8730. "type": "string"
  8731. },
  8732. "applystatus": {
  8733. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  8734. "type": "integer"
  8735. },
  8736. "applytime": {
  8737. "description": "申请时间",
  8738. "type": "string"
  8739. },
  8740. "attachurl": {
  8741. "description": "附件",
  8742. "type": "string"
  8743. },
  8744. "auditid": {
  8745. "description": "审核人ID",
  8746. "type": "string"
  8747. },
  8748. "auditname": {
  8749. "description": "审核人名称",
  8750. "type": "string"
  8751. },
  8752. "audittime": {
  8753. "description": "审核时间",
  8754. "type": "string"
  8755. },
  8756. "buyusername": {
  8757. "description": "采购方名称",
  8758. "type": "string"
  8759. },
  8760. "contractno": {
  8761. "description": "合同编号",
  8762. "type": "string"
  8763. },
  8764. "contractstatus": {
  8765. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  8766. "type": "integer"
  8767. },
  8768. "contracttype": {
  8769. "description": "现货合同类型 - 1:采购 -1:销售",
  8770. "type": "integer"
  8771. },
  8772. "enumdicname": {
  8773. "description": "单位名称",
  8774. "type": "string"
  8775. },
  8776. "goodscode": {
  8777. "description": "点价合约",
  8778. "type": "string"
  8779. },
  8780. "goodsname": {
  8781. "description": "商品名称",
  8782. "type": "string"
  8783. },
  8784. "operateapplyid": {
  8785. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  8786. "type": "string"
  8787. },
  8788. "operateapplytype": {
  8789. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  8790. "type": "integer"
  8791. },
  8792. "pricedPrice": {
  8793. "description": "点价价格(非必填)",
  8794. "type": "number"
  8795. },
  8796. "pricedQty": {
  8797. "description": "点价数量(非必填)",
  8798. "type": "number"
  8799. },
  8800. "pricemove": {
  8801. "description": "升贴水",
  8802. "type": "number"
  8803. },
  8804. "pricetype": {
  8805. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  8806. "type": "integer"
  8807. },
  8808. "relatedid": {
  8809. "description": "现货合同ID",
  8810. "type": "string"
  8811. },
  8812. "sellusername": {
  8813. "description": "销售方名字",
  8814. "type": "string"
  8815. },
  8816. "userid": {
  8817. "description": "用户ID",
  8818. "type": "integer"
  8819. },
  8820. "wrstandardcode": {
  8821. "description": "现货商品代码",
  8822. "type": "string"
  8823. },
  8824. "wrstandardid": {
  8825. "description": "现货商品id",
  8826. "type": "integer"
  8827. },
  8828. "wrstandardname": {
  8829. "description": "现货商品名称",
  8830. "type": "string"
  8831. }
  8832. }
  8833. },
  8834. "ermcp.QryBussinessFpRsp": {
  8835. "type": "object",
  8836. "properties": {
  8837. "applyid": {
  8838. "description": "申请人",
  8839. "type": "string"
  8840. },
  8841. "applyname": {
  8842. "description": "申请人名称",
  8843. "type": "string"
  8844. },
  8845. "applystatus": {
  8846. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  8847. "type": "integer"
  8848. },
  8849. "applytime": {
  8850. "description": "申请时间",
  8851. "type": "string"
  8852. },
  8853. "attachurl": {
  8854. "description": "附件",
  8855. "type": "string"
  8856. },
  8857. "auditid": {
  8858. "description": "审核人ID",
  8859. "type": "string"
  8860. },
  8861. "auditname": {
  8862. "description": "审核人名称",
  8863. "type": "string"
  8864. },
  8865. "audittime": {
  8866. "description": "审核时间",
  8867. "type": "string"
  8868. },
  8869. "buyusername": {
  8870. "description": "采购方名称",
  8871. "type": "string"
  8872. },
  8873. "contractno": {
  8874. "description": "合同编号",
  8875. "type": "string"
  8876. },
  8877. "contractstatus": {
  8878. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  8879. "type": "integer"
  8880. },
  8881. "contracttype": {
  8882. "description": "现货合同类型 - 1:采购 -1:销售",
  8883. "type": "integer"
  8884. },
  8885. "enumdicname": {
  8886. "description": "单位名称",
  8887. "type": "string"
  8888. },
  8889. "goodscode": {
  8890. "description": "点价合约",
  8891. "type": "string"
  8892. },
  8893. "goodsname": {
  8894. "description": "商品名称",
  8895. "type": "string"
  8896. },
  8897. "invoiceAmount": {
  8898. "description": "已开收票金额(销售为开票,采购为收票)",
  8899. "type": "number"
  8900. },
  8901. "operateapplyid": {
  8902. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  8903. "type": "string"
  8904. },
  8905. "operateapplytype": {
  8906. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  8907. "type": "integer"
  8908. },
  8909. "pricemove": {
  8910. "description": "升贴水",
  8911. "type": "number"
  8912. },
  8913. "pricetype": {
  8914. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  8915. "type": "integer"
  8916. },
  8917. "relatedid": {
  8918. "description": "现货合同ID",
  8919. "type": "string"
  8920. },
  8921. "sellusername": {
  8922. "description": "销售方名字",
  8923. "type": "string"
  8924. },
  8925. "userid": {
  8926. "description": "用户ID",
  8927. "type": "integer"
  8928. },
  8929. "wrstandardcode": {
  8930. "description": "现货商品代码",
  8931. "type": "string"
  8932. },
  8933. "wrstandardid": {
  8934. "description": "现货商品id",
  8935. "type": "integer"
  8936. },
  8937. "wrstandardname": {
  8938. "description": "现货商品名称",
  8939. "type": "string"
  8940. }
  8941. }
  8942. },
  8943. "ermcp.QryBussinessJsExRsp": {
  8944. "type": "object",
  8945. "properties": {
  8946. "applyid": {
  8947. "description": "申请人",
  8948. "type": "string"
  8949. },
  8950. "applyname": {
  8951. "description": "申请人名称",
  8952. "type": "string"
  8953. },
  8954. "applystatus": {
  8955. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  8956. "type": "integer"
  8957. },
  8958. "applytime": {
  8959. "description": "申请时间",
  8960. "type": "string"
  8961. },
  8962. "attachurl": {
  8963. "description": "附件",
  8964. "type": "string"
  8965. },
  8966. "auditid": {
  8967. "description": "审核人ID",
  8968. "type": "string"
  8969. },
  8970. "auditname": {
  8971. "description": "审核人名称",
  8972. "type": "string"
  8973. },
  8974. "audittime": {
  8975. "description": "审核时间",
  8976. "type": "string"
  8977. },
  8978. "buyusername": {
  8979. "description": "采购方名称",
  8980. "type": "string"
  8981. },
  8982. "contractno": {
  8983. "description": "合同编号",
  8984. "type": "string"
  8985. },
  8986. "contractstatus": {
  8987. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  8988. "type": "integer"
  8989. },
  8990. "contracttype": {
  8991. "description": "现货合同类型 - 1:采购 -1:销售",
  8992. "type": "integer"
  8993. },
  8994. "enumdicname": {
  8995. "description": "单位名称",
  8996. "type": "string"
  8997. },
  8998. "goodscode": {
  8999. "description": "点价合约",
  9000. "type": "string"
  9001. },
  9002. "goodsname": {
  9003. "description": "商品名称",
  9004. "type": "string"
  9005. },
  9006. "operateapplyid": {
  9007. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  9008. "type": "string"
  9009. },
  9010. "operateapplytype": {
  9011. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  9012. "type": "integer"
  9013. },
  9014. "pricemove": {
  9015. "description": "升贴水",
  9016. "type": "number"
  9017. },
  9018. "pricetype": {
  9019. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  9020. "type": "integer"
  9021. },
  9022. "reckontype": {
  9023. "description": "结算类型",
  9024. "type": "string"
  9025. },
  9026. "reckonvalue": {
  9027. "description": "值",
  9028. "type": "number"
  9029. },
  9030. "relatedid": {
  9031. "description": "现货合同ID",
  9032. "type": "string"
  9033. },
  9034. "sellusername": {
  9035. "description": "销售方名字",
  9036. "type": "string"
  9037. },
  9038. "userid": {
  9039. "description": "用户ID",
  9040. "type": "integer"
  9041. },
  9042. "wrstandardcode": {
  9043. "description": "现货商品代码",
  9044. "type": "string"
  9045. },
  9046. "wrstandardid": {
  9047. "description": "现货商品id",
  9048. "type": "integer"
  9049. },
  9050. "wrstandardname": {
  9051. "description": "现货商品名称",
  9052. "type": "string"
  9053. }
  9054. }
  9055. },
  9056. "ermcp.QryBussinessJsRsp": {
  9057. "type": "object",
  9058. "properties": {
  9059. "addmargin": {
  9060. "description": "追加保证金(非必填)",
  9061. "type": "number"
  9062. },
  9063. "applyid": {
  9064. "description": "申请人",
  9065. "type": "string"
  9066. },
  9067. "applyname": {
  9068. "description": "申请人名称",
  9069. "type": "string"
  9070. },
  9071. "applystatus": {
  9072. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  9073. "type": "integer"
  9074. },
  9075. "applytime": {
  9076. "description": "申请时间",
  9077. "type": "string"
  9078. },
  9079. "attachurl": {
  9080. "description": "附件",
  9081. "type": "string"
  9082. },
  9083. "auditid": {
  9084. "description": "审核人ID",
  9085. "type": "string"
  9086. },
  9087. "auditname": {
  9088. "description": "审核人名称",
  9089. "type": "string"
  9090. },
  9091. "audittime": {
  9092. "description": "审核时间",
  9093. "type": "string"
  9094. },
  9095. "buyusername": {
  9096. "description": "采购方名称",
  9097. "type": "string"
  9098. },
  9099. "contractno": {
  9100. "description": "合同编号",
  9101. "type": "string"
  9102. },
  9103. "contractstatus": {
  9104. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  9105. "type": "integer"
  9106. },
  9107. "contracttype": {
  9108. "description": "现货合同类型 - 1:采购 -1:销售",
  9109. "type": "integer"
  9110. },
  9111. "decmargin": {
  9112. "description": "减少保证金(非必填)",
  9113. "type": "number"
  9114. },
  9115. "enumdicname": {
  9116. "description": "单位名称",
  9117. "type": "string"
  9118. },
  9119. "goodscode": {
  9120. "description": "点价合约",
  9121. "type": "string"
  9122. },
  9123. "goodsname": {
  9124. "description": "商品名称",
  9125. "type": "string"
  9126. },
  9127. "operateapplyid": {
  9128. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  9129. "type": "string"
  9130. },
  9131. "operateapplytype": {
  9132. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  9133. "type": "integer"
  9134. },
  9135. "pricemove": {
  9136. "description": "升贴水",
  9137. "type": "number"
  9138. },
  9139. "pricetype": {
  9140. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  9141. "type": "integer"
  9142. },
  9143. "reckonadjustamount": {
  9144. "description": "结算调整金额(非必填)",
  9145. "type": "number"
  9146. },
  9147. "reckonosamount": {
  9148. "description": "结算溢短金额(非必填)",
  9149. "type": "number"
  9150. },
  9151. "reckonotheramount": {
  9152. "description": "结算其他费用(非必填)",
  9153. "type": "number"
  9154. },
  9155. "reckonrealqty": {
  9156. "description": "结算实际数量(非必填)",
  9157. "type": "number"
  9158. },
  9159. "relatedid": {
  9160. "description": "现货合同ID",
  9161. "type": "string"
  9162. },
  9163. "sellusername": {
  9164. "description": "销售方名字",
  9165. "type": "string"
  9166. },
  9167. "userid": {
  9168. "description": "用户ID",
  9169. "type": "integer"
  9170. },
  9171. "wrstandardcode": {
  9172. "description": "现货商品代码",
  9173. "type": "string"
  9174. },
  9175. "wrstandardid": {
  9176. "description": "现货商品id",
  9177. "type": "integer"
  9178. },
  9179. "wrstandardname": {
  9180. "description": "现货商品名称",
  9181. "type": "string"
  9182. }
  9183. }
  9184. },
  9185. "ermcp.QryBussinessKxRsp": {
  9186. "type": "object",
  9187. "properties": {
  9188. "applyid": {
  9189. "description": "申请人",
  9190. "type": "string"
  9191. },
  9192. "applyname": {
  9193. "description": "申请人名称",
  9194. "type": "string"
  9195. },
  9196. "applystatus": {
  9197. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  9198. "type": "integer"
  9199. },
  9200. "applytime": {
  9201. "description": "申请时间",
  9202. "type": "string"
  9203. },
  9204. "attachurl": {
  9205. "description": "附件",
  9206. "type": "string"
  9207. },
  9208. "auditid": {
  9209. "description": "审核人ID",
  9210. "type": "string"
  9211. },
  9212. "auditname": {
  9213. "description": "审核人名称",
  9214. "type": "string"
  9215. },
  9216. "audittime": {
  9217. "description": "审核时间",
  9218. "type": "string"
  9219. },
  9220. "buyusername": {
  9221. "description": "采购方名称",
  9222. "type": "string"
  9223. },
  9224. "contractno": {
  9225. "description": "合同编号",
  9226. "type": "string"
  9227. },
  9228. "contractstatus": {
  9229. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  9230. "type": "integer"
  9231. },
  9232. "contracttype": {
  9233. "description": "现货合同类型 - 1:采购 -1:销售",
  9234. "type": "integer"
  9235. },
  9236. "deductamount": {
  9237. "description": "退款(非必填)",
  9238. "type": "number"
  9239. },
  9240. "enumdicname": {
  9241. "description": "单位名称",
  9242. "type": "string"
  9243. },
  9244. "goodscode": {
  9245. "description": "点价合约",
  9246. "type": "string"
  9247. },
  9248. "goodsname": {
  9249. "description": "商品名称",
  9250. "type": "string"
  9251. },
  9252. "kxtype": {
  9253. "description": "款项类型 1-收付款(PayAmount字段有值) 2-退款(DeductAmount字段有值) 3-收付款/退款(2个字段都有)",
  9254. "type": "integer"
  9255. },
  9256. "operateapplyid": {
  9257. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  9258. "type": "string"
  9259. },
  9260. "operateapplytype": {
  9261. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  9262. "type": "integer"
  9263. },
  9264. "payamount": {
  9265. "description": "收付款(非必填)",
  9266. "type": "number"
  9267. },
  9268. "pricemove": {
  9269. "description": "升贴水",
  9270. "type": "number"
  9271. },
  9272. "pricetype": {
  9273. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  9274. "type": "integer"
  9275. },
  9276. "relatedid": {
  9277. "description": "现货合同ID",
  9278. "type": "string"
  9279. },
  9280. "sellusername": {
  9281. "description": "销售方名字",
  9282. "type": "string"
  9283. },
  9284. "userid": {
  9285. "description": "用户ID",
  9286. "type": "integer"
  9287. },
  9288. "wrstandardcode": {
  9289. "description": "现货商品代码",
  9290. "type": "string"
  9291. },
  9292. "wrstandardid": {
  9293. "description": "现货商品id",
  9294. "type": "integer"
  9295. },
  9296. "wrstandardname": {
  9297. "description": "现货商品名称",
  9298. "type": "string"
  9299. }
  9300. }
  9301. },
  9302. "ermcp.QryErmcpRsp": {
  9303. "type": "object",
  9304. "properties": {
  9305. "accountname": {
  9306. "description": "账户名称",
  9307. "type": "string"
  9308. },
  9309. "attachment": {
  9310. "description": "附件",
  9311. "type": "string"
  9312. },
  9313. "audittime": {
  9314. "description": "审核时间",
  9315. "type": "string"
  9316. },
  9317. "brandname": {
  9318. "description": "品牌名称",
  9319. "type": "string"
  9320. },
  9321. "contracctstatus": {
  9322. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  9323. "type": "integer"
  9324. },
  9325. "contractmargin": {
  9326. "description": "合同保证金",
  9327. "type": "number"
  9328. },
  9329. "contractno": {
  9330. "description": "合同编号",
  9331. "type": "string"
  9332. },
  9333. "contracttype": {
  9334. "description": "合同类型 1-采购, -1-销售",
  9335. "type": "integer"
  9336. },
  9337. "convertfactor": {
  9338. "description": "标仓系数",
  9339. "type": "number"
  9340. },
  9341. "createtime": {
  9342. "description": "创建时间",
  9343. "type": "string"
  9344. },
  9345. "daikaiamount": {
  9346. "description": "待开票额",
  9347. "type": "number"
  9348. },
  9349. "deliveryenddate": {
  9350. "description": "交割结束日",
  9351. "type": "string"
  9352. },
  9353. "deliverygoodscode": {
  9354. "description": "现货品种代码",
  9355. "type": "string"
  9356. },
  9357. "deliverygoodsid": {
  9358. "description": "现货商品ID",
  9359. "type": "integer"
  9360. },
  9361. "deliverygoodsname": {
  9362. "description": "现货品种名称",
  9363. "type": "string"
  9364. },
  9365. "deliverystartdate": {
  9366. "description": "交割开始日",
  9367. "type": "string"
  9368. },
  9369. "enddate": {
  9370. "description": "点价结束日",
  9371. "type": "string"
  9372. },
  9373. "enumdicname": {
  9374. "description": "单位名称",
  9375. "type": "string"
  9376. },
  9377. "goodscode": {
  9378. "description": "点价商品代码",
  9379. "type": "string"
  9380. },
  9381. "goodsid": {
  9382. "description": "点价商品ID",
  9383. "type": "integer"
  9384. },
  9385. "goodsname": {
  9386. "description": "点价商品名称",
  9387. "type": "string"
  9388. },
  9389. "invoiceamount": {
  9390. "description": "已开票额",
  9391. "type": "number"
  9392. },
  9393. "loanamount": {
  9394. "description": "贷款总额=已定价额+调整金额",
  9395. "type": "number"
  9396. },
  9397. "margin": {
  9398. "description": "保证金",
  9399. "type": "number"
  9400. },
  9401. "modelname": {
  9402. "description": "型号名称",
  9403. "type": "string"
  9404. },
  9405. "payamount": {
  9406. "description": "已收付额(收款或付款)",
  9407. "type": "number"
  9408. },
  9409. "price": {
  9410. "description": "价格",
  9411. "type": "number"
  9412. },
  9413. "pricedamount": {
  9414. "description": "已定价额",
  9415. "type": "number"
  9416. },
  9417. "pricedavg": {
  9418. "description": "已点均价",
  9419. "type": "number"
  9420. },
  9421. "pricedqty": {
  9422. "description": "已定价量",
  9423. "type": "number"
  9424. },
  9425. "pricemove": {
  9426. "description": "升贴水",
  9427. "type": "number"
  9428. },
  9429. "pricetype": {
  9430. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  9431. "type": "integer"
  9432. },
  9433. "producttype": {
  9434. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  9435. "type": "integer"
  9436. },
  9437. "qty": {
  9438. "description": "合同量",
  9439. "type": "number"
  9440. },
  9441. "reckonadjustamount": {
  9442. "description": "调整金额",
  9443. "type": "number"
  9444. },
  9445. "reckonedamount": {
  9446. "description": "已收付额(已确定额)",
  9447. "type": "number"
  9448. },
  9449. "reckonotheramount": {
  9450. "description": "其它费用",
  9451. "type": "number"
  9452. },
  9453. "reckonrealqty": {
  9454. "description": "已确定量",
  9455. "type": "number"
  9456. },
  9457. "remark": {
  9458. "description": "备注",
  9459. "type": "string"
  9460. },
  9461. "spotcontractid": {
  9462. "description": "合同ID",
  9463. "type": "string"
  9464. },
  9465. "spotgoodsbrandid": {
  9466. "description": "现货品牌ID",
  9467. "type": "integer"
  9468. },
  9469. "spotgoodsdesc": {
  9470. "description": "商品型号(商品规格)",
  9471. "type": "string"
  9472. },
  9473. "spotgoodsmodelid": {
  9474. "description": "现货型号ID",
  9475. "type": "integer"
  9476. },
  9477. "startdate": {
  9478. "description": "点价开始日",
  9479. "type": "string"
  9480. },
  9481. "totalamount": {
  9482. "description": "合计总额",
  9483. "type": "number"
  9484. },
  9485. "unpayamount": {
  9486. "description": "待支收额(支付或收款)",
  9487. "type": "number"
  9488. },
  9489. "unpricedqty": {
  9490. "description": "未定价量",
  9491. "type": "number"
  9492. },
  9493. "unsureqty": {
  9494. "description": "未确定量",
  9495. "type": "number"
  9496. },
  9497. "userid": {
  9498. "description": "用户ID",
  9499. "type": "integer"
  9500. },
  9501. "wrstandardcode": {
  9502. "description": "现货商品代码",
  9503. "type": "string"
  9504. },
  9505. "wrstandardid": {
  9506. "description": "现货商品ID",
  9507. "type": "integer"
  9508. },
  9509. "wrstandardname": {
  9510. "description": "现货商品名称",
  9511. "type": "string"
  9512. }
  9513. }
  9514. },
  9515. "ermcp.QryGGCovertCfgRsp": {
  9516. "type": "object",
  9517. "properties": {
  9518. "convertratio": {
  9519. "description": "折算系数",
  9520. "type": "number"
  9521. },
  9522. "destgoodsgroupid": {
  9523. "description": "目标品种ID",
  9524. "type": "integer"
  9525. },
  9526. "dstcode": {
  9527. "description": "目录品种代码",
  9528. "type": "string"
  9529. },
  9530. "dstexchangecode": {
  9531. "description": "目标期货交易所",
  9532. "type": "string"
  9533. },
  9534. "dstname": {
  9535. "description": "目标品种名称",
  9536. "type": "string"
  9537. },
  9538. "dstunitid": {
  9539. "description": "目标品种单位ID",
  9540. "type": "integer"
  9541. },
  9542. "dstunitidname": {
  9543. "description": "目标品种单位名称",
  9544. "type": "string"
  9545. },
  9546. "modifytime": {
  9547. "description": "修改时间",
  9548. "type": "string"
  9549. },
  9550. "srccode": {
  9551. "description": "源品种代码",
  9552. "type": "string"
  9553. },
  9554. "srcexchangecode": {
  9555. "description": "源期货交易所",
  9556. "type": "string"
  9557. },
  9558. "srcgoodsgroupid": {
  9559. "description": "源品种ID",
  9560. "type": "integer"
  9561. },
  9562. "srcname": {
  9563. "description": "源品种名称",
  9564. "type": "string"
  9565. },
  9566. "srcunitid": {
  9567. "description": "源品种单位ID",
  9568. "type": "integer"
  9569. },
  9570. "srcunitidname": {
  9571. "description": "源品种单位名称",
  9572. "type": "string"
  9573. }
  9574. }
  9575. },
  9576. "ermcp.QryHedgePlanRsp": {
  9577. "type": "object",
  9578. "properties": {
  9579. "areauserid": {
  9580. "description": "用户ID",
  9581. "type": "integer"
  9582. },
  9583. "audittime": {
  9584. "description": "审核时间",
  9585. "type": "string"
  9586. },
  9587. "contracttype": {
  9588. "description": "计划类型 - 1:采购 -1:销售",
  9589. "type": "integer"
  9590. },
  9591. "convertfactor": {
  9592. "description": "标仓系数",
  9593. "type": "number"
  9594. },
  9595. "createtime": {
  9596. "description": "创建时间",
  9597. "type": "string"
  9598. },
  9599. "deliverygoodsid": {
  9600. "description": "现货品种ID",
  9601. "type": "integer"
  9602. },
  9603. "deliverygoodsname": {
  9604. "description": "现货品种名称",
  9605. "type": "string"
  9606. },
  9607. "enumdicname": {
  9608. "description": "单位名称",
  9609. "type": "string"
  9610. },
  9611. "hedgeplanid": {
  9612. "description": "套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)",
  9613. "type": "string"
  9614. },
  9615. "hedgeplanno": {
  9616. "description": "套保计划编号(名称)",
  9617. "type": "string"
  9618. },
  9619. "hedgeplanstatus": {
  9620. "description": "套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  9621. "type": "integer"
  9622. },
  9623. "planqty": {
  9624. "description": "计划数量",
  9625. "type": "number"
  9626. },
  9627. "plantime": {
  9628. "description": "计划时间",
  9629. "type": "string"
  9630. },
  9631. "producttype": {
  9632. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  9633. "type": "integer"
  9634. },
  9635. "remark": {
  9636. "description": "备注",
  9637. "type": "string"
  9638. },
  9639. "spotgoodsdesc": {
  9640. "description": "商品型号",
  9641. "type": "string"
  9642. },
  9643. "unitid": {
  9644. "description": "单位id",
  9645. "type": "integer"
  9646. },
  9647. "updatetime": {
  9648. "description": "更新时间",
  9649. "type": "string"
  9650. },
  9651. "wrstandardid": {
  9652. "description": "现货商品ID",
  9653. "type": "integer"
  9654. },
  9655. "wrstandardname": {
  9656. "description": "现货商品名称",
  9657. "type": "string"
  9658. }
  9659. }
  9660. },
  9661. "ermcp.QryMGChangeLogRsp": {
  9662. "type": "object",
  9663. "properties": {
  9664. "aftervalue": {
  9665. "description": "变更后",
  9666. "type": "number"
  9667. },
  9668. "applyid": {
  9669. "description": "操作人",
  9670. "type": "integer"
  9671. },
  9672. "applyname": {
  9673. "description": "操作人名称",
  9674. "type": "string"
  9675. },
  9676. "applysrc": {
  9677. "description": "操作来源 - 1:管理端 2:终端",
  9678. "type": "integer"
  9679. },
  9680. "beforevalue": {
  9681. "description": "变更前",
  9682. "type": "number"
  9683. },
  9684. "changelogtype": {
  9685. "description": "变更流水类型 - 1:套保比率变更",
  9686. "type": "integer"
  9687. },
  9688. "handlestatus": {
  9689. "description": "处理状态",
  9690. "type": "integer"
  9691. },
  9692. "logdatetime": {
  9693. "description": "流水日期",
  9694. "type": "string"
  9695. },
  9696. "logid": {
  9697. "description": "流水ID",
  9698. "type": "integer"
  9699. },
  9700. "logremark": {
  9701. "description": "流水备注",
  9702. "type": "string"
  9703. },
  9704. "middlegoodsid": {
  9705. "description": "套保品种ID",
  9706. "type": "integer"
  9707. },
  9708. "tradedate": {
  9709. "description": "交易日(yyyyMMdd)",
  9710. "type": "string"
  9711. },
  9712. "updatetime": {
  9713. "description": "更新时间",
  9714. "type": "string"
  9715. }
  9716. }
  9717. },
  9718. "ermcp.QryMiddleGoodsDetailRsp": {
  9719. "type": "object",
  9720. "properties": {
  9721. "cvList": {
  9722. "description": "期货品种折算列表",
  9723. "type": "array",
  9724. "items": {
  9725. "$ref": "#/definitions/models.GoodsGroupConvert"
  9726. }
  9727. },
  9728. "mg": {
  9729. "description": "套保品种基本信息",
  9730. "$ref": "#/definitions/models.ErmcpMiddleGoodsModel"
  9731. }
  9732. }
  9733. },
  9734. "ermcp.QryMiddleGoodsRsp": {
  9735. "type": "object",
  9736. "properties": {
  9737. "areauserid": {
  9738. "description": "机构用户ID",
  9739. "type": "integer"
  9740. },
  9741. "createtime": {
  9742. "description": "修改时间",
  9743. "type": "string"
  9744. },
  9745. "enumdicname": {
  9746. "description": "单位名称",
  9747. "type": "string"
  9748. },
  9749. "evaluateratio": {
  9750. "description": "估价系数",
  9751. "type": "number"
  9752. },
  9753. "goodsgroupid": {
  9754. "description": "关联期货品种ID",
  9755. "type": "integer"
  9756. },
  9757. "isvalid": {
  9758. "description": "状态 0-无效(停用) 1-有效(正常)",
  9759. "type": "integer"
  9760. },
  9761. "middlegoodscode": {
  9762. "description": "套保品种代码",
  9763. "type": "string"
  9764. },
  9765. "middlegoodsid": {
  9766. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  9767. "type": "integer"
  9768. },
  9769. "middlegoodsname": {
  9770. "description": "套保品种名称",
  9771. "type": "string"
  9772. },
  9773. "modifytime": {
  9774. "description": "修改时间",
  9775. "type": "string"
  9776. },
  9777. "needhedgeratio": {
  9778. "description": "套保比率",
  9779. "type": "number"
  9780. },
  9781. "qtydecimalplace": {
  9782. "description": "数量小数位",
  9783. "type": "integer"
  9784. },
  9785. "relatedgoodsid": {
  9786. "description": "关联交易商品ID",
  9787. "type": "integer"
  9788. },
  9789. "relatedgoodstype": {
  9790. "description": "关联商品类型 - 1:期货合约 2:现货品种",
  9791. "type": "integer"
  9792. },
  9793. "remark": {
  9794. "description": "备注",
  9795. "type": "string"
  9796. }
  9797. }
  9798. },
  9799. "ermcp.QryOPLogRsp": {
  9800. "type": "object",
  9801. "properties": {
  9802. "aftervalue": {
  9803. "description": "变更后",
  9804. "type": "number"
  9805. },
  9806. "applyid": {
  9807. "description": "操作人ID",
  9808. "type": "string"
  9809. },
  9810. "applyname": {
  9811. "description": "操作人名称",
  9812. "type": "string"
  9813. },
  9814. "beforevalue": {
  9815. "description": "变更前",
  9816. "type": "number"
  9817. },
  9818. "biztype": {
  9819. "description": "业务类型 - 1:套保计划 2:现货合同",
  9820. "type": "integer"
  9821. },
  9822. "contracttype": {
  9823. "description": "现货合同类型 - 1:采购 -1:销售",
  9824. "type": "integer"
  9825. },
  9826. "logvalue": {
  9827. "description": "数值",
  9828. "type": "number"
  9829. },
  9830. "operatelogtype": {
  9831. "description": "操作流水类型",
  9832. "type": "integer"
  9833. },
  9834. "operatelogtypedesc": {
  9835. "description": "操作流水类型名称",
  9836. "type": "string"
  9837. },
  9838. "relatedid": {
  9839. "description": "现货合同ID\\套保计划",
  9840. "type": "string"
  9841. },
  9842. "updatetime": {
  9843. "description": "更新时间",
  9844. "type": "string"
  9845. }
  9846. }
  9847. },
  9848. "ermcp.QryReportDaySpotDetailRsp": {
  9849. "type": "object",
  9850. "properties": {
  9851. "applyid": {
  9852. "description": "操作人",
  9853. "type": "integer"
  9854. },
  9855. "applyname": {
  9856. "description": "操作人名称",
  9857. "type": "string"
  9858. },
  9859. "biztype": {
  9860. "description": "业务类型 - 1:套保计划 2:现货合同",
  9861. "type": "integer"
  9862. },
  9863. "brandname": {
  9864. "description": "品牌名称",
  9865. "type": "string"
  9866. },
  9867. "contracttype": {
  9868. "description": "现货合同类型 - 1:采购 -1:销售",
  9869. "type": "integer"
  9870. },
  9871. "enumdicName": {
  9872. "description": "单位名称",
  9873. "type": "string"
  9874. },
  9875. "logdatetime": {
  9876. "description": "流水日期(时间)",
  9877. "type": "string"
  9878. },
  9879. "logid": {
  9880. "description": "流水ID(604+Unix秒时间戳(10位)+xxxxxx)",
  9881. "type": "string"
  9882. },
  9883. "logtypename": {
  9884. "description": "合同类型(名称)",
  9885. "type": "string"
  9886. },
  9887. "logvalue": {
  9888. "description": "数值",
  9889. "type": "string"
  9890. },
  9891. "modelname": {
  9892. "description": "型号名称",
  9893. "type": "string"
  9894. },
  9895. "operatelogtype": {
  9896. "description": "操作流水类型 -",
  9897. "type": "integer"
  9898. },
  9899. "optypename": {
  9900. "description": "流水类型名称",
  9901. "type": "string"
  9902. },
  9903. "relatedid": {
  9904. "description": "现货合同ID\\套保计划",
  9905. "type": "string"
  9906. },
  9907. "relatedno": {
  9908. "description": "合同编号",
  9909. "type": "string"
  9910. },
  9911. "tradedate": {
  9912. "description": "交易日(yyyyMMdd)",
  9913. "type": "string"
  9914. },
  9915. "userid": {
  9916. "description": "机构ID",
  9917. "type": "integer"
  9918. },
  9919. "wrstandardcode": {
  9920. "description": "现货商品代码",
  9921. "type": "string"
  9922. },
  9923. "wrstandardid": {
  9924. "description": "现货商品ID",
  9925. "type": "integer"
  9926. },
  9927. "wrstandardname": {
  9928. "description": "现货商品名称",
  9929. "type": "string"
  9930. }
  9931. }
  9932. },
  9933. "ermcp.QryReportExposureDayRsp": {
  9934. "type": "object",
  9935. "properties": {
  9936. "areauserid": {
  9937. "description": "所属机构",
  9938. "type": "integer"
  9939. },
  9940. "buyfutureqty": {
  9941. "description": "买入期货数量",
  9942. "type": "number"
  9943. },
  9944. "buyplanqty": {
  9945. "description": "采购计划数量",
  9946. "type": "number"
  9947. },
  9948. "buypricedqty": {
  9949. "description": "采购合同已定价数量",
  9950. "type": "number"
  9951. },
  9952. "diffFutuQty": {
  9953. "description": "今日变动量(期货) = (买入 - 买入期初) - (卖出 - 卖出期初)",
  9954. "type": "number"
  9955. },
  9956. "diffSpotQty": {
  9957. "description": "今日变动量(现货) = 现货数量 - 期初现货数量",
  9958. "type": "number"
  9959. },
  9960. "enumdicname": {
  9961. "description": "单位名称",
  9962. "type": "string"
  9963. },
  9964. "middlegoodscode": {
  9965. "description": "套保品种代码",
  9966. "type": "string"
  9967. },
  9968. "middlegoodshedgeratio": {
  9969. "description": "应套保比例",
  9970. "type": "number"
  9971. },
  9972. "middlegoodsid": {
  9973. "description": "套保品种ID",
  9974. "type": "integer"
  9975. },
  9976. "middlegoodsname": {
  9977. "description": "套保品种名称",
  9978. "type": "string"
  9979. },
  9980. "needhedgeexposoure": {
  9981. "description": "应套保敞口",
  9982. "type": "number"
  9983. },
  9984. "needhedgeratio": {
  9985. "description": "应套保敞口比例",
  9986. "type": "number"
  9987. },
  9988. "oriTotalFutuQty": {
  9989. "description": "期初期货数量=期初买入期货数量-期初卖出期货数量",
  9990. "type": "number"
  9991. },
  9992. "oriTotalSpotQty": {
  9993. "description": "期初现货数量=(期初销售计划数量-期初销售合同已定价数量)-(期初采购计划数量-期初采购合同已定价数量)",
  9994. "type": "number"
  9995. },
  9996. "oribuyfutureqty": {
  9997. "description": "期初买入期货数量",
  9998. "type": "number"
  9999. },
  10000. "oribuyplanqty": {
  10001. "description": "期初采购计划数量",
  10002. "type": "number"
  10003. },
  10004. "oribuypricedqty": {
  10005. "description": "期初采购合同已定价数量",
  10006. "type": "number"
  10007. },
  10008. "orisellfutureqty": {
  10009. "description": "期初卖出期货数量",
  10010. "type": "number"
  10011. },
  10012. "orisellplanqty": {
  10013. "description": "期初销售计划数量",
  10014. "type": "number"
  10015. },
  10016. "orisellpricedqty": {
  10017. "description": "期初销售合同已定价数量",
  10018. "type": "number"
  10019. },
  10020. "reckondate": {
  10021. "description": "日照时期(yyyyMMdd)",
  10022. "type": "string"
  10023. },
  10024. "sellfutureqty": {
  10025. "description": "卖出期货数量",
  10026. "type": "number"
  10027. },
  10028. "sellplanqty": {
  10029. "description": "销售计划数量",
  10030. "type": "number"
  10031. },
  10032. "sellpricedqty": {
  10033. "description": "销售合同已定价数量",
  10034. "type": "number"
  10035. },
  10036. "totalexposure": {
  10037. "description": "总敞口",
  10038. "type": "number"
  10039. },
  10040. "totalfutureqty": {
  10041. "description": "期货数量",
  10042. "type": "number"
  10043. },
  10044. "totalhedgeratio": {
  10045. "description": "敞口比例",
  10046. "type": "number"
  10047. },
  10048. "totalneedhedgeqty": {
  10049. "description": "期货应套保量",
  10050. "type": "number"
  10051. },
  10052. "totalspotqty": {
  10053. "description": "现货数量",
  10054. "type": "number"
  10055. }
  10056. }
  10057. },
  10058. "ermcp.QryReportFinanceDayRsp": {
  10059. "type": "object",
  10060. "properties": {
  10061. "areauserid": {
  10062. "description": "所属机构",
  10063. "type": "integer"
  10064. },
  10065. "collectinvoiceamount": {
  10066. "description": "今日开票金额",
  10067. "type": "number"
  10068. },
  10069. "collectinvoicecount": {
  10070. "description": "今日开票笔数",
  10071. "type": "integer"
  10072. },
  10073. "collectmoneyamount": {
  10074. "description": "今日收款金额",
  10075. "type": "number"
  10076. },
  10077. "collectmoneycount": {
  10078. "description": "今日收款笔数",
  10079. "type": "integer"
  10080. },
  10081. "payinvoiceamount": {
  10082. "description": "今日收票金额",
  10083. "type": "number"
  10084. },
  10085. "payinvoicecount": {
  10086. "description": "今日收票笔数",
  10087. "type": "integer"
  10088. },
  10089. "paymoneyamount": {
  10090. "description": "今日付款金额",
  10091. "type": "number"
  10092. },
  10093. "paymoneycount": {
  10094. "description": "今日付款笔数",
  10095. "type": "integer"
  10096. },
  10097. "reckondate": {
  10098. "description": "日照时期(yyyyMMdd)",
  10099. "type": "string"
  10100. },
  10101. "updatetime": {
  10102. "description": "更新时间",
  10103. "type": "string"
  10104. }
  10105. }
  10106. },
  10107. "ermcp.QryReportFinanceKxRsp": {
  10108. "type": "object",
  10109. "properties": {
  10110. "applyid": {
  10111. "description": "操作人",
  10112. "type": "integer"
  10113. },
  10114. "applyname": {
  10115. "description": "操作人名称",
  10116. "type": "string"
  10117. },
  10118. "biztype": {
  10119. "description": "业务类型 - 1:套保计划 2:现货合同",
  10120. "type": "integer"
  10121. },
  10122. "brandname": {
  10123. "description": "品牌名称",
  10124. "type": "string"
  10125. },
  10126. "contracttype": {
  10127. "description": "现货合同类型 - 1:采购 -1:销售",
  10128. "type": "integer"
  10129. },
  10130. "enumdicName": {
  10131. "description": "单位名称",
  10132. "type": "string"
  10133. },
  10134. "logdatetime": {
  10135. "description": "流水日期(时间)",
  10136. "type": "string"
  10137. },
  10138. "logid": {
  10139. "description": "流水ID(604+Unix秒时间戳(10位)+xxxxxx)",
  10140. "type": "string"
  10141. },
  10142. "logtypename": {
  10143. "description": "合同类型(名称)",
  10144. "type": "string"
  10145. },
  10146. "logvalue": {
  10147. "description": "数值",
  10148. "type": "string"
  10149. },
  10150. "modelname": {
  10151. "description": "型号名称",
  10152. "type": "string"
  10153. },
  10154. "operatelogtype": {
  10155. "description": "操作流水类型 -",
  10156. "type": "integer"
  10157. },
  10158. "optypename": {
  10159. "description": "流水类型名称",
  10160. "type": "string"
  10161. },
  10162. "relatedid": {
  10163. "description": "现货合同ID\\套保计划",
  10164. "type": "string"
  10165. },
  10166. "relatedno": {
  10167. "description": "合同编号",
  10168. "type": "string"
  10169. },
  10170. "tradedate": {
  10171. "description": "交易日(yyyyMMdd)",
  10172. "type": "string"
  10173. },
  10174. "userid": {
  10175. "description": "机构ID",
  10176. "type": "integer"
  10177. },
  10178. "wrstandardcode": {
  10179. "description": "现货商品代码",
  10180. "type": "string"
  10181. },
  10182. "wrstandardid": {
  10183. "description": "现货商品ID",
  10184. "type": "integer"
  10185. },
  10186. "wrstandardname": {
  10187. "description": "现货商品名称",
  10188. "type": "string"
  10189. }
  10190. }
  10191. },
  10192. "ermcp.QryReportFinanceMonRsp": {
  10193. "type": "object",
  10194. "properties": {
  10195. "areauserid": {
  10196. "description": "所属机构【原值】",
  10197. "type": "integer"
  10198. },
  10199. "collectinvoiceamount": {
  10200. "description": "今日开票金额【汇总】",
  10201. "type": "number"
  10202. },
  10203. "collectinvoicecount": {
  10204. "description": "今日开票笔数【汇总】",
  10205. "type": "integer"
  10206. },
  10207. "collectmoneyamount": {
  10208. "description": "今日收款金额【汇总】",
  10209. "type": "number"
  10210. },
  10211. "collectmoneycount": {
  10212. "description": "今日收款笔数 【汇总】",
  10213. "type": "integer"
  10214. },
  10215. "cycletime": {
  10216. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  10217. "type": "string"
  10218. },
  10219. "cycletype": {
  10220. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  10221. "type": "integer"
  10222. },
  10223. "dayFr": {
  10224. "description": "日报表明细",
  10225. "type": "array",
  10226. "items": {
  10227. "$ref": "#/definitions/models.ErmcpReportDayFR"
  10228. }
  10229. },
  10230. "payinvoiceamount": {
  10231. "description": "今日收票金额【汇总】",
  10232. "type": "number"
  10233. },
  10234. "payinvoicecount": {
  10235. "description": "今日收票笔数【汇总】",
  10236. "type": "integer"
  10237. },
  10238. "paymoneyamount": {
  10239. "description": "今日付款金额【汇总】",
  10240. "type": "number"
  10241. },
  10242. "paymoneycount": {
  10243. "description": "今日付款笔数【汇总】",
  10244. "type": "integer"
  10245. },
  10246. "updatetime": {
  10247. "description": "更新时间",
  10248. "type": "string"
  10249. }
  10250. }
  10251. },
  10252. "ermcp.QryReportSpotDayRsp": {
  10253. "type": "object",
  10254. "properties": {
  10255. "areauserid": {
  10256. "description": "所属机构T",
  10257. "type": "integer"
  10258. },
  10259. "buyinqty": {
  10260. "description": "采购入库量",
  10261. "type": "number"
  10262. },
  10263. "enumdicname": {
  10264. "description": "现货商品单位名称",
  10265. "type": "string"
  10266. },
  10267. "reckondate": {
  10268. "description": "日照时期(yyyyMMdd)",
  10269. "type": "string"
  10270. },
  10271. "selloutqty": {
  10272. "description": "销售出库量",
  10273. "type": "number"
  10274. },
  10275. "todaybuyreckonqty": {
  10276. "description": "采购确定量",
  10277. "type": "number"
  10278. },
  10279. "todaysellreckonqty": {
  10280. "description": "销售确定量",
  10281. "type": "number"
  10282. },
  10283. "totalbuypricedqty": {
  10284. "description": "采购定价量 = 期末 - 期初",
  10285. "type": "number"
  10286. },
  10287. "totalsellpricedqty": {
  10288. "description": "销售定价量 = 期末 - 期初",
  10289. "type": "number"
  10290. },
  10291. "wrstandardcode": {
  10292. "description": "现货商品代码",
  10293. "type": "string"
  10294. },
  10295. "wrstandardid": {
  10296. "description": "现货商品ID",
  10297. "type": "integer"
  10298. },
  10299. "wrstandardname": {
  10300. "description": "现货商品名称",
  10301. "type": "string"
  10302. }
  10303. }
  10304. },
  10305. "ermcp.QryReportSpotMonRsp": {
  10306. "type": "object",
  10307. "properties": {
  10308. "areauserid": {
  10309. "description": "所属机构T",
  10310. "type": "integer"
  10311. },
  10312. "buyinqty": {
  10313. "description": "采购入库量",
  10314. "type": "number"
  10315. },
  10316. "cycletime": {
  10317. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  10318. "type": "string"
  10319. },
  10320. "cycletype": {
  10321. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  10322. "type": "integer"
  10323. },
  10324. "enumdicname": {
  10325. "description": "现货商品单位名称",
  10326. "type": "string"
  10327. },
  10328. "selloutqty": {
  10329. "description": "销售出库量",
  10330. "type": "number"
  10331. },
  10332. "todaybuyreckonqty": {
  10333. "description": "采购确定量",
  10334. "type": "number"
  10335. },
  10336. "todaysellreckonqty": {
  10337. "description": "销售确定量",
  10338. "type": "number"
  10339. },
  10340. "totalbuypricedqty": {
  10341. "description": "采购定价量 = 期末 - 期初",
  10342. "type": "number"
  10343. },
  10344. "totalsellpricedqty": {
  10345. "description": "销售定价量 = 期末 - 期初",
  10346. "type": "number"
  10347. },
  10348. "wrstandardcode": {
  10349. "description": "现货商品代码",
  10350. "type": "string"
  10351. },
  10352. "wrstandardid": {
  10353. "description": "现货商品ID",
  10354. "type": "integer"
  10355. },
  10356. "wrstandardname": {
  10357. "description": "现货商品名称",
  10358. "type": "string"
  10359. }
  10360. }
  10361. },
  10362. "ermcp.QryReportSpotMonthDetailRsp": {
  10363. "type": "object",
  10364. "properties": {
  10365. "areauserid": {
  10366. "description": "所属机构T",
  10367. "type": "integer"
  10368. },
  10369. "buyinqty": {
  10370. "description": "采购入库量",
  10371. "type": "number"
  10372. },
  10373. "enumdicname": {
  10374. "description": "现货商品单位名称",
  10375. "type": "string"
  10376. },
  10377. "reckondate": {
  10378. "description": "日照时期(yyyyMMdd)",
  10379. "type": "string"
  10380. },
  10381. "selloutqty": {
  10382. "description": "销售出库量",
  10383. "type": "number"
  10384. },
  10385. "todaybuyreckonqty": {
  10386. "description": "采购确定量",
  10387. "type": "number"
  10388. },
  10389. "todaysellreckonqty": {
  10390. "description": "销售确定量",
  10391. "type": "number"
  10392. },
  10393. "totalbuypricedqty": {
  10394. "description": "采购定价量 = 期末 - 期初",
  10395. "type": "number"
  10396. },
  10397. "totalsellpricedqty": {
  10398. "description": "销售定价量 = 期末 - 期初",
  10399. "type": "number"
  10400. },
  10401. "wrstandardcode": {
  10402. "description": "现货商品代码",
  10403. "type": "string"
  10404. },
  10405. "wrstandardid": {
  10406. "description": "现货商品ID",
  10407. "type": "integer"
  10408. },
  10409. "wrstandardname": {
  10410. "description": "现货商品名称",
  10411. "type": "string"
  10412. }
  10413. }
  10414. },
  10415. "ermcp.QrySpotContractRsp": {
  10416. "type": "object",
  10417. "properties": {
  10418. "amount": {
  10419. "description": "金额 [1:一口价、3:暂定价]",
  10420. "type": "number"
  10421. },
  10422. "attachment": {
  10423. "description": "附件",
  10424. "type": "string"
  10425. },
  10426. "auditremark": {
  10427. "description": "审核意见",
  10428. "type": "string"
  10429. },
  10430. "audittime": {
  10431. "description": "审核时间",
  10432. "type": "string"
  10433. },
  10434. "brandname": {
  10435. "description": "品牌名称",
  10436. "type": "string"
  10437. },
  10438. "buyuserid": {
  10439. "description": "采购方ID",
  10440. "type": "integer"
  10441. },
  10442. "buyusername": {
  10443. "description": "采购方名称",
  10444. "type": "string"
  10445. },
  10446. "contracctstatus": {
  10447. "description": "合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  10448. "type": "integer"
  10449. },
  10450. "contractmargin": {
  10451. "description": "合同保证金",
  10452. "type": "number"
  10453. },
  10454. "contractno": {
  10455. "description": "现货合同编号",
  10456. "type": "string"
  10457. },
  10458. "contracttype": {
  10459. "description": "现货合同类型 - 1:采购 -1:销售",
  10460. "type": "integer"
  10461. },
  10462. "convertfactor": {
  10463. "description": "标仓系数",
  10464. "type": "number"
  10465. },
  10466. "createtime": {
  10467. "description": "创建时间",
  10468. "type": "string"
  10469. },
  10470. "deliveryenddate": {
  10471. "description": "交收期(结束)",
  10472. "type": "string"
  10473. },
  10474. "deliverygoodscode": {
  10475. "description": "现货品种代码",
  10476. "type": "string"
  10477. },
  10478. "deliverygoodsid": {
  10479. "description": "现货品种ID",
  10480. "type": "integer"
  10481. },
  10482. "deliverygoodsname": {
  10483. "description": "现货品种名称",
  10484. "type": "string"
  10485. },
  10486. "deliverystartdate": {
  10487. "description": "交收期(开始)",
  10488. "type": "string"
  10489. },
  10490. "enddate": {
  10491. "description": "点价结束日期 [2:点价 3:暂定价]",
  10492. "type": "string"
  10493. },
  10494. "enumdicname": {
  10495. "description": "单位名称",
  10496. "type": "string"
  10497. },
  10498. "goodscode": {
  10499. "description": "点价合约代码",
  10500. "type": "string"
  10501. },
  10502. "goodsid": {
  10503. "description": "点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]",
  10504. "type": "integer"
  10505. },
  10506. "goodsname": {
  10507. "description": "点价商品名称",
  10508. "type": "string"
  10509. },
  10510. "margin": {
  10511. "description": "当前保证金",
  10512. "type": "number"
  10513. },
  10514. "modelname": {
  10515. "description": "型号名称",
  10516. "type": "string"
  10517. },
  10518. "price": {
  10519. "description": "价格\\暂定价 [1:一口价、3:暂定价]",
  10520. "type": "number"
  10521. },
  10522. "pricemove": {
  10523. "description": "升贴水 [2:点价 3:暂定价]",
  10524. "type": "number"
  10525. },
  10526. "pricetype": {
  10527. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  10528. "type": "integer"
  10529. },
  10530. "producttype": {
  10531. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  10532. "type": "integer"
  10533. },
  10534. "qty": {
  10535. "description": "数量",
  10536. "type": "number"
  10537. },
  10538. "remark": {
  10539. "description": "备注",
  10540. "type": "string"
  10541. },
  10542. "selluserid": {
  10543. "description": "销售方ID",
  10544. "type": "integer"
  10545. },
  10546. "sellusername": {
  10547. "description": "销售方名称",
  10548. "type": "string"
  10549. },
  10550. "spotcontractid": {
  10551. "description": "现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)",
  10552. "type": "string"
  10553. },
  10554. "spotgoodsbrandid": {
  10555. "description": "现货品牌ID",
  10556. "type": "integer"
  10557. },
  10558. "spotgoodsdesc": {
  10559. "description": "商品型号",
  10560. "type": "string"
  10561. },
  10562. "spotgoodsmodelid": {
  10563. "description": "现货型号ID",
  10564. "type": "integer"
  10565. },
  10566. "startdate": {
  10567. "description": "点价开始日期 [2:点价 3:暂定价]",
  10568. "type": "string"
  10569. },
  10570. "updatetime": {
  10571. "description": "更新时间",
  10572. "type": "string"
  10573. },
  10574. "userid": {
  10575. "description": "机构ID",
  10576. "type": "integer"
  10577. },
  10578. "wrstandardcode": {
  10579. "description": "现货商品代码",
  10580. "type": "string"
  10581. },
  10582. "wrstandardid": {
  10583. "description": "现货商品ID",
  10584. "type": "integer"
  10585. },
  10586. "wrstandardname": {
  10587. "description": "现货商品名称",
  10588. "type": "string"
  10589. }
  10590. }
  10591. },
  10592. "ermcp.QryUserInfoRsp": {
  10593. "type": "object",
  10594. "properties": {
  10595. "address": {
  10596. "description": "通讯地址",
  10597. "type": "string"
  10598. },
  10599. "attachment1": {
  10600. "description": "附件1",
  10601. "type": "string"
  10602. },
  10603. "audittime": {
  10604. "description": "审核时间",
  10605. "type": "string"
  10606. },
  10607. "cardfrontphotourl": {
  10608. "description": "证件正面图片地址",
  10609. "type": "string"
  10610. },
  10611. "cardnum": {
  10612. "description": "证件号码",
  10613. "type": "string"
  10614. },
  10615. "cardtype": {
  10616. "description": "证件类型",
  10617. "type": "integer"
  10618. },
  10619. "cardtypename": {
  10620. "description": "证件类型名称",
  10621. "type": "string"
  10622. },
  10623. "cityid": {
  10624. "description": "市",
  10625. "type": "integer"
  10626. },
  10627. "countryid": {
  10628. "description": "国家",
  10629. "type": "integer"
  10630. },
  10631. "createtime": {
  10632. "description": "创建时间",
  10633. "type": "string"
  10634. },
  10635. "customername": {
  10636. "description": "企业名称",
  10637. "type": "string"
  10638. },
  10639. "districtid": {
  10640. "description": "区域",
  10641. "type": "integer"
  10642. },
  10643. "memberuserid": {
  10644. "description": "所属机构ID",
  10645. "type": "integer"
  10646. },
  10647. "mobile": {
  10648. "description": "手机号码",
  10649. "type": "string"
  10650. },
  10651. "modifytime": {
  10652. "description": "修改时间",
  10653. "type": "string"
  10654. },
  10655. "provinceid": {
  10656. "description": "省",
  10657. "type": "integer"
  10658. },
  10659. "remark": {
  10660. "description": "备注",
  10661. "type": "string"
  10662. },
  10663. "status": {
  10664. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销",
  10665. "type": "integer"
  10666. },
  10667. "statusdesc": {
  10668. "description": "账户状态中文描述",
  10669. "type": "string"
  10670. },
  10671. "telphone": {
  10672. "description": "联系电话",
  10673. "type": "string"
  10674. },
  10675. "userid": {
  10676. "description": "用户ID",
  10677. "type": "integer"
  10678. },
  10679. "userinfotype": {
  10680. "description": "客户类型",
  10681. "type": "string"
  10682. }
  10683. }
  10684. },
  10685. "ermcp.QryWarehouseRsp": {
  10686. "type": "object",
  10687. "properties": {
  10688. "address": {
  10689. "description": "详细地址",
  10690. "type": "string"
  10691. },
  10692. "areauserid": {
  10693. "description": "所属机构",
  10694. "type": "integer"
  10695. },
  10696. "autoid": {
  10697. "description": "自增ID(仓库ID)",
  10698. "type": "integer"
  10699. },
  10700. "cityid": {
  10701. "description": "市",
  10702. "type": "integer"
  10703. },
  10704. "contactname": {
  10705. "description": "联系人",
  10706. "type": "string"
  10707. },
  10708. "contactnum": {
  10709. "description": "联系电话",
  10710. "type": "string"
  10711. },
  10712. "countryid": {
  10713. "description": "国家",
  10714. "type": "integer"
  10715. },
  10716. "createtime": {
  10717. "description": "创建时间",
  10718. "type": "string"
  10719. },
  10720. "districtid": {
  10721. "description": "区",
  10722. "type": "integer"
  10723. },
  10724. "hasvideo": {
  10725. "description": "是否有视频 - 0:无 1:有",
  10726. "type": "integer"
  10727. },
  10728. "provinceid": {
  10729. "description": "省",
  10730. "type": "integer"
  10731. },
  10732. "remark": {
  10733. "description": "审核备注",
  10734. "type": "string"
  10735. },
  10736. "videourl": {
  10737. "description": "视频地址",
  10738. "type": "string"
  10739. },
  10740. "warehousecode": {
  10741. "description": "仓库代码",
  10742. "type": "string"
  10743. },
  10744. "warehousename": {
  10745. "description": "仓库名称",
  10746. "type": "string"
  10747. },
  10748. "warehousestatus": {
  10749. "description": "仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝",
  10750. "type": "integer"
  10751. },
  10752. "warehousetype": {
  10753. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  10754. "type": "integer"
  10755. }
  10756. }
  10757. },
  10758. "ermcp.QryWrStandardDetailRsp": {
  10759. "type": "object",
  10760. "properties": {
  10761. "gbList": {
  10762. "description": "品牌列表",
  10763. "type": "array",
  10764. "items": {
  10765. "$ref": "#/definitions/models.GoodsBrand"
  10766. }
  10767. },
  10768. "goodsList": {
  10769. "description": "关联交易商品列表",
  10770. "type": "array",
  10771. "items": {
  10772. "$ref": "#/definitions/models.RelatedGoodsEx"
  10773. }
  10774. },
  10775. "gtList": {
  10776. "description": "型号列表",
  10777. "type": "array",
  10778. "items": {
  10779. "$ref": "#/definitions/models.GoodsTypeModel"
  10780. }
  10781. },
  10782. "wrd": {
  10783. "description": "基本信息",
  10784. "$ref": "#/definitions/models.ErmcpWrstandard"
  10785. },
  10786. "wrsList": {
  10787. "description": "套保信息列表",
  10788. "type": "array",
  10789. "items": {
  10790. "$ref": "#/definitions/models.WRSConverTDetail"
  10791. }
  10792. }
  10793. }
  10794. },
  10795. "ermcp.QryWrStandardRsp": {
  10796. "type": "object",
  10797. "properties": {
  10798. "areauserid": {
  10799. "description": "所属机构",
  10800. "type": "integer"
  10801. },
  10802. "createtime": {
  10803. "description": "创建时间",
  10804. "type": "string"
  10805. },
  10806. "creatorid": {
  10807. "description": "创建人",
  10808. "type": "integer"
  10809. },
  10810. "deliverygoodsid": {
  10811. "description": "品种ID",
  10812. "type": "integer"
  10813. },
  10814. "enumdicname": {
  10815. "description": "单位名称",
  10816. "type": "string"
  10817. },
  10818. "isvalid": {
  10819. "description": "是否有效 0-无效(停用) 1-有效(正常)",
  10820. "type": "integer"
  10821. },
  10822. "minivalue": {
  10823. "description": "最小变动值",
  10824. "type": "integer"
  10825. },
  10826. "minivaluedp": {
  10827. "description": "最小变动值小数位",
  10828. "type": "integer"
  10829. },
  10830. "realminivalue": {
  10831. "description": "实际最小变动值",
  10832. "type": "integer"
  10833. },
  10834. "realminivaluedp": {
  10835. "description": "实际最小变动值小数位",
  10836. "type": "integer"
  10837. },
  10838. "remark": {
  10839. "description": "备注",
  10840. "type": "string"
  10841. },
  10842. "unitid": {
  10843. "description": "单位ID",
  10844. "type": "integer"
  10845. },
  10846. "updatetime": {
  10847. "description": "更新时间",
  10848. "type": "string"
  10849. },
  10850. "wrstandardcode": {
  10851. "description": "现货商品代码",
  10852. "type": "string"
  10853. },
  10854. "wrstandardid": {
  10855. "description": "现货商品ID(SEQ_WRSTANDARD)",
  10856. "type": "integer"
  10857. },
  10858. "wrstandardname": {
  10859. "description": "现货商品名称",
  10860. "type": "string"
  10861. }
  10862. }
  10863. },
  10864. "ermcp.QueryAreaStockApplySumRsp": {
  10865. "type": "object",
  10866. "properties": {
  10867. "brandname": {
  10868. "description": "品牌名称",
  10869. "type": "string"
  10870. },
  10871. "inouttype": {
  10872. "description": "出入库类型 - 1:采购入库 2:销售出库 3:生产入库 4:生产出库",
  10873. "type": "integer"
  10874. },
  10875. "modelname": {
  10876. "description": "型号名称",
  10877. "type": "string"
  10878. },
  10879. "spotcontractid": {
  10880. "description": "关联现货合同ID",
  10881. "type": "string"
  10882. },
  10883. "spotgoodsbrandid": {
  10884. "description": "品牌id",
  10885. "type": "integer"
  10886. },
  10887. "spotgoodsmodelid": {
  10888. "description": "型号id",
  10889. "type": "integer"
  10890. },
  10891. "totalqty": {
  10892. "description": "总数量",
  10893. "type": "number"
  10894. }
  10895. }
  10896. },
  10897. "ermcp.QueryErmcpTradePositionRsp": {
  10898. "type": "object",
  10899. "properties": {
  10900. "agreeunit": {
  10901. "description": "合约单位",
  10902. "type": "number"
  10903. },
  10904. "buyorsell": {
  10905. "description": "方向 - 0:买 1:卖",
  10906. "type": "integer"
  10907. },
  10908. "curpositionqty": {
  10909. "description": "持仓(总仓数量, 期末头寸)",
  10910. "type": "integer"
  10911. },
  10912. "curtdposition": {
  10913. "description": "今仓数量(期末今日头寸)",
  10914. "type": "integer"
  10915. },
  10916. "curtdpositionenabled": {
  10917. "description": "今仓可用",
  10918. "type": "integer"
  10919. },
  10920. "decimalplace": {
  10921. "description": "报价小数位",
  10922. "type": "integer"
  10923. },
  10924. "enableqty": {
  10925. "description": "可用(总仓可用)",
  10926. "type": "integer"
  10927. },
  10928. "exexchangename": {
  10929. "description": "外部交易所名称",
  10930. "type": "string"
  10931. },
  10932. "goodscode": {
  10933. "description": "商品代码(内部)",
  10934. "type": "string"
  10935. },
  10936. "goodsid": {
  10937. "description": "商品ID(自增ID SEQ_GOODS)",
  10938. "type": "integer"
  10939. },
  10940. "goodsname": {
  10941. "description": "商品名称",
  10942. "type": "string"
  10943. },
  10944. "last": {
  10945. "description": "现价",
  10946. "type": "number"
  10947. },
  10948. "marketid": {
  10949. "description": "所属市场ID",
  10950. "type": "integer"
  10951. },
  10952. "openaverageprice": {
  10953. "description": "开仓均价【头寸变化更新】 = 开仓成本 / 期末头寸 / 合约单位",
  10954. "type": "number"
  10955. },
  10956. "opencost": {
  10957. "description": "开仓成本",
  10958. "type": "number"
  10959. },
  10960. "openpl": {
  10961. "description": "逐笔浮盈【实时行情更新】(MTP:开仓盈亏、平仓盈亏) 买方向 = (最新价 - 开仓均价) * 买期末头寸 * 合约单位;卖方向 = (开仓均价 - 最新价) * 卖期末头寸 * 合约单位",
  10962. "type": "number"
  10963. },
  10964. "outgoodscode": {
  10965. "description": "商品代码(外部)",
  10966. "type": "string"
  10967. },
  10968. "positionaverageprice": {
  10969. "description": "持仓均价【头寸变化更新】= 持仓成本 / 期末头寸 / 合约单位",
  10970. "type": "number"
  10971. },
  10972. "positioncost": {
  10973. "description": "持仓成本",
  10974. "type": "number"
  10975. },
  10976. "positionpl": {
  10977. "description": "盯市浮盈【实时行情更新】(MTP:浮动盈亏、持仓盈亏) 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向 = (持仓均价 - 最新价) * 卖期末头寸 * 合约单位",
  10978. "type": "number"
  10979. },
  10980. "positionplrate": {
  10981. "description": "持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本",
  10982. "type": "number"
  10983. },
  10984. "usedmargin": {
  10985. "description": "占用保证金",
  10986. "type": "number"
  10987. }
  10988. }
  10989. },
  10990. "ermcp.RealtimeExposurePositionRsp": {
  10991. "type": "object",
  10992. "properties": {
  10993. "agreeunit": {
  10994. "description": "合约单位",
  10995. "type": "string"
  10996. },
  10997. "areauserid": {
  10998. "description": "所属机构id",
  10999. "type": "integer"
  11000. },
  11001. "convertratio": {
  11002. "description": "期货品种系数(折算系数)",
  11003. "type": "number"
  11004. },
  11005. "curqty": {
  11006. "description": "当前持仓",
  11007. "type": "integer"
  11008. },
  11009. "diffhedgeqty": {
  11010. "description": "套保品种变动量=持仓变动量*期货合约单位*期货品种系数",
  11011. "type": "number"
  11012. },
  11013. "diffqty": {
  11014. "description": "持仓变动量=当前持仓-昨日持仓",
  11015. "type": "integer"
  11016. },
  11017. "goodscode": {
  11018. "description": "商品代码",
  11019. "type": "string"
  11020. },
  11021. "goodsid": {
  11022. "description": "商品id",
  11023. "type": "integer"
  11024. },
  11025. "goodsname": {
  11026. "description": "商品名称",
  11027. "type": "string"
  11028. },
  11029. "middlegoodsid": {
  11030. "description": "套保商品id",
  11031. "type": "integer"
  11032. },
  11033. "ydqty": {
  11034. "description": "昨日持仓",
  11035. "type": "integer"
  11036. }
  11037. }
  11038. },
  11039. "ermcp.RealtimeExposureRsp": {
  11040. "type": "object",
  11041. "properties": {
  11042. "AreaUserID": {
  11043. "description": "所属机构",
  11044. "type": "integer"
  11045. },
  11046. "BuyFutureQty": {
  11047. "description": "买入期货数量",
  11048. "type": "number"
  11049. },
  11050. "BuyPlanQty": {
  11051. "description": "采购计划数量",
  11052. "type": "number"
  11053. },
  11054. "BuyPricedQty": {
  11055. "description": "采购合同已定价数量",
  11056. "type": "number"
  11057. },
  11058. "MiddleGoodsCode": {
  11059. "description": "套保品种代码",
  11060. "type": "string"
  11061. },
  11062. "MiddleGoodsHedgeRatio": {
  11063. "description": "应套保比例",
  11064. "type": "number"
  11065. },
  11066. "MiddleGoodsID": {
  11067. "description": "套保品种",
  11068. "type": "integer"
  11069. },
  11070. "MiddleGoodsName": {
  11071. "description": "套保品种名称",
  11072. "type": "string"
  11073. },
  11074. "NeedHedgeExposoure": {
  11075. "description": "应套保敞口",
  11076. "type": "number"
  11077. },
  11078. "NeedHedgeRatio": {
  11079. "description": "应套保敞口比例",
  11080. "type": "number"
  11081. },
  11082. "OriBuyFutureQty": {
  11083. "description": "期初买入期货数量",
  11084. "type": "number"
  11085. },
  11086. "OriBuyPlanQty": {
  11087. "description": "期初采购计划数量",
  11088. "type": "number"
  11089. },
  11090. "OriBuyPricedQty": {
  11091. "description": "期初采购合同已定价数量",
  11092. "type": "number"
  11093. },
  11094. "OriSellFutureQty": {
  11095. "description": "期初卖出期货数量",
  11096. "type": "number"
  11097. },
  11098. "OriSellPlanQty": {
  11099. "description": "期初销售计划数量",
  11100. "type": "number"
  11101. },
  11102. "OriSellPricedQty": {
  11103. "description": "期初销售合同已定价数量",
  11104. "type": "number"
  11105. },
  11106. "SellFutureQty": {
  11107. "description": "卖出期货数量",
  11108. "type": "number"
  11109. },
  11110. "SellPlanQty": {
  11111. "description": "销售计划数量",
  11112. "type": "number"
  11113. },
  11114. "SellPricedQty": {
  11115. "description": "销售合同已定价数量",
  11116. "type": "number"
  11117. },
  11118. "TotalExposure": {
  11119. "description": "总敞口",
  11120. "type": "number"
  11121. },
  11122. "TotalFutureQty": {
  11123. "description": "期货数量",
  11124. "type": "number"
  11125. },
  11126. "TotalHedgeRatio": {
  11127. "description": "敞口比例",
  11128. "type": "number"
  11129. },
  11130. "TotalNeedHedgeQty": {
  11131. "description": "期货应套保量",
  11132. "type": "number"
  11133. },
  11134. "TotalSpotQty": {
  11135. "description": "现货数量",
  11136. "type": "number"
  11137. },
  11138. "diffFutuQty": {
  11139. "description": "今日变动量(期货) = (买入 - 买入期初) - (卖出 - 卖出期初)",
  11140. "type": "number"
  11141. },
  11142. "diffSpotQty": {
  11143. "description": "今日变动量(现货) = 现货数量 - 期初现货数量",
  11144. "type": "number"
  11145. },
  11146. "enumdicname": {
  11147. "description": "单位名称",
  11148. "type": "string"
  11149. },
  11150. "oriTotalFutuQty": {
  11151. "description": "期初期货数量=期初买入期货数量-期初卖出期货数量",
  11152. "type": "number"
  11153. },
  11154. "oriTotalSpotQty": {
  11155. "description": "期初现货数量=(期初销售计划数量-期初销售合同已定价数量)-(期初采购计划数量-期初采购合同已定价数量)",
  11156. "type": "number"
  11157. }
  11158. }
  11159. },
  11160. "erms2.QueryArbitrageStrategyRsp": {
  11161. "type": "object",
  11162. "required": [
  11163. "asapplyid"
  11164. ],
  11165. "properties": {
  11166. "applybasis": {
  11167. "description": "申请基差",
  11168. "type": "number"
  11169. },
  11170. "asapplyid": {
  11171. "description": "策略申请ID(702+Unix秒时间戳(10位)+xxxxxx)",
  11172. "type": "string"
  11173. },
  11174. "asname": {
  11175. "description": "策略名称",
  11176. "type": "string"
  11177. },
  11178. "asno": {
  11179. "description": "策略编号",
  11180. "type": "string"
  11181. },
  11182. "basischangepl": {
  11183. "description": "基差变动损益[结算更新]",
  11184. "type": "number"
  11185. },
  11186. "biztype": {
  11187. "description": "业务类型 - 1:正向套利 -1:反向套利",
  11188. "type": "integer"
  11189. },
  11190. "closetradedate": {
  11191. "description": "完结交易日(yyyyMMdd)",
  11192. "type": "string"
  11193. },
  11194. "curbasis": {
  11195. "description": "当前基差[结算更新]",
  11196. "type": "number"
  11197. },
  11198. "deliverygoodsid": {
  11199. "description": "现货品种ID",
  11200. "type": "integer"
  11201. },
  11202. "futureavgprice": {
  11203. "description": "期货建仓均价",
  11204. "type": "number"
  11205. },
  11206. "futurecloseamount": {
  11207. "description": "期货平仓金额",
  11208. "type": "number"
  11209. },
  11210. "futurecloseqty": {
  11211. "description": "期货平仓数量",
  11212. "type": "number"
  11213. },
  11214. "futureopenamount": {
  11215. "description": "期货开仓金额",
  11216. "type": "number"
  11217. },
  11218. "futureopenqty": {
  11219. "description": "期货开仓数量",
  11220. "type": "number"
  11221. },
  11222. "futurepl": {
  11223. "description": "期货总盈亏[结算更新]",
  11224. "type": "number"
  11225. },
  11226. "futureqty": {
  11227. "description": "期货持仓数量",
  11228. "type": "number"
  11229. },
  11230. "futurequote": {
  11231. "description": "期货额度",
  11232. "type": "number"
  11233. },
  11234. "goodsgroupid": {
  11235. "description": "期货品种ID",
  11236. "type": "integer"
  11237. },
  11238. "marketid": {
  11239. "description": "市场ID",
  11240. "type": "integer"
  11241. },
  11242. "netexposure": {
  11243. "description": "单笔业务头寸净敞口 = 期货持仓数量 + 已定价现货不含税数量",
  11244. "type": "number"
  11245. },
  11246. "netexposurepl": {
  11247. "description": "净敞口损益 = TotalPL - BasisChangePL[结算更新]",
  11248. "type": "number"
  11249. },
  11250. "netexposurerate": {
  11251. "description": "净敞口比例 - 0:未结束 = (NetExposure/PriceSpotQtyNoTax) ; 已结束为0",
  11252. "type": "number"
  11253. },
  11254. "openbasis": {
  11255. "description": "建仓基差",
  11256. "type": "number"
  11257. },
  11258. "pricedspotqty": {
  11259. "description": "已定价现货数量",
  11260. "type": "number"
  11261. },
  11262. "pricedspotqtynotax": {
  11263. "description": "已定价现货不含税数量",
  11264. "type": "number"
  11265. },
  11266. "remark": {
  11267. "description": "备注",
  11268. "type": "string"
  11269. },
  11270. "spotavgprice": {
  11271. "description": "现货均价",
  11272. "type": "number"
  11273. },
  11274. "spotbuyamount": {
  11275. "description": "现货采购金额",
  11276. "type": "number"
  11277. },
  11278. "spotbuyqty": {
  11279. "description": "现货采购数量",
  11280. "type": "number"
  11281. },
  11282. "spotpl": {
  11283. "description": "现货总盈亏[结算更新]",
  11284. "type": "number"
  11285. },
  11286. "spotquota": {
  11287. "description": "现货额度",
  11288. "type": "number"
  11289. },
  11290. "spotsellamount": {
  11291. "description": "现货销售金额",
  11292. "type": "number"
  11293. },
  11294. "spotsellqty": {
  11295. "description": "现货销售数量",
  11296. "type": "number"
  11297. },
  11298. "spotusedquota": {
  11299. "description": "现货占用资金",
  11300. "type": "number"
  11301. },
  11302. "strategystatus": {
  11303. "description": "策略状态 - 0:未结束 1:已结束",
  11304. "type": "integer"
  11305. },
  11306. "totalpl": {
  11307. "description": "业务合计损益 = FuturePL + SpotPL [结算更新]",
  11308. "type": "number"
  11309. },
  11310. "tradedate": {
  11311. "description": "交易日(yyyyMMdd)",
  11312. "type": "string"
  11313. },
  11314. "updatetime": {
  11315. "description": "更新时间",
  11316. "type": "string"
  11317. },
  11318. "usedquota": {
  11319. "description": "已占用资金",
  11320. "type": "number"
  11321. },
  11322. "userid": {
  11323. "description": "所属机构",
  11324. "type": "integer"
  11325. }
  11326. }
  11327. },
  11328. "erms2.QueryInnerTradeDetailRsp": {
  11329. "type": "object",
  11330. "required": [
  11331. "asapplyid",
  11332. "buyorsell",
  11333. "goodscode",
  11334. "goodsgroupid",
  11335. "goodsgroupname",
  11336. "goodsname",
  11337. "tradeid"
  11338. ],
  11339. "properties": {
  11340. "accountid": {
  11341. "description": "账号ID",
  11342. "type": "integer"
  11343. },
  11344. "agreeunit": {
  11345. "description": "合约单位",
  11346. "type": "number"
  11347. },
  11348. "asapplyid": {
  11349. "description": "策略申请ID",
  11350. "type": "integer"
  11351. },
  11352. "asname": {
  11353. "description": "策略名称",
  11354. "type": "string"
  11355. },
  11356. "asno": {
  11357. "description": "策略编号",
  11358. "type": "string"
  11359. },
  11360. "buyorsell": {
  11361. "description": "方向 - 0:买 1:卖",
  11362. "type": "integer"
  11363. },
  11364. "channelbuildtype": {
  11365. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  11366. "type": "integer"
  11367. },
  11368. "closetype": {
  11369. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  11370. "type": "integer"
  11371. },
  11372. "decimalplace": {
  11373. "description": "报价小数位",
  11374. "type": "integer"
  11375. },
  11376. "detailtype": {
  11377. "description": "明细类型 - 1:套利对冲 2:期货换月 3:期货仓位调整",
  11378. "type": "integer"
  11379. },
  11380. "exexchangecode": {
  11381. "description": "外部交易所代码",
  11382. "type": "string"
  11383. },
  11384. "exexchangename": {
  11385. "description": "外部交易所名称",
  11386. "type": "string"
  11387. },
  11388. "goodscode": {
  11389. "description": "商品代码(合约)",
  11390. "type": "string"
  11391. },
  11392. "goodsgroupid": {
  11393. "description": "商品组ID(品种ID)",
  11394. "type": "integer"
  11395. },
  11396. "goodsgroupname": {
  11397. "description": "商品组名称(品种)",
  11398. "type": "string"
  11399. },
  11400. "goodsid": {
  11401. "description": "商品ID",
  11402. "type": "integer"
  11403. },
  11404. "goodsname": {
  11405. "description": "商品名称(合约)",
  11406. "type": "string"
  11407. },
  11408. "goodunit": {
  11409. "description": "报价单位",
  11410. "type": "string"
  11411. },
  11412. "marketid": {
  11413. "description": "市场ID",
  11414. "type": "integer"
  11415. },
  11416. "orderid": {
  11417. "description": "委托单号",
  11418. "type": "string"
  11419. },
  11420. "outgoodscode": {
  11421. "description": "商品代码(外部)",
  11422. "type": "string"
  11423. },
  11424. "relatedouttradeid": {
  11425. "description": "关联外部成交单ID",
  11426. "type": "string"
  11427. },
  11428. "remark": {
  11429. "description": "备注",
  11430. "type": "string"
  11431. },
  11432. "spotcontractid": {
  11433. "description": "现货合同ID [1:套利对冲 为合同ID,2:期货换月\\3:期货仓位调整时为0]",
  11434. "type": "integer"
  11435. },
  11436. "spotcontractno": {
  11437. "description": "现货合同编号",
  11438. "type": "string"
  11439. },
  11440. "tradeid": {
  11441. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  11442. "type": "string"
  11443. },
  11444. "tradeprice": {
  11445. "description": "成交价格",
  11446. "type": "number"
  11447. },
  11448. "tradeqty": {
  11449. "description": "成交数量",
  11450. "type": "integer"
  11451. },
  11452. "tradetime": {
  11453. "description": "成交时间",
  11454. "type": "string"
  11455. },
  11456. "updatetime": {
  11457. "description": "更新时间",
  11458. "type": "string"
  11459. }
  11460. }
  11461. },
  11462. "erms2.QuerySpotContractRsp": {
  11463. "type": "object",
  11464. "required": [
  11465. "spotcontractid"
  11466. ],
  11467. "properties": {
  11468. "accountid": {
  11469. "description": "资金账户ID",
  11470. "type": "integer"
  11471. },
  11472. "areauserid": {
  11473. "description": "所属机构",
  11474. "type": "integer"
  11475. },
  11476. "closedate": {
  11477. "description": "终止日期",
  11478. "type": "string"
  11479. },
  11480. "closeremark": {
  11481. "description": "结束备注",
  11482. "type": "string"
  11483. },
  11484. "closetradedate": {
  11485. "description": "完结交易日(yyyyMMdd)",
  11486. "type": "string"
  11487. },
  11488. "closetype": {
  11489. "description": "终止类型 - 1:违约 2:提前终止",
  11490. "type": "integer"
  11491. },
  11492. "contractamount": {
  11493. "description": "合同金额",
  11494. "type": "number"
  11495. },
  11496. "contractattachment": {
  11497. "description": "合同附件",
  11498. "type": "string"
  11499. },
  11500. "contractno": {
  11501. "description": "现货合同编号",
  11502. "type": "string"
  11503. },
  11504. "contractqty": {
  11505. "description": "合同数量(数值) (用于计算)",
  11506. "type": "number"
  11507. },
  11508. "contractqtychar": {
  11509. "description": "合同数量\\已订价数量 (用于显示)",
  11510. "type": "string"
  11511. },
  11512. "contractstatus": {
  11513. "description": "合同状态 - 0:未结束 1:已结束",
  11514. "type": "integer"
  11515. },
  11516. "contracttype": {
  11517. "description": "现货合同类型 - 1:采购合同 -1:销售合同",
  11518. "type": "integer"
  11519. },
  11520. "customeraccountid": {
  11521. "description": "客户资金账户ID",
  11522. "type": "integer"
  11523. },
  11524. "customeruserid": {
  11525. "description": "客户ID",
  11526. "type": "integer"
  11527. },
  11528. "deliverygoodsdesc": {
  11529. "description": "品种说明",
  11530. "type": "string"
  11531. },
  11532. "deliverygoodsid": {
  11533. "description": "现货品种ID",
  11534. "type": "integer"
  11535. },
  11536. "handlestatus": {
  11537. "description": "处理状态",
  11538. "type": "integer"
  11539. },
  11540. "invoiceatt": {
  11541. "description": "发票附件",
  11542. "type": "string"
  11543. },
  11544. "invoicedatetime": {
  11545. "description": "开收票更新时间",
  11546. "type": "string"
  11547. },
  11548. "invoiceopentime": {
  11549. "description": "开票时间",
  11550. "type": "string"
  11551. },
  11552. "invoiceremark": {
  11553. "description": "发票备注",
  11554. "type": "string"
  11555. },
  11556. "invoicestatus": {
  11557. "description": "开收票状态 - 0:未开票 1:已开票",
  11558. "type": "integer"
  11559. },
  11560. "lastdate": {
  11561. "description": "交货时间",
  11562. "type": "string"
  11563. },
  11564. "marketid": {
  11565. "description": "市场ID",
  11566. "type": "integer"
  11567. },
  11568. "paydatetime": {
  11569. "description": "收付款更新时间",
  11570. "type": "string"
  11571. },
  11572. "payremark": {
  11573. "description": "收付款备注",
  11574. "type": "string"
  11575. },
  11576. "paystatus": {
  11577. "description": "收付款状态 - 0:未支付 1:已收款 2:已付款",
  11578. "type": "integer"
  11579. },
  11580. "positionqty": {
  11581. "description": "头寸数量 - 合同数量去小数部分",
  11582. "type": "integer"
  11583. },
  11584. "producttype": {
  11585. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  11586. "type": "integer"
  11587. },
  11588. "relatedqty": {
  11589. "description": "已关联数量",
  11590. "type": "number"
  11591. },
  11592. "relatedstatus": {
  11593. "description": "关联完结状态 - 0:未结束 1:已结束",
  11594. "type": "integer"
  11595. },
  11596. "remark": {
  11597. "description": "备注",
  11598. "type": "string"
  11599. },
  11600. "signdate": {
  11601. "description": "签订日期",
  11602. "type": "string"
  11603. },
  11604. "spotcontractid": {
  11605. "description": "现货合同ID(701+Unix秒时间戳(10位)+xxxxxx)",
  11606. "type": "string"
  11607. },
  11608. "spotdatetime": {
  11609. "description": "收发货更新时间",
  11610. "type": "string"
  11611. },
  11612. "spotprice": {
  11613. "description": "价格",
  11614. "type": "number"
  11615. },
  11616. "spotremark": {
  11617. "description": "收发货备注",
  11618. "type": "string"
  11619. },
  11620. "spotstatus": {
  11621. "description": "收发货状态 - 0:未交收 1:已发货 2:已发货",
  11622. "type": "integer"
  11623. },
  11624. "tradedate": {
  11625. "description": "交易日(yyyyMMdd)",
  11626. "type": "string"
  11627. },
  11628. "userid": {
  11629. "description": "业务员用户ID",
  11630. "type": "integer"
  11631. },
  11632. "warehouseid": {
  11633. "description": "仓库ID",
  11634. "type": "integer"
  11635. },
  11636. "wrfactortypeid": {
  11637. "description": "仓单要素类型ID",
  11638. "type": "integer"
  11639. },
  11640. "wrstandardid": {
  11641. "description": "仓单标准ID(SEQ_WRSTANDARD)",
  11642. "type": "integer"
  11643. }
  11644. }
  11645. },
  11646. "erms3.AddErms2ASApplyReq": {
  11647. "type": "object",
  11648. "required": [
  11649. "asapplyid"
  11650. ],
  11651. "properties": {
  11652. "applybasis": {
  11653. "description": "申请基差",
  11654. "type": "number"
  11655. },
  11656. "applystatus": {
  11657. "description": "申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  11658. "type": "integer"
  11659. },
  11660. "asapplyid": {
  11661. "description": "策略申请ID(342+Unix秒时间戳(10位)+xxxxxx)",
  11662. "type": "integer"
  11663. },
  11664. "asname": {
  11665. "description": "策略名称",
  11666. "type": "string"
  11667. },
  11668. "asno": {
  11669. "description": "策略编号",
  11670. "type": "string"
  11671. },
  11672. "auditid": {
  11673. "description": "审核人",
  11674. "type": "integer"
  11675. },
  11676. "auditremark": {
  11677. "description": "审核备注",
  11678. "type": "string"
  11679. },
  11680. "audittime": {
  11681. "description": "审核时间",
  11682. "type": "string"
  11683. },
  11684. "biztype": {
  11685. "description": "业务类型 - 1:正向套利 2:反向套利",
  11686. "type": "integer"
  11687. },
  11688. "createtime": {
  11689. "description": "创建时间",
  11690. "type": "string"
  11691. },
  11692. "creatorid": {
  11693. "description": "创建人",
  11694. "type": "integer"
  11695. },
  11696. "deliverygoodsid": {
  11697. "description": "现货品种ID",
  11698. "type": "integer"
  11699. },
  11700. "futurequote": {
  11701. "description": "期货额度",
  11702. "type": "number"
  11703. },
  11704. "goodsgroupid": {
  11705. "description": "期货品种ID",
  11706. "type": "integer"
  11707. },
  11708. "marketid": {
  11709. "description": "市场ID",
  11710. "type": "integer"
  11711. },
  11712. "remark": {
  11713. "description": "备注",
  11714. "type": "string"
  11715. },
  11716. "spotquota": {
  11717. "description": "现货额度",
  11718. "type": "number"
  11719. },
  11720. "tradedate": {
  11721. "description": "交易日(yyyyMMdd)",
  11722. "type": "string"
  11723. },
  11724. "userid": {
  11725. "description": "所属机构",
  11726. "type": "integer"
  11727. }
  11728. }
  11729. },
  11730. "erms3.AddErms2SpotTradeApplyReq": {
  11731. "type": "object",
  11732. "required": [
  11733. "spottradeid"
  11734. ],
  11735. "properties": {
  11736. "applyjsondetail": {
  11737. "description": "申请明细(JSON)",
  11738. "type": "string"
  11739. },
  11740. "applystatus": {
  11741. "description": "申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  11742. "type": "integer"
  11743. },
  11744. "areauserid": {
  11745. "description": "所属机构",
  11746. "type": "integer"
  11747. },
  11748. "auditid": {
  11749. "description": "审核人",
  11750. "type": "integer"
  11751. },
  11752. "auditremark": {
  11753. "description": "审核备注",
  11754. "type": "string"
  11755. },
  11756. "audittime": {
  11757. "description": "审核时间",
  11758. "type": "string"
  11759. },
  11760. "createtime": {
  11761. "description": "创建时间",
  11762. "type": "string"
  11763. },
  11764. "creatorid": {
  11765. "description": "创建人",
  11766. "type": "integer"
  11767. },
  11768. "deliverygoodsid": {
  11769. "description": "现货品种ID",
  11770. "type": "integer"
  11771. },
  11772. "futureaccountid": {
  11773. "description": "期货资金账户",
  11774. "type": "integer"
  11775. },
  11776. "goodsgroupid": {
  11777. "description": "期货品种",
  11778. "type": "integer"
  11779. },
  11780. "marketid": {
  11781. "description": "市场ID",
  11782. "type": "integer"
  11783. },
  11784. "remark": {
  11785. "description": "备注",
  11786. "type": "string"
  11787. },
  11788. "spotaccountid": {
  11789. "description": "现货资金账户",
  11790. "type": "integer"
  11791. },
  11792. "spottradeid": {
  11793. "description": "业务ID(341+Unix秒时间戳(10位)+xxxxxx)",
  11794. "type": "integer"
  11795. },
  11796. "spottradename": {
  11797. "description": "业务名称",
  11798. "type": "string"
  11799. },
  11800. "spottradeno": {
  11801. "description": "业务编号",
  11802. "type": "string"
  11803. },
  11804. "tradedate": {
  11805. "description": "交易日(yyyyMMdd)",
  11806. "type": "string"
  11807. },
  11808. "wrstandardid": {
  11809. "description": "仓单标准ID",
  11810. "type": "integer"
  11811. }
  11812. }
  11813. },
  11814. "erms3.AddSpotContractApplyReq": {
  11815. "type": "object",
  11816. "required": [
  11817. "accountid",
  11818. "areauserid",
  11819. "contractno",
  11820. "contracttype",
  11821. "customeraccountid",
  11822. "customeruserid",
  11823. "details",
  11824. "orimargin",
  11825. "signdate"
  11826. ],
  11827. "properties": {
  11828. "accountid": {
  11829. "description": "资金账户ID",
  11830. "type": "integer"
  11831. },
  11832. "areauserid": {
  11833. "description": "所属机构",
  11834. "type": "integer"
  11835. },
  11836. "contractattachment": {
  11837. "description": "合同附件",
  11838. "type": "string"
  11839. },
  11840. "contractno": {
  11841. "description": "现货合同编号",
  11842. "type": "string"
  11843. },
  11844. "contracttype": {
  11845. "description": "现货合同类型 - 1:采购 -1:销售",
  11846. "type": "integer"
  11847. },
  11848. "creatorid": {
  11849. "description": "申请人",
  11850. "type": "integer"
  11851. },
  11852. "customeraccountid": {
  11853. "description": "客户资金账户ID",
  11854. "type": "integer"
  11855. },
  11856. "customeruserid": {
  11857. "description": "客户ID",
  11858. "type": "integer"
  11859. },
  11860. "details": {
  11861. "description": "明细",
  11862. "type": "array",
  11863. "items": {
  11864. "$ref": "#/definitions/erms3.SoptContractDetail"
  11865. }
  11866. },
  11867. "orimargin": {
  11868. "description": "初始保证金",
  11869. "type": "number"
  11870. },
  11871. "remark": {
  11872. "description": "备注",
  11873. "type": "string"
  11874. },
  11875. "signdate": {
  11876. "description": "签订日期",
  11877. "type": "string"
  11878. }
  11879. }
  11880. },
  11881. "erms3.AddSpotContractApplyRsp": {
  11882. "type": "object",
  11883. "required": [
  11884. "contractno"
  11885. ],
  11886. "properties": {
  11887. "contractno": {
  11888. "description": "现货合同编号",
  11889. "type": "string"
  11890. },
  11891. "spotcontractid": {
  11892. "description": "现货合同ID(345+Unix秒时间戳(10位)+xxxxxx)",
  11893. "type": "integer"
  11894. }
  11895. }
  11896. },
  11897. "erms3.AddUserInfoApplyReq": {
  11898. "type": "object",
  11899. "required": [
  11900. "userid"
  11901. ],
  11902. "properties": {
  11903. "accountid": {
  11904. "description": "交易系统帐号Id (加密存储)",
  11905. "type": "integer"
  11906. },
  11907. "areacode": {
  11908. "description": "机构代码",
  11909. "type": "string"
  11910. },
  11911. "areaid": {
  11912. "description": "机构Id",
  11913. "type": "integer"
  11914. },
  11915. "attachment1": {
  11916. "description": "附件1",
  11917. "type": "string"
  11918. },
  11919. "attachment2": {
  11920. "description": "附件2",
  11921. "type": "string"
  11922. },
  11923. "attachment3": {
  11924. "description": "附件3",
  11925. "type": "string"
  11926. },
  11927. "attachment4": {
  11928. "description": "附件4",
  11929. "type": "string"
  11930. },
  11931. "attachment5": {
  11932. "description": "附件5",
  11933. "type": "string"
  11934. },
  11935. "auditedby": {
  11936. "description": "审核人",
  11937. "type": "string"
  11938. },
  11939. "auditime": {
  11940. "description": "审核时间",
  11941. "type": "string"
  11942. },
  11943. "bankaccount": {
  11944. "description": "银行帐号 (加密存储)",
  11945. "type": "string"
  11946. },
  11947. "bankaccountname": {
  11948. "description": "收款人名称",
  11949. "type": "string"
  11950. },
  11951. "bankcardbackphotourl": {
  11952. "description": "银行卡背面照地址",
  11953. "type": "string"
  11954. },
  11955. "bankcardfrontphotourl": {
  11956. "description": "银行卡正面照地址",
  11957. "type": "string"
  11958. },
  11959. "bankid": {
  11960. "description": "银行编码",
  11961. "type": "string"
  11962. },
  11963. "bankname": {
  11964. "description": "银行名称",
  11965. "type": "string"
  11966. },
  11967. "bankpictureurl": {
  11968. "description": "银行卡正面地址",
  11969. "type": "string"
  11970. },
  11971. "biznature": {
  11972. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  11973. "type": "integer"
  11974. },
  11975. "bizscope": {
  11976. "description": "企业经营范围(企业)",
  11977. "type": "string"
  11978. },
  11979. "biztype": {
  11980. "description": "企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储",
  11981. "type": "integer"
  11982. },
  11983. "brokerid": {
  11984. "description": "经纪人ID(加密存储)",
  11985. "type": "string"
  11986. },
  11987. "cardaddress": {
  11988. "description": "证件地址 (加密存储)",
  11989. "type": "string"
  11990. },
  11991. "cardbackphotourl": {
  11992. "description": "背面证件照地址",
  11993. "type": "string"
  11994. },
  11995. "cardfrontphotourl": {
  11996. "description": "正面证件照地址",
  11997. "type": "string"
  11998. },
  11999. "cardnum": {
  12000. "description": "证件号码 (加密存储)",
  12001. "type": "string"
  12002. },
  12003. "cardtype": {
  12004. "description": "证件类型",
  12005. "type": "integer"
  12006. },
  12007. "cityid": {
  12008. "description": "市",
  12009. "type": "integer"
  12010. },
  12011. "company": {
  12012. "description": "公司(个人)",
  12013. "type": "string"
  12014. },
  12015. "contactcardbackphotourl": {
  12016. "description": "联系人证件背面图片地址",
  12017. "type": "string"
  12018. },
  12019. "contactcardfrontphotourl": {
  12020. "description": "联系人证件正面图片地址",
  12021. "type": "string"
  12022. },
  12023. "contactname": {
  12024. "description": "联系人",
  12025. "type": "string"
  12026. },
  12027. "countryid": {
  12028. "description": "国家",
  12029. "type": "integer"
  12030. },
  12031. "createtime": {
  12032. "description": "开户申请时间",
  12033. "type": "string"
  12034. },
  12035. "cusbankid": {
  12036. "description": "签约类型",
  12037. "type": "string"
  12038. },
  12039. "cusbankname": {
  12040. "description": "签约类型名称",
  12041. "type": "string"
  12042. },
  12043. "customername": {
  12044. "description": "客户名称(企业名称)",
  12045. "type": "string"
  12046. },
  12047. "districtid": {
  12048. "description": "地区",
  12049. "type": "integer"
  12050. },
  12051. "email": {
  12052. "description": "Email地址(加密存储)",
  12053. "type": "string"
  12054. },
  12055. "halfbodyphotourl": {
  12056. "description": "半身照地址",
  12057. "type": "string"
  12058. },
  12059. "headurl": {
  12060. "description": "头像地址",
  12061. "type": "string"
  12062. },
  12063. "ipaddress": {
  12064. "description": "IP地址",
  12065. "type": "string"
  12066. },
  12067. "isvalidate": {
  12068. "description": "是否有效 (删除后标记为失效) - 0:无效 1:有效",
  12069. "type": "string"
  12070. },
  12071. "legalcardbackphotourl": {
  12072. "description": "法人身份证背面照地址",
  12073. "type": "string"
  12074. },
  12075. "legalcardfrontphotourl": {
  12076. "description": "法人身份证正面照地址",
  12077. "type": "string"
  12078. },
  12079. "legalpersonname": {
  12080. "description": "法人姓名(企业)",
  12081. "type": "string"
  12082. },
  12083. "logincode": {
  12084. "description": "登录帐号 (加密存储)",
  12085. "type": "string"
  12086. },
  12087. "memberareaid": {
  12088. "description": "所属会员ID",
  12089. "type": "integer"
  12090. },
  12091. "mobile2": {
  12092. "description": "手机号码[明文-尚志]",
  12093. "type": "string"
  12094. },
  12095. "mobilephone": {
  12096. "description": "手机号码 (加密存储)",
  12097. "type": "string"
  12098. },
  12099. "modifiedby": {
  12100. "description": "修改人帐号",
  12101. "type": "integer"
  12102. },
  12103. "modifiedtime": {
  12104. "description": "修改时间",
  12105. "type": "string"
  12106. },
  12107. "nickname": {
  12108. "description": "昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)",
  12109. "type": "string"
  12110. },
  12111. "openmode": {
  12112. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)",
  12113. "type": "integer"
  12114. },
  12115. "otherurl": {
  12116. "description": "其它图片地址[使用分号分隔]",
  12117. "type": "string"
  12118. },
  12119. "postalcode": {
  12120. "description": "邮政编码",
  12121. "type": "string"
  12122. },
  12123. "provinceid": {
  12124. "description": "省",
  12125. "type": "integer"
  12126. },
  12127. "proxystatementurl": {
  12128. "description": "授权委托书",
  12129. "type": "string"
  12130. },
  12131. "qq": {
  12132. "description": "QQ(加密存储",
  12133. "type": "string"
  12134. },
  12135. "referral": {
  12136. "description": "推荐人编码",
  12137. "type": "string"
  12138. },
  12139. "remark": {
  12140. "description": "备注",
  12141. "type": "string"
  12142. },
  12143. "removebeforestatus": {
  12144. "description": "REMOVEBEFORESTATUS",
  12145. "type": "integer"
  12146. },
  12147. "sex": {
  12148. "description": "性别 - 0:女 1:男",
  12149. "type": "integer"
  12150. },
  12151. "signedstatus": {
  12152. "description": "账户一号签签约状态",
  12153. "type": "integer"
  12154. },
  12155. "signpdfurl": {
  12156. "description": "签约pdf文件",
  12157. "type": "string"
  12158. },
  12159. "subbranch": {
  12160. "description": "开户支行",
  12161. "type": "string"
  12162. },
  12163. "telphone": {
  12164. "description": "联系电话(加密存储)",
  12165. "type": "string"
  12166. },
  12167. "userid": {
  12168. "description": "用户ID(自增ID)",
  12169. "type": "integer"
  12170. },
  12171. "userinfotype": {
  12172. "description": "用户信息类型 - 1:个人 2:企业",
  12173. "type": "integer"
  12174. },
  12175. "username": {
  12176. "description": "用户姓名",
  12177. "type": "string"
  12178. },
  12179. "userstate": {
  12180. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  12181. "type": "integer"
  12182. },
  12183. "usertype": {
  12184. "description": "用户类型 - 1:投资者 2:机构",
  12185. "type": "integer"
  12186. },
  12187. "videourl": {
  12188. "description": "视频地址",
  12189. "type": "string"
  12190. },
  12191. "wechat": {
  12192. "description": "微信号 (加密存储)",
  12193. "type": "string"
  12194. }
  12195. }
  12196. },
  12197. "erms3.CustomerInfo": {
  12198. "type": "object",
  12199. "required": [
  12200. "userid"
  12201. ],
  12202. "properties": {
  12203. "accountids": {
  12204. "description": "资金账户ID列表",
  12205. "type": "array",
  12206. "items": {
  12207. "type": "integer"
  12208. }
  12209. },
  12210. "customername": {
  12211. "description": "名称(企业名称)",
  12212. "type": "string"
  12213. },
  12214. "mobile": {
  12215. "description": "手机号码",
  12216. "type": "string"
  12217. },
  12218. "userid": {
  12219. "description": "用户ID",
  12220. "type": "integer"
  12221. }
  12222. }
  12223. },
  12224. "erms3.ModifyUserInfoApplyReq": {
  12225. "type": "object",
  12226. "required": [
  12227. "userid"
  12228. ],
  12229. "properties": {
  12230. "accountid": {
  12231. "description": "交易系统帐号Id (加密存储)",
  12232. "type": "integer"
  12233. },
  12234. "areacode": {
  12235. "description": "机构代码",
  12236. "type": "string"
  12237. },
  12238. "areaid": {
  12239. "description": "机构Id",
  12240. "type": "integer"
  12241. },
  12242. "attachment1": {
  12243. "description": "附件1",
  12244. "type": "string"
  12245. },
  12246. "attachment2": {
  12247. "description": "附件2",
  12248. "type": "string"
  12249. },
  12250. "attachment3": {
  12251. "description": "附件3",
  12252. "type": "string"
  12253. },
  12254. "attachment4": {
  12255. "description": "附件4",
  12256. "type": "string"
  12257. },
  12258. "attachment5": {
  12259. "description": "附件5",
  12260. "type": "string"
  12261. },
  12262. "auditedby": {
  12263. "description": "审核人",
  12264. "type": "string"
  12265. },
  12266. "auditime": {
  12267. "description": "审核时间",
  12268. "type": "string"
  12269. },
  12270. "bankaccount": {
  12271. "description": "银行帐号 (加密存储)",
  12272. "type": "string"
  12273. },
  12274. "bankaccountname": {
  12275. "description": "收款人名称",
  12276. "type": "string"
  12277. },
  12278. "bankcardbackphotourl": {
  12279. "description": "银行卡背面照地址",
  12280. "type": "string"
  12281. },
  12282. "bankcardfrontphotourl": {
  12283. "description": "银行卡正面照地址",
  12284. "type": "string"
  12285. },
  12286. "bankid": {
  12287. "description": "银行编码",
  12288. "type": "string"
  12289. },
  12290. "bankname": {
  12291. "description": "银行名称",
  12292. "type": "string"
  12293. },
  12294. "bankpictureurl": {
  12295. "description": "银行卡正面地址",
  12296. "type": "string"
  12297. },
  12298. "biznature": {
  12299. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  12300. "type": "integer"
  12301. },
  12302. "bizscope": {
  12303. "description": "企业经营范围(企业)",
  12304. "type": "string"
  12305. },
  12306. "biztype": {
  12307. "description": "企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储",
  12308. "type": "integer"
  12309. },
  12310. "brokerid": {
  12311. "description": "经纪人ID(加密存储)",
  12312. "type": "string"
  12313. },
  12314. "cardaddress": {
  12315. "description": "证件地址 (加密存储)",
  12316. "type": "string"
  12317. },
  12318. "cardbackphotourl": {
  12319. "description": "背面证件照地址",
  12320. "type": "string"
  12321. },
  12322. "cardfrontphotourl": {
  12323. "description": "正面证件照地址",
  12324. "type": "string"
  12325. },
  12326. "cardnum": {
  12327. "description": "证件号码 (加密存储)",
  12328. "type": "string"
  12329. },
  12330. "cardtype": {
  12331. "description": "证件类型",
  12332. "type": "integer"
  12333. },
  12334. "cityid": {
  12335. "description": "市",
  12336. "type": "integer"
  12337. },
  12338. "company": {
  12339. "description": "公司(个人)",
  12340. "type": "string"
  12341. },
  12342. "contactcardbackphotourl": {
  12343. "description": "联系人证件背面图片地址",
  12344. "type": "string"
  12345. },
  12346. "contactcardfrontphotourl": {
  12347. "description": "联系人证件正面图片地址",
  12348. "type": "string"
  12349. },
  12350. "contactname": {
  12351. "description": "联系人",
  12352. "type": "string"
  12353. },
  12354. "countryid": {
  12355. "description": "国家",
  12356. "type": "integer"
  12357. },
  12358. "createtime": {
  12359. "description": "开户申请时间",
  12360. "type": "string"
  12361. },
  12362. "cusbankid": {
  12363. "description": "签约类型",
  12364. "type": "string"
  12365. },
  12366. "cusbankname": {
  12367. "description": "签约类型名称",
  12368. "type": "string"
  12369. },
  12370. "customername": {
  12371. "description": "客户名称(企业名称)",
  12372. "type": "string"
  12373. },
  12374. "districtid": {
  12375. "description": "地区",
  12376. "type": "integer"
  12377. },
  12378. "email": {
  12379. "description": "Email地址(加密存储)",
  12380. "type": "string"
  12381. },
  12382. "halfbodyphotourl": {
  12383. "description": "半身照地址",
  12384. "type": "string"
  12385. },
  12386. "headurl": {
  12387. "description": "头像地址",
  12388. "type": "string"
  12389. },
  12390. "ipaddress": {
  12391. "description": "IP地址",
  12392. "type": "string"
  12393. },
  12394. "isvalidate": {
  12395. "description": "是否有效 (删除后标记为失效) - 0:无效 1:有效",
  12396. "type": "string"
  12397. },
  12398. "legalcardbackphotourl": {
  12399. "description": "法人身份证背面照地址",
  12400. "type": "string"
  12401. },
  12402. "legalcardfrontphotourl": {
  12403. "description": "法人身份证正面照地址",
  12404. "type": "string"
  12405. },
  12406. "legalpersonname": {
  12407. "description": "法人姓名(企业)",
  12408. "type": "string"
  12409. },
  12410. "logincode": {
  12411. "description": "登录帐号 (加密存储)",
  12412. "type": "string"
  12413. },
  12414. "memberareaid": {
  12415. "description": "所属会员ID",
  12416. "type": "integer"
  12417. },
  12418. "mobile2": {
  12419. "description": "手机号码[明文-尚志]",
  12420. "type": "string"
  12421. },
  12422. "mobilephone": {
  12423. "description": "手机号码 (加密存储)",
  12424. "type": "string"
  12425. },
  12426. "modifiedby": {
  12427. "description": "修改人帐号",
  12428. "type": "integer"
  12429. },
  12430. "modifiedtime": {
  12431. "description": "修改时间",
  12432. "type": "string"
  12433. },
  12434. "nickname": {
  12435. "description": "昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)",
  12436. "type": "string"
  12437. },
  12438. "openmode": {
  12439. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)",
  12440. "type": "integer"
  12441. },
  12442. "otherurl": {
  12443. "description": "其它图片地址[使用分号分隔]",
  12444. "type": "string"
  12445. },
  12446. "postalcode": {
  12447. "description": "邮政编码",
  12448. "type": "string"
  12449. },
  12450. "provinceid": {
  12451. "description": "省",
  12452. "type": "integer"
  12453. },
  12454. "proxystatementurl": {
  12455. "description": "授权委托书",
  12456. "type": "string"
  12457. },
  12458. "qq": {
  12459. "description": "QQ(加密存储",
  12460. "type": "string"
  12461. },
  12462. "referral": {
  12463. "description": "推荐人编码",
  12464. "type": "string"
  12465. },
  12466. "remark": {
  12467. "description": "备注",
  12468. "type": "string"
  12469. },
  12470. "removebeforestatus": {
  12471. "description": "REMOVEBEFORESTATUS",
  12472. "type": "integer"
  12473. },
  12474. "sex": {
  12475. "description": "性别 - 0:女 1:男",
  12476. "type": "integer"
  12477. },
  12478. "signedstatus": {
  12479. "description": "账户一号签签约状态",
  12480. "type": "integer"
  12481. },
  12482. "signpdfurl": {
  12483. "description": "签约pdf文件",
  12484. "type": "string"
  12485. },
  12486. "subbranch": {
  12487. "description": "开户支行",
  12488. "type": "string"
  12489. },
  12490. "telphone": {
  12491. "description": "联系电话(加密存储)",
  12492. "type": "string"
  12493. },
  12494. "userid": {
  12495. "description": "用户ID(自增ID)",
  12496. "type": "integer"
  12497. },
  12498. "userinfotype": {
  12499. "description": "用户信息类型 - 1:个人 2:企业",
  12500. "type": "integer"
  12501. },
  12502. "username": {
  12503. "description": "用户姓名",
  12504. "type": "string"
  12505. },
  12506. "userstate": {
  12507. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  12508. "type": "integer"
  12509. },
  12510. "usertype": {
  12511. "description": "用户类型 - 1:投资者 2:机构",
  12512. "type": "integer"
  12513. },
  12514. "videourl": {
  12515. "description": "视频地址",
  12516. "type": "string"
  12517. },
  12518. "wechat": {
  12519. "description": "微信号 (加密存储)",
  12520. "type": "string"
  12521. }
  12522. }
  12523. },
  12524. "erms3.QryAuditContractRsp": {
  12525. "type": "object",
  12526. "required": [
  12527. "matchcustomername",
  12528. "spotcontractid"
  12529. ],
  12530. "properties": {
  12531. "accountid": {
  12532. "description": "交易员ID",
  12533. "type": "string"
  12534. },
  12535. "applystatus": {
  12536. "description": "申请状态 - 0:未审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  12537. "type": "integer"
  12538. },
  12539. "curdeliveryqty": {
  12540. "description": "未交收量",
  12541. "type": "integer"
  12542. },
  12543. "customername": {
  12544. "description": "采购方ID",
  12545. "type": "string"
  12546. },
  12547. "deliverygoodsid": {
  12548. "description": "品种ID",
  12549. "type": "string"
  12550. },
  12551. "deliveryqty": {
  12552. "description": "交收量",
  12553. "type": "integer"
  12554. },
  12555. "enumdicname": {
  12556. "description": "单位名称",
  12557. "type": "string"
  12558. },
  12559. "matchaccountid": {
  12560. "description": "业务员ID",
  12561. "type": "string"
  12562. },
  12563. "matchcustomername": {
  12564. "description": "销售方ID",
  12565. "type": "string"
  12566. },
  12567. "pricedqty": {
  12568. "description": "定价量",
  12569. "type": "number"
  12570. },
  12571. "signdate": {
  12572. "description": "签订日期",
  12573. "type": "string"
  12574. },
  12575. "spotcontractid": {
  12576. "description": "合同ID",
  12577. "type": "string"
  12578. },
  12579. "totaldqty": {
  12580. "description": "合同量",
  12581. "type": "number"
  12582. },
  12583. "unpricedqty": {
  12584. "description": "未定价量",
  12585. "type": "number"
  12586. },
  12587. "wrstandardname": {
  12588. "description": "商品名称",
  12589. "type": "string"
  12590. }
  12591. }
  12592. },
  12593. "erms3.QryPendingBizRsp": {
  12594. "type": "object",
  12595. "properties": {
  12596. "accountid": {
  12597. "description": "现货账户",
  12598. "type": "string"
  12599. },
  12600. "areaname": {
  12601. "description": "所属部门",
  12602. "type": "string"
  12603. },
  12604. "bizid": {
  12605. "description": "业务ID",
  12606. "type": "string"
  12607. },
  12608. "bizname": {
  12609. "description": "业务名称",
  12610. "type": "string"
  12611. },
  12612. "status": {
  12613. "description": "状态,0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  12614. "type": "integer"
  12615. },
  12616. "type": {
  12617. "description": "业务类型,1-期现套利,2-仓单回购,3-现货贸易",
  12618. "type": "integer"
  12619. }
  12620. }
  12621. },
  12622. "erms3.QueryBusinessInfoRsp": {
  12623. "type": "object",
  12624. "properties": {
  12625. "businessid": {
  12626. "description": "业务ID.",
  12627. "type": "integer"
  12628. },
  12629. "buyamount": {
  12630. "description": "采购额.",
  12631. "type": "number"
  12632. },
  12633. "buyqty": {
  12634. "description": "采购量.",
  12635. "type": "string"
  12636. },
  12637. "futurepl": {
  12638. "description": "期货盈亏.",
  12639. "type": "number"
  12640. },
  12641. "futureqty": {
  12642. "description": "期货敞口.",
  12643. "type": "string"
  12644. },
  12645. "goodsid": {
  12646. "description": "商品名称/商品代码.",
  12647. "type": "string"
  12648. },
  12649. "hedgingqty": {
  12650. "description": "套保量.",
  12651. "type": "string"
  12652. },
  12653. "sellamount": {
  12654. "description": "销售额.",
  12655. "type": "number"
  12656. },
  12657. "sellqty": {
  12658. "description": "销售量.",
  12659. "type": "string"
  12660. },
  12661. "spotmarketvalue": {
  12662. "description": "现货市值.",
  12663. "type": "number"
  12664. },
  12665. "spotpl": {
  12666. "description": "浮动权益.",
  12667. "type": "number"
  12668. },
  12669. "spotqty": {
  12670. "description": "现货量.",
  12671. "type": "string"
  12672. },
  12673. "statu": {
  12674. "description": "状态,0-未结束 1-已结束.",
  12675. "type": "integer"
  12676. },
  12677. "totalpl": {
  12678. "description": "总盈亏.",
  12679. "type": "number"
  12680. },
  12681. "totalqty": {
  12682. "description": "总敞口.",
  12683. "type": "string"
  12684. },
  12685. "type": {
  12686. "description": "业务类型,1-期现套利,2-仓单回购,3-现货贸易.",
  12687. "type": "integer"
  12688. }
  12689. }
  12690. },
  12691. "erms3.QuerySpotContractAppleFormRsp": {
  12692. "type": "object",
  12693. "properties": {
  12694. "goodses": {
  12695. "description": "合约列表",
  12696. "type": "array",
  12697. "items": {
  12698. "$ref": "#/definitions/models.GoodsIDAndName"
  12699. }
  12700. },
  12701. "oppositeusers": {
  12702. "description": "对方账号列表",
  12703. "type": "array",
  12704. "items": {
  12705. "$ref": "#/definitions/erms3.CustomerInfo"
  12706. }
  12707. },
  12708. "ouruser": {
  12709. "description": "我方账号",
  12710. "$ref": "#/definitions/erms3.CustomerInfo"
  12711. },
  12712. "warehouseinfos": {
  12713. "description": "仓库信息列表",
  12714. "type": "array",
  12715. "items": {
  12716. "$ref": "#/definitions/models.Warehouseinfo"
  12717. }
  12718. },
  12719. "wrstandards": {
  12720. "description": "仓单标准列表",
  12721. "type": "array",
  12722. "items": {
  12723. "$ref": "#/definitions/models.WRStandardInfo"
  12724. }
  12725. }
  12726. }
  12727. },
  12728. "erms3.QuerySpotContractInfoRsp": {
  12729. "type": "object",
  12730. "properties": {
  12731. "accountid": {
  12732. "description": "表示交易员ID.",
  12733. "type": "integer"
  12734. },
  12735. "curdeliveryqty": {
  12736. "description": "表示未交收量.",
  12737. "type": "number"
  12738. },
  12739. "customername": {
  12740. "description": "若合同类型为采购合同,表示采购方ID;若合同类型为销售合同,表示销售方ID.",
  12741. "type": "string"
  12742. },
  12743. "deliverygoodsid": {
  12744. "description": "表示品种ID.",
  12745. "type": "string"
  12746. },
  12747. "deliveryqty": {
  12748. "description": "表示交收量.",
  12749. "type": "number"
  12750. },
  12751. "matchaccountid": {
  12752. "description": "表示业务员ID.",
  12753. "type": "integer"
  12754. },
  12755. "matchcustomername": {
  12756. "description": "若合同类型为采购合同,表示销售方;若合同类型为销售合同,表示采购方ID.",
  12757. "type": "string"
  12758. },
  12759. "priceqty": {
  12760. "description": "表示定价量.",
  12761. "type": "number"
  12762. },
  12763. "relatedbizid": {
  12764. "description": "表示业务ID.",
  12765. "type": "string"
  12766. },
  12767. "signdate": {
  12768. "description": "表示签订日期.",
  12769. "type": "string"
  12770. },
  12771. "spotcontractid": {
  12772. "description": "合同ID",
  12773. "type": "string"
  12774. },
  12775. "status": {
  12776. "description": "表示状态,0-履约中 1-已完成.",
  12777. "type": "integer"
  12778. },
  12779. "totalqty": {
  12780. "description": "表示合同量.",
  12781. "type": "number"
  12782. },
  12783. "unpricedqty": {
  12784. "description": "表示未定价量.",
  12785. "type": "number"
  12786. },
  12787. "wrstandardname": {
  12788. "description": "表示商品ID.",
  12789. "type": "string"
  12790. }
  12791. }
  12792. },
  12793. "erms3.QueryUserInfoAppliesRsp": {
  12794. "type": "object",
  12795. "required": [
  12796. "userid"
  12797. ],
  12798. "properties": {
  12799. "biznature": {
  12800. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  12801. "type": "integer"
  12802. },
  12803. "contactname": {
  12804. "description": "联系人",
  12805. "type": "string"
  12806. },
  12807. "createtime": {
  12808. "description": "开户申请时间",
  12809. "type": "string"
  12810. },
  12811. "userid": {
  12812. "description": "用户ID(自增ID)",
  12813. "type": "integer"
  12814. },
  12815. "userinfotype": {
  12816. "description": "用户信息类型 - 1:个人 2:企业",
  12817. "type": "integer"
  12818. },
  12819. "username": {
  12820. "description": "用户姓名",
  12821. "type": "string"
  12822. },
  12823. "userstate": {
  12824. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  12825. "type": "integer"
  12826. }
  12827. }
  12828. },
  12829. "erms3.QueryUserInfosRsp": {
  12830. "type": "object",
  12831. "required": [
  12832. "userid"
  12833. ],
  12834. "properties": {
  12835. "biznature": {
  12836. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  12837. "type": "integer"
  12838. },
  12839. "contactname": {
  12840. "description": "联系人",
  12841. "type": "string"
  12842. },
  12843. "customername": {
  12844. "description": "客户名称(企业名称)",
  12845. "type": "string"
  12846. },
  12847. "userid": {
  12848. "description": "用户ID",
  12849. "type": "integer"
  12850. },
  12851. "userinfotype": {
  12852. "description": "用户信息类型 - 1:个人 2:企业",
  12853. "type": "integer"
  12854. },
  12855. "userstatus": {
  12856. "description": "用户状态 - 1:正常 2:注销",
  12857. "type": "integer"
  12858. }
  12859. }
  12860. },
  12861. "erms3.SoptContractDetail": {
  12862. "type": "object",
  12863. "required": [
  12864. "deliverygoodsid",
  12865. "producttype",
  12866. "unitname",
  12867. "warehouseid",
  12868. "wrstandardid",
  12869. "wrstandardname"
  12870. ],
  12871. "properties": {
  12872. "deliverygoodsdesc": {
  12873. "description": "现货品种说明",
  12874. "type": "string"
  12875. },
  12876. "deliverygoodsid": {
  12877. "description": "现货品种ID",
  12878. "type": "integer"
  12879. },
  12880. "deliverygoodsname": {
  12881. "description": "现货品种名称",
  12882. "type": "string"
  12883. },
  12884. "pointdesc": {
  12885. "description": "点价描述",
  12886. "type": "string"
  12887. },
  12888. "producttype": {
  12889. "description": "产品类型 1:标准仓单 2:等标 3:非标",
  12890. "type": "integer"
  12891. },
  12892. "producttypename": {
  12893. "description": "产品类型名称",
  12894. "type": "string"
  12895. },
  12896. "spotPointOrderVoList": {
  12897. "description": "点价列表",
  12898. "type": "array",
  12899. "items": {
  12900. "$ref": "#/definitions/erms3.SpotPointOrder"
  12901. }
  12902. },
  12903. "spotPriceOrderList": {
  12904. "description": "定价列表",
  12905. "type": "array",
  12906. "items": {
  12907. "$ref": "#/definitions/erms3.SpotPriceOrder"
  12908. }
  12909. },
  12910. "unitname": {
  12911. "description": "单位名称",
  12912. "type": "string"
  12913. },
  12914. "warehouseid": {
  12915. "description": "仓库ID",
  12916. "type": "integer"
  12917. },
  12918. "warehousename": {
  12919. "description": "仓库名称",
  12920. "type": "string"
  12921. },
  12922. "wrstandardid": {
  12923. "description": "交易标的ID",
  12924. "type": "integer"
  12925. },
  12926. "wrstandardname": {
  12927. "description": "交易标的名称",
  12928. "type": "string"
  12929. }
  12930. }
  12931. },
  12932. "erms3.SpotPointOrder": {
  12933. "type": "object",
  12934. "required": [
  12935. "basic",
  12936. "goodsid",
  12937. "qty"
  12938. ],
  12939. "properties": {
  12940. "basic": {
  12941. "description": "基差",
  12942. "type": "number"
  12943. },
  12944. "deliveryenddate": {
  12945. "description": "交收结束日期",
  12946. "type": "string"
  12947. },
  12948. "deliverystartdate": {
  12949. "description": "交收开始日期",
  12950. "type": "string"
  12951. },
  12952. "enddate": {
  12953. "description": "点价结束日期",
  12954. "type": "string"
  12955. },
  12956. "goodsid": {
  12957. "description": "商品ID",
  12958. "type": "integer"
  12959. },
  12960. "goodsname": {
  12961. "description": "商品名称",
  12962. "type": "string"
  12963. },
  12964. "qty": {
  12965. "description": "数量",
  12966. "type": "number"
  12967. },
  12968. "startdate": {
  12969. "description": "点价开始日期",
  12970. "type": "string"
  12971. }
  12972. }
  12973. },
  12974. "erms3.SpotPriceOrder": {
  12975. "type": "object",
  12976. "required": [
  12977. "amount",
  12978. "price",
  12979. "qty"
  12980. ],
  12981. "properties": {
  12982. "amount": {
  12983. "description": "金额",
  12984. "type": "number"
  12985. },
  12986. "deliveryenddate": {
  12987. "description": "交收结束日期",
  12988. "type": "string"
  12989. },
  12990. "deliverystartdate": {
  12991. "description": "交收开始日期",
  12992. "type": "string"
  12993. },
  12994. "price": {
  12995. "description": "价格",
  12996. "type": "number"
  12997. },
  12998. "qty": {
  12999. "description": "数量",
  13000. "type": "number"
  13001. }
  13002. }
  13003. },
  13004. "hsby.GetHsbyMyCountRsp": {
  13005. "type": "object",
  13006. "properties": {
  13007. "myCouponCount": {
  13008. "description": "我的优惠卷数量",
  13009. "type": "integer"
  13010. },
  13011. "myOrderDetailListingCount": {
  13012. "description": "我的订单求购中数量",
  13013. "type": "integer"
  13014. },
  13015. "myOrderDetailPreCount": {
  13016. "description": "我的订单抢购中数量",
  13017. "type": "integer"
  13018. },
  13019. "myPackageUnReceiveCount": {
  13020. "description": "我的包裹待收货数量",
  13021. "type": "integer"
  13022. },
  13023. "myPackageUnSendCount": {
  13024. "description": "我的包裹待发货数量",
  13025. "type": "integer"
  13026. },
  13027. "myPayOrderCount": {
  13028. "description": "我的订单待付款数量",
  13029. "type": "integer"
  13030. }
  13031. }
  13032. },
  13033. "hsby.QueryProvincesAndCitiesRsp": {
  13034. "type": "object",
  13035. "properties": {
  13036. "cities": {
  13037. "description": "市",
  13038. "type": "array",
  13039. "items": {
  13040. "$ref": "#/definitions/models.Division"
  13041. }
  13042. },
  13043. "province": {
  13044. "description": "省",
  13045. "$ref": "#/definitions/models.Division"
  13046. }
  13047. }
  13048. },
  13049. "models.Clientfixedadconfig": {
  13050. "type": "object",
  13051. "required": [
  13052. "adsort",
  13053. "adtype"
  13054. ],
  13055. "properties": {
  13056. "adsort": {
  13057. "description": "排序",
  13058. "type": "integer"
  13059. },
  13060. "adtype": {
  13061. "description": "广告位类型 - 1:新品抢购(HSBY)",
  13062. "type": "integer"
  13063. },
  13064. "areauserid": {
  13065. "description": "所属机构ID",
  13066. "type": "integer"
  13067. },
  13068. "createdate": {
  13069. "description": "创建时间",
  13070. "type": "string"
  13071. },
  13072. "creatorid": {
  13073. "description": "创建人",
  13074. "type": "integer"
  13075. },
  13076. "imagepath": {
  13077. "description": "图片",
  13078. "type": "string"
  13079. },
  13080. "isshow": {
  13081. "description": "是否展示 - 0:不展示 1:展示",
  13082. "type": "integer"
  13083. },
  13084. "modifierid": {
  13085. "description": "操作人",
  13086. "type": "integer"
  13087. },
  13088. "recsize": {
  13089. "description": "推荐尺寸",
  13090. "type": "string"
  13091. },
  13092. "title": {
  13093. "description": "标题",
  13094. "type": "string"
  13095. },
  13096. "updatedate": {
  13097. "description": "更新时间",
  13098. "type": "string"
  13099. },
  13100. "urlcontent": {
  13101. "description": "链接(地址或商品ID)",
  13102. "type": "string"
  13103. },
  13104. "urltype": {
  13105. "description": "链接类型 - 1:直接地址 2:商品ID",
  13106. "type": "integer"
  13107. }
  13108. }
  13109. },
  13110. "models.Division": {
  13111. "type": "object",
  13112. "required": [
  13113. "autoid",
  13114. "divisioncode"
  13115. ],
  13116. "properties": {
  13117. "autoid": {
  13118. "description": "自增ID",
  13119. "type": "integer"
  13120. },
  13121. "divisioncode": {
  13122. "description": "行政代码",
  13123. "type": "string"
  13124. },
  13125. "divisionlevel": {
  13126. "description": "行政级别",
  13127. "type": "string"
  13128. },
  13129. "divisionname": {
  13130. "description": "行政名称",
  13131. "type": "string"
  13132. },
  13133. "modifierid": {
  13134. "description": "修改人",
  13135. "type": "integer"
  13136. },
  13137. "modifytime": {
  13138. "description": "修改时间",
  13139. "type": "string"
  13140. },
  13141. "parentcode": {
  13142. "description": "上级行政代码",
  13143. "type": "string"
  13144. },
  13145. "pathname": {
  13146. "description": "路径名称",
  13147. "type": "string"
  13148. },
  13149. "postcode": {
  13150. "description": "邮政编码",
  13151. "type": "string"
  13152. },
  13153. "separablename": {
  13154. "description": "可拆分的全称",
  13155. "type": "string"
  13156. },
  13157. "shortcode": {
  13158. "description": "地区简码",
  13159. "type": "string"
  13160. }
  13161. }
  13162. },
  13163. "models.Enumdicitem": {
  13164. "type": "object",
  13165. "required": [
  13166. "autoid",
  13167. "enumdiccode",
  13168. "enumdicid",
  13169. "enumitemname"
  13170. ],
  13171. "properties": {
  13172. "autoid": {
  13173. "description": "自增ID",
  13174. "type": "integer"
  13175. },
  13176. "bankmappedvalue": {
  13177. "description": "银行服务对应值",
  13178. "type": "string"
  13179. },
  13180. "enumdiccode": {
  13181. "description": "所属枚举代码",
  13182. "type": "string"
  13183. },
  13184. "enumdicid": {
  13185. "description": "所属枚举ID",
  13186. "type": "integer"
  13187. },
  13188. "enumdicname": {
  13189. "description": "枚举项名称",
  13190. "type": "string"
  13191. },
  13192. "enumitemname": {
  13193. "description": "枚举项值",
  13194. "type": "integer"
  13195. },
  13196. "enumitemstatus": {
  13197. "description": "枚举项状态 - 1.启用 2.不启用",
  13198. "type": "integer"
  13199. },
  13200. "enumitemvalue": {
  13201. "description": "通用值 - [币种通用简写]",
  13202. "type": "string"
  13203. },
  13204. "param1": {
  13205. "description": "参数1[币种:币种小数位]",
  13206. "type": "string"
  13207. },
  13208. "param2": {
  13209. "description": "参数1[币种:币种显示单位]",
  13210. "type": "string"
  13211. },
  13212. "remark": {
  13213. "description": "备注",
  13214. "type": "string"
  13215. }
  13216. }
  13217. },
  13218. "models.ErmcpAreaStock": {
  13219. "type": "object",
  13220. "properties": {
  13221. "brandname": {
  13222. "description": "品牌名称",
  13223. "type": "string"
  13224. },
  13225. "curstock": {
  13226. "description": "期末库存量(今日量)",
  13227. "type": "number"
  13228. },
  13229. "deliverygoodsid": {
  13230. "description": "现货品种ID",
  13231. "type": "integer"
  13232. },
  13233. "enumdicname": {
  13234. "description": "单位名称",
  13235. "type": "string"
  13236. },
  13237. "modelname": {
  13238. "description": "型号名称",
  13239. "type": "string"
  13240. },
  13241. "oristock": {
  13242. "description": "期初库存量(昨日量)",
  13243. "type": "number"
  13244. },
  13245. "spotgoodsbrandid": {
  13246. "description": "现货品牌ID",
  13247. "type": "integer"
  13248. },
  13249. "spotgoodsmodelid": {
  13250. "description": "现货型号ID",
  13251. "type": "integer"
  13252. },
  13253. "todaybuyinqty": {
  13254. "description": "今日采购入库量",
  13255. "type": "number"
  13256. },
  13257. "todayproduceinqty": {
  13258. "description": "今日生产入库量",
  13259. "type": "number"
  13260. },
  13261. "todayproduceoutqty": {
  13262. "description": "今日生产出库量",
  13263. "type": "number"
  13264. },
  13265. "todayselloutqty": {
  13266. "description": "今日销售出库量",
  13267. "type": "number"
  13268. },
  13269. "unitid": {
  13270. "description": "单位id",
  13271. "type": "integer"
  13272. },
  13273. "updatetime": {
  13274. "description": "更新时间",
  13275. "type": "string"
  13276. },
  13277. "userid": {
  13278. "description": "机构ID",
  13279. "type": "integer"
  13280. },
  13281. "username": {
  13282. "description": "机构名称",
  13283. "type": "string"
  13284. },
  13285. "warehousecode": {
  13286. "description": "仓库代码",
  13287. "type": "string"
  13288. },
  13289. "warehouseinfoid": {
  13290. "description": "仓库ID",
  13291. "type": "string"
  13292. },
  13293. "warehousename": {
  13294. "description": "仓库名称",
  13295. "type": "string"
  13296. },
  13297. "warehousetype": {
  13298. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  13299. "type": "integer"
  13300. },
  13301. "wrstandardcode": {
  13302. "description": "现货商品代码",
  13303. "type": "string"
  13304. },
  13305. "wrstandardid": {
  13306. "description": "现货商品ID",
  13307. "type": "string"
  13308. },
  13309. "wrstandardname": {
  13310. "description": "现货商品名称",
  13311. "type": "string"
  13312. }
  13313. }
  13314. },
  13315. "models.ErmcpAreaStockApply": {
  13316. "type": "object",
  13317. "properties": {
  13318. "applyid": {
  13319. "description": "申请人",
  13320. "type": "integer"
  13321. },
  13322. "applyname": {
  13323. "description": "申请人名称",
  13324. "type": "string"
  13325. },
  13326. "applyremark": {
  13327. "description": "申请备注",
  13328. "type": "string"
  13329. },
  13330. "applysrc": {
  13331. "description": "申请来源 - 1:管理端 2:终端",
  13332. "type": "integer"
  13333. },
  13334. "applystatus": {
  13335. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  13336. "type": "integer"
  13337. },
  13338. "applytime": {
  13339. "description": "申请时间",
  13340. "type": "string"
  13341. },
  13342. "auditid": {
  13343. "description": "审核人",
  13344. "type": "integer"
  13345. },
  13346. "auditname": {
  13347. "description": "审核人名称",
  13348. "type": "string"
  13349. },
  13350. "auditremark": {
  13351. "description": "审核备注",
  13352. "type": "string"
  13353. },
  13354. "auditsrc": {
  13355. "description": "审核来源 - 1:管理端 2:终端",
  13356. "type": "integer"
  13357. },
  13358. "audittime": {
  13359. "description": "审核时间",
  13360. "type": "string"
  13361. },
  13362. "audittradedate": {
  13363. "description": "审核交易日(yyyyMMdd)",
  13364. "type": "string"
  13365. },
  13366. "brandname": {
  13367. "description": "品牌名称",
  13368. "type": "string"
  13369. },
  13370. "buyuserid": {
  13371. "description": "采购方userid",
  13372. "type": "integer"
  13373. },
  13374. "buyusername": {
  13375. "description": "采购方名称",
  13376. "type": "string"
  13377. },
  13378. "contractno": {
  13379. "description": "合同编号",
  13380. "type": "string"
  13381. },
  13382. "contractqty": {
  13383. "description": "合同量",
  13384. "type": "number"
  13385. },
  13386. "contracttype": {
  13387. "description": "现货合同类型 - 1:采购 -1:销售",
  13388. "type": "integer"
  13389. },
  13390. "deliverygoodsid": {
  13391. "description": "现货品种ID",
  13392. "type": "integer"
  13393. },
  13394. "enumdicname": {
  13395. "description": "现货商品单位名称",
  13396. "type": "string"
  13397. },
  13398. "inoutapplyid": {
  13399. "description": "申请ID(607+Unix秒时间戳(10位)+xxxxxx)",
  13400. "type": "string"
  13401. },
  13402. "inouttype": {
  13403. "description": "出入库类型 - 1:采购入库 2:销售出库 3:生产入库 4:生产出库",
  13404. "type": "integer"
  13405. },
  13406. "modelname": {
  13407. "description": "型号名称",
  13408. "type": "string"
  13409. },
  13410. "pricetype": {
  13411. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  13412. "type": "integer"
  13413. },
  13414. "qty": {
  13415. "description": "数量",
  13416. "type": "number"
  13417. },
  13418. "selluserid": {
  13419. "description": "销售方userid",
  13420. "type": "integer"
  13421. },
  13422. "sellusername": {
  13423. "description": "销售方名称",
  13424. "type": "string"
  13425. },
  13426. "spotcontractid": {
  13427. "description": "关联现货合同ID",
  13428. "type": "string"
  13429. },
  13430. "spotgoodsbrandid": {
  13431. "description": "现货品牌ID",
  13432. "type": "integer"
  13433. },
  13434. "spotgoodsmodelid": {
  13435. "description": "现货型号ID",
  13436. "type": "integer"
  13437. },
  13438. "unitid": {
  13439. "description": "单位id",
  13440. "type": "integer"
  13441. },
  13442. "userid": {
  13443. "description": "机构ID",
  13444. "type": "integer"
  13445. },
  13446. "warehousecode": {
  13447. "description": "仓库代码",
  13448. "type": "string"
  13449. },
  13450. "warehouseinfoid": {
  13451. "description": "现货仓库ID",
  13452. "type": "string"
  13453. },
  13454. "warehousename": {
  13455. "description": "仓库名称",
  13456. "type": "string"
  13457. },
  13458. "warehousetype": {
  13459. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  13460. "type": "integer"
  13461. },
  13462. "wrstandardcode": {
  13463. "description": "现货商品代码",
  13464. "type": "string"
  13465. },
  13466. "wrstandardid": {
  13467. "description": "现货商品ID",
  13468. "type": "string"
  13469. },
  13470. "wrstandardname": {
  13471. "description": "现货商品名称",
  13472. "type": "string"
  13473. }
  13474. }
  13475. },
  13476. "models.ErmcpAreaStockReport": {
  13477. "type": "object",
  13478. "properties": {
  13479. "brandname": {
  13480. "description": "品牌名称",
  13481. "type": "string"
  13482. },
  13483. "curstock": {
  13484. "description": "期末库存量",
  13485. "type": "number"
  13486. },
  13487. "deliverygoodsid": {
  13488. "description": "现货品种ID",
  13489. "type": "integer"
  13490. },
  13491. "enumdicname": {
  13492. "description": "单位名称",
  13493. "type": "string"
  13494. },
  13495. "modelname": {
  13496. "description": "型号名称",
  13497. "type": "string"
  13498. },
  13499. "oristock": {
  13500. "description": "期初库存量",
  13501. "type": "number"
  13502. },
  13503. "spotgoodsbrandid": {
  13504. "description": "现货品牌ID",
  13505. "type": "integer"
  13506. },
  13507. "spotgoodsmodelid": {
  13508. "description": "现货型号ID",
  13509. "type": "integer"
  13510. },
  13511. "todaybuyinqty": {
  13512. "description": "今日采购入库量",
  13513. "type": "number"
  13514. },
  13515. "todayproduceinqty": {
  13516. "description": "今日生产入库量",
  13517. "type": "number"
  13518. },
  13519. "todayproduceoutqty": {
  13520. "description": "今日生产出库量",
  13521. "type": "number"
  13522. },
  13523. "todayselloutqty": {
  13524. "description": "今日销售出库量",
  13525. "type": "number"
  13526. },
  13527. "unitid": {
  13528. "description": "单位id",
  13529. "type": "integer"
  13530. },
  13531. "updatetime": {
  13532. "description": "更新时间",
  13533. "type": "string"
  13534. },
  13535. "userid": {
  13536. "description": "机构ID",
  13537. "type": "integer"
  13538. },
  13539. "username": {
  13540. "description": "机构名称",
  13541. "type": "string"
  13542. },
  13543. "warehousecode": {
  13544. "description": "仓库代码",
  13545. "type": "string"
  13546. },
  13547. "warehouseinfoid": {
  13548. "description": "仓库ID",
  13549. "type": "string"
  13550. },
  13551. "warehousename": {
  13552. "description": "仓库名称",
  13553. "type": "string"
  13554. },
  13555. "warehousetype": {
  13556. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  13557. "type": "integer"
  13558. },
  13559. "wrstandardcode": {
  13560. "description": "现货商品代码",
  13561. "type": "string"
  13562. },
  13563. "wrstandardid": {
  13564. "description": "现货商品ID",
  13565. "type": "string"
  13566. },
  13567. "wrstandardname": {
  13568. "description": "现货商品名称",
  13569. "type": "string"
  13570. }
  13571. }
  13572. },
  13573. "models.ErmcpGoodsBrand": {
  13574. "type": "object",
  13575. "properties": {
  13576. "areauserid": {
  13577. "description": "所属机构",
  13578. "type": "integer"
  13579. },
  13580. "brandid": {
  13581. "description": "BrandID(SEQ_SPOTGOODSBRAND)",
  13582. "type": "integer"
  13583. },
  13584. "brandname": {
  13585. "description": "品牌名称",
  13586. "type": "string"
  13587. },
  13588. "createtime": {
  13589. "description": "创建时间",
  13590. "type": "string"
  13591. },
  13592. "creatorid": {
  13593. "description": "创建人",
  13594. "type": "integer"
  13595. },
  13596. "creatorsrc": {
  13597. "description": "创建人来源 - 1:管理端 2:终端",
  13598. "type": "integer"
  13599. },
  13600. "deliverygoodsid": {
  13601. "description": "现货品种ID",
  13602. "type": "integer"
  13603. },
  13604. "isvalid": {
  13605. "description": "是否有效 - 0:无效 1:有效",
  13606. "type": "integer"
  13607. },
  13608. "updatetime": {
  13609. "description": "更新时间",
  13610. "type": "string"
  13611. },
  13612. "updatorid": {
  13613. "description": "更新人",
  13614. "type": "integer"
  13615. },
  13616. "updatorsrc": {
  13617. "description": "更新人来源 - 1:管理端 2:终端",
  13618. "type": "integer"
  13619. },
  13620. "wrstandardid": {
  13621. "description": "现货商品ID",
  13622. "type": "integer"
  13623. }
  13624. }
  13625. },
  13626. "models.ErmcpGoodsModel": {
  13627. "type": "object",
  13628. "properties": {
  13629. "areauserid": {
  13630. "description": "所属机构",
  13631. "type": "integer"
  13632. },
  13633. "createtime": {
  13634. "description": "创建时间",
  13635. "type": "string"
  13636. },
  13637. "creatorid": {
  13638. "description": "创建人",
  13639. "type": "integer"
  13640. },
  13641. "creatorsrc": {
  13642. "description": "创建人来源 - 1:管理端 2:终端",
  13643. "type": "integer"
  13644. },
  13645. "deliverygoodsid": {
  13646. "description": "现货品种ID",
  13647. "type": "integer"
  13648. },
  13649. "isvalid": {
  13650. "description": "是否有效 - 0:无效 1:有效",
  13651. "type": "integer"
  13652. },
  13653. "modelid": {
  13654. "description": "ModelID(SEQ_SPOTGOODSMODEL)",
  13655. "type": "integer"
  13656. },
  13657. "modelname": {
  13658. "description": "型号名称",
  13659. "type": "string"
  13660. },
  13661. "updatetime": {
  13662. "description": "更新时间",
  13663. "type": "string"
  13664. },
  13665. "updatorid": {
  13666. "description": "更新人",
  13667. "type": "integer"
  13668. },
  13669. "updatorsrc": {
  13670. "description": "更新人来源 - 1:管理端 2:终端",
  13671. "type": "integer"
  13672. },
  13673. "wrstandardid": {
  13674. "description": "现货商品ID",
  13675. "type": "integer"
  13676. }
  13677. }
  13678. },
  13679. "models.ErmcpHisExposure": {
  13680. "type": "object",
  13681. "properties": {
  13682. "needhedgeexposoure": {
  13683. "description": "应套保敞口",
  13684. "type": "number"
  13685. },
  13686. "reckondate": {
  13687. "description": "日照时期(yyyyMMdd)",
  13688. "type": "string"
  13689. },
  13690. "totalexposure": {
  13691. "description": "总敞口",
  13692. "type": "number"
  13693. }
  13694. }
  13695. },
  13696. "models.ErmcpMiddleGoodsModel": {
  13697. "type": "object",
  13698. "properties": {
  13699. "areauserid": {
  13700. "description": "机构用户ID",
  13701. "type": "integer"
  13702. },
  13703. "createtime": {
  13704. "description": "修改时间",
  13705. "type": "string"
  13706. },
  13707. "enumdicname": {
  13708. "description": "单位名称",
  13709. "type": "string"
  13710. },
  13711. "evaluateratio": {
  13712. "description": "估价系数",
  13713. "type": "number"
  13714. },
  13715. "goodsgroupid": {
  13716. "description": "关联期货品种ID",
  13717. "type": "integer"
  13718. },
  13719. "isvalid": {
  13720. "description": "状态 0-无效(停用) 1-有效(正常)",
  13721. "type": "integer"
  13722. },
  13723. "middlegoodscode": {
  13724. "description": "套保品种代码",
  13725. "type": "string"
  13726. },
  13727. "middlegoodsid": {
  13728. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  13729. "type": "integer"
  13730. },
  13731. "middlegoodsname": {
  13732. "description": "套保品种名称",
  13733. "type": "string"
  13734. },
  13735. "modifytime": {
  13736. "description": "修改时间",
  13737. "type": "string"
  13738. },
  13739. "needhedgeratio": {
  13740. "description": "套保比率",
  13741. "type": "number"
  13742. },
  13743. "qtydecimalplace": {
  13744. "description": "数量小数位",
  13745. "type": "integer"
  13746. },
  13747. "relatedgoodsid": {
  13748. "description": "关联交易商品ID",
  13749. "type": "integer"
  13750. },
  13751. "relatedgoodstype": {
  13752. "description": "关联商品类型 - 1:期货合约 2:现货品种",
  13753. "type": "integer"
  13754. },
  13755. "remark": {
  13756. "description": "备注",
  13757. "type": "string"
  13758. }
  13759. }
  13760. },
  13761. "models.ErmcpReportDayFR": {
  13762. "type": "object",
  13763. "properties": {
  13764. "areauserid": {
  13765. "description": "所属机构",
  13766. "type": "integer"
  13767. },
  13768. "collectinvoiceamount": {
  13769. "description": "今日开票金额",
  13770. "type": "number"
  13771. },
  13772. "collectinvoicecount": {
  13773. "description": "今日开票笔数",
  13774. "type": "integer"
  13775. },
  13776. "collectmoneyamount": {
  13777. "description": "今日收款金额",
  13778. "type": "number"
  13779. },
  13780. "collectmoneycount": {
  13781. "description": "今日收款笔数",
  13782. "type": "integer"
  13783. },
  13784. "payinvoiceamount": {
  13785. "description": "今日收票金额",
  13786. "type": "number"
  13787. },
  13788. "payinvoicecount": {
  13789. "description": "今日收票笔数",
  13790. "type": "integer"
  13791. },
  13792. "paymoneyamount": {
  13793. "description": "今日付款金额",
  13794. "type": "number"
  13795. },
  13796. "paymoneycount": {
  13797. "description": "今日付款笔数",
  13798. "type": "integer"
  13799. },
  13800. "reckondate": {
  13801. "description": "日照时期(yyyyMMdd)",
  13802. "type": "string"
  13803. },
  13804. "updatetime": {
  13805. "description": "更新时间",
  13806. "type": "string"
  13807. }
  13808. }
  13809. },
  13810. "models.ErmcpWrstandard": {
  13811. "type": "object",
  13812. "properties": {
  13813. "areauserid": {
  13814. "description": "所属机构",
  13815. "type": "integer"
  13816. },
  13817. "createtime": {
  13818. "description": "创建时间",
  13819. "type": "string"
  13820. },
  13821. "creatorid": {
  13822. "description": "创建人",
  13823. "type": "integer"
  13824. },
  13825. "deliverygoodsid": {
  13826. "description": "品种ID",
  13827. "type": "integer"
  13828. },
  13829. "enumdicname": {
  13830. "description": "单位名称",
  13831. "type": "string"
  13832. },
  13833. "isvalid": {
  13834. "description": "是否有效 0-无效(停用) 1-有效(正常)",
  13835. "type": "integer"
  13836. },
  13837. "minivalue": {
  13838. "description": "最小变动值",
  13839. "type": "integer"
  13840. },
  13841. "minivaluedp": {
  13842. "description": "最小变动值小数位",
  13843. "type": "integer"
  13844. },
  13845. "realminivalue": {
  13846. "description": "实际最小变动值",
  13847. "type": "integer"
  13848. },
  13849. "realminivaluedp": {
  13850. "description": "实际最小变动值小数位",
  13851. "type": "integer"
  13852. },
  13853. "remark": {
  13854. "description": "备注",
  13855. "type": "string"
  13856. },
  13857. "unitid": {
  13858. "description": "单位ID",
  13859. "type": "integer"
  13860. },
  13861. "updatetime": {
  13862. "description": "更新时间",
  13863. "type": "string"
  13864. },
  13865. "wrstandardcode": {
  13866. "description": "现货商品代码",
  13867. "type": "string"
  13868. },
  13869. "wrstandardid": {
  13870. "description": "现货商品ID(SEQ_WRSTANDARD)",
  13871. "type": "integer"
  13872. },
  13873. "wrstandardname": {
  13874. "description": "现货商品名称",
  13875. "type": "string"
  13876. }
  13877. }
  13878. },
  13879. "models.Externalexchange": {
  13880. "type": "object",
  13881. "required": [
  13882. "autoid"
  13883. ],
  13884. "properties": {
  13885. "autoid": {
  13886. "description": "AutoID - SEQ_EXTERNALEXCHANGE",
  13887. "type": "integer"
  13888. },
  13889. "exchangefullname": {
  13890. "description": "外部交易所全称",
  13891. "type": "string"
  13892. },
  13893. "exexchangecode": {
  13894. "description": "外部交易所代码",
  13895. "type": "string"
  13896. },
  13897. "exexchangename": {
  13898. "description": "外部交易所名称(简称)",
  13899. "type": "string"
  13900. },
  13901. "ismarketprice": {
  13902. "description": "是否支持市价 - 0:不支持 1:支持",
  13903. "type": "integer"
  13904. },
  13905. "quotegear": {
  13906. "description": "行情档位(1-10)",
  13907. "type": "integer"
  13908. },
  13909. "showbrokerflag": {
  13910. "description": "是否显示买卖经纪盘 - 0:不显示 1:显示",
  13911. "type": "integer"
  13912. },
  13913. "updatetime": {
  13914. "description": "更新时间",
  13915. "type": "string"
  13916. }
  13917. }
  13918. },
  13919. "models.Funcmenulist": {
  13920. "type": "object",
  13921. "required": [
  13922. "resourcecode"
  13923. ],
  13924. "properties": {
  13925. "iconame": {
  13926. "description": "菜单图标",
  13927. "type": "string"
  13928. },
  13929. "menutype": {
  13930. "description": "菜单类型 1-管理端 2-交易端 3-终端权限",
  13931. "type": "integer"
  13932. },
  13933. "parentcode": {
  13934. "description": "上级资源代码",
  13935. "type": "string"
  13936. },
  13937. "remark": {
  13938. "description": "备注",
  13939. "type": "string"
  13940. },
  13941. "resourcecode": {
  13942. "description": "资源代码",
  13943. "type": "string"
  13944. },
  13945. "resourcelevel": {
  13946. "description": "级别 1-一级 2-二级 3-三级 4-四级",
  13947. "type": "integer"
  13948. },
  13949. "resourcename": {
  13950. "description": "资源名",
  13951. "type": "string"
  13952. },
  13953. "sort": {
  13954. "description": "排序 - 一级时,是所有一级菜单的排序顺序;二级时是所属同一个一级菜单下的排序、三级时是同一个二级菜单下的排序",
  13955. "type": "integer"
  13956. },
  13957. "url": {
  13958. "description": "URL",
  13959. "type": "string"
  13960. }
  13961. }
  13962. },
  13963. "models.Goods": {
  13964. "type": "object",
  13965. "required": [
  13966. "goodscode",
  13967. "goodsid",
  13968. "goodsname",
  13969. "marketid"
  13970. ],
  13971. "properties": {
  13972. "agreeunit": {
  13973. "description": "合约单位",
  13974. "type": "number"
  13975. },
  13976. "auditaccountid": {
  13977. "description": "审核操作员账号",
  13978. "type": "integer"
  13979. },
  13980. "audittime": {
  13981. "description": "审核时间",
  13982. "type": "string"
  13983. },
  13984. "cancelaccountid": {
  13985. "description": "注销操作员账号",
  13986. "type": "integer"
  13987. },
  13988. "canceltime": {
  13989. "description": "注销时间",
  13990. "type": "string"
  13991. },
  13992. "closepricemode": {
  13993. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  13994. "type": "integer"
  13995. },
  13996. "closepriceparam": {
  13997. "description": "强平最新价浮动比例 - 方式为2时使用 (\u003c1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价",
  13998. "type": "number"
  13999. },
  14000. "createtime": {
  14001. "description": "创建时间",
  14002. "type": "string"
  14003. },
  14004. "creatorid": {
  14005. "description": "创建人",
  14006. "type": "integer"
  14007. },
  14008. "currencyid": {
  14009. "description": "报价货币ID",
  14010. "type": "integer"
  14011. },
  14012. "cutmode": {
  14013. "description": "斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓",
  14014. "type": "integer"
  14015. },
  14016. "decimalplace": {
  14017. "description": "报价小数位",
  14018. "type": "integer"
  14019. },
  14020. "delistingdate": {
  14021. "description": "商品退市时间(状态:退市) -- 已作废",
  14022. "type": "string"
  14023. },
  14024. "delistingmode": {
  14025. "description": "退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\\币币兑换)",
  14026. "type": "integer"
  14027. },
  14028. "deliveryflag": {
  14029. "description": "交割标志 - 0:不可交割 1:可交割",
  14030. "type": "integer"
  14031. },
  14032. "forceclosemode": {
  14033. "description": "定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]",
  14034. "type": "integer"
  14035. },
  14036. "forceclosevalue": {
  14037. "description": "定期强平参数 [收益权]",
  14038. "type": "integer"
  14039. },
  14040. "goodscode": {
  14041. "description": "商品代码(内部)",
  14042. "type": "string"
  14043. },
  14044. "goodscurrencyid": {
  14045. "description": "合约货币ID",
  14046. "type": "integer"
  14047. },
  14048. "goodsgroupid": {
  14049. "description": "所属商品组ID",
  14050. "type": "integer"
  14051. },
  14052. "goodsid": {
  14053. "description": "商品ID(自增ID SEQ_GOODS)",
  14054. "type": "integer"
  14055. },
  14056. "goodsname": {
  14057. "description": "商品名称",
  14058. "type": "string"
  14059. },
  14060. "goodsquotetype": {
  14061. "description": "合约报价类型: 1-直接报价 2-间接报价",
  14062. "type": "integer"
  14063. },
  14064. "goodsstatus": {
  14065. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  14066. "type": "integer"
  14067. },
  14068. "goodstradetype": {
  14069. "description": "商品交易权限类型 - 1:可建可平 3:不可建可平",
  14070. "type": "integer"
  14071. },
  14072. "goodunitid": {
  14073. "description": "报价单位ID",
  14074. "type": "integer"
  14075. },
  14076. "hasquoter": {
  14077. "description": "是否有报价商 - 0:无报价商 1:有报价商",
  14078. "type": "integer"
  14079. },
  14080. "hqprotecttime": {
  14081. "description": "行情保护时间(秒)",
  14082. "type": "integer"
  14083. },
  14084. "innerdealmode": {
  14085. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  14086. "type": "integer"
  14087. },
  14088. "isbuylimited": {
  14089. "description": "是否限制建仓量 - 0:不限制 1:限制",
  14090. "type": "integer"
  14091. },
  14092. "lasttradedate": {
  14093. "description": "最后交易日期(状态:待退市)",
  14094. "type": "string"
  14095. },
  14096. "listingdate": {
  14097. "description": "交易开始日期",
  14098. "type": "string"
  14099. },
  14100. "marketid": {
  14101. "description": "所属市场ID",
  14102. "type": "integer"
  14103. },
  14104. "modifierid": {
  14105. "description": "修改人",
  14106. "type": "integer"
  14107. },
  14108. "modifystatus": {
  14109. "description": "变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核",
  14110. "type": "integer"
  14111. },
  14112. "modifytime": {
  14113. "description": "修改时间",
  14114. "type": "string"
  14115. },
  14116. "outerdealmode": {
  14117. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  14118. "type": "integer"
  14119. },
  14120. "outgoodscode": {
  14121. "description": "商品代码(外部)",
  14122. "type": "string"
  14123. },
  14124. "qtydecimalplace": {
  14125. "description": "成交量小数位",
  14126. "type": "integer"
  14127. },
  14128. "quotegear": {
  14129. "description": "行情档位(1-10)",
  14130. "type": "integer"
  14131. },
  14132. "quoteminunit": {
  14133. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  14134. "type": "integer"
  14135. },
  14136. "quoteshowtype": {
  14137. "description": "行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价",
  14138. "type": "integer"
  14139. },
  14140. "quoteshowtypeinterval": {
  14141. "description": "行情报价间隔时间(秒)(成交价时为0)",
  14142. "type": "integer"
  14143. },
  14144. "remark": {
  14145. "description": "备注",
  14146. "type": "string"
  14147. }
  14148. }
  14149. },
  14150. "models.GoodsBrand": {
  14151. "type": "object",
  14152. "properties": {
  14153. "brandid": {
  14154. "description": "品牌ID",
  14155. "type": "integer"
  14156. },
  14157. "brandname": {
  14158. "description": "品牌名称",
  14159. "type": "string"
  14160. },
  14161. "isvalid": {
  14162. "description": "是否有效 - 0:无效 1:有效",
  14163. "type": "integer"
  14164. }
  14165. }
  14166. },
  14167. "models.GoodsGroupConvert": {
  14168. "type": "object",
  14169. "properties": {
  14170. "convertratio": {
  14171. "description": "折算系数",
  14172. "type": "number"
  14173. },
  14174. "dstgoodsgroupid": {
  14175. "description": "目标期货品种ID",
  14176. "type": "integer"
  14177. },
  14178. "goodsgroupname": {
  14179. "description": "期货品种名称",
  14180. "type": "string"
  14181. },
  14182. "outergroupcode": {
  14183. "description": "期货品种代码",
  14184. "type": "string"
  14185. },
  14186. "srcgoodsgroupid": {
  14187. "description": "源期货品种ID",
  14188. "type": "integer"
  14189. }
  14190. }
  14191. },
  14192. "models.GoodsIDAndName": {
  14193. "type": "object",
  14194. "required": [
  14195. "goodscode",
  14196. "goodsid",
  14197. "goodsname",
  14198. "marketid"
  14199. ],
  14200. "properties": {
  14201. "goodscode": {
  14202. "description": "商品代码(内部)",
  14203. "type": "string"
  14204. },
  14205. "goodsid": {
  14206. "description": "商品ID(自增ID SEQ_GOODS)",
  14207. "type": "integer"
  14208. },
  14209. "goodsname": {
  14210. "description": "商品名称",
  14211. "type": "string"
  14212. },
  14213. "marketid": {
  14214. "description": "所属市场ID",
  14215. "type": "integer"
  14216. }
  14217. }
  14218. },
  14219. "models.GoodsTypeModel": {
  14220. "type": "object",
  14221. "properties": {
  14222. "modelid": {
  14223. "description": "型号ID",
  14224. "type": "integer"
  14225. },
  14226. "modelname": {
  14227. "description": "型号名称",
  14228. "type": "string"
  14229. },
  14230. "updatetime": {
  14231. "description": "更新时间",
  14232. "type": "string"
  14233. }
  14234. }
  14235. },
  14236. "models.Goodsgroup": {
  14237. "type": "object",
  14238. "required": [
  14239. "goodsgroupid",
  14240. "goodsgroupname",
  14241. "goodsgroupstatus",
  14242. "marketid"
  14243. ],
  14244. "properties": {
  14245. "agreeunit": {
  14246. "description": "合约单位",
  14247. "type": "number"
  14248. },
  14249. "canshort": {
  14250. "description": "是否允许做空[通道交易] - 0:不能做空 1:可以做空",
  14251. "type": "integer"
  14252. },
  14253. "closepricemode": {
  14254. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  14255. "type": "integer"
  14256. },
  14257. "closepriceparam": {
  14258. "description": "强平最新价浮动比例 - 方式为2时使用",
  14259. "type": "number"
  14260. },
  14261. "createtime": {
  14262. "description": "创建时间",
  14263. "type": "string"
  14264. },
  14265. "creatorid": {
  14266. "description": "创建人",
  14267. "type": "integer"
  14268. },
  14269. "currencyid": {
  14270. "description": "报价货币ID",
  14271. "type": "integer"
  14272. },
  14273. "decimalplace": {
  14274. "description": "报价小数位",
  14275. "type": "integer"
  14276. },
  14277. "exercisetype": {
  14278. "description": "行权类型[场外期权]-1:欧式期权 2:美式期权",
  14279. "type": "integer"
  14280. },
  14281. "exexchangeid": {
  14282. "description": "外部交易所ID[通道交易]",
  14283. "type": "integer"
  14284. },
  14285. "goodsgroupid": {
  14286. "description": "商品组ID(自增ID)",
  14287. "type": "integer"
  14288. },
  14289. "goodsgroupname": {
  14290. "description": "商品组名称",
  14291. "type": "string"
  14292. },
  14293. "goodsgroupstatus": {
  14294. "description": "商品组状态 - 1:正常 2:注销",
  14295. "type": "integer"
  14296. },
  14297. "goodunitid": {
  14298. "description": "报价单位ID",
  14299. "type": "integer"
  14300. },
  14301. "innerdealmode": {
  14302. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  14303. "type": "integer"
  14304. },
  14305. "isbuylimited": {
  14306. "description": "是否限制建仓量 - 0:不限制 1:限制",
  14307. "type": "integer"
  14308. },
  14309. "marketid": {
  14310. "description": "所属市场ID",
  14311. "type": "integer"
  14312. },
  14313. "modifierid": {
  14314. "description": "修改人",
  14315. "type": "integer"
  14316. },
  14317. "modifytime": {
  14318. "description": "修改时间",
  14319. "type": "string"
  14320. },
  14321. "outerdealmode": {
  14322. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  14323. "type": "integer"
  14324. },
  14325. "outergroupcode": {
  14326. "description": "外部商品组代码[通道交易]",
  14327. "type": "string"
  14328. },
  14329. "premiumdecimalplace": {
  14330. "description": "权利金小数位[场外期权]",
  14331. "type": "integer"
  14332. },
  14333. "premiumspreadalgorithm": {
  14334. "description": "权利金点差方式[场外期权] 1:比率 2:固定",
  14335. "type": "integer"
  14336. },
  14337. "premiumspreadvalue": {
  14338. "description": "权利金点差值[场外期权]",
  14339. "type": "number"
  14340. },
  14341. "qtydecimalplace": {
  14342. "description": "成交量小数位",
  14343. "type": "integer"
  14344. },
  14345. "quotegear": {
  14346. "description": "行情档位(1-10)",
  14347. "type": "integer"
  14348. },
  14349. "quoteminunit": {
  14350. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  14351. "type": "integer"
  14352. },
  14353. "quoterid": {
  14354. "description": "报价商ID[场外期权]",
  14355. "type": "integer"
  14356. },
  14357. "quotesourcegroupid": {
  14358. "description": "所属行情源分组ID[参考行情市场用\\通道交易]",
  14359. "type": "integer"
  14360. },
  14361. "syncgoodsqty": {
  14362. "description": "同步合约数[通道交易-投资管理用] - 0表示不限",
  14363. "type": "integer"
  14364. }
  14365. }
  14366. },
  14367. "models.Goodssortbypreposition": {
  14368. "type": "object",
  14369. "required": [
  14370. "goodscode",
  14371. "tradedate"
  14372. ],
  14373. "properties": {
  14374. "goodscode": {
  14375. "description": "合约代码 - 易盛接口:合约代码=品种代码+合约代码",
  14376. "type": "string"
  14377. },
  14378. "goodsgroupcode": {
  14379. "description": "品种代码",
  14380. "type": "string"
  14381. },
  14382. "prepositionqty": {
  14383. "description": "昨持仓量",
  14384. "type": "integer"
  14385. },
  14386. "sortindex": {
  14387. "description": "排序",
  14388. "type": "integer"
  14389. },
  14390. "tradedate": {
  14391. "description": "交易日",
  14392. "type": "string"
  14393. },
  14394. "updatetime": {
  14395. "description": "更新时间",
  14396. "type": "string"
  14397. }
  14398. }
  14399. },
  14400. "models.HsbyBuyMyPayOrder": {
  14401. "type": "object",
  14402. "required": [
  14403. "goodscode",
  14404. "goodsname",
  14405. "tradeid",
  14406. "trademode"
  14407. ],
  14408. "properties": {
  14409. "agreeunit": {
  14410. "description": "合约单位",
  14411. "type": "number"
  14412. },
  14413. "buyaccountid": {
  14414. "description": "买方账号ID[报价币种]",
  14415. "type": "integer"
  14416. },
  14417. "buyorderid": {
  14418. "description": "买方委托单号",
  14419. "type": "string"
  14420. },
  14421. "createtime": {
  14422. "description": "创建时间",
  14423. "type": "string"
  14424. },
  14425. "currencysign": {
  14426. "description": "货币符号",
  14427. "type": "string"
  14428. },
  14429. "decimalplace": {
  14430. "description": "报价小数位",
  14431. "type": "integer"
  14432. },
  14433. "goodscode": {
  14434. "description": "商品代码(内部)",
  14435. "type": "string"
  14436. },
  14437. "goodsid": {
  14438. "description": "商品ID",
  14439. "type": "integer"
  14440. },
  14441. "goodsname": {
  14442. "description": "商品名称",
  14443. "type": "string"
  14444. },
  14445. "marketid": {
  14446. "description": "市场ID",
  14447. "type": "integer"
  14448. },
  14449. "offamount": {
  14450. "description": "优惠金额",
  14451. "type": "number"
  14452. },
  14453. "originalamount": {
  14454. "description": "原金额 = TradeAmount + TradeCharge + OffAmount",
  14455. "type": "number"
  14456. },
  14457. "payamount": {
  14458. "description": "支付金额 = TradeAmount + TradeCharge",
  14459. "type": "number"
  14460. },
  14461. "payflag": {
  14462. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  14463. "type": "integer"
  14464. },
  14465. "paylimitedtime": {
  14466. "description": "支付期限",
  14467. "type": "string"
  14468. },
  14469. "paytime": {
  14470. "description": "付款时间",
  14471. "type": "string"
  14472. },
  14473. "picurls1": {
  14474. "description": "预售商品介绍图片[多张用逗号分隔]",
  14475. "type": "string"
  14476. },
  14477. "picurls2": {
  14478. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  14479. "type": "string"
  14480. },
  14481. "sellaccountid": {
  14482. "description": "卖方账号ID[报价币种]",
  14483. "type": "integer"
  14484. },
  14485. "sellorderid": {
  14486. "description": "卖方委托单号",
  14487. "type": "string"
  14488. },
  14489. "tradeamount": {
  14490. "description": "成交金额",
  14491. "type": "number"
  14492. },
  14493. "tradecharge": {
  14494. "description": "成交手续费(买方)",
  14495. "type": "number"
  14496. },
  14497. "tradedate": {
  14498. "description": "交易日(yyyyMMdd)",
  14499. "type": "string"
  14500. },
  14501. "tradeid": {
  14502. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  14503. "type": "string"
  14504. },
  14505. "trademode": {
  14506. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  14507. "type": "integer"
  14508. },
  14509. "tradeprice": {
  14510. "description": "成交价格",
  14511. "type": "number"
  14512. },
  14513. "tradeqty": {
  14514. "description": "成交数量",
  14515. "type": "integer"
  14516. },
  14517. "vendorname1": {
  14518. "description": "预售商品供应商名称",
  14519. "type": "string"
  14520. },
  14521. "vendorname2": {
  14522. "description": "挂牌商品供应商名称",
  14523. "type": "string"
  14524. }
  14525. }
  14526. },
  14527. "models.HsbyBuyMyTradeDetail": {
  14528. "type": "object",
  14529. "required": [
  14530. "accountid",
  14531. "buyorsell",
  14532. "goodscode",
  14533. "goodsid",
  14534. "goodsname",
  14535. "marketid",
  14536. "orderid",
  14537. "qty",
  14538. "time",
  14539. "trademode"
  14540. ],
  14541. "properties": {
  14542. "accountid": {
  14543. "description": "账户ID[报价币种]",
  14544. "type": "integer"
  14545. },
  14546. "agreeunit": {
  14547. "description": "合约单位",
  14548. "type": "number"
  14549. },
  14550. "amount": {
  14551. "description": "金额 = 价格 * 数量 * 合约单位",
  14552. "type": "number"
  14553. },
  14554. "buyorsell": {
  14555. "description": "买卖 - 0:买 1:卖",
  14556. "type": "integer"
  14557. },
  14558. "currencysign": {
  14559. "description": "货币符号",
  14560. "type": "string"
  14561. },
  14562. "decimalplace": {
  14563. "description": "报价小数位",
  14564. "type": "integer"
  14565. },
  14566. "goodscode": {
  14567. "description": "商品代码(内部)",
  14568. "type": "string"
  14569. },
  14570. "goodsid": {
  14571. "description": "商品ID",
  14572. "type": "integer"
  14573. },
  14574. "goodsname": {
  14575. "description": "商品名称",
  14576. "type": "string"
  14577. },
  14578. "marketid": {
  14579. "description": "市场ID",
  14580. "type": "integer"
  14581. },
  14582. "orderamount": {
  14583. "description": "委托金额",
  14584. "type": "number"
  14585. },
  14586. "orderid": {
  14587. "description": "单号(成交单号)",
  14588. "type": "string"
  14589. },
  14590. "picurls1": {
  14591. "description": "预售商品介绍图片[多张用逗号分隔]",
  14592. "type": "string"
  14593. },
  14594. "picurls2": {
  14595. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  14596. "type": "string"
  14597. },
  14598. "price": {
  14599. "description": "价格",
  14600. "type": "number"
  14601. },
  14602. "qty": {
  14603. "description": "数量",
  14604. "type": "integer"
  14605. },
  14606. "time": {
  14607. "description": "时间",
  14608. "type": "string"
  14609. },
  14610. "trademode": {
  14611. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  14612. "type": "integer"
  14613. },
  14614. "vendorname1": {
  14615. "description": "预售商品供应商名称",
  14616. "type": "string"
  14617. },
  14618. "vendorname2": {
  14619. "description": "挂牌商品供应商名称",
  14620. "type": "string"
  14621. }
  14622. }
  14623. },
  14624. "models.HsbyGoodsOrderDetail": {
  14625. "type": "object",
  14626. "required": [
  14627. "buyorsell",
  14628. "orderid",
  14629. "ordertime"
  14630. ],
  14631. "properties": {
  14632. "buyorsell": {
  14633. "description": "买卖 - 0:买 1:卖",
  14634. "type": "integer"
  14635. },
  14636. "currencysign": {
  14637. "description": "货币符号",
  14638. "type": "string"
  14639. },
  14640. "customername": {
  14641. "description": "客户名称(企业名称),已脱敏",
  14642. "type": "string"
  14643. },
  14644. "enableqty": {
  14645. "description": "可用数量",
  14646. "type": "integer"
  14647. },
  14648. "goodunit": {
  14649. "description": "报价单位",
  14650. "type": "string"
  14651. },
  14652. "orderid": {
  14653. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  14654. "type": "string"
  14655. },
  14656. "orderprice": {
  14657. "description": "委托价格",
  14658. "type": "number"
  14659. },
  14660. "ordertime": {
  14661. "description": "委托时间",
  14662. "type": "string"
  14663. }
  14664. }
  14665. },
  14666. "models.HsbyListingGoodsDetail": {
  14667. "type": "object",
  14668. "required": [
  14669. "goodscode",
  14670. "goodsid",
  14671. "goodsname",
  14672. "marketid",
  14673. "trademode"
  14674. ],
  14675. "properties": {
  14676. "agreeunit": {
  14677. "description": "合约单位",
  14678. "type": "number"
  14679. },
  14680. "buymaxqty": {
  14681. "description": "购买上限 [71] - 0为不限",
  14682. "type": "integer"
  14683. },
  14684. "currency": {
  14685. "description": "货币",
  14686. "type": "string"
  14687. },
  14688. "currencysign": {
  14689. "description": "货币符号",
  14690. "type": "string"
  14691. },
  14692. "decimalplace": {
  14693. "description": "报价小数位",
  14694. "type": "integer"
  14695. },
  14696. "desccityid": {
  14697. "description": "目的地(市)ID",
  14698. "type": "integer"
  14699. },
  14700. "descprovinceid": {
  14701. "description": "目的地(省)ID",
  14702. "type": "integer"
  14703. },
  14704. "goodscode": {
  14705. "description": "商品代码(内部)",
  14706. "type": "string"
  14707. },
  14708. "goodsdesc": {
  14709. "description": "商品详情",
  14710. "type": "string"
  14711. },
  14712. "goodsid": {
  14713. "description": "商品ID(自增ID SEQ_GOODS)",
  14714. "type": "integer"
  14715. },
  14716. "goodsname": {
  14717. "description": "商品名称",
  14718. "type": "string"
  14719. },
  14720. "goodsprice": {
  14721. "description": "商品价格",
  14722. "type": "number"
  14723. },
  14724. "hotindex": {
  14725. "description": "景点热度",
  14726. "type": "integer"
  14727. },
  14728. "last": {
  14729. "description": "现价",
  14730. "type": "number"
  14731. },
  14732. "limitdown": {
  14733. "description": "跌停价",
  14734. "type": "number"
  14735. },
  14736. "limitup": {
  14737. "description": "涨停价",
  14738. "type": "number"
  14739. },
  14740. "lotsize": {
  14741. "description": "手数最小变动单位",
  14742. "type": "integer"
  14743. },
  14744. "marketid": {
  14745. "description": "所属市场ID",
  14746. "type": "integer"
  14747. },
  14748. "picurls": {
  14749. "description": "介绍图片[多张用逗号分隔]",
  14750. "type": "string"
  14751. },
  14752. "quoteminunit": {
  14753. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  14754. "type": "integer"
  14755. },
  14756. "stepvalue": {
  14757. "description": "价格最小变动单位",
  14758. "type": "number"
  14759. },
  14760. "trademode": {
  14761. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  14762. "type": "integer"
  14763. },
  14764. "vendorattr": {
  14765. "description": "供应商附件(多张,逗号分隔)",
  14766. "type": "string"
  14767. },
  14768. "vendorname": {
  14769. "description": "供应商名称",
  14770. "type": "string"
  14771. },
  14772. "vendorphone": {
  14773. "description": "供应商客服电话",
  14774. "type": "string"
  14775. },
  14776. "videourls": {
  14777. "description": "介绍视频[多张用逗号分隔]",
  14778. "type": "string"
  14779. }
  14780. }
  14781. },
  14782. "models.HsbyMarketGoods": {
  14783. "type": "object",
  14784. "required": [
  14785. "accountid",
  14786. "buyorsell",
  14787. "goodscode",
  14788. "goodsid",
  14789. "goodsname",
  14790. "marketid",
  14791. "orderid",
  14792. "trademode"
  14793. ],
  14794. "properties": {
  14795. "accountid": {
  14796. "description": "账户ID[报价币种]",
  14797. "type": "integer"
  14798. },
  14799. "agreeunit": {
  14800. "description": "合约单位",
  14801. "type": "number"
  14802. },
  14803. "buyorsell": {
  14804. "description": "买卖 - 0:买 1:卖",
  14805. "type": "integer"
  14806. },
  14807. "categoryid": {
  14808. "description": "类别ID(WRCATEGORY)",
  14809. "type": "integer"
  14810. },
  14811. "currency": {
  14812. "description": "货币",
  14813. "type": "string"
  14814. },
  14815. "currencysign": {
  14816. "description": "货币符号",
  14817. "type": "string"
  14818. },
  14819. "customername": {
  14820. "description": "卖家名称",
  14821. "type": "string"
  14822. },
  14823. "decimalplace": {
  14824. "description": "报价小数位",
  14825. "type": "integer"
  14826. },
  14827. "goodscode": {
  14828. "description": "商品代码(内部)",
  14829. "type": "string"
  14830. },
  14831. "goodsid": {
  14832. "description": "商品ID",
  14833. "type": "integer"
  14834. },
  14835. "goodsname": {
  14836. "description": "商品名称",
  14837. "type": "string"
  14838. },
  14839. "goodsprice": {
  14840. "description": "商品价格",
  14841. "type": "number"
  14842. },
  14843. "hascoupon": {
  14844. "description": "是否可用优惠卷",
  14845. "type": "boolean"
  14846. },
  14847. "hotindex": {
  14848. "description": "景点热度",
  14849. "type": "integer"
  14850. },
  14851. "marketid": {
  14852. "description": "市场ID",
  14853. "type": "integer"
  14854. },
  14855. "orderid": {
  14856. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  14857. "type": "string"
  14858. },
  14859. "orderprice": {
  14860. "description": "委托价格",
  14861. "type": "number"
  14862. },
  14863. "orderstatus": {
  14864. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  14865. "type": "integer"
  14866. },
  14867. "picurls": {
  14868. "description": "介绍图片[多张用逗号分隔]",
  14869. "type": "string"
  14870. },
  14871. "quoteminunit": {
  14872. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  14873. "type": "integer"
  14874. },
  14875. "sellUserID": {
  14876. "description": "卖方UserID",
  14877. "type": "integer"
  14878. },
  14879. "trademode": {
  14880. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  14881. "type": "integer"
  14882. },
  14883. "videourls": {
  14884. "description": "介绍视频[多张用逗号分隔]",
  14885. "type": "string"
  14886. }
  14887. }
  14888. },
  14889. "models.HsbyMarketGoodsDetail": {
  14890. "type": "object",
  14891. "required": [
  14892. "accountid",
  14893. "buyorsell",
  14894. "goodscode",
  14895. "goodsid",
  14896. "goodsname",
  14897. "marketid",
  14898. "orderid",
  14899. "orderqty",
  14900. "trademode"
  14901. ],
  14902. "properties": {
  14903. "accountid": {
  14904. "description": "账户ID[报价币种]",
  14905. "type": "integer"
  14906. },
  14907. "agreeunit": {
  14908. "description": "合约单位",
  14909. "type": "number"
  14910. },
  14911. "buymaxqty": {
  14912. "description": "购买上限 [71] - 0为不限",
  14913. "type": "integer"
  14914. },
  14915. "buyorsell": {
  14916. "description": "买卖 - 0:买 1:卖",
  14917. "type": "integer"
  14918. },
  14919. "cancelqty": {
  14920. "description": "撤单数量",
  14921. "type": "integer"
  14922. },
  14923. "categoryid": {
  14924. "description": "类别ID(WRCATEGORY)",
  14925. "type": "integer"
  14926. },
  14927. "currency": {
  14928. "description": "货币",
  14929. "type": "string"
  14930. },
  14931. "currencysign": {
  14932. "description": "货币符号",
  14933. "type": "string"
  14934. },
  14935. "customername": {
  14936. "description": "卖家名称",
  14937. "type": "string"
  14938. },
  14939. "decimalplace": {
  14940. "description": "报价小数位",
  14941. "type": "integer"
  14942. },
  14943. "goodscode": {
  14944. "description": "商品代码(内部)",
  14945. "type": "string"
  14946. },
  14947. "goodsdesc": {
  14948. "description": "商品详情",
  14949. "type": "string"
  14950. },
  14951. "goodsid": {
  14952. "description": "商品ID",
  14953. "type": "integer"
  14954. },
  14955. "goodsname": {
  14956. "description": "商品名称",
  14957. "type": "string"
  14958. },
  14959. "goodsprice": {
  14960. "description": "商品价格",
  14961. "type": "number"
  14962. },
  14963. "hotindex": {
  14964. "description": "景点热度",
  14965. "type": "integer"
  14966. },
  14967. "lotsize": {
  14968. "description": "手数最小变动单位",
  14969. "type": "integer"
  14970. },
  14971. "marketid": {
  14972. "description": "市场ID",
  14973. "type": "integer"
  14974. },
  14975. "orderid": {
  14976. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  14977. "type": "string"
  14978. },
  14979. "orderprice": {
  14980. "description": "委托价格",
  14981. "type": "number"
  14982. },
  14983. "orderqty": {
  14984. "description": "委托数量",
  14985. "type": "integer"
  14986. },
  14987. "orderstatus": {
  14988. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  14989. "type": "integer"
  14990. },
  14991. "picurls": {
  14992. "description": "介绍图片[多张用逗号分隔]",
  14993. "type": "string"
  14994. },
  14995. "quoteminunit": {
  14996. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  14997. "type": "integer"
  14998. },
  14999. "sellUserID": {
  15000. "description": "卖方UserID",
  15001. "type": "integer"
  15002. },
  15003. "trademode": {
  15004. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  15005. "type": "integer"
  15006. },
  15007. "tradeqty": {
  15008. "description": "成交数量",
  15009. "type": "integer"
  15010. },
  15011. "vendorattr": {
  15012. "description": "供应商附件(多张,逗号分隔)",
  15013. "type": "string"
  15014. },
  15015. "vendorname": {
  15016. "description": "供应商名称",
  15017. "type": "string"
  15018. },
  15019. "vendorphone": {
  15020. "description": "供应商客服电话",
  15021. "type": "string"
  15022. },
  15023. "videourls": {
  15024. "description": "介绍视频[多张用逗号分隔]",
  15025. "type": "string"
  15026. }
  15027. }
  15028. },
  15029. "models.HsbyMarketInfo": {
  15030. "type": "object",
  15031. "required": [
  15032. "marketid",
  15033. "marketstatus",
  15034. "trademode"
  15035. ],
  15036. "properties": {
  15037. "marketid": {
  15038. "description": "市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务",
  15039. "type": "integer"
  15040. },
  15041. "marketname": {
  15042. "description": "市场名称",
  15043. "type": "string"
  15044. },
  15045. "marketstatus": {
  15046. "description": "生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销",
  15047. "type": "integer"
  15048. },
  15049. "trademode": {
  15050. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  15051. "type": "integer"
  15052. }
  15053. }
  15054. },
  15055. "models.HsbyMyGoods": {
  15056. "type": "object",
  15057. "required": [
  15058. "accountid",
  15059. "goodscode",
  15060. "goodsid",
  15061. "goodsname",
  15062. "marketid",
  15063. "trademode"
  15064. ],
  15065. "properties": {
  15066. "accountid": {
  15067. "description": "账号Id",
  15068. "type": "integer"
  15069. },
  15070. "agreeunit": {
  15071. "description": "合约单位",
  15072. "type": "number"
  15073. },
  15074. "buyaverageprice": {
  15075. "description": "持仓均价",
  15076. "type": "number"
  15077. },
  15078. "buycurholderamount": {
  15079. "description": "买当前持仓总金额[商品币种]",
  15080. "type": "number"
  15081. },
  15082. "buycurpositionqty": {
  15083. "description": "买当前持仓总数量",
  15084. "type": "integer"
  15085. },
  15086. "buymaxqty": {
  15087. "description": "购买上限 [71] - 0为不限",
  15088. "type": "integer"
  15089. },
  15090. "currencysign": {
  15091. "description": "货币符号",
  15092. "type": "string"
  15093. },
  15094. "decimalplace": {
  15095. "description": "报价小数位",
  15096. "type": "integer"
  15097. },
  15098. "enableqty": {
  15099. "description": "可用数量",
  15100. "type": "integer"
  15101. },
  15102. "goodscode": {
  15103. "description": "商品代码(内部)",
  15104. "type": "string"
  15105. },
  15106. "goodsid": {
  15107. "description": "商品Id",
  15108. "type": "integer"
  15109. },
  15110. "goodsname": {
  15111. "description": "商品名称",
  15112. "type": "string"
  15113. },
  15114. "goodsprice": {
  15115. "description": "商品价格",
  15116. "type": "number"
  15117. },
  15118. "goodsstatus": {
  15119. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  15120. "type": "integer"
  15121. },
  15122. "last": {
  15123. "description": "现价(仅使用于挂牌点选)",
  15124. "type": "number"
  15125. },
  15126. "limitdown": {
  15127. "description": "跌停价(仅使用于挂牌点选)",
  15128. "type": "number"
  15129. },
  15130. "limitup": {
  15131. "description": "涨停价(仅使用于挂牌点选)",
  15132. "type": "number"
  15133. },
  15134. "lotsize": {
  15135. "description": "手数最小变动单位",
  15136. "type": "integer"
  15137. },
  15138. "marketid": {
  15139. "description": "所属市场ID",
  15140. "type": "integer"
  15141. },
  15142. "picurls": {
  15143. "description": "介绍图片[多张用逗号分隔]",
  15144. "type": "string"
  15145. },
  15146. "quoteminunit": {
  15147. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  15148. "type": "integer"
  15149. },
  15150. "stepvalue": {
  15151. "description": "价格最小变动单位",
  15152. "type": "number"
  15153. },
  15154. "trademode": {
  15155. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  15156. "type": "integer"
  15157. }
  15158. }
  15159. },
  15160. "models.HsbyMyPackage": {
  15161. "type": "object",
  15162. "required": [
  15163. "goodscode",
  15164. "goodsname",
  15165. "takeorderid",
  15166. "trademode"
  15167. ],
  15168. "properties": {
  15169. "accountid": {
  15170. "description": "账户ID",
  15171. "type": "integer"
  15172. },
  15173. "address": {
  15174. "description": "提货人详细地址",
  15175. "type": "string"
  15176. },
  15177. "agreeunit": {
  15178. "description": "合约单位",
  15179. "type": "number"
  15180. },
  15181. "amount": {
  15182. "description": "提货金额",
  15183. "type": "number"
  15184. },
  15185. "auditer": {
  15186. "description": "审核人",
  15187. "type": "integer"
  15188. },
  15189. "audittime": {
  15190. "description": "审核时间",
  15191. "type": "string"
  15192. },
  15193. "averageprice": {
  15194. "description": "均价",
  15195. "type": "number"
  15196. },
  15197. "cardnum": {
  15198. "description": "提货人证件号码",
  15199. "type": "string"
  15200. },
  15201. "cardtypeid": {
  15202. "description": "提货人证件类型",
  15203. "type": "integer"
  15204. },
  15205. "checkremark": {
  15206. "description": "审核备注",
  15207. "type": "string"
  15208. },
  15209. "currencysign": {
  15210. "description": "货币符号",
  15211. "type": "string"
  15212. },
  15213. "decimalplace": {
  15214. "description": "报价小数位",
  15215. "type": "integer"
  15216. },
  15217. "goodscode": {
  15218. "description": "商品代码(内部)",
  15219. "type": "string"
  15220. },
  15221. "goodsid": {
  15222. "description": "商品ID",
  15223. "type": "integer"
  15224. },
  15225. "goodsname": {
  15226. "description": "商品名称",
  15227. "type": "string"
  15228. },
  15229. "handlestatus": {
  15230. "description": "处理状态",
  15231. "type": "integer"
  15232. },
  15233. "marketid": {
  15234. "description": "市场ID",
  15235. "type": "integer"
  15236. },
  15237. "phonenum": {
  15238. "description": "提货人联系方式",
  15239. "type": "string"
  15240. },
  15241. "picurls": {
  15242. "description": "介绍图片[多张用逗号分隔]",
  15243. "type": "string"
  15244. },
  15245. "qty": {
  15246. "description": "提货数量",
  15247. "type": "number"
  15248. },
  15249. "recivername": {
  15250. "description": "提货人姓名",
  15251. "type": "string"
  15252. },
  15253. "reqtime": {
  15254. "description": "更新时间",
  15255. "type": "string"
  15256. },
  15257. "takemode": {
  15258. "description": "提货方式 - 2:自提 3:配送",
  15259. "type": "integer"
  15260. },
  15261. "takeorderid": {
  15262. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  15263. "type": "string"
  15264. },
  15265. "takeorderstatus": {
  15266. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  15267. "type": "integer"
  15268. },
  15269. "takeremark": {
  15270. "description": "提货备注",
  15271. "type": "string"
  15272. },
  15273. "tradedate": {
  15274. "description": "交易日(yyyyMMdd)",
  15275. "type": "string"
  15276. },
  15277. "trademode": {
  15278. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  15279. "type": "integer"
  15280. },
  15281. "userid": {
  15282. "description": "用户ID",
  15283. "type": "integer"
  15284. },
  15285. "vendorname": {
  15286. "description": "供应商名称",
  15287. "type": "string"
  15288. }
  15289. }
  15290. },
  15291. "models.HsbyPreGoods": {
  15292. "type": "object",
  15293. "required": [
  15294. "goodscode",
  15295. "goodsid",
  15296. "goodsname",
  15297. "marketid",
  15298. "trademode"
  15299. ],
  15300. "properties": {
  15301. "agreeunit": {
  15302. "description": "合约单位",
  15303. "type": "number"
  15304. },
  15305. "currency": {
  15306. "description": "货币",
  15307. "type": "string"
  15308. },
  15309. "currencysign": {
  15310. "description": "货币符号",
  15311. "type": "string"
  15312. },
  15313. "decimalplace": {
  15314. "description": "报价小数位",
  15315. "type": "integer"
  15316. },
  15317. "desccityid": {
  15318. "description": "目的地(市)",
  15319. "type": "integer"
  15320. },
  15321. "descprovinceid": {
  15322. "description": "目的地(省)",
  15323. "type": "integer"
  15324. },
  15325. "enableqty": {
  15326. "description": "剩余数量",
  15327. "type": "integer"
  15328. },
  15329. "goodscode": {
  15330. "description": "商品代码(内部)",
  15331. "type": "string"
  15332. },
  15333. "goodsid": {
  15334. "description": "商品ID(自增ID SEQ_GOODS)",
  15335. "type": "integer"
  15336. },
  15337. "goodsname": {
  15338. "description": "商品名称",
  15339. "type": "string"
  15340. },
  15341. "goodsstatus": {
  15342. "description": "商品状态- 2:未上市 3:上市",
  15343. "type": "integer"
  15344. },
  15345. "lasttradedate": {
  15346. "description": "最后交易日期(状态:待退市)",
  15347. "type": "string"
  15348. },
  15349. "listingdate": {
  15350. "description": "交易开始日期",
  15351. "type": "string"
  15352. },
  15353. "marketid": {
  15354. "description": "所属市场ID",
  15355. "type": "integer"
  15356. },
  15357. "picurls": {
  15358. "description": "介绍图片[多张用逗号分隔]",
  15359. "type": "string"
  15360. },
  15361. "presaledqty": {
  15362. "description": "已预售量(预售结束时更新)",
  15363. "type": "integer"
  15364. },
  15365. "presaleqty": {
  15366. "description": "预售数量",
  15367. "type": "integer"
  15368. },
  15369. "quoteminunit": {
  15370. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  15371. "type": "integer"
  15372. },
  15373. "refprice": {
  15374. "description": "参考价格[一口价]",
  15375. "type": "number"
  15376. },
  15377. "relatedgoodsid": {
  15378. "description": "关联交易合约ID",
  15379. "type": "integer"
  15380. },
  15381. "trademode": {
  15382. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  15383. "type": "integer"
  15384. },
  15385. "videourls": {
  15386. "description": "介绍视频[多张用逗号分隔]",
  15387. "type": "string"
  15388. }
  15389. }
  15390. },
  15391. "models.HsbyPreGoodsDetail": {
  15392. "type": "object",
  15393. "required": [
  15394. "goodscode",
  15395. "goodsid",
  15396. "goodsname",
  15397. "marketid",
  15398. "trademode"
  15399. ],
  15400. "properties": {
  15401. "agreeunit": {
  15402. "description": "合约单位",
  15403. "type": "number"
  15404. },
  15405. "buymaxqty": {
  15406. "description": "购买上限 [71] - 0为不限",
  15407. "type": "integer"
  15408. },
  15409. "currency": {
  15410. "description": "货币",
  15411. "type": "string"
  15412. },
  15413. "currencysign": {
  15414. "description": "货币符号",
  15415. "type": "string"
  15416. },
  15417. "customername": {
  15418. "description": "发行单位",
  15419. "type": "string"
  15420. },
  15421. "decimalplace": {
  15422. "description": "报价小数位",
  15423. "type": "integer"
  15424. },
  15425. "desccityid": {
  15426. "description": "目的地(市)ID",
  15427. "type": "integer"
  15428. },
  15429. "descprovinceid": {
  15430. "description": "目的地(省)ID",
  15431. "type": "integer"
  15432. },
  15433. "enableqty": {
  15434. "description": "剩余数量",
  15435. "type": "integer"
  15436. },
  15437. "goodscode": {
  15438. "description": "商品代码(内部)",
  15439. "type": "string"
  15440. },
  15441. "goodsdesc": {
  15442. "description": "商品详情",
  15443. "type": "string"
  15444. },
  15445. "goodsid": {
  15446. "description": "商品ID(自增ID SEQ_GOODS)",
  15447. "type": "integer"
  15448. },
  15449. "goodsname": {
  15450. "description": "商品名称",
  15451. "type": "string"
  15452. },
  15453. "goodsstatus": {
  15454. "description": "商品状态- 2:未上市 3:上市",
  15455. "type": "integer"
  15456. },
  15457. "goodunit": {
  15458. "description": "报价单位",
  15459. "type": "string"
  15460. },
  15461. "lasttradedate": {
  15462. "description": "最后交易日期(状态:待退市)",
  15463. "type": "string"
  15464. },
  15465. "listingdate": {
  15466. "description": "交易开始日期",
  15467. "type": "string"
  15468. },
  15469. "lotsize": {
  15470. "description": "手数最小变动单位",
  15471. "type": "integer"
  15472. },
  15473. "marketid": {
  15474. "description": "所属市场ID",
  15475. "type": "integer"
  15476. },
  15477. "picurls": {
  15478. "description": "介绍图片[多张用逗号分隔]",
  15479. "type": "string"
  15480. },
  15481. "presaledqty": {
  15482. "description": "已预售量(预售结束时更新)",
  15483. "type": "integer"
  15484. },
  15485. "presaleqty": {
  15486. "description": "预售数量",
  15487. "type": "integer"
  15488. },
  15489. "quoteminunit": {
  15490. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  15491. "type": "integer"
  15492. },
  15493. "refprice": {
  15494. "description": "参考价格[一口价]",
  15495. "type": "number"
  15496. },
  15497. "relatedgoodsid": {
  15498. "description": "关联交易合约ID",
  15499. "type": "integer"
  15500. },
  15501. "stepvalue": {
  15502. "description": "价格最小变动单位",
  15503. "type": "number"
  15504. },
  15505. "trademode": {
  15506. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  15507. "type": "integer"
  15508. },
  15509. "vendorattr": {
  15510. "description": "供应商附件(多张,逗号分隔)",
  15511. "type": "string"
  15512. },
  15513. "vendorname": {
  15514. "description": "供应商名称",
  15515. "type": "string"
  15516. },
  15517. "vendorphone": {
  15518. "description": "供应商客服电话",
  15519. "type": "string"
  15520. },
  15521. "videourls": {
  15522. "description": "介绍视频[多张用逗号分隔]",
  15523. "type": "string"
  15524. }
  15525. }
  15526. },
  15527. "models.HsbySellCollectionOrder": {
  15528. "type": "object",
  15529. "required": [
  15530. "goodscode",
  15531. "goodsname",
  15532. "tradeid",
  15533. "trademode"
  15534. ],
  15535. "properties": {
  15536. "agreeunit": {
  15537. "description": "合约单位",
  15538. "type": "number"
  15539. },
  15540. "buyaccountid": {
  15541. "description": "买方账号ID[报价币种]",
  15542. "type": "integer"
  15543. },
  15544. "buyorderid": {
  15545. "description": "买方委托单号",
  15546. "type": "string"
  15547. },
  15548. "createtime": {
  15549. "description": "创建时间",
  15550. "type": "string"
  15551. },
  15552. "currencysign": {
  15553. "description": "货币符号",
  15554. "type": "string"
  15555. },
  15556. "decimalplace": {
  15557. "description": "报价小数位",
  15558. "type": "integer"
  15559. },
  15560. "goodscode": {
  15561. "description": "商品代码(内部)",
  15562. "type": "string"
  15563. },
  15564. "goodsid": {
  15565. "description": "商品ID",
  15566. "type": "integer"
  15567. },
  15568. "goodsname": {
  15569. "description": "商品名称",
  15570. "type": "string"
  15571. },
  15572. "marketid": {
  15573. "description": "市场ID",
  15574. "type": "integer"
  15575. },
  15576. "offamount": {
  15577. "description": "优惠金额",
  15578. "type": "number"
  15579. },
  15580. "payamount": {
  15581. "description": "支付金额 = TradeAmount + TradeCharge - OffAmount",
  15582. "type": "number"
  15583. },
  15584. "payflag": {
  15585. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  15586. "type": "integer"
  15587. },
  15588. "paylimitedtime": {
  15589. "description": "支付期限",
  15590. "type": "string"
  15591. },
  15592. "paytime": {
  15593. "description": "付款时间",
  15594. "type": "string"
  15595. },
  15596. "picurls": {
  15597. "description": "商品介绍图片[多张用逗号分隔]",
  15598. "type": "string"
  15599. },
  15600. "sellaccountid": {
  15601. "description": "卖方账号ID[报价币种]",
  15602. "type": "integer"
  15603. },
  15604. "sellorderid": {
  15605. "description": "卖方委托单号",
  15606. "type": "string"
  15607. },
  15608. "tradeamount": {
  15609. "description": "成交金额",
  15610. "type": "number"
  15611. },
  15612. "tradecharge": {
  15613. "description": "成交手续费(买方)",
  15614. "type": "number"
  15615. },
  15616. "tradedate": {
  15617. "description": "交易日(yyyyMMdd)",
  15618. "type": "string"
  15619. },
  15620. "tradeid": {
  15621. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  15622. "type": "string"
  15623. },
  15624. "trademode": {
  15625. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  15626. "type": "integer"
  15627. },
  15628. "tradeprice": {
  15629. "description": "成交价格",
  15630. "type": "number"
  15631. },
  15632. "tradeqty": {
  15633. "description": "成交数量",
  15634. "type": "integer"
  15635. }
  15636. }
  15637. },
  15638. "models.HsbySellMyDetail": {
  15639. "type": "object",
  15640. "required": [
  15641. "accountid",
  15642. "buyorsell",
  15643. "goodscode",
  15644. "goodsid",
  15645. "goodsname",
  15646. "marketid",
  15647. "orderid",
  15648. "time",
  15649. "trademode"
  15650. ],
  15651. "properties": {
  15652. "accountid": {
  15653. "description": "账户ID[报价币种]",
  15654. "type": "integer"
  15655. },
  15656. "agreeunit": {
  15657. "description": "合约单位",
  15658. "type": "number"
  15659. },
  15660. "buyorsell": {
  15661. "description": "买卖 - 0:买 1:卖",
  15662. "type": "integer"
  15663. },
  15664. "currencysign": {
  15665. "description": "货币符号",
  15666. "type": "string"
  15667. },
  15668. "decimalplace": {
  15669. "description": "报价小数位",
  15670. "type": "integer"
  15671. },
  15672. "goodscode": {
  15673. "description": "商品代码(内部)",
  15674. "type": "string"
  15675. },
  15676. "goodsid": {
  15677. "description": "商品ID",
  15678. "type": "integer"
  15679. },
  15680. "goodsname": {
  15681. "description": "商品名称",
  15682. "type": "string"
  15683. },
  15684. "marketid": {
  15685. "description": "市场ID",
  15686. "type": "integer"
  15687. },
  15688. "orderid": {
  15689. "description": "单号(发布中 - 委托单号;已完成 - 成交单号)",
  15690. "type": "string"
  15691. },
  15692. "ordertype": {
  15693. "description": "单据类型:0 - 发布中, 1 - 已完成",
  15694. "type": "integer"
  15695. },
  15696. "picurls": {
  15697. "description": "介绍图片[多张用逗号分隔]",
  15698. "type": "string"
  15699. },
  15700. "price": {
  15701. "description": "价格",
  15702. "type": "number"
  15703. },
  15704. "qty": {
  15705. "description": "数量",
  15706. "type": "integer"
  15707. },
  15708. "time": {
  15709. "description": "时间",
  15710. "type": "string"
  15711. },
  15712. "trademode": {
  15713. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  15714. "type": "integer"
  15715. },
  15716. "vendorname": {
  15717. "description": "供应商名称",
  15718. "type": "string"
  15719. }
  15720. }
  15721. },
  15722. "models.HsbyTopGoods": {
  15723. "type": "object",
  15724. "required": [
  15725. "goodscode",
  15726. "goodsid",
  15727. "goodsname",
  15728. "marketid",
  15729. "trademode"
  15730. ],
  15731. "properties": {
  15732. "agreeunit": {
  15733. "description": "合约单位",
  15734. "type": "number"
  15735. },
  15736. "currency": {
  15737. "description": "货币",
  15738. "type": "string"
  15739. },
  15740. "currencysign": {
  15741. "description": "货币符号",
  15742. "type": "string"
  15743. },
  15744. "decimalplace": {
  15745. "description": "报价小数位",
  15746. "type": "integer"
  15747. },
  15748. "desccityid": {
  15749. "description": "目的地(市)",
  15750. "type": "integer"
  15751. },
  15752. "descprovinceid": {
  15753. "description": "目的地(省)",
  15754. "type": "integer"
  15755. },
  15756. "goodscode": {
  15757. "description": "商品代码(内部)",
  15758. "type": "string"
  15759. },
  15760. "goodsid": {
  15761. "description": "商品ID(自增ID SEQ_GOODS)",
  15762. "type": "integer"
  15763. },
  15764. "goodsname": {
  15765. "description": "商品名称",
  15766. "type": "string"
  15767. },
  15768. "hotindex": {
  15769. "description": "景点热度",
  15770. "type": "integer"
  15771. },
  15772. "last": {
  15773. "description": "现价",
  15774. "type": "number"
  15775. },
  15776. "marketid": {
  15777. "description": "所属市场ID",
  15778. "type": "integer"
  15779. },
  15780. "picurls": {
  15781. "description": "介绍图片[多张用逗号分隔]",
  15782. "type": "string"
  15783. },
  15784. "quoteminunit": {
  15785. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  15786. "type": "integer"
  15787. },
  15788. "trademode": {
  15789. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  15790. "type": "integer"
  15791. },
  15792. "videourls": {
  15793. "description": "介绍视频[多张用逗号分隔]",
  15794. "type": "string"
  15795. }
  15796. }
  15797. },
  15798. "models.HybsMyBuyOrderDetail": {
  15799. "type": "object",
  15800. "required": [
  15801. "accountid",
  15802. "buyorsell",
  15803. "goodscode",
  15804. "goodsid",
  15805. "goodsname",
  15806. "marketid",
  15807. "orderid",
  15808. "orderqty",
  15809. "ordertime",
  15810. "trademode"
  15811. ],
  15812. "properties": {
  15813. "accountid": {
  15814. "description": "账户ID[报价币种]",
  15815. "type": "integer"
  15816. },
  15817. "agreeunit": {
  15818. "description": "合约单位",
  15819. "type": "number"
  15820. },
  15821. "buyorsell": {
  15822. "description": "买卖 - 0:买 1:卖",
  15823. "type": "integer"
  15824. },
  15825. "cancelqty": {
  15826. "description": "撤单数量",
  15827. "type": "integer"
  15828. },
  15829. "currencysign": {
  15830. "description": "货币符号",
  15831. "type": "string"
  15832. },
  15833. "decimalplace": {
  15834. "description": "报价小数位",
  15835. "type": "integer"
  15836. },
  15837. "goodscode": {
  15838. "description": "商品代码(内部)",
  15839. "type": "string"
  15840. },
  15841. "goodsid": {
  15842. "description": "商品ID",
  15843. "type": "integer"
  15844. },
  15845. "goodsname": {
  15846. "description": "商品名称",
  15847. "type": "string"
  15848. },
  15849. "listingselecttype": {
  15850. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  15851. "type": "integer"
  15852. },
  15853. "marketid": {
  15854. "description": "市场ID",
  15855. "type": "integer"
  15856. },
  15857. "mybuystatus": {
  15858. "description": "\"我的订单\"显示状态- 1:抢购中 2:求购中 3:已完成 4:已撤消 5:委托失败",
  15859. "type": "integer"
  15860. },
  15861. "orderamount": {
  15862. "description": "委托金额",
  15863. "type": "number"
  15864. },
  15865. "orderid": {
  15866. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  15867. "type": "string"
  15868. },
  15869. "orderprice": {
  15870. "description": "委托价格",
  15871. "type": "number"
  15872. },
  15873. "orderqty": {
  15874. "description": "委托数量",
  15875. "type": "integer"
  15876. },
  15877. "orderstatus": {
  15878. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  15879. "type": "integer"
  15880. },
  15881. "ordertime": {
  15882. "description": "委托时间",
  15883. "type": "string"
  15884. },
  15885. "picurls1": {
  15886. "description": "预售商品介绍图片[多张用逗号分隔]",
  15887. "type": "string"
  15888. },
  15889. "picurls2": {
  15890. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  15891. "type": "string"
  15892. },
  15893. "trademode": {
  15894. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  15895. "type": "integer"
  15896. },
  15897. "tradeqty": {
  15898. "description": "成交数量",
  15899. "type": "integer"
  15900. },
  15901. "vendorname1": {
  15902. "description": "预售商品供应商名称",
  15903. "type": "string"
  15904. },
  15905. "vendorname2": {
  15906. "description": "挂牌商品供应商名称",
  15907. "type": "string"
  15908. }
  15909. }
  15910. },
  15911. "models.Loginaccount": {
  15912. "type": "object",
  15913. "required": [
  15914. "loginid"
  15915. ],
  15916. "properties": {
  15917. "canoutin": {
  15918. "description": "是否可出入金 - 0:不可 1:可",
  15919. "type": "integer"
  15920. },
  15921. "clientroleid": {
  15922. "description": "终端角色ID",
  15923. "type": "integer"
  15924. },
  15925. "haslogined": {
  15926. "description": "是否已登录 - 0:未登录 1:已登录",
  15927. "type": "integer"
  15928. },
  15929. "hasupdatedpwd": {
  15930. "description": "是否已更改密码 - 0:未修改 1:已修改",
  15931. "type": "integer"
  15932. },
  15933. "lastloginip": {
  15934. "description": "最新登录地址",
  15935. "type": "string"
  15936. },
  15937. "lastloginmode": {
  15938. "description": "最新登录方式(客户端类型) - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  15939. "type": "integer"
  15940. },
  15941. "lastloginremark": {
  15942. "description": "最新登录描述",
  15943. "type": "string"
  15944. },
  15945. "lastlogintime": {
  15946. "description": "最新登录时间",
  15947. "type": "string"
  15948. },
  15949. "logincode": {
  15950. "description": "登录代码",
  15951. "type": "string"
  15952. },
  15953. "loginfailnum": {
  15954. "description": "连续登录失败次数(登录成功时清零)",
  15955. "type": "integer"
  15956. },
  15957. "loginid": {
  15958. "description": "登陆账号",
  15959. "type": "integer"
  15960. },
  15961. "loginport": {
  15962. "description": "最新登录端口",
  15963. "type": "integer"
  15964. },
  15965. "loginstatus": {
  15966. "description": "登录账号状态 1:正常 2:冻结 3:无效",
  15967. "type": "integer"
  15968. },
  15969. "loginusertype": {
  15970. "description": "登录账号类型 - 1:投资者 2:机构交易员",
  15971. "type": "integer"
  15972. },
  15973. "modifierid": {
  15974. "description": "修改人",
  15975. "type": "integer"
  15976. },
  15977. "modifytime": {
  15978. "description": "修改时间",
  15979. "type": "string"
  15980. },
  15981. "pwdwrongcount": {
  15982. "description": "密码错误次数",
  15983. "type": "integer"
  15984. },
  15985. "taaccountrighttype": {
  15986. "description": "资金账号权限类型 - 1:不选默认为所有权限 2:不选默认为无权限",
  15987. "type": "integer"
  15988. },
  15989. "unfreezetime": {
  15990. "description": "账户解冻时间",
  15991. "type": "string"
  15992. },
  15993. "userid": {
  15994. "description": "用户ID",
  15995. "type": "integer"
  15996. }
  15997. }
  15998. },
  15999. "models.Market": {
  16000. "type": "object",
  16001. "required": [
  16002. "marketid",
  16003. "marketstatus",
  16004. "openmethod",
  16005. "reckonpricealgorithm",
  16006. "trademode",
  16007. "tradeproperty"
  16008. ],
  16009. "properties": {
  16010. "auctionwrtype": {
  16011. "description": "竞拍仓单类型 - 1:无仓单 2:有仓单 3;有无仓单均可",
  16012. "type": "integer"
  16013. },
  16014. "canacceptquote": {
  16015. "description": "确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]",
  16016. "type": "integer"
  16017. },
  16018. "cangoodsexercise": {
  16019. "description": "[期权]是否可现货行权- 0:否 1:是",
  16020. "type": "integer"
  16021. },
  16022. "cangoodsexercisetype": {
  16023. "description": "可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]",
  16024. "type": "integer"
  16025. },
  16026. "canmanualquotestrike": {
  16027. "description": "是否可手动报行权价- 0:否 1:是 [期权]",
  16028. "type": "integer"
  16029. },
  16030. "canmutistage": {
  16031. "description": "是否可多段运行 – 0:不可 1:可 [挂牌期权]",
  16032. "type": "integer"
  16033. },
  16034. "canpreexercise": {
  16035. "description": "[期权]是否可预申报- 0:否 1:是",
  16036. "type": "integer"
  16037. },
  16038. "clearinterval": {
  16039. "description": "待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))",
  16040. "type": "integer"
  16041. },
  16042. "contracttmp": {
  16043. "description": "合同模板[荷兰式][竞价式][仓单贸易]",
  16044. "type": "string"
  16045. },
  16046. "exchareaid": {
  16047. "description": "所属交易所,可以没有",
  16048. "type": "integer"
  16049. },
  16050. "goodstype": {
  16051. "description": "商品类型 - 1:交易商品 2:仓单商品",
  16052. "type": "integer"
  16053. },
  16054. "hasrebate": {
  16055. "description": "是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏",
  16056. "type": "integer"
  16057. },
  16058. "hastradecredit": {
  16059. "description": "是否交易授信[做市收益权] - 0:不授信 1:授信",
  16060. "type": "integer"
  16061. },
  16062. "haswr": {
  16063. "description": "[竞拍]是否需要仓单 - 0:不需要 1:需要-作废",
  16064. "type": "integer"
  16065. },
  16066. "isdeductmargin": {
  16067. "description": "竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除",
  16068. "type": "integer"
  16069. },
  16070. "isrecordsource": {
  16071. "description": "是否记录成交源 - 0:不记录 1:记录 [所有权]",
  16072. "type": "integer"
  16073. },
  16074. "isreleasemargin": {
  16075. "description": "成交参与保证金是否释放[竞价式] - 0:不释放 1释放",
  16076. "type": "integer"
  16077. },
  16078. "marginformula": {
  16079. "description": "持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  16080. "type": "integer"
  16081. },
  16082. "marginformula2": {
  16083. "description": "持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  16084. "type": "integer"
  16085. },
  16086. "marketid": {
  16087. "description": "市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务",
  16088. "type": "integer"
  16089. },
  16090. "marketname": {
  16091. "description": "市场名称",
  16092. "type": "string"
  16093. },
  16094. "marketserviceid": {
  16095. "description": "市场服务ID",
  16096. "type": "integer"
  16097. },
  16098. "marketstatus": {
  16099. "description": "生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销",
  16100. "type": "integer"
  16101. },
  16102. "markettype": {
  16103. "description": "市场类型- 1:非交易服务 2:交易服务",
  16104. "type": "integer"
  16105. },
  16106. "matchermode": {
  16107. "description": "指定对手模式[仓单贸易模式专用] - 1:任意对手",
  16108. "type": "integer"
  16109. },
  16110. "openmethod": {
  16111. "description": "开盘模式 - 0 自动 1手动",
  16112. "type": "integer"
  16113. },
  16114. "otcuserid": {
  16115. "description": "场外期权做市商[场外期权]",
  16116. "type": "integer"
  16117. },
  16118. "outersynctime": {
  16119. "description": "外部同步时间点(h24:mi:ss)[场外期权]",
  16120. "type": "string"
  16121. },
  16122. "pendingflag": {
  16123. "description": "待开市时间标识[通道交易-对冲] - 0:当日 1:上日",
  16124. "type": "integer"
  16125. },
  16126. "pendingtime": {
  16127. "description": "待开市时间[通道交易-对冲](HH:mm)",
  16128. "type": "string"
  16129. },
  16130. "performancetempid": {
  16131. "description": "履约计划模板ID - 作废",
  16132. "type": "integer"
  16133. },
  16134. "premiumquotemode": {
  16135. "description": "权利金报价方式 - 1:自动 2:手动",
  16136. "type": "integer"
  16137. },
  16138. "rebateratio": {
  16139. "description": "返利比率[竞价式]",
  16140. "type": "number"
  16141. },
  16142. "reckonorder": {
  16143. "description": "结算顺序",
  16144. "type": "integer"
  16145. },
  16146. "reckonpricealgorithm": {
  16147. "description": "结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价 6.卖一价 7.买一卖一均价 8.外部结算价",
  16148. "type": "integer"
  16149. },
  16150. "reckonpriceparam": {
  16151. "description": "结算价参数",
  16152. "type": "integer"
  16153. },
  16154. "reckontime": {
  16155. "description": "结算时间[通道交易-对冲](HH:mm)",
  16156. "type": "string"
  16157. },
  16158. "roleprioritytype": {
  16159. "description": "角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]",
  16160. "type": "integer"
  16161. },
  16162. "selllistingauditflag": {
  16163. "description": "卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要",
  16164. "type": "integer"
  16165. },
  16166. "trademarkettype": {
  16167. "description": "交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场",
  16168. "type": "integer"
  16169. },
  16170. "trademode": {
  16171. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  16172. "type": "integer"
  16173. },
  16174. "tradeproperty": {
  16175. "description": "交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易 8:场外期权",
  16176. "type": "integer"
  16177. },
  16178. "tradetype": {
  16179. "description": "下单方式[通道交易] - 1:直接转单 2:净头寸下单",
  16180. "type": "integer"
  16181. }
  16182. }
  16183. },
  16184. "models.Marketrun": {
  16185. "type": "object",
  16186. "required": [
  16187. "marketid",
  16188. "nexttradedate",
  16189. "reckonflag",
  16190. "runstatus",
  16191. "tradedate",
  16192. "tradedate2"
  16193. ],
  16194. "properties": {
  16195. "afternexttradedate": {
  16196. "description": "下下交易日",
  16197. "type": "string"
  16198. },
  16199. "clearquoteflag": {
  16200. "description": "行情清盘标志- 1:未发送 2:已发送 3:已回复",
  16201. "type": "integer"
  16202. },
  16203. "lastreckondate": {
  16204. "description": "最新交易日(结算成功)",
  16205. "type": "string"
  16206. },
  16207. "machinedate": {
  16208. "description": "机器时间",
  16209. "type": "string"
  16210. },
  16211. "manualflag": {
  16212. "description": "手动开市标志- 0:否 1:是 (市场为手动时,是否触发了手动开市标志)",
  16213. "type": "integer"
  16214. },
  16215. "marketid": {
  16216. "description": "市场ID",
  16217. "type": "integer"
  16218. },
  16219. "nexttradedate": {
  16220. "description": "下一交易日",
  16221. "type": "string"
  16222. },
  16223. "pretradedate": {
  16224. "description": "上一交易日",
  16225. "type": "string"
  16226. },
  16227. "reckonflag": {
  16228. "description": "结算标识 - 0: 停止结算 1: 正常(管理端控制此字段,交易服务根据此字段判断是否做结算)",
  16229. "type": "integer"
  16230. },
  16231. "runstatus": {
  16232. "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.今日免清算",
  16233. "type": "integer"
  16234. },
  16235. "sectionid": {
  16236. "description": "时间段号[多时段时用]",
  16237. "type": "integer"
  16238. },
  16239. "tradedate": {
  16240. "description": "当前交易日(服务) 资金结算完成即变更,供交易服务使用",
  16241. "type": "string"
  16242. },
  16243. "tradedate2": {
  16244. "description": "当前交易日(行情) 在第一个市场待开市时变更为TradeDate,供行情及终端系统使用",
  16245. "type": "string"
  16246. },
  16247. "updatetime": {
  16248. "description": "更新时间",
  16249. "type": "string"
  16250. }
  16251. }
  16252. },
  16253. "models.Messageboard": {
  16254. "type": "object",
  16255. "required": [
  16256. "messageboardid"
  16257. ],
  16258. "properties": {
  16259. "contactnum": {
  16260. "description": "联系电话",
  16261. "type": "string"
  16262. },
  16263. "createtime": {
  16264. "description": "创建时间",
  16265. "type": "string"
  16266. },
  16267. "message": {
  16268. "description": "留言信息",
  16269. "type": "string"
  16270. },
  16271. "messageboardid": {
  16272. "description": "留言簿ID(SEQ_MessageBoard)",
  16273. "type": "integer"
  16274. },
  16275. "userid": {
  16276. "description": "用户ID",
  16277. "type": "integer"
  16278. }
  16279. }
  16280. },
  16281. "models.MyCoupon": {
  16282. "type": "object",
  16283. "required": [
  16284. "accountid",
  16285. "coupontypeid"
  16286. ],
  16287. "properties": {
  16288. "accountid": {
  16289. "description": "资金账户ID",
  16290. "type": "integer"
  16291. },
  16292. "areauserid": {
  16293. "description": "所属机构",
  16294. "type": "integer"
  16295. },
  16296. "conditionvalue": {
  16297. "description": "条件阈值(可为0)",
  16298. "type": "number"
  16299. },
  16300. "couponcategroy": {
  16301. "description": "种类 - 1:现金券 2:折扣券 3:折扣券(单张)",
  16302. "type": "integer"
  16303. },
  16304. "couponname": {
  16305. "description": "优惠券名称",
  16306. "type": "string"
  16307. },
  16308. "coupontypeid": {
  16309. "description": "优惠券类型ID",
  16310. "type": "string"
  16311. },
  16312. "couponvalue": {
  16313. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值]",
  16314. "type": "number"
  16315. },
  16316. "curfreezeqty": {
  16317. "description": "期末冻结数量",
  16318. "type": "integer"
  16319. },
  16320. "curqty": {
  16321. "description": "期末数量",
  16322. "type": "integer"
  16323. },
  16324. "isgeneral": {
  16325. "description": "是否通用券 - 0:否 1:是",
  16326. "type": "integer"
  16327. },
  16328. "isunusable": {
  16329. "description": "是否不可用",
  16330. "type": "boolean"
  16331. },
  16332. "limitedflag": {
  16333. "description": "是否指定商品 - 0:不限 1:限制",
  16334. "type": "integer"
  16335. },
  16336. "limitedgoodsids": {
  16337. "description": "指定商品IDs[逗号分隔,前后加逗号]",
  16338. "type": "string"
  16339. },
  16340. "orifreezeqty": {
  16341. "description": "期初冻结数量",
  16342. "type": "integer"
  16343. },
  16344. "oriqty": {
  16345. "description": "期初数量",
  16346. "type": "integer"
  16347. },
  16348. "reasontype": {
  16349. "description": "不可用原因 - 0:未确认 1:不可用于此商品 2:不可用于此卖家",
  16350. "type": "integer"
  16351. },
  16352. "todaydecrease": {
  16353. "description": "今日减少",
  16354. "type": "integer"
  16355. },
  16356. "todayincrease": {
  16357. "description": "今日增加",
  16358. "type": "integer"
  16359. },
  16360. "userid": {
  16361. "description": "用户ID",
  16362. "type": "integer"
  16363. },
  16364. "userscope": {
  16365. "description": "卖家范围(用户ID,逗号分隔,前后加逗号) [IsGeneral =0时使用]",
  16366. "type": "string"
  16367. }
  16368. }
  16369. },
  16370. "models.MyCouponHold": {
  16371. "type": "object",
  16372. "required": [
  16373. "couponholdid"
  16374. ],
  16375. "properties": {
  16376. "accountid": {
  16377. "description": "资金账户ID",
  16378. "type": "integer"
  16379. },
  16380. "conditionvalue": {
  16381. "description": "条件阈值(可为0)",
  16382. "type": "number"
  16383. },
  16384. "couponcategroy": {
  16385. "description": "种类 - 1:现金券 2:折扣券 3:折扣券(单个商品)",
  16386. "type": "integer"
  16387. },
  16388. "couponholdid": {
  16389. "description": "优惠券持仓ID(229+Unix秒时间戳(10位)+xxxxxx)",
  16390. "type": "string"
  16391. },
  16392. "couponname": {
  16393. "description": "优惠券名称",
  16394. "type": "string"
  16395. },
  16396. "coupontypeid": {
  16397. "description": "优惠券类型ID - SEQ_COUPONTYPE",
  16398. "type": "string"
  16399. },
  16400. "couponvalue": {
  16401. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值]",
  16402. "type": "number"
  16403. },
  16404. "createtime": {
  16405. "description": "创建时间",
  16406. "type": "string"
  16407. },
  16408. "enddate": {
  16409. "description": "结束日期",
  16410. "type": "string"
  16411. },
  16412. "giveapplyid": {
  16413. "description": "发放申请ID(SEQ_COUPONGIVEAPPLY)",
  16414. "type": "integer"
  16415. },
  16416. "holdstatus": {
  16417. "description": "持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期",
  16418. "type": "integer"
  16419. },
  16420. "isgeneral": {
  16421. "description": "是否通用券 - 0:否 1:是",
  16422. "type": "integer"
  16423. },
  16424. "limitedflag": {
  16425. "description": "是否指定商品 - 0:不限 1:限制",
  16426. "type": "integer"
  16427. },
  16428. "limitedgoodsids": {
  16429. "description": "指定商品IDs[逗号分隔]",
  16430. "type": "string"
  16431. },
  16432. "qty": {
  16433. "description": "数量(按1平铺)",
  16434. "type": "integer"
  16435. },
  16436. "startdate": {
  16437. "description": "开始日期",
  16438. "type": "string"
  16439. },
  16440. "userid": {
  16441. "description": "用户ID",
  16442. "type": "integer"
  16443. },
  16444. "userscope": {
  16445. "description": "卖家范围(用户ID,逗号分隔) [IsGeneral =0时使用]",
  16446. "type": "string"
  16447. }
  16448. }
  16449. },
  16450. "models.MyUsedCoupon": {
  16451. "type": "object",
  16452. "required": [
  16453. "coupontypeid",
  16454. "orderid"
  16455. ],
  16456. "properties": {
  16457. "accountid": {
  16458. "description": "资金账户ID(买方)",
  16459. "type": "integer"
  16460. },
  16461. "conditionvalue": {
  16462. "description": "条件阈值(可为0)",
  16463. "type": "number"
  16464. },
  16465. "couponcategroy": {
  16466. "description": "种类 - 1:现金券 2:折扣券",
  16467. "type": "integer"
  16468. },
  16469. "couponname": {
  16470. "description": "优惠券名称",
  16471. "type": "string"
  16472. },
  16473. "coupontypeid": {
  16474. "description": "优惠券类型ID(买方)",
  16475. "type": "string"
  16476. },
  16477. "couponvalue": {
  16478. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值(0-100)]",
  16479. "type": "number"
  16480. },
  16481. "createtime": {
  16482. "description": "创建时间",
  16483. "type": "string"
  16484. },
  16485. "goodsid": {
  16486. "description": "商品ID",
  16487. "type": "integer"
  16488. },
  16489. "handlestatus": {
  16490. "description": "处理状态",
  16491. "type": "integer"
  16492. },
  16493. "marketid": {
  16494. "description": "市场ID",
  16495. "type": "integer"
  16496. },
  16497. "offamount": {
  16498. "description": "优惠金额",
  16499. "type": "number"
  16500. },
  16501. "orderid": {
  16502. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  16503. "type": "string"
  16504. },
  16505. "sellaccountid": {
  16506. "description": "资金账户ID(卖方)",
  16507. "type": "integer"
  16508. },
  16509. "tradeamount": {
  16510. "description": "成交金额",
  16511. "type": "number"
  16512. },
  16513. "tradeid": {
  16514. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  16515. "type": "string"
  16516. },
  16517. "usedqty": {
  16518. "description": "使用数量",
  16519. "type": "integer"
  16520. }
  16521. }
  16522. },
  16523. "models.OperationPrimaryMenu": {
  16524. "type": "object",
  16525. "properties": {
  16526. "Children": {
  16527. "description": "二级功能菜单",
  16528. "type": "array",
  16529. "items": {
  16530. "$ref": "#/definitions/models.OperationSecondaryMenu"
  16531. }
  16532. },
  16533. "Key": {
  16534. "description": "菜单KEY",
  16535. "type": "string"
  16536. },
  16537. "Label": {
  16538. "description": "菜单标题",
  16539. "type": "string"
  16540. }
  16541. }
  16542. },
  16543. "models.OperationSecondaryMenu": {
  16544. "type": "object",
  16545. "properties": {
  16546. "Key": {
  16547. "description": "菜单KEY",
  16548. "type": "string"
  16549. },
  16550. "Label": {
  16551. "description": "菜单标题",
  16552. "type": "string"
  16553. },
  16554. "TabList": {
  16555. "description": "三级功能菜单",
  16556. "type": "array",
  16557. "items": {
  16558. "$ref": "#/definitions/models.OperationTabMenu"
  16559. }
  16560. }
  16561. }
  16562. },
  16563. "models.OperationTabMenu": {
  16564. "type": "object",
  16565. "properties": {
  16566. "Key": {
  16567. "description": "菜单KEY",
  16568. "type": "string"
  16569. },
  16570. "Label": {
  16571. "description": "菜单标题",
  16572. "type": "string"
  16573. }
  16574. }
  16575. },
  16576. "models.QueryErrorInfosRsp": {
  16577. "type": "object",
  16578. "required": [
  16579. "errorid"
  16580. ],
  16581. "properties": {
  16582. "description": {
  16583. "description": "异常描述",
  16584. "type": "string"
  16585. },
  16586. "errorcode": {
  16587. "description": "异常代码",
  16588. "type": "string"
  16589. },
  16590. "errorid": {
  16591. "description": "异常ID",
  16592. "type": "integer"
  16593. },
  16594. "modulecode": {
  16595. "description": "所属模块",
  16596. "type": "string"
  16597. },
  16598. "operatecode": {
  16599. "description": "所属操作",
  16600. "type": "string"
  16601. },
  16602. "rownumber": {
  16603. "description": "行号",
  16604. "type": "string"
  16605. }
  16606. }
  16607. },
  16608. "models.QueryHedgeOrderDetailRsp": {
  16609. "type": "object",
  16610. "properties": {
  16611. "accountid": {
  16612. "description": "账户ID",
  16613. "type": "integer"
  16614. },
  16615. "buyorsell": {
  16616. "description": "买卖 - 0:买 1:卖",
  16617. "type": "integer"
  16618. },
  16619. "cancellogincode": {
  16620. "description": "撤单人",
  16621. "type": "string"
  16622. },
  16623. "channelbuildtype": {
  16624. "description": "开平标志 - 0:无 1:建仓 2:平仓",
  16625. "type": "integer"
  16626. },
  16627. "channelinnerorderstatus": {
  16628. "description": "委托状态 - 1:委托请求 2:冻结成功 3:委托失败 4:委托部成部失败 5:委托成功 6:全部撤销 7:部成部撤 8:部成部撤部失败 9:全部成交",
  16629. "type": "integer"
  16630. },
  16631. "channeloperatetype": {
  16632. "description": "操作类型 - 1:正常委托 2:斩仓委托 3:强平委托",
  16633. "type": "integer"
  16634. },
  16635. "closetype": {
  16636. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  16637. "type": "integer"
  16638. },
  16639. "curexchangerate": {
  16640. "description": "当前汇率",
  16641. "type": "number"
  16642. },
  16643. "exchangefullname": {
  16644. "description": "外部交易所全称",
  16645. "type": "string"
  16646. },
  16647. "goodscode": {
  16648. "description": "商品代码(内部)",
  16649. "type": "string"
  16650. },
  16651. "goodsid": {
  16652. "description": "商品ID",
  16653. "type": "integer"
  16654. },
  16655. "goodsname": {
  16656. "description": "商品名称",
  16657. "type": "string"
  16658. },
  16659. "marketid": {
  16660. "description": "市场ID",
  16661. "type": "integer"
  16662. },
  16663. "openfreezemargin": {
  16664. "description": "冻结保证金(冻结交易金额)",
  16665. "type": "number"
  16666. },
  16667. "orderid": {
  16668. "description": "委托单号(107+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  16669. "type": "string"
  16670. },
  16671. "orderlogincode": {
  16672. "description": "委托人",
  16673. "type": "string"
  16674. },
  16675. "orderprice": {
  16676. "description": "委托价格(账户)",
  16677. "type": "number"
  16678. },
  16679. "orderqty": {
  16680. "description": "委托数量",
  16681. "type": "integer"
  16682. },
  16683. "ordertime": {
  16684. "description": "委托时间",
  16685. "type": "string"
  16686. },
  16687. "pricemode": {
  16688. "description": "取价方式 - 1:市价 2: 限价",
  16689. "type": "integer"
  16690. },
  16691. "tradedate": {
  16692. "description": "交易日(yyyyMMdd)",
  16693. "type": "string"
  16694. },
  16695. "tradeqty": {
  16696. "description": "成交数量",
  16697. "type": "integer"
  16698. }
  16699. }
  16700. },
  16701. "models.QueryHedgeTradeDetailRsp": {
  16702. "type": "object",
  16703. "properties": {
  16704. "accountid": {
  16705. "description": "账号ID",
  16706. "type": "integer"
  16707. },
  16708. "buyorsell": {
  16709. "description": "方向 - 0:买 1:卖",
  16710. "type": "integer"
  16711. },
  16712. "channelbuildtype": {
  16713. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  16714. "type": "integer"
  16715. },
  16716. "closecharge": {
  16717. "description": "平仓手续费(账户)",
  16718. "type": "number"
  16719. },
  16720. "closecharge2": {
  16721. "description": "平仓手续费(商品)",
  16722. "type": "number"
  16723. },
  16724. "closetype": {
  16725. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  16726. "type": "integer"
  16727. },
  16728. "curexchangerate": {
  16729. "description": "当前汇率",
  16730. "type": "number"
  16731. },
  16732. "exchangefullname": {
  16733. "description": "外部交易所全称",
  16734. "type": "string"
  16735. },
  16736. "goodscode": {
  16737. "description": "商品代码(内部)",
  16738. "type": "string"
  16739. },
  16740. "goodsid": {
  16741. "description": "商品ID",
  16742. "type": "integer"
  16743. },
  16744. "goodsname": {
  16745. "description": "商品名称",
  16746. "type": "string"
  16747. },
  16748. "marketid": {
  16749. "description": "市场ID",
  16750. "type": "integer"
  16751. },
  16752. "opencharge": {
  16753. "description": "建仓手续费(账户)",
  16754. "type": "number"
  16755. },
  16756. "opencharge2": {
  16757. "description": "建仓手续费(商品)",
  16758. "type": "number"
  16759. },
  16760. "orderid": {
  16761. "description": "委托单号",
  16762. "type": "string"
  16763. },
  16764. "orderlogincode": {
  16765. "description": "委托人",
  16766. "type": "string"
  16767. },
  16768. "tradeamount": {
  16769. "description": "成交金额(账户)",
  16770. "type": "number"
  16771. },
  16772. "tradedate": {
  16773. "description": "交易日(yyyyMMdd)",
  16774. "type": "string"
  16775. },
  16776. "tradeid": {
  16777. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  16778. "type": "string"
  16779. },
  16780. "tradeprice": {
  16781. "description": "成交价格",
  16782. "type": "number"
  16783. },
  16784. "tradeqty": {
  16785. "description": "成交数量",
  16786. "type": "integer"
  16787. },
  16788. "tradetime": {
  16789. "description": "成交时间",
  16790. "type": "string"
  16791. },
  16792. "tradetype": {
  16793. "description": "成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交",
  16794. "type": "integer"
  16795. }
  16796. }
  16797. },
  16798. "models.QuotePrimaryMenu": {
  16799. "type": "object",
  16800. "properties": {
  16801. "Index": {
  16802. "description": "序号",
  16803. "type": "integer"
  16804. },
  16805. "Key": {
  16806. "description": "键名",
  16807. "type": "string"
  16808. },
  16809. "Name": {
  16810. "description": "菜单名称",
  16811. "type": "string"
  16812. },
  16813. "SubMenus": {
  16814. "description": "子菜单",
  16815. "type": "array",
  16816. "items": {
  16817. "$ref": "#/definitions/models.QuoteSecondaryMenu"
  16818. }
  16819. },
  16820. "SubTitleType": {
  16821. "description": "子菜单标题模式:0-市场名称;1-外部交易所名称",
  16822. "type": "integer"
  16823. },
  16824. "TradeModes": {
  16825. "description": "包含市场交易类型",
  16826. "type": "string"
  16827. }
  16828. }
  16829. },
  16830. "models.QuoteSecondaryMenu": {
  16831. "type": "object",
  16832. "properties": {
  16833. "ExExchangeCode": {
  16834. "description": "外部交易所代码",
  16835. "type": "string"
  16836. },
  16837. "ExExchangeID": {
  16838. "description": "外部交易所ID",
  16839. "type": "integer"
  16840. },
  16841. "GoodsGroupIDs": {
  16842. "description": "商品组ID列表",
  16843. "type": "array",
  16844. "items": {
  16845. "type": "integer"
  16846. }
  16847. },
  16848. "Index": {
  16849. "description": "序号",
  16850. "type": "integer"
  16851. },
  16852. "MarketID": {
  16853. "description": "市场ID",
  16854. "type": "integer"
  16855. },
  16856. "MenuTitle": {
  16857. "description": "菜单标题(市场名称或外部交易所名称)",
  16858. "type": "string"
  16859. },
  16860. "TradeMode": {
  16861. "description": "交易模式",
  16862. "type": "integer"
  16863. }
  16864. }
  16865. },
  16866. "models.RelatedGoodsEx": {
  16867. "type": "object",
  16868. "properties": {
  16869. "goodscode": {
  16870. "description": "商品代码",
  16871. "type": "string"
  16872. },
  16873. "goodsid": {
  16874. "description": "商品id",
  16875. "type": "integer"
  16876. },
  16877. "goodsname": {
  16878. "description": "商品名称",
  16879. "type": "string"
  16880. }
  16881. }
  16882. },
  16883. "models.SearchGoods": {
  16884. "type": "object",
  16885. "required": [
  16886. "goodscode",
  16887. "goodsid",
  16888. "goodsname",
  16889. "marketid",
  16890. "trademode"
  16891. ],
  16892. "properties": {
  16893. "goodscode": {
  16894. "description": "商品代码(内部)",
  16895. "type": "string"
  16896. },
  16897. "goodsid": {
  16898. "description": "商品ID(自增ID SEQ_GOODS)",
  16899. "type": "integer"
  16900. },
  16901. "goodsname": {
  16902. "description": "商品名称",
  16903. "type": "string"
  16904. },
  16905. "marketid": {
  16906. "description": "所属市场ID",
  16907. "type": "integer"
  16908. },
  16909. "marketname": {
  16910. "description": "市场名称",
  16911. "type": "string"
  16912. },
  16913. "trademode": {
  16914. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  16915. "type": "integer"
  16916. }
  16917. }
  16918. },
  16919. "models.Systemparam": {
  16920. "type": "object",
  16921. "required": [
  16922. "paramcode"
  16923. ],
  16924. "properties": {
  16925. "loginid": {
  16926. "description": "更新用户账号,登录账号",
  16927. "type": "string"
  16928. },
  16929. "modifyflag": {
  16930. "description": "修改标志0 不允许修改 1 允许修改",
  16931. "type": "integer"
  16932. },
  16933. "paramcode": {
  16934. "description": "参数代码",
  16935. "type": "string"
  16936. },
  16937. "paramname": {
  16938. "description": "参数名",
  16939. "type": "string"
  16940. },
  16941. "paramtype": {
  16942. "description": "参数类型 0-通用 1-管理端 2-终端 3-后台 4-商城",
  16943. "type": "integer"
  16944. },
  16945. "paramvalue": {
  16946. "description": "参数值",
  16947. "type": "string"
  16948. },
  16949. "paramvalue2": {
  16950. "description": "参数值(CLOB)",
  16951. "type": "string"
  16952. },
  16953. "regexpress": {
  16954. "description": "正则表达式",
  16955. "type": "string"
  16956. },
  16957. "remark": {
  16958. "description": "备注",
  16959. "type": "string"
  16960. },
  16961. "serverip": {
  16962. "description": "限制服务器IP,备份参数,现在界面不用显示0.0.0.0则无限制,是通用参数192.168.0.211 指定服务器的参数配置",
  16963. "type": "string"
  16964. },
  16965. "showflag": {
  16966. "description": "是否显示0 不显示 1 显示",
  16967. "type": "integer"
  16968. },
  16969. "updatetime": {
  16970. "description": "更新时间",
  16971. "type": "string"
  16972. },
  16973. "userid": {
  16974. "description": "更新用户ID",
  16975. "type": "integer"
  16976. }
  16977. }
  16978. },
  16979. "models.Szdz3convertconfig": {
  16980. "type": "object",
  16981. "required": [
  16982. "converttype",
  16983. "innergoodsid",
  16984. "outergoodscode"
  16985. ],
  16986. "properties": {
  16987. "canin": {
  16988. "description": "是否可转入 - 0:不可 1:可 [5:花生米转交易]",
  16989. "type": "integer"
  16990. },
  16991. "canout": {
  16992. "description": "是否可转出 - 0:不可 1:可 [5:花生米转交易]",
  16993. "type": "integer"
  16994. },
  16995. "converttype": {
  16996. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)",
  16997. "type": "integer"
  16998. },
  16999. "createtime": {
  17000. "description": "创建时间",
  17001. "type": "string"
  17002. },
  17003. "creatorid": {
  17004. "description": "创建人",
  17005. "type": "integer"
  17006. },
  17007. "daymaxvalue": {
  17008. "description": "当日最大转入限制",
  17009. "type": "number"
  17010. },
  17011. "freezedays": {
  17012. "description": "冻结天数 [5:花生米转交易]",
  17013. "type": "integer"
  17014. },
  17015. "innergoodsid": {
  17016. "description": "内部商品ID[交易]",
  17017. "type": "integer"
  17018. },
  17019. "inratio": {
  17020. "description": "目标值",
  17021. "type": "integer"
  17022. },
  17023. "modifierid": {
  17024. "description": "修改人",
  17025. "type": "integer"
  17026. },
  17027. "modifytime": {
  17028. "description": "修改时间",
  17029. "type": "string"
  17030. },
  17031. "outergoodscode": {
  17032. "description": "外部商品代码[JD\\PD]",
  17033. "type": "string"
  17034. },
  17035. "outratio": {
  17036. "description": "源值",
  17037. "type": "integer"
  17038. },
  17039. "pddecimalplace": {
  17040. "description": "PD小数位",
  17041. "type": "integer"
  17042. },
  17043. "timemaxvalue": {
  17044. "description": "单次最大转入限制",
  17045. "type": "number"
  17046. },
  17047. "timeminvalue": {
  17048. "description": "单次最小转入限制",
  17049. "type": "number"
  17050. }
  17051. }
  17052. },
  17053. "models.Szdz3searchwhitelist": {
  17054. "type": "object",
  17055. "required": [
  17056. "userid"
  17057. ],
  17058. "properties": {
  17059. "createtime": {
  17060. "description": "创建时间",
  17061. "type": "string"
  17062. },
  17063. "creatorid": {
  17064. "description": "创建人",
  17065. "type": "integer"
  17066. },
  17067. "modifierid": {
  17068. "description": "修改人",
  17069. "type": "integer"
  17070. },
  17071. "modifytime": {
  17072. "description": "修改时间",
  17073. "type": "string"
  17074. },
  17075. "userid": {
  17076. "description": "用户ID",
  17077. "type": "integer"
  17078. }
  17079. }
  17080. },
  17081. "models.Taaccount": {
  17082. "type": "object",
  17083. "required": [
  17084. "accountid",
  17085. "userid"
  17086. ],
  17087. "properties": {
  17088. "accountflag": {
  17089. "description": "账户标识 - 0\\1 (默认为0, 当上级账户与本账户的关联用户均为自己时更新为1)",
  17090. "type": "integer"
  17091. },
  17092. "accountid": {
  17093. "description": "资金账户ID",
  17094. "type": "integer"
  17095. },
  17096. "accountname": {
  17097. "description": "账户名称",
  17098. "type": "string"
  17099. },
  17100. "balance": {
  17101. "description": "期初余额",
  17102. "type": "number"
  17103. },
  17104. "capitalbalance": {
  17105. "description": "本金余额[外部子账户实际出入金余额]",
  17106. "type": "number"
  17107. },
  17108. "changeflag": {
  17109. "description": "变动标志(当前账户资金有任何变动更新为1系统结算时更新0;供清算时使用) 0:无变动 1:有变动",
  17110. "type": "integer"
  17111. },
  17112. "changetime": {
  17113. "description": "账户状态变更时间",
  17114. "type": "string"
  17115. },
  17116. "closepl": {
  17117. "description": "今日平仓盈亏",
  17118. "type": "number"
  17119. },
  17120. "creditdecrease": {
  17121. "description": "今日授信减少",
  17122. "type": "number"
  17123. },
  17124. "creditincrease": {
  17125. "description": "今日授信增加",
  17126. "type": "number"
  17127. },
  17128. "currencyid": {
  17129. "description": "货币ID",
  17130. "type": "integer"
  17131. },
  17132. "currentbalance": {
  17133. "description": "期末余额",
  17134. "type": "number"
  17135. },
  17136. "freezecharge": {
  17137. "description": "手续费冻结",
  17138. "type": "number"
  17139. },
  17140. "freezemargin": {
  17141. "description": "冻结保证金",
  17142. "type": "number"
  17143. },
  17144. "fromaccountid": {
  17145. "description": "所属上级账户",
  17146. "type": "integer"
  17147. },
  17148. "inamount": {
  17149. "description": "今日入金金额(包括三方入金)",
  17150. "type": "number"
  17151. },
  17152. "ismain": {
  17153. "description": "是否母账号 0:不是母账户 1:是母账户",
  17154. "type": "integer"
  17155. },
  17156. "ismarketaccount": {
  17157. "description": "是否机构接单账号 0:不是 1:是",
  17158. "type": "integer"
  17159. },
  17160. "isreckonaccount": {
  17161. "description": "是否机构分润账号 0:不是 1:是",
  17162. "type": "integer"
  17163. },
  17164. "mortgagecredit": {
  17165. "description": "授信金额",
  17166. "type": "number"
  17167. },
  17168. "orifreezecharge": {
  17169. "description": "期初手续费冻结",
  17170. "type": "number"
  17171. },
  17172. "orifreezemargin": {
  17173. "description": "期初冻结保证金",
  17174. "type": "number"
  17175. },
  17176. "orimortgagecredit": {
  17177. "description": "期初授信金额",
  17178. "type": "number"
  17179. },
  17180. "oriothercredit": {
  17181. "description": "期初其它授信金额",
  17182. "type": "number"
  17183. },
  17184. "oriotherfreezemargin": {
  17185. "description": "期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)",
  17186. "type": "number"
  17187. },
  17188. "orioutamountfreeze": {
  17189. "description": "期初出金冻结",
  17190. "type": "number"
  17191. },
  17192. "oriusedmargin": {
  17193. "description": "期初占用保证金",
  17194. "type": "number"
  17195. },
  17196. "othercredit": {
  17197. "description": "其它授信金额",
  17198. "type": "number"
  17199. },
  17200. "othercreditdecrease": {
  17201. "description": "今日其它授信减少",
  17202. "type": "number"
  17203. },
  17204. "othercreditincrease": {
  17205. "description": "今日其它授信增加",
  17206. "type": "number"
  17207. },
  17208. "otherfreezemargin": {
  17209. "description": "其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)",
  17210. "type": "number"
  17211. },
  17212. "otherincome": {
  17213. "description": "其他收入(交割收款 申购收款 全款卖出 商城卖出 买家退货 会员手续费收入)",
  17214. "type": "number"
  17215. },
  17216. "otherpay": {
  17217. "description": "其他支出(交割付款 申购付款 全款买入 商城买入 卖家退货)",
  17218. "type": "number"
  17219. },
  17220. "outamount": {
  17221. "description": "今日出金金额(包括三方出金)",
  17222. "type": "number"
  17223. },
  17224. "outamountfreeze": {
  17225. "description": "出金冻结",
  17226. "type": "number"
  17227. },
  17228. "outthreshold": {
  17229. "description": "出金阈值",
  17230. "type": "number"
  17231. },
  17232. "parentaccountid": {
  17233. "description": "所属根账号",
  17234. "type": "integer"
  17235. },
  17236. "paycharge": {
  17237. "description": "今日手续费支出",
  17238. "type": "number"
  17239. },
  17240. "relatedaccountstatus": {
  17241. "description": "关联用户交易权限状态 - 1:正常(可交易) 2:受限(可平仓,不可建仓) 3:冻结(不可交易)",
  17242. "type": "integer"
  17243. },
  17244. "relateduserid": {
  17245. "description": "关联用户",
  17246. "type": "integer"
  17247. },
  17248. "serivcegroup": {
  17249. "description": "服务分组",
  17250. "type": "integer"
  17251. },
  17252. "signstatus": {
  17253. "description": "签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中",
  17254. "type": "integer"
  17255. },
  17256. "sublevelpath": {
  17257. "description": "账号层级路径(逗号分隔,首尾加逗号)",
  17258. "type": "string"
  17259. },
  17260. "taaccounttype": {
  17261. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  17262. "type": "integer"
  17263. },
  17264. "thirdinamount": {
  17265. "description": "今日三方入金",
  17266. "type": "number"
  17267. },
  17268. "thirdoutamount": {
  17269. "description": "今日三方出金",
  17270. "type": "number"
  17271. },
  17272. "tradestatus": {
  17273. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  17274. "type": "integer"
  17275. },
  17276. "tradestatuschangetime": {
  17277. "description": "激活时间",
  17278. "type": "string"
  17279. },
  17280. "transferamount": {
  17281. "description": "今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)",
  17282. "type": "number"
  17283. },
  17284. "usedmargin": {
  17285. "description": "占用保证金",
  17286. "type": "number"
  17287. },
  17288. "userid": {
  17289. "description": "用户ID",
  17290. "type": "integer"
  17291. }
  17292. }
  17293. },
  17294. "models.Tablecolumnconfig": {
  17295. "type": "object",
  17296. "required": [
  17297. "autoid"
  17298. ],
  17299. "properties": {
  17300. "aligntype": {
  17301. "description": "对齐方式 - 1:居中对齐 2:左对齐 3:右对齐",
  17302. "type": "integer"
  17303. },
  17304. "autoid": {
  17305. "description": "AutoID",
  17306. "type": "integer"
  17307. },
  17308. "columnfield": {
  17309. "description": "列字段",
  17310. "type": "string"
  17311. },
  17312. "columntitle": {
  17313. "description": "列Title",
  17314. "type": "string"
  17315. },
  17316. "columnwidth": {
  17317. "description": "列宽",
  17318. "type": "string"
  17319. },
  17320. "formatterstring": {
  17321. "description": "格式化字符",
  17322. "type": "string"
  17323. },
  17324. "formattertype": {
  17325. "description": "格式化类型",
  17326. "type": "string"
  17327. },
  17328. "groupname": {
  17329. "description": "表头分组名称",
  17330. "type": "string"
  17331. },
  17332. "isshow": {
  17333. "description": "是否显示 - 0:不显示 1:显示",
  17334. "type": "integer"
  17335. },
  17336. "needsummary": {
  17337. "description": "是否需要汇总 - 0:不需要 1:需要",
  17338. "type": "integer"
  17339. },
  17340. "orderindex": {
  17341. "description": "顺序",
  17342. "type": "integer"
  17343. },
  17344. "remark": {
  17345. "description": "备注",
  17346. "type": "string"
  17347. },
  17348. "summarytype": {
  17349. "description": "汇总类型 - 1:加总 2:最后一个",
  17350. "type": "integer"
  17351. },
  17352. "tablekey": {
  17353. "description": "列表Key",
  17354. "type": "string"
  17355. }
  17356. }
  17357. },
  17358. "models.Useraccount": {
  17359. "type": "object",
  17360. "required": [
  17361. "userid"
  17362. ],
  17363. "properties": {
  17364. "accountname": {
  17365. "description": "账户名称(机构名称)",
  17366. "type": "string"
  17367. },
  17368. "accountstatus": {
  17369. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销",
  17370. "type": "integer"
  17371. },
  17372. "auditremark": {
  17373. "description": "审核备注",
  17374. "type": "string"
  17375. },
  17376. "audittime": {
  17377. "description": "审核时间",
  17378. "type": "string"
  17379. },
  17380. "audituserid": {
  17381. "description": "审核人",
  17382. "type": "integer"
  17383. },
  17384. "broker": {
  17385. "description": "所属经纪人ID",
  17386. "type": "integer"
  17387. },
  17388. "canceltime": {
  17389. "description": "销户时间",
  17390. "type": "string"
  17391. },
  17392. "canceluserid": {
  17393. "description": "销户人",
  17394. "type": "integer"
  17395. },
  17396. "createtime": {
  17397. "description": "创建时间",
  17398. "type": "string"
  17399. },
  17400. "creatorid": {
  17401. "description": "创建人",
  17402. "type": "integer"
  17403. },
  17404. "hasauth": {
  17405. "description": "是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝",
  17406. "type": "integer"
  17407. },
  17408. "isanonymous": {
  17409. "description": "是否匿名下单 - 0:否 1:是",
  17410. "type": "integer"
  17411. },
  17412. "maxinvestornum": {
  17413. "description": "最大用户数(经纪会员下投资者个数)",
  17414. "type": "integer"
  17415. },
  17416. "memberuserid": {
  17417. "description": "所属会员ID",
  17418. "type": "integer"
  17419. },
  17420. "modifierid": {
  17421. "description": "修改人",
  17422. "type": "integer"
  17423. },
  17424. "modifyremark": {
  17425. "description": "变更备注",
  17426. "type": "string"
  17427. },
  17428. "modifystatus": {
  17429. "description": "变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)",
  17430. "type": "integer"
  17431. },
  17432. "modifytime": {
  17433. "description": "修改时间",
  17434. "type": "string"
  17435. },
  17436. "parentuserid": {
  17437. "description": "所属机构ID",
  17438. "type": "integer"
  17439. },
  17440. "reckonaccountid": {
  17441. "description": "默认结算资金账号ID(机构分润使用) 作废",
  17442. "type": "integer"
  17443. },
  17444. "refercount": {
  17445. "description": "推荐总人数",
  17446. "type": "integer"
  17447. },
  17448. "refereeuserid": {
  17449. "description": "推荐人ID",
  17450. "type": "integer"
  17451. },
  17452. "refernum": {
  17453. "description": "推荐码",
  17454. "type": "string"
  17455. },
  17456. "subarealevelpath": {
  17457. "description": "子机构层级路径(逗号分隔,首尾加逗号)",
  17458. "type": "string"
  17459. },
  17460. "userid": {
  17461. "description": "用户ID",
  17462. "type": "integer"
  17463. },
  17464. "usertype": {
  17465. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户",
  17466. "type": "integer"
  17467. }
  17468. }
  17469. },
  17470. "models.Userfavoritegoods": {
  17471. "type": "object",
  17472. "required": [
  17473. "goodsid"
  17474. ],
  17475. "properties": {
  17476. "goodsid": {
  17477. "description": "商品ID",
  17478. "type": "integer"
  17479. }
  17480. }
  17481. },
  17482. "models.Userinfo": {
  17483. "type": "object",
  17484. "required": [
  17485. "userid"
  17486. ],
  17487. "properties": {
  17488. "address": {
  17489. "description": "地址",
  17490. "type": "string"
  17491. },
  17492. "attachment1": {
  17493. "description": "附件1",
  17494. "type": "string"
  17495. },
  17496. "attachment2": {
  17497. "description": "附件2",
  17498. "type": "string"
  17499. },
  17500. "bankaccount": {
  17501. "description": "银行帐号 (加密存储)",
  17502. "type": "string"
  17503. },
  17504. "bankaccountname": {
  17505. "description": "收款人名称",
  17506. "type": "string"
  17507. },
  17508. "bankcardfrontphotourl": {
  17509. "description": "银行卡正面照地址",
  17510. "type": "string"
  17511. },
  17512. "bankid": {
  17513. "description": "银行编码",
  17514. "type": "string"
  17515. },
  17516. "bankname": {
  17517. "description": "银行名称",
  17518. "type": "string"
  17519. },
  17520. "biznature": {
  17521. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  17522. "type": "integer"
  17523. },
  17524. "bizscope": {
  17525. "description": "企业经营范围(企业)",
  17526. "type": "string"
  17527. },
  17528. "cardbackphotourl": {
  17529. "description": "证件背面图片地址",
  17530. "type": "string"
  17531. },
  17532. "cardfrontphotourl": {
  17533. "description": "证件正面图片地址",
  17534. "type": "string"
  17535. },
  17536. "cardnum": {
  17537. "description": "证件号码(加密存储)",
  17538. "type": "string"
  17539. },
  17540. "cardtypeid": {
  17541. "description": "证件类型ID",
  17542. "type": "integer"
  17543. },
  17544. "cityid": {
  17545. "description": "市",
  17546. "type": "integer"
  17547. },
  17548. "company": {
  17549. "description": "公司(个人)",
  17550. "type": "string"
  17551. },
  17552. "contactname": {
  17553. "description": "联系人",
  17554. "type": "string"
  17555. },
  17556. "countryid": {
  17557. "description": "国家",
  17558. "type": "integer"
  17559. },
  17560. "createtime": {
  17561. "description": "创建时间",
  17562. "type": "string"
  17563. },
  17564. "creatorid": {
  17565. "description": "创建人",
  17566. "type": "integer"
  17567. },
  17568. "customername": {
  17569. "description": "客户名称(企业名称)",
  17570. "type": "string"
  17571. },
  17572. "districtid": {
  17573. "description": "地区",
  17574. "type": "integer"
  17575. },
  17576. "email": {
  17577. "description": "邮件(加密存储)",
  17578. "type": "string"
  17579. },
  17580. "fax": {
  17581. "description": "传真(加密存储)",
  17582. "type": "string"
  17583. },
  17584. "halfbodyphotourl": {
  17585. "description": "半身照地址",
  17586. "type": "string"
  17587. },
  17588. "hasencrypt": {
  17589. "description": "数据是否已加密 - 0:未加密 1:已加密",
  17590. "type": "integer"
  17591. },
  17592. "headurl": {
  17593. "description": "头像地址",
  17594. "type": "string"
  17595. },
  17596. "legalcardbackphotourl": {
  17597. "description": "法人身份证背面照地址",
  17598. "type": "string"
  17599. },
  17600. "legalcardfrontphotourl": {
  17601. "description": "法人身份证正面照地址",
  17602. "type": "string"
  17603. },
  17604. "legalpersonname": {
  17605. "description": "法人姓名(企业)",
  17606. "type": "string"
  17607. },
  17608. "mobile": {
  17609. "description": "手机号码(加密存储)",
  17610. "type": "string"
  17611. },
  17612. "mobile2": {
  17613. "description": "手机号码[明文-尚志]",
  17614. "type": "string"
  17615. },
  17616. "modifierid": {
  17617. "description": "修改人",
  17618. "type": "integer"
  17619. },
  17620. "modifiertime": {
  17621. "description": "修改时间",
  17622. "type": "string"
  17623. },
  17624. "needinvoice": {
  17625. "description": "是否需要发票 - 0:不需要 1:需要",
  17626. "type": "integer"
  17627. },
  17628. "nickname": {
  17629. "description": "昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)",
  17630. "type": "string"
  17631. },
  17632. "openmode": {
  17633. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户",
  17634. "type": "integer"
  17635. },
  17636. "otherurl": {
  17637. "description": "其它图片地址[使用分号分隔]",
  17638. "type": "string"
  17639. },
  17640. "postalcode": {
  17641. "description": "邮政编码",
  17642. "type": "string"
  17643. },
  17644. "provinceid": {
  17645. "description": "省",
  17646. "type": "integer"
  17647. },
  17648. "qq": {
  17649. "description": "QQ(加密存储",
  17650. "type": "string"
  17651. },
  17652. "remark": {
  17653. "description": "备注",
  17654. "type": "string"
  17655. },
  17656. "sex": {
  17657. "description": "用户性别 0: 女 1: 男",
  17658. "type": "integer"
  17659. },
  17660. "signpdfurl": {
  17661. "description": "签约pdf文件",
  17662. "type": "string"
  17663. },
  17664. "telphone": {
  17665. "description": "联系电话(加密存储)",
  17666. "type": "string"
  17667. },
  17668. "userid": {
  17669. "description": "用户ID",
  17670. "type": "integer"
  17671. },
  17672. "userinfotype": {
  17673. "description": "用户信息类型 - 1:个人 2:企业",
  17674. "type": "integer"
  17675. },
  17676. "userstatus": {
  17677. "description": "用户状态 - 1:正常 2:注销",
  17678. "type": "integer"
  17679. },
  17680. "usertype": {
  17681. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户",
  17682. "type": "integer"
  17683. },
  17684. "wechat": {
  17685. "description": "微信(加密存储)",
  17686. "type": "string"
  17687. },
  17688. "wskhinfo": {
  17689. "description": "开户申请信息(JSON)",
  17690. "type": "string"
  17691. }
  17692. }
  17693. },
  17694. "models.WRCategoryTree": {
  17695. "type": "object",
  17696. "required": [
  17697. "categoryid"
  17698. ],
  17699. "properties": {
  17700. "areauserid": {
  17701. "description": "所属机构",
  17702. "type": "integer"
  17703. },
  17704. "categorydesc": {
  17705. "description": "类别描述",
  17706. "type": "string"
  17707. },
  17708. "categoryid": {
  17709. "description": "类别ID(SEQ_WRCATEGORY)",
  17710. "type": "integer"
  17711. },
  17712. "categoryname": {
  17713. "description": "类别名称",
  17714. "type": "string"
  17715. },
  17716. "iconurl": {
  17717. "description": "图标地址",
  17718. "type": "string"
  17719. },
  17720. "orderindex": {
  17721. "description": "顺序",
  17722. "type": "integer"
  17723. },
  17724. "parentcategoryid": {
  17725. "description": "父类别ID",
  17726. "type": "integer"
  17727. },
  17728. "subcategory": {
  17729. "description": "子分类",
  17730. "type": "array",
  17731. "items": {
  17732. "$ref": "#/definitions/models.WRCategoryTree"
  17733. }
  17734. }
  17735. }
  17736. },
  17737. "models.WRSConverTDetail": {
  17738. "type": "object",
  17739. "properties": {
  17740. "convertratio": {
  17741. "description": "套保系数",
  17742. "type": "number"
  17743. },
  17744. "deliverygoodsid": {
  17745. "description": "现货品种ID",
  17746. "type": "integer"
  17747. },
  17748. "middlegoodscode": {
  17749. "description": "套保品种代码",
  17750. "type": "string"
  17751. },
  17752. "middlegoodsid": {
  17753. "description": "套保品种ID",
  17754. "type": "integer"
  17755. },
  17756. "middlegoodsname": {
  17757. "description": "套保品种名称",
  17758. "type": "string"
  17759. },
  17760. "modifytime": {
  17761. "description": "修改时间",
  17762. "type": "string"
  17763. },
  17764. "wrstandardid": {
  17765. "description": "现货商品ID",
  17766. "type": "integer"
  17767. }
  17768. }
  17769. },
  17770. "models.WRStandardInfo": {
  17771. "type": "object",
  17772. "required": [
  17773. "wrstandardid"
  17774. ],
  17775. "properties": {
  17776. "createtime": {
  17777. "description": "创建时间",
  17778. "type": "string"
  17779. },
  17780. "creatorid": {
  17781. "description": "创建人",
  17782. "type": "integer"
  17783. },
  17784. "deliverygoodsid": {
  17785. "description": "品种ID",
  17786. "type": "integer"
  17787. },
  17788. "deliverygoodsname": {
  17789. "description": "交割商品名称",
  17790. "type": "string"
  17791. },
  17792. "factoryitemjson": {
  17793. "description": "要素项定义Json[{\"DGFactoryItemTypeID\": ,\"ItemTypeMode\": ,\"FactoryItemIDs\": },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem-\u003eDGFactoryItemTypeIDItemTypeMode - 要素项类型模式 --DGFactoryItem-\u003eItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem-\u003eDGFactoryItemID, 逗号分隔",
  17794. "type": "string"
  17795. },
  17796. "isvalid": {
  17797. "description": "是否有效 - 0:无效 1:有效",
  17798. "type": "integer"
  17799. },
  17800. "minivalue": {
  17801. "description": "最小变动值",
  17802. "type": "integer"
  17803. },
  17804. "minivaluedp": {
  17805. "description": "最小变动值小数位",
  17806. "type": "integer"
  17807. },
  17808. "realminivalue": {
  17809. "description": "实际最小变动值",
  17810. "type": "integer"
  17811. },
  17812. "realminivaluedp": {
  17813. "description": "实际最小变动值小数位",
  17814. "type": "integer"
  17815. },
  17816. "unitid": {
  17817. "description": "单位ID",
  17818. "type": "integer"
  17819. },
  17820. "unitname": {
  17821. "description": "单位",
  17822. "type": "string"
  17823. },
  17824. "updatetime": {
  17825. "description": "更新时间",
  17826. "type": "string"
  17827. },
  17828. "updatorid": {
  17829. "description": "更新人",
  17830. "type": "integer"
  17831. },
  17832. "wrsstatus": {
  17833. "description": "状态 - 作废 - 0:未激活 1:正常",
  17834. "type": "integer"
  17835. },
  17836. "wrstandardcode": {
  17837. "description": "仓单标准代码",
  17838. "type": "string"
  17839. },
  17840. "wrstandardid": {
  17841. "description": "仓单标准ID(SEQ_WRSTANDARD)",
  17842. "type": "integer"
  17843. },
  17844. "wrstandardname": {
  17845. "description": "仓单标准名称",
  17846. "type": "string"
  17847. }
  17848. }
  17849. },
  17850. "models.Warehouseinfo": {
  17851. "type": "object",
  17852. "required": [
  17853. "autoid",
  17854. "warehousecode"
  17855. ],
  17856. "properties": {
  17857. "address": {
  17858. "description": "详细地址",
  17859. "type": "string"
  17860. },
  17861. "areauserid": {
  17862. "description": "所属机构",
  17863. "type": "integer"
  17864. },
  17865. "autoid": {
  17866. "description": "自增ID",
  17867. "type": "integer"
  17868. },
  17869. "cityid": {
  17870. "description": "市",
  17871. "type": "integer"
  17872. },
  17873. "contactname": {
  17874. "description": "联系人",
  17875. "type": "string"
  17876. },
  17877. "contactnum": {
  17878. "description": "联系电话",
  17879. "type": "string"
  17880. },
  17881. "countryid": {
  17882. "description": "国家",
  17883. "type": "integer"
  17884. },
  17885. "createtime": {
  17886. "description": "创建时间",
  17887. "type": "string"
  17888. },
  17889. "districtid": {
  17890. "description": "区",
  17891. "type": "integer"
  17892. },
  17893. "hasvideo": {
  17894. "description": "是否有视频 - 0:无 1:有",
  17895. "type": "integer"
  17896. },
  17897. "provinceid": {
  17898. "description": "省",
  17899. "type": "integer"
  17900. },
  17901. "remark": {
  17902. "description": "审核备注",
  17903. "type": "string"
  17904. },
  17905. "videourl": {
  17906. "description": "视频地址",
  17907. "type": "string"
  17908. },
  17909. "warehousecode": {
  17910. "description": "仓库代码",
  17911. "type": "string"
  17912. },
  17913. "warehousename": {
  17914. "description": "仓库名称",
  17915. "type": "string"
  17916. },
  17917. "warehousestatus": {
  17918. "description": "仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝",
  17919. "type": "integer"
  17920. },
  17921. "warehousetype": {
  17922. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  17923. "type": "integer"
  17924. }
  17925. }
  17926. },
  17927. "order.QueryHisTradeDetailRsp": {
  17928. "type": "object",
  17929. "required": [
  17930. "accountid",
  17931. "buyorsell",
  17932. "goodsid",
  17933. "histradedate",
  17934. "marketid",
  17935. "memberuserid",
  17936. "orderid",
  17937. "tradeamount",
  17938. "tradedate",
  17939. "tradeid",
  17940. "tradeprice",
  17941. "tradeqty",
  17942. "tradetime"
  17943. ],
  17944. "properties": {
  17945. "accountid": {
  17946. "description": "账户ID[报价币种]",
  17947. "type": "integer"
  17948. },
  17949. "buildtype": {
  17950. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  17951. "type": "integer"
  17952. },
  17953. "buyorsell": {
  17954. "description": "方向 - 0:买 1:卖",
  17955. "type": "integer"
  17956. },
  17957. "charge": {
  17958. "description": "手续费",
  17959. "type": "number"
  17960. },
  17961. "closecharge": {
  17962. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  17963. "type": "number"
  17964. },
  17965. "closeexchagechargevalue": {
  17966. "description": "平仓交易所手续费设置值",
  17967. "type": "number"
  17968. },
  17969. "closefeealgorithm": {
  17970. "description": "平仓手续费收取方式 1:比率 2:固定",
  17971. "type": "integer"
  17972. },
  17973. "closememberchargevalue": {
  17974. "description": "平仓会员手续费设置值",
  17975. "type": "number"
  17976. },
  17977. "closepl": {
  17978. "description": "平仓盈亏",
  17979. "type": "number"
  17980. },
  17981. "closepl2": {
  17982. "description": "平仓盈亏[逐笔]",
  17983. "type": "number"
  17984. },
  17985. "closeqty": {
  17986. "description": "平仓数量(先建后平操作 需要记录)",
  17987. "type": "integer"
  17988. },
  17989. "creditamount": {
  17990. "description": "授信金额",
  17991. "type": "number"
  17992. },
  17993. "gcaccountid": {
  17994. "description": "账户ID[合约币种]",
  17995. "type": "integer"
  17996. },
  17997. "goodscode": {
  17998. "description": "商品代码",
  17999. "type": "string"
  18000. },
  18001. "goodsid": {
  18002. "description": "商品ID",
  18003. "type": "integer"
  18004. },
  18005. "goodsname": {
  18006. "description": "商品名称",
  18007. "type": "string"
  18008. },
  18009. "histradedate": {
  18010. "description": "历史交易日",
  18011. "type": "string"
  18012. },
  18013. "intclosepl": {
  18014. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  18015. "type": "integer"
  18016. },
  18017. "isconfirmexercise": {
  18018. "description": "是否确认行权- 0:否 1:是",
  18019. "type": "integer"
  18020. },
  18021. "ismain": {
  18022. "description": "是否主单 - 0:不是 1:是",
  18023. "type": "integer"
  18024. },
  18025. "ispreexercise": {
  18026. "description": "是否预申报- 0:否 1:是",
  18027. "type": "integer"
  18028. },
  18029. "isreckoned": {
  18030. "description": "是否结算 - 0:未结算 1:已结算",
  18031. "type": "integer"
  18032. },
  18033. "isvaliddata": {
  18034. "description": "是否有效 - 0:无效 1:有效",
  18035. "type": "integer"
  18036. },
  18037. "listingselecttype": {
  18038. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  18039. "type": "integer"
  18040. },
  18041. "marketid": {
  18042. "description": "市场ID",
  18043. "type": "integer"
  18044. },
  18045. "marketname": {
  18046. "description": "市场名称",
  18047. "type": "string"
  18048. },
  18049. "matchaccountid": {
  18050. "description": "对手账号id",
  18051. "type": "integer"
  18052. },
  18053. "memberuserid": {
  18054. "description": "会员id 个人投资者 需要填写",
  18055. "type": "integer"
  18056. },
  18057. "opencharge": {
  18058. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  18059. "type": "number"
  18060. },
  18061. "openexchagechargevalue": {
  18062. "description": "建仓交易所手续费设置值",
  18063. "type": "number"
  18064. },
  18065. "openfeealgorithm": {
  18066. "description": "建仓手续费收取方式 1:比率 2:固定",
  18067. "type": "integer"
  18068. },
  18069. "openmemberchargevalue": {
  18070. "description": "建仓会员手续费设置值",
  18071. "type": "number"
  18072. },
  18073. "openqty": {
  18074. "description": "开仓数量(先建后平操作 需要记录)",
  18075. "type": "integer"
  18076. },
  18077. "optiontype": {
  18078. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  18079. "type": "integer"
  18080. },
  18081. "orderid": {
  18082. "description": "委托单号",
  18083. "type": "string"
  18084. },
  18085. "performanceplanid": {
  18086. "description": "履约计划ID[期权]",
  18087. "type": "integer"
  18088. },
  18089. "performancestatus": {
  18090. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  18091. "type": "integer"
  18092. },
  18093. "preexerciseprice": {
  18094. "description": "预申报价格",
  18095. "type": "number"
  18096. },
  18097. "premium": {
  18098. "description": "权利金 - [持仓单的权利金]",
  18099. "type": "number"
  18100. },
  18101. "relatedouttradeid": {
  18102. "description": "关联外部成交单ID",
  18103. "type": "integer"
  18104. },
  18105. "status": {
  18106. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  18107. "type": "integer"
  18108. },
  18109. "tradeamount": {
  18110. "description": "成交金额[账户币种,用于所有权]",
  18111. "type": "number"
  18112. },
  18113. "tradedate": {
  18114. "description": "交易日(yyyyMMdd)",
  18115. "type": "string"
  18116. },
  18117. "tradeid": {
  18118. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  18119. "type": "string"
  18120. },
  18121. "trademode": {
  18122. "description": "交易模式",
  18123. "type": "integer"
  18124. },
  18125. "tradeprice": {
  18126. "description": "成交价格",
  18127. "type": "number"
  18128. },
  18129. "tradeproperty": {
  18130. "description": "交易属性",
  18131. "type": "integer"
  18132. },
  18133. "tradeqty": {
  18134. "description": "成交数量",
  18135. "type": "integer"
  18136. },
  18137. "tradetime": {
  18138. "description": "成交时间",
  18139. "type": "string"
  18140. },
  18141. "tradetype": {
  18142. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  18143. "type": "integer"
  18144. }
  18145. }
  18146. },
  18147. "order.QueryHisTradeOrderDetailRsp": {
  18148. "type": "object",
  18149. "required": [
  18150. "accountid",
  18151. "buildtype",
  18152. "buyorsell",
  18153. "goodsid",
  18154. "histradedate",
  18155. "marketid",
  18156. "memberuserid",
  18157. "operatetype",
  18158. "orderid",
  18159. "orderqty",
  18160. "ordertime",
  18161. "pricemode",
  18162. "tradedate",
  18163. "validtype"
  18164. ],
  18165. "properties": {
  18166. "accountid": {
  18167. "description": "账户ID[报价币种]",
  18168. "type": "integer"
  18169. },
  18170. "buildtype": {
  18171. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  18172. "type": "integer"
  18173. },
  18174. "buyorsell": {
  18175. "description": "买卖 - 0:买 1:卖",
  18176. "type": "integer"
  18177. },
  18178. "cancelorderid": {
  18179. "description": "撤单单号(撤单时填写)",
  18180. "type": "string"
  18181. },
  18182. "cancelqty": {
  18183. "description": "撤单数量",
  18184. "type": "integer"
  18185. },
  18186. "clientordertime": {
  18187. "description": "客户端委托时间",
  18188. "type": "string"
  18189. },
  18190. "clientticket": {
  18191. "description": "客户端流水号",
  18192. "type": "string"
  18193. },
  18194. "clienttype": {
  18195. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  18196. "type": "integer"
  18197. },
  18198. "closeexchagechargevalue": {
  18199. "description": "平仓交易所手续费设置值",
  18200. "type": "number"
  18201. },
  18202. "closefeealgorithm": {
  18203. "description": "平仓手续费收取方式 1:比率 2:固定",
  18204. "type": "integer"
  18205. },
  18206. "closefreezecharge": {
  18207. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  18208. "type": "number"
  18209. },
  18210. "closememberchargevalue": {
  18211. "description": "平仓会员手续费设置值",
  18212. "type": "number"
  18213. },
  18214. "closeqty": {
  18215. "description": "平仓数量(先建后平操作 需要记录)",
  18216. "type": "integer"
  18217. },
  18218. "closetradeqty": {
  18219. "description": "平仓成交数量(先建后平操作,需要记录)",
  18220. "type": "integer"
  18221. },
  18222. "closeunfreezecharge": {
  18223. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  18224. "type": "number"
  18225. },
  18226. "delistingtype": {
  18227. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  18228. "type": "integer"
  18229. },
  18230. "freezecharge": {
  18231. "description": "冻结手续费",
  18232. "type": "number"
  18233. },
  18234. "freezemargin": {
  18235. "description": "冻结保证金(冻结交易金额)",
  18236. "type": "number"
  18237. },
  18238. "gcaccountid": {
  18239. "description": "账户ID[合约币种]",
  18240. "type": "integer"
  18241. },
  18242. "goodscode": {
  18243. "description": "商品代码",
  18244. "type": "string"
  18245. },
  18246. "goodsid": {
  18247. "description": "商品ID",
  18248. "type": "integer"
  18249. },
  18250. "goodsname": {
  18251. "description": "商品名称",
  18252. "type": "string"
  18253. },
  18254. "histradedate": {
  18255. "description": "历史交易日",
  18256. "type": "string"
  18257. },
  18258. "isconfirmexercise": {
  18259. "description": "是否确认行权- 0:否 1:是",
  18260. "type": "integer"
  18261. },
  18262. "ispreexercise": {
  18263. "description": "是否预申报- 0:否 1:是",
  18264. "type": "integer"
  18265. },
  18266. "isvaliddata": {
  18267. "description": "是否有效 - 0:无效 1:有效",
  18268. "type": "integer"
  18269. },
  18270. "listingselecttype": {
  18271. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  18272. "type": "integer"
  18273. },
  18274. "marginalgorithm": {
  18275. "description": "保证金收取方式 1:比率 2:固定",
  18276. "type": "integer"
  18277. },
  18278. "marginvalue": {
  18279. "description": "即市保证金设置值",
  18280. "type": "number"
  18281. },
  18282. "marketid": {
  18283. "description": "市场ID",
  18284. "type": "integer"
  18285. },
  18286. "marketmaxsub": {
  18287. "description": "市价最大偏移范围",
  18288. "type": "number"
  18289. },
  18290. "marketname": {
  18291. "description": "市场名称",
  18292. "type": "string"
  18293. },
  18294. "memberuserid": {
  18295. "description": "所属会员UserID",
  18296. "type": "integer"
  18297. },
  18298. "openexchagechargevalue": {
  18299. "description": "建仓交易所手续费设置值",
  18300. "type": "number"
  18301. },
  18302. "openfeealgorithm": {
  18303. "description": "建仓手续费收取方式 1:比率 2:固定",
  18304. "type": "integer"
  18305. },
  18306. "openfreezecharge": {
  18307. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  18308. "type": "number"
  18309. },
  18310. "openmemberchargevalue": {
  18311. "description": "建仓会员手续费设置值",
  18312. "type": "number"
  18313. },
  18314. "openqty": {
  18315. "description": "开仓数量(先建后平操作,需要记录)",
  18316. "type": "integer"
  18317. },
  18318. "opentradeqty": {
  18319. "description": "开仓成交数量(先建后平操作,需要记录)",
  18320. "type": "integer"
  18321. },
  18322. "openunfreezecharge": {
  18323. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  18324. "type": "number"
  18325. },
  18326. "operatetype": {
  18327. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  18328. "type": "integer"
  18329. },
  18330. "operatorid": {
  18331. "description": "登录账号(LoginID)",
  18332. "type": "integer"
  18333. },
  18334. "optiontype": {
  18335. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  18336. "type": "integer"
  18337. },
  18338. "orderid": {
  18339. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  18340. "type": "string"
  18341. },
  18342. "orderprice": {
  18343. "description": "委托价格",
  18344. "type": "number"
  18345. },
  18346. "orderqty": {
  18347. "description": "委托数量",
  18348. "type": "integer"
  18349. },
  18350. "ordersrc": {
  18351. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  18352. "type": "integer"
  18353. },
  18354. "orderstatus": {
  18355. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  18356. "type": "integer"
  18357. },
  18358. "ordertime": {
  18359. "description": "委托时间",
  18360. "type": "string"
  18361. },
  18362. "preexerciseprice": {
  18363. "description": "预申报价格",
  18364. "type": "number"
  18365. },
  18366. "premium": {
  18367. "description": "权利金",
  18368. "type": "number"
  18369. },
  18370. "preorderid": {
  18371. "description": "关联预埋单号(止盈止损单时填写)",
  18372. "type": "string"
  18373. },
  18374. "pricemode": {
  18375. "description": "取价方式 - 1:市价 2: 限价",
  18376. "type": "integer"
  18377. },
  18378. "quoteid": {
  18379. "description": "报价单ID",
  18380. "type": "integer"
  18381. },
  18382. "relatedid": {
  18383. "description": "关联单号(交割单)",
  18384. "type": "string"
  18385. },
  18386. "retcode": {
  18387. "description": "错误代码",
  18388. "type": "integer"
  18389. },
  18390. "sessionid": {
  18391. "description": "会话ID",
  18392. "type": "integer"
  18393. },
  18394. "tradedate": {
  18395. "description": "交易日(yyyyMMdd)",
  18396. "type": "string"
  18397. },
  18398. "trademode": {
  18399. "description": "交易模式",
  18400. "type": "integer"
  18401. },
  18402. "tradeproperty": {
  18403. "description": "交易属性",
  18404. "type": "integer"
  18405. },
  18406. "tradeqty": {
  18407. "description": "成交数量",
  18408. "type": "integer"
  18409. },
  18410. "unfreezecharge": {
  18411. "description": "解冻手续费",
  18412. "type": "number"
  18413. },
  18414. "unfreezemargin": {
  18415. "description": "解冻保证金",
  18416. "type": "number"
  18417. },
  18418. "updatetime": {
  18419. "description": "更新时间",
  18420. "type": "string"
  18421. },
  18422. "uuid": {
  18423. "description": "发起端唯一id",
  18424. "type": "string"
  18425. },
  18426. "validtime": {
  18427. "description": "有效期限",
  18428. "type": "string"
  18429. },
  18430. "validtype": {
  18431. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  18432. "type": "integer"
  18433. },
  18434. "volumetype": {
  18435. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  18436. "type": "integer"
  18437. }
  18438. }
  18439. },
  18440. "order.QueryTradeDetailRsp": {
  18441. "type": "object",
  18442. "required": [
  18443. "accountid",
  18444. "buyorsell",
  18445. "goodsid",
  18446. "marketid",
  18447. "memberuserid",
  18448. "orderid",
  18449. "tradeamount",
  18450. "tradedate",
  18451. "tradeid",
  18452. "tradeprice",
  18453. "tradeqty",
  18454. "tradetime"
  18455. ],
  18456. "properties": {
  18457. "accountid": {
  18458. "description": "账户ID[报价币种]",
  18459. "type": "integer"
  18460. },
  18461. "buildtype": {
  18462. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  18463. "type": "integer"
  18464. },
  18465. "buyorsell": {
  18466. "description": "方向 - 0:买 1:卖",
  18467. "type": "integer"
  18468. },
  18469. "charge": {
  18470. "description": "手续费",
  18471. "type": "number"
  18472. },
  18473. "closecharge": {
  18474. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  18475. "type": "number"
  18476. },
  18477. "closeexchagechargevalue": {
  18478. "description": "平仓交易所手续费设置值",
  18479. "type": "number"
  18480. },
  18481. "closefeealgorithm": {
  18482. "description": "平仓手续费收取方式 1:比率 2:固定",
  18483. "type": "integer"
  18484. },
  18485. "closememberchargevalue": {
  18486. "description": "平仓会员手续费设置值",
  18487. "type": "number"
  18488. },
  18489. "closepl": {
  18490. "description": "平仓盈亏",
  18491. "type": "number"
  18492. },
  18493. "closepl2": {
  18494. "description": "平仓盈亏[逐笔]",
  18495. "type": "number"
  18496. },
  18497. "closeqty": {
  18498. "description": "平仓数量(先建后平操作 需要记录)",
  18499. "type": "integer"
  18500. },
  18501. "creditamount": {
  18502. "description": "授信金额",
  18503. "type": "number"
  18504. },
  18505. "gcaccountid": {
  18506. "description": "账户ID[合约币种]",
  18507. "type": "integer"
  18508. },
  18509. "goodscode": {
  18510. "description": "商品代码",
  18511. "type": "string"
  18512. },
  18513. "goodsid": {
  18514. "description": "商品ID",
  18515. "type": "integer"
  18516. },
  18517. "goodsname": {
  18518. "description": "商品名称",
  18519. "type": "string"
  18520. },
  18521. "intclosepl": {
  18522. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  18523. "type": "integer"
  18524. },
  18525. "isconfirmexercise": {
  18526. "description": "是否确认行权- 0:否 1:是",
  18527. "type": "integer"
  18528. },
  18529. "ismain": {
  18530. "description": "是否主单 - 0:不是 1:是",
  18531. "type": "integer"
  18532. },
  18533. "ispreexercise": {
  18534. "description": "是否预申报- 0:否 1:是",
  18535. "type": "integer"
  18536. },
  18537. "isreckoned": {
  18538. "description": "是否结算 - 0:未结算 1:已结算",
  18539. "type": "integer"
  18540. },
  18541. "listingselecttype": {
  18542. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  18543. "type": "integer"
  18544. },
  18545. "marketid": {
  18546. "description": "市场ID",
  18547. "type": "integer"
  18548. },
  18549. "marketname": {
  18550. "description": "市场名称",
  18551. "type": "string"
  18552. },
  18553. "matchaccountid": {
  18554. "description": "对手账号id",
  18555. "type": "integer"
  18556. },
  18557. "memberuserid": {
  18558. "description": "会员id 个人投资者 需要填写",
  18559. "type": "integer"
  18560. },
  18561. "opencharge": {
  18562. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  18563. "type": "number"
  18564. },
  18565. "openexchagechargevalue": {
  18566. "description": "建仓交易所手续费设置值",
  18567. "type": "number"
  18568. },
  18569. "openfeealgorithm": {
  18570. "description": "建仓手续费收取方式 1:比率 2:固定",
  18571. "type": "integer"
  18572. },
  18573. "openmemberchargevalue": {
  18574. "description": "建仓会员手续费设置值",
  18575. "type": "number"
  18576. },
  18577. "openqty": {
  18578. "description": "开仓数量(先建后平操作 需要记录)",
  18579. "type": "integer"
  18580. },
  18581. "optiontype": {
  18582. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  18583. "type": "integer"
  18584. },
  18585. "orderid": {
  18586. "description": "委托单号",
  18587. "type": "string"
  18588. },
  18589. "performanceplanid": {
  18590. "description": "履约计划ID[期权]",
  18591. "type": "integer"
  18592. },
  18593. "performancestatus": {
  18594. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  18595. "type": "integer"
  18596. },
  18597. "preexerciseprice": {
  18598. "description": "预申报价格",
  18599. "type": "number"
  18600. },
  18601. "premium": {
  18602. "description": "权利金 - [持仓单的权利金]",
  18603. "type": "number"
  18604. },
  18605. "relatedouttradeid": {
  18606. "description": "关联外部成交单ID",
  18607. "type": "integer"
  18608. },
  18609. "status": {
  18610. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  18611. "type": "integer"
  18612. },
  18613. "tradeamount": {
  18614. "description": "成交金额[账户币种,用于所有权]",
  18615. "type": "number"
  18616. },
  18617. "tradedate": {
  18618. "description": "交易日(yyyyMMdd)",
  18619. "type": "string"
  18620. },
  18621. "tradeid": {
  18622. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  18623. "type": "string"
  18624. },
  18625. "trademode": {
  18626. "description": "交易模式",
  18627. "type": "integer"
  18628. },
  18629. "tradeprice": {
  18630. "description": "成交价格",
  18631. "type": "number"
  18632. },
  18633. "tradeproperty": {
  18634. "description": "交易属性",
  18635. "type": "integer"
  18636. },
  18637. "tradeqty": {
  18638. "description": "成交数量",
  18639. "type": "integer"
  18640. },
  18641. "tradetime": {
  18642. "description": "成交时间",
  18643. "type": "string"
  18644. },
  18645. "tradetype": {
  18646. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  18647. "type": "integer"
  18648. }
  18649. }
  18650. },
  18651. "order.QueryTradeOrderDetailRsp": {
  18652. "type": "object",
  18653. "required": [
  18654. "accountid",
  18655. "buildtype",
  18656. "buyorsell",
  18657. "goodsid",
  18658. "marketid",
  18659. "operatetype",
  18660. "orderqty",
  18661. "ordertime",
  18662. "pricemode",
  18663. "tradedate",
  18664. "validtype"
  18665. ],
  18666. "properties": {
  18667. "accountid": {
  18668. "description": "账户ID[报价币种]",
  18669. "type": "integer"
  18670. },
  18671. "buildtype": {
  18672. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  18673. "type": "integer"
  18674. },
  18675. "buyorsell": {
  18676. "description": "买卖 - 0:买 1:卖",
  18677. "type": "integer"
  18678. },
  18679. "cancelorderid": {
  18680. "description": "撤单单号(撤单时填写)",
  18681. "type": "string"
  18682. },
  18683. "cancelqty": {
  18684. "description": "撤单数量",
  18685. "type": "integer"
  18686. },
  18687. "clienttype": {
  18688. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  18689. "type": "integer"
  18690. },
  18691. "closefreezecharge": {
  18692. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  18693. "type": "number"
  18694. },
  18695. "closeqty": {
  18696. "description": "平仓数量(先建后平操作 需要记录)",
  18697. "type": "integer"
  18698. },
  18699. "closetradeqty": {
  18700. "description": "平仓成交数量(先建后平操作,需要记录)",
  18701. "type": "integer"
  18702. },
  18703. "closeunfreezecharge": {
  18704. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  18705. "type": "number"
  18706. },
  18707. "delistingtype": {
  18708. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  18709. "type": "integer"
  18710. },
  18711. "enableqty": {
  18712. "description": "可用数量 = 委托数量 - 成交数量 - 撤单数量",
  18713. "type": "integer"
  18714. },
  18715. "freezecharge": {
  18716. "description": "冻结手续费",
  18717. "type": "number"
  18718. },
  18719. "freezemargin": {
  18720. "description": "冻结保证金(冻结交易金额)",
  18721. "type": "number"
  18722. },
  18723. "goodscode": {
  18724. "description": "商品代码",
  18725. "type": "string"
  18726. },
  18727. "goodsid": {
  18728. "description": "商品ID",
  18729. "type": "integer"
  18730. },
  18731. "goodsname": {
  18732. "description": "商品名称",
  18733. "type": "string"
  18734. },
  18735. "listingselecttype": {
  18736. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  18737. "type": "integer"
  18738. },
  18739. "marketid": {
  18740. "description": "市场ID",
  18741. "type": "integer"
  18742. },
  18743. "marketname": {
  18744. "description": "市场名称",
  18745. "type": "string"
  18746. },
  18747. "openfreezecharge": {
  18748. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  18749. "type": "number"
  18750. },
  18751. "openqty": {
  18752. "description": "开仓数量(先建后平操作,需要记录)",
  18753. "type": "integer"
  18754. },
  18755. "opentradeqty": {
  18756. "description": "开仓成交数量(先建后平操作,需要记录)",
  18757. "type": "integer"
  18758. },
  18759. "openunfreezecharge": {
  18760. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  18761. "type": "number"
  18762. },
  18763. "operatetype": {
  18764. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  18765. "type": "integer"
  18766. },
  18767. "operatorid": {
  18768. "description": "登录账号(LoginID)",
  18769. "type": "integer"
  18770. },
  18771. "orderid": {
  18772. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  18773. "type": "string"
  18774. },
  18775. "orderprice": {
  18776. "description": "委托价格",
  18777. "type": "number"
  18778. },
  18779. "orderqty": {
  18780. "description": "委托数量",
  18781. "type": "integer"
  18782. },
  18783. "ordersrc": {
  18784. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  18785. "type": "integer"
  18786. },
  18787. "orderstatus": {
  18788. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  18789. "type": "integer"
  18790. },
  18791. "ordertime": {
  18792. "description": "委托时间",
  18793. "type": "string"
  18794. },
  18795. "preorderid": {
  18796. "description": "关联预埋单号(止盈止损单时填写)",
  18797. "type": "string"
  18798. },
  18799. "pricemode": {
  18800. "description": "取价方式 - 1:市价 2: 限价",
  18801. "type": "integer"
  18802. },
  18803. "relatedid": {
  18804. "description": "关联单号(交割单)",
  18805. "type": "string"
  18806. },
  18807. "tradedate": {
  18808. "description": "交易日(yyyyMMdd)",
  18809. "type": "string"
  18810. },
  18811. "trademode": {
  18812. "description": "交易模式",
  18813. "type": "integer"
  18814. },
  18815. "tradeqty": {
  18816. "description": "成交数量",
  18817. "type": "integer"
  18818. },
  18819. "unfreezecharge": {
  18820. "description": "解冻手续费",
  18821. "type": "number"
  18822. },
  18823. "unfreezemargin": {
  18824. "description": "解冻保证金",
  18825. "type": "number"
  18826. },
  18827. "validtime": {
  18828. "description": "有效期限",
  18829. "type": "string"
  18830. },
  18831. "validtype": {
  18832. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  18833. "type": "integer"
  18834. },
  18835. "volumetype": {
  18836. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  18837. "type": "integer"
  18838. }
  18839. }
  18840. },
  18841. "order.QueryTradePositionRsp": {
  18842. "type": "object",
  18843. "required": [
  18844. "goodsid"
  18845. ],
  18846. "properties": {
  18847. "accountid": {
  18848. "description": "资金账户",
  18849. "type": "integer"
  18850. },
  18851. "agreeunit": {
  18852. "description": "合约单位",
  18853. "type": "number"
  18854. },
  18855. "averageprice": {
  18856. "description": "持仓均价",
  18857. "type": "number"
  18858. },
  18859. "buyorsell": {
  18860. "description": "方向 - 0:买 1:卖",
  18861. "type": "integer"
  18862. },
  18863. "closetotalqty": {
  18864. "description": "平仓总数量",
  18865. "type": "integer"
  18866. },
  18867. "curholderamount": {
  18868. "description": "当前持仓总金额[商品币种]",
  18869. "type": "number"
  18870. },
  18871. "curpositionqty": {
  18872. "description": "当前持仓总数量",
  18873. "type": "integer"
  18874. },
  18875. "currencyid": {
  18876. "description": "报价货币ID",
  18877. "type": "integer"
  18878. },
  18879. "curtdposition": {
  18880. "description": "期末今日头寸",
  18881. "type": "integer"
  18882. },
  18883. "decimalplace": {
  18884. "description": "报价小数位",
  18885. "type": "integer"
  18886. },
  18887. "enableqty": {
  18888. "description": "可用量",
  18889. "type": "integer"
  18890. },
  18891. "fretdposition": {
  18892. "description": "冻结今日头寸",
  18893. "type": "integer"
  18894. },
  18895. "frozenqty": {
  18896. "description": "持仓冻结数量",
  18897. "type": "integer"
  18898. },
  18899. "goodscode": {
  18900. "description": "商品代码",
  18901. "type": "string"
  18902. },
  18903. "goodsid": {
  18904. "description": "商品Id",
  18905. "type": "integer"
  18906. },
  18907. "goodsname": {
  18908. "description": "商品名称",
  18909. "type": "string"
  18910. },
  18911. "goodunit": {
  18912. "description": "报价单位",
  18913. "type": "string"
  18914. },
  18915. "goodunitid": {
  18916. "description": "报价单位ID",
  18917. "type": "integer"
  18918. },
  18919. "holderamount": {
  18920. "description": "期初持仓总金额[商品币种]",
  18921. "type": "number"
  18922. },
  18923. "marketid": {
  18924. "description": "所属市场ID",
  18925. "type": "integer"
  18926. },
  18927. "openreqqty": {
  18928. "description": "开仓申请数量(用于比较最大持仓数量)",
  18929. "type": "integer"
  18930. },
  18931. "opentotalqty": {
  18932. "description": "开仓总数量",
  18933. "type": "integer"
  18934. },
  18935. "otherfrozenqty": {
  18936. "description": "持仓其他冻结数量(交割冻结)",
  18937. "type": "integer"
  18938. },
  18939. "positionqty": {
  18940. "description": "期初持仓数量",
  18941. "type": "integer"
  18942. },
  18943. "tnqty": {
  18944. "description": "T+N冻结总量",
  18945. "type": "integer"
  18946. },
  18947. "tnusedqty": {
  18948. "description": "T+N使用量(可以使用T+N的冻结数量)",
  18949. "type": "integer"
  18950. },
  18951. "trademode": {
  18952. "description": "交易模式",
  18953. "type": "integer"
  18954. },
  18955. "usedmargin": {
  18956. "description": "占用保证金[商品币种]",
  18957. "type": "number"
  18958. }
  18959. }
  18960. },
  18961. "quote.HistoryData": {
  18962. "type": "object",
  18963. "properties": {
  18964. "c": {
  18965. "description": "收盘价",
  18966. "type": "number"
  18967. },
  18968. "f": {
  18969. "description": "是否补充数据",
  18970. "type": "boolean"
  18971. },
  18972. "h": {
  18973. "description": "最高价",
  18974. "type": "number"
  18975. },
  18976. "hv": {
  18977. "description": "持仓量",
  18978. "type": "integer"
  18979. },
  18980. "l": {
  18981. "description": "最低价",
  18982. "type": "number"
  18983. },
  18984. "o": {
  18985. "description": "开盘价",
  18986. "type": "number"
  18987. },
  18988. "s": {
  18989. "description": "结算价,日线周期(包括)以上才有",
  18990. "type": "number"
  18991. },
  18992. "ts": {
  18993. "description": "时间",
  18994. "type": "string"
  18995. },
  18996. "tt": {
  18997. "description": "总金额",
  18998. "type": "number"
  18999. },
  19000. "tv": {
  19001. "description": "总量",
  19002. "type": "integer"
  19003. }
  19004. }
  19005. },
  19006. "quote.HistoryTikData": {
  19007. "type": "object",
  19008. "properties": {
  19009. "AV": {
  19010. "description": "卖量",
  19011. "type": "integer"
  19012. },
  19013. "Ask": {
  19014. "description": "卖价",
  19015. "type": "number"
  19016. },
  19017. "BV": {
  19018. "description": "买量",
  19019. "type": "integer"
  19020. },
  19021. "Bid": {
  19022. "description": "买价",
  19023. "type": "number"
  19024. },
  19025. "HI": {
  19026. "description": "单笔持仓",
  19027. "type": "integer"
  19028. },
  19029. "HV": {
  19030. "description": "持仓量",
  19031. "type": "integer"
  19032. },
  19033. "PE": {
  19034. "description": "现价",
  19035. "type": "number"
  19036. },
  19037. "TDR": {
  19038. "description": "交易方向,0:买 1:卖",
  19039. "type": "integer"
  19040. },
  19041. "TK": {
  19042. "description": "交易类型",
  19043. "type": "integer"
  19044. },
  19045. "TS": {
  19046. "description": "行情时间文本",
  19047. "type": "string"
  19048. },
  19049. "TT": {
  19050. "description": "现金额",
  19051. "type": "number"
  19052. },
  19053. "Vol": {
  19054. "description": "现量",
  19055. "type": "integer"
  19056. }
  19057. }
  19058. },
  19059. "quote.QueryQuoteDayRsp": {
  19060. "type": "object",
  19061. "properties": {
  19062. "ask": {
  19063. "description": "卖1",
  19064. "type": "number"
  19065. },
  19066. "ask10": {
  19067. "description": "卖10",
  19068. "type": "number"
  19069. },
  19070. "ask2": {
  19071. "description": "卖2",
  19072. "type": "number"
  19073. },
  19074. "ask3": {
  19075. "description": "卖3",
  19076. "type": "number"
  19077. },
  19078. "ask4": {
  19079. "description": "卖4",
  19080. "type": "number"
  19081. },
  19082. "ask5": {
  19083. "description": "卖5",
  19084. "type": "number"
  19085. },
  19086. "ask6": {
  19087. "description": "卖6",
  19088. "type": "number"
  19089. },
  19090. "ask7": {
  19091. "description": "卖7",
  19092. "type": "number"
  19093. },
  19094. "ask8": {
  19095. "description": "卖8",
  19096. "type": "number"
  19097. },
  19098. "ask9": {
  19099. "description": "卖9",
  19100. "type": "number"
  19101. },
  19102. "askorderid": {
  19103. "description": "卖单号1",
  19104. "type": "integer"
  19105. },
  19106. "askorderid2": {
  19107. "description": "卖单号2",
  19108. "type": "integer"
  19109. },
  19110. "askorderid3": {
  19111. "description": "卖单号3",
  19112. "type": "integer"
  19113. },
  19114. "askorderid4": {
  19115. "description": "卖单号4",
  19116. "type": "integer"
  19117. },
  19118. "askorderid5": {
  19119. "description": "卖单号5",
  19120. "type": "integer"
  19121. },
  19122. "askordervolume": {
  19123. "description": "卖单量1",
  19124. "type": "integer"
  19125. },
  19126. "askordervolume10": {
  19127. "description": "卖单量10",
  19128. "type": "integer"
  19129. },
  19130. "askordervolume2": {
  19131. "description": "卖单量2",
  19132. "type": "integer"
  19133. },
  19134. "askordervolume3": {
  19135. "description": "卖单量3",
  19136. "type": "integer"
  19137. },
  19138. "askordervolume4": {
  19139. "description": "卖单量4",
  19140. "type": "integer"
  19141. },
  19142. "askordervolume5": {
  19143. "description": "卖单量5",
  19144. "type": "integer"
  19145. },
  19146. "askordervolume6": {
  19147. "description": "卖单量6",
  19148. "type": "integer"
  19149. },
  19150. "askordervolume7": {
  19151. "description": "卖单量7",
  19152. "type": "integer"
  19153. },
  19154. "askordervolume8": {
  19155. "description": "卖单量8",
  19156. "type": "integer"
  19157. },
  19158. "askordervolume9": {
  19159. "description": "卖单量9",
  19160. "type": "integer"
  19161. },
  19162. "askqueueinfo": {
  19163. "description": "大利市卖港股用",
  19164. "type": "string"
  19165. },
  19166. "askvolume": {
  19167. "description": "卖量1",
  19168. "type": "integer"
  19169. },
  19170. "askvolume10": {
  19171. "description": "卖量10",
  19172. "type": "integer"
  19173. },
  19174. "askvolume2": {
  19175. "description": "卖量2",
  19176. "type": "integer"
  19177. },
  19178. "askvolume3": {
  19179. "description": "卖量3",
  19180. "type": "integer"
  19181. },
  19182. "askvolume4": {
  19183. "description": "卖量4",
  19184. "type": "integer"
  19185. },
  19186. "askvolume5": {
  19187. "description": "卖量5",
  19188. "type": "integer"
  19189. },
  19190. "askvolume6": {
  19191. "description": "卖量6",
  19192. "type": "integer"
  19193. },
  19194. "askvolume7": {
  19195. "description": "卖量7",
  19196. "type": "integer"
  19197. },
  19198. "askvolume8": {
  19199. "description": "卖量8",
  19200. "type": "integer"
  19201. },
  19202. "askvolume9": {
  19203. "description": "卖量9",
  19204. "type": "integer"
  19205. },
  19206. "averageprice": {
  19207. "description": "均价",
  19208. "type": "number"
  19209. },
  19210. "bid": {
  19211. "description": "买1",
  19212. "type": "number"
  19213. },
  19214. "bid10": {
  19215. "description": "买10",
  19216. "type": "number"
  19217. },
  19218. "bid2": {
  19219. "description": "买2",
  19220. "type": "number"
  19221. },
  19222. "bid3": {
  19223. "description": "买3",
  19224. "type": "number"
  19225. },
  19226. "bid4": {
  19227. "description": "买4",
  19228. "type": "number"
  19229. },
  19230. "bid5": {
  19231. "description": "买5",
  19232. "type": "number"
  19233. },
  19234. "bid6": {
  19235. "description": "买6",
  19236. "type": "number"
  19237. },
  19238. "bid7": {
  19239. "description": "买7",
  19240. "type": "number"
  19241. },
  19242. "bid8": {
  19243. "description": "买8",
  19244. "type": "number"
  19245. },
  19246. "bid9": {
  19247. "description": "买9",
  19248. "type": "number"
  19249. },
  19250. "bidorderid": {
  19251. "description": "买单号1",
  19252. "type": "integer"
  19253. },
  19254. "bidorderid2": {
  19255. "description": "买单号2",
  19256. "type": "integer"
  19257. },
  19258. "bidorderid3": {
  19259. "description": "买单号3",
  19260. "type": "integer"
  19261. },
  19262. "bidorderid4": {
  19263. "description": "买单号4",
  19264. "type": "integer"
  19265. },
  19266. "bidorderid5": {
  19267. "description": "买单号5",
  19268. "type": "integer"
  19269. },
  19270. "bidordervolume": {
  19271. "description": "买单量1",
  19272. "type": "integer"
  19273. },
  19274. "bidordervolume10": {
  19275. "description": "买单量10",
  19276. "type": "integer"
  19277. },
  19278. "bidordervolume2": {
  19279. "description": "买单量2",
  19280. "type": "integer"
  19281. },
  19282. "bidordervolume3": {
  19283. "description": "买单量3",
  19284. "type": "integer"
  19285. },
  19286. "bidordervolume4": {
  19287. "description": "买单量4",
  19288. "type": "integer"
  19289. },
  19290. "bidordervolume5": {
  19291. "description": "买单量5",
  19292. "type": "integer"
  19293. },
  19294. "bidordervolume6": {
  19295. "description": "买单量6",
  19296. "type": "integer"
  19297. },
  19298. "bidordervolume7": {
  19299. "description": "买单量7",
  19300. "type": "integer"
  19301. },
  19302. "bidordervolume8": {
  19303. "description": "买单量8",
  19304. "type": "integer"
  19305. },
  19306. "bidordervolume9": {
  19307. "description": "买单量9",
  19308. "type": "integer"
  19309. },
  19310. "bidqueueinfo": {
  19311. "description": "大利市买港股用",
  19312. "type": "string"
  19313. },
  19314. "bidvolume": {
  19315. "description": "买量1",
  19316. "type": "integer"
  19317. },
  19318. "bidvolume10": {
  19319. "description": "买量10",
  19320. "type": "integer"
  19321. },
  19322. "bidvolume2": {
  19323. "description": "买量2",
  19324. "type": "integer"
  19325. },
  19326. "bidvolume3": {
  19327. "description": "买量3",
  19328. "type": "integer"
  19329. },
  19330. "bidvolume4": {
  19331. "description": "买量4",
  19332. "type": "integer"
  19333. },
  19334. "bidvolume5": {
  19335. "description": "买量5",
  19336. "type": "integer"
  19337. },
  19338. "bidvolume6": {
  19339. "description": "买量6",
  19340. "type": "integer"
  19341. },
  19342. "bidvolume7": {
  19343. "description": "买量7",
  19344. "type": "integer"
  19345. },
  19346. "bidvolume8": {
  19347. "description": "买量8",
  19348. "type": "integer"
  19349. },
  19350. "bidvolume9": {
  19351. "description": "买量9",
  19352. "type": "integer"
  19353. },
  19354. "calloptionpremiums": {
  19355. "description": "认购期权1",
  19356. "type": "integer"
  19357. },
  19358. "calloptionpremiums2": {
  19359. "description": "认购期权2",
  19360. "type": "integer"
  19361. },
  19362. "calloptionpremiums3": {
  19363. "description": "认购期权3",
  19364. "type": "integer"
  19365. },
  19366. "calloptionpremiums4": {
  19367. "description": "认购期权4",
  19368. "type": "integer"
  19369. },
  19370. "calloptionpremiums5": {
  19371. "description": "认购期权5",
  19372. "type": "integer"
  19373. },
  19374. "cleartime": {
  19375. "description": "清盘时间",
  19376. "type": "integer"
  19377. },
  19378. "exchangecode": {
  19379. "description": "交易所代码",
  19380. "type": "integer"
  19381. },
  19382. "exchangedate": {
  19383. "description": "交易日",
  19384. "type": "integer"
  19385. },
  19386. "goodscode": {
  19387. "description": "商品代码",
  19388. "type": "string"
  19389. },
  19390. "grepmarketprice": {
  19391. "description": "暗盘价 港股专用",
  19392. "type": "number"
  19393. },
  19394. "highest": {
  19395. "description": "最高价",
  19396. "type": "number"
  19397. },
  19398. "holdincrement": {
  19399. "description": "单笔持仓",
  19400. "type": "integer"
  19401. },
  19402. "holdvolume": {
  19403. "description": "持仓",
  19404. "type": "integer"
  19405. },
  19406. "iep": {
  19407. "description": "平衡价 港股专用",
  19408. "type": "number"
  19409. },
  19410. "iev": {
  19411. "description": "平衡量 港股专用",
  19412. "type": "number"
  19413. },
  19414. "inventory": {
  19415. "description": "库存",
  19416. "type": "integer"
  19417. },
  19418. "iscleared": {
  19419. "description": "是否清盘标志",
  19420. "type": "integer"
  19421. },
  19422. "issettled": {
  19423. "description": "是否结算标志",
  19424. "type": "integer"
  19425. },
  19426. "last": {
  19427. "description": "最新价",
  19428. "type": "number"
  19429. },
  19430. "lastlot": {
  19431. "description": "最新成交手数",
  19432. "type": "integer"
  19433. },
  19434. "lasttime": {
  19435. "description": "行情时间(只有现价变化行情时间才变化)",
  19436. "type": "string"
  19437. },
  19438. "lastturnover": {
  19439. "description": "最新成交金额",
  19440. "type": "number"
  19441. },
  19442. "lastvolume": {
  19443. "description": "最新成交量",
  19444. "type": "integer"
  19445. },
  19446. "limitdown": {
  19447. "description": "跌停价",
  19448. "type": "number"
  19449. },
  19450. "limitup": {
  19451. "description": "涨停价",
  19452. "type": "number"
  19453. },
  19454. "lowest": {
  19455. "description": "最低价",
  19456. "type": "number"
  19457. },
  19458. "nontotalholdervolume": {
  19459. "description": "非交易持仓量",
  19460. "type": "integer"
  19461. },
  19462. "nontotallot": {
  19463. "description": "非交易总手数",
  19464. "type": "integer"
  19465. },
  19466. "nontotalturnover": {
  19467. "description": "非交易总金额",
  19468. "type": "integer"
  19469. },
  19470. "nontotalvolume": {
  19471. "description": "非交易总量",
  19472. "type": "integer"
  19473. },
  19474. "opened": {
  19475. "description": "开盘价",
  19476. "type": "number"
  19477. },
  19478. "opentime": {
  19479. "description": "开盘时间",
  19480. "type": "string"
  19481. },
  19482. "orderid": {
  19483. "description": "序号",
  19484. "type": "integer"
  19485. },
  19486. "preclose": {
  19487. "description": "昨收",
  19488. "type": "number"
  19489. },
  19490. "preholdvolume": {
  19491. "description": "昨持仓",
  19492. "type": "integer"
  19493. },
  19494. "presettle": {
  19495. "description": "昨结价",
  19496. "type": "number"
  19497. },
  19498. "publictradetype": {
  19499. "description": "公共交易标志类型 港股专用",
  19500. "type": "string"
  19501. },
  19502. "putoptionpremiums": {
  19503. "description": "认沽期权1",
  19504. "type": "integer"
  19505. },
  19506. "putoptionpremiums2": {
  19507. "description": "认沽期权2",
  19508. "type": "integer"
  19509. },
  19510. "putoptionpremiums3": {
  19511. "description": "认沽期权3",
  19512. "type": "integer"
  19513. },
  19514. "putoptionpremiums4": {
  19515. "description": "认沽期权4",
  19516. "type": "integer"
  19517. },
  19518. "putoptionpremiums5": {
  19519. "description": "认沽期权5",
  19520. "type": "integer"
  19521. },
  19522. "settle": {
  19523. "description": "结算价",
  19524. "type": "number"
  19525. },
  19526. "strikeprice": {
  19527. "description": "发行价",
  19528. "type": "number"
  19529. },
  19530. "totalaskvolume": {
  19531. "description": "内盘",
  19532. "type": "integer"
  19533. },
  19534. "totalbidvolume": {
  19535. "description": "外盘",
  19536. "type": "integer"
  19537. },
  19538. "totallot": {
  19539. "description": "总手数",
  19540. "type": "integer"
  19541. },
  19542. "totalturnover": {
  19543. "description": "总金额",
  19544. "type": "number"
  19545. },
  19546. "totalvolume": {
  19547. "description": "总量",
  19548. "type": "integer"
  19549. },
  19550. "utclasttime": {
  19551. "description": "utc的行情时间",
  19552. "type": "string"
  19553. }
  19554. }
  19555. },
  19556. "quote.QueryTSDataRsp": {
  19557. "type": "object",
  19558. "properties": {
  19559. "decimalPlace": {
  19560. "description": "小数位",
  19561. "type": "integer"
  19562. },
  19563. "endTime": {
  19564. "description": "结束时间",
  19565. "type": "string"
  19566. },
  19567. "goodsCode": {
  19568. "description": "商品代码",
  19569. "type": "string"
  19570. },
  19571. "historyDatas": {
  19572. "description": "历史数据",
  19573. "type": "array",
  19574. "items": {
  19575. "$ref": "#/definitions/quote.HistoryData"
  19576. }
  19577. },
  19578. "outGoodsCode": {
  19579. "description": "外部商品代码",
  19580. "type": "string"
  19581. },
  19582. "preSettle": {
  19583. "description": "昨结价",
  19584. "type": "number"
  19585. },
  19586. "removeCount": {
  19587. "description": "交易日中休市时周期点数",
  19588. "type": "integer"
  19589. },
  19590. "runSteps": {
  19591. "description": "交易日开休市计划",
  19592. "type": "array",
  19593. "items": {
  19594. "$ref": "#/definitions/quote.TSDataRunStep"
  19595. }
  19596. },
  19597. "startTime": {
  19598. "description": "开始时间",
  19599. "type": "string"
  19600. },
  19601. "tradeDate": {
  19602. "description": "交易日",
  19603. "type": "string"
  19604. }
  19605. }
  19606. },
  19607. "quote.TSDataRunStep": {
  19608. "type": "object",
  19609. "properties": {
  19610. "end": {
  19611. "description": "真实结束时间",
  19612. "type": "string"
  19613. },
  19614. "endflag": {
  19615. "description": "结束日标识 - (-1:上日 0:当日 1:次日 )",
  19616. "type": "integer"
  19617. },
  19618. "endtime": {
  19619. "description": "结束时间(HH:mm)",
  19620. "type": "string"
  19621. },
  19622. "endweekday": {
  19623. "description": "结束周几",
  19624. "type": "integer"
  19625. },
  19626. "groupid": {
  19627. "description": "分组ID",
  19628. "type": "integer"
  19629. },
  19630. "runstep": {
  19631. "description": "运行阶段 - 2:连续交易",
  19632. "type": "integer"
  19633. },
  19634. "sectionid": {
  19635. "description": "从 1 开始 往下编 [0为系统清盘、结算时间] SectionId = 0时,开始时间=清盘时间 开始周几= 清盘周几, 结束时间=结算时间 结束周几=结算周几",
  19636. "type": "integer"
  19637. },
  19638. "start": {
  19639. "description": "真实开始时间",
  19640. "type": "string"
  19641. },
  19642. "startflag": {
  19643. "description": "开始日标识 - (-1:上日 0:当日 1:次日 )",
  19644. "type": "integer"
  19645. },
  19646. "starttime": {
  19647. "description": "起始时间(HH:mm)",
  19648. "type": "string"
  19649. },
  19650. "startweekday": {
  19651. "description": "起始周几",
  19652. "type": "integer"
  19653. },
  19654. "tradeweekday": {
  19655. "description": "交易日归属 - 0:星期天、1:星期一、2:星期二、3:星期三、4:星期四、5:星期五、6:星期六",
  19656. "type": "integer"
  19657. }
  19658. }
  19659. },
  19660. "szdz.QueryConvertLogRsp": {
  19661. "type": "object",
  19662. "required": [
  19663. "logid"
  19664. ],
  19665. "properties": {
  19666. "accountid": {
  19667. "description": "资金账户ID",
  19668. "type": "integer"
  19669. },
  19670. "clientticket": {
  19671. "description": "客户端流水号",
  19672. "type": "string"
  19673. },
  19674. "converttype": {
  19675. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍",
  19676. "type": "integer"
  19677. },
  19678. "createtime": {
  19679. "description": "记账时间",
  19680. "type": "string"
  19681. },
  19682. "daymaxvalue": {
  19683. "description": "配置当日最大转入限制",
  19684. "type": "number"
  19685. },
  19686. "daymaxvalue2": {
  19687. "description": "配置当日最大转入限制(转入)",
  19688. "type": "number"
  19689. },
  19690. "goodscode": {
  19691. "description": "商品代码",
  19692. "type": "string"
  19693. },
  19694. "goodsname": {
  19695. "description": "商品名称",
  19696. "type": "string"
  19697. },
  19698. "handlestatus": {
  19699. "description": "处理状态",
  19700. "type": "integer"
  19701. },
  19702. "innergoodsid": {
  19703. "description": "内部商品ID",
  19704. "type": "integer"
  19705. },
  19706. "inratio": {
  19707. "description": "配置转入比值",
  19708. "type": "integer"
  19709. },
  19710. "invalue": {
  19711. "description": "目标值",
  19712. "type": "number"
  19713. },
  19714. "logid": {
  19715. "description": "LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  19716. "type": "integer"
  19717. },
  19718. "mobile": {
  19719. "description": "手机号码(加密存储)",
  19720. "type": "string"
  19721. },
  19722. "outergoodscode": {
  19723. "description": "外部商品代码[JD\\PD]",
  19724. "type": "string"
  19725. },
  19726. "outratio": {
  19727. "description": "配置转出比值",
  19728. "type": "integer"
  19729. },
  19730. "outvalue": {
  19731. "description": "源值",
  19732. "type": "number"
  19733. },
  19734. "pddecimalplace": {
  19735. "description": "PD小数位",
  19736. "type": "integer"
  19737. },
  19738. "qty": {
  19739. "description": "数量",
  19740. "type": "string"
  19741. },
  19742. "remark": {
  19743. "description": "备注",
  19744. "type": "string"
  19745. },
  19746. "sessionid": {
  19747. "description": "会话ID",
  19748. "type": "integer"
  19749. },
  19750. "timemaxvalue": {
  19751. "description": "配置单次最大转入限制",
  19752. "type": "number"
  19753. },
  19754. "timemaxvalue2": {
  19755. "description": "配置单次最大转入限制(转入)",
  19756. "type": "number"
  19757. },
  19758. "timeminvalue": {
  19759. "description": "配置单次最小数量限制",
  19760. "type": "number"
  19761. },
  19762. "timeminvalue2": {
  19763. "description": "配置单次最小数量限制(转入)",
  19764. "type": "number"
  19765. },
  19766. "tradedate": {
  19767. "description": "交易日(yyyyMMdd)",
  19768. "type": "string"
  19769. },
  19770. "userid": {
  19771. "description": "用户ID",
  19772. "type": "integer"
  19773. }
  19774. }
  19775. },
  19776. "szdz.QueryGoodsPickupRsp": {
  19777. "type": "object",
  19778. "required": [
  19779. "takeorderid"
  19780. ],
  19781. "properties": {
  19782. "accountid": {
  19783. "description": "账户ID",
  19784. "type": "integer"
  19785. },
  19786. "address": {
  19787. "description": "提货人详细地址",
  19788. "type": "string"
  19789. },
  19790. "auditer": {
  19791. "description": "审核人",
  19792. "type": "integer"
  19793. },
  19794. "audittime": {
  19795. "description": "审核时间",
  19796. "type": "string"
  19797. },
  19798. "cardnum": {
  19799. "description": "提货人证件号码",
  19800. "type": "string"
  19801. },
  19802. "cardtypeid": {
  19803. "description": "提货人证件类型",
  19804. "type": "integer"
  19805. },
  19806. "checkremark": {
  19807. "description": "审核备注",
  19808. "type": "string"
  19809. },
  19810. "goodscode": {
  19811. "description": "商品代码",
  19812. "type": "string"
  19813. },
  19814. "goodsid": {
  19815. "description": "商品ID",
  19816. "type": "integer"
  19817. },
  19818. "goodsname": {
  19819. "description": "商品名称",
  19820. "type": "string"
  19821. },
  19822. "handlestatus": {
  19823. "description": "处理状态",
  19824. "type": "integer"
  19825. },
  19826. "marketid": {
  19827. "description": "市场ID",
  19828. "type": "integer"
  19829. },
  19830. "phonenum": {
  19831. "description": "提货人联系方式",
  19832. "type": "string"
  19833. },
  19834. "qty": {
  19835. "description": "提货数量",
  19836. "type": "number"
  19837. },
  19838. "recivername": {
  19839. "description": "提货人姓名",
  19840. "type": "string"
  19841. },
  19842. "reqtime": {
  19843. "description": "更新时间",
  19844. "type": "string"
  19845. },
  19846. "takemode": {
  19847. "description": "提货方式 - 2:自提 3:配送",
  19848. "type": "integer"
  19849. },
  19850. "takeorderid": {
  19851. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  19852. "type": "string"
  19853. },
  19854. "takeorderstatus": {
  19855. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  19856. "type": "integer"
  19857. },
  19858. "takeremark": {
  19859. "description": "提货备注",
  19860. "type": "string"
  19861. },
  19862. "tradedate": {
  19863. "description": "交易日(yyyyMMdd)",
  19864. "type": "string"
  19865. },
  19866. "userid": {
  19867. "description": "用户ID",
  19868. "type": "integer"
  19869. }
  19870. }
  19871. },
  19872. "szdz.QueryRecieptOrderRsp": {
  19873. "type": "object",
  19874. "required": [
  19875. "ordertime"
  19876. ],
  19877. "properties": {
  19878. "accountName": {
  19879. "description": "所属账号名称(已脱敏)",
  19880. "type": "string"
  19881. },
  19882. "accountid": {
  19883. "description": "资金账号",
  19884. "type": "integer"
  19885. },
  19886. "buyorsell": {
  19887. "description": "方向 - 0:买 1:卖",
  19888. "type": "integer"
  19889. },
  19890. "enableqty": {
  19891. "description": "可摘数量",
  19892. "type": "integer"
  19893. },
  19894. "goodscode": {
  19895. "description": "商品代码",
  19896. "type": "string"
  19897. },
  19898. "goodsid": {
  19899. "description": "商品ID",
  19900. "type": "integer"
  19901. },
  19902. "goodsname": {
  19903. "description": "商品名称",
  19904. "type": "string"
  19905. },
  19906. "orderid": {
  19907. "description": "委托单号",
  19908. "type": "string"
  19909. },
  19910. "orderprice": {
  19911. "description": "委托价格",
  19912. "type": "number"
  19913. },
  19914. "ordertime": {
  19915. "description": "委托时间",
  19916. "type": "string"
  19917. },
  19918. "tradedate": {
  19919. "description": "交易日(yyyyMMdd)",
  19920. "type": "string"
  19921. }
  19922. }
  19923. },
  19924. "szdz.QuerySZDZTradePositionRsp": {
  19925. "type": "object",
  19926. "properties": {
  19927. "accountid": {
  19928. "description": "账号Id",
  19929. "type": "integer"
  19930. },
  19931. "agreeunit": {
  19932. "description": "合约单位",
  19933. "type": "number"
  19934. },
  19935. "averageprice": {
  19936. "description": "持仓均价",
  19937. "type": "number"
  19938. },
  19939. "buyorsell": {
  19940. "description": "方向 - 0:买 1:卖",
  19941. "type": "integer"
  19942. },
  19943. "closetotalqty": {
  19944. "description": "平仓总数量",
  19945. "type": "integer"
  19946. },
  19947. "curholderamount": {
  19948. "description": "当前持仓总金额",
  19949. "type": "number"
  19950. },
  19951. "curpositionqty": {
  19952. "description": "当前持仓总数量",
  19953. "type": "integer"
  19954. },
  19955. "currencyid": {
  19956. "description": "报价货币ID",
  19957. "type": "integer"
  19958. },
  19959. "curtdposition": {
  19960. "description": "期末今日头寸",
  19961. "type": "integer"
  19962. },
  19963. "decimalplace": {
  19964. "description": "报价小数位",
  19965. "type": "integer"
  19966. },
  19967. "enableqty": {
  19968. "description": "可用量",
  19969. "type": "integer"
  19970. },
  19971. "fretdposition": {
  19972. "description": "冻结今日头寸",
  19973. "type": "integer"
  19974. },
  19975. "frozenqty": {
  19976. "description": "持仓冻结数量",
  19977. "type": "integer"
  19978. },
  19979. "goodscode": {
  19980. "description": "商品代码(内部)",
  19981. "type": "string"
  19982. },
  19983. "goodsid": {
  19984. "description": "商品Id",
  19985. "type": "integer"
  19986. },
  19987. "goodsname": {
  19988. "description": "商品名称",
  19989. "type": "string"
  19990. },
  19991. "goodunit": {
  19992. "description": "报价单位",
  19993. "type": "string"
  19994. },
  19995. "goodunitid": {
  19996. "description": "报价单位ID",
  19997. "type": "integer"
  19998. },
  19999. "holderamount": {
  20000. "description": "期初持仓总金额",
  20001. "type": "number"
  20002. },
  20003. "marketid": {
  20004. "description": "市场ID",
  20005. "type": "integer"
  20006. },
  20007. "openreqqty": {
  20008. "description": "开仓申请数量",
  20009. "type": "integer"
  20010. },
  20011. "opentotalqty": {
  20012. "description": "开仓总数量",
  20013. "type": "integer"
  20014. },
  20015. "otherfrozenqty": {
  20016. "description": "持仓其他冻结数量(交割冻结)",
  20017. "type": "integer"
  20018. },
  20019. "positionqty": {
  20020. "description": "期初持仓数量",
  20021. "type": "integer"
  20022. },
  20023. "szdz3freezqty": {
  20024. "description": "尚志大宗转换冻结总数量",
  20025. "type": "integer"
  20026. },
  20027. "tnqty": {
  20028. "description": "T+N冻结总量",
  20029. "type": "integer"
  20030. },
  20031. "tnusedqty": {
  20032. "description": "T+N使用量",
  20033. "type": "integer"
  20034. },
  20035. "trademode": {
  20036. "description": "交易模式",
  20037. "type": "integer"
  20038. },
  20039. "usedmargin": {
  20040. "description": "占用保证金",
  20041. "type": "number"
  20042. }
  20043. }
  20044. },
  20045. "taaccount.QueryAmountLogRsp": {
  20046. "type": "object",
  20047. "required": [
  20048. "accountid",
  20049. "amount",
  20050. "amountadjusttype",
  20051. "autoid",
  20052. "balance",
  20053. "createtime",
  20054. "currentbalance",
  20055. "operatetype"
  20056. ],
  20057. "properties": {
  20058. "OPERATETYPENAME": {
  20059. "description": "资金操作类型名称",
  20060. "type": "string"
  20061. },
  20062. "accountid": {
  20063. "description": "资金账户ID",
  20064. "type": "integer"
  20065. },
  20066. "agoodscode": {
  20067. "description": "竞拍商品代码",
  20068. "type": "string"
  20069. },
  20070. "agoodsname": {
  20071. "description": "竞拍商品名称",
  20072. "type": "string"
  20073. },
  20074. "amount": {
  20075. "description": "资金金额",
  20076. "type": "number"
  20077. },
  20078. "amountadjusttype": {
  20079. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  20080. "type": "integer"
  20081. },
  20082. "autoid": {
  20083. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  20084. "type": "integer"
  20085. },
  20086. "balance": {
  20087. "description": "期初余额",
  20088. "type": "number"
  20089. },
  20090. "businesscode": {
  20091. "description": "业务编号",
  20092. "type": "integer"
  20093. },
  20094. "createtime": {
  20095. "description": "发生时间",
  20096. "type": "string"
  20097. },
  20098. "currencyid": {
  20099. "description": "币种ID",
  20100. "type": "integer"
  20101. },
  20102. "currentbalance": {
  20103. "description": "期末余额(变动后金额)",
  20104. "type": "number"
  20105. },
  20106. "dgoodscode": {
  20107. "description": "交割商品代码",
  20108. "type": "string"
  20109. },
  20110. "dgoodsname": {
  20111. "description": "交割商品名称",
  20112. "type": "string"
  20113. },
  20114. "goodscode": {
  20115. "description": "商品代码",
  20116. "type": "string"
  20117. },
  20118. "goodsid": {
  20119. "description": "商品ID",
  20120. "type": "integer"
  20121. },
  20122. "goodsname": {
  20123. "description": "商品名称",
  20124. "type": "string"
  20125. },
  20126. "marketid": {
  20127. "description": "市场ID",
  20128. "type": "integer"
  20129. },
  20130. "marketname": {
  20131. "description": "市场名称",
  20132. "type": "string"
  20133. },
  20134. "moneyticket": {
  20135. "description": "资金流水号:银行端流水号",
  20136. "type": "integer"
  20137. },
  20138. "operatetype": {
  20139. "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:营销收款",
  20140. "type": "integer"
  20141. },
  20142. "relationorderid": {
  20143. "description": "关联单号",
  20144. "type": "string"
  20145. },
  20146. "remark": {
  20147. "description": "备注",
  20148. "type": "string"
  20149. },
  20150. "trademode": {
  20151. "description": "交易模式",
  20152. "type": "integer"
  20153. }
  20154. }
  20155. },
  20156. "taaccount.QueryHisAmountLogRsp": {
  20157. "type": "object",
  20158. "required": [
  20159. "accountid",
  20160. "amount",
  20161. "amountadjusttype",
  20162. "autoid",
  20163. "balance",
  20164. "createtime",
  20165. "currentbalance",
  20166. "histradedate",
  20167. "operatetype"
  20168. ],
  20169. "properties": {
  20170. "OPERATETYPENAME": {
  20171. "description": "资金操作类型名称",
  20172. "type": "string"
  20173. },
  20174. "accountid": {
  20175. "description": "资金账户ID",
  20176. "type": "integer"
  20177. },
  20178. "agoodscode": {
  20179. "description": "竞拍商品代码",
  20180. "type": "string"
  20181. },
  20182. "agoodsname": {
  20183. "description": "竞拍商品名称",
  20184. "type": "string"
  20185. },
  20186. "amount": {
  20187. "description": "资金金额",
  20188. "type": "number"
  20189. },
  20190. "amountadjusttype": {
  20191. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  20192. "type": "integer"
  20193. },
  20194. "autoid": {
  20195. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  20196. "type": "integer"
  20197. },
  20198. "balance": {
  20199. "description": "期初余额",
  20200. "type": "number"
  20201. },
  20202. "businesscode": {
  20203. "description": "业务编号",
  20204. "type": "integer"
  20205. },
  20206. "createtime": {
  20207. "description": "发生时间",
  20208. "type": "string"
  20209. },
  20210. "currencyid": {
  20211. "description": "币种ID",
  20212. "type": "integer"
  20213. },
  20214. "currentbalance": {
  20215. "description": "期末余额(变动后金额)",
  20216. "type": "number"
  20217. },
  20218. "dgoodscode": {
  20219. "description": "交割商品代码",
  20220. "type": "string"
  20221. },
  20222. "dgoodsname": {
  20223. "description": "交割商品名称",
  20224. "type": "string"
  20225. },
  20226. "goodscode": {
  20227. "description": "商品代码",
  20228. "type": "string"
  20229. },
  20230. "goodsid": {
  20231. "description": "商品ID",
  20232. "type": "integer"
  20233. },
  20234. "goodsname": {
  20235. "description": "商品名称",
  20236. "type": "string"
  20237. },
  20238. "histradedate": {
  20239. "description": "历史交易日",
  20240. "type": "string"
  20241. },
  20242. "isvaliddata": {
  20243. "description": "是否有效 - 0:无效 1:有效",
  20244. "type": "integer"
  20245. },
  20246. "marketid": {
  20247. "description": "市场ID",
  20248. "type": "integer"
  20249. },
  20250. "marketname": {
  20251. "description": "市场名称",
  20252. "type": "string"
  20253. },
  20254. "moneyticket": {
  20255. "description": "资金流水号:银行端流水号",
  20256. "type": "integer"
  20257. },
  20258. "operatetype": {
  20259. "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:营销收款",
  20260. "type": "integer"
  20261. },
  20262. "relationorderid": {
  20263. "description": "关联单号",
  20264. "type": "string"
  20265. },
  20266. "remark": {
  20267. "description": "备注",
  20268. "type": "string"
  20269. },
  20270. "trademode": {
  20271. "description": "交易模式",
  20272. "type": "integer"
  20273. }
  20274. }
  20275. },
  20276. "trade.QueryRecieptOrderRsp": {
  20277. "type": "object",
  20278. "required": [
  20279. "ordertime"
  20280. ],
  20281. "properties": {
  20282. "accountName": {
  20283. "description": "所属账号名称(已脱敏)",
  20284. "type": "string"
  20285. },
  20286. "accountid": {
  20287. "description": "资金账号",
  20288. "type": "integer"
  20289. },
  20290. "buyorsell": {
  20291. "description": "方向 - 0:买 1:卖",
  20292. "type": "integer"
  20293. },
  20294. "enableqty": {
  20295. "description": "可摘数量",
  20296. "type": "integer"
  20297. },
  20298. "goodscode": {
  20299. "description": "商品代码",
  20300. "type": "string"
  20301. },
  20302. "goodsid": {
  20303. "description": "商品ID",
  20304. "type": "integer"
  20305. },
  20306. "goodsname": {
  20307. "description": "商品名称",
  20308. "type": "string"
  20309. },
  20310. "orderid": {
  20311. "description": "委托单号",
  20312. "type": "string"
  20313. },
  20314. "orderprice": {
  20315. "description": "委托价格",
  20316. "type": "number"
  20317. },
  20318. "ordertime": {
  20319. "description": "委托时间",
  20320. "type": "string"
  20321. },
  20322. "tradedate": {
  20323. "description": "交易日(yyyyMMdd)",
  20324. "type": "string"
  20325. }
  20326. }
  20327. },
  20328. "user.LoginQueryRsp": {
  20329. "type": "object",
  20330. "properties": {
  20331. "externalExchanges": {
  20332. "description": "外部交易所",
  20333. "type": "array",
  20334. "items": {
  20335. "$ref": "#/definitions/models.Externalexchange"
  20336. }
  20337. },
  20338. "goodsgroups": {
  20339. "description": "商品组",
  20340. "type": "array",
  20341. "items": {
  20342. "$ref": "#/definitions/models.Goodsgroup"
  20343. }
  20344. },
  20345. "loginAccount": {
  20346. "description": "登录账号",
  20347. "$ref": "#/definitions/models.Loginaccount"
  20348. },
  20349. "markets": {
  20350. "description": "市场",
  20351. "type": "array",
  20352. "items": {
  20353. "$ref": "#/definitions/models.Market"
  20354. }
  20355. },
  20356. "systemParams": {
  20357. "description": "系统参数",
  20358. "type": "array",
  20359. "items": {
  20360. "$ref": "#/definitions/models.Systemparam"
  20361. }
  20362. },
  20363. "userAccount": {
  20364. "description": "用户账号",
  20365. "$ref": "#/definitions/models.Useraccount"
  20366. },
  20367. "userInfo": {
  20368. "description": "用户信息",
  20369. "$ref": "#/definitions/models.Userinfo"
  20370. },
  20371. "username": {
  20372. "description": "用户姓名",
  20373. "type": "string"
  20374. }
  20375. }
  20376. }
  20377. },
  20378. "securityDefinitions": {
  20379. "ApiKeyAuth": {
  20380. "type": "apiKey",
  20381. "name": "Authorization",
  20382. "in": "header"
  20383. }
  20384. }
  20385. }`
  20386. type swaggerInfo struct {
  20387. Version string
  20388. Host string
  20389. BasePath string
  20390. Schemes []string
  20391. Title string
  20392. Description string
  20393. }
  20394. // SwaggerInfo holds exported Swagger Info so clients can modify it
  20395. var SwaggerInfo = swaggerInfo{
  20396. Version: "1.0",
  20397. Host: "",
  20398. BasePath: "/api",
  20399. Schemes: []string{},
  20400. Title: "MTP2.0 查询服务 API",
  20401. Description: "新的查询服务,替代原通用查询服务。游客Token:c886a057f3d820d4dbc41473686c7c2d",
  20402. }
  20403. type s struct{}
  20404. func (s *s) ReadDoc() string {
  20405. sInfo := SwaggerInfo
  20406. sInfo.Description = strings.Replace(sInfo.Description, "\n", "\\n", -1)
  20407. t, err := template.New("swagger_info").Funcs(template.FuncMap{
  20408. "marshal": func(v interface{}) string {
  20409. a, _ := json.Marshal(v)
  20410. return string(a)
  20411. },
  20412. }).Parse(doc)
  20413. if err != nil {
  20414. return doc
  20415. }
  20416. var tpl bytes.Buffer
  20417. if err := t.Execute(&tpl, sInfo); err != nil {
  20418. return doc
  20419. }
  20420. return tpl.String()
  20421. }
  20422. func init() {
  20423. swag.Register(swag.Name, &s{})
  20424. }