docs.go 1.1 MB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402640364046405640664076408640964106411641264136414641564166417641864196420642164226423642464256426642764286429643064316432643364346435643664376438643964406441644264436444644564466447644864496450645164526453645464556456645764586459646064616462646364646465646664676468646964706471647264736474647564766477647864796480648164826483648464856486648764886489649064916492649364946495649664976498649965006501650265036504650565066507650865096510651165126513651465156516651765186519652065216522652365246525652665276528652965306531653265336534653565366537653865396540654165426543654465456546654765486549655065516552655365546555655665576558655965606561656265636564656565666567656865696570657165726573657465756576657765786579658065816582658365846585658665876588658965906591659265936594659565966597659865996600660166026603660466056606660766086609661066116612661366146615661666176618661966206621662266236624662566266627662866296630663166326633663466356636663766386639664066416642664366446645664666476648664966506651665266536654665566566657665866596660666166626663666466656666666766686669667066716672667366746675667666776678667966806681668266836684668566866687668866896690669166926693669466956696669766986699670067016702670367046705670667076708670967106711671267136714671567166717671867196720672167226723672467256726672767286729673067316732673367346735673667376738673967406741674267436744674567466747674867496750675167526753675467556756675767586759676067616762676367646765676667676768676967706771677267736774677567766777677867796780678167826783678467856786678767886789679067916792679367946795679667976798679968006801680268036804680568066807680868096810681168126813681468156816681768186819682068216822682368246825682668276828682968306831683268336834683568366837683868396840684168426843684468456846684768486849685068516852685368546855685668576858685968606861686268636864686568666867686868696870687168726873687468756876687768786879688068816882688368846885688668876888688968906891689268936894689568966897689868996900690169026903690469056906690769086909691069116912691369146915691669176918691969206921692269236924692569266927692869296930693169326933693469356936693769386939694069416942694369446945694669476948694969506951695269536954695569566957695869596960696169626963696469656966696769686969697069716972697369746975697669776978697969806981698269836984698569866987698869896990699169926993699469956996699769986999700070017002700370047005700670077008700970107011701270137014701570167017701870197020702170227023702470257026702770287029703070317032703370347035703670377038703970407041704270437044704570467047704870497050705170527053705470557056705770587059706070617062706370647065706670677068706970707071707270737074707570767077707870797080708170827083708470857086708770887089709070917092709370947095709670977098709971007101710271037104710571067107710871097110711171127113711471157116711771187119712071217122712371247125712671277128712971307131713271337134713571367137713871397140714171427143714471457146714771487149715071517152715371547155715671577158715971607161716271637164716571667167716871697170717171727173717471757176717771787179718071817182718371847185718671877188718971907191719271937194719571967197719871997200720172027203720472057206720772087209721072117212721372147215721672177218721972207221722272237224722572267227722872297230723172327233723472357236723772387239724072417242724372447245724672477248724972507251725272537254725572567257725872597260726172627263726472657266726772687269727072717272727372747275727672777278727972807281728272837284728572867287728872897290729172927293729472957296729772987299730073017302730373047305730673077308730973107311731273137314731573167317731873197320732173227323732473257326732773287329733073317332733373347335733673377338733973407341734273437344734573467347734873497350735173527353735473557356735773587359736073617362736373647365736673677368736973707371737273737374737573767377737873797380738173827383738473857386738773887389739073917392739373947395739673977398739974007401740274037404740574067407740874097410741174127413741474157416741774187419742074217422742374247425742674277428742974307431743274337434743574367437743874397440744174427443744474457446744774487449745074517452745374547455745674577458745974607461746274637464746574667467746874697470747174727473747474757476747774787479748074817482748374847485748674877488748974907491749274937494749574967497749874997500750175027503750475057506750775087509751075117512751375147515751675177518751975207521752275237524752575267527752875297530753175327533753475357536753775387539754075417542754375447545754675477548754975507551755275537554755575567557755875597560756175627563756475657566756775687569757075717572757375747575757675777578757975807581758275837584758575867587758875897590759175927593759475957596759775987599760076017602760376047605760676077608760976107611761276137614761576167617761876197620762176227623762476257626762776287629763076317632763376347635763676377638763976407641764276437644764576467647764876497650765176527653765476557656765776587659766076617662766376647665766676677668766976707671767276737674767576767677767876797680768176827683768476857686768776887689769076917692769376947695769676977698769977007701770277037704770577067707770877097710771177127713771477157716771777187719772077217722772377247725772677277728772977307731773277337734773577367737773877397740774177427743774477457746774777487749775077517752775377547755775677577758775977607761776277637764776577667767776877697770777177727773777477757776777777787779778077817782778377847785778677877788778977907791779277937794779577967797779877997800780178027803780478057806780778087809781078117812781378147815781678177818781978207821782278237824782578267827782878297830783178327833783478357836783778387839784078417842784378447845784678477848784978507851785278537854785578567857785878597860786178627863786478657866786778687869787078717872787378747875787678777878787978807881788278837884788578867887788878897890789178927893789478957896789778987899790079017902790379047905790679077908790979107911791279137914791579167917791879197920792179227923792479257926792779287929793079317932793379347935793679377938793979407941794279437944794579467947794879497950795179527953795479557956795779587959796079617962796379647965796679677968796979707971797279737974797579767977797879797980798179827983798479857986798779887989799079917992799379947995799679977998799980008001800280038004800580068007800880098010801180128013801480158016801780188019802080218022802380248025802680278028802980308031803280338034803580368037803880398040804180428043804480458046804780488049805080518052805380548055805680578058805980608061806280638064806580668067806880698070807180728073807480758076807780788079808080818082808380848085808680878088808980908091809280938094809580968097809880998100810181028103810481058106810781088109811081118112811381148115811681178118811981208121812281238124812581268127812881298130813181328133813481358136813781388139814081418142814381448145814681478148814981508151815281538154815581568157815881598160816181628163816481658166816781688169817081718172817381748175817681778178817981808181818281838184818581868187818881898190819181928193819481958196819781988199820082018202820382048205820682078208820982108211821282138214821582168217821882198220822182228223822482258226822782288229823082318232823382348235823682378238823982408241824282438244824582468247824882498250825182528253825482558256825782588259826082618262826382648265826682678268826982708271827282738274827582768277827882798280828182828283828482858286828782888289829082918292829382948295829682978298829983008301830283038304830583068307830883098310831183128313831483158316831783188319832083218322832383248325832683278328832983308331833283338334833583368337833883398340834183428343834483458346834783488349835083518352835383548355835683578358835983608361836283638364836583668367836883698370837183728373837483758376837783788379838083818382838383848385838683878388838983908391839283938394839583968397839883998400840184028403840484058406840784088409841084118412841384148415841684178418841984208421842284238424842584268427842884298430843184328433843484358436843784388439844084418442844384448445844684478448844984508451845284538454845584568457845884598460846184628463846484658466846784688469847084718472847384748475847684778478847984808481848284838484848584868487848884898490849184928493849484958496849784988499850085018502850385048505850685078508850985108511851285138514851585168517851885198520852185228523852485258526852785288529853085318532853385348535853685378538853985408541854285438544854585468547854885498550855185528553855485558556855785588559856085618562856385648565856685678568856985708571857285738574857585768577857885798580858185828583858485858586858785888589859085918592859385948595859685978598859986008601860286038604860586068607860886098610861186128613861486158616861786188619862086218622862386248625862686278628862986308631863286338634863586368637863886398640864186428643864486458646864786488649865086518652865386548655865686578658865986608661866286638664866586668667866886698670867186728673867486758676867786788679868086818682868386848685868686878688868986908691869286938694869586968697869886998700870187028703870487058706870787088709871087118712871387148715871687178718871987208721872287238724872587268727872887298730873187328733873487358736873787388739874087418742874387448745874687478748874987508751875287538754875587568757875887598760876187628763876487658766876787688769877087718772877387748775877687778778877987808781878287838784878587868787878887898790879187928793879487958796879787988799880088018802880388048805880688078808880988108811881288138814881588168817881888198820882188228823882488258826882788288829883088318832883388348835883688378838883988408841884288438844884588468847884888498850885188528853885488558856885788588859886088618862886388648865886688678868886988708871887288738874887588768877887888798880888188828883888488858886888788888889889088918892889388948895889688978898889989008901890289038904890589068907890889098910891189128913891489158916891789188919892089218922892389248925892689278928892989308931893289338934893589368937893889398940894189428943894489458946894789488949895089518952895389548955895689578958895989608961896289638964896589668967896889698970897189728973897489758976897789788979898089818982898389848985898689878988898989908991899289938994899589968997899889999000900190029003900490059006900790089009901090119012901390149015901690179018901990209021902290239024902590269027902890299030903190329033903490359036903790389039904090419042904390449045904690479048904990509051905290539054905590569057905890599060906190629063906490659066906790689069907090719072907390749075907690779078907990809081908290839084908590869087908890899090909190929093909490959096909790989099910091019102910391049105910691079108910991109111911291139114911591169117911891199120912191229123912491259126912791289129913091319132913391349135913691379138913991409141914291439144914591469147914891499150915191529153915491559156915791589159916091619162916391649165916691679168916991709171917291739174917591769177917891799180918191829183918491859186918791889189919091919192919391949195919691979198919992009201920292039204920592069207920892099210921192129213921492159216921792189219922092219222922392249225922692279228922992309231923292339234923592369237923892399240924192429243924492459246924792489249925092519252925392549255925692579258925992609261926292639264926592669267926892699270927192729273927492759276927792789279928092819282928392849285928692879288928992909291929292939294929592969297929892999300930193029303930493059306930793089309931093119312931393149315931693179318931993209321932293239324932593269327932893299330933193329333933493359336933793389339934093419342934393449345934693479348934993509351935293539354935593569357935893599360936193629363936493659366936793689369937093719372937393749375937693779378937993809381938293839384938593869387938893899390939193929393939493959396939793989399940094019402940394049405940694079408940994109411941294139414941594169417941894199420942194229423942494259426942794289429943094319432943394349435943694379438943994409441944294439444944594469447944894499450945194529453945494559456945794589459946094619462946394649465946694679468946994709471947294739474947594769477947894799480948194829483948494859486948794889489949094919492949394949495949694979498949995009501950295039504950595069507950895099510951195129513951495159516951795189519952095219522952395249525952695279528952995309531953295339534953595369537953895399540954195429543954495459546954795489549955095519552955395549555955695579558955995609561956295639564956595669567956895699570957195729573957495759576957795789579958095819582958395849585958695879588958995909591959295939594959595969597959895999600960196029603960496059606960796089609961096119612961396149615961696179618961996209621962296239624962596269627962896299630963196329633963496359636963796389639964096419642964396449645964696479648964996509651965296539654965596569657965896599660966196629663966496659666966796689669967096719672967396749675967696779678967996809681968296839684968596869687968896899690969196929693969496959696969796989699970097019702970397049705970697079708970997109711971297139714971597169717971897199720972197229723972497259726972797289729973097319732973397349735973697379738973997409741974297439744974597469747974897499750975197529753975497559756975797589759976097619762976397649765976697679768976997709771977297739774977597769777977897799780978197829783978497859786978797889789979097919792979397949795979697979798979998009801980298039804980598069807980898099810981198129813981498159816981798189819982098219822982398249825982698279828982998309831983298339834983598369837983898399840984198429843984498459846984798489849985098519852985398549855985698579858985998609861986298639864986598669867986898699870987198729873987498759876987798789879988098819882988398849885988698879888988998909891989298939894989598969897989898999900990199029903990499059906990799089909991099119912991399149915991699179918991999209921992299239924992599269927992899299930993199329933993499359936993799389939994099419942994399449945994699479948994999509951995299539954995599569957995899599960996199629963996499659966996799689969997099719972997399749975997699779978997999809981998299839984998599869987998899899990999199929993999499959996999799989999100001000110002100031000410005100061000710008100091001010011100121001310014100151001610017100181001910020100211002210023100241002510026100271002810029100301003110032100331003410035100361003710038100391004010041100421004310044100451004610047100481004910050100511005210053100541005510056100571005810059100601006110062100631006410065100661006710068100691007010071100721007310074100751007610077100781007910080100811008210083100841008510086100871008810089100901009110092100931009410095100961009710098100991010010101101021010310104101051010610107101081010910110101111011210113101141011510116101171011810119101201012110122101231012410125101261012710128101291013010131101321013310134101351013610137101381013910140101411014210143101441014510146101471014810149101501015110152101531015410155101561015710158101591016010161101621016310164101651016610167101681016910170101711017210173101741017510176101771017810179101801018110182101831018410185101861018710188101891019010191101921019310194101951019610197101981019910200102011020210203102041020510206102071020810209102101021110212102131021410215102161021710218102191022010221102221022310224102251022610227102281022910230102311023210233102341023510236102371023810239102401024110242102431024410245102461024710248102491025010251102521025310254102551025610257102581025910260102611026210263102641026510266102671026810269102701027110272102731027410275102761027710278102791028010281102821028310284102851028610287102881028910290102911029210293102941029510296102971029810299103001030110302103031030410305103061030710308103091031010311103121031310314103151031610317103181031910320103211032210323103241032510326103271032810329103301033110332103331033410335103361033710338103391034010341103421034310344103451034610347103481034910350103511035210353103541035510356103571035810359103601036110362103631036410365103661036710368103691037010371103721037310374103751037610377103781037910380103811038210383103841038510386103871038810389103901039110392103931039410395103961039710398103991040010401104021040310404104051040610407104081040910410104111041210413104141041510416104171041810419104201042110422104231042410425104261042710428104291043010431104321043310434104351043610437104381043910440104411044210443104441044510446104471044810449104501045110452104531045410455104561045710458104591046010461104621046310464104651046610467104681046910470104711047210473104741047510476104771047810479104801048110482104831048410485104861048710488104891049010491104921049310494104951049610497104981049910500105011050210503105041050510506105071050810509105101051110512105131051410515105161051710518105191052010521105221052310524105251052610527105281052910530105311053210533105341053510536105371053810539105401054110542105431054410545105461054710548105491055010551105521055310554105551055610557105581055910560105611056210563105641056510566105671056810569105701057110572105731057410575105761057710578105791058010581105821058310584105851058610587105881058910590105911059210593105941059510596105971059810599106001060110602106031060410605106061060710608106091061010611106121061310614106151061610617106181061910620106211062210623106241062510626106271062810629106301063110632106331063410635106361063710638106391064010641106421064310644106451064610647106481064910650106511065210653106541065510656106571065810659106601066110662106631066410665106661066710668106691067010671106721067310674106751067610677106781067910680106811068210683106841068510686106871068810689106901069110692106931069410695106961069710698106991070010701107021070310704107051070610707107081070910710107111071210713107141071510716107171071810719107201072110722107231072410725107261072710728107291073010731107321073310734107351073610737107381073910740107411074210743107441074510746107471074810749107501075110752107531075410755107561075710758107591076010761107621076310764107651076610767107681076910770107711077210773107741077510776107771077810779107801078110782107831078410785107861078710788107891079010791107921079310794107951079610797107981079910800108011080210803108041080510806108071080810809108101081110812108131081410815108161081710818108191082010821108221082310824108251082610827108281082910830108311083210833108341083510836108371083810839108401084110842108431084410845108461084710848108491085010851108521085310854108551085610857108581085910860108611086210863108641086510866108671086810869108701087110872108731087410875108761087710878108791088010881108821088310884108851088610887108881088910890108911089210893108941089510896108971089810899109001090110902109031090410905109061090710908109091091010911109121091310914109151091610917109181091910920109211092210923109241092510926109271092810929109301093110932109331093410935109361093710938109391094010941109421094310944109451094610947109481094910950109511095210953109541095510956109571095810959109601096110962109631096410965109661096710968109691097010971109721097310974109751097610977109781097910980109811098210983109841098510986109871098810989109901099110992109931099410995109961099710998109991100011001110021100311004110051100611007110081100911010110111101211013110141101511016110171101811019110201102111022110231102411025110261102711028110291103011031110321103311034110351103611037110381103911040110411104211043110441104511046110471104811049110501105111052110531105411055110561105711058110591106011061110621106311064110651106611067110681106911070110711107211073110741107511076110771107811079110801108111082110831108411085110861108711088110891109011091110921109311094110951109611097110981109911100111011110211103111041110511106111071110811109111101111111112111131111411115111161111711118111191112011121111221112311124111251112611127111281112911130111311113211133111341113511136111371113811139111401114111142111431114411145111461114711148111491115011151111521115311154111551115611157111581115911160111611116211163111641116511166111671116811169111701117111172111731117411175111761117711178111791118011181111821118311184111851118611187111881118911190111911119211193111941119511196111971119811199112001120111202112031120411205112061120711208112091121011211112121121311214112151121611217112181121911220112211122211223112241122511226112271122811229112301123111232112331123411235112361123711238112391124011241112421124311244112451124611247112481124911250112511125211253112541125511256112571125811259112601126111262112631126411265112661126711268112691127011271112721127311274112751127611277112781127911280112811128211283112841128511286112871128811289112901129111292112931129411295112961129711298112991130011301113021130311304113051130611307113081130911310113111131211313113141131511316113171131811319113201132111322113231132411325113261132711328113291133011331113321133311334113351133611337113381133911340113411134211343113441134511346113471134811349113501135111352113531135411355113561135711358113591136011361113621136311364113651136611367113681136911370113711137211373113741137511376113771137811379113801138111382113831138411385113861138711388113891139011391113921139311394113951139611397113981139911400114011140211403114041140511406114071140811409114101141111412114131141411415114161141711418114191142011421114221142311424114251142611427114281142911430114311143211433114341143511436114371143811439114401144111442114431144411445114461144711448114491145011451114521145311454114551145611457114581145911460114611146211463114641146511466114671146811469114701147111472114731147411475114761147711478114791148011481114821148311484114851148611487114881148911490114911149211493114941149511496114971149811499115001150111502115031150411505115061150711508115091151011511115121151311514115151151611517115181151911520115211152211523115241152511526115271152811529115301153111532115331153411535115361153711538115391154011541115421154311544115451154611547115481154911550115511155211553115541155511556115571155811559115601156111562115631156411565115661156711568115691157011571115721157311574115751157611577115781157911580115811158211583115841158511586115871158811589115901159111592115931159411595115961159711598115991160011601116021160311604116051160611607116081160911610116111161211613116141161511616116171161811619116201162111622116231162411625116261162711628116291163011631116321163311634116351163611637116381163911640116411164211643116441164511646116471164811649116501165111652116531165411655116561165711658116591166011661116621166311664116651166611667116681166911670116711167211673116741167511676116771167811679116801168111682116831168411685116861168711688116891169011691116921169311694116951169611697116981169911700117011170211703117041170511706117071170811709117101171111712117131171411715117161171711718117191172011721117221172311724117251172611727117281172911730117311173211733117341173511736117371173811739117401174111742117431174411745117461174711748117491175011751117521175311754117551175611757117581175911760117611176211763117641176511766117671176811769117701177111772117731177411775117761177711778117791178011781117821178311784117851178611787117881178911790117911179211793117941179511796117971179811799118001180111802118031180411805118061180711808118091181011811118121181311814118151181611817118181181911820118211182211823118241182511826118271182811829118301183111832118331183411835118361183711838118391184011841118421184311844118451184611847118481184911850118511185211853118541185511856118571185811859118601186111862118631186411865118661186711868118691187011871118721187311874118751187611877118781187911880118811188211883118841188511886118871188811889118901189111892118931189411895118961189711898118991190011901119021190311904119051190611907119081190911910119111191211913119141191511916119171191811919119201192111922119231192411925119261192711928119291193011931119321193311934119351193611937119381193911940119411194211943119441194511946119471194811949119501195111952119531195411955119561195711958119591196011961119621196311964119651196611967119681196911970119711197211973119741197511976119771197811979119801198111982119831198411985119861198711988119891199011991119921199311994119951199611997119981199912000120011200212003120041200512006120071200812009120101201112012120131201412015120161201712018120191202012021120221202312024120251202612027120281202912030120311203212033120341203512036120371203812039120401204112042120431204412045120461204712048120491205012051120521205312054120551205612057120581205912060120611206212063120641206512066120671206812069120701207112072120731207412075120761207712078120791208012081120821208312084120851208612087120881208912090120911209212093120941209512096120971209812099121001210112102121031210412105121061210712108121091211012111121121211312114121151211612117121181211912120121211212212123121241212512126121271212812129121301213112132121331213412135121361213712138121391214012141121421214312144121451214612147121481214912150121511215212153121541215512156121571215812159121601216112162121631216412165121661216712168121691217012171121721217312174121751217612177121781217912180121811218212183121841218512186121871218812189121901219112192121931219412195121961219712198121991220012201122021220312204122051220612207122081220912210122111221212213122141221512216122171221812219122201222112222122231222412225122261222712228122291223012231122321223312234122351223612237122381223912240122411224212243122441224512246122471224812249122501225112252122531225412255122561225712258122591226012261122621226312264122651226612267122681226912270122711227212273122741227512276122771227812279122801228112282122831228412285122861228712288122891229012291122921229312294122951229612297122981229912300123011230212303123041230512306123071230812309123101231112312123131231412315123161231712318123191232012321123221232312324123251232612327123281232912330123311233212333123341233512336123371233812339123401234112342123431234412345123461234712348123491235012351123521235312354123551235612357123581235912360123611236212363123641236512366123671236812369123701237112372123731237412375123761237712378123791238012381123821238312384123851238612387123881238912390123911239212393123941239512396123971239812399124001240112402124031240412405124061240712408124091241012411124121241312414124151241612417124181241912420124211242212423124241242512426124271242812429124301243112432124331243412435124361243712438124391244012441124421244312444124451244612447124481244912450124511245212453124541245512456124571245812459124601246112462124631246412465124661246712468124691247012471124721247312474124751247612477124781247912480124811248212483124841248512486124871248812489124901249112492124931249412495124961249712498124991250012501125021250312504125051250612507125081250912510125111251212513125141251512516125171251812519125201252112522125231252412525125261252712528125291253012531125321253312534125351253612537125381253912540125411254212543125441254512546125471254812549125501255112552125531255412555125561255712558125591256012561125621256312564125651256612567125681256912570125711257212573125741257512576125771257812579125801258112582125831258412585125861258712588125891259012591125921259312594125951259612597125981259912600126011260212603126041260512606126071260812609126101261112612126131261412615126161261712618126191262012621126221262312624126251262612627126281262912630126311263212633126341263512636126371263812639126401264112642126431264412645126461264712648126491265012651126521265312654126551265612657126581265912660126611266212663126641266512666126671266812669126701267112672126731267412675126761267712678126791268012681126821268312684126851268612687126881268912690126911269212693126941269512696126971269812699127001270112702127031270412705127061270712708127091271012711127121271312714127151271612717127181271912720127211272212723127241272512726127271272812729127301273112732127331273412735127361273712738127391274012741127421274312744127451274612747127481274912750127511275212753127541275512756127571275812759127601276112762127631276412765127661276712768127691277012771127721277312774127751277612777127781277912780127811278212783127841278512786127871278812789127901279112792127931279412795127961279712798127991280012801128021280312804128051280612807128081280912810128111281212813128141281512816128171281812819128201282112822128231282412825128261282712828128291283012831128321283312834128351283612837128381283912840128411284212843128441284512846128471284812849128501285112852128531285412855128561285712858128591286012861128621286312864128651286612867128681286912870128711287212873128741287512876128771287812879128801288112882128831288412885128861288712888128891289012891128921289312894128951289612897128981289912900129011290212903129041290512906129071290812909129101291112912129131291412915129161291712918129191292012921129221292312924129251292612927129281292912930129311293212933129341293512936129371293812939129401294112942129431294412945129461294712948129491295012951129521295312954129551295612957129581295912960129611296212963129641296512966129671296812969129701297112972129731297412975129761297712978129791298012981129821298312984129851298612987129881298912990129911299212993129941299512996129971299812999130001300113002130031300413005130061300713008130091301013011130121301313014130151301613017130181301913020130211302213023130241302513026130271302813029130301303113032130331303413035130361303713038130391304013041130421304313044130451304613047130481304913050130511305213053130541305513056130571305813059130601306113062130631306413065130661306713068130691307013071130721307313074130751307613077130781307913080130811308213083130841308513086130871308813089130901309113092130931309413095130961309713098130991310013101131021310313104131051310613107131081310913110131111311213113131141311513116131171311813119131201312113122131231312413125131261312713128131291313013131131321313313134131351313613137131381313913140131411314213143131441314513146131471314813149131501315113152131531315413155131561315713158131591316013161131621316313164131651316613167131681316913170131711317213173131741317513176131771317813179131801318113182131831318413185131861318713188131891319013191131921319313194131951319613197131981319913200132011320213203132041320513206132071320813209132101321113212132131321413215132161321713218132191322013221132221322313224132251322613227132281322913230132311323213233132341323513236132371323813239132401324113242132431324413245132461324713248132491325013251132521325313254132551325613257132581325913260132611326213263132641326513266132671326813269132701327113272132731327413275132761327713278132791328013281132821328313284132851328613287132881328913290132911329213293132941329513296132971329813299133001330113302133031330413305133061330713308133091331013311133121331313314133151331613317133181331913320133211332213323133241332513326133271332813329133301333113332133331333413335133361333713338133391334013341133421334313344133451334613347133481334913350133511335213353133541335513356133571335813359133601336113362133631336413365133661336713368133691337013371133721337313374133751337613377133781337913380133811338213383133841338513386133871338813389133901339113392133931339413395133961339713398133991340013401134021340313404134051340613407134081340913410134111341213413134141341513416134171341813419134201342113422134231342413425134261342713428134291343013431134321343313434134351343613437134381343913440134411344213443134441344513446134471344813449134501345113452134531345413455134561345713458134591346013461134621346313464134651346613467134681346913470134711347213473134741347513476134771347813479134801348113482134831348413485134861348713488134891349013491134921349313494134951349613497134981349913500135011350213503135041350513506135071350813509135101351113512135131351413515135161351713518135191352013521135221352313524135251352613527135281352913530135311353213533135341353513536135371353813539135401354113542135431354413545135461354713548135491355013551135521355313554135551355613557135581355913560135611356213563135641356513566135671356813569135701357113572135731357413575135761357713578135791358013581135821358313584135851358613587135881358913590135911359213593135941359513596135971359813599136001360113602136031360413605136061360713608136091361013611136121361313614136151361613617136181361913620136211362213623136241362513626136271362813629136301363113632136331363413635136361363713638136391364013641136421364313644136451364613647136481364913650136511365213653136541365513656136571365813659136601366113662136631366413665136661366713668136691367013671136721367313674136751367613677136781367913680136811368213683136841368513686136871368813689136901369113692136931369413695136961369713698136991370013701137021370313704137051370613707137081370913710137111371213713137141371513716137171371813719137201372113722137231372413725137261372713728137291373013731137321373313734137351373613737137381373913740137411374213743137441374513746137471374813749137501375113752137531375413755137561375713758137591376013761137621376313764137651376613767137681376913770137711377213773137741377513776137771377813779137801378113782137831378413785137861378713788137891379013791137921379313794137951379613797137981379913800138011380213803138041380513806138071380813809138101381113812138131381413815138161381713818138191382013821138221382313824138251382613827138281382913830138311383213833138341383513836138371383813839138401384113842138431384413845138461384713848138491385013851138521385313854138551385613857138581385913860138611386213863138641386513866138671386813869138701387113872138731387413875138761387713878138791388013881138821388313884138851388613887138881388913890138911389213893138941389513896138971389813899139001390113902139031390413905139061390713908139091391013911139121391313914139151391613917139181391913920139211392213923139241392513926139271392813929139301393113932139331393413935139361393713938139391394013941139421394313944139451394613947139481394913950139511395213953139541395513956139571395813959139601396113962139631396413965139661396713968139691397013971139721397313974139751397613977139781397913980139811398213983139841398513986139871398813989139901399113992139931399413995139961399713998139991400014001140021400314004140051400614007140081400914010140111401214013140141401514016140171401814019140201402114022140231402414025140261402714028140291403014031140321403314034140351403614037140381403914040140411404214043140441404514046140471404814049140501405114052140531405414055140561405714058140591406014061140621406314064140651406614067140681406914070140711407214073140741407514076140771407814079140801408114082140831408414085140861408714088140891409014091140921409314094140951409614097140981409914100141011410214103141041410514106141071410814109141101411114112141131411414115141161411714118141191412014121141221412314124141251412614127141281412914130141311413214133141341413514136141371413814139141401414114142141431414414145141461414714148141491415014151141521415314154141551415614157141581415914160141611416214163141641416514166141671416814169141701417114172141731417414175141761417714178141791418014181141821418314184141851418614187141881418914190141911419214193141941419514196141971419814199142001420114202142031420414205142061420714208142091421014211142121421314214142151421614217142181421914220142211422214223142241422514226142271422814229142301423114232142331423414235142361423714238142391424014241142421424314244142451424614247142481424914250142511425214253142541425514256142571425814259142601426114262142631426414265142661426714268142691427014271142721427314274142751427614277142781427914280142811428214283142841428514286142871428814289142901429114292142931429414295142961429714298142991430014301143021430314304143051430614307143081430914310143111431214313143141431514316143171431814319143201432114322143231432414325143261432714328143291433014331143321433314334143351433614337143381433914340143411434214343143441434514346143471434814349143501435114352143531435414355143561435714358143591436014361143621436314364143651436614367143681436914370143711437214373143741437514376143771437814379143801438114382143831438414385143861438714388143891439014391143921439314394143951439614397143981439914400144011440214403144041440514406144071440814409144101441114412144131441414415144161441714418144191442014421144221442314424144251442614427144281442914430144311443214433144341443514436144371443814439144401444114442144431444414445144461444714448144491445014451144521445314454144551445614457144581445914460144611446214463144641446514466144671446814469144701447114472144731447414475144761447714478144791448014481144821448314484144851448614487144881448914490144911449214493144941449514496144971449814499145001450114502145031450414505145061450714508145091451014511145121451314514145151451614517145181451914520145211452214523145241452514526145271452814529145301453114532145331453414535145361453714538145391454014541145421454314544145451454614547145481454914550145511455214553145541455514556145571455814559145601456114562145631456414565145661456714568145691457014571145721457314574145751457614577145781457914580145811458214583145841458514586145871458814589145901459114592145931459414595145961459714598145991460014601146021460314604146051460614607146081460914610146111461214613146141461514616146171461814619146201462114622146231462414625146261462714628146291463014631146321463314634146351463614637146381463914640146411464214643146441464514646146471464814649146501465114652146531465414655146561465714658146591466014661146621466314664146651466614667146681466914670146711467214673146741467514676146771467814679146801468114682146831468414685146861468714688146891469014691146921469314694146951469614697146981469914700147011470214703147041470514706147071470814709147101471114712147131471414715147161471714718147191472014721147221472314724147251472614727147281472914730147311473214733147341473514736147371473814739147401474114742147431474414745147461474714748147491475014751147521475314754147551475614757147581475914760147611476214763147641476514766147671476814769147701477114772147731477414775147761477714778147791478014781147821478314784147851478614787147881478914790147911479214793147941479514796147971479814799148001480114802148031480414805148061480714808148091481014811148121481314814148151481614817148181481914820148211482214823148241482514826148271482814829148301483114832148331483414835148361483714838148391484014841148421484314844148451484614847148481484914850148511485214853148541485514856148571485814859148601486114862148631486414865148661486714868148691487014871148721487314874148751487614877148781487914880148811488214883148841488514886148871488814889148901489114892148931489414895148961489714898148991490014901149021490314904149051490614907149081490914910149111491214913149141491514916149171491814919149201492114922149231492414925149261492714928149291493014931149321493314934149351493614937149381493914940149411494214943149441494514946149471494814949149501495114952149531495414955149561495714958149591496014961149621496314964149651496614967149681496914970149711497214973149741497514976149771497814979149801498114982149831498414985149861498714988149891499014991149921499314994149951499614997149981499915000150011500215003150041500515006150071500815009150101501115012150131501415015150161501715018150191502015021150221502315024150251502615027150281502915030150311503215033150341503515036150371503815039150401504115042150431504415045150461504715048150491505015051150521505315054150551505615057150581505915060150611506215063150641506515066150671506815069150701507115072150731507415075150761507715078150791508015081150821508315084150851508615087150881508915090150911509215093150941509515096150971509815099151001510115102151031510415105151061510715108151091511015111151121511315114151151511615117151181511915120151211512215123151241512515126151271512815129151301513115132151331513415135151361513715138151391514015141151421514315144151451514615147151481514915150151511515215153151541515515156151571515815159151601516115162151631516415165151661516715168151691517015171151721517315174151751517615177151781517915180151811518215183151841518515186151871518815189151901519115192151931519415195151961519715198151991520015201152021520315204152051520615207152081520915210152111521215213152141521515216152171521815219152201522115222152231522415225152261522715228152291523015231152321523315234152351523615237152381523915240152411524215243152441524515246152471524815249152501525115252152531525415255152561525715258152591526015261152621526315264152651526615267152681526915270152711527215273152741527515276152771527815279152801528115282152831528415285152861528715288152891529015291152921529315294152951529615297152981529915300153011530215303153041530515306153071530815309153101531115312153131531415315153161531715318153191532015321153221532315324153251532615327153281532915330153311533215333153341533515336153371533815339153401534115342153431534415345153461534715348153491535015351153521535315354153551535615357153581535915360153611536215363153641536515366153671536815369153701537115372153731537415375153761537715378153791538015381153821538315384153851538615387153881538915390153911539215393153941539515396153971539815399154001540115402154031540415405154061540715408154091541015411154121541315414154151541615417154181541915420154211542215423154241542515426154271542815429154301543115432154331543415435154361543715438154391544015441154421544315444154451544615447154481544915450154511545215453154541545515456154571545815459154601546115462154631546415465154661546715468154691547015471154721547315474154751547615477154781547915480154811548215483154841548515486154871548815489154901549115492154931549415495154961549715498154991550015501155021550315504155051550615507155081550915510155111551215513155141551515516155171551815519155201552115522155231552415525155261552715528155291553015531155321553315534155351553615537155381553915540155411554215543155441554515546155471554815549155501555115552155531555415555155561555715558155591556015561155621556315564155651556615567155681556915570155711557215573155741557515576155771557815579155801558115582155831558415585155861558715588155891559015591155921559315594155951559615597155981559915600156011560215603156041560515606156071560815609156101561115612156131561415615156161561715618156191562015621156221562315624156251562615627156281562915630156311563215633156341563515636156371563815639156401564115642156431564415645156461564715648156491565015651156521565315654156551565615657156581565915660156611566215663156641566515666156671566815669156701567115672156731567415675156761567715678156791568015681156821568315684156851568615687156881568915690156911569215693156941569515696156971569815699157001570115702157031570415705157061570715708157091571015711157121571315714157151571615717157181571915720157211572215723157241572515726157271572815729157301573115732157331573415735157361573715738157391574015741157421574315744157451574615747157481574915750157511575215753157541575515756157571575815759157601576115762157631576415765157661576715768157691577015771157721577315774157751577615777157781577915780157811578215783157841578515786157871578815789157901579115792157931579415795157961579715798157991580015801158021580315804158051580615807158081580915810158111581215813158141581515816158171581815819158201582115822158231582415825158261582715828158291583015831158321583315834158351583615837158381583915840158411584215843158441584515846158471584815849158501585115852158531585415855158561585715858158591586015861158621586315864158651586615867158681586915870158711587215873158741587515876158771587815879158801588115882158831588415885158861588715888158891589015891158921589315894158951589615897158981589915900159011590215903159041590515906159071590815909159101591115912159131591415915159161591715918159191592015921159221592315924159251592615927159281592915930159311593215933159341593515936159371593815939159401594115942159431594415945159461594715948159491595015951159521595315954159551595615957159581595915960159611596215963159641596515966159671596815969159701597115972159731597415975159761597715978159791598015981159821598315984159851598615987159881598915990159911599215993159941599515996159971599815999160001600116002160031600416005160061600716008160091601016011160121601316014160151601616017160181601916020160211602216023160241602516026160271602816029160301603116032160331603416035160361603716038160391604016041160421604316044160451604616047160481604916050160511605216053160541605516056160571605816059160601606116062160631606416065160661606716068160691607016071160721607316074160751607616077160781607916080160811608216083160841608516086160871608816089160901609116092160931609416095160961609716098160991610016101161021610316104161051610616107161081610916110161111611216113161141611516116161171611816119161201612116122161231612416125161261612716128161291613016131161321613316134161351613616137161381613916140161411614216143161441614516146161471614816149161501615116152161531615416155161561615716158161591616016161161621616316164161651616616167161681616916170161711617216173161741617516176161771617816179161801618116182161831618416185161861618716188161891619016191161921619316194161951619616197161981619916200162011620216203162041620516206162071620816209162101621116212162131621416215162161621716218162191622016221162221622316224162251622616227162281622916230162311623216233162341623516236162371623816239162401624116242162431624416245162461624716248162491625016251162521625316254162551625616257162581625916260162611626216263162641626516266162671626816269162701627116272162731627416275162761627716278162791628016281162821628316284162851628616287162881628916290162911629216293162941629516296162971629816299163001630116302163031630416305163061630716308163091631016311163121631316314163151631616317163181631916320163211632216323163241632516326163271632816329163301633116332163331633416335163361633716338163391634016341163421634316344163451634616347163481634916350163511635216353163541635516356163571635816359163601636116362163631636416365163661636716368163691637016371163721637316374163751637616377163781637916380163811638216383163841638516386163871638816389163901639116392163931639416395163961639716398163991640016401164021640316404164051640616407164081640916410164111641216413164141641516416164171641816419164201642116422164231642416425164261642716428164291643016431164321643316434164351643616437164381643916440164411644216443164441644516446164471644816449164501645116452164531645416455164561645716458164591646016461164621646316464164651646616467164681646916470164711647216473164741647516476164771647816479164801648116482164831648416485164861648716488164891649016491164921649316494164951649616497164981649916500165011650216503165041650516506165071650816509165101651116512165131651416515165161651716518165191652016521165221652316524165251652616527165281652916530165311653216533165341653516536165371653816539165401654116542165431654416545165461654716548165491655016551165521655316554165551655616557165581655916560165611656216563165641656516566165671656816569165701657116572165731657416575165761657716578165791658016581165821658316584165851658616587165881658916590165911659216593165941659516596165971659816599166001660116602166031660416605166061660716608166091661016611166121661316614166151661616617166181661916620166211662216623166241662516626166271662816629166301663116632166331663416635166361663716638166391664016641166421664316644166451664616647166481664916650166511665216653166541665516656166571665816659166601666116662166631666416665166661666716668166691667016671166721667316674166751667616677166781667916680166811668216683166841668516686166871668816689166901669116692166931669416695166961669716698166991670016701167021670316704167051670616707167081670916710167111671216713167141671516716167171671816719167201672116722167231672416725167261672716728167291673016731167321673316734167351673616737167381673916740167411674216743167441674516746167471674816749167501675116752167531675416755167561675716758167591676016761167621676316764167651676616767167681676916770167711677216773167741677516776167771677816779167801678116782167831678416785167861678716788167891679016791167921679316794167951679616797167981679916800168011680216803168041680516806168071680816809168101681116812168131681416815168161681716818168191682016821168221682316824168251682616827168281682916830168311683216833168341683516836168371683816839168401684116842168431684416845168461684716848168491685016851168521685316854168551685616857168581685916860168611686216863168641686516866168671686816869168701687116872168731687416875168761687716878168791688016881168821688316884168851688616887168881688916890168911689216893168941689516896168971689816899169001690116902169031690416905169061690716908169091691016911169121691316914169151691616917169181691916920169211692216923169241692516926169271692816929169301693116932169331693416935169361693716938169391694016941169421694316944169451694616947169481694916950169511695216953169541695516956169571695816959169601696116962169631696416965169661696716968169691697016971169721697316974169751697616977169781697916980169811698216983169841698516986169871698816989169901699116992169931699416995169961699716998169991700017001170021700317004170051700617007170081700917010170111701217013170141701517016170171701817019170201702117022170231702417025170261702717028170291703017031170321703317034170351703617037170381703917040170411704217043170441704517046170471704817049170501705117052170531705417055170561705717058170591706017061170621706317064170651706617067170681706917070170711707217073170741707517076170771707817079170801708117082170831708417085170861708717088170891709017091170921709317094170951709617097170981709917100171011710217103171041710517106171071710817109171101711117112171131711417115171161711717118171191712017121171221712317124171251712617127171281712917130171311713217133171341713517136171371713817139171401714117142171431714417145171461714717148171491715017151171521715317154171551715617157171581715917160171611716217163171641716517166171671716817169171701717117172171731717417175171761717717178171791718017181171821718317184171851718617187171881718917190171911719217193171941719517196171971719817199172001720117202172031720417205172061720717208172091721017211172121721317214172151721617217172181721917220172211722217223172241722517226172271722817229172301723117232172331723417235172361723717238172391724017241172421724317244172451724617247172481724917250172511725217253172541725517256172571725817259172601726117262172631726417265172661726717268172691727017271172721727317274172751727617277172781727917280172811728217283172841728517286172871728817289172901729117292172931729417295172961729717298172991730017301173021730317304173051730617307173081730917310173111731217313173141731517316173171731817319173201732117322173231732417325173261732717328173291733017331173321733317334173351733617337173381733917340173411734217343173441734517346173471734817349173501735117352173531735417355173561735717358173591736017361173621736317364173651736617367173681736917370173711737217373173741737517376173771737817379173801738117382173831738417385173861738717388173891739017391173921739317394173951739617397173981739917400174011740217403174041740517406174071740817409174101741117412174131741417415174161741717418174191742017421174221742317424174251742617427174281742917430174311743217433174341743517436174371743817439174401744117442174431744417445174461744717448174491745017451174521745317454174551745617457174581745917460174611746217463174641746517466174671746817469174701747117472174731747417475174761747717478174791748017481174821748317484174851748617487174881748917490174911749217493174941749517496174971749817499175001750117502175031750417505175061750717508175091751017511175121751317514175151751617517175181751917520175211752217523175241752517526175271752817529175301753117532175331753417535175361753717538175391754017541175421754317544175451754617547175481754917550175511755217553175541755517556175571755817559175601756117562175631756417565175661756717568175691757017571175721757317574175751757617577175781757917580175811758217583175841758517586175871758817589175901759117592175931759417595175961759717598175991760017601176021760317604176051760617607176081760917610176111761217613176141761517616176171761817619176201762117622176231762417625176261762717628176291763017631176321763317634176351763617637176381763917640176411764217643176441764517646176471764817649176501765117652176531765417655176561765717658176591766017661176621766317664176651766617667176681766917670176711767217673176741767517676176771767817679176801768117682176831768417685176861768717688176891769017691176921769317694176951769617697176981769917700177011770217703177041770517706177071770817709177101771117712177131771417715177161771717718177191772017721177221772317724177251772617727177281772917730177311773217733177341773517736177371773817739177401774117742177431774417745177461774717748177491775017751177521775317754177551775617757177581775917760177611776217763177641776517766177671776817769177701777117772177731777417775177761777717778177791778017781177821778317784177851778617787177881778917790177911779217793177941779517796177971779817799178001780117802178031780417805178061780717808178091781017811178121781317814178151781617817178181781917820178211782217823178241782517826178271782817829178301783117832178331783417835178361783717838178391784017841178421784317844178451784617847178481784917850178511785217853178541785517856178571785817859178601786117862178631786417865178661786717868178691787017871178721787317874178751787617877178781787917880178811788217883178841788517886178871788817889178901789117892178931789417895178961789717898178991790017901179021790317904179051790617907179081790917910179111791217913179141791517916179171791817919179201792117922179231792417925179261792717928179291793017931179321793317934179351793617937179381793917940179411794217943179441794517946179471794817949179501795117952179531795417955179561795717958179591796017961179621796317964179651796617967179681796917970179711797217973179741797517976179771797817979179801798117982179831798417985179861798717988179891799017991179921799317994179951799617997179981799918000180011800218003180041800518006180071800818009180101801118012180131801418015180161801718018180191802018021180221802318024180251802618027180281802918030180311803218033180341803518036180371803818039180401804118042180431804418045180461804718048180491805018051180521805318054180551805618057180581805918060180611806218063180641806518066180671806818069180701807118072180731807418075180761807718078180791808018081180821808318084180851808618087180881808918090180911809218093180941809518096180971809818099181001810118102181031810418105181061810718108181091811018111181121811318114181151811618117181181811918120181211812218123181241812518126181271812818129181301813118132181331813418135181361813718138181391814018141181421814318144181451814618147181481814918150181511815218153181541815518156181571815818159181601816118162181631816418165181661816718168181691817018171181721817318174181751817618177181781817918180181811818218183181841818518186181871818818189181901819118192181931819418195181961819718198181991820018201182021820318204182051820618207182081820918210182111821218213182141821518216182171821818219182201822118222182231822418225182261822718228182291823018231182321823318234182351823618237182381823918240182411824218243182441824518246182471824818249182501825118252182531825418255182561825718258182591826018261182621826318264182651826618267182681826918270182711827218273182741827518276182771827818279182801828118282182831828418285182861828718288182891829018291182921829318294182951829618297182981829918300183011830218303183041830518306183071830818309183101831118312183131831418315183161831718318183191832018321183221832318324183251832618327183281832918330183311833218333183341833518336183371833818339183401834118342183431834418345183461834718348183491835018351183521835318354183551835618357183581835918360183611836218363183641836518366183671836818369183701837118372183731837418375183761837718378183791838018381183821838318384183851838618387183881838918390183911839218393183941839518396183971839818399184001840118402184031840418405184061840718408184091841018411184121841318414184151841618417184181841918420184211842218423184241842518426184271842818429184301843118432184331843418435184361843718438184391844018441184421844318444184451844618447184481844918450184511845218453184541845518456184571845818459184601846118462184631846418465184661846718468184691847018471184721847318474184751847618477184781847918480184811848218483184841848518486184871848818489184901849118492184931849418495184961849718498184991850018501185021850318504185051850618507185081850918510185111851218513185141851518516185171851818519185201852118522185231852418525185261852718528185291853018531185321853318534185351853618537185381853918540185411854218543185441854518546185471854818549185501855118552185531855418555185561855718558185591856018561185621856318564185651856618567185681856918570185711857218573185741857518576185771857818579185801858118582185831858418585185861858718588185891859018591185921859318594185951859618597185981859918600186011860218603186041860518606186071860818609186101861118612186131861418615186161861718618186191862018621186221862318624186251862618627186281862918630186311863218633186341863518636186371863818639186401864118642186431864418645186461864718648186491865018651186521865318654186551865618657186581865918660186611866218663186641866518666186671866818669186701867118672186731867418675186761867718678186791868018681186821868318684186851868618687186881868918690186911869218693186941869518696186971869818699187001870118702187031870418705187061870718708187091871018711187121871318714187151871618717187181871918720187211872218723187241872518726187271872818729187301873118732187331873418735187361873718738187391874018741187421874318744187451874618747187481874918750187511875218753187541875518756187571875818759187601876118762187631876418765187661876718768187691877018771187721877318774187751877618777187781877918780187811878218783187841878518786187871878818789187901879118792187931879418795187961879718798187991880018801188021880318804188051880618807188081880918810188111881218813188141881518816188171881818819188201882118822188231882418825188261882718828188291883018831188321883318834188351883618837188381883918840188411884218843188441884518846188471884818849188501885118852188531885418855188561885718858188591886018861188621886318864188651886618867188681886918870188711887218873188741887518876188771887818879188801888118882188831888418885188861888718888188891889018891188921889318894188951889618897188981889918900189011890218903189041890518906189071890818909189101891118912189131891418915189161891718918189191892018921189221892318924189251892618927189281892918930189311893218933189341893518936189371893818939189401894118942189431894418945189461894718948189491895018951189521895318954189551895618957189581895918960189611896218963189641896518966189671896818969189701897118972189731897418975189761897718978189791898018981189821898318984189851898618987189881898918990189911899218993189941899518996189971899818999190001900119002190031900419005190061900719008190091901019011190121901319014190151901619017190181901919020190211902219023190241902519026190271902819029190301903119032190331903419035190361903719038190391904019041190421904319044190451904619047190481904919050190511905219053190541905519056190571905819059190601906119062190631906419065190661906719068190691907019071190721907319074190751907619077190781907919080190811908219083190841908519086190871908819089190901909119092190931909419095190961909719098190991910019101191021910319104191051910619107191081910919110191111911219113191141911519116191171911819119191201912119122191231912419125191261912719128191291913019131191321913319134191351913619137191381913919140191411914219143191441914519146191471914819149191501915119152191531915419155191561915719158191591916019161191621916319164191651916619167191681916919170191711917219173191741917519176191771917819179191801918119182191831918419185191861918719188191891919019191191921919319194191951919619197191981919919200192011920219203192041920519206192071920819209192101921119212192131921419215192161921719218192191922019221192221922319224192251922619227192281922919230192311923219233192341923519236192371923819239192401924119242192431924419245192461924719248192491925019251192521925319254192551925619257192581925919260192611926219263192641926519266192671926819269192701927119272192731927419275192761927719278192791928019281192821928319284192851928619287192881928919290192911929219293192941929519296192971929819299193001930119302193031930419305193061930719308193091931019311193121931319314193151931619317193181931919320193211932219323193241932519326193271932819329193301933119332193331933419335193361933719338193391934019341193421934319344193451934619347193481934919350193511935219353193541935519356193571935819359193601936119362193631936419365193661936719368193691937019371193721937319374193751937619377193781937919380193811938219383193841938519386193871938819389193901939119392193931939419395193961939719398193991940019401194021940319404194051940619407194081940919410194111941219413194141941519416194171941819419194201942119422194231942419425194261942719428194291943019431194321943319434194351943619437194381943919440194411944219443194441944519446194471944819449194501945119452194531945419455194561945719458194591946019461194621946319464194651946619467194681946919470194711947219473194741947519476194771947819479194801948119482194831948419485194861948719488194891949019491194921949319494194951949619497194981949919500195011950219503195041950519506195071950819509195101951119512195131951419515195161951719518195191952019521195221952319524195251952619527195281952919530195311953219533195341953519536195371953819539195401954119542195431954419545195461954719548195491955019551195521955319554195551955619557195581955919560195611956219563195641956519566195671956819569195701957119572195731957419575195761957719578195791958019581195821958319584195851958619587195881958919590195911959219593195941959519596195971959819599196001960119602196031960419605196061960719608196091961019611196121961319614196151961619617196181961919620196211962219623196241962519626196271962819629196301963119632196331963419635196361963719638196391964019641196421964319644196451964619647196481964919650196511965219653196541965519656196571965819659196601966119662196631966419665196661966719668196691967019671196721967319674196751967619677196781967919680196811968219683196841968519686196871968819689196901969119692196931969419695196961969719698196991970019701197021970319704197051970619707197081970919710197111971219713197141971519716197171971819719197201972119722197231972419725197261972719728197291973019731197321973319734197351973619737197381973919740197411974219743197441974519746197471974819749197501975119752197531975419755197561975719758197591976019761197621976319764197651976619767197681976919770197711977219773197741977519776197771977819779197801978119782197831978419785197861978719788197891979019791197921979319794197951979619797197981979919800198011980219803198041980519806198071980819809198101981119812198131981419815198161981719818198191982019821198221982319824198251982619827198281982919830198311983219833198341983519836198371983819839198401984119842198431984419845198461984719848198491985019851198521985319854198551985619857198581985919860198611986219863198641986519866198671986819869198701987119872198731987419875198761987719878198791988019881198821988319884198851988619887198881988919890198911989219893198941989519896198971989819899199001990119902199031990419905199061990719908199091991019911199121991319914199151991619917199181991919920199211992219923199241992519926199271992819929199301993119932199331993419935199361993719938199391994019941199421994319944199451994619947199481994919950199511995219953199541995519956199571995819959199601996119962199631996419965199661996719968199691997019971199721997319974199751997619977199781997919980199811998219983199841998519986199871998819989199901999119992199931999419995199961999719998199992000020001200022000320004200052000620007200082000920010200112001220013200142001520016200172001820019200202002120022200232002420025200262002720028200292003020031200322003320034200352003620037200382003920040200412004220043200442004520046200472004820049200502005120052200532005420055200562005720058200592006020061200622006320064200652006620067200682006920070200712007220073200742007520076200772007820079200802008120082200832008420085200862008720088200892009020091200922009320094200952009620097200982009920100201012010220103201042010520106201072010820109201102011120112201132011420115201162011720118201192012020121201222012320124201252012620127201282012920130201312013220133201342013520136201372013820139201402014120142201432014420145201462014720148201492015020151201522015320154201552015620157201582015920160201612016220163201642016520166201672016820169201702017120172201732017420175201762017720178201792018020181201822018320184201852018620187201882018920190201912019220193201942019520196201972019820199202002020120202202032020420205202062020720208202092021020211202122021320214202152021620217202182021920220202212022220223202242022520226202272022820229202302023120232202332023420235202362023720238202392024020241202422024320244202452024620247202482024920250202512025220253202542025520256202572025820259202602026120262202632026420265202662026720268202692027020271202722027320274202752027620277202782027920280202812028220283202842028520286202872028820289202902029120292202932029420295202962029720298202992030020301203022030320304203052030620307203082030920310203112031220313203142031520316203172031820319203202032120322203232032420325203262032720328203292033020331203322033320334203352033620337203382033920340203412034220343203442034520346203472034820349203502035120352203532035420355203562035720358203592036020361203622036320364203652036620367203682036920370203712037220373203742037520376203772037820379203802038120382203832038420385203862038720388203892039020391203922039320394203952039620397203982039920400204012040220403204042040520406204072040820409204102041120412204132041420415204162041720418204192042020421204222042320424204252042620427204282042920430204312043220433204342043520436204372043820439204402044120442204432044420445204462044720448204492045020451204522045320454204552045620457204582045920460204612046220463204642046520466204672046820469204702047120472204732047420475204762047720478204792048020481204822048320484204852048620487204882048920490204912049220493204942049520496204972049820499205002050120502205032050420505205062050720508205092051020511205122051320514205152051620517205182051920520205212052220523205242052520526205272052820529205302053120532205332053420535205362053720538205392054020541205422054320544205452054620547205482054920550205512055220553205542055520556205572055820559205602056120562205632056420565205662056720568205692057020571205722057320574205752057620577205782057920580205812058220583205842058520586205872058820589205902059120592205932059420595205962059720598205992060020601206022060320604206052060620607206082060920610206112061220613206142061520616206172061820619206202062120622206232062420625206262062720628206292063020631206322063320634206352063620637206382063920640206412064220643206442064520646206472064820649206502065120652206532065420655206562065720658206592066020661206622066320664206652066620667206682066920670206712067220673206742067520676206772067820679206802068120682206832068420685206862068720688206892069020691206922069320694206952069620697206982069920700207012070220703207042070520706207072070820709207102071120712207132071420715207162071720718207192072020721207222072320724207252072620727207282072920730207312073220733207342073520736207372073820739207402074120742207432074420745207462074720748207492075020751207522075320754207552075620757207582075920760207612076220763207642076520766207672076820769207702077120772207732077420775207762077720778207792078020781207822078320784207852078620787207882078920790207912079220793207942079520796207972079820799208002080120802208032080420805208062080720808208092081020811208122081320814208152081620817208182081920820208212082220823208242082520826208272082820829208302083120832208332083420835208362083720838208392084020841208422084320844208452084620847208482084920850208512085220853208542085520856208572085820859208602086120862208632086420865208662086720868208692087020871208722087320874208752087620877208782087920880208812088220883208842088520886208872088820889208902089120892208932089420895208962089720898208992090020901209022090320904209052090620907209082090920910209112091220913209142091520916209172091820919209202092120922209232092420925209262092720928209292093020931209322093320934209352093620937209382093920940209412094220943209442094520946209472094820949209502095120952209532095420955209562095720958209592096020961209622096320964209652096620967209682096920970209712097220973209742097520976209772097820979209802098120982209832098420985209862098720988209892099020991209922099320994209952099620997209982099921000210012100221003210042100521006210072100821009210102101121012210132101421015210162101721018210192102021021210222102321024210252102621027210282102921030210312103221033210342103521036210372103821039210402104121042210432104421045210462104721048210492105021051210522105321054210552105621057210582105921060210612106221063210642106521066210672106821069210702107121072210732107421075210762107721078210792108021081210822108321084210852108621087210882108921090210912109221093210942109521096210972109821099211002110121102211032110421105211062110721108211092111021111211122111321114211152111621117211182111921120211212112221123211242112521126211272112821129211302113121132211332113421135211362113721138211392114021141211422114321144211452114621147211482114921150211512115221153211542115521156211572115821159211602116121162211632116421165211662116721168211692117021171211722117321174211752117621177211782117921180211812118221183211842118521186211872118821189211902119121192211932119421195211962119721198211992120021201212022120321204212052120621207212082120921210212112121221213212142121521216212172121821219212202122121222212232122421225212262122721228212292123021231212322123321234212352123621237212382123921240212412124221243212442124521246212472124821249212502125121252212532125421255212562125721258212592126021261212622126321264212652126621267212682126921270212712127221273212742127521276212772127821279212802128121282212832128421285212862128721288212892129021291212922129321294212952129621297212982129921300213012130221303213042130521306213072130821309213102131121312213132131421315213162131721318213192132021321213222132321324213252132621327213282132921330213312133221333213342133521336213372133821339213402134121342213432134421345213462134721348213492135021351213522135321354213552135621357213582135921360213612136221363213642136521366213672136821369213702137121372213732137421375213762137721378213792138021381213822138321384213852138621387213882138921390213912139221393213942139521396213972139821399214002140121402214032140421405214062140721408214092141021411214122141321414214152141621417214182141921420214212142221423214242142521426214272142821429214302143121432214332143421435214362143721438214392144021441214422144321444214452144621447214482144921450214512145221453214542145521456214572145821459214602146121462214632146421465214662146721468214692147021471214722147321474214752147621477214782147921480214812148221483214842148521486214872148821489214902149121492214932149421495214962149721498214992150021501215022150321504215052150621507215082150921510215112151221513215142151521516215172151821519215202152121522215232152421525215262152721528215292153021531215322153321534215352153621537215382153921540215412154221543215442154521546215472154821549215502155121552215532155421555215562155721558215592156021561215622156321564215652156621567215682156921570215712157221573215742157521576215772157821579215802158121582215832158421585215862158721588215892159021591215922159321594215952159621597215982159921600216012160221603216042160521606216072160821609216102161121612216132161421615216162161721618216192162021621216222162321624216252162621627216282162921630216312163221633216342163521636216372163821639216402164121642216432164421645216462164721648216492165021651216522165321654216552165621657216582165921660216612166221663216642166521666216672166821669216702167121672216732167421675216762167721678216792168021681216822168321684216852168621687216882168921690216912169221693216942169521696216972169821699217002170121702217032170421705217062170721708217092171021711217122171321714217152171621717217182171921720217212172221723217242172521726217272172821729217302173121732217332173421735217362173721738217392174021741217422174321744217452174621747217482174921750217512175221753217542175521756217572175821759217602176121762217632176421765217662176721768217692177021771217722177321774217752177621777217782177921780217812178221783217842178521786217872178821789217902179121792217932179421795217962179721798217992180021801218022180321804218052180621807218082180921810218112181221813218142181521816218172181821819218202182121822218232182421825218262182721828218292183021831218322183321834218352183621837218382183921840218412184221843218442184521846218472184821849218502185121852218532185421855218562185721858218592186021861218622186321864218652186621867218682186921870218712187221873218742187521876218772187821879218802188121882218832188421885218862188721888218892189021891218922189321894218952189621897218982189921900219012190221903219042190521906219072190821909219102191121912219132191421915219162191721918219192192021921219222192321924219252192621927219282192921930219312193221933219342193521936219372193821939219402194121942219432194421945219462194721948219492195021951219522195321954219552195621957219582195921960219612196221963219642196521966219672196821969219702197121972219732197421975219762197721978219792198021981219822198321984219852198621987219882198921990219912199221993219942199521996219972199821999220002200122002220032200422005220062200722008220092201022011220122201322014220152201622017220182201922020220212202222023220242202522026220272202822029220302203122032220332203422035220362203722038220392204022041220422204322044220452204622047220482204922050220512205222053220542205522056220572205822059220602206122062220632206422065220662206722068220692207022071220722207322074220752207622077220782207922080220812208222083220842208522086220872208822089220902209122092220932209422095220962209722098220992210022101221022210322104221052210622107221082210922110221112211222113221142211522116221172211822119221202212122122221232212422125221262212722128221292213022131221322213322134221352213622137221382213922140221412214222143221442214522146221472214822149221502215122152221532215422155221562215722158221592216022161221622216322164221652216622167221682216922170221712217222173221742217522176221772217822179221802218122182221832218422185221862218722188221892219022191221922219322194221952219622197221982219922200222012220222203222042220522206222072220822209222102221122212222132221422215222162221722218222192222022221222222222322224222252222622227222282222922230222312223222233222342223522236222372223822239222402224122242222432224422245222462224722248222492225022251222522225322254222552225622257222582225922260222612226222263222642226522266222672226822269222702227122272222732227422275222762227722278222792228022281222822228322284222852228622287222882228922290222912229222293222942229522296222972229822299223002230122302223032230422305223062230722308223092231022311223122231322314223152231622317223182231922320223212232222323223242232522326223272232822329223302233122332223332233422335223362233722338223392234022341223422234322344223452234622347223482234922350223512235222353223542235522356223572235822359223602236122362223632236422365223662236722368223692237022371223722237322374223752237622377223782237922380223812238222383223842238522386223872238822389223902239122392223932239422395223962239722398223992240022401224022240322404224052240622407224082240922410224112241222413224142241522416224172241822419224202242122422224232242422425224262242722428224292243022431224322243322434224352243622437224382243922440224412244222443224442244522446224472244822449224502245122452224532245422455224562245722458224592246022461224622246322464224652246622467224682246922470224712247222473224742247522476224772247822479224802248122482224832248422485224862248722488224892249022491224922249322494224952249622497224982249922500225012250222503225042250522506225072250822509225102251122512225132251422515225162251722518225192252022521225222252322524225252252622527225282252922530225312253222533225342253522536225372253822539225402254122542225432254422545225462254722548225492255022551225522255322554225552255622557225582255922560225612256222563225642256522566225672256822569225702257122572225732257422575225762257722578225792258022581225822258322584225852258622587225882258922590225912259222593225942259522596225972259822599226002260122602226032260422605226062260722608226092261022611226122261322614226152261622617226182261922620226212262222623226242262522626226272262822629226302263122632226332263422635226362263722638226392264022641226422264322644226452264622647226482264922650226512265222653226542265522656226572265822659226602266122662226632266422665226662266722668226692267022671226722267322674226752267622677226782267922680226812268222683226842268522686226872268822689226902269122692226932269422695226962269722698226992270022701227022270322704227052270622707227082270922710227112271222713227142271522716227172271822719227202272122722227232272422725227262272722728227292273022731227322273322734227352273622737227382273922740227412274222743227442274522746227472274822749227502275122752227532275422755227562275722758227592276022761227622276322764227652276622767227682276922770227712277222773227742277522776227772277822779227802278122782227832278422785227862278722788227892279022791227922279322794227952279622797227982279922800228012280222803228042280522806228072280822809228102281122812228132281422815228162281722818228192282022821228222282322824228252282622827228282282922830228312283222833228342283522836228372283822839228402284122842228432284422845228462284722848228492285022851228522285322854228552285622857228582285922860228612286222863228642286522866228672286822869228702287122872228732287422875228762287722878228792288022881228822288322884228852288622887228882288922890228912289222893228942289522896228972289822899229002290122902229032290422905229062290722908229092291022911229122291322914229152291622917229182291922920229212292222923229242292522926229272292822929229302293122932229332293422935229362293722938229392294022941229422294322944229452294622947229482294922950229512295222953229542295522956229572295822959229602296122962229632296422965229662296722968229692297022971229722297322974229752297622977229782297922980229812298222983229842298522986229872298822989229902299122992229932299422995229962299722998229992300023001230022300323004230052300623007230082300923010230112301223013230142301523016230172301823019230202302123022230232302423025230262302723028230292303023031230322303323034230352303623037230382303923040230412304223043230442304523046230472304823049230502305123052230532305423055230562305723058230592306023061230622306323064230652306623067230682306923070230712307223073230742307523076230772307823079230802308123082230832308423085230862308723088230892309023091230922309323094230952309623097230982309923100231012310223103231042310523106231072310823109231102311123112231132311423115231162311723118231192312023121231222312323124231252312623127231282312923130231312313223133231342313523136231372313823139231402314123142231432314423145231462314723148231492315023151231522315323154231552315623157231582315923160231612316223163231642316523166231672316823169231702317123172231732317423175231762317723178231792318023181231822318323184231852318623187231882318923190231912319223193231942319523196231972319823199232002320123202232032320423205232062320723208232092321023211232122321323214232152321623217232182321923220232212322223223232242322523226232272322823229232302323123232232332323423235232362323723238232392324023241232422324323244232452324623247232482324923250232512325223253232542325523256232572325823259232602326123262232632326423265232662326723268232692327023271232722327323274232752327623277232782327923280232812328223283232842328523286232872328823289232902329123292232932329423295232962329723298232992330023301233022330323304233052330623307233082330923310233112331223313233142331523316233172331823319233202332123322233232332423325233262332723328233292333023331233322333323334233352333623337233382333923340233412334223343233442334523346233472334823349233502335123352233532335423355233562335723358233592336023361233622336323364233652336623367233682336923370233712337223373233742337523376233772337823379233802338123382233832338423385233862338723388233892339023391233922339323394233952339623397233982339923400234012340223403234042340523406234072340823409234102341123412234132341423415234162341723418234192342023421234222342323424234252342623427234282342923430234312343223433234342343523436234372343823439234402344123442234432344423445234462344723448234492345023451234522345323454234552345623457234582345923460234612346223463234642346523466234672346823469234702347123472234732347423475234762347723478234792348023481234822348323484234852348623487234882348923490234912349223493234942349523496234972349823499235002350123502235032350423505235062350723508235092351023511235122351323514235152351623517235182351923520235212352223523235242352523526235272352823529235302353123532235332353423535235362353723538235392354023541235422354323544235452354623547235482354923550235512355223553235542355523556235572355823559235602356123562235632356423565235662356723568235692357023571235722357323574235752357623577235782357923580235812358223583235842358523586235872358823589235902359123592235932359423595235962359723598235992360023601236022360323604236052360623607236082360923610236112361223613236142361523616236172361823619236202362123622236232362423625236262362723628236292363023631236322363323634236352363623637236382363923640236412364223643236442364523646236472364823649236502365123652236532365423655236562365723658236592366023661236622366323664236652366623667236682366923670236712367223673236742367523676236772367823679236802368123682236832368423685236862368723688236892369023691236922369323694236952369623697236982369923700237012370223703237042370523706237072370823709237102371123712237132371423715237162371723718237192372023721237222372323724237252372623727237282372923730237312373223733237342373523736237372373823739237402374123742237432374423745237462374723748237492375023751237522375323754237552375623757237582375923760237612376223763237642376523766237672376823769237702377123772237732377423775237762377723778237792378023781237822378323784237852378623787237882378923790237912379223793237942379523796237972379823799238002380123802238032380423805238062380723808238092381023811238122381323814238152381623817238182381923820238212382223823238242382523826238272382823829238302383123832238332383423835238362383723838238392384023841238422384323844238452384623847238482384923850238512385223853238542385523856238572385823859238602386123862238632386423865238662386723868238692387023871238722387323874238752387623877238782387923880238812388223883238842388523886238872388823889238902389123892238932389423895238962389723898238992390023901239022390323904239052390623907239082390923910239112391223913239142391523916239172391823919239202392123922239232392423925239262392723928239292393023931239322393323934239352393623937239382393923940239412394223943239442394523946239472394823949239502395123952239532395423955239562395723958239592396023961239622396323964239652396623967239682396923970239712397223973239742397523976239772397823979239802398123982239832398423985239862398723988239892399023991239922399323994239952399623997239982399924000240012400224003240042400524006240072400824009240102401124012240132401424015240162401724018240192402024021240222402324024240252402624027240282402924030240312403224033240342403524036240372403824039240402404124042240432404424045240462404724048240492405024051240522405324054240552405624057240582405924060240612406224063240642406524066240672406824069240702407124072240732407424075240762407724078240792408024081240822408324084240852408624087240882408924090240912409224093240942409524096240972409824099241002410124102241032410424105241062410724108241092411024111241122411324114241152411624117241182411924120241212412224123241242412524126241272412824129241302413124132241332413424135241362413724138241392414024141241422414324144241452414624147241482414924150241512415224153241542415524156241572415824159241602416124162241632416424165241662416724168241692417024171241722417324174241752417624177241782417924180241812418224183241842418524186241872418824189241902419124192241932419424195241962419724198241992420024201242022420324204242052420624207242082420924210242112421224213242142421524216242172421824219242202422124222242232422424225242262422724228242292423024231242322423324234242352423624237242382423924240242412424224243242442424524246242472424824249242502425124252242532425424255242562425724258242592426024261242622426324264242652426624267242682426924270242712427224273242742427524276242772427824279242802428124282242832428424285242862428724288242892429024291242922429324294242952429624297242982429924300243012430224303243042430524306243072430824309243102431124312243132431424315243162431724318243192432024321243222432324324243252432624327243282432924330243312433224333243342433524336243372433824339243402434124342243432434424345243462434724348243492435024351243522435324354243552435624357243582435924360243612436224363243642436524366243672436824369243702437124372243732437424375243762437724378243792438024381243822438324384243852438624387243882438924390243912439224393243942439524396243972439824399244002440124402244032440424405244062440724408244092441024411244122441324414244152441624417244182441924420244212442224423244242442524426244272442824429244302443124432244332443424435244362443724438244392444024441244422444324444244452444624447244482444924450244512445224453244542445524456244572445824459244602446124462244632446424465244662446724468244692447024471244722447324474244752447624477244782447924480244812448224483244842448524486244872448824489244902449124492244932449424495244962449724498244992450024501245022450324504245052450624507245082450924510245112451224513245142451524516245172451824519245202452124522245232452424525245262452724528245292453024531245322453324534245352453624537245382453924540245412454224543245442454524546245472454824549245502455124552245532455424555245562455724558245592456024561245622456324564245652456624567245682456924570245712457224573245742457524576245772457824579245802458124582245832458424585245862458724588245892459024591245922459324594245952459624597245982459924600246012460224603246042460524606246072460824609246102461124612246132461424615246162461724618246192462024621246222462324624246252462624627246282462924630246312463224633246342463524636246372463824639246402464124642246432464424645246462464724648246492465024651246522465324654246552465624657246582465924660246612466224663246642466524666246672466824669246702467124672246732467424675246762467724678246792468024681246822468324684246852468624687246882468924690246912469224693246942469524696246972469824699247002470124702247032470424705247062470724708247092471024711247122471324714247152471624717247182471924720247212472224723247242472524726247272472824729247302473124732247332473424735247362473724738247392474024741247422474324744247452474624747247482474924750247512475224753247542475524756247572475824759247602476124762247632476424765247662476724768247692477024771247722477324774247752477624777247782477924780247812478224783247842478524786247872478824789247902479124792247932479424795247962479724798247992480024801248022480324804248052480624807248082480924810248112481224813248142481524816248172481824819248202482124822248232482424825248262482724828248292483024831248322483324834248352483624837248382483924840248412484224843248442484524846248472484824849248502485124852248532485424855248562485724858248592486024861248622486324864248652486624867248682486924870248712487224873248742487524876248772487824879248802488124882248832488424885248862488724888248892489024891248922489324894248952489624897248982489924900249012490224903249042490524906249072490824909249102491124912249132491424915249162491724918249192492024921249222492324924249252492624927249282492924930249312493224933249342493524936249372493824939249402494124942249432494424945249462494724948249492495024951249522495324954249552495624957249582495924960249612496224963249642496524966249672496824969249702497124972249732497424975249762497724978249792498024981249822498324984249852498624987249882498924990249912499224993249942499524996249972499824999250002500125002250032500425005250062500725008250092501025011250122501325014250152501625017250182501925020250212502225023250242502525026250272502825029250302503125032250332503425035250362503725038250392504025041250422504325044250452504625047250482504925050250512505225053250542505525056250572505825059250602506125062250632506425065250662506725068250692507025071250722507325074250752507625077250782507925080250812508225083250842508525086250872508825089250902509125092250932509425095250962509725098250992510025101251022510325104251052510625107251082510925110251112511225113251142511525116251172511825119251202512125122251232512425125251262512725128251292513025131251322513325134251352513625137251382513925140251412514225143251442514525146251472514825149251502515125152251532515425155251562515725158251592516025161251622516325164251652516625167251682516925170251712517225173251742517525176251772517825179251802518125182251832518425185251862518725188251892519025191251922519325194251952519625197251982519925200252012520225203252042520525206252072520825209252102521125212252132521425215252162521725218252192522025221252222522325224252252522625227252282522925230252312523225233252342523525236252372523825239252402524125242252432524425245252462524725248252492525025251252522525325254252552525625257252582525925260252612526225263252642526525266252672526825269252702527125272252732527425275252762527725278252792528025281252822528325284252852528625287252882528925290252912529225293252942529525296252972529825299253002530125302253032530425305253062530725308253092531025311253122531325314253152531625317253182531925320253212532225323253242532525326253272532825329253302533125332253332533425335253362533725338253392534025341253422534325344253452534625347253482534925350253512535225353253542535525356253572535825359253602536125362253632536425365253662536725368253692537025371253722537325374253752537625377253782537925380253812538225383253842538525386253872538825389253902539125392253932539425395253962539725398253992540025401254022540325404254052540625407254082540925410254112541225413254142541525416254172541825419254202542125422254232542425425254262542725428254292543025431254322543325434254352543625437254382543925440254412544225443254442544525446254472544825449254502545125452254532545425455254562545725458254592546025461254622546325464254652546625467254682546925470254712547225473254742547525476254772547825479254802548125482254832548425485254862548725488254892549025491254922549325494254952549625497254982549925500255012550225503255042550525506255072550825509255102551125512255132551425515255162551725518255192552025521255222552325524255252552625527255282552925530255312553225533255342553525536255372553825539255402554125542255432554425545255462554725548255492555025551255522555325554255552555625557255582555925560255612556225563255642556525566255672556825569255702557125572255732557425575255762557725578255792558025581255822558325584255852558625587255882558925590255912559225593255942559525596255972559825599256002560125602256032560425605256062560725608256092561025611256122561325614256152561625617256182561925620256212562225623256242562525626256272562825629256302563125632256332563425635256362563725638256392564025641256422564325644256452564625647256482564925650256512565225653256542565525656256572565825659256602566125662256632566425665256662566725668256692567025671256722567325674256752567625677256782567925680256812568225683256842568525686256872568825689256902569125692256932569425695256962569725698256992570025701257022570325704257052570625707257082570925710257112571225713257142571525716257172571825719257202572125722257232572425725257262572725728257292573025731257322573325734257352573625737257382573925740257412574225743257442574525746257472574825749257502575125752257532575425755257562575725758257592576025761257622576325764257652576625767257682576925770257712577225773257742577525776257772577825779257802578125782257832578425785257862578725788257892579025791257922579325794257952579625797257982579925800258012580225803258042580525806258072580825809258102581125812258132581425815258162581725818258192582025821258222582325824258252582625827258282582925830258312583225833258342583525836258372583825839258402584125842258432584425845258462584725848258492585025851258522585325854258552585625857258582585925860258612586225863258642586525866258672586825869258702587125872258732587425875258762587725878258792588025881258822588325884258852588625887258882588925890258912589225893258942589525896258972589825899259002590125902259032590425905259062590725908259092591025911259122591325914259152591625917259182591925920259212592225923259242592525926259272592825929259302593125932259332593425935259362593725938259392594025941259422594325944259452594625947259482594925950259512595225953259542595525956259572595825959259602596125962259632596425965259662596725968259692597025971259722597325974259752597625977259782597925980259812598225983259842598525986259872598825989259902599125992259932599425995259962599725998259992600026001260022600326004260052600626007260082600926010260112601226013260142601526016260172601826019260202602126022260232602426025260262602726028260292603026031260322603326034260352603626037260382603926040260412604226043260442604526046260472604826049260502605126052260532605426055260562605726058260592606026061260622606326064260652606626067260682606926070260712607226073260742607526076260772607826079260802608126082260832608426085260862608726088260892609026091260922609326094260952609626097260982609926100261012610226103261042610526106261072610826109261102611126112261132611426115261162611726118261192612026121261222612326124261252612626127261282612926130261312613226133261342613526136261372613826139261402614126142261432614426145261462614726148261492615026151261522615326154261552615626157261582615926160261612616226163261642616526166261672616826169261702617126172261732617426175261762617726178261792618026181261822618326184261852618626187261882618926190261912619226193261942619526196261972619826199262002620126202262032620426205262062620726208262092621026211262122621326214262152621626217262182621926220262212622226223262242622526226262272622826229262302623126232262332623426235262362623726238262392624026241262422624326244262452624626247262482624926250262512625226253262542625526256262572625826259262602626126262262632626426265262662626726268262692627026271262722627326274262752627626277262782627926280262812628226283262842628526286262872628826289262902629126292262932629426295262962629726298262992630026301263022630326304263052630626307263082630926310263112631226313263142631526316263172631826319263202632126322263232632426325263262632726328263292633026331263322633326334263352633626337263382633926340263412634226343263442634526346263472634826349263502635126352263532635426355263562635726358263592636026361263622636326364263652636626367263682636926370263712637226373263742637526376263772637826379263802638126382263832638426385263862638726388263892639026391263922639326394263952639626397263982639926400264012640226403264042640526406264072640826409264102641126412264132641426415264162641726418264192642026421264222642326424264252642626427264282642926430264312643226433264342643526436264372643826439264402644126442264432644426445264462644726448264492645026451264522645326454264552645626457264582645926460264612646226463264642646526466264672646826469264702647126472264732647426475264762647726478264792648026481264822648326484264852648626487264882648926490264912649226493264942649526496264972649826499265002650126502265032650426505265062650726508265092651026511265122651326514265152651626517265182651926520265212652226523265242652526526265272652826529265302653126532265332653426535265362653726538265392654026541265422654326544265452654626547265482654926550265512655226553265542655526556265572655826559265602656126562265632656426565265662656726568265692657026571265722657326574265752657626577265782657926580265812658226583265842658526586265872658826589265902659126592265932659426595265962659726598265992660026601266022660326604266052660626607266082660926610266112661226613266142661526616266172661826619266202662126622266232662426625266262662726628266292663026631266322663326634266352663626637266382663926640266412664226643266442664526646266472664826649266502665126652266532665426655266562665726658266592666026661266622666326664266652666626667266682666926670266712667226673266742667526676266772667826679266802668126682266832668426685266862668726688266892669026691266922669326694266952669626697266982669926700267012670226703267042670526706267072670826709267102671126712267132671426715267162671726718267192672026721267222672326724267252672626727267282672926730267312673226733267342673526736267372673826739267402674126742267432674426745267462674726748267492675026751267522675326754267552675626757267582675926760267612676226763267642676526766267672676826769267702677126772267732677426775267762677726778267792678026781267822678326784267852678626787267882678926790267912679226793267942679526796267972679826799268002680126802268032680426805268062680726808268092681026811268122681326814268152681626817268182681926820268212682226823268242682526826268272682826829268302683126832268332683426835268362683726838268392684026841268422684326844268452684626847268482684926850268512685226853268542685526856268572685826859268602686126862268632686426865268662686726868268692687026871268722687326874268752687626877268782687926880268812688226883268842688526886268872688826889268902689126892268932689426895268962689726898268992690026901269022690326904269052690626907269082690926910269112691226913269142691526916269172691826919269202692126922269232692426925269262692726928269292693026931269322693326934269352693626937269382693926940269412694226943269442694526946269472694826949269502695126952269532695426955269562695726958269592696026961269622696326964269652696626967269682696926970269712697226973269742697526976269772697826979269802698126982269832698426985269862698726988269892699026991269922699326994269952699626997269982699927000270012700227003270042700527006270072700827009270102701127012270132701427015270162701727018270192702027021270222702327024270252702627027270282702927030270312703227033270342703527036270372703827039270402704127042270432704427045270462704727048270492705027051270522705327054270552705627057270582705927060270612706227063270642706527066270672706827069270702707127072270732707427075270762707727078270792708027081270822708327084270852708627087270882708927090270912709227093270942709527096270972709827099271002710127102271032710427105271062710727108271092711027111271122711327114271152711627117271182711927120271212712227123271242712527126271272712827129271302713127132271332713427135271362713727138271392714027141271422714327144271452714627147271482714927150271512715227153271542715527156271572715827159271602716127162271632716427165271662716727168271692717027171271722717327174271752717627177271782717927180271812718227183271842718527186271872718827189271902719127192271932719427195271962719727198271992720027201272022720327204272052720627207272082720927210272112721227213272142721527216272172721827219272202722127222272232722427225272262722727228272292723027231272322723327234272352723627237272382723927240272412724227243272442724527246272472724827249272502725127252272532725427255272562725727258272592726027261272622726327264272652726627267272682726927270272712727227273272742727527276272772727827279272802728127282272832728427285272862728727288272892729027291272922729327294272952729627297272982729927300273012730227303273042730527306273072730827309273102731127312273132731427315273162731727318273192732027321273222732327324273252732627327273282732927330273312733227333273342733527336273372733827339273402734127342273432734427345273462734727348273492735027351273522735327354273552735627357273582735927360273612736227363273642736527366273672736827369273702737127372273732737427375273762737727378273792738027381273822738327384273852738627387273882738927390273912739227393273942739527396273972739827399274002740127402274032740427405274062740727408274092741027411274122741327414274152741627417274182741927420274212742227423274242742527426274272742827429274302743127432274332743427435274362743727438274392744027441274422744327444274452744627447274482744927450274512745227453274542745527456274572745827459274602746127462274632746427465274662746727468274692747027471274722747327474274752747627477274782747927480274812748227483274842748527486274872748827489274902749127492274932749427495274962749727498274992750027501275022750327504275052750627507275082750927510275112751227513275142751527516275172751827519275202752127522275232752427525275262752727528275292753027531275322753327534275352753627537275382753927540275412754227543275442754527546275472754827549275502755127552275532755427555275562755727558275592756027561275622756327564275652756627567275682756927570275712757227573275742757527576275772757827579275802758127582275832758427585275862758727588275892759027591275922759327594275952759627597275982759927600276012760227603276042760527606276072760827609276102761127612276132761427615276162761727618276192762027621276222762327624276252762627627276282762927630276312763227633276342763527636276372763827639276402764127642276432764427645276462764727648276492765027651276522765327654276552765627657276582765927660276612766227663276642766527666276672766827669276702767127672276732767427675276762767727678276792768027681276822768327684276852768627687276882768927690276912769227693276942769527696276972769827699277002770127702277032770427705277062770727708277092771027711277122771327714277152771627717277182771927720277212772227723277242772527726277272772827729277302773127732277332773427735277362773727738277392774027741277422774327744277452774627747277482774927750277512775227753277542775527756277572775827759277602776127762277632776427765277662776727768277692777027771277722777327774277752777627777277782777927780277812778227783277842778527786277872778827789277902779127792277932779427795277962779727798277992780027801278022780327804278052780627807278082780927810278112781227813278142781527816278172781827819278202782127822278232782427825278262782727828278292783027831278322783327834278352783627837278382783927840278412784227843278442784527846278472784827849278502785127852278532785427855278562785727858278592786027861278622786327864278652786627867278682786927870278712787227873278742787527876278772787827879278802788127882278832788427885278862788727888278892789027891278922789327894278952789627897278982789927900279012790227903279042790527906279072790827909279102791127912279132791427915279162791727918279192792027921279222792327924279252792627927279282792927930279312793227933279342793527936279372793827939279402794127942279432794427945279462794727948279492795027951279522795327954279552795627957279582795927960279612796227963279642796527966279672796827969279702797127972279732797427975279762797727978279792798027981279822798327984279852798627987279882798927990279912799227993279942799527996279972799827999280002800128002280032800428005280062800728008280092801028011280122801328014280152801628017280182801928020280212802228023280242802528026280272802828029280302803128032280332803428035280362803728038280392804028041280422804328044280452804628047280482804928050280512805228053280542805528056280572805828059280602806128062280632806428065280662806728068280692807028071280722807328074280752807628077280782807928080280812808228083280842808528086280872808828089280902809128092280932809428095280962809728098280992810028101281022810328104281052810628107281082810928110281112811228113281142811528116281172811828119281202812128122281232812428125281262812728128281292813028131281322813328134281352813628137281382813928140281412814228143281442814528146281472814828149281502815128152281532815428155281562815728158281592816028161281622816328164281652816628167281682816928170281712817228173281742817528176281772817828179281802818128182281832818428185281862818728188281892819028191281922819328194281952819628197281982819928200282012820228203282042820528206282072820828209282102821128212282132821428215282162821728218282192822028221282222822328224282252822628227282282822928230282312823228233282342823528236282372823828239282402824128242282432824428245282462824728248282492825028251282522825328254282552825628257282582825928260282612826228263282642826528266282672826828269282702827128272282732827428275282762827728278282792828028281282822828328284282852828628287282882828928290282912829228293282942829528296282972829828299283002830128302283032830428305283062830728308283092831028311283122831328314283152831628317283182831928320283212832228323283242832528326283272832828329283302833128332283332833428335283362833728338283392834028341283422834328344283452834628347283482834928350283512835228353283542835528356283572835828359283602836128362283632836428365283662836728368283692837028371283722837328374283752837628377283782837928380283812838228383283842838528386283872838828389283902839128392283932839428395283962839728398283992840028401284022840328404284052840628407284082840928410284112841228413284142841528416284172841828419284202842128422284232842428425284262842728428284292843028431284322843328434284352843628437284382843928440284412844228443284442844528446284472844828449284502845128452284532845428455284562845728458284592846028461284622846328464284652846628467284682846928470284712847228473284742847528476284772847828479284802848128482284832848428485284862848728488284892849028491284922849328494284952849628497284982849928500285012850228503285042850528506285072850828509285102851128512285132851428515285162851728518285192852028521285222852328524285252852628527285282852928530285312853228533285342853528536285372853828539285402854128542285432854428545285462854728548285492855028551285522855328554285552855628557285582855928560285612856228563285642856528566285672856828569285702857128572285732857428575285762857728578285792858028581285822858328584285852858628587285882858928590285912859228593285942859528596285972859828599286002860128602286032860428605286062860728608286092861028611286122861328614286152861628617286182861928620286212862228623286242862528626286272862828629286302863128632286332863428635286362863728638286392864028641286422864328644286452864628647286482864928650286512865228653286542865528656286572865828659286602866128662286632866428665286662866728668286692867028671286722867328674286752867628677286782867928680286812868228683286842868528686286872868828689286902869128692286932869428695286962869728698286992870028701287022870328704287052870628707287082870928710287112871228713287142871528716287172871828719287202872128722287232872428725287262872728728287292873028731287322873328734287352873628737287382873928740287412874228743287442874528746287472874828749287502875128752287532875428755287562875728758287592876028761287622876328764287652876628767287682876928770287712877228773287742877528776287772877828779287802878128782287832878428785287862878728788287892879028791287922879328794287952879628797287982879928800288012880228803288042880528806288072880828809288102881128812288132881428815288162881728818288192882028821288222882328824288252882628827288282882928830288312883228833288342883528836288372883828839288402884128842288432884428845288462884728848288492885028851288522885328854288552885628857288582885928860288612886228863288642886528866288672886828869288702887128872288732887428875288762887728878288792888028881288822888328884288852888628887288882888928890288912889228893288942889528896288972889828899289002890128902289032890428905289062890728908289092891028911289122891328914289152891628917289182891928920289212892228923289242892528926289272892828929289302893128932289332893428935289362893728938289392894028941289422894328944289452894628947289482894928950289512895228953289542895528956289572895828959289602896128962289632896428965289662896728968289692897028971289722897328974289752897628977289782897928980289812898228983289842898528986289872898828989289902899128992289932899428995289962899728998289992900029001290022900329004290052900629007290082900929010290112901229013290142901529016290172901829019290202902129022290232902429025290262902729028290292903029031290322903329034290352903629037290382903929040290412904229043290442904529046290472904829049290502905129052290532905429055290562905729058290592906029061290622906329064290652906629067290682906929070290712907229073290742907529076290772907829079290802908129082290832908429085290862908729088290892909029091290922909329094290952909629097290982909929100291012910229103291042910529106291072910829109291102911129112291132911429115291162911729118291192912029121291222912329124291252912629127291282912929130291312913229133291342913529136291372913829139291402914129142291432914429145291462914729148291492915029151291522915329154291552915629157291582915929160291612916229163291642916529166291672916829169291702917129172291732917429175291762917729178291792918029181291822918329184291852918629187291882918929190291912919229193291942919529196291972919829199292002920129202292032920429205292062920729208292092921029211292122921329214292152921629217292182921929220292212922229223292242922529226292272922829229292302923129232292332923429235292362923729238292392924029241292422924329244292452924629247292482924929250292512925229253292542925529256292572925829259292602926129262292632926429265292662926729268292692927029271292722927329274292752927629277292782927929280292812928229283292842928529286292872928829289292902929129292292932929429295292962929729298292992930029301293022930329304293052930629307293082930929310293112931229313293142931529316293172931829319293202932129322293232932429325293262932729328293292933029331293322933329334293352933629337293382933929340293412934229343293442934529346293472934829349293502935129352293532935429355293562935729358293592936029361293622936329364293652936629367293682936929370293712937229373293742937529376293772937829379293802938129382293832938429385293862938729388293892939029391293922939329394293952939629397293982939929400294012940229403294042940529406294072940829409294102941129412294132941429415294162941729418294192942029421294222942329424294252942629427294282942929430294312943229433294342943529436294372943829439294402944129442294432944429445294462944729448294492945029451294522945329454294552945629457294582945929460294612946229463294642946529466294672946829469294702947129472294732947429475294762947729478294792948029481294822948329484294852948629487294882948929490294912949229493294942949529496294972949829499295002950129502295032950429505295062950729508295092951029511295122951329514295152951629517295182951929520295212952229523295242952529526295272952829529295302953129532295332953429535295362953729538295392954029541295422954329544295452954629547295482954929550295512955229553295542955529556295572955829559295602956129562295632956429565295662956729568295692957029571295722957329574295752957629577295782957929580295812958229583295842958529586295872958829589295902959129592295932959429595295962959729598295992960029601296022960329604296052960629607296082960929610296112961229613296142961529616296172961829619296202962129622296232962429625296262962729628296292963029631296322963329634296352963629637296382963929640296412964229643296442964529646296472964829649296502965129652296532965429655296562965729658296592966029661296622966329664296652966629667296682966929670296712967229673296742967529676296772967829679296802968129682296832968429685296862968729688296892969029691296922969329694296952969629697296982969929700297012970229703297042970529706297072970829709297102971129712297132971429715297162971729718297192972029721297222972329724297252972629727297282972929730297312973229733297342973529736297372973829739297402974129742297432974429745297462974729748297492975029751297522975329754297552975629757297582975929760297612976229763297642976529766297672976829769297702977129772297732977429775297762977729778297792978029781297822978329784297852978629787297882978929790297912979229793297942979529796297972979829799298002980129802298032980429805298062980729808298092981029811298122981329814298152981629817298182981929820298212982229823298242982529826298272982829829298302983129832298332983429835298362983729838298392984029841298422984329844298452984629847298482984929850298512985229853298542985529856298572985829859298602986129862
  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://www.muchinfo.cn",
  18. "contact": {},
  19. "license": {},
  20. "version": "{{.Version}}"
  21. },
  22. "host": "{{.Host}}",
  23. "basePath": "{{.BasePath}}",
  24. "paths": {
  25. "/CPTrade/QueryCPTradeMyBidInfos": {
  26. "get": {
  27. "security": [
  28. {
  29. "ApiKeyAuth": []
  30. }
  31. ],
  32. "produces": [
  33. "application/json"
  34. ],
  35. "tags": [
  36. "产能预售"
  37. ],
  38. "summary": "查询产能预售我的出价信息",
  39. "parameters": [
  40. {
  41. "type": "integer",
  42. "description": "资金账户",
  43. "name": "accountid",
  44. "in": "query",
  45. "required": true
  46. },
  47. {
  48. "type": "integer",
  49. "description": "预售市场ID",
  50. "name": "marketid",
  51. "in": "query"
  52. },
  53. {
  54. "type": "integer",
  55. "description": "预售商品ID",
  56. "name": "goodsid",
  57. "in": "query"
  58. }
  59. ],
  60. "responses": {
  61. "200": {
  62. "description": "OK",
  63. "schema": {
  64. "$ref": "#/definitions/cptrade.QueryCPTradeMyBidRsp"
  65. }
  66. },
  67. "500": {
  68. "description": "Internal Server Error",
  69. "schema": {
  70. "$ref": "#/definitions/app.Response"
  71. }
  72. }
  73. }
  74. }
  75. },
  76. "/CPTrade/QueryCPTradeOrderDetail": {
  77. "get": {
  78. "security": [
  79. {
  80. "ApiKeyAuth": []
  81. }
  82. ],
  83. "produces": [
  84. "application/json"
  85. ],
  86. "tags": [
  87. "产能预售"
  88. ],
  89. "summary": "查询产能预售委托单信息",
  90. "parameters": [
  91. {
  92. "type": "integer",
  93. "description": "预售商品ID",
  94. "name": "goodsid",
  95. "in": "query"
  96. },
  97. {
  98. "type": "integer",
  99. "description": "预售市场ID",
  100. "name": "marketid",
  101. "in": "query"
  102. },
  103. {
  104. "type": "string",
  105. "description": "预售商品ID列表 - 格式:1,2,3",
  106. "name": "goodsids",
  107. "in": "query"
  108. }
  109. ],
  110. "responses": {
  111. "200": {
  112. "description": "OK",
  113. "schema": {
  114. "$ref": "#/definitions/cptrade.QueryCPTradeOrderDetailRsq"
  115. }
  116. },
  117. "500": {
  118. "description": "Internal Server Error",
  119. "schema": {
  120. "$ref": "#/definitions/app.Response"
  121. }
  122. }
  123. }
  124. }
  125. },
  126. "/CPTrade/QueryMyCPTradeGoods": {
  127. "get": {
  128. "security": [
  129. {
  130. "ApiKeyAuth": []
  131. }
  132. ],
  133. "produces": [
  134. "application/json"
  135. ],
  136. "tags": [
  137. "产能预售"
  138. ],
  139. "summary": "查询我的预售信息",
  140. "parameters": [
  141. {
  142. "type": "integer",
  143. "description": "资金账户",
  144. "name": "accountid",
  145. "in": "query",
  146. "required": true
  147. }
  148. ],
  149. "responses": {
  150. "200": {
  151. "description": "OK",
  152. "schema": {
  153. "$ref": "#/definitions/cptrade.QueryMyCPTradeGoodsRsp"
  154. }
  155. },
  156. "500": {
  157. "description": "Internal Server Error",
  158. "schema": {
  159. "$ref": "#/definitions/app.Response"
  160. }
  161. }
  162. }
  163. }
  164. },
  165. "/CPTrade/QueryPositionCancel": {
  166. "get": {
  167. "security": [
  168. {
  169. "ApiKeyAuth": []
  170. }
  171. ],
  172. "produces": [
  173. "application/json"
  174. ],
  175. "tags": [
  176. "产能预售"
  177. ],
  178. "summary": "查询远期订单注销申请信息",
  179. "parameters": [
  180. {
  181. "type": "integer",
  182. "description": "账户ID",
  183. "name": "userid",
  184. "in": "query",
  185. "required": true
  186. },
  187. {
  188. "type": "integer",
  189. "description": "注销ID",
  190. "name": "cancelid",
  191. "in": "query"
  192. },
  193. {
  194. "type": "integer",
  195. "description": "资金账户ID",
  196. "name": "accountid",
  197. "in": "query"
  198. }
  199. ],
  200. "responses": {
  201. "200": {
  202. "description": "OK",
  203. "schema": {
  204. "$ref": "#/definitions/cptrade.Cptradepositioncancel"
  205. }
  206. },
  207. "500": {
  208. "description": "Internal Server Error",
  209. "schema": {
  210. "$ref": "#/definitions/app.Response"
  211. }
  212. }
  213. }
  214. }
  215. },
  216. "/CPTrade/QueryPreasleApply": {
  217. "get": {
  218. "security": [
  219. {
  220. "ApiKeyAuth": []
  221. }
  222. ],
  223. "produces": [
  224. "application/json"
  225. ],
  226. "tags": [
  227. "产能预售"
  228. ],
  229. "summary": "查询产能预售申请信息",
  230. "parameters": [
  231. {
  232. "type": "integer",
  233. "description": "账户ID",
  234. "name": "userid",
  235. "in": "query",
  236. "required": true
  237. },
  238. {
  239. "type": "integer",
  240. "description": "申请ID",
  241. "name": "applyid",
  242. "in": "query"
  243. },
  244. {
  245. "type": "integer",
  246. "description": "资金账户ID",
  247. "name": "accountid",
  248. "in": "query"
  249. }
  250. ],
  251. "responses": {
  252. "200": {
  253. "description": "OK",
  254. "schema": {
  255. "$ref": "#/definitions/cptrade.Cptradepresaleapply"
  256. }
  257. },
  258. "500": {
  259. "description": "Internal Server Error",
  260. "schema": {
  261. "$ref": "#/definitions/app.Response"
  262. }
  263. }
  264. }
  265. }
  266. },
  267. "/CPTrade/QueryPresaleGoodsEx": {
  268. "get": {
  269. "security": [
  270. {
  271. "ApiKeyAuth": []
  272. }
  273. ],
  274. "produces": [
  275. "application/json"
  276. ],
  277. "tags": [
  278. "产能预售"
  279. ],
  280. "summary": "查询产能预售商品扩展信息",
  281. "parameters": [
  282. {
  283. "type": "integer",
  284. "description": "预售商品ID",
  285. "name": "goodsid",
  286. "in": "query"
  287. },
  288. {
  289. "type": "integer",
  290. "description": "预售市场ID",
  291. "name": "marketid",
  292. "in": "query"
  293. },
  294. {
  295. "type": "integer",
  296. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  297. "name": "presalemode",
  298. "in": "query"
  299. },
  300. {
  301. "type": "string",
  302. "description": "预售商品ID列表 - 格式:1,2,3",
  303. "name": "goodsids",
  304. "in": "query"
  305. },
  306. {
  307. "type": "string",
  308. "description": "预售商品代码",
  309. "name": "goodscode",
  310. "in": "query"
  311. }
  312. ],
  313. "responses": {
  314. "200": {
  315. "description": "OK",
  316. "schema": {
  317. "$ref": "#/definitions/cptrade.QueryPresaleGoodsExRsp"
  318. }
  319. },
  320. "500": {
  321. "description": "Internal Server Error",
  322. "schema": {
  323. "$ref": "#/definitions/app.Response"
  324. }
  325. }
  326. }
  327. }
  328. },
  329. "/CPTrade/QueryUserGoodsData": {
  330. "get": {
  331. "security": [
  332. {
  333. "ApiKeyAuth": []
  334. }
  335. ],
  336. "produces": [
  337. "application/json"
  338. ],
  339. "tags": [
  340. "产能预售"
  341. ],
  342. "summary": "查询远期订单信息",
  343. "parameters": [
  344. {
  345. "type": "integer",
  346. "description": "资金账户ID",
  347. "name": "accountid",
  348. "in": "query",
  349. "required": true
  350. }
  351. ],
  352. "responses": {
  353. "200": {
  354. "description": "OK",
  355. "schema": {
  356. "$ref": "#/definitions/cptrade.Cptradeusergoodsdata"
  357. }
  358. },
  359. "500": {
  360. "description": "Internal Server Error",
  361. "schema": {
  362. "$ref": "#/definitions/app.Response"
  363. }
  364. }
  365. }
  366. }
  367. },
  368. "/Common/GetAllEnums": {
  369. "get": {
  370. "description": "autoid传入后则返回这个ID之后的数据;如不传则返回所有",
  371. "produces": [
  372. "application/json"
  373. ],
  374. "tags": [
  375. "通用服务"
  376. ],
  377. "summary": "获取所有枚举信息",
  378. "parameters": [
  379. {
  380. "type": "integer",
  381. "description": "起始自增ID",
  382. "name": "autoid",
  383. "in": "query"
  384. }
  385. ],
  386. "responses": {
  387. "200": {
  388. "description": "OK",
  389. "schema": {
  390. "$ref": "#/definitions/models.Enumdicitem"
  391. }
  392. },
  393. "500": {
  394. "description": "Internal Server Error",
  395. "schema": {
  396. "$ref": "#/definitions/app.Response"
  397. }
  398. }
  399. }
  400. }
  401. },
  402. "/Common/GetClientMenus": {
  403. "get": {
  404. "security": [
  405. {
  406. "ApiKeyAuth": []
  407. }
  408. ],
  409. "produces": [
  410. "application/json"
  411. ],
  412. "tags": [
  413. "通用服务"
  414. ],
  415. "summary": "获取交易端菜单",
  416. "parameters": [
  417. {
  418. "type": "integer",
  419. "description": "登录账号",
  420. "name": "loginID",
  421. "in": "query",
  422. "required": true
  423. },
  424. {
  425. "type": "integer",
  426. "description": "终端类型,0:PC 1:Mobile",
  427. "name": "clientType",
  428. "in": "query"
  429. }
  430. ],
  431. "responses": {
  432. "200": {
  433. "description": "OK",
  434. "schema": {
  435. "type": "array",
  436. "items": {
  437. "$ref": "#/definitions/common.ClientMenu"
  438. }
  439. }
  440. },
  441. "500": {
  442. "description": "Internal Server Error",
  443. "schema": {
  444. "$ref": "#/definitions/app.Response"
  445. }
  446. }
  447. }
  448. }
  449. },
  450. "/Common/GetDivisions": {
  451. "get": {
  452. "produces": [
  453. "application/json"
  454. ],
  455. "tags": [
  456. "通用服务"
  457. ],
  458. "summary": "查询区域信息",
  459. "responses": {
  460. "200": {
  461. "description": "OK",
  462. "schema": {
  463. "$ref": "#/definitions/models.Division"
  464. }
  465. },
  466. "500": {
  467. "description": "Internal Server Error",
  468. "schema": {
  469. "$ref": "#/definitions/app.Response"
  470. }
  471. }
  472. }
  473. }
  474. },
  475. "/Common/GetServerTime": {
  476. "get": {
  477. "produces": [
  478. "application/json"
  479. ],
  480. "tags": [
  481. "通用服务"
  482. ],
  483. "summary": "获取服务器时间",
  484. "responses": {
  485. "200": {
  486. "description": "OK",
  487. "schema": {
  488. "$ref": "#/definitions/app.Response"
  489. }
  490. },
  491. "500": {
  492. "description": "Internal Server Error",
  493. "schema": {
  494. "$ref": "#/definitions/app.Response"
  495. }
  496. }
  497. }
  498. }
  499. },
  500. "/Common/NoticeReaded": {
  501. "post": {
  502. "security": [
  503. {
  504. "ApiKeyAuth": []
  505. }
  506. ],
  507. "produces": [
  508. "application/json"
  509. ],
  510. "tags": [
  511. "通用服务"
  512. ],
  513. "summary": "通知公告设置已读请求",
  514. "parameters": [
  515. {
  516. "type": "integer",
  517. "description": "登录账号",
  518. "name": "loginID",
  519. "in": "query",
  520. "required": true
  521. },
  522. {
  523. "type": "integer",
  524. "description": "通知公告ID",
  525. "name": "noticeID",
  526. "in": "query",
  527. "required": true
  528. }
  529. ],
  530. "responses": {
  531. "200": {
  532. "description": "OK",
  533. "schema": {
  534. "$ref": "#/definitions/app.Response"
  535. }
  536. },
  537. "500": {
  538. "description": "Internal Server Error",
  539. "schema": {
  540. "$ref": "#/definitions/app.Response"
  541. }
  542. }
  543. }
  544. }
  545. },
  546. "/Common/QueryErrorInfos": {
  547. "get": {
  548. "description": "如果传入rowNumber,则返回此rowNumber后的数据",
  549. "produces": [
  550. "application/json"
  551. ],
  552. "tags": [
  553. "通用服务"
  554. ],
  555. "summary": "获取数据库错误信息",
  556. "parameters": [
  557. {
  558. "type": "string",
  559. "description": "起始行号前索引",
  560. "name": "rowNumber",
  561. "in": "query"
  562. }
  563. ],
  564. "responses": {
  565. "200": {
  566. "description": "OK",
  567. "schema": {
  568. "$ref": "#/definitions/models.QueryErrorInfosRsp"
  569. }
  570. },
  571. "500": {
  572. "description": "Internal Server Error",
  573. "schema": {
  574. "$ref": "#/definitions/app.Response"
  575. }
  576. }
  577. }
  578. }
  579. },
  580. "/Common/QueryImageConfigs": {
  581. "get": {
  582. "produces": [
  583. "application/json"
  584. ],
  585. "tags": [
  586. "通用服务"
  587. ],
  588. "summary": "查询轮播图配置信息",
  589. "parameters": [
  590. {
  591. "type": "integer",
  592. "description": "用户id",
  593. "name": "userId",
  594. "in": "query"
  595. },
  596. {
  597. "type": "integer",
  598. "description": "类型 - 1:App首页轮播 2:我的",
  599. "name": "imageType",
  600. "in": "query"
  601. }
  602. ],
  603. "responses": {
  604. "200": {
  605. "description": "OK",
  606. "schema": {
  607. "$ref": "#/definitions/common.QueryImageConfigsRsp"
  608. }
  609. },
  610. "500": {
  611. "description": "Internal Server Error",
  612. "schema": {
  613. "$ref": "#/definitions/app.Response"
  614. }
  615. }
  616. }
  617. }
  618. },
  619. "/Common/QueryNotice": {
  620. "get": {
  621. "security": [
  622. {
  623. "ApiKeyAuth": []
  624. }
  625. ],
  626. "produces": [
  627. "application/json"
  628. ],
  629. "tags": [
  630. "通用服务"
  631. ],
  632. "summary": "通知公告系统消息查询",
  633. "parameters": [
  634. {
  635. "type": "integer",
  636. "description": "页码",
  637. "name": "page",
  638. "in": "query"
  639. },
  640. {
  641. "type": "integer",
  642. "description": "每页条数",
  643. "name": "pagesize",
  644. "in": "query"
  645. },
  646. {
  647. "type": "integer",
  648. "description": "登录账号",
  649. "name": "loginID",
  650. "in": "query",
  651. "required": true
  652. },
  653. {
  654. "type": "integer",
  655. "description": "消息类型 - 1:公告通知 2:系统消息",
  656. "name": "msgType",
  657. "in": "query"
  658. },
  659. {
  660. "type": "boolean",
  661. "description": "是否只获取未读信息",
  662. "name": "onlyUnRead",
  663. "in": "query"
  664. },
  665. {
  666. "type": "integer",
  667. "description": "自增ID,传入后会返回这个ID后面的记录",
  668. "name": "lastID",
  669. "in": "query"
  670. }
  671. ],
  672. "responses": {
  673. "200": {
  674. "description": "OK",
  675. "schema": {
  676. "$ref": "#/definitions/common.QueryNoticeRsp"
  677. }
  678. },
  679. "500": {
  680. "description": "Internal Server Error",
  681. "schema": {
  682. "$ref": "#/definitions/app.Response"
  683. }
  684. }
  685. }
  686. }
  687. },
  688. "/Common/QueryProvincesAndCities": {
  689. "get": {
  690. "produces": [
  691. "application/json"
  692. ],
  693. "tags": [
  694. "通用服务"
  695. ],
  696. "summary": "查询省市信息(不包括区)",
  697. "parameters": [
  698. {
  699. "type": "integer",
  700. "description": "省ID",
  701. "name": "provinceID",
  702. "in": "query"
  703. }
  704. ],
  705. "responses": {
  706. "200": {
  707. "description": "OK",
  708. "schema": {
  709. "$ref": "#/definitions/common.QueryProvincesAndCitiesRsp"
  710. }
  711. },
  712. "500": {
  713. "description": "Internal Server Error",
  714. "schema": {
  715. "$ref": "#/definitions/app.Response"
  716. }
  717. }
  718. }
  719. }
  720. },
  721. "/Common/QueryTableDefine": {
  722. "get": {
  723. "produces": [
  724. "application/json"
  725. ],
  726. "tags": [
  727. "通用服务"
  728. ],
  729. "summary": "查询交易端列表头信息",
  730. "parameters": [
  731. {
  732. "type": "string",
  733. "description": "表key",
  734. "name": "tableKey",
  735. "in": "query"
  736. },
  737. {
  738. "type": "integer",
  739. "description": "列表类型 - 1:管理端 2:H5终端 3:移动终端",
  740. "name": "tableType",
  741. "in": "query"
  742. }
  743. ],
  744. "responses": {
  745. "200": {
  746. "description": "OK",
  747. "schema": {
  748. "$ref": "#/definitions/common.QueryTableDefineRsp"
  749. }
  750. },
  751. "500": {
  752. "description": "Internal Server Error",
  753. "schema": {
  754. "$ref": "#/definitions/app.Response"
  755. }
  756. }
  757. }
  758. }
  759. },
  760. "/Common/QueryTraderMenu": {
  761. "get": {
  762. "produces": [
  763. "application/json"
  764. ],
  765. "tags": [
  766. "通用服务"
  767. ],
  768. "summary": "查询交易端菜单",
  769. "parameters": [
  770. {
  771. "type": "integer",
  772. "description": "登录账号",
  773. "name": "loginid",
  774. "in": "query",
  775. "required": true
  776. }
  777. ],
  778. "responses": {
  779. "200": {
  780. "description": "OK",
  781. "schema": {
  782. "$ref": "#/definitions/common.QueryTraderMenuRsp"
  783. }
  784. },
  785. "500": {
  786. "description": "Internal Server Error",
  787. "schema": {
  788. "$ref": "#/definitions/app.Response"
  789. }
  790. }
  791. }
  792. }
  793. },
  794. "/Delivery/QueryDeliveryRelation": {
  795. "get": {
  796. "security": [
  797. {
  798. "ApiKeyAuth": []
  799. }
  800. ],
  801. "produces": [
  802. "application/json"
  803. ],
  804. "tags": [
  805. "交割服务"
  806. ],
  807. "summary": "查询商品交割关系表",
  808. "parameters": [
  809. {
  810. "type": "integer",
  811. "description": "商品ID",
  812. "name": "goodsid",
  813. "in": "query"
  814. },
  815. {
  816. "type": "integer",
  817. "description": "品种ID",
  818. "name": "deliverygoodsid",
  819. "in": "query"
  820. },
  821. {
  822. "type": "integer",
  823. "description": "市场ID",
  824. "name": "marketid",
  825. "in": "query"
  826. }
  827. ],
  828. "responses": {
  829. "200": {
  830. "description": "OK",
  831. "schema": {
  832. "$ref": "#/definitions/delivery.QueryDeliveryRelationRsp"
  833. }
  834. },
  835. "500": {
  836. "description": "Internal Server Error",
  837. "schema": {
  838. "$ref": "#/definitions/app.Response"
  839. }
  840. }
  841. }
  842. }
  843. },
  844. "/Ermcp/GetErmcpGoods": {
  845. "get": {
  846. "security": [
  847. {
  848. "ApiKeyAuth": []
  849. }
  850. ],
  851. "produces": [
  852. "application/json"
  853. ],
  854. "tags": [
  855. "企业风险管理(app)"
  856. ],
  857. "summary": "查询企业风管期货商品信息",
  858. "parameters": [
  859. {
  860. "type": "string",
  861. "description": "最后修改时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  862. "name": "lastUpdateTime",
  863. "in": "query"
  864. }
  865. ],
  866. "responses": {
  867. "200": {
  868. "description": "OK",
  869. "schema": {
  870. "$ref": "#/definitions/models.ErmcpGoods"
  871. }
  872. },
  873. "500": {
  874. "description": "Internal Server Error",
  875. "schema": {
  876. "$ref": "#/definitions/app.Response"
  877. }
  878. }
  879. }
  880. }
  881. },
  882. "/Ermcp/GetErmcpGoodsSortByPosition": {
  883. "get": {
  884. "security": [
  885. {
  886. "ApiKeyAuth": []
  887. }
  888. ],
  889. "produces": [
  890. "application/json"
  891. ],
  892. "tags": [
  893. "企业风险管理(app)"
  894. ],
  895. "summary": "查询企业风管期货主力、次主力商品信息",
  896. "parameters": [
  897. {
  898. "type": "string",
  899. "description": "主力: 1; 次主力: 2; 主力+次主力:1,2",
  900. "name": "sortIndex",
  901. "in": "query"
  902. }
  903. ],
  904. "responses": {
  905. "200": {
  906. "description": "OK",
  907. "schema": {
  908. "$ref": "#/definitions/models.Goodssortbypreposition"
  909. }
  910. },
  911. "500": {
  912. "description": "Internal Server Error",
  913. "schema": {
  914. "$ref": "#/definitions/app.Response"
  915. }
  916. }
  917. }
  918. }
  919. },
  920. "/Ermcp/GetErmcpOutAccountStatus": {
  921. "get": {
  922. "security": [
  923. {
  924. "ApiKeyAuth": []
  925. }
  926. ],
  927. "produces": [
  928. "application/json"
  929. ],
  930. "tags": [
  931. "企业风险管理(app)"
  932. ],
  933. "summary": "获取目标登录账号当前对冲账号在线状态",
  934. "parameters": [
  935. {
  936. "type": "integer",
  937. "description": "登录账号",
  938. "name": "loginID",
  939. "in": "query",
  940. "required": true
  941. }
  942. ],
  943. "responses": {
  944. "200": {
  945. "description": "OK",
  946. "schema": {
  947. "$ref": "#/definitions/models.Hedgemarketopenlog"
  948. }
  949. },
  950. "500": {
  951. "description": "Internal Server Error",
  952. "schema": {
  953. "$ref": "#/definitions/app.Response"
  954. }
  955. }
  956. }
  957. }
  958. },
  959. "/Ermcp/GetErmcpRoleFuncMenuLists": {
  960. "get": {
  961. "security": [
  962. {
  963. "ApiKeyAuth": []
  964. }
  965. ],
  966. "produces": [
  967. "application/json"
  968. ],
  969. "tags": [
  970. "企业风险管理(app)"
  971. ],
  972. "summary": "获取企业风管终端权限",
  973. "parameters": [
  974. {
  975. "type": "integer",
  976. "description": "登录账号",
  977. "name": "loginID",
  978. "in": "query",
  979. "required": true
  980. }
  981. ],
  982. "responses": {
  983. "200": {
  984. "description": "OK",
  985. "schema": {
  986. "$ref": "#/definitions/models.Funcmenulist"
  987. }
  988. },
  989. "500": {
  990. "description": "Internal Server Error",
  991. "schema": {
  992. "$ref": "#/definitions/app.Response"
  993. }
  994. }
  995. }
  996. }
  997. },
  998. "/Ermcp/QueryAccMgrBizGroupSet": {
  999. "get": {
  1000. "security": [
  1001. {
  1002. "ApiKeyAuth": []
  1003. }
  1004. ],
  1005. "produces": [
  1006. "application/json"
  1007. ],
  1008. "tags": [
  1009. "企业风险管理(app)"
  1010. ],
  1011. "summary": "查询业务类型分组(账户管理/账户设置)",
  1012. "parameters": [
  1013. {
  1014. "type": "integer",
  1015. "description": "用户ID",
  1016. "name": "userid",
  1017. "in": "query",
  1018. "required": true
  1019. },
  1020. {
  1021. "type": "integer",
  1022. "description": "现货商品id",
  1023. "name": "deliverygoodsid",
  1024. "in": "query"
  1025. }
  1026. ],
  1027. "responses": {
  1028. "200": {
  1029. "description": "OK",
  1030. "schema": {
  1031. "type": "array",
  1032. "items": {
  1033. "$ref": "#/definitions/models.ErmcpBizGroupEx"
  1034. }
  1035. }
  1036. },
  1037. "500": {
  1038. "description": "Internal Server Error",
  1039. "schema": {
  1040. "$ref": "#/definitions/app.Response"
  1041. }
  1042. }
  1043. }
  1044. }
  1045. },
  1046. "/Ermcp/QueryAccMgrLoginUser": {
  1047. "get": {
  1048. "security": [
  1049. {
  1050. "ApiKeyAuth": []
  1051. }
  1052. ],
  1053. "produces": [
  1054. "application/json"
  1055. ],
  1056. "tags": [
  1057. "企业风险管理(app)"
  1058. ],
  1059. "summary": "查询账户管理登录账号(账户管理/登录账号)",
  1060. "parameters": [
  1061. {
  1062. "type": "integer",
  1063. "description": "用户ID",
  1064. "name": "userid",
  1065. "in": "query",
  1066. "required": true
  1067. },
  1068. {
  1069. "type": "integer",
  1070. "description": "用户类型 2-机构 7-企业成员",
  1071. "name": "usertype",
  1072. "in": "query"
  1073. },
  1074. {
  1075. "type": "integer",
  1076. "description": "查询类型 1-业务账户 2-交易账户 3-管理账户",
  1077. "name": "querytype",
  1078. "in": "query",
  1079. "required": true
  1080. }
  1081. ],
  1082. "responses": {
  1083. "200": {
  1084. "description": "OK",
  1085. "schema": {
  1086. "type": "array",
  1087. "items": {
  1088. "$ref": "#/definitions/models.ErmcpLoginUserEx"
  1089. }
  1090. }
  1091. },
  1092. "500": {
  1093. "description": "Internal Server Error",
  1094. "schema": {
  1095. "$ref": "#/definitions/app.Response"
  1096. }
  1097. }
  1098. }
  1099. }
  1100. },
  1101. "/Ermcp/QueryAccMgrMainAccountInfo": {
  1102. "get": {
  1103. "security": [
  1104. {
  1105. "ApiKeyAuth": []
  1106. }
  1107. ],
  1108. "produces": [
  1109. "application/json"
  1110. ],
  1111. "tags": [
  1112. "企业风险管理(app)"
  1113. ],
  1114. "summary": "查询账户管理主账号详情(账户管理/期货主账号详情)",
  1115. "parameters": [
  1116. {
  1117. "type": "integer",
  1118. "description": "用户ID",
  1119. "name": "userid",
  1120. "in": "query"
  1121. },
  1122. {
  1123. "type": "integer",
  1124. "description": "主账号id",
  1125. "name": "accountid",
  1126. "in": "query"
  1127. }
  1128. ],
  1129. "responses": {
  1130. "200": {
  1131. "description": "OK",
  1132. "schema": {
  1133. "type": "array",
  1134. "items": {
  1135. "$ref": "#/definitions/models.MainAccountInfo"
  1136. }
  1137. }
  1138. },
  1139. "500": {
  1140. "description": "Internal Server Error",
  1141. "schema": {
  1142. "$ref": "#/definitions/app.Response"
  1143. }
  1144. }
  1145. }
  1146. }
  1147. },
  1148. "/Ermcp/QueryAccMgrRole": {
  1149. "get": {
  1150. "security": [
  1151. {
  1152. "ApiKeyAuth": []
  1153. }
  1154. ],
  1155. "produces": [
  1156. "application/json"
  1157. ],
  1158. "tags": [
  1159. "企业风险管理(app)"
  1160. ],
  1161. "summary": "查询账户管理角色设置(账户管理/角色设置)",
  1162. "parameters": [
  1163. {
  1164. "type": "integer",
  1165. "description": "用户ID",
  1166. "name": "userid",
  1167. "in": "query",
  1168. "required": true
  1169. }
  1170. ],
  1171. "responses": {
  1172. "200": {
  1173. "description": "OK",
  1174. "schema": {
  1175. "type": "array",
  1176. "items": {
  1177. "$ref": "#/definitions/models.ErmcpRole"
  1178. }
  1179. }
  1180. },
  1181. "500": {
  1182. "description": "Internal Server Error",
  1183. "schema": {
  1184. "$ref": "#/definitions/app.Response"
  1185. }
  1186. }
  1187. }
  1188. }
  1189. },
  1190. "/Ermcp/QueryAccMgrRoleMenu": {
  1191. "get": {
  1192. "security": [
  1193. {
  1194. "ApiKeyAuth": []
  1195. }
  1196. ],
  1197. "produces": [
  1198. "application/json"
  1199. ],
  1200. "tags": [
  1201. "企业风险管理(app)"
  1202. ],
  1203. "summary": "查询账户管理角色详情(账户管理/角色设置/角色详情)",
  1204. "parameters": [
  1205. {
  1206. "type": "integer",
  1207. "description": "用户ID",
  1208. "name": "userid",
  1209. "in": "query",
  1210. "required": true
  1211. },
  1212. {
  1213. "type": "string",
  1214. "description": "角色id(可多个,逗号隔开)",
  1215. "name": "roleid",
  1216. "in": "query"
  1217. }
  1218. ],
  1219. "responses": {
  1220. "200": {
  1221. "description": "OK",
  1222. "schema": {
  1223. "type": "array",
  1224. "items": {
  1225. "$ref": "#/definitions/models.ErmcpRoleMenuEx"
  1226. }
  1227. }
  1228. },
  1229. "500": {
  1230. "description": "Internal Server Error",
  1231. "schema": {
  1232. "$ref": "#/definitions/app.Response"
  1233. }
  1234. }
  1235. }
  1236. }
  1237. },
  1238. "/Ermcp/QueryAccMgrTaAccountInfo": {
  1239. "get": {
  1240. "security": [
  1241. {
  1242. "ApiKeyAuth": []
  1243. }
  1244. ],
  1245. "produces": [
  1246. "application/json"
  1247. ],
  1248. "tags": [
  1249. "企业风险管理(app)"
  1250. ],
  1251. "summary": "查询账户管理授信(账户管理/账户设置/授信)",
  1252. "parameters": [
  1253. {
  1254. "type": "integer",
  1255. "description": "用户ID",
  1256. "name": "userid",
  1257. "in": "query",
  1258. "required": true
  1259. },
  1260. {
  1261. "type": "integer",
  1262. "description": "账号id",
  1263. "name": "accountid",
  1264. "in": "query"
  1265. }
  1266. ],
  1267. "responses": {
  1268. "200": {
  1269. "description": "OK",
  1270. "schema": {
  1271. "type": "array",
  1272. "items": {
  1273. "$ref": "#/definitions/models.ErmcpTaAccountInfo"
  1274. }
  1275. }
  1276. },
  1277. "500": {
  1278. "description": "Internal Server Error",
  1279. "schema": {
  1280. "$ref": "#/definitions/app.Response"
  1281. }
  1282. }
  1283. }
  1284. }
  1285. },
  1286. "/Ermcp/QueryAccMgrTaaccount": {
  1287. "get": {
  1288. "security": [
  1289. {
  1290. "ApiKeyAuth": []
  1291. }
  1292. ],
  1293. "produces": [
  1294. "application/json"
  1295. ],
  1296. "tags": [
  1297. "企业风险管理(app)"
  1298. ],
  1299. "summary": "查询账户管理期货账号(账户管理/期货账号)",
  1300. "parameters": [
  1301. {
  1302. "type": "integer",
  1303. "description": "用户ID",
  1304. "name": "userid",
  1305. "in": "query",
  1306. "required": true
  1307. }
  1308. ],
  1309. "responses": {
  1310. "200": {
  1311. "description": "OK",
  1312. "schema": {
  1313. "type": "array",
  1314. "items": {
  1315. "$ref": "#/definitions/models.ErmcpTaAccountEx"
  1316. }
  1317. }
  1318. },
  1319. "500": {
  1320. "description": "Internal Server Error",
  1321. "schema": {
  1322. "$ref": "#/definitions/app.Response"
  1323. }
  1324. }
  1325. }
  1326. }
  1327. },
  1328. "/Ermcp/QueryAvaildGoodsGroup": {
  1329. "get": {
  1330. "security": [
  1331. {
  1332. "ApiKeyAuth": []
  1333. }
  1334. ],
  1335. "produces": [
  1336. "application/json"
  1337. ],
  1338. "tags": [
  1339. "企业风险管理(app)"
  1340. ],
  1341. "summary": "查询可配置期货品种(菜单:商品信息/现货商品/新增现货商品/新增套保品种)",
  1342. "parameters": [
  1343. {
  1344. "type": "integer",
  1345. "description": "所属机构ID",
  1346. "name": "userid",
  1347. "in": "query",
  1348. "required": true
  1349. }
  1350. ],
  1351. "responses": {
  1352. "200": {
  1353. "description": "OK",
  1354. "schema": {
  1355. "type": "array",
  1356. "items": {
  1357. "$ref": "#/definitions/ermcp.QryAvalidGPRsp"
  1358. }
  1359. }
  1360. },
  1361. "500": {
  1362. "description": "Internal Server Error",
  1363. "schema": {
  1364. "$ref": "#/definitions/app.Response"
  1365. }
  1366. }
  1367. }
  1368. }
  1369. },
  1370. "/Ermcp/QueryBusinessDj": {
  1371. "get": {
  1372. "security": [
  1373. {
  1374. "ApiKeyAuth": []
  1375. }
  1376. ],
  1377. "produces": [
  1378. "application/json"
  1379. ],
  1380. "tags": [
  1381. "企业风险管理(app)"
  1382. ],
  1383. "summary": "查询业务管理(点价)(对应菜单:业务管理/点价)",
  1384. "parameters": [
  1385. {
  1386. "type": "integer",
  1387. "description": "用户ID",
  1388. "name": "UserId",
  1389. "in": "query",
  1390. "required": true
  1391. },
  1392. {
  1393. "type": "integer",
  1394. "description": "用户类型 2-机构 7-企业成员",
  1395. "name": "usertype",
  1396. "in": "query"
  1397. },
  1398. {
  1399. "type": "string",
  1400. "description": "现货合同ID, 不填则查所有",
  1401. "name": "relatedid",
  1402. "in": "query"
  1403. },
  1404. {
  1405. "type": "string",
  1406. "description": "申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  1407. "name": "applystatus",
  1408. "in": "query"
  1409. }
  1410. ],
  1411. "responses": {
  1412. "200": {
  1413. "description": "OK",
  1414. "schema": {
  1415. "type": "array",
  1416. "items": {
  1417. "$ref": "#/definitions/ermcp.QryBusinessDjRsp"
  1418. }
  1419. }
  1420. },
  1421. "500": {
  1422. "description": "Internal Server Error",
  1423. "schema": {
  1424. "$ref": "#/definitions/app.Response"
  1425. }
  1426. }
  1427. }
  1428. }
  1429. },
  1430. "/Ermcp/QueryBusinessFp": {
  1431. "get": {
  1432. "security": [
  1433. {
  1434. "ApiKeyAuth": []
  1435. }
  1436. ],
  1437. "produces": [
  1438. "application/json"
  1439. ],
  1440. "tags": [
  1441. "企业风险管理(app)"
  1442. ],
  1443. "summary": "查询财务管理(发票)(对应菜单:财务管理/发票)",
  1444. "parameters": [
  1445. {
  1446. "type": "integer",
  1447. "description": "用户ID",
  1448. "name": "UserId",
  1449. "in": "query",
  1450. "required": true
  1451. },
  1452. {
  1453. "type": "integer",
  1454. "description": "用户类型 2-机构 7-企业成员",
  1455. "name": "usertype",
  1456. "in": "query"
  1457. },
  1458. {
  1459. "type": "string",
  1460. "description": "现货合同ID, 不填则查所有",
  1461. "name": "relatedid",
  1462. "in": "query"
  1463. },
  1464. {
  1465. "type": "string",
  1466. "description": "申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  1467. "name": "applystatus",
  1468. "in": "query"
  1469. }
  1470. ],
  1471. "responses": {
  1472. "200": {
  1473. "description": "OK",
  1474. "schema": {
  1475. "type": "array",
  1476. "items": {
  1477. "$ref": "#/definitions/ermcp.QryBussinessFpRsp"
  1478. }
  1479. }
  1480. },
  1481. "500": {
  1482. "description": "Internal Server Error",
  1483. "schema": {
  1484. "$ref": "#/definitions/app.Response"
  1485. }
  1486. }
  1487. }
  1488. }
  1489. },
  1490. "/Ermcp/QueryBusinessJs": {
  1491. "get": {
  1492. "security": [
  1493. {
  1494. "ApiKeyAuth": []
  1495. }
  1496. ],
  1497. "produces": [
  1498. "application/json"
  1499. ],
  1500. "tags": [
  1501. "企业风险管理(app)"
  1502. ],
  1503. "summary": "查询业务管理(结算)(对应菜单:业务管理/结算)",
  1504. "parameters": [
  1505. {
  1506. "type": "integer",
  1507. "description": "用户ID",
  1508. "name": "UserId",
  1509. "in": "query",
  1510. "required": true
  1511. },
  1512. {
  1513. "type": "integer",
  1514. "description": "用户类型 2-机构 7-企业成员",
  1515. "name": "usertype",
  1516. "in": "query"
  1517. },
  1518. {
  1519. "type": "string",
  1520. "description": "现货合同ID, 不填则查所有",
  1521. "name": "relatedid",
  1522. "in": "query"
  1523. },
  1524. {
  1525. "type": "string",
  1526. "description": "操作申请id",
  1527. "name": "operateapplyid",
  1528. "in": "query"
  1529. },
  1530. {
  1531. "type": "string",
  1532. "description": "申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  1533. "name": "applystatus",
  1534. "in": "query"
  1535. }
  1536. ],
  1537. "responses": {
  1538. "200": {
  1539. "description": "OK",
  1540. "schema": {
  1541. "type": "array",
  1542. "items": {
  1543. "$ref": "#/definitions/ermcp.QryBussinessJsRsp"
  1544. }
  1545. }
  1546. },
  1547. "500": {
  1548. "description": "Internal Server Error",
  1549. "schema": {
  1550. "$ref": "#/definitions/app.Response"
  1551. }
  1552. }
  1553. }
  1554. }
  1555. },
  1556. "/Ermcp/QueryBusinessJsEx": {
  1557. "get": {
  1558. "security": [
  1559. {
  1560. "ApiKeyAuth": []
  1561. }
  1562. ],
  1563. "produces": [
  1564. "application/json"
  1565. ],
  1566. "tags": [
  1567. "企业风险管理(app)"
  1568. ],
  1569. "summary": "查询业务管理(结算)(对应菜单:业务管理/结算[拆分记录])",
  1570. "parameters": [
  1571. {
  1572. "type": "integer",
  1573. "description": "用户ID",
  1574. "name": "UserId",
  1575. "in": "query",
  1576. "required": true
  1577. },
  1578. {
  1579. "type": "integer",
  1580. "description": "用户类型 2-机构 7-企业成员",
  1581. "name": "usertype",
  1582. "in": "query"
  1583. },
  1584. {
  1585. "type": "string",
  1586. "description": "现货合同ID, 不填则查所有",
  1587. "name": "relatedid",
  1588. "in": "query"
  1589. },
  1590. {
  1591. "type": "string",
  1592. "description": "申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  1593. "name": "applystatus",
  1594. "in": "query"
  1595. }
  1596. ],
  1597. "responses": {
  1598. "200": {
  1599. "description": "OK",
  1600. "schema": {
  1601. "type": "array",
  1602. "items": {
  1603. "$ref": "#/definitions/ermcp.QryBussinessJsExRsp"
  1604. }
  1605. }
  1606. },
  1607. "500": {
  1608. "description": "Internal Server Error",
  1609. "schema": {
  1610. "$ref": "#/definitions/app.Response"
  1611. }
  1612. }
  1613. }
  1614. }
  1615. },
  1616. "/Ermcp/QueryBusinessKx": {
  1617. "get": {
  1618. "security": [
  1619. {
  1620. "ApiKeyAuth": []
  1621. }
  1622. ],
  1623. "produces": [
  1624. "application/json"
  1625. ],
  1626. "tags": [
  1627. "企业风险管理(app)"
  1628. ],
  1629. "summary": "查询财务管理(款项)(对应菜单:财务管理/款项)",
  1630. "parameters": [
  1631. {
  1632. "type": "integer",
  1633. "description": "用户ID",
  1634. "name": "UserId",
  1635. "in": "query",
  1636. "required": true
  1637. },
  1638. {
  1639. "type": "integer",
  1640. "description": "用户类型 2-机构 7-企业成员",
  1641. "name": "usertype",
  1642. "in": "query"
  1643. },
  1644. {
  1645. "type": "string",
  1646. "description": "现货合同ID, 不填则查所有",
  1647. "name": "relatedid",
  1648. "in": "query"
  1649. },
  1650. {
  1651. "type": "string",
  1652. "description": "申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  1653. "name": "applystatus",
  1654. "in": "query"
  1655. }
  1656. ],
  1657. "responses": {
  1658. "200": {
  1659. "description": "OK",
  1660. "schema": {
  1661. "type": "array",
  1662. "items": {
  1663. "$ref": "#/definitions/ermcp.QryBussinessKxRsp"
  1664. }
  1665. }
  1666. },
  1667. "500": {
  1668. "description": "Internal Server Error",
  1669. "schema": {
  1670. "$ref": "#/definitions/app.Response"
  1671. }
  1672. }
  1673. }
  1674. }
  1675. },
  1676. "/Ermcp/QueryChangeLog": {
  1677. "get": {
  1678. "security": [
  1679. {
  1680. "ApiKeyAuth": []
  1681. }
  1682. ],
  1683. "produces": [
  1684. "application/json"
  1685. ],
  1686. "tags": [
  1687. "企业风险管理(app)"
  1688. ],
  1689. "summary": "查询变更记录",
  1690. "parameters": [
  1691. {
  1692. "type": "string",
  1693. "description": "合同ID",
  1694. "name": "RelatedId",
  1695. "in": "query",
  1696. "required": true
  1697. }
  1698. ],
  1699. "responses": {
  1700. "200": {
  1701. "description": "OK",
  1702. "schema": {
  1703. "type": "array",
  1704. "items": {
  1705. "$ref": "#/definitions/ermcp.QryOPLogRsp"
  1706. }
  1707. }
  1708. },
  1709. "500": {
  1710. "description": "Internal Server Error",
  1711. "schema": {
  1712. "$ref": "#/definitions/app.Response"
  1713. }
  1714. }
  1715. }
  1716. }
  1717. },
  1718. "/Ermcp/QueryErmcpHisOrderDetails": {
  1719. "get": {
  1720. "security": [
  1721. {
  1722. "ApiKeyAuth": []
  1723. }
  1724. ],
  1725. "produces": [
  1726. "application/json"
  1727. ],
  1728. "tags": [
  1729. "企业风险管理(app)"
  1730. ],
  1731. "summary": "获取企业风管期货历史委托单信息",
  1732. "parameters": [
  1733. {
  1734. "type": "integer",
  1735. "description": "资金账户ID",
  1736. "name": "accountID",
  1737. "in": "query",
  1738. "required": true
  1739. },
  1740. {
  1741. "type": "string",
  1742. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  1743. "name": "startDate",
  1744. "in": "query"
  1745. },
  1746. {
  1747. "type": "string",
  1748. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  1749. "name": "endDate",
  1750. "in": "query"
  1751. }
  1752. ],
  1753. "responses": {
  1754. "200": {
  1755. "description": "OK",
  1756. "schema": {
  1757. "$ref": "#/definitions/models.QueryHedgeOrderDetailRsp"
  1758. }
  1759. },
  1760. "500": {
  1761. "description": "Internal Server Error",
  1762. "schema": {
  1763. "$ref": "#/definitions/app.Response"
  1764. }
  1765. }
  1766. }
  1767. }
  1768. },
  1769. "/Ermcp/QueryErmcpHisTradeDetails": {
  1770. "get": {
  1771. "security": [
  1772. {
  1773. "ApiKeyAuth": []
  1774. }
  1775. ],
  1776. "produces": [
  1777. "application/json"
  1778. ],
  1779. "tags": [
  1780. "企业风险管理(app)"
  1781. ],
  1782. "summary": "获取企业风管期货历史成交单信息",
  1783. "parameters": [
  1784. {
  1785. "type": "integer",
  1786. "description": "资金账户ID",
  1787. "name": "accountID",
  1788. "in": "query",
  1789. "required": true
  1790. },
  1791. {
  1792. "type": "integer",
  1793. "description": "商品ID",
  1794. "name": "goodsID",
  1795. "in": "query"
  1796. },
  1797. {
  1798. "type": "integer",
  1799. "description": "买卖方向,0:买 1:卖",
  1800. "name": "buyOrSell",
  1801. "in": "query"
  1802. },
  1803. {
  1804. "type": "integer",
  1805. "description": "关联委托单号",
  1806. "name": "orderID",
  1807. "in": "query"
  1808. },
  1809. {
  1810. "type": "string",
  1811. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  1812. "name": "startDate",
  1813. "in": "query"
  1814. },
  1815. {
  1816. "type": "string",
  1817. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  1818. "name": "endDate",
  1819. "in": "query"
  1820. }
  1821. ],
  1822. "responses": {
  1823. "200": {
  1824. "description": "OK",
  1825. "schema": {
  1826. "$ref": "#/definitions/models.QueryHedgeTradeDetailRsp"
  1827. }
  1828. },
  1829. "500": {
  1830. "description": "Internal Server Error",
  1831. "schema": {
  1832. "$ref": "#/definitions/app.Response"
  1833. }
  1834. }
  1835. }
  1836. }
  1837. },
  1838. "/Ermcp/QueryErmcpInnerHolderDetails": {
  1839. "get": {
  1840. "security": [
  1841. {
  1842. "ApiKeyAuth": []
  1843. }
  1844. ],
  1845. "produces": [
  1846. "application/json"
  1847. ],
  1848. "tags": [
  1849. "企业风险管理(app)"
  1850. ],
  1851. "summary": "获取企业风管期货内部持仓单信息",
  1852. "parameters": [
  1853. {
  1854. "type": "integer",
  1855. "description": "资金账户ID",
  1856. "name": "accountID",
  1857. "in": "query",
  1858. "required": true
  1859. },
  1860. {
  1861. "type": "integer",
  1862. "description": "商品ID",
  1863. "name": "goodsID",
  1864. "in": "query"
  1865. },
  1866. {
  1867. "type": "integer",
  1868. "description": "买卖方向,0:买 1:卖",
  1869. "name": "buyOrSell",
  1870. "in": "query"
  1871. }
  1872. ],
  1873. "responses": {
  1874. "200": {
  1875. "description": "OK",
  1876. "schema": {
  1877. "$ref": "#/definitions/models.Hedgeinnerholderdetail"
  1878. }
  1879. },
  1880. "500": {
  1881. "description": "Internal Server Error",
  1882. "schema": {
  1883. "$ref": "#/definitions/app.Response"
  1884. }
  1885. }
  1886. }
  1887. }
  1888. },
  1889. "/Ermcp/QueryErmcpOrderDetails": {
  1890. "get": {
  1891. "security": [
  1892. {
  1893. "ApiKeyAuth": []
  1894. }
  1895. ],
  1896. "produces": [
  1897. "application/json"
  1898. ],
  1899. "tags": [
  1900. "企业风险管理(app)"
  1901. ],
  1902. "summary": "获取企业风管期货委托单信息",
  1903. "parameters": [
  1904. {
  1905. "type": "integer",
  1906. "description": "资金账户ID",
  1907. "name": "accountID",
  1908. "in": "query",
  1909. "required": true
  1910. }
  1911. ],
  1912. "responses": {
  1913. "200": {
  1914. "description": "OK",
  1915. "schema": {
  1916. "$ref": "#/definitions/models.QueryHedgeOrderDetailRsp"
  1917. }
  1918. },
  1919. "500": {
  1920. "description": "Internal Server Error",
  1921. "schema": {
  1922. "$ref": "#/definitions/app.Response"
  1923. }
  1924. }
  1925. }
  1926. }
  1927. },
  1928. "/Ermcp/QueryErmcpTradeDetails": {
  1929. "get": {
  1930. "security": [
  1931. {
  1932. "ApiKeyAuth": []
  1933. }
  1934. ],
  1935. "produces": [
  1936. "application/json"
  1937. ],
  1938. "tags": [
  1939. "企业风险管理(app)"
  1940. ],
  1941. "summary": "获取企业风管期货成交单信息",
  1942. "parameters": [
  1943. {
  1944. "type": "integer",
  1945. "description": "资金账户ID",
  1946. "name": "accountID",
  1947. "in": "query",
  1948. "required": true
  1949. },
  1950. {
  1951. "type": "integer",
  1952. "description": "商品ID",
  1953. "name": "goodsID",
  1954. "in": "query"
  1955. },
  1956. {
  1957. "type": "integer",
  1958. "description": "买卖方向,0:买 1:卖",
  1959. "name": "buyOrSell",
  1960. "in": "query"
  1961. },
  1962. {
  1963. "type": "integer",
  1964. "description": "关联委托单号",
  1965. "name": "orderID",
  1966. "in": "query"
  1967. }
  1968. ],
  1969. "responses": {
  1970. "200": {
  1971. "description": "OK",
  1972. "schema": {
  1973. "$ref": "#/definitions/models.QueryHedgeTradeDetailRsp"
  1974. }
  1975. },
  1976. "500": {
  1977. "description": "Internal Server Error",
  1978. "schema": {
  1979. "$ref": "#/definitions/app.Response"
  1980. }
  1981. }
  1982. }
  1983. }
  1984. },
  1985. "/Ermcp/QueryErmcpTradePosition": {
  1986. "get": {
  1987. "security": [
  1988. {
  1989. "ApiKeyAuth": []
  1990. }
  1991. ],
  1992. "description": "本接口只使用于通道交易相关头寸查询;子账户持仓头寸占用保证金为0;",
  1993. "produces": [
  1994. "application/json"
  1995. ],
  1996. "tags": [
  1997. "企业风险管理(app)"
  1998. ],
  1999. "summary": "获取企业风管期货持仓头寸信息",
  2000. "parameters": [
  2001. {
  2002. "type": "integer",
  2003. "description": "资金账户ID",
  2004. "name": "accountID",
  2005. "in": "query",
  2006. "required": true
  2007. },
  2008. {
  2009. "type": "integer",
  2010. "description": "所属市场ID",
  2011. "name": "marketID",
  2012. "in": "query"
  2013. }
  2014. ],
  2015. "responses": {
  2016. "200": {
  2017. "description": "OK",
  2018. "schema": {
  2019. "$ref": "#/definitions/ermcp.QueryErmcpTradePositionRsp"
  2020. }
  2021. },
  2022. "500": {
  2023. "description": "Internal Server Error",
  2024. "schema": {
  2025. "$ref": "#/definitions/app.Response"
  2026. }
  2027. }
  2028. }
  2029. }
  2030. },
  2031. "/Ermcp/QueryExposureDetail": {
  2032. "get": {
  2033. "security": [
  2034. {
  2035. "ApiKeyAuth": []
  2036. }
  2037. ],
  2038. "produces": [
  2039. "application/json"
  2040. ],
  2041. "tags": [
  2042. "企业风险管理(app)"
  2043. ],
  2044. "summary": "查询敞口现货明细",
  2045. "parameters": [
  2046. {
  2047. "type": "integer",
  2048. "description": "所属机构ID",
  2049. "name": "areaUserId",
  2050. "in": "query",
  2051. "required": true
  2052. },
  2053. {
  2054. "type": "integer",
  2055. "description": "套保商品",
  2056. "name": "middleGoodsId",
  2057. "in": "query",
  2058. "required": true
  2059. }
  2060. ],
  2061. "responses": {
  2062. "200": {
  2063. "description": "OK",
  2064. "schema": {
  2065. "type": "array",
  2066. "items": {
  2067. "$ref": "#/definitions/ermcp.ExposureDetailRsp"
  2068. }
  2069. }
  2070. },
  2071. "500": {
  2072. "description": "Internal Server Error",
  2073. "schema": {
  2074. "$ref": "#/definitions/app.Response"
  2075. }
  2076. }
  2077. }
  2078. }
  2079. },
  2080. "/Ermcp/QueryExposureGoods": {
  2081. "get": {
  2082. "security": [
  2083. {
  2084. "ApiKeyAuth": []
  2085. }
  2086. ],
  2087. "produces": [
  2088. "application/json"
  2089. ],
  2090. "tags": [
  2091. "企业风险管理(app)"
  2092. ],
  2093. "summary": "查询敞口主力合约",
  2094. "parameters": [
  2095. {
  2096. "type": "integer",
  2097. "description": "套保商品id",
  2098. "name": "middlegoodsid",
  2099. "in": "query",
  2100. "required": true
  2101. }
  2102. ],
  2103. "responses": {
  2104. "200": {
  2105. "description": "OK",
  2106. "schema": {
  2107. "type": "array",
  2108. "items": {
  2109. "$ref": "#/definitions/models.ErmcpMiddlegoodsRelateGoods"
  2110. }
  2111. }
  2112. },
  2113. "500": {
  2114. "description": "Internal Server Error",
  2115. "schema": {
  2116. "$ref": "#/definitions/app.Response"
  2117. }
  2118. }
  2119. }
  2120. }
  2121. },
  2122. "/Ermcp/QueryExposureHedgePosition": {
  2123. "get": {
  2124. "security": [
  2125. {
  2126. "ApiKeyAuth": []
  2127. }
  2128. ],
  2129. "produces": [
  2130. "application/json"
  2131. ],
  2132. "tags": [
  2133. "企业风险管理(app)"
  2134. ],
  2135. "summary": "查询敞口期货头寸(菜单:敞口/期货头寸)",
  2136. "parameters": [
  2137. {
  2138. "type": "integer",
  2139. "description": "用户id",
  2140. "name": "userid",
  2141. "in": "query",
  2142. "required": true
  2143. }
  2144. ],
  2145. "responses": {
  2146. "200": {
  2147. "description": "OK",
  2148. "schema": {
  2149. "type": "array",
  2150. "items": {
  2151. "$ref": "#/definitions/ermcp.ExposureHedgePositionRsp"
  2152. }
  2153. }
  2154. },
  2155. "500": {
  2156. "description": "Internal Server Error",
  2157. "schema": {
  2158. "$ref": "#/definitions/app.Response"
  2159. }
  2160. }
  2161. }
  2162. }
  2163. },
  2164. "/Ermcp/QueryExposureHedgePositionDetail": {
  2165. "get": {
  2166. "security": [
  2167. {
  2168. "ApiKeyAuth": []
  2169. }
  2170. ],
  2171. "produces": [
  2172. "application/json"
  2173. ],
  2174. "tags": [
  2175. "企业风险管理(app)"
  2176. ],
  2177. "summary": "查询敞口期货头寸期货明细(菜单:敞口/期货头寸/期货明细)",
  2178. "parameters": [
  2179. {
  2180. "type": "integer",
  2181. "description": "所属机构ID",
  2182. "name": "userid",
  2183. "in": "query",
  2184. "required": true
  2185. },
  2186. {
  2187. "type": "integer",
  2188. "description": "商品id",
  2189. "name": "goodsId",
  2190. "in": "query",
  2191. "required": true
  2192. }
  2193. ],
  2194. "responses": {
  2195. "200": {
  2196. "description": "OK",
  2197. "schema": {
  2198. "type": "array",
  2199. "items": {
  2200. "$ref": "#/definitions/ermcp.ExposureHedgePosDetailRsp"
  2201. }
  2202. }
  2203. },
  2204. "500": {
  2205. "description": "Internal Server Error",
  2206. "schema": {
  2207. "$ref": "#/definitions/app.Response"
  2208. }
  2209. }
  2210. }
  2211. }
  2212. },
  2213. "/Ermcp/QueryExposureSpot": {
  2214. "get": {
  2215. "security": [
  2216. {
  2217. "ApiKeyAuth": []
  2218. }
  2219. ],
  2220. "produces": [
  2221. "application/json"
  2222. ],
  2223. "tags": [
  2224. "企业风险管理(app)"
  2225. ],
  2226. "summary": "查询敞口现货头寸(敞口/现货头寸)",
  2227. "parameters": [
  2228. {
  2229. "type": "integer",
  2230. "description": "所属机构ID",
  2231. "name": "areaUserId",
  2232. "in": "query",
  2233. "required": true
  2234. }
  2235. ],
  2236. "responses": {
  2237. "200": {
  2238. "description": "OK",
  2239. "schema": {
  2240. "type": "array",
  2241. "items": {
  2242. "$ref": "#/definitions/ermcp.ExposureSpotRsp"
  2243. }
  2244. }
  2245. },
  2246. "500": {
  2247. "description": "Internal Server Error",
  2248. "schema": {
  2249. "$ref": "#/definitions/app.Response"
  2250. }
  2251. }
  2252. }
  2253. }
  2254. },
  2255. "/Ermcp/QueryExposureSpotDetail": {
  2256. "get": {
  2257. "security": [
  2258. {
  2259. "ApiKeyAuth": []
  2260. }
  2261. ],
  2262. "produces": [
  2263. "application/json"
  2264. ],
  2265. "tags": [
  2266. "企业风险管理(app)"
  2267. ],
  2268. "summary": "查询敞口现货头寸明细(敞口/现货头寸/现货明细)",
  2269. "parameters": [
  2270. {
  2271. "type": "integer",
  2272. "description": "所属机构ID",
  2273. "name": "areaUserId",
  2274. "in": "query",
  2275. "required": true
  2276. },
  2277. {
  2278. "type": "integer",
  2279. "description": "现货品种ID",
  2280. "name": "wrstandardId",
  2281. "in": "query",
  2282. "required": true
  2283. }
  2284. ],
  2285. "responses": {
  2286. "200": {
  2287. "description": "OK",
  2288. "schema": {
  2289. "type": "array",
  2290. "items": {
  2291. "$ref": "#/definitions/ermcp.ExposureSpotDetailRsp"
  2292. }
  2293. }
  2294. },
  2295. "500": {
  2296. "description": "Internal Server Error",
  2297. "schema": {
  2298. "$ref": "#/definitions/app.Response"
  2299. }
  2300. }
  2301. }
  2302. }
  2303. },
  2304. "/Ermcp/QueryFuturesCompany": {
  2305. "get": {
  2306. "security": [
  2307. {
  2308. "ApiKeyAuth": []
  2309. }
  2310. ],
  2311. "produces": [
  2312. "application/json"
  2313. ],
  2314. "tags": [
  2315. "企业风险管理(app)"
  2316. ],
  2317. "summary": "查询期货公司",
  2318. "responses": {
  2319. "200": {
  2320. "description": "OK",
  2321. "schema": {
  2322. "type": "array",
  2323. "items": {
  2324. "$ref": "#/definitions/models.ErmcpFuturesCompany"
  2325. }
  2326. }
  2327. },
  2328. "500": {
  2329. "description": "Internal Server Error",
  2330. "schema": {
  2331. "$ref": "#/definitions/app.Response"
  2332. }
  2333. }
  2334. }
  2335. }
  2336. },
  2337. "/Ermcp/QueryGGConvertConfig": {
  2338. "get": {
  2339. "security": [
  2340. {
  2341. "ApiKeyAuth": []
  2342. }
  2343. ],
  2344. "produces": [
  2345. "application/json"
  2346. ],
  2347. "tags": [
  2348. "企业风险管理(app)"
  2349. ],
  2350. "summary": "查询期货品种配置(菜单:商品信息/期货品种)",
  2351. "parameters": [
  2352. {
  2353. "type": "integer",
  2354. "description": "品种id(不填则查所有)",
  2355. "name": "goodsgroupid",
  2356. "in": "query"
  2357. }
  2358. ],
  2359. "responses": {
  2360. "200": {
  2361. "description": "OK",
  2362. "schema": {
  2363. "type": "array",
  2364. "items": {
  2365. "$ref": "#/definitions/ermcp.QryGGCovertCfgRsp"
  2366. }
  2367. }
  2368. },
  2369. "500": {
  2370. "description": "Internal Server Error",
  2371. "schema": {
  2372. "$ref": "#/definitions/app.Response"
  2373. }
  2374. }
  2375. }
  2376. }
  2377. },
  2378. "/Ermcp/QueryGoodsBrand": {
  2379. "get": {
  2380. "security": [
  2381. {
  2382. "ApiKeyAuth": []
  2383. }
  2384. ],
  2385. "produces": [
  2386. "application/json"
  2387. ],
  2388. "tags": [
  2389. "企业风险管理(app)"
  2390. ],
  2391. "summary": "查询商品品牌",
  2392. "parameters": [
  2393. {
  2394. "type": "integer",
  2395. "description": "用户ID",
  2396. "name": "userid",
  2397. "in": "query",
  2398. "required": true
  2399. },
  2400. {
  2401. "type": "integer",
  2402. "description": "现货商品ID",
  2403. "name": "wrstandardid",
  2404. "in": "query"
  2405. }
  2406. ],
  2407. "responses": {
  2408. "200": {
  2409. "description": "OK",
  2410. "schema": {
  2411. "type": "array",
  2412. "items": {
  2413. "$ref": "#/definitions/models.ErmcpGoodsBrand"
  2414. }
  2415. }
  2416. },
  2417. "500": {
  2418. "description": "Internal Server Error",
  2419. "schema": {
  2420. "$ref": "#/definitions/app.Response"
  2421. }
  2422. }
  2423. }
  2424. }
  2425. },
  2426. "/Ermcp/QueryGoodsModel": {
  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": "userid",
  2445. "in": "query",
  2446. "required": true
  2447. }
  2448. ],
  2449. "responses": {
  2450. "200": {
  2451. "description": "OK",
  2452. "schema": {
  2453. "type": "array",
  2454. "items": {
  2455. "$ref": "#/definitions/models.ErmcpGoodsModel"
  2456. }
  2457. }
  2458. },
  2459. "500": {
  2460. "description": "Internal Server Error",
  2461. "schema": {
  2462. "$ref": "#/definitions/app.Response"
  2463. }
  2464. }
  2465. }
  2466. }
  2467. },
  2468. "/Ermcp/QueryHisExposure": {
  2469. "get": {
  2470. "security": [
  2471. {
  2472. "ApiKeyAuth": []
  2473. }
  2474. ],
  2475. "produces": [
  2476. "application/json"
  2477. ],
  2478. "tags": [
  2479. "企业风险管理(app)"
  2480. ],
  2481. "summary": "查询历史敞口(菜单:敞口/历史敞口)",
  2482. "parameters": [
  2483. {
  2484. "type": "integer",
  2485. "description": "用户id",
  2486. "name": "userid",
  2487. "in": "query",
  2488. "required": true
  2489. },
  2490. {
  2491. "type": "integer",
  2492. "description": "每个品种记录数",
  2493. "name": "lastNum",
  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.HisExposureRsp"
  2505. }
  2506. }
  2507. },
  2508. "500": {
  2509. "description": "Internal Server Error",
  2510. "schema": {
  2511. "$ref": "#/definitions/app.Response"
  2512. }
  2513. }
  2514. }
  2515. }
  2516. },
  2517. "/Ermcp/QueryMiddleGoods": {
  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": "userid",
  2536. "in": "query",
  2537. "required": true
  2538. },
  2539. {
  2540. "type": "integer",
  2541. "description": "状态 0-停用 1-正常",
  2542. "name": "status",
  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.QryMiddleGoodsRsp"
  2554. }
  2555. }
  2556. },
  2557. "500": {
  2558. "description": "Internal Server Error",
  2559. "schema": {
  2560. "$ref": "#/definitions/app.Response"
  2561. }
  2562. }
  2563. }
  2564. }
  2565. },
  2566. "/Ermcp/QueryMiddleGoodsChangeLog": {
  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": "userid",
  2585. "in": "query",
  2586. "required": true
  2587. },
  2588. {
  2589. "type": "integer",
  2590. "description": "套保品种id",
  2591. "name": "middlegoodsid",
  2592. "in": "query",
  2593. "required": true
  2594. }
  2595. ],
  2596. "responses": {
  2597. "200": {
  2598. "description": "OK",
  2599. "schema": {
  2600. "type": "array",
  2601. "items": {
  2602. "$ref": "#/definitions/ermcp.QryMGChangeLogRsp"
  2603. }
  2604. }
  2605. },
  2606. "500": {
  2607. "description": "Internal Server Error",
  2608. "schema": {
  2609. "$ref": "#/definitions/app.Response"
  2610. }
  2611. }
  2612. }
  2613. }
  2614. },
  2615. "/Ermcp/QueryMiddleGoodsDetail": {
  2616. "get": {
  2617. "security": [
  2618. {
  2619. "ApiKeyAuth": []
  2620. }
  2621. ],
  2622. "produces": [
  2623. "application/json"
  2624. ],
  2625. "tags": [
  2626. "企业风险管理(app)"
  2627. ],
  2628. "summary": "查询套保品种详情(菜单:套保品种/商品详情)",
  2629. "parameters": [
  2630. {
  2631. "type": "integer",
  2632. "description": "所属机构ID",
  2633. "name": "userid",
  2634. "in": "query",
  2635. "required": true
  2636. },
  2637. {
  2638. "type": "integer",
  2639. "description": "套保品种id",
  2640. "name": "middlegoodsid",
  2641. "in": "query"
  2642. }
  2643. ],
  2644. "responses": {
  2645. "200": {
  2646. "description": "OK",
  2647. "schema": {
  2648. "type": "array",
  2649. "items": {
  2650. "$ref": "#/definitions/ermcp.QryMiddleGoodsDetailRsp"
  2651. }
  2652. }
  2653. },
  2654. "500": {
  2655. "description": "Internal Server Error",
  2656. "schema": {
  2657. "$ref": "#/definitions/app.Response"
  2658. }
  2659. }
  2660. }
  2661. }
  2662. },
  2663. "/Ermcp/QueryPendingAuditInfo": {
  2664. "get": {
  2665. "security": [
  2666. {
  2667. "ApiKeyAuth": []
  2668. }
  2669. ],
  2670. "produces": [
  2671. "application/json"
  2672. ],
  2673. "tags": [
  2674. "企业风险管理(app)"
  2675. ],
  2676. "summary": "查询待审核数量信息(首页/菜单按钮小红点)",
  2677. "parameters": [
  2678. {
  2679. "type": "integer",
  2680. "description": "用户ID",
  2681. "name": "UserId",
  2682. "in": "query",
  2683. "required": true
  2684. }
  2685. ],
  2686. "responses": {
  2687. "200": {
  2688. "description": "OK",
  2689. "schema": {
  2690. "type": "array",
  2691. "items": {
  2692. "$ref": "#/definitions/ermcp.PendingAuditCntRsp"
  2693. }
  2694. }
  2695. },
  2696. "500": {
  2697. "description": "Internal Server Error",
  2698. "schema": {
  2699. "$ref": "#/definitions/app.Response"
  2700. }
  2701. }
  2702. }
  2703. }
  2704. },
  2705. "/Ermcp/QueryRealtimeExposure": {
  2706. "get": {
  2707. "security": [
  2708. {
  2709. "ApiKeyAuth": []
  2710. }
  2711. ],
  2712. "produces": [
  2713. "application/json"
  2714. ],
  2715. "tags": [
  2716. "企业风险管理(app)"
  2717. ],
  2718. "summary": "查询实时敞口",
  2719. "parameters": [
  2720. {
  2721. "type": "integer",
  2722. "description": "所属机构ID",
  2723. "name": "userid",
  2724. "in": "query",
  2725. "required": true
  2726. }
  2727. ],
  2728. "responses": {
  2729. "200": {
  2730. "description": "OK",
  2731. "schema": {
  2732. "type": "array",
  2733. "items": {
  2734. "$ref": "#/definitions/ermcp.RealtimeExposureRsp"
  2735. }
  2736. }
  2737. },
  2738. "500": {
  2739. "description": "Internal Server Error",
  2740. "schema": {
  2741. "$ref": "#/definitions/app.Response"
  2742. }
  2743. }
  2744. }
  2745. }
  2746. },
  2747. "/Ermcp/QueryRealtimeExposurePosition": {
  2748. "get": {
  2749. "security": [
  2750. {
  2751. "ApiKeyAuth": []
  2752. }
  2753. ],
  2754. "produces": [
  2755. "application/json"
  2756. ],
  2757. "tags": [
  2758. "企业风险管理(app)"
  2759. ],
  2760. "summary": "查询实时敞口期货头寸明细(菜单:实时敞口/期货明细)",
  2761. "parameters": [
  2762. {
  2763. "type": "integer",
  2764. "description": "用户id",
  2765. "name": "userid",
  2766. "in": "query",
  2767. "required": true
  2768. },
  2769. {
  2770. "type": "integer",
  2771. "description": "套保商品ID",
  2772. "name": "middleGoodsId",
  2773. "in": "query",
  2774. "required": true
  2775. }
  2776. ],
  2777. "responses": {
  2778. "200": {
  2779. "description": "OK",
  2780. "schema": {
  2781. "type": "array",
  2782. "items": {
  2783. "$ref": "#/definitions/ermcp.RealtimeExposurePositionRsp"
  2784. }
  2785. }
  2786. },
  2787. "500": {
  2788. "description": "Internal Server Error",
  2789. "schema": {
  2790. "$ref": "#/definitions/app.Response"
  2791. }
  2792. }
  2793. }
  2794. }
  2795. },
  2796. "/Ermcp/QueryTradeConfigTMP": {
  2797. "get": {
  2798. "security": [
  2799. {
  2800. "ApiKeyAuth": []
  2801. }
  2802. ],
  2803. "produces": [
  2804. "application/json"
  2805. ],
  2806. "tags": [
  2807. "企业风险管理(app)"
  2808. ],
  2809. "summary": "查询交易模板配置",
  2810. "parameters": [
  2811. {
  2812. "type": "integer",
  2813. "description": "所属机构id",
  2814. "name": "areauserid",
  2815. "in": "query"
  2816. }
  2817. ],
  2818. "responses": {
  2819. "200": {
  2820. "description": "OK",
  2821. "schema": {
  2822. "type": "array",
  2823. "items": {
  2824. "$ref": "#/definitions/models.ErmcpTradeConfigTMP"
  2825. }
  2826. }
  2827. },
  2828. "500": {
  2829. "description": "Internal Server Error",
  2830. "schema": {
  2831. "$ref": "#/definitions/app.Response"
  2832. }
  2833. }
  2834. }
  2835. }
  2836. },
  2837. "/Ermcp/QueryUserInfo": {
  2838. "get": {
  2839. "security": [
  2840. {
  2841. "ApiKeyAuth": []
  2842. }
  2843. ],
  2844. "produces": [
  2845. "application/json"
  2846. ],
  2847. "tags": [
  2848. "企业风险管理(app)"
  2849. ],
  2850. "summary": "查询客户资料",
  2851. "parameters": [
  2852. {
  2853. "type": "integer",
  2854. "description": "所属机构用户ID",
  2855. "name": "MemberUserID",
  2856. "in": "query",
  2857. "required": true
  2858. },
  2859. {
  2860. "type": "integer",
  2861. "description": "查询类型(1:未提交 2:待审核 3:正常 4:停用)",
  2862. "name": "queryType",
  2863. "in": "query",
  2864. "required": true
  2865. }
  2866. ],
  2867. "responses": {
  2868. "200": {
  2869. "description": "OK",
  2870. "schema": {
  2871. "type": "array",
  2872. "items": {
  2873. "$ref": "#/definitions/ermcp.QryUserInfoRsp"
  2874. }
  2875. }
  2876. },
  2877. "500": {
  2878. "description": "Internal Server Error",
  2879. "schema": {
  2880. "$ref": "#/definitions/app.Response"
  2881. }
  2882. }
  2883. }
  2884. }
  2885. },
  2886. "/Ermcp/QueryWarehouseInfo": {
  2887. "get": {
  2888. "security": [
  2889. {
  2890. "ApiKeyAuth": []
  2891. }
  2892. ],
  2893. "produces": [
  2894. "application/json"
  2895. ],
  2896. "tags": [
  2897. "企业风险管理(app)"
  2898. ],
  2899. "summary": "查询仓库信息",
  2900. "parameters": [
  2901. {
  2902. "type": "integer",
  2903. "description": "用户ID",
  2904. "name": "userid",
  2905. "in": "query",
  2906. "required": true
  2907. },
  2908. {
  2909. "type": "string",
  2910. "description": "仓库状态(可多项,逗号隔开) 1:正常 2:注销 3:待审核 4:审核拒绝",
  2911. "name": "status",
  2912. "in": "query"
  2913. }
  2914. ],
  2915. "responses": {
  2916. "200": {
  2917. "description": "OK",
  2918. "schema": {
  2919. "type": "array",
  2920. "items": {
  2921. "$ref": "#/definitions/ermcp.QryWarehouseRsp"
  2922. }
  2923. }
  2924. },
  2925. "500": {
  2926. "description": "Internal Server Error",
  2927. "schema": {
  2928. "$ref": "#/definitions/app.Response"
  2929. }
  2930. }
  2931. }
  2932. }
  2933. },
  2934. "/Ermcp3/QryAreaExpourseContractDetail": {
  2935. "get": {
  2936. "security": [
  2937. {
  2938. "ApiKeyAuth": []
  2939. }
  2940. ],
  2941. "produces": [
  2942. "application/json"
  2943. ],
  2944. "tags": [
  2945. "企业风险管理v3(app)"
  2946. ],
  2947. "summary": "查询敞口合同明细(敞口报表/现货合同明细)",
  2948. "parameters": [
  2949. {
  2950. "type": "integer",
  2951. "description": "用户ID",
  2952. "name": "userid",
  2953. "in": "query",
  2954. "required": true
  2955. },
  2956. {
  2957. "type": "integer",
  2958. "description": "套保商品id",
  2959. "name": "middlegoodsid",
  2960. "in": "query",
  2961. "required": true
  2962. },
  2963. {
  2964. "type": "integer",
  2965. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  2966. "name": "cycletype",
  2967. "in": "query",
  2968. "required": true
  2969. },
  2970. {
  2971. "type": "string",
  2972. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  2973. "name": "cycletime",
  2974. "in": "query",
  2975. "required": true
  2976. }
  2977. ],
  2978. "responses": {
  2979. "200": {
  2980. "description": "OK",
  2981. "schema": {
  2982. "type": "array",
  2983. "items": {
  2984. "$ref": "#/definitions/models.Ermcp3ExposureContractDetail"
  2985. }
  2986. }
  2987. },
  2988. "500": {
  2989. "description": "Internal Server Error",
  2990. "schema": {
  2991. "$ref": "#/definitions/app.Response"
  2992. }
  2993. }
  2994. }
  2995. }
  2996. },
  2997. "/Ermcp3/QryAreaExpourseFutuDetail": {
  2998. "get": {
  2999. "security": [
  3000. {
  3001. "ApiKeyAuth": []
  3002. }
  3003. ],
  3004. "produces": [
  3005. "application/json"
  3006. ],
  3007. "tags": [
  3008. "企业风险管理v3(app)"
  3009. ],
  3010. "summary": "查询敞口期货明细(敞口报表/期货明细)",
  3011. "parameters": [
  3012. {
  3013. "type": "integer",
  3014. "description": "用户ID",
  3015. "name": "userid",
  3016. "in": "query",
  3017. "required": true
  3018. },
  3019. {
  3020. "type": "integer",
  3021. "description": "套保商品id",
  3022. "name": "middlegoodsid",
  3023. "in": "query",
  3024. "required": true
  3025. },
  3026. {
  3027. "type": "integer",
  3028. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3029. "name": "cycletype",
  3030. "in": "query",
  3031. "required": true
  3032. },
  3033. {
  3034. "type": "string",
  3035. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3036. "name": "cycletime",
  3037. "in": "query",
  3038. "required": true
  3039. }
  3040. ],
  3041. "responses": {
  3042. "200": {
  3043. "description": "OK",
  3044. "schema": {
  3045. "type": "array",
  3046. "items": {
  3047. "$ref": "#/definitions/models.Ermcp3ExposureFutuDetail"
  3048. }
  3049. }
  3050. },
  3051. "500": {
  3052. "description": "Internal Server Error",
  3053. "schema": {
  3054. "$ref": "#/definitions/app.Response"
  3055. }
  3056. }
  3057. }
  3058. }
  3059. },
  3060. "/Ermcp3/QryAreaExpourseHedgeplanDetail": {
  3061. "get": {
  3062. "security": [
  3063. {
  3064. "ApiKeyAuth": []
  3065. }
  3066. ],
  3067. "produces": [
  3068. "application/json"
  3069. ],
  3070. "tags": [
  3071. "企业风险管理v3(app)"
  3072. ],
  3073. "summary": "查询敞口套保计划明细(敞口报表/套保计划明细)",
  3074. "parameters": [
  3075. {
  3076. "type": "integer",
  3077. "description": "用户ID",
  3078. "name": "userid",
  3079. "in": "query",
  3080. "required": true
  3081. },
  3082. {
  3083. "type": "integer",
  3084. "description": "套保商品id",
  3085. "name": "middlegoodsid",
  3086. "in": "query",
  3087. "required": true
  3088. },
  3089. {
  3090. "type": "integer",
  3091. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3092. "name": "cycletype",
  3093. "in": "query",
  3094. "required": true
  3095. },
  3096. {
  3097. "type": "string",
  3098. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3099. "name": "cycletime",
  3100. "in": "query",
  3101. "required": true
  3102. }
  3103. ],
  3104. "responses": {
  3105. "200": {
  3106. "description": "OK",
  3107. "schema": {
  3108. "type": "array",
  3109. "items": {
  3110. "$ref": "#/definitions/models.Ermcp3ExposureHedgeplanDetail"
  3111. }
  3112. }
  3113. },
  3114. "500": {
  3115. "description": "Internal Server Error",
  3116. "schema": {
  3117. "$ref": "#/definitions/app.Response"
  3118. }
  3119. }
  3120. }
  3121. }
  3122. },
  3123. "/Ermcp3/QryAreaExpourseParamChLogDetail": {
  3124. "get": {
  3125. "security": [
  3126. {
  3127. "ApiKeyAuth": []
  3128. }
  3129. ],
  3130. "produces": [
  3131. "application/json"
  3132. ],
  3133. "tags": [
  3134. "企业风险管理v3(app)"
  3135. ],
  3136. "summary": "查询敞口参数调整明细(敞口报表/参数调整明细)",
  3137. "parameters": [
  3138. {
  3139. "type": "integer",
  3140. "description": "用户ID",
  3141. "name": "userid",
  3142. "in": "query",
  3143. "required": true
  3144. },
  3145. {
  3146. "type": "integer",
  3147. "description": "套保商品id",
  3148. "name": "middlegoodsid",
  3149. "in": "query",
  3150. "required": true
  3151. },
  3152. {
  3153. "type": "integer",
  3154. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3155. "name": "cycletype",
  3156. "in": "query",
  3157. "required": true
  3158. },
  3159. {
  3160. "type": "string",
  3161. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3162. "name": "cycletime",
  3163. "in": "query",
  3164. "required": true
  3165. }
  3166. ],
  3167. "responses": {
  3168. "200": {
  3169. "description": "OK",
  3170. "schema": {
  3171. "type": "array",
  3172. "items": {
  3173. "$ref": "#/definitions/models.Ermcp3ExposureFutuDetail"
  3174. }
  3175. }
  3176. },
  3177. "500": {
  3178. "description": "Internal Server Error",
  3179. "schema": {
  3180. "$ref": "#/definitions/app.Response"
  3181. }
  3182. }
  3183. }
  3184. }
  3185. },
  3186. "/Ermcp3/QryAreaExpourseReport": {
  3187. "get": {
  3188. "security": [
  3189. {
  3190. "ApiKeyAuth": []
  3191. }
  3192. ],
  3193. "produces": [
  3194. "application/json"
  3195. ],
  3196. "tags": [
  3197. "企业风险管理v3(app)"
  3198. ],
  3199. "summary": "查询敞口报表",
  3200. "parameters": [
  3201. {
  3202. "type": "integer",
  3203. "description": "用户ID",
  3204. "name": "userid",
  3205. "in": "query",
  3206. "required": true
  3207. },
  3208. {
  3209. "type": "integer",
  3210. "description": "查询类型 1-报表, 这个接口只查报表;明细的字段完全不同,另有接口",
  3211. "name": "querytype",
  3212. "in": "query",
  3213. "required": true
  3214. },
  3215. {
  3216. "type": "integer",
  3217. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3218. "name": "cycletype",
  3219. "in": "query",
  3220. "required": true
  3221. },
  3222. {
  3223. "type": "string",
  3224. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3225. "name": "cycletime",
  3226. "in": "query",
  3227. "required": true
  3228. }
  3229. ],
  3230. "responses": {
  3231. "200": {
  3232. "description": "OK",
  3233. "schema": {
  3234. "type": "array",
  3235. "items": {
  3236. "$ref": "#/definitions/models.Ermcp3ExpourseReport"
  3237. }
  3238. }
  3239. },
  3240. "500": {
  3241. "description": "Internal Server Error",
  3242. "schema": {
  3243. "$ref": "#/definitions/app.Response"
  3244. }
  3245. }
  3246. }
  3247. }
  3248. },
  3249. "/Ermcp3/QryAreaSpotplReport": {
  3250. "get": {
  3251. "security": [
  3252. {
  3253. "ApiKeyAuth": []
  3254. }
  3255. ],
  3256. "produces": [
  3257. "application/json"
  3258. ],
  3259. "tags": [
  3260. "企业风险管理v3(app)"
  3261. ],
  3262. "summary": "查询现货报表",
  3263. "parameters": [
  3264. {
  3265. "type": "integer",
  3266. "description": "用户ID",
  3267. "name": "userid",
  3268. "in": "query",
  3269. "required": true
  3270. },
  3271. {
  3272. "type": "integer",
  3273. "description": "查询类型 1-报表 2-报表明细",
  3274. "name": "querytype",
  3275. "in": "query",
  3276. "required": true
  3277. },
  3278. {
  3279. "type": "integer",
  3280. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3281. "name": "cycletype",
  3282. "in": "query",
  3283. "required": true
  3284. },
  3285. {
  3286. "type": "string",
  3287. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3288. "name": "cycletime",
  3289. "in": "query",
  3290. "required": true
  3291. },
  3292. {
  3293. "type": "integer",
  3294. "description": "现货品种id(明细必填)",
  3295. "name": "deliverygoodsid",
  3296. "in": "query"
  3297. },
  3298. {
  3299. "type": "integer",
  3300. "description": "币种id(明细必填)",
  3301. "name": "currencyid",
  3302. "in": "query"
  3303. }
  3304. ],
  3305. "responses": {
  3306. "200": {
  3307. "description": "OK",
  3308. "schema": {
  3309. "type": "array",
  3310. "items": {
  3311. "$ref": "#/definitions/models.Ermcp3AreaSpotPLReport"
  3312. }
  3313. }
  3314. },
  3315. "500": {
  3316. "description": "Internal Server Error",
  3317. "schema": {
  3318. "$ref": "#/definitions/app.Response"
  3319. }
  3320. }
  3321. }
  3322. }
  3323. },
  3324. "/Ermcp3/QryAreaStockReport": {
  3325. "get": {
  3326. "security": [
  3327. {
  3328. "ApiKeyAuth": []
  3329. }
  3330. ],
  3331. "produces": [
  3332. "application/json"
  3333. ],
  3334. "tags": [
  3335. "企业风险管理v3(app)"
  3336. ],
  3337. "summary": "查询库存报表",
  3338. "parameters": [
  3339. {
  3340. "type": "integer",
  3341. "description": "用户ID",
  3342. "name": "userid",
  3343. "in": "query",
  3344. "required": true
  3345. },
  3346. {
  3347. "type": "integer",
  3348. "description": "查询类型 1-报表 2-报表明细",
  3349. "name": "querytype",
  3350. "in": "query",
  3351. "required": true
  3352. },
  3353. {
  3354. "type": "integer",
  3355. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3356. "name": "cycletype",
  3357. "in": "query",
  3358. "required": true
  3359. },
  3360. {
  3361. "type": "string",
  3362. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3363. "name": "cycletime",
  3364. "in": "query",
  3365. "required": true
  3366. },
  3367. {
  3368. "type": "string",
  3369. "description": "汇总维度(逗号隔开) 1-品种 2-品类 3-品牌 4-仓库",
  3370. "name": "sumfields",
  3371. "in": "query"
  3372. },
  3373. {
  3374. "type": "integer",
  3375. "description": "品种ID",
  3376. "name": "deliverygoodsid",
  3377. "in": "query"
  3378. },
  3379. {
  3380. "type": "integer",
  3381. "description": "品类ID",
  3382. "name": "wrstandardid",
  3383. "in": "query"
  3384. },
  3385. {
  3386. "type": "integer",
  3387. "description": "品牌ID",
  3388. "name": "spotgoodsbrandid",
  3389. "in": "query"
  3390. },
  3391. {
  3392. "type": "integer",
  3393. "description": "仓库ID",
  3394. "name": "warehouseinfoid",
  3395. "in": "query"
  3396. }
  3397. ],
  3398. "responses": {
  3399. "200": {
  3400. "description": "OK",
  3401. "schema": {
  3402. "type": "array",
  3403. "items": {
  3404. "$ref": "#/definitions/models.Ermcp3AreaStockReportEx"
  3405. }
  3406. }
  3407. },
  3408. "500": {
  3409. "description": "Internal Server Error",
  3410. "schema": {
  3411. "$ref": "#/definitions/app.Response"
  3412. }
  3413. }
  3414. }
  3415. }
  3416. },
  3417. "/Ermcp3/QryAreaSumPL": {
  3418. "get": {
  3419. "security": [
  3420. {
  3421. "ApiKeyAuth": []
  3422. }
  3423. ],
  3424. "produces": [
  3425. "application/json"
  3426. ],
  3427. "tags": [
  3428. "企业风险管理v3(app)"
  3429. ],
  3430. "summary": "查询汇总损益表",
  3431. "parameters": [
  3432. {
  3433. "type": "integer",
  3434. "description": "用户ID",
  3435. "name": "userid",
  3436. "in": "query",
  3437. "required": true
  3438. },
  3439. {
  3440. "type": "integer",
  3441. "description": "查询类型 1-报表 2-报表明细",
  3442. "name": "querytype",
  3443. "in": "query",
  3444. "required": true
  3445. },
  3446. {
  3447. "type": "integer",
  3448. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3449. "name": "cycletype",
  3450. "in": "query",
  3451. "required": true
  3452. },
  3453. {
  3454. "type": "string",
  3455. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3456. "name": "cycletime",
  3457. "in": "query",
  3458. "required": true
  3459. },
  3460. {
  3461. "type": "integer",
  3462. "description": "币种id(明细必填)",
  3463. "name": "currencyid",
  3464. "in": "query"
  3465. }
  3466. ],
  3467. "responses": {
  3468. "200": {
  3469. "description": "OK",
  3470. "schema": {
  3471. "type": "array",
  3472. "items": {
  3473. "$ref": "#/definitions/models.Ermcp3ArealSumPL"
  3474. }
  3475. }
  3476. },
  3477. "500": {
  3478. "description": "Internal Server Error",
  3479. "schema": {
  3480. "$ref": "#/definitions/app.Response"
  3481. }
  3482. }
  3483. }
  3484. }
  3485. },
  3486. "/Ermcp3/QryFinanceReport": {
  3487. "get": {
  3488. "security": [
  3489. {
  3490. "ApiKeyAuth": []
  3491. }
  3492. ],
  3493. "produces": [
  3494. "application/json"
  3495. ],
  3496. "tags": [
  3497. "企业风险管理v3(app)"
  3498. ],
  3499. "summary": "查询财务报表",
  3500. "parameters": [
  3501. {
  3502. "type": "integer",
  3503. "description": "用户ID",
  3504. "name": "userid",
  3505. "in": "query",
  3506. "required": true
  3507. },
  3508. {
  3509. "type": "integer",
  3510. "description": "查询类型 1-报表 2-报表明细",
  3511. "name": "querytype",
  3512. "in": "query",
  3513. "required": true
  3514. },
  3515. {
  3516. "type": "integer",
  3517. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3518. "name": "cycletype",
  3519. "in": "query",
  3520. "required": true
  3521. },
  3522. {
  3523. "type": "string",
  3524. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3525. "name": "cycletime",
  3526. "in": "query",
  3527. "required": true
  3528. },
  3529. {
  3530. "type": "integer",
  3531. "description": "币种id(报表明细必填)",
  3532. "name": "currencyid",
  3533. "in": "query"
  3534. },
  3535. {
  3536. "type": "string",
  3537. "description": "汇总维度(逗号隔开) 1-品种 2-品类 3-品牌",
  3538. "name": "sumfields",
  3539. "in": "query"
  3540. }
  3541. ],
  3542. "responses": {
  3543. "200": {
  3544. "description": "OK",
  3545. "schema": {
  3546. "type": "array",
  3547. "items": {
  3548. "$ref": "#/definitions/models.Ermcp3FinanceReport"
  3549. }
  3550. }
  3551. },
  3552. "500": {
  3553. "description": "Internal Server Error",
  3554. "schema": {
  3555. "$ref": "#/definitions/app.Response"
  3556. }
  3557. }
  3558. }
  3559. }
  3560. },
  3561. "/Ermcp3/QryTaFutureDataReport": {
  3562. "get": {
  3563. "security": [
  3564. {
  3565. "ApiKeyAuth": []
  3566. }
  3567. ],
  3568. "produces": [
  3569. "application/json"
  3570. ],
  3571. "tags": [
  3572. "企业风险管理v3(app)"
  3573. ],
  3574. "summary": "查询期货报表",
  3575. "parameters": [
  3576. {
  3577. "type": "integer",
  3578. "description": "用户ID",
  3579. "name": "userid",
  3580. "in": "query",
  3581. "required": true
  3582. },
  3583. {
  3584. "type": "integer",
  3585. "description": "查询类型 1-报表 2-报表明细",
  3586. "name": "querytype",
  3587. "in": "query",
  3588. "required": true
  3589. },
  3590. {
  3591. "type": "integer",
  3592. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3593. "name": "cycletype",
  3594. "in": "query",
  3595. "required": true
  3596. },
  3597. {
  3598. "type": "string",
  3599. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3600. "name": "cycletime",
  3601. "in": "query",
  3602. "required": true
  3603. },
  3604. {
  3605. "type": "integer",
  3606. "description": "币种id(查明细必填)",
  3607. "name": "currencyid",
  3608. "in": "query"
  3609. },
  3610. {
  3611. "type": "integer",
  3612. "description": "品种id(查明细必填)",
  3613. "name": "goodsgroupid",
  3614. "in": "query"
  3615. },
  3616. {
  3617. "type": "integer",
  3618. "description": "商品id(查明细必填)",
  3619. "name": "goodsid",
  3620. "in": "query"
  3621. },
  3622. {
  3623. "type": "integer",
  3624. "description": "买卖方向(查明细必填)",
  3625. "name": "buyorsell",
  3626. "in": "query"
  3627. }
  3628. ],
  3629. "responses": {
  3630. "200": {
  3631. "description": "OK",
  3632. "schema": {
  3633. "type": "array",
  3634. "items": {
  3635. "$ref": "#/definitions/models.Ermcp3TaFutuReDataReport"
  3636. }
  3637. }
  3638. },
  3639. "500": {
  3640. "description": "Internal Server Error",
  3641. "schema": {
  3642. "$ref": "#/definitions/app.Response"
  3643. }
  3644. }
  3645. }
  3646. }
  3647. },
  3648. "/Ermcp3/QueryAreaStock": {
  3649. "get": {
  3650. "security": [
  3651. {
  3652. "ApiKeyAuth": []
  3653. }
  3654. ],
  3655. "produces": [
  3656. "application/json"
  3657. ],
  3658. "tags": [
  3659. "企业风险管理v3(app)"
  3660. ],
  3661. "summary": "查询机构库存(库存管理/当前库存)",
  3662. "parameters": [
  3663. {
  3664. "type": "integer",
  3665. "description": "用户ID",
  3666. "name": "userid",
  3667. "in": "query",
  3668. "required": true
  3669. }
  3670. ],
  3671. "responses": {
  3672. "200": {
  3673. "description": "OK",
  3674. "schema": {
  3675. "type": "array",
  3676. "items": {
  3677. "$ref": "#/definitions/models.Ermcp3AreaStock"
  3678. }
  3679. }
  3680. },
  3681. "500": {
  3682. "description": "Internal Server Error",
  3683. "schema": {
  3684. "$ref": "#/definitions/app.Response"
  3685. }
  3686. }
  3687. }
  3688. }
  3689. },
  3690. "/Ermcp3/QueryAreaStockApply": {
  3691. "get": {
  3692. "security": [
  3693. {
  3694. "ApiKeyAuth": []
  3695. }
  3696. ],
  3697. "produces": [
  3698. "application/json"
  3699. ],
  3700. "tags": [
  3701. "企业风险管理v3(app)"
  3702. ],
  3703. "summary": "查询库存申请(出入库记录|库存审核)",
  3704. "parameters": [
  3705. {
  3706. "type": "integer",
  3707. "description": "用户ID",
  3708. "name": "userid",
  3709. "in": "query",
  3710. "required": true
  3711. },
  3712. {
  3713. "type": "integer",
  3714. "description": "用户类型 2-机构 7-企业成员",
  3715. "name": "usertype",
  3716. "in": "query"
  3717. },
  3718. {
  3719. "type": "integer",
  3720. "description": "现货商品ID",
  3721. "name": "deliverygoodsid",
  3722. "in": "query"
  3723. },
  3724. {
  3725. "type": "string",
  3726. "description": "出入库类型(可多项,逗号隔开) 5:采购入库 6:销售出库 7:生产入库 8:生产出库",
  3727. "name": "inouttype",
  3728. "in": "query"
  3729. },
  3730. {
  3731. "type": "integer",
  3732. "description": "合同ID",
  3733. "name": "spotcontractid",
  3734. "in": "query"
  3735. },
  3736. {
  3737. "type": "integer",
  3738. "description": "品类ID",
  3739. "name": "wrstandardid",
  3740. "in": "query"
  3741. },
  3742. {
  3743. "type": "integer",
  3744. "description": "品牌ID",
  3745. "name": "spotgoodsbrandid",
  3746. "in": "query"
  3747. },
  3748. {
  3749. "type": "integer",
  3750. "description": "仓库ID",
  3751. "name": "warehouseinfoid",
  3752. "in": "query"
  3753. },
  3754. {
  3755. "type": "string",
  3756. "description": "申请状态(可多项,逗号隔开)1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  3757. "name": "applystatus",
  3758. "in": "query"
  3759. }
  3760. ],
  3761. "responses": {
  3762. "200": {
  3763. "description": "OK",
  3764. "schema": {
  3765. "type": "array",
  3766. "items": {
  3767. "$ref": "#/definitions/models.Ermcp3AreaStockApply"
  3768. }
  3769. }
  3770. },
  3771. "500": {
  3772. "description": "Internal Server Error",
  3773. "schema": {
  3774. "$ref": "#/definitions/app.Response"
  3775. }
  3776. }
  3777. }
  3778. }
  3779. },
  3780. "/Ermcp3/QueryAreaStockApplySum": {
  3781. "get": {
  3782. "security": [
  3783. {
  3784. "ApiKeyAuth": []
  3785. }
  3786. ],
  3787. "produces": [
  3788. "application/json"
  3789. ],
  3790. "tags": [
  3791. "企业风险管理v3(app)"
  3792. ],
  3793. "summary": "查询已登记出入库信息(入库登记/已入库信息 | 出库登记/已出库信息)",
  3794. "parameters": [
  3795. {
  3796. "type": "integer",
  3797. "description": "合同ID",
  3798. "name": "spotcontractid",
  3799. "in": "query"
  3800. }
  3801. ],
  3802. "responses": {
  3803. "200": {
  3804. "description": "OK",
  3805. "schema": {
  3806. "type": "array",
  3807. "items": {
  3808. "$ref": "#/definitions/models.Ermcp3AreaStockApplySum"
  3809. }
  3810. }
  3811. },
  3812. "500": {
  3813. "description": "Internal Server Error",
  3814. "schema": {
  3815. "$ref": "#/definitions/app.Response"
  3816. }
  3817. }
  3818. }
  3819. }
  3820. },
  3821. "/Ermcp3/QueryDGFactoryItem": {
  3822. "get": {
  3823. "security": [
  3824. {
  3825. "ApiKeyAuth": []
  3826. }
  3827. ],
  3828. "produces": [
  3829. "application/json"
  3830. ],
  3831. "tags": [
  3832. "企业风险管理v3(app)"
  3833. ],
  3834. "summary": "查询品种要素定义项",
  3835. "parameters": [
  3836. {
  3837. "type": "integer",
  3838. "description": "用户id",
  3839. "name": "userid",
  3840. "in": "query"
  3841. },
  3842. {
  3843. "type": "integer",
  3844. "description": "用户类型 2-机构 7-企业成员",
  3845. "name": "usertype",
  3846. "in": "query"
  3847. },
  3848. {
  3849. "type": "integer",
  3850. "description": "选择项ID(SEQ_DGFACTORYITEM)",
  3851. "name": "dgfactoryitemid",
  3852. "in": "query"
  3853. },
  3854. {
  3855. "type": "integer",
  3856. "description": "现货品种ID",
  3857. "name": "deliverygoodsid",
  3858. "in": "query"
  3859. },
  3860. {
  3861. "type": "integer",
  3862. "description": "要素项类型",
  3863. "name": "dgfactoryitemtypeid",
  3864. "in": "query"
  3865. },
  3866. {
  3867. "type": "integer",
  3868. "description": "顺序",
  3869. "name": "orderindex",
  3870. "in": "query"
  3871. }
  3872. ],
  3873. "responses": {
  3874. "200": {
  3875. "description": "OK",
  3876. "schema": {
  3877. "type": "array",
  3878. "items": {
  3879. "$ref": "#/definitions/models.ErmcpDGFactoryItem"
  3880. }
  3881. }
  3882. },
  3883. "500": {
  3884. "description": "Internal Server Error",
  3885. "schema": {
  3886. "$ref": "#/definitions/app.Response"
  3887. }
  3888. }
  3889. }
  3890. }
  3891. },
  3892. "/Ermcp3/QueryDeliveryGoods": {
  3893. "get": {
  3894. "security": [
  3895. {
  3896. "ApiKeyAuth": []
  3897. }
  3898. ],
  3899. "produces": [
  3900. "application/json"
  3901. ],
  3902. "tags": [
  3903. "企业风险管理v3(app)"
  3904. ],
  3905. "summary": "查询现货商品",
  3906. "parameters": [
  3907. {
  3908. "type": "integer",
  3909. "description": "用户id",
  3910. "name": "userid",
  3911. "in": "query",
  3912. "required": true
  3913. },
  3914. {
  3915. "type": "integer",
  3916. "description": "用户类型 2-机构 7-企业成员",
  3917. "name": "usertype",
  3918. "in": "query"
  3919. },
  3920. {
  3921. "type": "integer",
  3922. "description": "排除已配置的业务类型商品 1-套保 2-套利",
  3923. "name": "excludecfg",
  3924. "in": "query"
  3925. }
  3926. ],
  3927. "responses": {
  3928. "200": {
  3929. "description": "OK",
  3930. "schema": {
  3931. "type": "array",
  3932. "items": {
  3933. "$ref": "#/definitions/models.ErmcpDeliveryGoods"
  3934. }
  3935. }
  3936. },
  3937. "500": {
  3938. "description": "Internal Server Error",
  3939. "schema": {
  3940. "$ref": "#/definitions/app.Response"
  3941. }
  3942. }
  3943. }
  3944. }
  3945. },
  3946. "/Ermcp3/QueryDeliveryGoodsDetail": {
  3947. "get": {
  3948. "security": [
  3949. {
  3950. "ApiKeyAuth": []
  3951. }
  3952. ],
  3953. "produces": [
  3954. "application/json"
  3955. ],
  3956. "tags": [
  3957. "企业风险管理v3(app)"
  3958. ],
  3959. "summary": "查询现货商品详情",
  3960. "parameters": [
  3961. {
  3962. "type": "integer",
  3963. "description": "用户id",
  3964. "name": "userid",
  3965. "in": "query",
  3966. "required": true
  3967. },
  3968. {
  3969. "type": "integer",
  3970. "description": "用户类型 2-机构 7-企业成员",
  3971. "name": "usertype",
  3972. "in": "query"
  3973. },
  3974. {
  3975. "type": "integer",
  3976. "description": "现货商品id",
  3977. "name": "deliverygoodsid",
  3978. "in": "query"
  3979. }
  3980. ],
  3981. "responses": {
  3982. "200": {
  3983. "description": "OK",
  3984. "schema": {
  3985. "type": "array",
  3986. "items": {
  3987. "$ref": "#/definitions/models.ErmcpDeliveryGoodsDetailEx"
  3988. }
  3989. }
  3990. },
  3991. "500": {
  3992. "description": "Internal Server Error",
  3993. "schema": {
  3994. "$ref": "#/definitions/app.Response"
  3995. }
  3996. }
  3997. }
  3998. }
  3999. },
  4000. "/Ermcp3/QueryExposureDetail": {
  4001. "get": {
  4002. "security": [
  4003. {
  4004. "ApiKeyAuth": []
  4005. }
  4006. ],
  4007. "produces": [
  4008. "application/json"
  4009. ],
  4010. "tags": [
  4011. "企业风险管理v3(app)"
  4012. ],
  4013. "summary": "查询敞口现货明细",
  4014. "parameters": [
  4015. {
  4016. "type": "integer",
  4017. "description": "用户id",
  4018. "name": "userid",
  4019. "in": "query",
  4020. "required": true
  4021. },
  4022. {
  4023. "type": "integer",
  4024. "description": "用户类型 2-机构 7-企业成员",
  4025. "name": "usertype",
  4026. "in": "query"
  4027. },
  4028. {
  4029. "type": "integer",
  4030. "description": "套保商品",
  4031. "name": "middlegoodsid",
  4032. "in": "query",
  4033. "required": true
  4034. }
  4035. ],
  4036. "responses": {
  4037. "200": {
  4038. "description": "OK",
  4039. "schema": {
  4040. "type": "array",
  4041. "items": {
  4042. "$ref": "#/definitions/models.Ermcp3ExposureDetail"
  4043. }
  4044. }
  4045. },
  4046. "500": {
  4047. "description": "Internal Server Error",
  4048. "schema": {
  4049. "$ref": "#/definitions/app.Response"
  4050. }
  4051. }
  4052. }
  4053. }
  4054. },
  4055. "/Ermcp3/QueryExposureSpot": {
  4056. "get": {
  4057. "security": [
  4058. {
  4059. "ApiKeyAuth": []
  4060. }
  4061. ],
  4062. "produces": [
  4063. "application/json"
  4064. ],
  4065. "tags": [
  4066. "企业风险管理v3(app)"
  4067. ],
  4068. "summary": "查询敞口现货头寸(敞口/现货头寸)",
  4069. "parameters": [
  4070. {
  4071. "type": "integer",
  4072. "description": "用户id",
  4073. "name": "userid",
  4074. "in": "query",
  4075. "required": true
  4076. },
  4077. {
  4078. "type": "integer",
  4079. "description": "用户类型 2-机构 7-企业成员",
  4080. "name": "usertype",
  4081. "in": "query"
  4082. }
  4083. ],
  4084. "responses": {
  4085. "200": {
  4086. "description": "OK",
  4087. "schema": {
  4088. "type": "array",
  4089. "items": {
  4090. "$ref": "#/definitions/models.Ermcp3AreaSpot"
  4091. }
  4092. }
  4093. },
  4094. "500": {
  4095. "description": "Internal Server Error",
  4096. "schema": {
  4097. "$ref": "#/definitions/app.Response"
  4098. }
  4099. }
  4100. }
  4101. }
  4102. },
  4103. "/Ermcp3/QueryExposureSpotDetail": {
  4104. "get": {
  4105. "security": [
  4106. {
  4107. "ApiKeyAuth": []
  4108. }
  4109. ],
  4110. "produces": [
  4111. "application/json"
  4112. ],
  4113. "tags": [
  4114. "企业风险管理v3(app)"
  4115. ],
  4116. "summary": "查询敞口现货头寸明细(敞口/现货头寸/现货明细)",
  4117. "parameters": [
  4118. {
  4119. "type": "integer",
  4120. "description": "用户id",
  4121. "name": "userid",
  4122. "in": "query",
  4123. "required": true
  4124. },
  4125. {
  4126. "type": "integer",
  4127. "description": "用户类型 2-机构 7-企业成员",
  4128. "name": "usertype",
  4129. "in": "query"
  4130. },
  4131. {
  4132. "type": "integer",
  4133. "description": "现货品种ID",
  4134. "name": "deliverygoodsid",
  4135. "in": "query",
  4136. "required": true
  4137. }
  4138. ],
  4139. "responses": {
  4140. "200": {
  4141. "description": "OK",
  4142. "schema": {
  4143. "type": "array",
  4144. "items": {
  4145. "$ref": "#/definitions/models.Ermcp3AreaSpotDetail"
  4146. }
  4147. }
  4148. },
  4149. "500": {
  4150. "description": "Internal Server Error",
  4151. "schema": {
  4152. "$ref": "#/definitions/app.Response"
  4153. }
  4154. }
  4155. }
  4156. }
  4157. },
  4158. "/Ermcp3/QueryGoodsGroup": {
  4159. "get": {
  4160. "security": [
  4161. {
  4162. "ApiKeyAuth": []
  4163. }
  4164. ],
  4165. "produces": [
  4166. "application/json"
  4167. ],
  4168. "tags": [
  4169. "企业风险管理v3(app)"
  4170. ],
  4171. "summary": "查询期货商品组",
  4172. "parameters": [
  4173. {
  4174. "type": "integer",
  4175. "description": "用户id",
  4176. "name": "userid",
  4177. "in": "query",
  4178. "required": true
  4179. },
  4180. {
  4181. "type": "integer",
  4182. "description": "用户类型 2-机构 7-企业成员",
  4183. "name": "usertype",
  4184. "in": "query"
  4185. },
  4186. {
  4187. "type": "integer",
  4188. "description": "排除套保品中已关联的商品组 1-排除",
  4189. "name": "excludecfg",
  4190. "in": "query"
  4191. }
  4192. ],
  4193. "responses": {
  4194. "200": {
  4195. "description": "OK",
  4196. "schema": {
  4197. "type": "array",
  4198. "items": {
  4199. "$ref": "#/definitions/models.Ermcp3GoodsGroup"
  4200. }
  4201. }
  4202. },
  4203. "500": {
  4204. "description": "Internal Server Error",
  4205. "schema": {
  4206. "$ref": "#/definitions/app.Response"
  4207. }
  4208. }
  4209. }
  4210. }
  4211. },
  4212. "/Ermcp3/QueryGoodsWrstandard": {
  4213. "get": {
  4214. "security": [
  4215. {
  4216. "ApiKeyAuth": []
  4217. }
  4218. ],
  4219. "produces": [
  4220. "application/json"
  4221. ],
  4222. "tags": [
  4223. "企业风险管理v3(app)"
  4224. ],
  4225. "summary": "查询商品品类",
  4226. "parameters": [
  4227. {
  4228. "type": "integer",
  4229. "description": "用户id",
  4230. "name": "userid",
  4231. "in": "query",
  4232. "required": true
  4233. },
  4234. {
  4235. "type": "integer",
  4236. "description": "用户类型 2-机构 7-企业成员",
  4237. "name": "usertype",
  4238. "in": "query"
  4239. },
  4240. {
  4241. "type": "integer",
  4242. "description": "现货商品id",
  4243. "name": "deliverygoodsid",
  4244. "in": "query"
  4245. }
  4246. ],
  4247. "responses": {
  4248. "200": {
  4249. "description": "OK",
  4250. "schema": {
  4251. "type": "array",
  4252. "items": {
  4253. "$ref": "#/definitions/models.Ermcp3Wrstandard"
  4254. }
  4255. }
  4256. },
  4257. "500": {
  4258. "description": "Internal Server Error",
  4259. "schema": {
  4260. "$ref": "#/definitions/app.Response"
  4261. }
  4262. }
  4263. }
  4264. }
  4265. },
  4266. "/Ermcp3/QueryGoodsbrand": {
  4267. "get": {
  4268. "security": [
  4269. {
  4270. "ApiKeyAuth": []
  4271. }
  4272. ],
  4273. "produces": [
  4274. "application/json"
  4275. ],
  4276. "tags": [
  4277. "企业风险管理v3(app)"
  4278. ],
  4279. "summary": "查询商品品牌",
  4280. "parameters": [
  4281. {
  4282. "type": "integer",
  4283. "description": "用户id",
  4284. "name": "userid",
  4285. "in": "query",
  4286. "required": true
  4287. },
  4288. {
  4289. "type": "integer",
  4290. "description": "用户类型 2-机构 7-企业成员",
  4291. "name": "usertype",
  4292. "in": "query"
  4293. }
  4294. ],
  4295. "responses": {
  4296. "200": {
  4297. "description": "OK",
  4298. "schema": {
  4299. "type": "array",
  4300. "items": {
  4301. "$ref": "#/definitions/models.Ermcp3Brand"
  4302. }
  4303. }
  4304. },
  4305. "500": {
  4306. "description": "Internal Server Error",
  4307. "schema": {
  4308. "$ref": "#/definitions/app.Response"
  4309. }
  4310. }
  4311. }
  4312. }
  4313. },
  4314. "/Ermcp3/QueryHedgePlan": {
  4315. "get": {
  4316. "security": [
  4317. {
  4318. "ApiKeyAuth": []
  4319. }
  4320. ],
  4321. "produces": [
  4322. "application/json"
  4323. ],
  4324. "tags": [
  4325. "企业风险管理v3(app)"
  4326. ],
  4327. "summary": "查询套保计划",
  4328. "parameters": [
  4329. {
  4330. "type": "integer",
  4331. "description": "用户ID",
  4332. "name": "userid",
  4333. "in": "query",
  4334. "required": true
  4335. },
  4336. {
  4337. "type": "integer",
  4338. "description": "用户类型 2-机构 7-企业成员",
  4339. "name": "usertype",
  4340. "in": "query"
  4341. },
  4342. {
  4343. "type": "string",
  4344. "description": "套保计划状态(允许多个,逗号隔开) - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  4345. "name": "hedgeplanstatus",
  4346. "in": "query",
  4347. "required": true
  4348. }
  4349. ],
  4350. "responses": {
  4351. "200": {
  4352. "description": "OK",
  4353. "schema": {
  4354. "type": "array",
  4355. "items": {
  4356. "$ref": "#/definitions/models.Ermcp3HedgePlan"
  4357. }
  4358. }
  4359. },
  4360. "500": {
  4361. "description": "Internal Server Error",
  4362. "schema": {
  4363. "$ref": "#/definitions/app.Response"
  4364. }
  4365. }
  4366. }
  4367. }
  4368. },
  4369. "/Ermcp3/QueryMiddleGoodsDetail": {
  4370. "get": {
  4371. "security": [
  4372. {
  4373. "ApiKeyAuth": []
  4374. }
  4375. ],
  4376. "produces": [
  4377. "application/json"
  4378. ],
  4379. "tags": [
  4380. "企业风险管理v3(app)"
  4381. ],
  4382. "summary": "查询套保品种详情(套保品种/商品详情)",
  4383. "parameters": [
  4384. {
  4385. "type": "integer",
  4386. "description": "用户id",
  4387. "name": "userid",
  4388. "in": "query",
  4389. "required": true
  4390. },
  4391. {
  4392. "type": "integer",
  4393. "description": "用户类型 2-机构 7-企业成员",
  4394. "name": "usertype",
  4395. "in": "query"
  4396. },
  4397. {
  4398. "type": "integer",
  4399. "description": "套保品种id",
  4400. "name": "middlegoodsid",
  4401. "in": "query"
  4402. }
  4403. ],
  4404. "responses": {
  4405. "200": {
  4406. "description": "OK",
  4407. "schema": {
  4408. "type": "array",
  4409. "items": {
  4410. "$ref": "#/definitions/models.Ermcp3MiddleGoodsDetailEx"
  4411. }
  4412. }
  4413. },
  4414. "500": {
  4415. "description": "Internal Server Error",
  4416. "schema": {
  4417. "$ref": "#/definitions/app.Response"
  4418. }
  4419. }
  4420. }
  4421. }
  4422. },
  4423. "/Ermcp3/QueryRootUserAccount": {
  4424. "get": {
  4425. "security": [
  4426. {
  4427. "ApiKeyAuth": []
  4428. }
  4429. ],
  4430. "produces": [
  4431. "application/json"
  4432. ],
  4433. "tags": [
  4434. "企业风险管理v3(app)"
  4435. ],
  4436. "summary": "查询顶级用户信息",
  4437. "parameters": [
  4438. {
  4439. "type": "integer",
  4440. "description": "用户ID",
  4441. "name": "userid",
  4442. "in": "query",
  4443. "required": true
  4444. }
  4445. ],
  4446. "responses": {
  4447. "200": {
  4448. "description": "OK",
  4449. "schema": {
  4450. "type": "array",
  4451. "items": {
  4452. "$ref": "#/definitions/models.Ermcp3RootUserAccount"
  4453. }
  4454. }
  4455. },
  4456. "500": {
  4457. "description": "Internal Server Error",
  4458. "schema": {
  4459. "$ref": "#/definitions/app.Response"
  4460. }
  4461. }
  4462. }
  4463. }
  4464. },
  4465. "/Ermcp3/QuerySpotContract": {
  4466. "get": {
  4467. "security": [
  4468. {
  4469. "ApiKeyAuth": []
  4470. }
  4471. ],
  4472. "produces": [
  4473. "application/json"
  4474. ],
  4475. "tags": [
  4476. "企业风险管理v3(app)"
  4477. ],
  4478. "summary": "查询现货合同",
  4479. "parameters": [
  4480. {
  4481. "type": "integer",
  4482. "description": "用户id",
  4483. "name": "userid",
  4484. "in": "query",
  4485. "required": true
  4486. },
  4487. {
  4488. "type": "integer",
  4489. "description": "用户类型 2-机构 7-企业成员",
  4490. "name": "usertype",
  4491. "in": "query"
  4492. },
  4493. {
  4494. "type": "integer",
  4495. "description": "查询类型 1-未提交 2-待审核 3-履约中 4-已完成",
  4496. "name": "querytype",
  4497. "in": "query",
  4498. "required": true
  4499. },
  4500. {
  4501. "type": "string",
  4502. "description": "合同ID(SpotContractId)",
  4503. "name": "contractid",
  4504. "in": "query"
  4505. }
  4506. ],
  4507. "responses": {
  4508. "200": {
  4509. "description": "OK",
  4510. "schema": {
  4511. "type": "array",
  4512. "items": {
  4513. "$ref": "#/definitions/models.Ermcp3Contract"
  4514. }
  4515. }
  4516. },
  4517. "500": {
  4518. "description": "Internal Server Error",
  4519. "schema": {
  4520. "$ref": "#/definitions/app.Response"
  4521. }
  4522. }
  4523. }
  4524. }
  4525. },
  4526. "/Ermcp3/QuerySpotContractBS": {
  4527. "get": {
  4528. "security": [
  4529. {
  4530. "ApiKeyAuth": []
  4531. }
  4532. ],
  4533. "produces": [
  4534. "application/json"
  4535. ],
  4536. "tags": [
  4537. "企业风险管理v3(app)"
  4538. ],
  4539. "summary": "查询合同(采购/销售)",
  4540. "parameters": [
  4541. {
  4542. "type": "integer",
  4543. "description": "用户id",
  4544. "name": "userid",
  4545. "in": "query",
  4546. "required": true
  4547. },
  4548. {
  4549. "type": "integer",
  4550. "description": "用户类型 2-机构 7-企业成员",
  4551. "name": "usertype",
  4552. "in": "query"
  4553. },
  4554. {
  4555. "type": "integer",
  4556. "description": "合同类型 1-采购, -1-销售",
  4557. "name": "contracttype",
  4558. "in": "query",
  4559. "required": true
  4560. },
  4561. {
  4562. "type": "integer",
  4563. "description": "查询类型 1-全部 2-待点价 3-履约结算 4-已完成",
  4564. "name": "querytype",
  4565. "in": "query",
  4566. "required": true
  4567. },
  4568. {
  4569. "type": "string",
  4570. "description": "合同ID(SpotContractId)",
  4571. "name": "contractid",
  4572. "in": "query"
  4573. }
  4574. ],
  4575. "responses": {
  4576. "200": {
  4577. "description": "OK",
  4578. "schema": {
  4579. "type": "array",
  4580. "items": {
  4581. "$ref": "#/definitions/models.Ermcp3SellBuyContract"
  4582. }
  4583. }
  4584. },
  4585. "500": {
  4586. "description": "Internal Server Error",
  4587. "schema": {
  4588. "$ref": "#/definitions/app.Response"
  4589. }
  4590. }
  4591. }
  4592. }
  4593. },
  4594. "/Ermcp3/QuerySpotGoodsPrice": {
  4595. "get": {
  4596. "security": [
  4597. {
  4598. "ApiKeyAuth": []
  4599. }
  4600. ],
  4601. "produces": [
  4602. "application/json"
  4603. ],
  4604. "tags": [
  4605. "企业风险管理v3(app)"
  4606. ],
  4607. "summary": "查询现货市价(现货市价)",
  4608. "parameters": [
  4609. {
  4610. "type": "integer",
  4611. "description": "用户ID",
  4612. "name": "userid",
  4613. "in": "query",
  4614. "required": true
  4615. }
  4616. ],
  4617. "responses": {
  4618. "200": {
  4619. "description": "OK",
  4620. "schema": {
  4621. "type": "array",
  4622. "items": {
  4623. "$ref": "#/definitions/models.Ermcp3SpotGoodsPrice"
  4624. }
  4625. }
  4626. },
  4627. "500": {
  4628. "description": "Internal Server Error",
  4629. "schema": {
  4630. "$ref": "#/definitions/app.Response"
  4631. }
  4632. }
  4633. }
  4634. }
  4635. },
  4636. "/Ermcp3/QuerySpotGoodsPriceLog": {
  4637. "get": {
  4638. "security": [
  4639. {
  4640. "ApiKeyAuth": []
  4641. }
  4642. ],
  4643. "produces": [
  4644. "application/json"
  4645. ],
  4646. "tags": [
  4647. "企业风险管理v3(app)"
  4648. ],
  4649. "summary": "查询现货市价详情(现货市价/详情)",
  4650. "parameters": [
  4651. {
  4652. "type": "integer",
  4653. "description": "用户ID",
  4654. "name": "userid",
  4655. "in": "query",
  4656. "required": true
  4657. },
  4658. {
  4659. "type": "integer",
  4660. "description": "现货商品ID",
  4661. "name": "deliverygoodsid",
  4662. "in": "query",
  4663. "required": true
  4664. },
  4665. {
  4666. "type": "integer",
  4667. "description": "品牌ID",
  4668. "name": "brandid",
  4669. "in": "query"
  4670. },
  4671. {
  4672. "type": "integer",
  4673. "description": "品类ID",
  4674. "name": "wrstandardid",
  4675. "in": "query"
  4676. }
  4677. ],
  4678. "responses": {
  4679. "200": {
  4680. "description": "OK",
  4681. "schema": {
  4682. "type": "array",
  4683. "items": {
  4684. "$ref": "#/definitions/models.Ermcp3SpotGoodsPriceLog"
  4685. }
  4686. }
  4687. },
  4688. "500": {
  4689. "description": "Internal Server Error",
  4690. "schema": {
  4691. "$ref": "#/definitions/app.Response"
  4692. }
  4693. }
  4694. }
  4695. }
  4696. },
  4697. "/Erms2/QueryArbitrageStrategy": {
  4698. "get": {
  4699. "security": [
  4700. {
  4701. "ApiKeyAuth": []
  4702. }
  4703. ],
  4704. "produces": [
  4705. "application/json"
  4706. ],
  4707. "tags": [
  4708. "风险管理"
  4709. ],
  4710. "summary": "查询期现套利策略表信息(指定资金账户、未结束的)",
  4711. "parameters": [
  4712. {
  4713. "type": "integer",
  4714. "description": "账户ID",
  4715. "name": "userid",
  4716. "in": "query",
  4717. "required": true
  4718. },
  4719. {
  4720. "type": "string",
  4721. "description": "商品组ID(品种ID)",
  4722. "name": "goodsgroupid",
  4723. "in": "query"
  4724. }
  4725. ],
  4726. "responses": {
  4727. "200": {
  4728. "description": "OK",
  4729. "schema": {
  4730. "$ref": "#/definitions/erms2.QueryArbitrageStrategyRsp"
  4731. }
  4732. },
  4733. "500": {
  4734. "description": "Internal Server Error",
  4735. "schema": {
  4736. "$ref": "#/definitions/app.Response"
  4737. }
  4738. }
  4739. }
  4740. }
  4741. },
  4742. "/Erms2/QueryInnerTradeDetail": {
  4743. "get": {
  4744. "security": [
  4745. {
  4746. "ApiKeyAuth": []
  4747. }
  4748. ],
  4749. "produces": [
  4750. "application/json"
  4751. ],
  4752. "tags": [
  4753. "风险管理"
  4754. ],
  4755. "summary": "查询内部成交单信息",
  4756. "parameters": [
  4757. {
  4758. "type": "integer",
  4759. "description": "资金账户",
  4760. "name": "accountid",
  4761. "in": "query",
  4762. "required": true
  4763. }
  4764. ],
  4765. "responses": {
  4766. "200": {
  4767. "description": "OK",
  4768. "schema": {
  4769. "$ref": "#/definitions/erms2.QueryInnerTradeDetailRsp"
  4770. }
  4771. },
  4772. "500": {
  4773. "description": "Internal Server Error",
  4774. "schema": {
  4775. "$ref": "#/definitions/app.Response"
  4776. }
  4777. }
  4778. }
  4779. }
  4780. },
  4781. "/Erms2/QuerySpotContract": {
  4782. "get": {
  4783. "security": [
  4784. {
  4785. "ApiKeyAuth": []
  4786. }
  4787. ],
  4788. "produces": [
  4789. "application/json"
  4790. ],
  4791. "tags": [
  4792. "风险管理"
  4793. ],
  4794. "summary": "查询现货合同表信息(指定策略ID、未结束的)",
  4795. "parameters": [
  4796. {
  4797. "type": "integer",
  4798. "description": "策略申请ID",
  4799. "name": "asapplyid",
  4800. "in": "query",
  4801. "required": true
  4802. },
  4803. {
  4804. "type": "integer",
  4805. "description": "现货合同ID",
  4806. "name": "spotcontractid",
  4807. "in": "query"
  4808. }
  4809. ],
  4810. "responses": {
  4811. "200": {
  4812. "description": "OK",
  4813. "schema": {
  4814. "$ref": "#/definitions/erms2.QuerySpotContractRsp"
  4815. }
  4816. },
  4817. "500": {
  4818. "description": "Internal Server Error",
  4819. "schema": {
  4820. "$ref": "#/definitions/app.Response"
  4821. }
  4822. }
  4823. }
  4824. }
  4825. },
  4826. "/Erms3/AddErms2ASApply": {
  4827. "post": {
  4828. "security": [
  4829. {
  4830. "ApiKeyAuth": []
  4831. }
  4832. ],
  4833. "produces": [
  4834. "application/json"
  4835. ],
  4836. "tags": [
  4837. "风险管理v3"
  4838. ],
  4839. "summary": "新增期现套利业务申请",
  4840. "parameters": [
  4841. {
  4842. "description": "申请参数",
  4843. "name": "jsonBody",
  4844. "in": "body",
  4845. "required": true,
  4846. "schema": {
  4847. "$ref": "#/definitions/erms3.AddErms2ASApplyReq"
  4848. }
  4849. }
  4850. ],
  4851. "responses": {
  4852. "200": {
  4853. "description": "OK",
  4854. "schema": {
  4855. "$ref": "#/definitions/app.Response"
  4856. }
  4857. },
  4858. "500": {
  4859. "description": "Internal Server Error",
  4860. "schema": {
  4861. "$ref": "#/definitions/app.Response"
  4862. }
  4863. }
  4864. }
  4865. }
  4866. },
  4867. "/Erms3/AddErms2SpotTradeApply": {
  4868. "post": {
  4869. "security": [
  4870. {
  4871. "ApiKeyAuth": []
  4872. }
  4873. ],
  4874. "produces": [
  4875. "application/json"
  4876. ],
  4877. "tags": [
  4878. "风险管理v3"
  4879. ],
  4880. "summary": "新增现货贸易业务申请",
  4881. "parameters": [
  4882. {
  4883. "description": "申请参数",
  4884. "name": "jsonBody",
  4885. "in": "body",
  4886. "required": true,
  4887. "schema": {
  4888. "$ref": "#/definitions/erms3.AddErms2SpotTradeApplyReq"
  4889. }
  4890. }
  4891. ],
  4892. "responses": {
  4893. "200": {
  4894. "description": "OK",
  4895. "schema": {
  4896. "$ref": "#/definitions/app.Response"
  4897. }
  4898. },
  4899. "500": {
  4900. "description": "Internal Server Error",
  4901. "schema": {
  4902. "$ref": "#/definitions/app.Response"
  4903. }
  4904. }
  4905. }
  4906. }
  4907. },
  4908. "/Erms3/AddSpotContractApply": {
  4909. "post": {
  4910. "security": [
  4911. {
  4912. "ApiKeyAuth": []
  4913. }
  4914. ],
  4915. "produces": [
  4916. "application/json"
  4917. ],
  4918. "tags": [
  4919. "风险管理v3"
  4920. ],
  4921. "summary": "新增现货合同申请",
  4922. "parameters": [
  4923. {
  4924. "description": "申请参数",
  4925. "name": "jsonBody",
  4926. "in": "body",
  4927. "required": true,
  4928. "schema": {
  4929. "$ref": "#/definitions/erms3.AddSpotContractApplyReq"
  4930. }
  4931. }
  4932. ],
  4933. "responses": {
  4934. "200": {
  4935. "description": "OK",
  4936. "schema": {
  4937. "$ref": "#/definitions/erms3.AddSpotContractApplyRsp"
  4938. }
  4939. },
  4940. "500": {
  4941. "description": "Internal Server Error",
  4942. "schema": {
  4943. "$ref": "#/definitions/app.Response"
  4944. }
  4945. }
  4946. }
  4947. }
  4948. },
  4949. "/Erms3/AddUserInfoApply": {
  4950. "post": {
  4951. "security": [
  4952. {
  4953. "ApiKeyAuth": []
  4954. }
  4955. ],
  4956. "produces": [
  4957. "application/json"
  4958. ],
  4959. "tags": [
  4960. "风险管理v3"
  4961. ],
  4962. "summary": "新增客户申请",
  4963. "parameters": [
  4964. {
  4965. "description": "用户信息",
  4966. "name": "jsonBody",
  4967. "in": "body",
  4968. "required": true,
  4969. "schema": {
  4970. "$ref": "#/definitions/erms3.AddUserInfoApplyReq"
  4971. }
  4972. }
  4973. ],
  4974. "responses": {
  4975. "200": {
  4976. "description": "OK",
  4977. "schema": {
  4978. "$ref": "#/definitions/app.Response"
  4979. }
  4980. },
  4981. "500": {
  4982. "description": "Internal Server Error",
  4983. "schema": {
  4984. "$ref": "#/definitions/app.Response"
  4985. }
  4986. }
  4987. }
  4988. }
  4989. },
  4990. "/Erms3/DeleteUserInfoApply": {
  4991. "get": {
  4992. "security": [
  4993. {
  4994. "ApiKeyAuth": []
  4995. }
  4996. ],
  4997. "description": "只可删除 UserState = 1 (未提交)状态的申请信息",
  4998. "produces": [
  4999. "application/json"
  5000. ],
  5001. "tags": [
  5002. "风险管理v3"
  5003. ],
  5004. "summary": "删除客户申请",
  5005. "parameters": [
  5006. {
  5007. "type": "integer",
  5008. "description": "用户ID",
  5009. "name": "userID",
  5010. "in": "query",
  5011. "required": true
  5012. }
  5013. ],
  5014. "responses": {
  5015. "200": {
  5016. "description": "OK",
  5017. "schema": {
  5018. "$ref": "#/definitions/app.Response"
  5019. }
  5020. },
  5021. "500": {
  5022. "description": "Internal Server Error",
  5023. "schema": {
  5024. "$ref": "#/definitions/app.Response"
  5025. }
  5026. }
  5027. }
  5028. }
  5029. },
  5030. "/Erms3/ModifyUserInfoApply": {
  5031. "post": {
  5032. "security": [
  5033. {
  5034. "ApiKeyAuth": []
  5035. }
  5036. ],
  5037. "description": "保存草稿(撤回)- { \"userid\": int, \"userstate\": 1 } 提交审核 - { \"userid\": int, \"userstate\": 2 }",
  5038. "produces": [
  5039. "application/json"
  5040. ],
  5041. "tags": [
  5042. "风险管理v3"
  5043. ],
  5044. "summary": "修改客户申请",
  5045. "parameters": [
  5046. {
  5047. "description": "用户信息",
  5048. "name": "jsonBody",
  5049. "in": "body",
  5050. "required": true,
  5051. "schema": {
  5052. "$ref": "#/definitions/erms3.ModifyUserInfoApplyReq"
  5053. }
  5054. }
  5055. ],
  5056. "responses": {
  5057. "200": {
  5058. "description": "OK",
  5059. "schema": {
  5060. "$ref": "#/definitions/app.Response"
  5061. }
  5062. },
  5063. "500": {
  5064. "description": "Internal Server Error",
  5065. "schema": {
  5066. "$ref": "#/definitions/app.Response"
  5067. }
  5068. }
  5069. }
  5070. }
  5071. },
  5072. "/Erms3/QueryBusinessInfo": {
  5073. "get": {
  5074. "security": [
  5075. {
  5076. "ApiKeyAuth": []
  5077. }
  5078. ],
  5079. "produces": [
  5080. "application/json"
  5081. ],
  5082. "tags": [
  5083. "风险管理v3"
  5084. ],
  5085. "summary": "查询业务表单数据",
  5086. "parameters": [
  5087. {
  5088. "type": "string",
  5089. "description": "资金账号ID列表,用逗号分隔",
  5090. "name": "accountids",
  5091. "in": "query",
  5092. "required": true
  5093. },
  5094. {
  5095. "type": "integer",
  5096. "description": "状态,0为未结束 1为已结束",
  5097. "name": "status",
  5098. "in": "query",
  5099. "required": true
  5100. }
  5101. ],
  5102. "responses": {
  5103. "200": {
  5104. "description": "OK",
  5105. "schema": {
  5106. "type": "array",
  5107. "items": {
  5108. "$ref": "#/definitions/erms3.QueryBusinessInfoRsp"
  5109. }
  5110. }
  5111. },
  5112. "500": {
  5113. "description": "Internal Server Error",
  5114. "schema": {
  5115. "$ref": "#/definitions/app.Response"
  5116. }
  5117. }
  5118. }
  5119. }
  5120. },
  5121. "/Erms3/QueryPendingAuditContract": {
  5122. "get": {
  5123. "security": [
  5124. {
  5125. "ApiKeyAuth": []
  5126. }
  5127. ],
  5128. "produces": [
  5129. "application/json"
  5130. ],
  5131. "tags": [
  5132. "风险管理v3"
  5133. ],
  5134. "summary": "查询待审核合同",
  5135. "parameters": [
  5136. {
  5137. "type": "string",
  5138. "description": "资金账号ID列表,逗号隔开",
  5139. "name": "accountids",
  5140. "in": "query",
  5141. "required": true
  5142. },
  5143. {
  5144. "type": "integer",
  5145. "description": "合同类型 1-采购 -1-销售",
  5146. "name": "contracttype",
  5147. "in": "query",
  5148. "required": true
  5149. },
  5150. {
  5151. "type": "integer",
  5152. "description": "合同模式 1-普通 2-回购",
  5153. "name": "contractmode",
  5154. "in": "query",
  5155. "required": true
  5156. }
  5157. ],
  5158. "responses": {
  5159. "200": {
  5160. "description": "OK",
  5161. "schema": {
  5162. "type": "array",
  5163. "items": {
  5164. "$ref": "#/definitions/erms3.QryAuditContractRsp"
  5165. }
  5166. }
  5167. },
  5168. "500": {
  5169. "description": "Internal Server Error",
  5170. "schema": {
  5171. "$ref": "#/definitions/app.Response"
  5172. }
  5173. }
  5174. }
  5175. }
  5176. },
  5177. "/Erms3/QueryPendingBusiness": {
  5178. "get": {
  5179. "security": [
  5180. {
  5181. "ApiKeyAuth": []
  5182. }
  5183. ],
  5184. "produces": [
  5185. "application/json"
  5186. ],
  5187. "tags": [
  5188. "风险管理v3"
  5189. ],
  5190. "summary": "查询待审核基差贸易业务",
  5191. "parameters": [
  5192. {
  5193. "type": "string",
  5194. "description": "资金账号ID列表,逗号隔开",
  5195. "name": "accountids",
  5196. "in": "query",
  5197. "required": true
  5198. }
  5199. ],
  5200. "responses": {
  5201. "200": {
  5202. "description": "OK",
  5203. "schema": {
  5204. "type": "array",
  5205. "items": {
  5206. "$ref": "#/definitions/erms3.QryPendingBizRsp"
  5207. }
  5208. }
  5209. },
  5210. "500": {
  5211. "description": "Internal Server Error",
  5212. "schema": {
  5213. "$ref": "#/definitions/app.Response"
  5214. }
  5215. }
  5216. }
  5217. }
  5218. },
  5219. "/Erms3/QuerySpotContractAppleForm": {
  5220. "get": {
  5221. "security": [
  5222. {
  5223. "ApiKeyAuth": []
  5224. }
  5225. ],
  5226. "produces": [
  5227. "application/json"
  5228. ],
  5229. "tags": [
  5230. "风险管理v3"
  5231. ],
  5232. "summary": "查询合同申请表单数据",
  5233. "parameters": [
  5234. {
  5235. "type": "integer",
  5236. "description": "登录账号",
  5237. "name": "loginID",
  5238. "in": "query",
  5239. "required": true
  5240. }
  5241. ],
  5242. "responses": {
  5243. "200": {
  5244. "description": "OK",
  5245. "schema": {
  5246. "$ref": "#/definitions/erms3.QuerySpotContractAppleFormRsp"
  5247. }
  5248. },
  5249. "500": {
  5250. "description": "Internal Server Error",
  5251. "schema": {
  5252. "$ref": "#/definitions/app.Response"
  5253. }
  5254. }
  5255. }
  5256. }
  5257. },
  5258. "/Erms3/QuerySpotContractDetail": {
  5259. "get": {
  5260. "security": [
  5261. {
  5262. "ApiKeyAuth": []
  5263. }
  5264. ],
  5265. "produces": [
  5266. "application/json"
  5267. ],
  5268. "tags": [
  5269. "风险管理v3"
  5270. ],
  5271. "summary": "查询合同详细信息",
  5272. "parameters": [
  5273. {
  5274. "type": "string",
  5275. "description": "资金账号ID列表,用逗号分隔",
  5276. "name": "accountids",
  5277. "in": "query",
  5278. "required": true
  5279. },
  5280. {
  5281. "type": "integer",
  5282. "description": "合同类型,1为采购合同 -1为销售合同",
  5283. "name": "contracttype",
  5284. "in": "query",
  5285. "required": true
  5286. },
  5287. {
  5288. "type": "integer",
  5289. "description": "合同模式,1为普通合同 2为回购销售合同",
  5290. "name": "contractmode",
  5291. "in": "query",
  5292. "required": true
  5293. },
  5294. {
  5295. "type": "integer",
  5296. "description": "状态,0为履约中 1为已完成",
  5297. "name": "status",
  5298. "in": "query",
  5299. "required": true
  5300. }
  5301. ],
  5302. "responses": {
  5303. "200": {
  5304. "description": "OK",
  5305. "schema": {
  5306. "type": "array",
  5307. "items": {
  5308. "$ref": "#/definitions/erms3.QuerySpotContractInfoRsp"
  5309. }
  5310. }
  5311. },
  5312. "500": {
  5313. "description": "Internal Server Error",
  5314. "schema": {
  5315. "$ref": "#/definitions/app.Response"
  5316. }
  5317. }
  5318. }
  5319. }
  5320. },
  5321. "/Erms3/QueryUserInfoApplies": {
  5322. "get": {
  5323. "security": [
  5324. {
  5325. "ApiKeyAuth": []
  5326. }
  5327. ],
  5328. "produces": [
  5329. "application/json"
  5330. ],
  5331. "tags": [
  5332. "风险管理v3"
  5333. ],
  5334. "summary": "客户申请信息查询",
  5335. "parameters": [
  5336. {
  5337. "type": "integer",
  5338. "description": "页码",
  5339. "name": "page",
  5340. "in": "query"
  5341. },
  5342. {
  5343. "type": "integer",
  5344. "description": "每页条数",
  5345. "name": "pagesize",
  5346. "in": "query"
  5347. },
  5348. {
  5349. "type": "string",
  5350. "description": "客户名称,支持模糊查询",
  5351. "name": "userName",
  5352. "in": "query"
  5353. }
  5354. ],
  5355. "responses": {
  5356. "200": {
  5357. "description": "OK",
  5358. "schema": {
  5359. "$ref": "#/definitions/erms3.QueryUserInfoAppliesRsp"
  5360. }
  5361. },
  5362. "500": {
  5363. "description": "Internal Server Error",
  5364. "schema": {
  5365. "$ref": "#/definitions/app.Response"
  5366. }
  5367. }
  5368. }
  5369. }
  5370. },
  5371. "/Erms3/QueryUserInfos": {
  5372. "get": {
  5373. "security": [
  5374. {
  5375. "ApiKeyAuth": []
  5376. }
  5377. ],
  5378. "produces": [
  5379. "application/json"
  5380. ],
  5381. "tags": [
  5382. "风险管理v3"
  5383. ],
  5384. "summary": "客户信息查询",
  5385. "parameters": [
  5386. {
  5387. "type": "integer",
  5388. "description": "页码",
  5389. "name": "page",
  5390. "in": "query"
  5391. },
  5392. {
  5393. "type": "integer",
  5394. "description": "每页条数",
  5395. "name": "pagesize",
  5396. "in": "query"
  5397. },
  5398. {
  5399. "type": "string",
  5400. "description": "客户名称,支持模糊查询",
  5401. "name": "userName",
  5402. "in": "query"
  5403. }
  5404. ],
  5405. "responses": {
  5406. "200": {
  5407. "description": "OK",
  5408. "schema": {
  5409. "$ref": "#/definitions/erms3.QueryUserInfosRsp"
  5410. }
  5411. },
  5412. "500": {
  5413. "description": "Internal Server Error",
  5414. "schema": {
  5415. "$ref": "#/definitions/app.Response"
  5416. }
  5417. }
  5418. }
  5419. }
  5420. },
  5421. "/HSBY/GetHsbyMyCount": {
  5422. "get": {
  5423. "security": [
  5424. {
  5425. "ApiKeyAuth": []
  5426. }
  5427. ],
  5428. "description": "说明: 不包括已完成的数量。",
  5429. "produces": [
  5430. "application/json"
  5431. ],
  5432. "tags": [
  5433. "定制【海商报业】"
  5434. ],
  5435. "summary": "获取我的订单与包裹数量",
  5436. "parameters": [
  5437. {
  5438. "type": "string",
  5439. "description": "资金账户列表,格式:1,2,3",
  5440. "name": "accountIDs",
  5441. "in": "query",
  5442. "required": true
  5443. }
  5444. ],
  5445. "responses": {
  5446. "200": {
  5447. "description": "OK",
  5448. "schema": {
  5449. "$ref": "#/definitions/hsby.GetHsbyMyCountRsp"
  5450. }
  5451. },
  5452. "500": {
  5453. "description": "Internal Server Error",
  5454. "schema": {
  5455. "$ref": "#/definitions/app.Response"
  5456. }
  5457. }
  5458. }
  5459. }
  5460. },
  5461. "/HSBY/QueryClientFixedADConfigs": {
  5462. "get": {
  5463. "security": [
  5464. {
  5465. "ApiKeyAuth": []
  5466. }
  5467. ],
  5468. "produces": [
  5469. "application/json"
  5470. ],
  5471. "tags": [
  5472. "定制【海商报业】"
  5473. ],
  5474. "summary": "获取终端固定广告配置",
  5475. "responses": {
  5476. "200": {
  5477. "description": "OK",
  5478. "schema": {
  5479. "$ref": "#/definitions/models.Clientfixedadconfig"
  5480. }
  5481. },
  5482. "500": {
  5483. "description": "Internal Server Error",
  5484. "schema": {
  5485. "$ref": "#/definitions/app.Response"
  5486. }
  5487. }
  5488. }
  5489. }
  5490. },
  5491. "/HSBY/QueryHsbyBuyMyTradeDetail": {
  5492. "get": {
  5493. "security": [
  5494. {
  5495. "ApiKeyAuth": []
  5496. }
  5497. ],
  5498. "produces": [
  5499. "application/json"
  5500. ],
  5501. "tags": [
  5502. "定制【海商报业】"
  5503. ],
  5504. "summary": "查询\"我的订单 - 已完成\"单据信息",
  5505. "parameters": [
  5506. {
  5507. "type": "integer",
  5508. "description": "页码",
  5509. "name": "page",
  5510. "in": "query"
  5511. },
  5512. {
  5513. "type": "integer",
  5514. "description": "每页条数",
  5515. "name": "pagesize",
  5516. "in": "query"
  5517. },
  5518. {
  5519. "type": "string",
  5520. "description": "资金账户列表,格式:1,2,3",
  5521. "name": "accountIDs",
  5522. "in": "query",
  5523. "required": true
  5524. }
  5525. ],
  5526. "responses": {
  5527. "200": {
  5528. "description": "OK",
  5529. "schema": {
  5530. "$ref": "#/definitions/models.HsbyBuyMyTradeDetail"
  5531. }
  5532. },
  5533. "500": {
  5534. "description": "Internal Server Error",
  5535. "schema": {
  5536. "$ref": "#/definitions/app.Response"
  5537. }
  5538. }
  5539. }
  5540. }
  5541. },
  5542. "/HSBY/QueryHsbyGoodsOrderDetails": {
  5543. "get": {
  5544. "security": [
  5545. {
  5546. "ApiKeyAuth": []
  5547. }
  5548. ],
  5549. "description": "说明:查询结果已按委托价格和委托时间排序",
  5550. "produces": [
  5551. "application/json"
  5552. ],
  5553. "tags": [
  5554. "定制【海商报业】"
  5555. ],
  5556. "summary": "查询二级市场(挂牌点选)商品对应的挂牌委托单信息",
  5557. "parameters": [
  5558. {
  5559. "type": "integer",
  5560. "description": "商品ID",
  5561. "name": "goodsID",
  5562. "in": "query",
  5563. "required": true
  5564. },
  5565. {
  5566. "type": "string",
  5567. "description": "摘牌方资金账户列表,格式:1,2,3。主要用于过滤自己的挂牌单",
  5568. "name": "accountIDs",
  5569. "in": "query"
  5570. },
  5571. {
  5572. "type": "integer",
  5573. "description": "挂牌委托单方向(对手单方向),0:买 1:卖",
  5574. "name": "buyOrSell",
  5575. "in": "query"
  5576. },
  5577. {
  5578. "type": "number",
  5579. "description": " 参考价格。对手单买方向委托单则价格大于等于(站在摘牌人的角度,摘牌方面是卖,我的闲置下单);对手单卖方向委托单则价格小于等于(站在摘牌人的角度,摘牌方面是买,热门商品下单)",
  5580. "name": "price",
  5581. "in": "query"
  5582. },
  5583. {
  5584. "type": "integer",
  5585. "description": "档位,不传则默认为3档",
  5586. "name": "speed",
  5587. "in": "query"
  5588. }
  5589. ],
  5590. "responses": {
  5591. "200": {
  5592. "description": "OK",
  5593. "schema": {
  5594. "$ref": "#/definitions/models.HsbyGoodsOrderDetail"
  5595. }
  5596. },
  5597. "500": {
  5598. "description": "Internal Server Error",
  5599. "schema": {
  5600. "$ref": "#/definitions/app.Response"
  5601. }
  5602. }
  5603. }
  5604. }
  5605. },
  5606. "/HSBY/QueryHsbyListingGoodsDetail": {
  5607. "get": {
  5608. "security": [
  5609. {
  5610. "ApiKeyAuth": []
  5611. }
  5612. ],
  5613. "description": "说明:“我的商品”详情中,二级(挂牌点选)和三级(商城)的商品详情都使用此接口",
  5614. "produces": [
  5615. "application/json"
  5616. ],
  5617. "tags": [
  5618. "定制【海商报业】"
  5619. ],
  5620. "summary": "查询二级市场(挂牌点选)商品信息详情",
  5621. "parameters": [
  5622. {
  5623. "type": "integer",
  5624. "description": "商品ID",
  5625. "name": "goodsID",
  5626. "in": "query",
  5627. "required": true
  5628. },
  5629. {
  5630. "type": "integer",
  5631. "description": "资金账户,主要用于获取交易规则。不传则获取通用规则。",
  5632. "name": "accountID",
  5633. "in": "query"
  5634. }
  5635. ],
  5636. "responses": {
  5637. "200": {
  5638. "description": "OK",
  5639. "schema": {
  5640. "$ref": "#/definitions/models.HsbyListingGoodsDetail"
  5641. }
  5642. },
  5643. "500": {
  5644. "description": "Internal Server Error",
  5645. "schema": {
  5646. "$ref": "#/definitions/app.Response"
  5647. }
  5648. }
  5649. }
  5650. }
  5651. },
  5652. "/HSBY/QueryHsbyMarketGoodsDetail": {
  5653. "get": {
  5654. "security": [
  5655. {
  5656. "ApiKeyAuth": []
  5657. }
  5658. ],
  5659. "produces": [
  5660. "application/json"
  5661. ],
  5662. "tags": [
  5663. "定制【海商报业】"
  5664. ],
  5665. "summary": "查询三级市场(商城)商品信息详情",
  5666. "parameters": [
  5667. {
  5668. "type": "integer",
  5669. "description": "委托单号",
  5670. "name": "orderID",
  5671. "in": "query",
  5672. "required": true
  5673. },
  5674. {
  5675. "type": "integer",
  5676. "description": "资金账户,主要用于判断商品最大开仓手数;如未登录可不传。",
  5677. "name": "accountID",
  5678. "in": "query"
  5679. }
  5680. ],
  5681. "responses": {
  5682. "200": {
  5683. "description": "OK",
  5684. "schema": {
  5685. "$ref": "#/definitions/models.HsbyMarketGoodsDetail"
  5686. }
  5687. },
  5688. "500": {
  5689. "description": "Internal Server Error",
  5690. "schema": {
  5691. "$ref": "#/definitions/app.Response"
  5692. }
  5693. }
  5694. }
  5695. }
  5696. },
  5697. "/HSBY/QueryHsbyMarketGoodses": {
  5698. "get": {
  5699. "security": [
  5700. {
  5701. "ApiKeyAuth": []
  5702. }
  5703. ],
  5704. "produces": [
  5705. "application/json"
  5706. ],
  5707. "tags": [
  5708. "定制【海商报业】"
  5709. ],
  5710. "summary": "查询特卖商品列表(三级商城)",
  5711. "parameters": [
  5712. {
  5713. "type": "integer",
  5714. "description": "页码",
  5715. "name": "page",
  5716. "in": "query"
  5717. },
  5718. {
  5719. "type": "integer",
  5720. "description": "每页条数",
  5721. "name": "pagesize",
  5722. "in": "query"
  5723. },
  5724. {
  5725. "type": "string",
  5726. "description": "市场ID列表,格式:1,2,3",
  5727. "name": "marketIDs",
  5728. "in": "query",
  5729. "required": true
  5730. },
  5731. {
  5732. "type": "integer",
  5733. "description": "资金账户,用于判断商品是否有可用的优惠卷;同时只显示此账户所属机构下的商城委托单。",
  5734. "name": "accountID",
  5735. "in": "query",
  5736. "required": true
  5737. },
  5738. {
  5739. "type": "integer",
  5740. "description": "类别ID",
  5741. "name": "categoryID",
  5742. "in": "query"
  5743. },
  5744. {
  5745. "type": "string",
  5746. "description": "商品ID列表,格式:1,2,3。主要用于商品搜索。",
  5747. "name": "goodsIDs",
  5748. "in": "query"
  5749. },
  5750. {
  5751. "type": "integer",
  5752. "description": "优惠券类型ID,主要用于显示优惠卷对应的商品列表。",
  5753. "name": "couponTypeID",
  5754. "in": "query"
  5755. }
  5756. ],
  5757. "responses": {
  5758. "200": {
  5759. "description": "OK",
  5760. "schema": {
  5761. "$ref": "#/definitions/models.HsbyMarketGoods"
  5762. }
  5763. },
  5764. "500": {
  5765. "description": "Internal Server Error",
  5766. "schema": {
  5767. "$ref": "#/definitions/app.Response"
  5768. }
  5769. }
  5770. }
  5771. }
  5772. },
  5773. "/HSBY/QueryHsbyMarkets": {
  5774. "get": {
  5775. "security": [
  5776. {
  5777. "ApiKeyAuth": []
  5778. }
  5779. ],
  5780. "produces": [
  5781. "application/json"
  5782. ],
  5783. "tags": [
  5784. "定制【海商报业】"
  5785. ],
  5786. "summary": "查询海商报业相关市场信息",
  5787. "responses": {
  5788. "200": {
  5789. "description": "OK",
  5790. "schema": {
  5791. "$ref": "#/definitions/models.HsbyMarketInfo"
  5792. }
  5793. },
  5794. "500": {
  5795. "description": "Internal Server Error",
  5796. "schema": {
  5797. "$ref": "#/definitions/app.Response"
  5798. }
  5799. }
  5800. }
  5801. }
  5802. },
  5803. "/HSBY/QueryHsbyMyBuyOrderDetails": {
  5804. "get": {
  5805. "security": [
  5806. {
  5807. "ApiKeyAuth": []
  5808. }
  5809. ],
  5810. "description": "说明: myBuyStatus: 1,2 - 待成交;3 - 已提交;4 - 已撤消;5 - 委托失败",
  5811. "produces": [
  5812. "application/json"
  5813. ],
  5814. "tags": [
  5815. "定制【海商报业】"
  5816. ],
  5817. "summary": "查询“我的订单”信息",
  5818. "parameters": [
  5819. {
  5820. "type": "string",
  5821. "description": "资金账户列表,格式:1,2,3",
  5822. "name": "accountIDs",
  5823. "in": "query",
  5824. "required": true
  5825. }
  5826. ],
  5827. "responses": {
  5828. "200": {
  5829. "description": "OK",
  5830. "schema": {
  5831. "$ref": "#/definitions/models.HybsMyBuyOrderDetail"
  5832. }
  5833. },
  5834. "500": {
  5835. "description": "Internal Server Error",
  5836. "schema": {
  5837. "$ref": "#/definitions/app.Response"
  5838. }
  5839. }
  5840. }
  5841. }
  5842. },
  5843. "/HSBY/QueryHsbyMyGoods": {
  5844. "get": {
  5845. "security": [
  5846. {
  5847. "ApiKeyAuth": []
  5848. }
  5849. ],
  5850. "description": "说明: 挂牌点选(tradeMode = 16)价格取last; 商城(tradeMode = 70)价格取goodsprice",
  5851. "produces": [
  5852. "application/json"
  5853. ],
  5854. "tags": [
  5855. "定制【海商报业】"
  5856. ],
  5857. "summary": "查询“我的商品”信息",
  5858. "parameters": [
  5859. {
  5860. "type": "string",
  5861. "description": "资金账户列表,格式:1,2,3",
  5862. "name": "accountIDs",
  5863. "in": "query",
  5864. "required": true
  5865. }
  5866. ],
  5867. "responses": {
  5868. "200": {
  5869. "description": "OK",
  5870. "schema": {
  5871. "$ref": "#/definitions/models.HsbyMyGoods"
  5872. }
  5873. },
  5874. "500": {
  5875. "description": "Internal Server Error",
  5876. "schema": {
  5877. "$ref": "#/definitions/app.Response"
  5878. }
  5879. }
  5880. }
  5881. }
  5882. },
  5883. "/HSBY/QueryHsbyMyPackages": {
  5884. "get": {
  5885. "security": [
  5886. {
  5887. "ApiKeyAuth": []
  5888. }
  5889. ],
  5890. "produces": [
  5891. "application/json"
  5892. ],
  5893. "tags": [
  5894. "定制【海商报业】"
  5895. ],
  5896. "summary": "查询我的包裹信息",
  5897. "parameters": [
  5898. {
  5899. "type": "string",
  5900. "description": "资金账户列表,格式:1,2,3",
  5901. "name": "accountIDs",
  5902. "in": "query",
  5903. "required": true
  5904. },
  5905. {
  5906. "type": "integer",
  5907. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  5908. "name": "takeOrderStatus",
  5909. "in": "query"
  5910. }
  5911. ],
  5912. "responses": {
  5913. "200": {
  5914. "description": "OK",
  5915. "schema": {
  5916. "$ref": "#/definitions/models.HsbyMyPackage"
  5917. }
  5918. },
  5919. "500": {
  5920. "description": "Internal Server Error",
  5921. "schema": {
  5922. "$ref": "#/definitions/app.Response"
  5923. }
  5924. }
  5925. }
  5926. }
  5927. },
  5928. "/HSBY/QueryHsbyPreGoodsDetail": {
  5929. "get": {
  5930. "security": [
  5931. {
  5932. "ApiKeyAuth": []
  5933. }
  5934. ],
  5935. "produces": [
  5936. "application/json"
  5937. ],
  5938. "tags": [
  5939. "定制【海商报业】"
  5940. ],
  5941. "summary": "查询一级市场(预售)商品信息详情",
  5942. "parameters": [
  5943. {
  5944. "type": "integer",
  5945. "description": "商品ID",
  5946. "name": "goodsID",
  5947. "in": "query",
  5948. "required": true
  5949. },
  5950. {
  5951. "type": "integer",
  5952. "description": "资金账户,主要用于获取预售商品购买上限",
  5953. "name": "accountID",
  5954. "in": "query"
  5955. }
  5956. ],
  5957. "responses": {
  5958. "200": {
  5959. "description": "OK",
  5960. "schema": {
  5961. "$ref": "#/definitions/models.HsbyPreGoodsDetail"
  5962. }
  5963. },
  5964. "500": {
  5965. "description": "Internal Server Error",
  5966. "schema": {
  5967. "$ref": "#/definitions/app.Response"
  5968. }
  5969. }
  5970. }
  5971. }
  5972. },
  5973. "/HSBY/QueryHsbyPreGoodses": {
  5974. "get": {
  5975. "security": [
  5976. {
  5977. "ApiKeyAuth": []
  5978. }
  5979. ],
  5980. "description": "说明:结果已先显示已开始商品(按结束时间顺序排),再显示未开始商品(按开始时间顺序排)",
  5981. "produces": [
  5982. "application/json"
  5983. ],
  5984. "tags": [
  5985. "定制【海商报业】"
  5986. ],
  5987. "summary": "查询新品上市商品列表(一级市场预售)",
  5988. "parameters": [
  5989. {
  5990. "type": "integer",
  5991. "description": "页码",
  5992. "name": "page",
  5993. "in": "query"
  5994. },
  5995. {
  5996. "type": "integer",
  5997. "description": "每页条数",
  5998. "name": "pagesize",
  5999. "in": "query"
  6000. },
  6001. {
  6002. "type": "string",
  6003. "description": "市场ID列表,格式:1,2,3",
  6004. "name": "marketIDs",
  6005. "in": "query",
  6006. "required": true
  6007. },
  6008. {
  6009. "type": "integer",
  6010. "description": "目的地(省)ID",
  6011. "name": "descProvinceID",
  6012. "in": "query"
  6013. },
  6014. {
  6015. "type": "integer",
  6016. "description": "目的地(市)ID",
  6017. "name": "descCityID",
  6018. "in": "query"
  6019. }
  6020. ],
  6021. "responses": {
  6022. "200": {
  6023. "description": "OK",
  6024. "schema": {
  6025. "$ref": "#/definitions/models.HsbyPreGoods"
  6026. }
  6027. },
  6028. "500": {
  6029. "description": "Internal Server Error",
  6030. "schema": {
  6031. "$ref": "#/definitions/app.Response"
  6032. }
  6033. }
  6034. }
  6035. }
  6036. },
  6037. "/HSBY/QueryHsbySellMyDetails": {
  6038. "get": {
  6039. "security": [
  6040. {
  6041. "ApiKeyAuth": []
  6042. }
  6043. ],
  6044. "description": "说明:发布中 - 二级市场卖挂,3:委托成功、7:部分成交; 已完成 - 二级市场成交单,包括历史数据。查询结果已按时间从近到远排序",
  6045. "produces": [
  6046. "application/json"
  6047. ],
  6048. "tags": [
  6049. "定制【海商报业】"
  6050. ],
  6051. "summary": "查询\"我的闲置\"单据信息",
  6052. "parameters": [
  6053. {
  6054. "type": "integer",
  6055. "description": "页码",
  6056. "name": "page",
  6057. "in": "query"
  6058. },
  6059. {
  6060. "type": "integer",
  6061. "description": "每页条数",
  6062. "name": "pagesize",
  6063. "in": "query"
  6064. },
  6065. {
  6066. "type": "string",
  6067. "description": "资金账户列表,格式:1,2,3",
  6068. "name": "accountIDs",
  6069. "in": "query",
  6070. "required": true
  6071. },
  6072. {
  6073. "type": "integer",
  6074. "description": "单据类型:0 - 发布中(默认), 1 - 已完成",
  6075. "name": "orderType",
  6076. "in": "query"
  6077. }
  6078. ],
  6079. "responses": {
  6080. "200": {
  6081. "description": "OK",
  6082. "schema": {
  6083. "$ref": "#/definitions/models.HsbySellMyDetail"
  6084. }
  6085. },
  6086. "500": {
  6087. "description": "Internal Server Error",
  6088. "schema": {
  6089. "$ref": "#/definitions/app.Response"
  6090. }
  6091. }
  6092. }
  6093. }
  6094. },
  6095. "/HSBY/QueryHsbyTopGoodses": {
  6096. "get": {
  6097. "security": [
  6098. {
  6099. "ApiKeyAuth": []
  6100. }
  6101. ],
  6102. "description": "说明:查询结果已按Hotindex(景点热度)从大到小排序",
  6103. "produces": [
  6104. "application/json"
  6105. ],
  6106. "tags": [
  6107. "定制【海商报业】"
  6108. ],
  6109. "summary": "查询热卖商品列表(二级市场挂牌点选)",
  6110. "parameters": [
  6111. {
  6112. "type": "integer",
  6113. "description": "页码",
  6114. "name": "page",
  6115. "in": "query"
  6116. },
  6117. {
  6118. "type": "integer",
  6119. "description": "每页条数",
  6120. "name": "pagesize",
  6121. "in": "query"
  6122. },
  6123. {
  6124. "type": "string",
  6125. "description": "市场ID列表,格式:1,2,3",
  6126. "name": "marketIDs",
  6127. "in": "query",
  6128. "required": true
  6129. },
  6130. {
  6131. "type": "integer",
  6132. "description": "目的地(省)ID",
  6133. "name": "descProvinceID",
  6134. "in": "query"
  6135. },
  6136. {
  6137. "type": "integer",
  6138. "description": "目的地(市)ID",
  6139. "name": "descCityID",
  6140. "in": "query"
  6141. }
  6142. ],
  6143. "responses": {
  6144. "200": {
  6145. "description": "OK",
  6146. "schema": {
  6147. "$ref": "#/definitions/models.HsbyTopGoods"
  6148. }
  6149. },
  6150. "500": {
  6151. "description": "Internal Server Error",
  6152. "schema": {
  6153. "$ref": "#/definitions/app.Response"
  6154. }
  6155. }
  6156. }
  6157. }
  6158. },
  6159. "/HSBY/QueryHsbyVisitorMarketGoodsDetail": {
  6160. "get": {
  6161. "security": [
  6162. {
  6163. "ApiKeyAuth": []
  6164. }
  6165. ],
  6166. "description": "说明:使用于未登录状态查询商城商品详情,登录后请使用QueryHsbyMarketGoodsDetail接口进行查询。",
  6167. "produces": [
  6168. "application/json"
  6169. ],
  6170. "tags": [
  6171. "定制【海商报业】"
  6172. ],
  6173. "summary": "查询游客三级市场(商城)商品信息详情",
  6174. "parameters": [
  6175. {
  6176. "type": "integer",
  6177. "description": "商品ID",
  6178. "name": "goodsID",
  6179. "in": "query",
  6180. "required": true
  6181. }
  6182. ],
  6183. "responses": {
  6184. "200": {
  6185. "description": "OK",
  6186. "schema": {
  6187. "$ref": "#/definitions/models.HsbyMarketGoodsDetail"
  6188. }
  6189. },
  6190. "500": {
  6191. "description": "Internal Server Error",
  6192. "schema": {
  6193. "$ref": "#/definitions/app.Response"
  6194. }
  6195. }
  6196. }
  6197. }
  6198. },
  6199. "/HSBY/QueryHsbyVisitorMarketGoodses": {
  6200. "get": {
  6201. "security": [
  6202. {
  6203. "ApiKeyAuth": []
  6204. }
  6205. ],
  6206. "description": "说明:使用于未登录状态查询商城商品列表,登录后请使用QueryHsbyMarketGoodses接口进行查询。",
  6207. "produces": [
  6208. "application/json"
  6209. ],
  6210. "tags": [
  6211. "定制【海商报业】"
  6212. ],
  6213. "summary": "查询游客特卖商品列表(三级商城)",
  6214. "parameters": [
  6215. {
  6216. "type": "integer",
  6217. "description": "页码",
  6218. "name": "page",
  6219. "in": "query"
  6220. },
  6221. {
  6222. "type": "integer",
  6223. "description": "每页条数",
  6224. "name": "pagesize",
  6225. "in": "query"
  6226. },
  6227. {
  6228. "type": "string",
  6229. "description": "市场ID列表,格式:1,2,3",
  6230. "name": "marketIDs",
  6231. "in": "query",
  6232. "required": true
  6233. },
  6234. {
  6235. "type": "integer",
  6236. "description": "类别ID",
  6237. "name": "categoryID",
  6238. "in": "query"
  6239. },
  6240. {
  6241. "type": "string",
  6242. "description": "商品ID列表,格式:1,2,3。主要用于商品搜索。",
  6243. "name": "goodsIDs",
  6244. "in": "query"
  6245. }
  6246. ],
  6247. "responses": {
  6248. "200": {
  6249. "description": "OK",
  6250. "schema": {
  6251. "$ref": "#/definitions/models.HsbyMarketGoods"
  6252. }
  6253. },
  6254. "500": {
  6255. "description": "Internal Server Error",
  6256. "schema": {
  6257. "$ref": "#/definitions/app.Response"
  6258. }
  6259. }
  6260. }
  6261. }
  6262. },
  6263. "/HSBY/QueryMyCollectionOrders": {
  6264. "get": {
  6265. "security": [
  6266. {
  6267. "ApiKeyAuth": []
  6268. }
  6269. ],
  6270. "produces": [
  6271. "application/json"
  6272. ],
  6273. "tags": [
  6274. "定制【海商报业】"
  6275. ],
  6276. "summary": "我的闲置中收款信息查询",
  6277. "parameters": [
  6278. {
  6279. "type": "integer",
  6280. "description": "页码",
  6281. "name": "page",
  6282. "in": "query"
  6283. },
  6284. {
  6285. "type": "integer",
  6286. "description": "每页条数",
  6287. "name": "pagesize",
  6288. "in": "query"
  6289. },
  6290. {
  6291. "type": "string",
  6292. "description": "资金账户,格式:1,2,3",
  6293. "name": "accountIDs",
  6294. "in": "query",
  6295. "required": true
  6296. }
  6297. ],
  6298. "responses": {
  6299. "200": {
  6300. "description": "OK",
  6301. "schema": {
  6302. "$ref": "#/definitions/models.HsbySellCollectionOrder"
  6303. }
  6304. },
  6305. "500": {
  6306. "description": "Internal Server Error",
  6307. "schema": {
  6308. "$ref": "#/definitions/app.Response"
  6309. }
  6310. }
  6311. }
  6312. }
  6313. },
  6314. "/HSBY/QueryMyCouponHolds": {
  6315. "get": {
  6316. "security": [
  6317. {
  6318. "ApiKeyAuth": []
  6319. }
  6320. ],
  6321. "description": "说明:当holdStatus传入4(已过期)后,会从历史表中查询已过期的优惠卷数据。",
  6322. "produces": [
  6323. "application/json"
  6324. ],
  6325. "tags": [
  6326. "定制【海商报业】"
  6327. ],
  6328. "summary": "我的优惠卷持仓查询",
  6329. "parameters": [
  6330. {
  6331. "type": "string",
  6332. "description": "资金账户列表,格式:1,2,3",
  6333. "name": "accountIDs",
  6334. "in": "query",
  6335. "required": true
  6336. },
  6337. {
  6338. "type": "string",
  6339. "description": "持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期,格式:1,2,3",
  6340. "name": "holdStatus",
  6341. "in": "query"
  6342. }
  6343. ],
  6344. "responses": {
  6345. "200": {
  6346. "description": "OK",
  6347. "schema": {
  6348. "$ref": "#/definitions/models.MyCouponHold"
  6349. }
  6350. },
  6351. "500": {
  6352. "description": "Internal Server Error",
  6353. "schema": {
  6354. "$ref": "#/definitions/app.Response"
  6355. }
  6356. }
  6357. }
  6358. }
  6359. },
  6360. "/HSBY/QueryMyCoupons": {
  6361. "get": {
  6362. "security": [
  6363. {
  6364. "ApiKeyAuth": []
  6365. }
  6366. ],
  6367. "produces": [
  6368. "application/json"
  6369. ],
  6370. "tags": [
  6371. "定制【海商报业】"
  6372. ],
  6373. "summary": "我的优惠卷查询",
  6374. "parameters": [
  6375. {
  6376. "type": "string",
  6377. "description": "资金账户列表,格式:1,2,3",
  6378. "name": "accountIDs",
  6379. "in": "query",
  6380. "required": true
  6381. },
  6382. {
  6383. "type": "integer",
  6384. "description": "商品ID, 一般与sellUserID配套传入",
  6385. "name": "goodsID",
  6386. "in": "query"
  6387. },
  6388. {
  6389. "type": "integer",
  6390. "description": "卖方UserID",
  6391. "name": "sellUserID",
  6392. "in": "query"
  6393. }
  6394. ],
  6395. "responses": {
  6396. "200": {
  6397. "description": "OK",
  6398. "schema": {
  6399. "$ref": "#/definitions/models.MyCoupon"
  6400. }
  6401. },
  6402. "500": {
  6403. "description": "Internal Server Error",
  6404. "schema": {
  6405. "$ref": "#/definitions/app.Response"
  6406. }
  6407. }
  6408. }
  6409. }
  6410. },
  6411. "/HSBY/QueryMyPayOrders": {
  6412. "get": {
  6413. "security": [
  6414. {
  6415. "ApiKeyAuth": []
  6416. }
  6417. ],
  6418. "produces": [
  6419. "application/json"
  6420. ],
  6421. "tags": [
  6422. "定制【海商报业】"
  6423. ],
  6424. "summary": "获取我的订单中待付款信息",
  6425. "parameters": [
  6426. {
  6427. "type": "integer",
  6428. "description": "页码",
  6429. "name": "page",
  6430. "in": "query"
  6431. },
  6432. {
  6433. "type": "integer",
  6434. "description": "每页条数",
  6435. "name": "pagesize",
  6436. "in": "query"
  6437. },
  6438. {
  6439. "type": "string",
  6440. "description": "资金账户列表,格式:1,2,3",
  6441. "name": "accountIDs",
  6442. "in": "query",
  6443. "required": true
  6444. },
  6445. {
  6446. "type": "integer",
  6447. "description": "买方委托单号",
  6448. "name": "buyOrderID",
  6449. "in": "query"
  6450. },
  6451. {
  6452. "type": "integer",
  6453. "description": "卖方委托单号",
  6454. "name": "sellOrderID",
  6455. "in": "query"
  6456. }
  6457. ],
  6458. "responses": {
  6459. "200": {
  6460. "description": "OK",
  6461. "schema": {
  6462. "$ref": "#/definitions/models.HsbyBuyMyPayOrder"
  6463. }
  6464. },
  6465. "500": {
  6466. "description": "Internal Server Error",
  6467. "schema": {
  6468. "$ref": "#/definitions/app.Response"
  6469. }
  6470. }
  6471. }
  6472. }
  6473. },
  6474. "/HSBY/QueryMyUsedCoupon": {
  6475. "get": {
  6476. "security": [
  6477. {
  6478. "ApiKeyAuth": []
  6479. }
  6480. ],
  6481. "produces": [
  6482. "application/json"
  6483. ],
  6484. "tags": [
  6485. "定制【海商报业】"
  6486. ],
  6487. "summary": "已使用优惠卷查询",
  6488. "parameters": [
  6489. {
  6490. "type": "string",
  6491. "description": "资金账户列表,格式:1,2,3",
  6492. "name": "accountIDs",
  6493. "in": "query",
  6494. "required": true
  6495. }
  6496. ],
  6497. "responses": {
  6498. "200": {
  6499. "description": "OK",
  6500. "schema": {
  6501. "$ref": "#/definitions/models.MyUsedCoupon"
  6502. }
  6503. },
  6504. "500": {
  6505. "description": "Internal Server Error",
  6506. "schema": {
  6507. "$ref": "#/definitions/app.Response"
  6508. }
  6509. }
  6510. }
  6511. }
  6512. },
  6513. "/HSBY/QueryProvincesAndCities": {
  6514. "get": {
  6515. "security": [
  6516. {
  6517. "ApiKeyAuth": []
  6518. }
  6519. ],
  6520. "description": "查询结果只包括二级市场商品已关连的省市信息。",
  6521. "produces": [
  6522. "application/json"
  6523. ],
  6524. "tags": [
  6525. "定制【海商报业】"
  6526. ],
  6527. "summary": "查询省市信息(不包括区)",
  6528. "parameters": [
  6529. {
  6530. "type": "integer",
  6531. "description": "省ID",
  6532. "name": "provinceID",
  6533. "in": "query"
  6534. }
  6535. ],
  6536. "responses": {
  6537. "200": {
  6538. "description": "OK",
  6539. "schema": {
  6540. "$ref": "#/definitions/hsby.QueryProvincesAndCitiesRsp"
  6541. }
  6542. },
  6543. "500": {
  6544. "description": "Internal Server Error",
  6545. "schema": {
  6546. "$ref": "#/definitions/app.Response"
  6547. }
  6548. }
  6549. }
  6550. }
  6551. },
  6552. "/HSBY/SetHsbyMyPackagesStatus": {
  6553. "post": {
  6554. "security": [
  6555. {
  6556. "ApiKeyAuth": []
  6557. }
  6558. ],
  6559. "produces": [
  6560. "application/json"
  6561. ],
  6562. "tags": [
  6563. "定制【海商报业】"
  6564. ],
  6565. "summary": "设置我的包裹已收货状态",
  6566. "parameters": [
  6567. {
  6568. "type": "string",
  6569. "description": "提货单号",
  6570. "name": "takeOrderID",
  6571. "in": "query",
  6572. "required": true
  6573. },
  6574. {
  6575. "type": "integer",
  6576. "description": "资金账号",
  6577. "name": "accountID",
  6578. "in": "query",
  6579. "required": true
  6580. }
  6581. ],
  6582. "responses": {
  6583. "200": {
  6584. "description": "OK",
  6585. "schema": {
  6586. "$ref": "#/definitions/app.Response"
  6587. }
  6588. },
  6589. "500": {
  6590. "description": "Internal Server Error",
  6591. "schema": {
  6592. "$ref": "#/definitions/app.Response"
  6593. }
  6594. }
  6595. }
  6596. }
  6597. },
  6598. "/Market/QueryGoodsesByLoginID": {
  6599. "get": {
  6600. "security": [
  6601. {
  6602. "ApiKeyAuth": []
  6603. }
  6604. ],
  6605. "produces": [
  6606. "application/json"
  6607. ],
  6608. "tags": [
  6609. "通用市场"
  6610. ],
  6611. "summary": "获取登录账号有权限的商品信息",
  6612. "parameters": [
  6613. {
  6614. "type": "integer",
  6615. "description": "登录账号",
  6616. "name": "loginID",
  6617. "in": "query",
  6618. "required": true
  6619. },
  6620. {
  6621. "type": "string",
  6622. "description": "市场ID列表,格式:1,2,3",
  6623. "name": "marketIDs",
  6624. "in": "query"
  6625. }
  6626. ],
  6627. "responses": {
  6628. "200": {
  6629. "description": "OK",
  6630. "schema": {
  6631. "$ref": "#/definitions/models.Goods"
  6632. }
  6633. },
  6634. "500": {
  6635. "description": "Internal Server Error",
  6636. "schema": {
  6637. "$ref": "#/definitions/app.Response"
  6638. }
  6639. }
  6640. }
  6641. }
  6642. },
  6643. "/Market/QueryMarketRun": {
  6644. "get": {
  6645. "security": [
  6646. {
  6647. "ApiKeyAuth": []
  6648. }
  6649. ],
  6650. "produces": [
  6651. "application/json"
  6652. ],
  6653. "tags": [
  6654. "通用市场"
  6655. ],
  6656. "summary": "查询市场运行信息",
  6657. "parameters": [
  6658. {
  6659. "type": "integer",
  6660. "description": "市场ID,不传返回所有",
  6661. "name": "marketID",
  6662. "in": "query"
  6663. }
  6664. ],
  6665. "responses": {
  6666. "200": {
  6667. "description": "OK",
  6668. "schema": {
  6669. "$ref": "#/definitions/models.Marketrun"
  6670. }
  6671. },
  6672. "500": {
  6673. "description": "Internal Server Error",
  6674. "schema": {
  6675. "$ref": "#/definitions/app.Response"
  6676. }
  6677. }
  6678. }
  6679. }
  6680. },
  6681. "/Market/QueryMarketsByLoginID": {
  6682. "get": {
  6683. "security": [
  6684. {
  6685. "ApiKeyAuth": []
  6686. }
  6687. ],
  6688. "produces": [
  6689. "application/json"
  6690. ],
  6691. "tags": [
  6692. "通用市场"
  6693. ],
  6694. "summary": "获取登录账号有权限的市场信息",
  6695. "parameters": [
  6696. {
  6697. "type": "integer",
  6698. "description": "登录账号",
  6699. "name": "loginID",
  6700. "in": "query",
  6701. "required": true
  6702. }
  6703. ],
  6704. "responses": {
  6705. "200": {
  6706. "description": "OK",
  6707. "schema": {
  6708. "$ref": "#/definitions/models.Market"
  6709. }
  6710. },
  6711. "500": {
  6712. "description": "Internal Server Error",
  6713. "schema": {
  6714. "$ref": "#/definitions/app.Response"
  6715. }
  6716. }
  6717. }
  6718. }
  6719. },
  6720. "/Order/QueryHisTradeDetail": {
  6721. "get": {
  6722. "security": [
  6723. {
  6724. "ApiKeyAuth": []
  6725. }
  6726. ],
  6727. "produces": [
  6728. "application/json"
  6729. ],
  6730. "tags": [
  6731. "通用单据"
  6732. ],
  6733. "summary": "历史成交单查询(合约市场)",
  6734. "parameters": [
  6735. {
  6736. "type": "string",
  6737. "description": "资金账户 - 格式:1,2,3",
  6738. "name": "accountID",
  6739. "in": "query",
  6740. "required": true
  6741. },
  6742. {
  6743. "type": "integer",
  6744. "description": "成交单号",
  6745. "name": "tradeID",
  6746. "in": "query"
  6747. },
  6748. {
  6749. "type": "integer",
  6750. "description": "委托单号",
  6751. "name": "orderID",
  6752. "in": "query"
  6753. },
  6754. {
  6755. "type": "integer",
  6756. "description": "商品ID",
  6757. "name": "goodsID",
  6758. "in": "query"
  6759. },
  6760. {
  6761. "type": "string",
  6762. "description": "交易模式 - 格式:1,2,3",
  6763. "name": "tradeMode",
  6764. "in": "query"
  6765. },
  6766. {
  6767. "type": "integer",
  6768. "description": "委托单据类型",
  6769. "name": "buildType",
  6770. "in": "query"
  6771. },
  6772. {
  6773. "type": "string",
  6774. "description": "成交类别 - 格式:1,2,3",
  6775. "name": "tradeType",
  6776. "in": "query"
  6777. },
  6778. {
  6779. "type": "string",
  6780. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  6781. "name": "startDate",
  6782. "in": "query"
  6783. },
  6784. {
  6785. "type": "string",
  6786. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  6787. "name": "endDate",
  6788. "in": "query"
  6789. }
  6790. ],
  6791. "responses": {
  6792. "200": {
  6793. "description": "OK",
  6794. "schema": {
  6795. "$ref": "#/definitions/order.QueryHisTradeDetailRsp"
  6796. }
  6797. },
  6798. "500": {
  6799. "description": "Internal Server Error",
  6800. "schema": {
  6801. "$ref": "#/definitions/app.Response"
  6802. }
  6803. }
  6804. }
  6805. }
  6806. },
  6807. "/Order/QueryHisTradeOrderDetail": {
  6808. "get": {
  6809. "security": [
  6810. {
  6811. "ApiKeyAuth": []
  6812. }
  6813. ],
  6814. "produces": [
  6815. "application/json"
  6816. ],
  6817. "tags": [
  6818. "通用单据"
  6819. ],
  6820. "summary": "历史委托单查询请求(合约市场)",
  6821. "parameters": [
  6822. {
  6823. "type": "string",
  6824. "description": "资金账户 - 格式:1,2,3",
  6825. "name": "accountID",
  6826. "in": "query",
  6827. "required": true
  6828. },
  6829. {
  6830. "type": "string",
  6831. "description": "交易模式 - 格式:1,2,3",
  6832. "name": "tradeMode",
  6833. "in": "query"
  6834. },
  6835. {
  6836. "type": "string",
  6837. "description": "委托状态 - 格式:1,2,3",
  6838. "name": "orderStatus",
  6839. "in": "query"
  6840. },
  6841. {
  6842. "type": "integer",
  6843. "description": "委托单号",
  6844. "name": "orderID",
  6845. "in": "query"
  6846. },
  6847. {
  6848. "type": "string",
  6849. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  6850. "name": "startDate",
  6851. "in": "query"
  6852. },
  6853. {
  6854. "type": "string",
  6855. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  6856. "name": "endDate",
  6857. "in": "query"
  6858. }
  6859. ],
  6860. "responses": {
  6861. "200": {
  6862. "description": "OK",
  6863. "schema": {
  6864. "$ref": "#/definitions/order.QueryHisTradeOrderDetailRsp"
  6865. }
  6866. },
  6867. "500": {
  6868. "description": "Internal Server Error",
  6869. "schema": {
  6870. "$ref": "#/definitions/app.Response"
  6871. }
  6872. }
  6873. }
  6874. }
  6875. },
  6876. "/Order/QueryTradeDetail": {
  6877. "get": {
  6878. "security": [
  6879. {
  6880. "ApiKeyAuth": []
  6881. }
  6882. ],
  6883. "produces": [
  6884. "application/json"
  6885. ],
  6886. "tags": [
  6887. "通用单据"
  6888. ],
  6889. "summary": "成交单查询(合约市场)",
  6890. "parameters": [
  6891. {
  6892. "type": "string",
  6893. "description": "资金账户 - 格式:1,2,3",
  6894. "name": "accountID",
  6895. "in": "query",
  6896. "required": true
  6897. },
  6898. {
  6899. "type": "integer",
  6900. "description": "成交单号",
  6901. "name": "tradeID",
  6902. "in": "query"
  6903. },
  6904. {
  6905. "type": "integer",
  6906. "description": "委托单号",
  6907. "name": "orderID",
  6908. "in": "query"
  6909. },
  6910. {
  6911. "type": "string",
  6912. "description": "交易模式 - 格式:1,2,3",
  6913. "name": "tradeMode",
  6914. "in": "query"
  6915. },
  6916. {
  6917. "type": "integer",
  6918. "description": "委托单据类型",
  6919. "name": "buildType",
  6920. "in": "query"
  6921. },
  6922. {
  6923. "type": "string",
  6924. "description": "成交类别 - 格式:1,2,3",
  6925. "name": "tradeType",
  6926. "in": "query"
  6927. },
  6928. {
  6929. "type": "integer",
  6930. "description": "商品ID",
  6931. "name": "goodsID",
  6932. "in": "query"
  6933. }
  6934. ],
  6935. "responses": {
  6936. "200": {
  6937. "description": "OK",
  6938. "schema": {
  6939. "$ref": "#/definitions/order.QueryTradeDetailRsp"
  6940. }
  6941. },
  6942. "500": {
  6943. "description": "Internal Server Error",
  6944. "schema": {
  6945. "$ref": "#/definitions/app.Response"
  6946. }
  6947. }
  6948. }
  6949. }
  6950. },
  6951. "/Order/QueryTradeOrderDetail": {
  6952. "get": {
  6953. "security": [
  6954. {
  6955. "ApiKeyAuth": []
  6956. }
  6957. ],
  6958. "produces": [
  6959. "application/json"
  6960. ],
  6961. "tags": [
  6962. "通用单据"
  6963. ],
  6964. "summary": "委托单查询请求(合约市场)",
  6965. "parameters": [
  6966. {
  6967. "type": "string",
  6968. "description": "资金账户 - 格式:1,2,3",
  6969. "name": "accountID",
  6970. "in": "query",
  6971. "required": true
  6972. },
  6973. {
  6974. "type": "string",
  6975. "description": "交易模式 - 格式:1,2,3",
  6976. "name": "tradeMode",
  6977. "in": "query"
  6978. },
  6979. {
  6980. "type": "string",
  6981. "description": "委托状态 - 格式:1,2,3",
  6982. "name": "orderStatus",
  6983. "in": "query"
  6984. },
  6985. {
  6986. "type": "integer",
  6987. "description": "委托单号",
  6988. "name": "orderID",
  6989. "in": "query"
  6990. }
  6991. ],
  6992. "responses": {
  6993. "200": {
  6994. "description": "OK",
  6995. "schema": {
  6996. "$ref": "#/definitions/order.QueryTradeOrderDetailRsp"
  6997. }
  6998. },
  6999. "500": {
  7000. "description": "Internal Server Error",
  7001. "schema": {
  7002. "$ref": "#/definitions/app.Response"
  7003. }
  7004. }
  7005. }
  7006. }
  7007. },
  7008. "/Order/QueryTradePosition": {
  7009. "get": {
  7010. "security": [
  7011. {
  7012. "ApiKeyAuth": []
  7013. }
  7014. ],
  7015. "produces": [
  7016. "application/json"
  7017. ],
  7018. "tags": [
  7019. "通用单据"
  7020. ],
  7021. "summary": "持仓汇总查询(合约市场)",
  7022. "parameters": [
  7023. {
  7024. "type": "string",
  7025. "description": "资金账户 - 格式:1,2,3",
  7026. "name": "accountID",
  7027. "in": "query",
  7028. "required": true
  7029. },
  7030. {
  7031. "type": "string",
  7032. "description": "交易模式 - 格式:1,2,3",
  7033. "name": "tradeMode",
  7034. "in": "query"
  7035. }
  7036. ],
  7037. "responses": {
  7038. "200": {
  7039. "description": "OK",
  7040. "schema": {
  7041. "$ref": "#/definitions/order.QueryTradePositionRsp"
  7042. }
  7043. },
  7044. "500": {
  7045. "description": "Internal Server Error",
  7046. "schema": {
  7047. "$ref": "#/definitions/app.Response"
  7048. }
  7049. }
  7050. }
  7051. }
  7052. },
  7053. "/Qhj/QueryAccountInOutApply": {
  7054. "get": {
  7055. "security": [
  7056. {
  7057. "ApiKeyAuth": []
  7058. }
  7059. ],
  7060. "produces": [
  7061. "application/json"
  7062. ],
  7063. "tags": [
  7064. "大连千海金"
  7065. ],
  7066. "summary": "查询充值提现",
  7067. "parameters": [
  7068. {
  7069. "type": "integer",
  7070. "description": "用户ID",
  7071. "name": "userid",
  7072. "in": "query",
  7073. "required": true
  7074. },
  7075. {
  7076. "type": "string",
  7077. "description": "申请起始日期(格式yyyymmdd)",
  7078. "name": "begindate",
  7079. "in": "query"
  7080. },
  7081. {
  7082. "type": "string",
  7083. "description": "申请截止日期(格式yyyymmdd)",
  7084. "name": "enddate",
  7085. "in": "query"
  7086. },
  7087. {
  7088. "type": "string",
  7089. "description": "模糊搜索名称",
  7090. "name": "likename",
  7091. "in": "query"
  7092. }
  7093. ],
  7094. "responses": {
  7095. "200": {
  7096. "description": "OK",
  7097. "schema": {
  7098. "type": "array",
  7099. "items": {
  7100. "$ref": "#/definitions/models.QhjAccountOutInApply"
  7101. }
  7102. }
  7103. },
  7104. "500": {
  7105. "description": "Internal Server Error",
  7106. "schema": {
  7107. "$ref": "#/definitions/app.Response"
  7108. }
  7109. }
  7110. }
  7111. }
  7112. },
  7113. "/Qhj/QueryBankAccountSign": {
  7114. "get": {
  7115. "security": [
  7116. {
  7117. "ApiKeyAuth": []
  7118. }
  7119. ],
  7120. "produces": [
  7121. "application/json"
  7122. ],
  7123. "tags": [
  7124. "大连千海金"
  7125. ],
  7126. "summary": "查询签约银行信息(提现账户管理)",
  7127. "parameters": [
  7128. {
  7129. "type": "integer",
  7130. "description": "用户ID",
  7131. "name": "userid",
  7132. "in": "query",
  7133. "required": true
  7134. }
  7135. ],
  7136. "responses": {
  7137. "200": {
  7138. "description": "OK",
  7139. "schema": {
  7140. "type": "array",
  7141. "items": {
  7142. "$ref": "#/definitions/models.QhjBankAccountSign"
  7143. }
  7144. }
  7145. },
  7146. "500": {
  7147. "description": "Internal Server Error",
  7148. "schema": {
  7149. "$ref": "#/definitions/app.Response"
  7150. }
  7151. }
  7152. }
  7153. }
  7154. },
  7155. "/Qhj/QueryBankInfo": {
  7156. "get": {
  7157. "security": [
  7158. {
  7159. "ApiKeyAuth": []
  7160. }
  7161. ],
  7162. "produces": [
  7163. "application/json"
  7164. ],
  7165. "tags": [
  7166. "大连千海金"
  7167. ],
  7168. "summary": "查询开户行",
  7169. "responses": {
  7170. "200": {
  7171. "description": "OK",
  7172. "schema": {
  7173. "type": "array",
  7174. "items": {
  7175. "$ref": "#/definitions/models.QhjBankInfo"
  7176. }
  7177. }
  7178. },
  7179. "500": {
  7180. "description": "Internal Server Error",
  7181. "schema": {
  7182. "$ref": "#/definitions/app.Response"
  7183. }
  7184. }
  7185. }
  7186. }
  7187. },
  7188. "/Qhj/QueryContract": {
  7189. "get": {
  7190. "security": [
  7191. {
  7192. "ApiKeyAuth": []
  7193. }
  7194. ],
  7195. "produces": [
  7196. "application/json"
  7197. ],
  7198. "tags": [
  7199. "大连千海金"
  7200. ],
  7201. "summary": "查询融资明细(合同)",
  7202. "parameters": [
  7203. {
  7204. "type": "integer",
  7205. "description": "用户ID",
  7206. "name": "userid",
  7207. "in": "query"
  7208. },
  7209. {
  7210. "type": "integer",
  7211. "description": "scf合同id",
  7212. "name": "scfcontractid",
  7213. "in": "query"
  7214. }
  7215. ],
  7216. "responses": {
  7217. "200": {
  7218. "description": "OK",
  7219. "schema": {
  7220. "type": "array",
  7221. "items": {
  7222. "$ref": "#/definitions/models.QhjContract"
  7223. }
  7224. }
  7225. },
  7226. "500": {
  7227. "description": "Internal Server Error",
  7228. "schema": {
  7229. "$ref": "#/definitions/app.Response"
  7230. }
  7231. }
  7232. }
  7233. }
  7234. },
  7235. "/Qhj/QueryContractLog": {
  7236. "get": {
  7237. "security": [
  7238. {
  7239. "ApiKeyAuth": []
  7240. }
  7241. ],
  7242. "produces": [
  7243. "application/json"
  7244. ],
  7245. "tags": [
  7246. "大连千海金"
  7247. ],
  7248. "summary": "查询融资明细流水(融资明细详情页中的流水)",
  7249. "parameters": [
  7250. {
  7251. "type": "integer",
  7252. "description": "scf合同id",
  7253. "name": "scfcontractid",
  7254. "in": "query",
  7255. "required": true
  7256. },
  7257. {
  7258. "type": "string",
  7259. "description": "资金类型(逗号隔开) - 1:首付款 2:尾款 3:利息 4:追加款",
  7260. "name": "amounttype",
  7261. "in": "query"
  7262. }
  7263. ],
  7264. "responses": {
  7265. "200": {
  7266. "description": "OK",
  7267. "schema": {
  7268. "type": "array",
  7269. "items": {
  7270. "$ref": "#/definitions/models.QhjContractLog"
  7271. }
  7272. }
  7273. },
  7274. "500": {
  7275. "description": "Internal Server Error",
  7276. "schema": {
  7277. "$ref": "#/definitions/app.Response"
  7278. }
  7279. }
  7280. }
  7281. }
  7282. },
  7283. "/Qhj/QueryCusBankSignBank": {
  7284. "get": {
  7285. "security": [
  7286. {
  7287. "ApiKeyAuth": []
  7288. }
  7289. ],
  7290. "produces": [
  7291. "application/json"
  7292. ],
  7293. "tags": [
  7294. "大连千海金"
  7295. ],
  7296. "summary": "查询托管银行",
  7297. "responses": {
  7298. "200": {
  7299. "description": "OK",
  7300. "schema": {
  7301. "type": "array",
  7302. "items": {
  7303. "$ref": "#/definitions/models.QhjCusBankSignBankEx"
  7304. }
  7305. }
  7306. },
  7307. "500": {
  7308. "description": "Internal Server Error",
  7309. "schema": {
  7310. "$ref": "#/definitions/app.Response"
  7311. }
  7312. }
  7313. }
  7314. }
  7315. },
  7316. "/Qhj/QueryCustomerInfo": {
  7317. "get": {
  7318. "security": [
  7319. {
  7320. "ApiKeyAuth": []
  7321. }
  7322. ],
  7323. "produces": [
  7324. "application/json"
  7325. ],
  7326. "tags": [
  7327. "大连千海金"
  7328. ],
  7329. "summary": "查询客户资料",
  7330. "parameters": [
  7331. {
  7332. "type": "integer",
  7333. "description": "用户ID",
  7334. "name": "userid",
  7335. "in": "query",
  7336. "required": true
  7337. },
  7338. {
  7339. "type": "integer",
  7340. "description": "查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用",
  7341. "name": "querytype",
  7342. "in": "query",
  7343. "required": true
  7344. },
  7345. {
  7346. "type": "integer",
  7347. "description": "客户类型 1-个人 2-企业",
  7348. "name": "userinfotype",
  7349. "in": "query"
  7350. },
  7351. {
  7352. "type": "string",
  7353. "description": "客户名称(模糊匹配)",
  7354. "name": "customername",
  7355. "in": "query"
  7356. },
  7357. {
  7358. "type": "string",
  7359. "description": "昵称(模糊匹配)",
  7360. "name": "nickname",
  7361. "in": "query"
  7362. },
  7363. {
  7364. "type": "integer",
  7365. "description": "是否包含子级 1-包含",
  7366. "name": "includesub",
  7367. "in": "query"
  7368. }
  7369. ],
  7370. "responses": {
  7371. "200": {
  7372. "description": "OK",
  7373. "schema": {
  7374. "type": "array",
  7375. "items": {
  7376. "$ref": "#/definitions/models.QhjCustomer"
  7377. }
  7378. }
  7379. },
  7380. "500": {
  7381. "description": "Internal Server Error",
  7382. "schema": {
  7383. "$ref": "#/definitions/app.Response"
  7384. }
  7385. }
  7386. }
  7387. }
  7388. },
  7389. "/Qhj/QueryGoodsEx": {
  7390. "get": {
  7391. "security": [
  7392. {
  7393. "ApiKeyAuth": []
  7394. }
  7395. ],
  7396. "produces": [
  7397. "application/json"
  7398. ],
  7399. "tags": [
  7400. "大连千海金"
  7401. ],
  7402. "summary": "交易商品扩展表",
  7403. "parameters": [
  7404. {
  7405. "type": "integer",
  7406. "description": "商品id",
  7407. "name": "goodsid",
  7408. "in": "query"
  7409. }
  7410. ],
  7411. "responses": {
  7412. "200": {
  7413. "description": "OK",
  7414. "schema": {
  7415. "type": "array",
  7416. "items": {
  7417. "$ref": "#/definitions/models.Qhjgoodsex"
  7418. }
  7419. }
  7420. },
  7421. "500": {
  7422. "description": "Internal Server Error",
  7423. "schema": {
  7424. "$ref": "#/definitions/app.Response"
  7425. }
  7426. }
  7427. }
  7428. }
  7429. },
  7430. "/Qhj/QueryParentAreaList": {
  7431. "get": {
  7432. "security": [
  7433. {
  7434. "ApiKeyAuth": []
  7435. }
  7436. ],
  7437. "produces": [
  7438. "application/json"
  7439. ],
  7440. "tags": [
  7441. "大连千海金"
  7442. ],
  7443. "summary": "查询所属机构列表",
  7444. "parameters": [
  7445. {
  7446. "type": "integer",
  7447. "description": "用户ID",
  7448. "name": "userid",
  7449. "in": "query",
  7450. "required": true
  7451. }
  7452. ],
  7453. "responses": {
  7454. "200": {
  7455. "description": "OK",
  7456. "schema": {
  7457. "type": "array",
  7458. "items": {
  7459. "$ref": "#/definitions/models.QhjParentAreaList"
  7460. }
  7461. }
  7462. },
  7463. "500": {
  7464. "description": "Internal Server Error",
  7465. "schema": {
  7466. "$ref": "#/definitions/app.Response"
  7467. }
  7468. }
  7469. }
  7470. }
  7471. },
  7472. "/Qhj/QueryPayOrder": {
  7473. "get": {
  7474. "security": [
  7475. {
  7476. "ApiKeyAuth": []
  7477. }
  7478. ],
  7479. "produces": [
  7480. "application/json"
  7481. ],
  7482. "tags": [
  7483. "大连千海金"
  7484. ],
  7485. "summary": "查询待付款单据",
  7486. "parameters": [
  7487. {
  7488. "type": "integer",
  7489. "description": "资金账号id",
  7490. "name": "accountid",
  7491. "in": "query",
  7492. "required": true
  7493. },
  7494. {
  7495. "type": "integer",
  7496. "description": "成交单号",
  7497. "name": "tradeid",
  7498. "in": "query"
  7499. },
  7500. {
  7501. "type": "integer",
  7502. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  7503. "name": "payflag",
  7504. "in": "query"
  7505. }
  7506. ],
  7507. "responses": {
  7508. "200": {
  7509. "description": "OK",
  7510. "schema": {
  7511. "type": "array",
  7512. "items": {
  7513. "$ref": "#/definitions/models.QhjPayOrder"
  7514. }
  7515. }
  7516. },
  7517. "500": {
  7518. "description": "Internal Server Error",
  7519. "schema": {
  7520. "$ref": "#/definitions/app.Response"
  7521. }
  7522. }
  7523. }
  7524. }
  7525. },
  7526. "/Qhj/QueryPickArea": {
  7527. "get": {
  7528. "security": [
  7529. {
  7530. "ApiKeyAuth": []
  7531. }
  7532. ],
  7533. "produces": [
  7534. "application/json"
  7535. ],
  7536. "tags": [
  7537. "大连千海金"
  7538. ],
  7539. "summary": "查询提货门店",
  7540. "parameters": [
  7541. {
  7542. "type": "integer",
  7543. "description": "用户ID",
  7544. "name": "userid",
  7545. "in": "query"
  7546. }
  7547. ],
  7548. "responses": {
  7549. "200": {
  7550. "description": "OK",
  7551. "schema": {
  7552. "type": "array",
  7553. "items": {
  7554. "$ref": "#/definitions/models.QhjPickArea"
  7555. }
  7556. }
  7557. },
  7558. "500": {
  7559. "description": "Internal Server Error",
  7560. "schema": {
  7561. "$ref": "#/definitions/app.Response"
  7562. }
  7563. }
  7564. }
  7565. }
  7566. },
  7567. "/Qhj/QueryPickGoods": {
  7568. "get": {
  7569. "security": [
  7570. {
  7571. "ApiKeyAuth": []
  7572. }
  7573. ],
  7574. "produces": [
  7575. "application/json"
  7576. ],
  7577. "tags": [
  7578. "大连千海金"
  7579. ],
  7580. "summary": "查询提货商品",
  7581. "parameters": [
  7582. {
  7583. "type": "integer",
  7584. "description": "交易商品id",
  7585. "name": "goodsid",
  7586. "in": "query",
  7587. "required": true
  7588. },
  7589. {
  7590. "type": "string",
  7591. "description": "状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销",
  7592. "name": "status",
  7593. "in": "query"
  7594. }
  7595. ],
  7596. "responses": {
  7597. "200": {
  7598. "description": "OK",
  7599. "schema": {
  7600. "type": "array",
  7601. "items": {
  7602. "$ref": "#/definitions/models.QhjPickGoods"
  7603. }
  7604. }
  7605. },
  7606. "500": {
  7607. "description": "Internal Server Error",
  7608. "schema": {
  7609. "$ref": "#/definitions/app.Response"
  7610. }
  7611. }
  7612. }
  7613. }
  7614. },
  7615. "/Qhj/QueryRSTriggerLog": {
  7616. "get": {
  7617. "security": [
  7618. {
  7619. "ApiKeyAuth": []
  7620. }
  7621. ],
  7622. "produces": [
  7623. "application/json"
  7624. ],
  7625. "tags": [
  7626. "大连千海金"
  7627. ],
  7628. "summary": "查询定投记录(定投管理/详情/定投记录)",
  7629. "parameters": [
  7630. {
  7631. "type": "integer",
  7632. "description": "用户ID",
  7633. "name": "userid",
  7634. "in": "query"
  7635. },
  7636. {
  7637. "type": "integer",
  7638. "description": "定投策略id",
  7639. "name": "regularlystrategyid",
  7640. "in": "query"
  7641. },
  7642. {
  7643. "type": "integer",
  7644. "description": "商品id",
  7645. "name": "goodsid",
  7646. "in": "query"
  7647. },
  7648. {
  7649. "type": "string",
  7650. "description": "开始交易日(yyyymmdd)",
  7651. "name": "begindate",
  7652. "in": "query"
  7653. },
  7654. {
  7655. "type": "string",
  7656. "description": "结束交易日(yyyymmdd)",
  7657. "name": "enddate",
  7658. "in": "query"
  7659. },
  7660. {
  7661. "type": "string",
  7662. "description": "名称(模糊搜索账户)",
  7663. "name": "filtername",
  7664. "in": "query"
  7665. }
  7666. ],
  7667. "responses": {
  7668. "200": {
  7669. "description": "OK",
  7670. "schema": {
  7671. "type": "array",
  7672. "items": {
  7673. "$ref": "#/definitions/models.QhjRSTriggerLog"
  7674. }
  7675. }
  7676. },
  7677. "500": {
  7678. "description": "Internal Server Error",
  7679. "schema": {
  7680. "$ref": "#/definitions/app.Response"
  7681. }
  7682. }
  7683. }
  7684. }
  7685. },
  7686. "/Qhj/QueryRStrategy": {
  7687. "get": {
  7688. "security": [
  7689. {
  7690. "ApiKeyAuth": []
  7691. }
  7692. ],
  7693. "produces": [
  7694. "application/json"
  7695. ],
  7696. "tags": [
  7697. "大连千海金"
  7698. ],
  7699. "summary": "查询定投设置(我的定投/历史定投[状态=已终止])",
  7700. "parameters": [
  7701. {
  7702. "type": "integer",
  7703. "description": "用户ID",
  7704. "name": "userid",
  7705. "in": "query"
  7706. },
  7707. {
  7708. "type": "integer",
  7709. "description": "商品id",
  7710. "name": "goodsid",
  7711. "in": "query"
  7712. },
  7713. {
  7714. "type": "string",
  7715. "description": "策略状态(可多选,逗号隔开) - 1:正常 2:暂停 3:终止",
  7716. "name": "status",
  7717. "in": "query"
  7718. },
  7719. {
  7720. "type": "string",
  7721. "description": "名称(模糊搜索账户)",
  7722. "name": "filtername",
  7723. "in": "query"
  7724. }
  7725. ],
  7726. "responses": {
  7727. "200": {
  7728. "description": "OK",
  7729. "schema": {
  7730. "type": "array",
  7731. "items": {
  7732. "$ref": "#/definitions/models.QhjRStrategy"
  7733. }
  7734. }
  7735. },
  7736. "500": {
  7737. "description": "Internal Server Error",
  7738. "schema": {
  7739. "$ref": "#/definitions/app.Response"
  7740. }
  7741. }
  7742. }
  7743. }
  7744. },
  7745. "/Qhj/QueryReckonPriceLog": {
  7746. "get": {
  7747. "security": [
  7748. {
  7749. "ApiKeyAuth": []
  7750. }
  7751. ],
  7752. "produces": [
  7753. "application/json"
  7754. ],
  7755. "tags": [
  7756. "大连千海金"
  7757. ],
  7758. "summary": "查询定投价(结算价)",
  7759. "parameters": [
  7760. {
  7761. "type": "integer",
  7762. "description": "商品ID",
  7763. "name": "goodsid",
  7764. "in": "query"
  7765. },
  7766. {
  7767. "type": "string",
  7768. "description": "交易日 格式(yyyymmdd)",
  7769. "name": "tradedate",
  7770. "in": "query"
  7771. }
  7772. ],
  7773. "responses": {
  7774. "200": {
  7775. "description": "OK",
  7776. "schema": {
  7777. "type": "array",
  7778. "items": {
  7779. "$ref": "#/definitions/models.QhjReckonPriceLog"
  7780. }
  7781. }
  7782. },
  7783. "500": {
  7784. "description": "Internal Server Error",
  7785. "schema": {
  7786. "$ref": "#/definitions/app.Response"
  7787. }
  7788. }
  7789. }
  7790. }
  7791. },
  7792. "/Qhj/QuerySiteColumnDetail": {
  7793. "get": {
  7794. "security": [
  7795. {
  7796. "ApiKeyAuth": []
  7797. }
  7798. ],
  7799. "produces": [
  7800. "application/json"
  7801. ],
  7802. "tags": [
  7803. "大连千海金"
  7804. ],
  7805. "summary": "查询资讯",
  7806. "parameters": [
  7807. {
  7808. "type": "integer",
  7809. "description": "用户ID",
  7810. "name": "userid",
  7811. "in": "query",
  7812. "required": true
  7813. }
  7814. ],
  7815. "responses": {
  7816. "200": {
  7817. "description": "OK",
  7818. "schema": {
  7819. "type": "array",
  7820. "items": {
  7821. "$ref": "#/definitions/models.QhjSiteColumnDetail"
  7822. }
  7823. }
  7824. },
  7825. "500": {
  7826. "description": "Internal Server Error",
  7827. "schema": {
  7828. "$ref": "#/definitions/app.Response"
  7829. }
  7830. }
  7831. }
  7832. }
  7833. },
  7834. "/Qhj/QueryTradeGoodsPickup": {
  7835. "get": {
  7836. "security": [
  7837. {
  7838. "ApiKeyAuth": []
  7839. }
  7840. ],
  7841. "produces": [
  7842. "application/json"
  7843. ],
  7844. "tags": [
  7845. "大连千海金"
  7846. ],
  7847. "summary": "查询提货",
  7848. "parameters": [
  7849. {
  7850. "type": "integer",
  7851. "description": "用户ID",
  7852. "name": "userid",
  7853. "in": "query",
  7854. "required": true
  7855. },
  7856. {
  7857. "type": "integer",
  7858. "description": "提货状态 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄) 7:已拒绝 8:已撤销",
  7859. "name": "takeorderstatus",
  7860. "in": "query"
  7861. }
  7862. ],
  7863. "responses": {
  7864. "200": {
  7865. "description": "OK",
  7866. "schema": {
  7867. "type": "array",
  7868. "items": {
  7869. "$ref": "#/definitions/models.QhjTradeGoodsPickup"
  7870. }
  7871. }
  7872. },
  7873. "500": {
  7874. "description": "Internal Server Error",
  7875. "schema": {
  7876. "$ref": "#/definitions/app.Response"
  7877. }
  7878. }
  7879. }
  7880. }
  7881. },
  7882. "/Qhj/QueryUserCollectConfig": {
  7883. "get": {
  7884. "security": [
  7885. {
  7886. "ApiKeyAuth": []
  7887. }
  7888. ],
  7889. "produces": [
  7890. "application/json"
  7891. ],
  7892. "tags": [
  7893. "大连千海金"
  7894. ],
  7895. "summary": "查询提现账户设置",
  7896. "parameters": [
  7897. {
  7898. "type": "integer",
  7899. "description": "用户ID",
  7900. "name": "userid",
  7901. "in": "query",
  7902. "required": true
  7903. }
  7904. ],
  7905. "responses": {
  7906. "200": {
  7907. "description": "OK",
  7908. "schema": {
  7909. "type": "array",
  7910. "items": {
  7911. "$ref": "#/definitions/models.UserCollectConfig"
  7912. }
  7913. }
  7914. },
  7915. "500": {
  7916. "description": "Internal Server Error",
  7917. "schema": {
  7918. "$ref": "#/definitions/app.Response"
  7919. }
  7920. }
  7921. }
  7922. }
  7923. },
  7924. "/Qhj/QueryUserReceiveInfo": {
  7925. "get": {
  7926. "security": [
  7927. {
  7928. "ApiKeyAuth": []
  7929. }
  7930. ],
  7931. "produces": [
  7932. "application/json"
  7933. ],
  7934. "tags": [
  7935. "大连千海金"
  7936. ],
  7937. "summary": "查询收货地址信息",
  7938. "parameters": [
  7939. {
  7940. "type": "integer",
  7941. "description": "用户ID",
  7942. "name": "userid",
  7943. "in": "query",
  7944. "required": true
  7945. }
  7946. ],
  7947. "responses": {
  7948. "200": {
  7949. "description": "OK",
  7950. "schema": {
  7951. "type": "array",
  7952. "items": {
  7953. "$ref": "#/definitions/models.UserReceiveInfo"
  7954. }
  7955. }
  7956. },
  7957. "500": {
  7958. "description": "Internal Server Error",
  7959. "schema": {
  7960. "$ref": "#/definitions/app.Response"
  7961. }
  7962. }
  7963. }
  7964. }
  7965. },
  7966. "/QhjMgr/QueryAccountInOutApply": {
  7967. "get": {
  7968. "security": [
  7969. {
  7970. "ApiKeyAuth": []
  7971. }
  7972. ],
  7973. "produces": [
  7974. "application/json"
  7975. ],
  7976. "tags": [
  7977. "大连千海金(PCWeb)"
  7978. ],
  7979. "summary": "查询充值提现",
  7980. "parameters": [
  7981. {
  7982. "type": "integer",
  7983. "description": "查询类型 1-提现(出金) 2-充值(出金)",
  7984. "name": "querytype",
  7985. "in": "query",
  7986. "required": true
  7987. },
  7988. {
  7989. "type": "integer",
  7990. "description": "状态 1-待审核 2-审核通过 3-审核拒绝",
  7991. "name": "applystatus",
  7992. "in": "query"
  7993. },
  7994. {
  7995. "type": "string",
  7996. "description": "申请起始日期(格式yyyymmdd)",
  7997. "name": "begindate",
  7998. "in": "query"
  7999. },
  8000. {
  8001. "type": "string",
  8002. "description": "申请截止日期(格式yyyymmdd)",
  8003. "name": "enddate",
  8004. "in": "query"
  8005. },
  8006. {
  8007. "type": "string",
  8008. "description": "模糊搜索名称",
  8009. "name": "likename",
  8010. "in": "query"
  8011. }
  8012. ],
  8013. "responses": {
  8014. "200": {
  8015. "description": "OK",
  8016. "schema": {
  8017. "type": "array",
  8018. "items": {
  8019. "$ref": "#/definitions/models.QhjMgrAccountOutInApply"
  8020. }
  8021. }
  8022. },
  8023. "500": {
  8024. "description": "Internal Server Error",
  8025. "schema": {
  8026. "$ref": "#/definitions/app.Response"
  8027. }
  8028. }
  8029. }
  8030. }
  8031. },
  8032. "/QhjMgr/QueryContract": {
  8033. "get": {
  8034. "security": [
  8035. {
  8036. "ApiKeyAuth": []
  8037. }
  8038. ],
  8039. "produces": [
  8040. "application/json"
  8041. ],
  8042. "tags": [
  8043. "大连千海金(PCWeb)"
  8044. ],
  8045. "summary": "查询融资信息(合同)",
  8046. "parameters": [
  8047. {
  8048. "type": "integer",
  8049. "description": "用户ID",
  8050. "name": "userid",
  8051. "in": "query"
  8052. },
  8053. {
  8054. "type": "integer",
  8055. "description": "商品id",
  8056. "name": "goodsid",
  8057. "in": "query"
  8058. },
  8059. {
  8060. "type": "string",
  8061. "description": "名称(模糊搜索账户)",
  8062. "name": "filtername",
  8063. "in": "query"
  8064. },
  8065. {
  8066. "type": "string",
  8067. "description": "风险级别(逗号隔开) - 1:正常 2:追加货款 3:支付尾款",
  8068. "name": "risklevel",
  8069. "in": "query"
  8070. },
  8071. {
  8072. "type": "string",
  8073. "description": "开始交易日(yyyymmdd)",
  8074. "name": "begindate",
  8075. "in": "query"
  8076. },
  8077. {
  8078. "type": "string",
  8079. "description": "结束交易日(yyyymmdd)",
  8080. "name": "enddate",
  8081. "in": "query"
  8082. }
  8083. ],
  8084. "responses": {
  8085. "200": {
  8086. "description": "OK",
  8087. "schema": {
  8088. "type": "array",
  8089. "items": {
  8090. "$ref": "#/definitions/models.QhjMgrContract"
  8091. }
  8092. }
  8093. },
  8094. "500": {
  8095. "description": "Internal Server Error",
  8096. "schema": {
  8097. "$ref": "#/definitions/app.Response"
  8098. }
  8099. }
  8100. }
  8101. }
  8102. },
  8103. "/QhjMgr/QueryCustomerInfo": {
  8104. "get": {
  8105. "security": [
  8106. {
  8107. "ApiKeyAuth": []
  8108. }
  8109. ],
  8110. "produces": [
  8111. "application/json"
  8112. ],
  8113. "tags": [
  8114. "大连千海金(PCWeb)"
  8115. ],
  8116. "summary": "查询客户资料",
  8117. "parameters": [
  8118. {
  8119. "type": "integer",
  8120. "description": "用户ID",
  8121. "name": "userid",
  8122. "in": "query",
  8123. "required": true
  8124. },
  8125. {
  8126. "type": "integer",
  8127. "description": "查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用",
  8128. "name": "querytype",
  8129. "in": "query",
  8130. "required": true
  8131. },
  8132. {
  8133. "type": "integer",
  8134. "description": "客户类型 1-个人 2-企业",
  8135. "name": "userinfotype",
  8136. "in": "query"
  8137. },
  8138. {
  8139. "type": "string",
  8140. "description": "客户名称(模糊匹配)",
  8141. "name": "customername",
  8142. "in": "query"
  8143. },
  8144. {
  8145. "type": "string",
  8146. "description": "昵称(模糊匹配)",
  8147. "name": "nickname",
  8148. "in": "query"
  8149. },
  8150. {
  8151. "type": "integer",
  8152. "description": "是否包含子级 1-包含",
  8153. "name": "includesub",
  8154. "in": "query"
  8155. }
  8156. ],
  8157. "responses": {
  8158. "200": {
  8159. "description": "OK",
  8160. "schema": {
  8161. "type": "array",
  8162. "items": {
  8163. "$ref": "#/definitions/models.QhjMgrCustomer"
  8164. }
  8165. }
  8166. },
  8167. "500": {
  8168. "description": "Internal Server Error",
  8169. "schema": {
  8170. "$ref": "#/definitions/app.Response"
  8171. }
  8172. }
  8173. }
  8174. }
  8175. },
  8176. "/QhjMgr/QueryPickGoods": {
  8177. "get": {
  8178. "security": [
  8179. {
  8180. "ApiKeyAuth": []
  8181. }
  8182. ],
  8183. "produces": [
  8184. "application/json"
  8185. ],
  8186. "tags": [
  8187. "大连千海金(PCWeb)"
  8188. ],
  8189. "summary": "查询提货商品",
  8190. "parameters": [
  8191. {
  8192. "type": "string",
  8193. "description": "状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销",
  8194. "name": "status",
  8195. "in": "query"
  8196. }
  8197. ],
  8198. "responses": {
  8199. "200": {
  8200. "description": "OK",
  8201. "schema": {
  8202. "type": "array",
  8203. "items": {
  8204. "$ref": "#/definitions/models.QhjPickGoods"
  8205. }
  8206. }
  8207. },
  8208. "500": {
  8209. "description": "Internal Server Error",
  8210. "schema": {
  8211. "$ref": "#/definitions/app.Response"
  8212. }
  8213. }
  8214. }
  8215. }
  8216. },
  8217. "/QhjMgr/QuerySubArea": {
  8218. "get": {
  8219. "security": [
  8220. {
  8221. "ApiKeyAuth": []
  8222. }
  8223. ],
  8224. "produces": [
  8225. "application/json"
  8226. ],
  8227. "tags": [
  8228. "大连千海金(PCWeb)"
  8229. ],
  8230. "summary": "查询子机构列表",
  8231. "parameters": [
  8232. {
  8233. "type": "integer",
  8234. "description": "用户ID",
  8235. "name": "userid",
  8236. "in": "query",
  8237. "required": true
  8238. }
  8239. ],
  8240. "responses": {
  8241. "200": {
  8242. "description": "OK",
  8243. "schema": {
  8244. "type": "array",
  8245. "items": {
  8246. "$ref": "#/definitions/models.QhjMgrSubArea"
  8247. }
  8248. }
  8249. },
  8250. "500": {
  8251. "description": "Internal Server Error",
  8252. "schema": {
  8253. "$ref": "#/definitions/app.Response"
  8254. }
  8255. }
  8256. }
  8257. }
  8258. },
  8259. "/QhjMgr/QueryTradeDetail": {
  8260. "get": {
  8261. "security": [
  8262. {
  8263. "ApiKeyAuth": []
  8264. }
  8265. ],
  8266. "produces": [
  8267. "application/json"
  8268. ],
  8269. "tags": [
  8270. "大连千海金(PCWeb)"
  8271. ],
  8272. "summary": "查询成交明细",
  8273. "parameters": [
  8274. {
  8275. "type": "integer",
  8276. "description": "用户ID",
  8277. "name": "userid",
  8278. "in": "query",
  8279. "required": true
  8280. },
  8281. {
  8282. "type": "integer",
  8283. "description": "用户类型 1-个人 2-企业",
  8284. "name": "userinfotype",
  8285. "in": "query"
  8286. },
  8287. {
  8288. "type": "integer",
  8289. "description": "交易模式",
  8290. "name": "trademode",
  8291. "in": "query"
  8292. },
  8293. {
  8294. "type": "integer",
  8295. "description": "商品id",
  8296. "name": "goodsid",
  8297. "in": "query"
  8298. },
  8299. {
  8300. "type": "string",
  8301. "description": "名称(模糊搜索账户)",
  8302. "name": "filtername",
  8303. "in": "query"
  8304. },
  8305. {
  8306. "type": "string",
  8307. "description": "开始交易日(yyyymmdd)",
  8308. "name": "begindate",
  8309. "in": "query"
  8310. },
  8311. {
  8312. "type": "string",
  8313. "description": "结束交易日(yyyymmdd)",
  8314. "name": "enddate",
  8315. "in": "query"
  8316. },
  8317. {
  8318. "type": "integer",
  8319. "description": "是否包含子级 1-包含",
  8320. "name": "includesub",
  8321. "in": "query"
  8322. }
  8323. ],
  8324. "responses": {
  8325. "200": {
  8326. "description": "OK",
  8327. "schema": {
  8328. "type": "array",
  8329. "items": {
  8330. "$ref": "#/definitions/models.QhjMgrTradeDetailRsp"
  8331. }
  8332. }
  8333. },
  8334. "500": {
  8335. "description": "Internal Server Error",
  8336. "schema": {
  8337. "$ref": "#/definitions/app.Response"
  8338. }
  8339. }
  8340. }
  8341. }
  8342. },
  8343. "/QhjMgr/QueryTradeOrderDetail": {
  8344. "get": {
  8345. "security": [
  8346. {
  8347. "ApiKeyAuth": []
  8348. }
  8349. ],
  8350. "produces": [
  8351. "application/json"
  8352. ],
  8353. "tags": [
  8354. "大连千海金(PCWeb)"
  8355. ],
  8356. "summary": "查询委托明细",
  8357. "parameters": [
  8358. {
  8359. "type": "integer",
  8360. "description": "用户ID",
  8361. "name": "userid",
  8362. "in": "query",
  8363. "required": true
  8364. },
  8365. {
  8366. "type": "integer",
  8367. "description": "用户类型 1-个人 2-企业",
  8368. "name": "userinfotype",
  8369. "in": "query"
  8370. },
  8371. {
  8372. "type": "integer",
  8373. "description": "交易模式",
  8374. "name": "trademode",
  8375. "in": "query"
  8376. },
  8377. {
  8378. "type": "integer",
  8379. "description": "商品id",
  8380. "name": "goodsid",
  8381. "in": "query"
  8382. },
  8383. {
  8384. "type": "string",
  8385. "description": "名称(模糊搜索账户)",
  8386. "name": "filtername",
  8387. "in": "query"
  8388. },
  8389. {
  8390. "type": "string",
  8391. "description": "开始交易日(yyyymmdd)",
  8392. "name": "begindate",
  8393. "in": "query"
  8394. },
  8395. {
  8396. "type": "string",
  8397. "description": "结束交易日(yyyymmdd)",
  8398. "name": "enddate",
  8399. "in": "query"
  8400. },
  8401. {
  8402. "type": "integer",
  8403. "description": "是否包含子级 1-包含",
  8404. "name": "includesub",
  8405. "in": "query"
  8406. }
  8407. ],
  8408. "responses": {
  8409. "200": {
  8410. "description": "OK",
  8411. "schema": {
  8412. "type": "array",
  8413. "items": {
  8414. "$ref": "#/definitions/models.QhjMgrTradeOrderDetailRsp"
  8415. }
  8416. }
  8417. },
  8418. "500": {
  8419. "description": "Internal Server Error",
  8420. "schema": {
  8421. "$ref": "#/definitions/app.Response"
  8422. }
  8423. }
  8424. }
  8425. }
  8426. },
  8427. "/QhjMgr/QueryTradePayOrder": {
  8428. "get": {
  8429. "security": [
  8430. {
  8431. "ApiKeyAuth": []
  8432. }
  8433. ],
  8434. "produces": [
  8435. "application/json"
  8436. ],
  8437. "tags": [
  8438. "大连千海金(PCWeb)"
  8439. ],
  8440. "summary": "查询待付款单",
  8441. "parameters": [
  8442. {
  8443. "type": "integer",
  8444. "description": "用户ID",
  8445. "name": "userid",
  8446. "in": "query",
  8447. "required": true
  8448. },
  8449. {
  8450. "type": "string",
  8451. "description": "付款标识(逗号隔开,如1,2) - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  8452. "name": "payflag",
  8453. "in": "query"
  8454. },
  8455. {
  8456. "type": "integer",
  8457. "description": "用户类型 1-个人 2-企业",
  8458. "name": "userinfotype",
  8459. "in": "query"
  8460. },
  8461. {
  8462. "type": "integer",
  8463. "description": "交易模式",
  8464. "name": "trademode",
  8465. "in": "query"
  8466. },
  8467. {
  8468. "type": "integer",
  8469. "description": "商品id",
  8470. "name": "goodsid",
  8471. "in": "query"
  8472. },
  8473. {
  8474. "type": "string",
  8475. "description": "名称(模糊搜索账户)",
  8476. "name": "filtername",
  8477. "in": "query"
  8478. },
  8479. {
  8480. "type": "string",
  8481. "description": "开始交易日(yyyymmdd)",
  8482. "name": "begindate",
  8483. "in": "query"
  8484. },
  8485. {
  8486. "type": "string",
  8487. "description": "结束交易日(yyyymmdd)",
  8488. "name": "enddate",
  8489. "in": "query"
  8490. },
  8491. {
  8492. "type": "integer",
  8493. "description": "是否包含子级 1-包含",
  8494. "name": "includesub",
  8495. "in": "query"
  8496. }
  8497. ],
  8498. "responses": {
  8499. "200": {
  8500. "description": "OK",
  8501. "schema": {
  8502. "type": "array",
  8503. "items": {
  8504. "$ref": "#/definitions/models.QhjMgrTradePayOrder"
  8505. }
  8506. }
  8507. },
  8508. "500": {
  8509. "description": "Internal Server Error",
  8510. "schema": {
  8511. "$ref": "#/definitions/app.Response"
  8512. }
  8513. }
  8514. }
  8515. }
  8516. },
  8517. "/QhjMgr/QueryTradePosition": {
  8518. "get": {
  8519. "security": [
  8520. {
  8521. "ApiKeyAuth": []
  8522. }
  8523. ],
  8524. "produces": [
  8525. "application/json"
  8526. ],
  8527. "tags": [
  8528. "大连千海金(PCWeb)"
  8529. ],
  8530. "summary": "查询持仓汇总",
  8531. "parameters": [
  8532. {
  8533. "type": "integer",
  8534. "description": "用户ID",
  8535. "name": "userid",
  8536. "in": "query",
  8537. "required": true
  8538. },
  8539. {
  8540. "type": "integer",
  8541. "description": "用户类型 1-个人 2-企业",
  8542. "name": "userinfotype",
  8543. "in": "query"
  8544. },
  8545. {
  8546. "type": "integer",
  8547. "description": "交易模式",
  8548. "name": "trademode",
  8549. "in": "query"
  8550. },
  8551. {
  8552. "type": "integer",
  8553. "description": "商品id",
  8554. "name": "goodsid",
  8555. "in": "query"
  8556. },
  8557. {
  8558. "type": "string",
  8559. "description": "名称(模糊搜索账户)",
  8560. "name": "filtername",
  8561. "in": "query"
  8562. },
  8563. {
  8564. "type": "integer",
  8565. "description": "是否包含子级 1-包含",
  8566. "name": "includesub",
  8567. "in": "query"
  8568. }
  8569. ],
  8570. "responses": {
  8571. "200": {
  8572. "description": "OK",
  8573. "schema": {
  8574. "type": "array",
  8575. "items": {
  8576. "$ref": "#/definitions/models.QhjMgrPositionRsp"
  8577. }
  8578. }
  8579. },
  8580. "500": {
  8581. "description": "Internal Server Error",
  8582. "schema": {
  8583. "$ref": "#/definitions/app.Response"
  8584. }
  8585. }
  8586. }
  8587. }
  8588. },
  8589. "/QhjSys/QueryAgreementChangeLog": {
  8590. "get": {
  8591. "security": [
  8592. {
  8593. "ApiKeyAuth": []
  8594. }
  8595. ],
  8596. "produces": [
  8597. "application/json"
  8598. ],
  8599. "tags": [
  8600. "大连千海金(协议和签约信息)"
  8601. ],
  8602. "summary": "查询协议配置变更流水",
  8603. "parameters": [
  8604. {
  8605. "type": "integer",
  8606. "description": "协议ID",
  8607. "name": "agreementid",
  8608. "in": "query"
  8609. },
  8610. {
  8611. "type": "integer",
  8612. "description": "协议版本号",
  8613. "name": "agreementversion",
  8614. "in": "query"
  8615. },
  8616. {
  8617. "type": "integer",
  8618. "description": "协议类型 - 1:注册 2:登录 3:交易",
  8619. "name": "agreementtype",
  8620. "in": "query"
  8621. },
  8622. {
  8623. "type": "string",
  8624. "description": "协议编号(模糊匹配)",
  8625. "name": "agreementno",
  8626. "in": "query"
  8627. },
  8628. {
  8629. "type": "string",
  8630. "description": "协议名称(模糊匹配)",
  8631. "name": "agreementname",
  8632. "in": "query"
  8633. }
  8634. ],
  8635. "responses": {
  8636. "200": {
  8637. "description": "OK",
  8638. "schema": {
  8639. "type": "array",
  8640. "items": {
  8641. "$ref": "#/definitions/models.QhjAgreementChangeLog"
  8642. }
  8643. }
  8644. },
  8645. "500": {
  8646. "description": "Internal Server Error",
  8647. "schema": {
  8648. "$ref": "#/definitions/app.Response"
  8649. }
  8650. }
  8651. }
  8652. }
  8653. },
  8654. "/QhjSys/QueryAgreementConfig": {
  8655. "get": {
  8656. "security": [
  8657. {
  8658. "ApiKeyAuth": []
  8659. }
  8660. ],
  8661. "produces": [
  8662. "application/json"
  8663. ],
  8664. "tags": [
  8665. "大连千海金(协议和签约信息)"
  8666. ],
  8667. "summary": "查询协议配置",
  8668. "parameters": [
  8669. {
  8670. "type": "integer",
  8671. "description": "协议ID",
  8672. "name": "agreementid",
  8673. "in": "query"
  8674. },
  8675. {
  8676. "type": "integer",
  8677. "description": "协议版本号",
  8678. "name": "agreementversion",
  8679. "in": "query"
  8680. },
  8681. {
  8682. "type": "integer",
  8683. "description": "协议类型 - 1:注册 2:登录 3:交易",
  8684. "name": "agreementtype",
  8685. "in": "query"
  8686. },
  8687. {
  8688. "type": "integer",
  8689. "description": "是否有效 - 0:无效 1:有效",
  8690. "name": "isvalid",
  8691. "in": "query"
  8692. },
  8693. {
  8694. "type": "string",
  8695. "description": "协议编号(模糊匹配)",
  8696. "name": "agreementno",
  8697. "in": "query"
  8698. },
  8699. {
  8700. "type": "string",
  8701. "description": "协议名称(模糊匹配)",
  8702. "name": "agreementname",
  8703. "in": "query"
  8704. }
  8705. ],
  8706. "responses": {
  8707. "200": {
  8708. "description": "OK",
  8709. "schema": {
  8710. "type": "array",
  8711. "items": {
  8712. "$ref": "#/definitions/models.QhjAgreementConfig"
  8713. }
  8714. }
  8715. },
  8716. "500": {
  8717. "description": "Internal Server Error",
  8718. "schema": {
  8719. "$ref": "#/definitions/app.Response"
  8720. }
  8721. }
  8722. }
  8723. }
  8724. },
  8725. "/QhjSys/QueryCustomerSignStatus": {
  8726. "get": {
  8727. "security": [
  8728. {
  8729. "ApiKeyAuth": []
  8730. }
  8731. ],
  8732. "produces": [
  8733. "application/json"
  8734. ],
  8735. "tags": [
  8736. "大连千海金(协议和签约信息)"
  8737. ],
  8738. "summary": "查询客户协议签约状态",
  8739. "parameters": [
  8740. {
  8741. "type": "integer",
  8742. "description": "客户ID",
  8743. "name": "userid",
  8744. "in": "query"
  8745. },
  8746. {
  8747. "type": "integer",
  8748. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出 99:首次交易",
  8749. "name": "nodetype",
  8750. "in": "query"
  8751. },
  8752. {
  8753. "type": "integer",
  8754. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  8755. "name": "goodsid",
  8756. "in": "query"
  8757. },
  8758. {
  8759. "type": "string",
  8760. "description": "创建交易日(yyyyMMdd)",
  8761. "name": "tradedate",
  8762. "in": "query"
  8763. },
  8764. {
  8765. "type": "string",
  8766. "description": "用户名称(模糊匹配)",
  8767. "name": "username",
  8768. "in": "query"
  8769. }
  8770. ],
  8771. "responses": {
  8772. "200": {
  8773. "description": "OK",
  8774. "schema": {
  8775. "type": "array",
  8776. "items": {
  8777. "$ref": "#/definitions/models.QhjCustomerSignStatus"
  8778. }
  8779. }
  8780. },
  8781. "500": {
  8782. "description": "Internal Server Error",
  8783. "schema": {
  8784. "$ref": "#/definitions/app.Response"
  8785. }
  8786. }
  8787. }
  8788. }
  8789. },
  8790. "/QhjSys/QueryNodeAgreementConfig": {
  8791. "get": {
  8792. "security": [
  8793. {
  8794. "ApiKeyAuth": []
  8795. }
  8796. ],
  8797. "produces": [
  8798. "application/json"
  8799. ],
  8800. "tags": [
  8801. "大连千海金(协议和签约信息)"
  8802. ],
  8803. "summary": "查询协议节点配置",
  8804. "parameters": [
  8805. {
  8806. "type": "integer",
  8807. "description": "配置id(SEQ_QHJ_NODEAGREEMENTCONFIG)",
  8808. "name": "configid",
  8809. "in": "query"
  8810. },
  8811. {
  8812. "type": "integer",
  8813. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  8814. "name": "nodetype",
  8815. "in": "query"
  8816. },
  8817. {
  8818. "type": "integer",
  8819. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  8820. "name": "goodsid",
  8821. "in": "query"
  8822. },
  8823. {
  8824. "type": "integer",
  8825. "description": "协议ID",
  8826. "name": "agreementid",
  8827. "in": "query"
  8828. },
  8829. {
  8830. "type": "integer",
  8831. "description": "协议类型 - 1:注册 2:登录 3:交易",
  8832. "name": "agreementtype",
  8833. "in": "query"
  8834. },
  8835. {
  8836. "type": "integer",
  8837. "description": "协议版本号",
  8838. "name": "agreementversion",
  8839. "in": "query"
  8840. },
  8841. {
  8842. "type": "string",
  8843. "description": "协议编号(模糊匹配)",
  8844. "name": "agreementno",
  8845. "in": "query"
  8846. },
  8847. {
  8848. "type": "string",
  8849. "description": "协议名称(模糊匹配)",
  8850. "name": "agreementname",
  8851. "in": "query"
  8852. }
  8853. ],
  8854. "responses": {
  8855. "200": {
  8856. "description": "OK",
  8857. "schema": {
  8858. "type": "array",
  8859. "items": {
  8860. "$ref": "#/definitions/models.QhjNodeAgreementConfig"
  8861. }
  8862. }
  8863. },
  8864. "500": {
  8865. "description": "Internal Server Error",
  8866. "schema": {
  8867. "$ref": "#/definitions/app.Response"
  8868. }
  8869. }
  8870. }
  8871. }
  8872. },
  8873. "/QhjSys/QueryQhjCustomerSignLog": {
  8874. "get": {
  8875. "security": [
  8876. {
  8877. "ApiKeyAuth": []
  8878. }
  8879. ],
  8880. "produces": [
  8881. "application/json"
  8882. ],
  8883. "tags": [
  8884. "大连千海金(协议和签约信息)"
  8885. ],
  8886. "summary": "查询客户协议签约流水",
  8887. "parameters": [
  8888. {
  8889. "type": "integer",
  8890. "description": "流水ID(SEQ_QHJ_CUSTOMERSIGNLOG)",
  8891. "name": "logid",
  8892. "in": "query"
  8893. },
  8894. {
  8895. "type": "integer",
  8896. "description": "客户ID",
  8897. "name": "userid",
  8898. "in": "query"
  8899. },
  8900. {
  8901. "type": "integer",
  8902. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  8903. "name": "nodetype",
  8904. "in": "query"
  8905. },
  8906. {
  8907. "type": "integer",
  8908. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  8909. "name": "goodsid",
  8910. "in": "query"
  8911. },
  8912. {
  8913. "type": "integer",
  8914. "description": "协议ID",
  8915. "name": "agreementid",
  8916. "in": "query"
  8917. },
  8918. {
  8919. "type": "string",
  8920. "description": "用户名称(模糊匹配)",
  8921. "name": "username",
  8922. "in": "query"
  8923. },
  8924. {
  8925. "type": "string",
  8926. "description": "协议编号(模糊匹配)",
  8927. "name": "agreementno",
  8928. "in": "query"
  8929. },
  8930. {
  8931. "type": "string",
  8932. "description": "协议名称(模糊匹配)",
  8933. "name": "agreementname",
  8934. "in": "query"
  8935. }
  8936. ],
  8937. "responses": {
  8938. "200": {
  8939. "description": "OK",
  8940. "schema": {
  8941. "type": "array",
  8942. "items": {
  8943. "$ref": "#/definitions/models.QhjCustomerSignLog"
  8944. }
  8945. }
  8946. },
  8947. "500": {
  8948. "description": "Internal Server Error",
  8949. "schema": {
  8950. "$ref": "#/definitions/app.Response"
  8951. }
  8952. }
  8953. }
  8954. }
  8955. },
  8956. "/QhjSys/QueryUserNodeCfgAndStatus": {
  8957. "get": {
  8958. "security": [
  8959. {
  8960. "ApiKeyAuth": []
  8961. }
  8962. ],
  8963. "produces": [
  8964. "application/json"
  8965. ],
  8966. "tags": [
  8967. "大连千海金(协议和签约信息)"
  8968. ],
  8969. "summary": "查询用户协议节点配置和状态",
  8970. "parameters": [
  8971. {
  8972. "type": "integer",
  8973. "description": "客户ID",
  8974. "name": "userid",
  8975. "in": "query"
  8976. },
  8977. {
  8978. "type": "integer",
  8979. "description": "配置id(SEQ_QHJ_NODEAGREEMENTCONFIG)",
  8980. "name": "configid",
  8981. "in": "query"
  8982. },
  8983. {
  8984. "type": "integer",
  8985. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  8986. "name": "nodetype",
  8987. "in": "query"
  8988. },
  8989. {
  8990. "type": "integer",
  8991. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  8992. "name": "goodsid",
  8993. "in": "query"
  8994. },
  8995. {
  8996. "type": "integer",
  8997. "description": "协议ID",
  8998. "name": "agreementid",
  8999. "in": "query"
  9000. },
  9001. {
  9002. "type": "integer",
  9003. "description": "协议类型 - 1:注册 2:登录 3:交易",
  9004. "name": "agreementtype",
  9005. "in": "query"
  9006. },
  9007. {
  9008. "type": "integer",
  9009. "description": "协议版本号",
  9010. "name": "agreementversion",
  9011. "in": "query"
  9012. },
  9013. {
  9014. "type": "string",
  9015. "description": "协议编号(模糊匹配)",
  9016. "name": "agreementno",
  9017. "in": "query"
  9018. },
  9019. {
  9020. "type": "string",
  9021. "description": "协议名称(模糊匹配)",
  9022. "name": "agreementname",
  9023. "in": "query"
  9024. }
  9025. ],
  9026. "responses": {
  9027. "200": {
  9028. "description": "OK",
  9029. "schema": {
  9030. "type": "array",
  9031. "items": {
  9032. "$ref": "#/definitions/models.QhjUserNodeCfgAndStatus"
  9033. }
  9034. }
  9035. },
  9036. "500": {
  9037. "description": "Internal Server Error",
  9038. "schema": {
  9039. "$ref": "#/definitions/app.Response"
  9040. }
  9041. }
  9042. }
  9043. }
  9044. },
  9045. "/Quote/QueryHistoryDatas": {
  9046. "get": {
  9047. "security": [
  9048. {
  9049. "ApiKeyAuth": []
  9050. }
  9051. ],
  9052. "produces": [
  9053. "application/json"
  9054. ],
  9055. "tags": [
  9056. "行情服务"
  9057. ],
  9058. "summary": "查询行情历史数据",
  9059. "parameters": [
  9060. {
  9061. "type": "integer",
  9062. "description": "周期类型, 0-秒 1: 1分钟 2: 5分钟 3: 30分钟 4: 60分钟 120: 2小时 240: 4小时 11: 日线",
  9063. "name": "cycleType",
  9064. "in": "query",
  9065. "required": true
  9066. },
  9067. {
  9068. "type": "string",
  9069. "description": "商品代码",
  9070. "name": "goodsCode",
  9071. "in": "query",
  9072. "required": true
  9073. },
  9074. {
  9075. "type": "string",
  9076. "description": "开始时间,格式:yyyy-MM-dd HH:mm:ss",
  9077. "name": "startTime",
  9078. "in": "query"
  9079. },
  9080. {
  9081. "type": "string",
  9082. "description": "结束时间,格式:yyyy-MM-dd HH:mm:ss",
  9083. "name": "endTime",
  9084. "in": "query"
  9085. },
  9086. {
  9087. "type": "integer",
  9088. "description": "条数",
  9089. "name": "count",
  9090. "in": "query"
  9091. },
  9092. {
  9093. "type": "boolean",
  9094. "description": "是否按时间顺序排序(默认为时间倒序排序)",
  9095. "name": "isAsc",
  9096. "in": "query"
  9097. }
  9098. ],
  9099. "responses": {
  9100. "200": {
  9101. "description": "OK",
  9102. "schema": {
  9103. "$ref": "#/definitions/quote.HistoryData"
  9104. }
  9105. },
  9106. "500": {
  9107. "description": "Internal Server Error",
  9108. "schema": {
  9109. "$ref": "#/definitions/app.Response"
  9110. }
  9111. }
  9112. }
  9113. }
  9114. },
  9115. "/Quote/QueryHistoryTikDatas": {
  9116. "get": {
  9117. "security": [
  9118. {
  9119. "ApiKeyAuth": []
  9120. }
  9121. ],
  9122. "produces": [
  9123. "application/json"
  9124. ],
  9125. "tags": [
  9126. "行情服务"
  9127. ],
  9128. "summary": "查询行情Tik数据",
  9129. "parameters": [
  9130. {
  9131. "type": "string",
  9132. "description": "商品代码",
  9133. "name": "goodsCode",
  9134. "in": "query",
  9135. "required": true
  9136. },
  9137. {
  9138. "type": "string",
  9139. "description": "开始时间,格式:yyyy-MM-dd HH:mm:ss",
  9140. "name": "startTime",
  9141. "in": "query"
  9142. },
  9143. {
  9144. "type": "string",
  9145. "description": "结束时间,格式:yyyy-MM-dd HH:mm:ss",
  9146. "name": "endTime",
  9147. "in": "query"
  9148. },
  9149. {
  9150. "type": "integer",
  9151. "description": "条数",
  9152. "name": "count",
  9153. "in": "query"
  9154. },
  9155. {
  9156. "type": "boolean",
  9157. "description": "是否按时间顺序排序(默认为时间倒序排序)",
  9158. "name": "isAsc",
  9159. "in": "query"
  9160. }
  9161. ],
  9162. "responses": {
  9163. "200": {
  9164. "description": "OK",
  9165. "schema": {
  9166. "$ref": "#/definitions/quote.HistoryTikData"
  9167. }
  9168. },
  9169. "500": {
  9170. "description": "Internal Server Error",
  9171. "schema": {
  9172. "$ref": "#/definitions/app.Response"
  9173. }
  9174. }
  9175. }
  9176. }
  9177. },
  9178. "/Quote/QueryQuoteDay": {
  9179. "get": {
  9180. "security": [
  9181. {
  9182. "ApiKeyAuth": []
  9183. }
  9184. ],
  9185. "produces": [
  9186. "application/json"
  9187. ],
  9188. "tags": [
  9189. "行情服务"
  9190. ],
  9191. "summary": "获取商品盘面信息",
  9192. "parameters": [
  9193. {
  9194. "type": "string",
  9195. "description": "商品代码列表,格式:CU2102,CU2103,AL2107",
  9196. "name": "goodsCodes",
  9197. "in": "query",
  9198. "required": true
  9199. }
  9200. ],
  9201. "responses": {
  9202. "200": {
  9203. "description": "OK",
  9204. "schema": {
  9205. "$ref": "#/definitions/quote.QueryQuoteDayRsp"
  9206. }
  9207. },
  9208. "500": {
  9209. "description": "Internal Server Error",
  9210. "schema": {
  9211. "$ref": "#/definitions/app.Response"
  9212. }
  9213. }
  9214. }
  9215. }
  9216. },
  9217. "/Quote/QueryTSData": {
  9218. "get": {
  9219. "security": [
  9220. {
  9221. "ApiKeyAuth": []
  9222. }
  9223. ],
  9224. "produces": [
  9225. "application/json"
  9226. ],
  9227. "tags": [
  9228. "行情服务"
  9229. ],
  9230. "summary": "分时图数据查询",
  9231. "parameters": [
  9232. {
  9233. "type": "string",
  9234. "description": "商品代码",
  9235. "name": "goodsCode",
  9236. "in": "query",
  9237. "required": true
  9238. }
  9239. ],
  9240. "responses": {
  9241. "200": {
  9242. "description": "OK",
  9243. "schema": {
  9244. "$ref": "#/definitions/quote.QueryTSDataRsp"
  9245. }
  9246. },
  9247. "500": {
  9248. "description": "Internal Server Error",
  9249. "schema": {
  9250. "$ref": "#/definitions/app.Response"
  9251. }
  9252. }
  9253. }
  9254. }
  9255. },
  9256. "/SZDZ/QueryConvertConfig": {
  9257. "get": {
  9258. "security": [
  9259. {
  9260. "ApiKeyAuth": []
  9261. }
  9262. ],
  9263. "produces": [
  9264. "application/json"
  9265. ],
  9266. "tags": [
  9267. "定制【尚志大宗】"
  9268. ],
  9269. "summary": "查询交易系统转换设置",
  9270. "parameters": [
  9271. {
  9272. "type": "integer",
  9273. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)",
  9274. "name": "convertType",
  9275. "in": "query"
  9276. },
  9277. {
  9278. "type": "string",
  9279. "description": "外部商品代码[JD\\PD]",
  9280. "name": "outerGoodsCode",
  9281. "in": "query"
  9282. },
  9283. {
  9284. "type": "string",
  9285. "description": "内部商品ID列表[交易],格式:1,2,3",
  9286. "name": "innerGoodsIDs",
  9287. "in": "query"
  9288. }
  9289. ],
  9290. "responses": {
  9291. "200": {
  9292. "description": "OK",
  9293. "schema": {
  9294. "$ref": "#/definitions/models.Szdz3convertconfig"
  9295. }
  9296. },
  9297. "500": {
  9298. "description": "Internal Server Error",
  9299. "schema": {
  9300. "$ref": "#/definitions/app.Response"
  9301. }
  9302. }
  9303. }
  9304. }
  9305. },
  9306. "/SZDZ/QueryConvertLog": {
  9307. "get": {
  9308. "security": [
  9309. {
  9310. "ApiKeyAuth": []
  9311. }
  9312. ],
  9313. "produces": [
  9314. "application/json"
  9315. ],
  9316. "tags": [
  9317. "定制【尚志大宗】"
  9318. ],
  9319. "summary": "交易系统转换流水查询",
  9320. "parameters": [
  9321. {
  9322. "type": "string",
  9323. "description": "资金账户 - 格式:1,2,3",
  9324. "name": "accountID",
  9325. "in": "query",
  9326. "required": true
  9327. },
  9328. {
  9329. "type": "string",
  9330. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  9331. "name": "startDate",
  9332. "in": "query"
  9333. },
  9334. {
  9335. "type": "string",
  9336. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  9337. "name": "endDate",
  9338. "in": "query"
  9339. }
  9340. ],
  9341. "responses": {
  9342. "200": {
  9343. "description": "OK",
  9344. "schema": {
  9345. "$ref": "#/definitions/szdz.QueryConvertLogRsp"
  9346. }
  9347. },
  9348. "500": {
  9349. "description": "Internal Server Error",
  9350. "schema": {
  9351. "$ref": "#/definitions/app.Response"
  9352. }
  9353. }
  9354. }
  9355. }
  9356. },
  9357. "/SZDZ/QueryGoodsPickup": {
  9358. "get": {
  9359. "security": [
  9360. {
  9361. "ApiKeyAuth": []
  9362. }
  9363. ],
  9364. "produces": [
  9365. "application/json"
  9366. ],
  9367. "tags": [
  9368. "定制【尚志大宗】"
  9369. ],
  9370. "summary": "商品提货单查询",
  9371. "parameters": [
  9372. {
  9373. "type": "string",
  9374. "description": "资金账户 - 格式:1,2,3",
  9375. "name": "accountID",
  9376. "in": "query",
  9377. "required": true
  9378. },
  9379. {
  9380. "type": "integer",
  9381. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  9382. "name": "takeOrderStatus",
  9383. "in": "query"
  9384. }
  9385. ],
  9386. "responses": {
  9387. "200": {
  9388. "description": "OK",
  9389. "schema": {
  9390. "$ref": "#/definitions/szdz.QueryGoodsPickupRsp"
  9391. }
  9392. },
  9393. "500": {
  9394. "description": "Internal Server Error",
  9395. "schema": {
  9396. "$ref": "#/definitions/app.Response"
  9397. }
  9398. }
  9399. }
  9400. }
  9401. },
  9402. "/SZDZ/QueryRecieptOrder": {
  9403. "get": {
  9404. "security": [
  9405. {
  9406. "ApiKeyAuth": []
  9407. }
  9408. ],
  9409. "description": "说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算",
  9410. "produces": [
  9411. "application/json"
  9412. ],
  9413. "tags": [
  9414. "定制【尚志大宗】"
  9415. ],
  9416. "summary": "点选挂牌委托单据查询(摘牌大厅)",
  9417. "parameters": [
  9418. {
  9419. "type": "integer",
  9420. "description": "页码",
  9421. "name": "page",
  9422. "in": "query"
  9423. },
  9424. {
  9425. "type": "integer",
  9426. "description": "每页条数",
  9427. "name": "pagesize",
  9428. "in": "query"
  9429. },
  9430. {
  9431. "type": "integer",
  9432. "description": "商品ID",
  9433. "name": "goodsID",
  9434. "in": "query",
  9435. "required": true
  9436. },
  9437. {
  9438. "type": "string",
  9439. "description": "所属账户名称",
  9440. "name": "accountName",
  9441. "in": "query"
  9442. },
  9443. {
  9444. "type": "integer",
  9445. "description": "市场ID",
  9446. "name": "marketID",
  9447. "in": "query"
  9448. },
  9449. {
  9450. "type": "integer",
  9451. "description": "方向 - 0:买 1:卖",
  9452. "name": "buyorsell",
  9453. "in": "query",
  9454. "required": true
  9455. }
  9456. ],
  9457. "responses": {
  9458. "200": {
  9459. "description": "OK",
  9460. "schema": {
  9461. "$ref": "#/definitions/szdz.QueryRecieptOrderRsp"
  9462. }
  9463. },
  9464. "500": {
  9465. "description": "Internal Server Error",
  9466. "schema": {
  9467. "$ref": "#/definitions/app.Response"
  9468. }
  9469. }
  9470. }
  9471. }
  9472. },
  9473. "/SZDZ/QuerySZDZTradePosition": {
  9474. "get": {
  9475. "security": [
  9476. {
  9477. "ApiKeyAuth": []
  9478. }
  9479. ],
  9480. "produces": [
  9481. "application/json"
  9482. ],
  9483. "tags": [
  9484. "定制【尚志大宗】"
  9485. ],
  9486. "summary": "持仓汇总查询(尚志大宗)",
  9487. "parameters": [
  9488. {
  9489. "type": "integer",
  9490. "description": "资金账户",
  9491. "name": "accountID",
  9492. "in": "query",
  9493. "required": true
  9494. }
  9495. ],
  9496. "responses": {
  9497. "200": {
  9498. "description": "OK",
  9499. "schema": {
  9500. "$ref": "#/definitions/szdz.QuerySZDZTradePositionRsp"
  9501. }
  9502. },
  9503. "500": {
  9504. "description": "Internal Server Error",
  9505. "schema": {
  9506. "$ref": "#/definitions/app.Response"
  9507. }
  9508. }
  9509. }
  9510. }
  9511. },
  9512. "/SZDZ/SearchWhite": {
  9513. "get": {
  9514. "security": [
  9515. {
  9516. "ApiKeyAuth": []
  9517. }
  9518. ],
  9519. "produces": [
  9520. "application/json"
  9521. ],
  9522. "tags": [
  9523. "定制【尚志大宗】"
  9524. ],
  9525. "summary": "搜索白名单",
  9526. "parameters": [
  9527. {
  9528. "type": "integer",
  9529. "description": "用户ID",
  9530. "name": "userID",
  9531. "in": "query",
  9532. "required": true
  9533. }
  9534. ],
  9535. "responses": {
  9536. "200": {
  9537. "description": "OK",
  9538. "schema": {
  9539. "$ref": "#/definitions/models.Szdz3searchwhitelist"
  9540. }
  9541. },
  9542. "500": {
  9543. "description": "Internal Server Error",
  9544. "schema": {
  9545. "$ref": "#/definitions/app.Response"
  9546. }
  9547. }
  9548. }
  9549. }
  9550. },
  9551. "/Search/SearchGoodses": {
  9552. "get": {
  9553. "description": "说明:使用检索内容模糊匹配商品代码和商品名称",
  9554. "produces": [
  9555. "application/json"
  9556. ],
  9557. "tags": [
  9558. "检索服务"
  9559. ],
  9560. "summary": "检索商品信息",
  9561. "parameters": [
  9562. {
  9563. "type": "string",
  9564. "description": "检索内容",
  9565. "name": "content",
  9566. "in": "query",
  9567. "required": true
  9568. },
  9569. {
  9570. "type": "string",
  9571. "description": "交易模式,格式:1,2,3",
  9572. "name": "tradeModes",
  9573. "in": "query"
  9574. }
  9575. ],
  9576. "responses": {
  9577. "200": {
  9578. "description": "OK",
  9579. "schema": {
  9580. "$ref": "#/definitions/models.SearchGoods"
  9581. }
  9582. },
  9583. "500": {
  9584. "description": "Internal Server Error",
  9585. "schema": {
  9586. "$ref": "#/definitions/app.Response"
  9587. }
  9588. }
  9589. }
  9590. }
  9591. },
  9592. "/TaAccount/GetTaAccounts": {
  9593. "get": {
  9594. "security": [
  9595. {
  9596. "ApiKeyAuth": []
  9597. }
  9598. ],
  9599. "produces": [
  9600. "application/json"
  9601. ],
  9602. "tags": [
  9603. "资金账户"
  9604. ],
  9605. "summary": "获取资金账户信息",
  9606. "parameters": [
  9607. {
  9608. "type": "integer",
  9609. "description": "登录账户",
  9610. "name": "loginID",
  9611. "in": "query",
  9612. "required": true
  9613. },
  9614. {
  9615. "type": "integer",
  9616. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  9617. "name": "taAccountType",
  9618. "in": "query"
  9619. }
  9620. ],
  9621. "responses": {
  9622. "200": {
  9623. "description": "OK",
  9624. "schema": {
  9625. "$ref": "#/definitions/models.Taaccount"
  9626. }
  9627. },
  9628. "500": {
  9629. "description": "Internal Server Error",
  9630. "schema": {
  9631. "$ref": "#/definitions/app.Response"
  9632. }
  9633. }
  9634. }
  9635. }
  9636. },
  9637. "/TaAccount/QueryAmountLog": {
  9638. "get": {
  9639. "security": [
  9640. {
  9641. "ApiKeyAuth": []
  9642. }
  9643. ],
  9644. "produces": [
  9645. "application/json"
  9646. ],
  9647. "tags": [
  9648. "资金账户"
  9649. ],
  9650. "summary": "资金流水查询(当前)",
  9651. "parameters": [
  9652. {
  9653. "type": "integer",
  9654. "description": "页码",
  9655. "name": "page",
  9656. "in": "query"
  9657. },
  9658. {
  9659. "type": "integer",
  9660. "description": "每页条数",
  9661. "name": "pagesize",
  9662. "in": "query"
  9663. },
  9664. {
  9665. "type": "string",
  9666. "description": "资金账户 - 格式:1,2,3",
  9667. "name": "accountID",
  9668. "in": "query",
  9669. "required": true
  9670. },
  9671. {
  9672. "type": "string",
  9673. "description": "资金操作类型 - 格式:1,2,3",
  9674. "name": "OperateType",
  9675. "in": "query"
  9676. }
  9677. ],
  9678. "responses": {
  9679. "200": {
  9680. "description": "OK",
  9681. "schema": {
  9682. "$ref": "#/definitions/taaccount.QueryAmountLogRsp"
  9683. }
  9684. },
  9685. "500": {
  9686. "description": "Internal Server Error",
  9687. "schema": {
  9688. "$ref": "#/definitions/app.Response"
  9689. }
  9690. }
  9691. }
  9692. }
  9693. },
  9694. "/TaAccount/QueryHisAmountLog": {
  9695. "get": {
  9696. "security": [
  9697. {
  9698. "ApiKeyAuth": []
  9699. }
  9700. ],
  9701. "produces": [
  9702. "application/json"
  9703. ],
  9704. "tags": [
  9705. "资金账户"
  9706. ],
  9707. "summary": "资金流水查询(历史)",
  9708. "parameters": [
  9709. {
  9710. "type": "integer",
  9711. "description": "页码",
  9712. "name": "page",
  9713. "in": "query"
  9714. },
  9715. {
  9716. "type": "integer",
  9717. "description": "每页条数",
  9718. "name": "pagesize",
  9719. "in": "query"
  9720. },
  9721. {
  9722. "type": "string",
  9723. "description": "资金账户 - 格式:1,2,3",
  9724. "name": "accountID",
  9725. "in": "query",
  9726. "required": true
  9727. },
  9728. {
  9729. "type": "string",
  9730. "description": "资金操作类型 - 格式:1,2,3",
  9731. "name": "OperateType",
  9732. "in": "query"
  9733. },
  9734. {
  9735. "type": "string",
  9736. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  9737. "name": "startDate",
  9738. "in": "query"
  9739. },
  9740. {
  9741. "type": "string",
  9742. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  9743. "name": "endDate",
  9744. "in": "query"
  9745. }
  9746. ],
  9747. "responses": {
  9748. "200": {
  9749. "description": "OK",
  9750. "schema": {
  9751. "$ref": "#/definitions/taaccount.QueryHisAmountLogRsp"
  9752. }
  9753. },
  9754. "500": {
  9755. "description": "Internal Server Error",
  9756. "schema": {
  9757. "$ref": "#/definitions/app.Response"
  9758. }
  9759. }
  9760. }
  9761. }
  9762. },
  9763. "/Trade/QueryRecieptOrder": {
  9764. "get": {
  9765. "security": [
  9766. {
  9767. "ApiKeyAuth": []
  9768. }
  9769. ],
  9770. "description": "说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算",
  9771. "produces": [
  9772. "application/json"
  9773. ],
  9774. "tags": [
  9775. "通用交易"
  9776. ],
  9777. "summary": "点选挂牌委托单据查询(保证金摘牌大厅)",
  9778. "parameters": [
  9779. {
  9780. "type": "integer",
  9781. "description": "页码",
  9782. "name": "page",
  9783. "in": "query"
  9784. },
  9785. {
  9786. "type": "integer",
  9787. "description": "每页条数",
  9788. "name": "pagesize",
  9789. "in": "query"
  9790. },
  9791. {
  9792. "type": "integer",
  9793. "description": "商品ID",
  9794. "name": "goodsID",
  9795. "in": "query",
  9796. "required": true
  9797. },
  9798. {
  9799. "type": "string",
  9800. "description": "所属账户名称",
  9801. "name": "accountName",
  9802. "in": "query"
  9803. },
  9804. {
  9805. "type": "integer",
  9806. "description": "市场ID",
  9807. "name": "marketID",
  9808. "in": "query"
  9809. },
  9810. {
  9811. "type": "integer",
  9812. "description": "方向 - 0:买 1:卖",
  9813. "name": "buyorsell",
  9814. "in": "query",
  9815. "required": true
  9816. }
  9817. ],
  9818. "responses": {
  9819. "200": {
  9820. "description": "OK",
  9821. "schema": {
  9822. "$ref": "#/definitions/trade.QueryRecieptOrderRsp"
  9823. }
  9824. },
  9825. "500": {
  9826. "description": "Internal Server Error",
  9827. "schema": {
  9828. "$ref": "#/definitions/app.Response"
  9829. }
  9830. }
  9831. }
  9832. }
  9833. },
  9834. "/User/AddMessageBoard": {
  9835. "post": {
  9836. "security": [
  9837. {
  9838. "ApiKeyAuth": []
  9839. }
  9840. ],
  9841. "produces": [
  9842. "application/json"
  9843. ],
  9844. "tags": [
  9845. "用户信息"
  9846. ],
  9847. "summary": "添加用户留言板信息",
  9848. "parameters": [
  9849. {
  9850. "type": "integer",
  9851. "description": "用户ID",
  9852. "name": "userID",
  9853. "in": "query",
  9854. "required": true
  9855. },
  9856. {
  9857. "type": "string",
  9858. "description": "留言信息",
  9859. "name": "message",
  9860. "in": "query",
  9861. "required": true
  9862. },
  9863. {
  9864. "type": "string",
  9865. "description": "联系电话",
  9866. "name": "contactNum",
  9867. "in": "query",
  9868. "required": true
  9869. }
  9870. ],
  9871. "responses": {
  9872. "200": {
  9873. "description": "OK",
  9874. "schema": {
  9875. "$ref": "#/definitions/app.Response"
  9876. }
  9877. },
  9878. "500": {
  9879. "description": "Internal Server Error",
  9880. "schema": {
  9881. "$ref": "#/definitions/app.Response"
  9882. }
  9883. }
  9884. }
  9885. }
  9886. },
  9887. "/User/AddUserFavoriteGoods": {
  9888. "post": {
  9889. "security": [
  9890. {
  9891. "ApiKeyAuth": []
  9892. }
  9893. ],
  9894. "produces": [
  9895. "application/json"
  9896. ],
  9897. "tags": [
  9898. "用户信息"
  9899. ],
  9900. "summary": "添加用户商品收藏信息",
  9901. "parameters": [
  9902. {
  9903. "type": "integer",
  9904. "description": "用户ID",
  9905. "name": "userID",
  9906. "in": "query",
  9907. "required": true
  9908. },
  9909. {
  9910. "type": "integer",
  9911. "description": "商品ID",
  9912. "name": "goodsID",
  9913. "in": "query",
  9914. "required": true
  9915. }
  9916. ],
  9917. "responses": {
  9918. "200": {
  9919. "description": "OK",
  9920. "schema": {
  9921. "$ref": "#/definitions/app.Response"
  9922. }
  9923. },
  9924. "500": {
  9925. "description": "Internal Server Error",
  9926. "schema": {
  9927. "$ref": "#/definitions/app.Response"
  9928. }
  9929. }
  9930. }
  9931. }
  9932. },
  9933. "/User/GetLoginID": {
  9934. "get": {
  9935. "description": "UserName 可传入“登录账号”、“登录代码”和“手机号码”",
  9936. "produces": [
  9937. "application/json"
  9938. ],
  9939. "tags": [
  9940. "用户信息"
  9941. ],
  9942. "summary": "获取登录ID",
  9943. "parameters": [
  9944. {
  9945. "type": "string",
  9946. "description": "登录代码",
  9947. "name": "username",
  9948. "in": "query",
  9949. "required": true
  9950. }
  9951. ],
  9952. "responses": {
  9953. "200": {
  9954. "description": "OK",
  9955. "schema": {
  9956. "$ref": "#/definitions/app.Response"
  9957. }
  9958. },
  9959. "500": {
  9960. "description": "Internal Server Error",
  9961. "schema": {
  9962. "$ref": "#/definitions/app.Response"
  9963. }
  9964. }
  9965. }
  9966. }
  9967. },
  9968. "/User/GetUserAccount": {
  9969. "get": {
  9970. "security": [
  9971. {
  9972. "ApiKeyAuth": []
  9973. }
  9974. ],
  9975. "produces": [
  9976. "application/json"
  9977. ],
  9978. "tags": [
  9979. "用户信息"
  9980. ],
  9981. "summary": "获取用户账号信息",
  9982. "parameters": [
  9983. {
  9984. "type": "integer",
  9985. "description": "用户ID",
  9986. "name": "userID",
  9987. "in": "query",
  9988. "required": true
  9989. }
  9990. ],
  9991. "responses": {
  9992. "200": {
  9993. "description": "OK",
  9994. "schema": {
  9995. "$ref": "#/definitions/models.Useraccount"
  9996. }
  9997. },
  9998. "500": {
  9999. "description": "Internal Server Error",
  10000. "schema": {
  10001. "$ref": "#/definitions/app.Response"
  10002. }
  10003. }
  10004. }
  10005. }
  10006. },
  10007. "/User/GetUserAuthStatus": {
  10008. "get": {
  10009. "security": [
  10010. {
  10011. "ApiKeyAuth": []
  10012. }
  10013. ],
  10014. "produces": [
  10015. "application/json"
  10016. ],
  10017. "tags": [
  10018. "用户信息"
  10019. ],
  10020. "summary": "获取用户实名认证状态",
  10021. "parameters": [
  10022. {
  10023. "type": "integer",
  10024. "description": "用户ID",
  10025. "name": "userID",
  10026. "in": "query",
  10027. "required": true
  10028. }
  10029. ],
  10030. "responses": {
  10031. "200": {
  10032. "description": "OK",
  10033. "schema": {
  10034. "$ref": "#/definitions/app.Response"
  10035. }
  10036. },
  10037. "500": {
  10038. "description": "Internal Server Error",
  10039. "schema": {
  10040. "$ref": "#/definitions/app.Response"
  10041. }
  10042. }
  10043. }
  10044. }
  10045. },
  10046. "/User/LoginQuery": {
  10047. "get": {
  10048. "security": [
  10049. {
  10050. "ApiKeyAuth": []
  10051. }
  10052. ],
  10053. "produces": [
  10054. "application/json"
  10055. ],
  10056. "tags": [
  10057. "用户信息"
  10058. ],
  10059. "summary": "账户登录后信息查询",
  10060. "parameters": [
  10061. {
  10062. "type": "integer",
  10063. "description": "登录账号",
  10064. "name": "loginID",
  10065. "in": "query",
  10066. "required": true
  10067. }
  10068. ],
  10069. "responses": {
  10070. "200": {
  10071. "description": "OK",
  10072. "schema": {
  10073. "$ref": "#/definitions/user.LoginQueryRsp"
  10074. }
  10075. },
  10076. "500": {
  10077. "description": "Internal Server Error",
  10078. "schema": {
  10079. "$ref": "#/definitions/app.Response"
  10080. }
  10081. }
  10082. }
  10083. }
  10084. },
  10085. "/User/QueryMessageBoard": {
  10086. "get": {
  10087. "security": [
  10088. {
  10089. "ApiKeyAuth": []
  10090. }
  10091. ],
  10092. "produces": [
  10093. "application/json"
  10094. ],
  10095. "tags": [
  10096. "用户信息"
  10097. ],
  10098. "summary": "获取用户留言板信息",
  10099. "parameters": [
  10100. {
  10101. "type": "integer",
  10102. "description": "用户ID",
  10103. "name": "userID",
  10104. "in": "query",
  10105. "required": true
  10106. }
  10107. ],
  10108. "responses": {
  10109. "200": {
  10110. "description": "OK",
  10111. "schema": {
  10112. "$ref": "#/definitions/models.Messageboard"
  10113. }
  10114. },
  10115. "500": {
  10116. "description": "Internal Server Error",
  10117. "schema": {
  10118. "$ref": "#/definitions/app.Response"
  10119. }
  10120. }
  10121. }
  10122. }
  10123. },
  10124. "/User/QueryUserFavoriteGoodses": {
  10125. "get": {
  10126. "security": [
  10127. {
  10128. "ApiKeyAuth": []
  10129. }
  10130. ],
  10131. "produces": [
  10132. "application/json"
  10133. ],
  10134. "tags": [
  10135. "用户信息"
  10136. ],
  10137. "summary": "获取用户商品收藏信息",
  10138. "parameters": [
  10139. {
  10140. "type": "integer",
  10141. "description": "用户ID",
  10142. "name": "userID",
  10143. "in": "query",
  10144. "required": true
  10145. }
  10146. ],
  10147. "responses": {
  10148. "200": {
  10149. "description": "OK",
  10150. "schema": {
  10151. "$ref": "#/definitions/models.Userfavoritegoods"
  10152. }
  10153. },
  10154. "500": {
  10155. "description": "Internal Server Error",
  10156. "schema": {
  10157. "$ref": "#/definitions/app.Response"
  10158. }
  10159. }
  10160. }
  10161. }
  10162. },
  10163. "/User/QueryUserInfo": {
  10164. "get": {
  10165. "security": [
  10166. {
  10167. "ApiKeyAuth": []
  10168. }
  10169. ],
  10170. "produces": [
  10171. "application/json"
  10172. ],
  10173. "tags": [
  10174. "用户信息"
  10175. ],
  10176. "summary": "获取用户信息",
  10177. "parameters": [
  10178. {
  10179. "type": "integer",
  10180. "description": "用户ID",
  10181. "name": "userID",
  10182. "in": "query",
  10183. "required": true
  10184. },
  10185. {
  10186. "type": "boolean",
  10187. "description": "是否解密",
  10188. "name": "isDecrypt",
  10189. "in": "query"
  10190. }
  10191. ],
  10192. "responses": {
  10193. "200": {
  10194. "description": "OK",
  10195. "schema": {
  10196. "$ref": "#/definitions/models.Userinfo"
  10197. }
  10198. },
  10199. "500": {
  10200. "description": "Internal Server Error",
  10201. "schema": {
  10202. "$ref": "#/definitions/app.Response"
  10203. }
  10204. }
  10205. }
  10206. }
  10207. },
  10208. "/User/QueryUserReferNum": {
  10209. "get": {
  10210. "produces": [
  10211. "application/json"
  10212. ],
  10213. "tags": [
  10214. "用户信息"
  10215. ],
  10216. "summary": "获取用户邀请码",
  10217. "parameters": [
  10218. {
  10219. "type": "integer",
  10220. "description": "用户ID",
  10221. "name": "userID",
  10222. "in": "query",
  10223. "required": true
  10224. }
  10225. ],
  10226. "responses": {
  10227. "200": {
  10228. "description": "OK",
  10229. "schema": {
  10230. "$ref": "#/definitions/app.Response"
  10231. }
  10232. },
  10233. "500": {
  10234. "description": "Internal Server Error",
  10235. "schema": {
  10236. "$ref": "#/definitions/app.Response"
  10237. }
  10238. }
  10239. }
  10240. }
  10241. },
  10242. "/User/RemoveUserFavoriteGoods": {
  10243. "post": {
  10244. "security": [
  10245. {
  10246. "ApiKeyAuth": []
  10247. }
  10248. ],
  10249. "produces": [
  10250. "application/json"
  10251. ],
  10252. "tags": [
  10253. "用户信息"
  10254. ],
  10255. "summary": "移除用户商品收藏信息",
  10256. "parameters": [
  10257. {
  10258. "type": "integer",
  10259. "description": "用户ID",
  10260. "name": "userID",
  10261. "in": "query",
  10262. "required": true
  10263. },
  10264. {
  10265. "type": "integer",
  10266. "description": "商品ID",
  10267. "name": "goodsID",
  10268. "in": "query",
  10269. "required": true
  10270. }
  10271. ],
  10272. "responses": {
  10273. "200": {
  10274. "description": "OK",
  10275. "schema": {
  10276. "$ref": "#/definitions/app.Response"
  10277. }
  10278. },
  10279. "500": {
  10280. "description": "Internal Server Error",
  10281. "schema": {
  10282. "$ref": "#/definitions/app.Response"
  10283. }
  10284. }
  10285. }
  10286. }
  10287. },
  10288. "/User/UpdateUserAccountStatus": {
  10289. "post": {
  10290. "security": [
  10291. {
  10292. "ApiKeyAuth": []
  10293. }
  10294. ],
  10295. "produces": [
  10296. "application/json"
  10297. ],
  10298. "tags": [
  10299. "用户信息"
  10300. ],
  10301. "summary": "更新用户状态",
  10302. "parameters": [
  10303. {
  10304. "type": "integer",
  10305. "description": "用户ID",
  10306. "name": "userID",
  10307. "in": "query",
  10308. "required": true
  10309. },
  10310. {
  10311. "type": "integer",
  10312. "description": "账户状态 - 4:正常 6:注销(停用)",
  10313. "name": "accountStatus",
  10314. "in": "query",
  10315. "required": true
  10316. }
  10317. ],
  10318. "responses": {
  10319. "200": {
  10320. "description": "OK",
  10321. "schema": {
  10322. "$ref": "#/definitions/app.Response"
  10323. }
  10324. },
  10325. "500": {
  10326. "description": "Internal Server Error",
  10327. "schema": {
  10328. "$ref": "#/definitions/app.Response"
  10329. }
  10330. }
  10331. }
  10332. }
  10333. },
  10334. "/WRTrade/GetAllDeliveryGoods": {
  10335. "get": {
  10336. "security": [
  10337. {
  10338. "ApiKeyAuth": []
  10339. },
  10340. {
  10341. "ApiKeyAuth": []
  10342. }
  10343. ],
  10344. "produces": [
  10345. "application/json",
  10346. "application/json"
  10347. ],
  10348. "tags": [
  10349. "仓单贸易",
  10350. "仓单贸易"
  10351. ],
  10352. "summary": "获取带仓单分类的种类信息",
  10353. "responses": {
  10354. "200": {
  10355. "description": "OK",
  10356. "schema": {
  10357. "$ref": "#/definitions/app.Response"
  10358. }
  10359. },
  10360. "500": {
  10361. "description": "Internal Server Error",
  10362. "schema": {
  10363. "$ref": "#/definitions/app.Response"
  10364. }
  10365. }
  10366. }
  10367. }
  10368. }
  10369. },
  10370. "definitions": {
  10371. "app.Response": {
  10372. "type": "object",
  10373. "properties": {
  10374. "code": {
  10375. "type": "integer"
  10376. },
  10377. "data": {
  10378. "type": "object"
  10379. },
  10380. "msg": {
  10381. "type": "string"
  10382. },
  10383. "page": {
  10384. "description": "页码",
  10385. "type": "integer"
  10386. },
  10387. "pagesize": {
  10388. "description": "每页条数",
  10389. "type": "integer"
  10390. },
  10391. "total": {
  10392. "description": "总条数",
  10393. "type": "integer"
  10394. }
  10395. }
  10396. },
  10397. "common.ClientMenu": {
  10398. "type": "object",
  10399. "properties": {
  10400. "children": {
  10401. "description": "子菜单列表",
  10402. "type": "array",
  10403. "items": {
  10404. "$ref": "#/definitions/common.ClientMenu"
  10405. }
  10406. },
  10407. "code": {
  10408. "description": "ID",
  10409. "type": "string"
  10410. },
  10411. "isshow": {
  10412. "description": "是否显示",
  10413. "type": "boolean"
  10414. },
  10415. "rulekey": {
  10416. "description": "对应权限主键,对应FUNCMENULIST表RESOURCECODE",
  10417. "type": "string"
  10418. },
  10419. "sort": {
  10420. "description": "排序",
  10421. "type": "integer"
  10422. },
  10423. "title": {
  10424. "description": "标题",
  10425. "type": "string"
  10426. },
  10427. "type": {
  10428. "description": "类型,1:菜单 2:按钮",
  10429. "type": "integer"
  10430. }
  10431. }
  10432. },
  10433. "common.QueryImageConfigsRsp": {
  10434. "type": "object",
  10435. "required": [
  10436. "configid"
  10437. ],
  10438. "properties": {
  10439. "areauserid": {
  10440. "description": "所属机构ID",
  10441. "type": "integer"
  10442. },
  10443. "configid": {
  10444. "description": "配置ID(SEQ_SZDZ2_IMAGECONFIG)",
  10445. "type": "integer"
  10446. },
  10447. "createdate": {
  10448. "description": "创建时间",
  10449. "type": "string"
  10450. },
  10451. "creatorid": {
  10452. "description": "创建人",
  10453. "type": "integer"
  10454. },
  10455. "imagepath": {
  10456. "description": "图片",
  10457. "type": "string"
  10458. },
  10459. "imagetype": {
  10460. "description": "类型 - 1:首页轮播(移动) 2:我的(移动)",
  10461. "type": "integer"
  10462. },
  10463. "isshow": {
  10464. "description": "是否展示 - 0:不展示 1:展示",
  10465. "type": "integer"
  10466. },
  10467. "marketid": {
  10468. "description": "市场ID",
  10469. "type": "integer"
  10470. },
  10471. "modifierid": {
  10472. "description": "操作人",
  10473. "type": "integer"
  10474. },
  10475. "sort": {
  10476. "description": "排序",
  10477. "type": "integer"
  10478. },
  10479. "title": {
  10480. "description": "标题",
  10481. "type": "string"
  10482. },
  10483. "trademode": {
  10484. "description": "交易模式",
  10485. "type": "integer"
  10486. },
  10487. "updatedate": {
  10488. "description": "修改时间",
  10489. "type": "string"
  10490. },
  10491. "url": {
  10492. "description": "链接(地址或商品ID)",
  10493. "type": "string"
  10494. },
  10495. "urltype": {
  10496. "description": "链接类型 - 1:直接地址 2:商品ID",
  10497. "type": "integer"
  10498. }
  10499. }
  10500. },
  10501. "common.QueryNoticeRsp": {
  10502. "type": "object",
  10503. "required": [
  10504. "autoid"
  10505. ],
  10506. "properties": {
  10507. "auditoruserid": {
  10508. "description": "审核人",
  10509. "type": "integer"
  10510. },
  10511. "auditremark": {
  10512. "description": "审核备注",
  10513. "type": "string"
  10514. },
  10515. "audittime": {
  10516. "description": "审核日期",
  10517. "type": "string"
  10518. },
  10519. "autoid": {
  10520. "description": "自增ID",
  10521. "type": "integer"
  10522. },
  10523. "content": {
  10524. "description": "内容",
  10525. "type": "string"
  10526. },
  10527. "createtime": {
  10528. "description": "创建时间",
  10529. "type": "string"
  10530. },
  10531. "creatorid": {
  10532. "description": "建仓人",
  10533. "type": "integer"
  10534. },
  10535. "endtime": {
  10536. "description": "结束时间",
  10537. "type": "string"
  10538. },
  10539. "istop": {
  10540. "description": "是否置顶 - 0:不置顶 1:置顶",
  10541. "type": "integer"
  10542. },
  10543. "msgiconurl": {
  10544. "description": "消息图标Url",
  10545. "type": "string"
  10546. },
  10547. "msgtype": {
  10548. "description": "消息类型 - 1:公告通知 2:系统消息 3:商品到期提货通知",
  10549. "type": "integer"
  10550. },
  10551. "publisher": {
  10552. "description": "消息发布者",
  10553. "type": "string"
  10554. },
  10555. "readed": {
  10556. "description": "是否已读",
  10557. "type": "boolean"
  10558. },
  10559. "scheduletime": {
  10560. "description": "计划发送时间",
  10561. "type": "string"
  10562. },
  10563. "sendtype": {
  10564. "description": "推送方式 - 1:全体广播 2:按会员广播 3:个人推送 4:按会员广播(仅会员)",
  10565. "type": "integer"
  10566. },
  10567. "sentstatus": {
  10568. "description": "推送状态 - 0:未推送 1:已推送 2:审核拒绝",
  10569. "type": "integer"
  10570. },
  10571. "title": {
  10572. "description": "标题",
  10573. "type": "string"
  10574. },
  10575. "userid": {
  10576. "description": "会员/投资者ID推送方式 为 个人时,填写投资者ID",
  10577. "type": "integer"
  10578. }
  10579. }
  10580. },
  10581. "common.QueryProvincesAndCitiesRsp": {
  10582. "type": "object",
  10583. "properties": {
  10584. "cities": {
  10585. "description": "市",
  10586. "type": "array",
  10587. "items": {
  10588. "$ref": "#/definitions/models.Division"
  10589. }
  10590. },
  10591. "province": {
  10592. "description": "省",
  10593. "type": "object",
  10594. "$ref": "#/definitions/models.Division"
  10595. }
  10596. }
  10597. },
  10598. "common.QueryTableDefineRsp": {
  10599. "type": "object",
  10600. "required": [
  10601. "tablekey"
  10602. ],
  10603. "properties": {
  10604. "columns": {
  10605. "description": "列头信息数组",
  10606. "type": "array",
  10607. "items": {
  10608. "$ref": "#/definitions/models.Tablecolumnconfig"
  10609. }
  10610. },
  10611. "remark": {
  10612. "description": "Remark",
  10613. "type": "string"
  10614. },
  10615. "tabelmenu": {
  10616. "description": "列表菜单",
  10617. "type": "string"
  10618. },
  10619. "tablekey": {
  10620. "description": "列表Key",
  10621. "type": "string"
  10622. },
  10623. "tablename": {
  10624. "description": "列表名称",
  10625. "type": "string"
  10626. },
  10627. "tabletype": {
  10628. "description": "列表类型 - 1:管理端 2:终端",
  10629. "type": "integer"
  10630. }
  10631. }
  10632. },
  10633. "common.QueryTraderMenuRsp": {
  10634. "type": "object",
  10635. "properties": {
  10636. "OperationMenu": {
  10637. "description": "功能菜单",
  10638. "type": "array",
  10639. "items": {
  10640. "$ref": "#/definitions/models.OperationPrimaryMenu"
  10641. }
  10642. },
  10643. "QuoteMenu": {
  10644. "description": "报价牌分类菜单",
  10645. "type": "array",
  10646. "items": {
  10647. "$ref": "#/definitions/models.QuotePrimaryMenu"
  10648. }
  10649. }
  10650. }
  10651. },
  10652. "cptrade.Cptradepositioncancel": {
  10653. "type": "object",
  10654. "required": [
  10655. "cancelid"
  10656. ],
  10657. "properties": {
  10658. "accountid": {
  10659. "description": "申请人账户ID",
  10660. "type": "integer"
  10661. },
  10662. "applystatus": {
  10663. "description": "申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  10664. "type": "integer"
  10665. },
  10666. "applytime": {
  10667. "description": "申请时间",
  10668. "type": "string"
  10669. },
  10670. "cancelid": {
  10671. "description": "注销ID(SEQ_CPTRADE_POSITIONCANCEL)",
  10672. "type": "integer"
  10673. },
  10674. "cancelqty": {
  10675. "description": "注销数量",
  10676. "type": "integer"
  10677. },
  10678. "createtime": {
  10679. "description": "创建时间",
  10680. "type": "string"
  10681. },
  10682. "creatorid": {
  10683. "description": "创建人ID",
  10684. "type": "integer"
  10685. },
  10686. "creatorname": {
  10687. "description": "创建人",
  10688. "type": "string"
  10689. },
  10690. "goodscode": {
  10691. "description": "订单商品代码",
  10692. "type": "string"
  10693. },
  10694. "goodsid": {
  10695. "description": "商品ID",
  10696. "type": "integer"
  10697. },
  10698. "goodsname": {
  10699. "description": "订单商品名称",
  10700. "type": "string"
  10701. },
  10702. "goodunit": {
  10703. "description": "报价单位",
  10704. "type": "string"
  10705. },
  10706. "handlestatus": {
  10707. "description": "处理状态",
  10708. "type": "integer"
  10709. },
  10710. "marketid": {
  10711. "description": "市场ID",
  10712. "type": "integer"
  10713. },
  10714. "marketname": {
  10715. "description": "市场名称",
  10716. "type": "string"
  10717. },
  10718. "tradedate": {
  10719. "description": "交易日(yyyyMMdd)",
  10720. "type": "string"
  10721. },
  10722. "userid": {
  10723. "description": "申请人ID",
  10724. "type": "integer"
  10725. }
  10726. }
  10727. },
  10728. "cptrade.Cptradepresaleapply": {
  10729. "type": "object",
  10730. "required": [
  10731. "applyid"
  10732. ],
  10733. "properties": {
  10734. "accountid": {
  10735. "description": "申请人账户ID",
  10736. "type": "integer"
  10737. },
  10738. "applyid": {
  10739. "description": "申请ID(181+Unix秒时间戳(10位)+xxxxxx)",
  10740. "type": "integer"
  10741. },
  10742. "applyremark": {
  10743. "description": "申请备注",
  10744. "type": "string"
  10745. },
  10746. "applystatus": {
  10747. "description": "申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  10748. "type": "integer"
  10749. },
  10750. "applytime": {
  10751. "description": "申请时间",
  10752. "type": "string"
  10753. },
  10754. "attachmenturl": {
  10755. "description": "附件地址",
  10756. "type": "string"
  10757. },
  10758. "endtime": {
  10759. "description": "预售结束时间",
  10760. "type": "string"
  10761. },
  10762. "goodscode": {
  10763. "description": "商品代码",
  10764. "type": "string"
  10765. },
  10766. "goodsid": {
  10767. "description": "商品ID",
  10768. "type": "integer"
  10769. },
  10770. "goodsname": {
  10771. "description": "商品名称",
  10772. "type": "string"
  10773. },
  10774. "goodunit": {
  10775. "description": "报价单位",
  10776. "type": "string"
  10777. },
  10778. "handlestatus": {
  10779. "description": "处理状态",
  10780. "type": "integer"
  10781. },
  10782. "marketid": {
  10783. "description": "预售市场ID",
  10784. "type": "integer"
  10785. },
  10786. "marketname": {
  10787. "description": "预售市场名称",
  10788. "type": "string"
  10789. },
  10790. "presaleqty": {
  10791. "description": "预售数量",
  10792. "type": "integer"
  10793. },
  10794. "relatedgoodscode": {
  10795. "description": "关联交易合约代码",
  10796. "type": "string"
  10797. },
  10798. "relatedgoodsid": {
  10799. "description": "关联交易合约ID",
  10800. "type": "integer"
  10801. },
  10802. "relatedgoodsname": {
  10803. "description": "关联交易合约名称",
  10804. "type": "string"
  10805. },
  10806. "starttime": {
  10807. "description": "预售开始时间",
  10808. "type": "string"
  10809. },
  10810. "tradedate": {
  10811. "description": "交易日(yyyyMMdd)",
  10812. "type": "string"
  10813. },
  10814. "trademode": {
  10815. "description": "交易模式 - 16:挂牌点选 21:大宗竞拍",
  10816. "type": "integer"
  10817. },
  10818. "userid": {
  10819. "description": "申请人ID",
  10820. "type": "integer"
  10821. }
  10822. }
  10823. },
  10824. "cptrade.Cptradeusergoodsdata": {
  10825. "type": "object",
  10826. "required": [
  10827. "accountid",
  10828. "goodsid"
  10829. ],
  10830. "properties": {
  10831. "EnabledQty": {
  10832. "description": "可用量",
  10833. "type": "integer"
  10834. },
  10835. "GoodsCode": {
  10836. "description": "订单商品代码",
  10837. "type": "string"
  10838. },
  10839. "GoodsName": {
  10840. "description": "订单商品名称",
  10841. "type": "string"
  10842. },
  10843. "WRStandardCode": {
  10844. "description": "仓单标准代码",
  10845. "type": "string"
  10846. },
  10847. "WRStandardName": {
  10848. "description": "仓单标准名称",
  10849. "type": "string"
  10850. },
  10851. "accountid": {
  10852. "description": "账户ID",
  10853. "type": "integer"
  10854. },
  10855. "cancelqty": {
  10856. "description": "注销量",
  10857. "type": "integer"
  10858. },
  10859. "curpresaleqty": {
  10860. "description": "当前预售量",
  10861. "type": "integer"
  10862. },
  10863. "deliveryqty": {
  10864. "description": "交割量",
  10865. "type": "integer"
  10866. },
  10867. "freezeamount": {
  10868. "description": "冻结金额",
  10869. "type": "number"
  10870. },
  10871. "goodsid": {
  10872. "description": "商品ID",
  10873. "type": "integer"
  10874. },
  10875. "goodunit": {
  10876. "description": "报价单位",
  10877. "type": "string"
  10878. },
  10879. "hasspotfreeze": {
  10880. "description": "是否有现货冻结 - 0:否 1:有",
  10881. "type": "integer"
  10882. },
  10883. "inqty": {
  10884. "description": "转入量(总数量)",
  10885. "type": "integer"
  10886. },
  10887. "marketid": {
  10888. "description": "市场ID",
  10889. "type": "integer"
  10890. },
  10891. "presaledamount": {
  10892. "description": "已预售总金额",
  10893. "type": "integer"
  10894. },
  10895. "presaledqty": {
  10896. "description": "已预售量",
  10897. "type": "integer"
  10898. },
  10899. "userid": {
  10900. "description": "用户ID",
  10901. "type": "integer"
  10902. },
  10903. "wrstandardid": {
  10904. "description": "仓单标准ID",
  10905. "type": "integer"
  10906. }
  10907. }
  10908. },
  10909. "cptrade.QueryCPTradeMyBidRsp": {
  10910. "type": "object",
  10911. "required": [
  10912. "accountid",
  10913. "goodsid",
  10914. "marketid",
  10915. "orderid",
  10916. "orderqty",
  10917. "ordertime",
  10918. "tradeprice",
  10919. "tradeqty"
  10920. ],
  10921. "properties": {
  10922. "accountid": {
  10923. "description": "账户ID[报价币种]",
  10924. "type": "integer"
  10925. },
  10926. "goodsid": {
  10927. "description": "商品ID",
  10928. "type": "integer"
  10929. },
  10930. "goodunit": {
  10931. "description": "报价单位",
  10932. "type": "string"
  10933. },
  10934. "marketid": {
  10935. "description": "市场ID",
  10936. "type": "integer"
  10937. },
  10938. "orderid": {
  10939. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  10940. "type": "integer"
  10941. },
  10942. "orderprice": {
  10943. "description": "委托价格",
  10944. "type": "number"
  10945. },
  10946. "orderqty": {
  10947. "description": "委托数量",
  10948. "type": "integer"
  10949. },
  10950. "ordertime": {
  10951. "description": "委托时间",
  10952. "type": "string"
  10953. },
  10954. "ordertotalprice": {
  10955. "description": "货款金额(委托总价格=委托价格*委托数量*合约单位)",
  10956. "type": "number"
  10957. },
  10958. "ordertotalweight": {
  10959. "description": "竞拍总重量(委托总重量=委托数量*合约单位)",
  10960. "type": "integer"
  10961. },
  10962. "totaltotalprice": {
  10963. "description": "成交货款金额(成交总价格=成交价格*成交数量*合约单位)",
  10964. "type": "number"
  10965. },
  10966. "tradeprice": {
  10967. "description": "成交价格",
  10968. "type": "number"
  10969. },
  10970. "tradeqty": {
  10971. "description": "成交数量",
  10972. "type": "integer"
  10973. }
  10974. }
  10975. },
  10976. "cptrade.QueryCPTradeOrderDetailRsq": {
  10977. "type": "object",
  10978. "required": [
  10979. "accountid",
  10980. "buildtype",
  10981. "buyorsell",
  10982. "goodsid",
  10983. "marketid",
  10984. "memberuserid",
  10985. "operatetype",
  10986. "orderqty",
  10987. "ordertime",
  10988. "pricemode",
  10989. "strorderid",
  10990. "tradedate",
  10991. "validtype"
  10992. ],
  10993. "properties": {
  10994. "accountid": {
  10995. "description": "账户ID[报价币种]",
  10996. "type": "integer"
  10997. },
  10998. "buildtype": {
  10999. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  11000. "type": "integer"
  11001. },
  11002. "buyorsell": {
  11003. "description": "买卖 - 0:买 1:卖",
  11004. "type": "integer"
  11005. },
  11006. "cancelorderid": {
  11007. "description": "撤单单号(撤单时填写)",
  11008. "type": "integer"
  11009. },
  11010. "cancelqty": {
  11011. "description": "撤单数量",
  11012. "type": "integer"
  11013. },
  11014. "clientordertime": {
  11015. "description": "客户端委托时间",
  11016. "type": "string"
  11017. },
  11018. "clientticket": {
  11019. "description": "客户端流水号",
  11020. "type": "string"
  11021. },
  11022. "clienttype": {
  11023. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  11024. "type": "integer"
  11025. },
  11026. "closeexchagechargevalue": {
  11027. "description": "平仓交易所手续费设置值",
  11028. "type": "number"
  11029. },
  11030. "closefeealgorithm": {
  11031. "description": "平仓手续费收取方式 1:比率 2:固定",
  11032. "type": "integer"
  11033. },
  11034. "closefreezecharge": {
  11035. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  11036. "type": "number"
  11037. },
  11038. "closememberchargevalue": {
  11039. "description": "平仓会员手续费设置值",
  11040. "type": "number"
  11041. },
  11042. "closeqty": {
  11043. "description": "平仓数量(先建后平操作 需要记录)",
  11044. "type": "integer"
  11045. },
  11046. "closetradeqty": {
  11047. "description": "平仓成交数量(先建后平操作,需要记录)",
  11048. "type": "integer"
  11049. },
  11050. "closeunfreezecharge": {
  11051. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  11052. "type": "number"
  11053. },
  11054. "delistingtype": {
  11055. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  11056. "type": "integer"
  11057. },
  11058. "freezecharge": {
  11059. "description": "冻结手续费",
  11060. "type": "number"
  11061. },
  11062. "freezemargin": {
  11063. "description": "冻结保证金(冻结交易金额)",
  11064. "type": "number"
  11065. },
  11066. "gcaccountid": {
  11067. "description": "账户ID[合约币种]",
  11068. "type": "integer"
  11069. },
  11070. "goodsid": {
  11071. "description": "商品ID",
  11072. "type": "integer"
  11073. },
  11074. "isconfirmexercise": {
  11075. "description": "是否确认行权- 0:否 1:是",
  11076. "type": "integer"
  11077. },
  11078. "ispreexercise": {
  11079. "description": "是否预申报- 0:否 1:是",
  11080. "type": "integer"
  11081. },
  11082. "listingselecttype": {
  11083. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  11084. "type": "integer"
  11085. },
  11086. "marginalgorithm": {
  11087. "description": "保证金收取方式 1:比率 2:固定",
  11088. "type": "integer"
  11089. },
  11090. "marginvalue": {
  11091. "description": "即市保证金设置值",
  11092. "type": "number"
  11093. },
  11094. "marketid": {
  11095. "description": "市场ID",
  11096. "type": "integer"
  11097. },
  11098. "marketmaxsub": {
  11099. "description": "市价最大偏移范围",
  11100. "type": "number"
  11101. },
  11102. "memberuserid": {
  11103. "description": "所属会员UserID",
  11104. "type": "integer"
  11105. },
  11106. "openexchagechargevalue": {
  11107. "description": "建仓交易所手续费设置值",
  11108. "type": "number"
  11109. },
  11110. "openfeealgorithm": {
  11111. "description": "建仓手续费收取方式 1:比率 2:固定",
  11112. "type": "integer"
  11113. },
  11114. "openfreezecharge": {
  11115. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  11116. "type": "number"
  11117. },
  11118. "openmemberchargevalue": {
  11119. "description": "建仓会员手续费设置值",
  11120. "type": "number"
  11121. },
  11122. "openqty": {
  11123. "description": "开仓数量(先建后平操作,需要记录)",
  11124. "type": "integer"
  11125. },
  11126. "opentradeqty": {
  11127. "description": "开仓成交数量(先建后平操作,需要记录)",
  11128. "type": "integer"
  11129. },
  11130. "openunfreezecharge": {
  11131. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  11132. "type": "number"
  11133. },
  11134. "operatetype": {
  11135. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  11136. "type": "integer"
  11137. },
  11138. "operatorid": {
  11139. "description": "登录账号(LoginID)",
  11140. "type": "integer"
  11141. },
  11142. "optiontype": {
  11143. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  11144. "type": "integer"
  11145. },
  11146. "orderprice": {
  11147. "description": "委托价格",
  11148. "type": "number"
  11149. },
  11150. "orderqty": {
  11151. "description": "委托数量",
  11152. "type": "integer"
  11153. },
  11154. "ordersrc": {
  11155. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  11156. "type": "integer"
  11157. },
  11158. "orderstatus": {
  11159. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  11160. "type": "integer"
  11161. },
  11162. "ordertime": {
  11163. "description": "委托时间",
  11164. "type": "string"
  11165. },
  11166. "preexerciseprice": {
  11167. "description": "预申报价格",
  11168. "type": "number"
  11169. },
  11170. "premium": {
  11171. "description": "权利金",
  11172. "type": "number"
  11173. },
  11174. "preorderid": {
  11175. "description": "关联预埋单号(止盈止损单时填写)",
  11176. "type": "integer"
  11177. },
  11178. "pricemode": {
  11179. "description": "取价方式 - 1:市价 2: 限价",
  11180. "type": "integer"
  11181. },
  11182. "quoteid": {
  11183. "description": "报价单ID",
  11184. "type": "integer"
  11185. },
  11186. "relatedid": {
  11187. "description": "关联单号(交割单)",
  11188. "type": "integer"
  11189. },
  11190. "retcode": {
  11191. "description": "错误代码",
  11192. "type": "integer"
  11193. },
  11194. "sessionid": {
  11195. "description": "会话ID",
  11196. "type": "integer"
  11197. },
  11198. "strorderid": {
  11199. "description": "委托单号",
  11200. "type": "string"
  11201. },
  11202. "tradedate": {
  11203. "description": "交易日(yyyyMMdd)",
  11204. "type": "string"
  11205. },
  11206. "tradeproperty": {
  11207. "description": "交易属性",
  11208. "type": "integer"
  11209. },
  11210. "tradeqty": {
  11211. "description": "成交数量",
  11212. "type": "integer"
  11213. },
  11214. "unfreezecharge": {
  11215. "description": "解冻手续费",
  11216. "type": "number"
  11217. },
  11218. "unfreezemargin": {
  11219. "description": "解冻保证金",
  11220. "type": "number"
  11221. },
  11222. "updatetime": {
  11223. "description": "更新时间",
  11224. "type": "string"
  11225. },
  11226. "uuid": {
  11227. "description": "发起端唯一id",
  11228. "type": "string"
  11229. },
  11230. "validtime": {
  11231. "description": "有效期限",
  11232. "type": "string"
  11233. },
  11234. "validtype": {
  11235. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  11236. "type": "integer"
  11237. },
  11238. "volumetype": {
  11239. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  11240. "type": "integer"
  11241. }
  11242. }
  11243. },
  11244. "cptrade.QueryMyCPTradeGoodsRsp": {
  11245. "type": "object",
  11246. "required": [
  11247. "goodscode",
  11248. "goodsid",
  11249. "goodsname",
  11250. "marketid",
  11251. "relatedgoodscode",
  11252. "relatedgoodsname"
  11253. ],
  11254. "properties": {
  11255. "accountid": {
  11256. "description": "卖方账户ID",
  11257. "type": "integer"
  11258. },
  11259. "agreeunit": {
  11260. "description": "合约单位",
  11261. "type": "number"
  11262. },
  11263. "applyid": {
  11264. "description": "关联申请ID",
  11265. "type": "integer"
  11266. },
  11267. "attachmenturl": {
  11268. "description": "附件地址",
  11269. "type": "string"
  11270. },
  11271. "createtime": {
  11272. "description": "创建时间",
  11273. "type": "string"
  11274. },
  11275. "currencyid": {
  11276. "description": "报价货币ID",
  11277. "type": "integer"
  11278. },
  11279. "decimalplace": {
  11280. "description": "报价小数位",
  11281. "type": "integer"
  11282. },
  11283. "endtime": {
  11284. "description": "预售结束时间",
  11285. "type": "string"
  11286. },
  11287. "floorprice": {
  11288. "description": "底价[大宗式竞拍]",
  11289. "type": "number"
  11290. },
  11291. "goodscode": {
  11292. "description": "商品代码(预售)",
  11293. "type": "string"
  11294. },
  11295. "goodsdetail": {
  11296. "description": "详情[大宗]",
  11297. "type": "string"
  11298. },
  11299. "goodsid": {
  11300. "description": "商品ID(自增ID SEQ_GOODS)",
  11301. "type": "integer"
  11302. },
  11303. "goodsname": {
  11304. "description": "商品名称(预售)",
  11305. "type": "string"
  11306. },
  11307. "goodunit": {
  11308. "description": "报价单位",
  11309. "type": "string"
  11310. },
  11311. "goodunitid": {
  11312. "description": "报价单位ID",
  11313. "type": "integer"
  11314. },
  11315. "marketid": {
  11316. "description": "所属市场ID",
  11317. "type": "integer"
  11318. },
  11319. "marketname": {
  11320. "description": "预售市场名称",
  11321. "type": "string"
  11322. },
  11323. "presaledamount": {
  11324. "description": "已预售总金额(预售结束时更新)",
  11325. "type": "number"
  11326. },
  11327. "presaledqty": {
  11328. "description": "已预售量(预售结束时更新)",
  11329. "type": "integer"
  11330. },
  11331. "presalemode": {
  11332. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  11333. "type": "integer"
  11334. },
  11335. "presaleqty": {
  11336. "description": "预售数量",
  11337. "type": "integer"
  11338. },
  11339. "refprice": {
  11340. "description": "参考价格[一口价]",
  11341. "type": "number"
  11342. },
  11343. "relatedgoodscode": {
  11344. "description": "商品代码(订单)",
  11345. "type": "string"
  11346. },
  11347. "relatedgoodsid": {
  11348. "description": "关联交易合约ID",
  11349. "type": "integer"
  11350. },
  11351. "relatedgoodsname": {
  11352. "description": "商品名称(订单)",
  11353. "type": "string"
  11354. },
  11355. "relatedmarketid": {
  11356. "description": "关联交易合约市场ID",
  11357. "type": "integer"
  11358. },
  11359. "sellstatus": {
  11360. "description": "卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理",
  11361. "type": "integer"
  11362. },
  11363. "startprice": {
  11364. "description": "起拍价[大宗式竞拍]",
  11365. "type": "number"
  11366. },
  11367. "starttime": {
  11368. "description": "预售开始时间",
  11369. "type": "string"
  11370. },
  11371. "tradedate": {
  11372. "description": "交易日(yyyyMMdd)",
  11373. "type": "string"
  11374. },
  11375. "tradeprice": {
  11376. "description": "成交价[大宗]",
  11377. "type": "number"
  11378. },
  11379. "userid": {
  11380. "description": "卖方用户ID",
  11381. "type": "integer"
  11382. }
  11383. }
  11384. },
  11385. "cptrade.QueryPresaleGoodsExRsp": {
  11386. "type": "object",
  11387. "required": [
  11388. "goodsid"
  11389. ],
  11390. "properties": {
  11391. "attachmenturl": {
  11392. "description": "附件地址",
  11393. "type": "string"
  11394. },
  11395. "createtime": {
  11396. "description": "创建时间",
  11397. "type": "string"
  11398. },
  11399. "endtime": {
  11400. "description": "预售结束时间",
  11401. "type": "string"
  11402. },
  11403. "floorprice": {
  11404. "description": "底价[大宗式竞拍]",
  11405. "type": "number"
  11406. },
  11407. "goodsdetail": {
  11408. "description": "详情[大宗]",
  11409. "type": "string"
  11410. },
  11411. "goodsid": {
  11412. "description": "商品ID(预售)",
  11413. "type": "integer"
  11414. },
  11415. "goodunit": {
  11416. "description": "报价单位",
  11417. "type": "string"
  11418. },
  11419. "marketid": {
  11420. "description": "预售市场ID - 根据预售模式选择市场",
  11421. "type": "integer"
  11422. },
  11423. "presaledamount": {
  11424. "description": "已预售总金额(预售结束时更新)",
  11425. "type": "number"
  11426. },
  11427. "presaledqty": {
  11428. "description": "已预售量(预售结束时更新)",
  11429. "type": "integer"
  11430. },
  11431. "presalemode": {
  11432. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  11433. "type": "integer"
  11434. },
  11435. "presaleqty": {
  11436. "description": "预售数量",
  11437. "type": "integer"
  11438. },
  11439. "refprice": {
  11440. "description": "参考价格[一口价]",
  11441. "type": "number"
  11442. },
  11443. "relatedgoodsid": {
  11444. "description": "关联交易合约ID",
  11445. "type": "integer"
  11446. },
  11447. "relatedmarketid": {
  11448. "description": "关联交易合约市场ID",
  11449. "type": "integer"
  11450. },
  11451. "sellstatus": {
  11452. "description": "卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理",
  11453. "type": "integer"
  11454. },
  11455. "startprice": {
  11456. "description": "起拍价[大宗式竞拍]",
  11457. "type": "number"
  11458. },
  11459. "starttime": {
  11460. "description": "预售开始时间",
  11461. "type": "string"
  11462. },
  11463. "tradedate": {
  11464. "description": "交易日(yyyyMMdd)",
  11465. "type": "string"
  11466. },
  11467. "tradeprice": {
  11468. "description": "成交价[大宗]",
  11469. "type": "number"
  11470. }
  11471. }
  11472. },
  11473. "delivery.QueryDeliveryRelationRsp": {
  11474. "type": "object",
  11475. "required": [
  11476. "begindate",
  11477. "enddate",
  11478. "goodsid",
  11479. "mindeliveryqty",
  11480. "xdeliveryratio"
  11481. ],
  11482. "properties": {
  11483. "begindate": {
  11484. "description": "起始日期(yyyyMMdd)",
  11485. "type": "string"
  11486. },
  11487. "buytemplateid": {
  11488. "description": "买履约计划模板ID",
  11489. "type": "integer"
  11490. },
  11491. "deliverygoodscode": {
  11492. "description": "品种代码",
  11493. "type": "string"
  11494. },
  11495. "deliverygoodsid": {
  11496. "description": "交割商品",
  11497. "type": "integer"
  11498. },
  11499. "deliverygoodsname": {
  11500. "description": "品种名称",
  11501. "type": "string"
  11502. },
  11503. "deliverymode": {
  11504. "description": "交割方式 - 1:点选式 2:申报式",
  11505. "type": "integer"
  11506. },
  11507. "deliverypricerule": {
  11508. "description": "交割价规则- 1:行情价 2:建仓价",
  11509. "type": "integer"
  11510. },
  11511. "deliverytype": {
  11512. "description": "交割模式 - 1:X交割 2:X+P交割 3:X+C交割 4:X+P+C交割",
  11513. "type": "integer"
  11514. },
  11515. "enddate": {
  11516. "description": "结束日期(yyyyMMdd)",
  11517. "type": "string"
  11518. },
  11519. "goodscode": {
  11520. "description": "商品代码",
  11521. "type": "string"
  11522. },
  11523. "goodsid": {
  11524. "description": "交易合约ID",
  11525. "type": "integer"
  11526. },
  11527. "goodsname": {
  11528. "description": "商品名称",
  11529. "type": "string"
  11530. },
  11531. "marketid": {
  11532. "description": "市场ID",
  11533. "type": "integer"
  11534. },
  11535. "mindeliveryqty": {
  11536. "description": "最小交割系数(K)",
  11537. "type": "integer"
  11538. },
  11539. "p2deliveryprice": {
  11540. "description": "P2合约价格(商品价时填写0,固定值时填写固定值)",
  11541. "type": "number"
  11542. },
  11543. "p2deliveryratio": {
  11544. "description": "P2合约系数(p)",
  11545. "type": "integer"
  11546. },
  11547. "p2goodsid": {
  11548. "description": "P2合约ID",
  11549. "type": "integer"
  11550. },
  11551. "p2pricemode": {
  11552. "description": "P2合约价格方式 - 1:商品价 2:固定值",
  11553. "type": "integer"
  11554. },
  11555. "pdeliveryprice": {
  11556. "description": "P合约价格(商品价时填写0,固定值时填写固定值)",
  11557. "type": "number"
  11558. },
  11559. "pdeliveryratio": {
  11560. "description": "P合约系数(n)",
  11561. "type": "integer"
  11562. },
  11563. "pgoodsid": {
  11564. "description": "P合约ID",
  11565. "type": "integer"
  11566. },
  11567. "ppricemode": {
  11568. "description": "P合约价格方式 - 1:商品价 2:固定值",
  11569. "type": "integer"
  11570. },
  11571. "rratio": {
  11572. "description": "兑换系数(R)",
  11573. "type": "integer"
  11574. },
  11575. "rratio1": {
  11576. "description": "兑换系数(交易合约)(R1)",
  11577. "type": "integer"
  11578. },
  11579. "rratio2": {
  11580. "description": "兑换系数(仓单标准)(R2)",
  11581. "type": "integer"
  11582. },
  11583. "selltemplateid": {
  11584. "description": "卖履约计划模板ID",
  11585. "type": "integer"
  11586. },
  11587. "wrstandardid": {
  11588. "description": "仓单标准ID",
  11589. "type": "integer"
  11590. },
  11591. "xdeliveryratio": {
  11592. "description": "交易合约系数(m)",
  11593. "type": "integer"
  11594. }
  11595. }
  11596. },
  11597. "ermcp.ExposureDetailRsp": {
  11598. "$ref": "#/definitions/models.ErmcpExposureDetailModel"
  11599. },
  11600. "ermcp.ExposureHedgePosDetailRsp": {
  11601. "$ref": "#/definitions/models.ErmcpHedgePositionDetail"
  11602. },
  11603. "ermcp.ExposureHedgePositionRsp": {
  11604. "$ref": "#/definitions/models.ErmcpHedgePosition"
  11605. },
  11606. "ermcp.ExposureSpotDetailRsp": {
  11607. "$ref": "#/definitions/models.ErmcpAreaSpotDetailModel"
  11608. },
  11609. "ermcp.ExposureSpotRsp": {
  11610. "$ref": "#/definitions/models.AreaSpotModel"
  11611. },
  11612. "ermcp.HisExposureRsp": {
  11613. "$ref": "#/definitions/models.ErmcpHisExposureS"
  11614. },
  11615. "ermcp.PendingAuditCntRsp": {
  11616. "$ref": "#/definitions/models.ErmcpPendingAudit"
  11617. },
  11618. "ermcp.QryAvalidGPRsp": {
  11619. "$ref": "#/definitions/models.ErmcpAvalidGoodsGroupModel"
  11620. },
  11621. "ermcp.QryBusinessDjRsp": {
  11622. "type": "object",
  11623. "properties": {
  11624. "amount": {
  11625. "description": "点价金额=(点价价格+升贴水)*点价数量",
  11626. "type": "number"
  11627. },
  11628. "applyid": {
  11629. "description": "申请人",
  11630. "type": "string"
  11631. },
  11632. "applyname": {
  11633. "description": "申请人名称",
  11634. "type": "string"
  11635. },
  11636. "applystatus": {
  11637. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  11638. "type": "integer"
  11639. },
  11640. "applytime": {
  11641. "description": "申请时间",
  11642. "type": "string"
  11643. },
  11644. "attachurl": {
  11645. "description": "附件",
  11646. "type": "string"
  11647. },
  11648. "auditid": {
  11649. "description": "审核人ID",
  11650. "type": "string"
  11651. },
  11652. "auditname": {
  11653. "description": "审核人名称",
  11654. "type": "string"
  11655. },
  11656. "audittime": {
  11657. "description": "审核时间",
  11658. "type": "string"
  11659. },
  11660. "buyusername": {
  11661. "description": "采购方名称",
  11662. "type": "string"
  11663. },
  11664. "contractno": {
  11665. "description": "合同编号",
  11666. "type": "string"
  11667. },
  11668. "contractstatus": {
  11669. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  11670. "type": "integer"
  11671. },
  11672. "contracttype": {
  11673. "description": "现货合同类型 - 1:采购 -1:销售",
  11674. "type": "integer"
  11675. },
  11676. "deliverygoodscode": {
  11677. "description": "现货品种代码",
  11678. "type": "string"
  11679. },
  11680. "deliverygoodsid": {
  11681. "description": "现货商品ID",
  11682. "type": "integer"
  11683. },
  11684. "deliverygoodsname": {
  11685. "description": "现货品种名称",
  11686. "type": "string"
  11687. },
  11688. "enumdicname": {
  11689. "description": "单位名称",
  11690. "type": "string"
  11691. },
  11692. "goodscode": {
  11693. "description": "点价合约",
  11694. "type": "string"
  11695. },
  11696. "goodsname": {
  11697. "description": "商品名称",
  11698. "type": "string"
  11699. },
  11700. "operateapplyid": {
  11701. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  11702. "type": "string"
  11703. },
  11704. "operateapplytype": {
  11705. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  11706. "type": "integer"
  11707. },
  11708. "pricedPrice": {
  11709. "description": "点价价格(非必填)",
  11710. "type": "number"
  11711. },
  11712. "pricedQty": {
  11713. "description": "点价数量(非必填)",
  11714. "type": "number"
  11715. },
  11716. "pricemove": {
  11717. "description": "升贴水",
  11718. "type": "number"
  11719. },
  11720. "pricetype": {
  11721. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  11722. "type": "integer"
  11723. },
  11724. "relatedid": {
  11725. "description": "现货合同ID",
  11726. "type": "string"
  11727. },
  11728. "sellusername": {
  11729. "description": "销售方名字",
  11730. "type": "string"
  11731. },
  11732. "userid": {
  11733. "description": "用户ID",
  11734. "type": "integer"
  11735. },
  11736. "wrstandardcode": {
  11737. "description": "品类代码",
  11738. "type": "string"
  11739. },
  11740. "wrstandardid": {
  11741. "description": "品类id",
  11742. "type": "integer"
  11743. },
  11744. "wrstandardname": {
  11745. "description": "品类名称",
  11746. "type": "string"
  11747. }
  11748. }
  11749. },
  11750. "ermcp.QryBussinessFpRsp": {
  11751. "type": "object",
  11752. "properties": {
  11753. "applyid": {
  11754. "description": "申请人",
  11755. "type": "string"
  11756. },
  11757. "applyname": {
  11758. "description": "申请人名称",
  11759. "type": "string"
  11760. },
  11761. "applystatus": {
  11762. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  11763. "type": "integer"
  11764. },
  11765. "applytime": {
  11766. "description": "申请时间",
  11767. "type": "string"
  11768. },
  11769. "attachurl": {
  11770. "description": "附件",
  11771. "type": "string"
  11772. },
  11773. "auditid": {
  11774. "description": "审核人ID",
  11775. "type": "string"
  11776. },
  11777. "auditname": {
  11778. "description": "审核人名称",
  11779. "type": "string"
  11780. },
  11781. "audittime": {
  11782. "description": "审核时间",
  11783. "type": "string"
  11784. },
  11785. "buyusername": {
  11786. "description": "采购方名称",
  11787. "type": "string"
  11788. },
  11789. "contractno": {
  11790. "description": "合同编号",
  11791. "type": "string"
  11792. },
  11793. "contractstatus": {
  11794. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  11795. "type": "integer"
  11796. },
  11797. "contracttype": {
  11798. "description": "现货合同类型 - 1:采购 -1:销售",
  11799. "type": "integer"
  11800. },
  11801. "deliverygoodscode": {
  11802. "description": "现货品种代码",
  11803. "type": "string"
  11804. },
  11805. "deliverygoodsid": {
  11806. "description": "现货商品ID",
  11807. "type": "integer"
  11808. },
  11809. "deliverygoodsname": {
  11810. "description": "现货品种名称",
  11811. "type": "string"
  11812. },
  11813. "enumdicname": {
  11814. "description": "单位名称",
  11815. "type": "string"
  11816. },
  11817. "goodscode": {
  11818. "description": "点价合约",
  11819. "type": "string"
  11820. },
  11821. "goodsname": {
  11822. "description": "商品名称",
  11823. "type": "string"
  11824. },
  11825. "invoiceAmount": {
  11826. "description": "已开收票金额(销售为开票,采购为收票)",
  11827. "type": "number"
  11828. },
  11829. "operateapplyid": {
  11830. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  11831. "type": "string"
  11832. },
  11833. "operateapplytype": {
  11834. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  11835. "type": "integer"
  11836. },
  11837. "pricemove": {
  11838. "description": "升贴水",
  11839. "type": "number"
  11840. },
  11841. "pricetype": {
  11842. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  11843. "type": "integer"
  11844. },
  11845. "relatedid": {
  11846. "description": "现货合同ID",
  11847. "type": "string"
  11848. },
  11849. "sellusername": {
  11850. "description": "销售方名字",
  11851. "type": "string"
  11852. },
  11853. "userid": {
  11854. "description": "用户ID",
  11855. "type": "integer"
  11856. },
  11857. "wrstandardcode": {
  11858. "description": "品类代码",
  11859. "type": "string"
  11860. },
  11861. "wrstandardid": {
  11862. "description": "品类id",
  11863. "type": "integer"
  11864. },
  11865. "wrstandardname": {
  11866. "description": "品类名称",
  11867. "type": "string"
  11868. }
  11869. }
  11870. },
  11871. "ermcp.QryBussinessJsExRsp": {
  11872. "type": "object",
  11873. "properties": {
  11874. "applyid": {
  11875. "description": "申请人",
  11876. "type": "string"
  11877. },
  11878. "applyname": {
  11879. "description": "申请人名称",
  11880. "type": "string"
  11881. },
  11882. "applystatus": {
  11883. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  11884. "type": "integer"
  11885. },
  11886. "applytime": {
  11887. "description": "申请时间",
  11888. "type": "string"
  11889. },
  11890. "attachurl": {
  11891. "description": "附件",
  11892. "type": "string"
  11893. },
  11894. "auditid": {
  11895. "description": "审核人ID",
  11896. "type": "string"
  11897. },
  11898. "auditname": {
  11899. "description": "审核人名称",
  11900. "type": "string"
  11901. },
  11902. "audittime": {
  11903. "description": "审核时间",
  11904. "type": "string"
  11905. },
  11906. "buyusername": {
  11907. "description": "采购方名称",
  11908. "type": "string"
  11909. },
  11910. "contractno": {
  11911. "description": "合同编号",
  11912. "type": "string"
  11913. },
  11914. "contractstatus": {
  11915. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  11916. "type": "integer"
  11917. },
  11918. "contracttype": {
  11919. "description": "现货合同类型 - 1:采购 -1:销售",
  11920. "type": "integer"
  11921. },
  11922. "deliverygoodscode": {
  11923. "description": "现货品种代码",
  11924. "type": "string"
  11925. },
  11926. "deliverygoodsid": {
  11927. "description": "现货商品ID",
  11928. "type": "integer"
  11929. },
  11930. "deliverygoodsname": {
  11931. "description": "现货品种名称",
  11932. "type": "string"
  11933. },
  11934. "enumdicname": {
  11935. "description": "单位名称",
  11936. "type": "string"
  11937. },
  11938. "goodscode": {
  11939. "description": "点价合约",
  11940. "type": "string"
  11941. },
  11942. "goodsname": {
  11943. "description": "商品名称",
  11944. "type": "string"
  11945. },
  11946. "operateapplyid": {
  11947. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  11948. "type": "string"
  11949. },
  11950. "operateapplytype": {
  11951. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  11952. "type": "integer"
  11953. },
  11954. "pricemove": {
  11955. "description": "升贴水",
  11956. "type": "number"
  11957. },
  11958. "pricetype": {
  11959. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  11960. "type": "integer"
  11961. },
  11962. "reckontype": {
  11963. "description": "结算类型",
  11964. "type": "string"
  11965. },
  11966. "reckonvalue": {
  11967. "description": "值",
  11968. "type": "number"
  11969. },
  11970. "relatedid": {
  11971. "description": "现货合同ID",
  11972. "type": "string"
  11973. },
  11974. "sellusername": {
  11975. "description": "销售方名字",
  11976. "type": "string"
  11977. },
  11978. "userid": {
  11979. "description": "用户ID",
  11980. "type": "integer"
  11981. },
  11982. "wrstandardcode": {
  11983. "description": "品类代码",
  11984. "type": "string"
  11985. },
  11986. "wrstandardid": {
  11987. "description": "品类id",
  11988. "type": "integer"
  11989. },
  11990. "wrstandardname": {
  11991. "description": "品类名称",
  11992. "type": "string"
  11993. }
  11994. }
  11995. },
  11996. "ermcp.QryBussinessJsRsp": {
  11997. "type": "object",
  11998. "properties": {
  11999. "addmargin": {
  12000. "description": "追加保证金(非必填)",
  12001. "type": "number"
  12002. },
  12003. "applyid": {
  12004. "description": "申请人",
  12005. "type": "string"
  12006. },
  12007. "applyname": {
  12008. "description": "申请人名称",
  12009. "type": "string"
  12010. },
  12011. "applystatus": {
  12012. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  12013. "type": "integer"
  12014. },
  12015. "applytime": {
  12016. "description": "申请时间",
  12017. "type": "string"
  12018. },
  12019. "attachurl": {
  12020. "description": "附件",
  12021. "type": "string"
  12022. },
  12023. "auditid": {
  12024. "description": "审核人ID",
  12025. "type": "string"
  12026. },
  12027. "auditname": {
  12028. "description": "审核人名称",
  12029. "type": "string"
  12030. },
  12031. "audittime": {
  12032. "description": "审核时间",
  12033. "type": "string"
  12034. },
  12035. "buyusername": {
  12036. "description": "采购方名称",
  12037. "type": "string"
  12038. },
  12039. "contractno": {
  12040. "description": "合同编号",
  12041. "type": "string"
  12042. },
  12043. "contractstatus": {
  12044. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  12045. "type": "integer"
  12046. },
  12047. "contracttype": {
  12048. "description": "现货合同类型 - 1:采购 -1:销售",
  12049. "type": "integer"
  12050. },
  12051. "decmargin": {
  12052. "description": "减少保证金(非必填)",
  12053. "type": "number"
  12054. },
  12055. "deliverygoodscode": {
  12056. "description": "现货品种代码",
  12057. "type": "string"
  12058. },
  12059. "deliverygoodsid": {
  12060. "description": "现货商品ID",
  12061. "type": "integer"
  12062. },
  12063. "deliverygoodsname": {
  12064. "description": "现货品种名称",
  12065. "type": "string"
  12066. },
  12067. "enumdicname": {
  12068. "description": "单位名称",
  12069. "type": "string"
  12070. },
  12071. "goodscode": {
  12072. "description": "点价合约",
  12073. "type": "string"
  12074. },
  12075. "goodsname": {
  12076. "description": "商品名称",
  12077. "type": "string"
  12078. },
  12079. "operateapplyid": {
  12080. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  12081. "type": "string"
  12082. },
  12083. "operateapplytype": {
  12084. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  12085. "type": "integer"
  12086. },
  12087. "pricemove": {
  12088. "description": "升贴水",
  12089. "type": "number"
  12090. },
  12091. "pricetype": {
  12092. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  12093. "type": "integer"
  12094. },
  12095. "reckonadjustamount": {
  12096. "description": "结算调整金额(非必填)",
  12097. "type": "number"
  12098. },
  12099. "reckonosamount": {
  12100. "description": "结算溢短金额(非必填)",
  12101. "type": "number"
  12102. },
  12103. "reckonotheramount": {
  12104. "description": "结算其他费用(非必填)",
  12105. "type": "number"
  12106. },
  12107. "reckonrealqty": {
  12108. "description": "结算实际数量(非必填)",
  12109. "type": "number"
  12110. },
  12111. "relatedid": {
  12112. "description": "现货合同ID",
  12113. "type": "string"
  12114. },
  12115. "sellusername": {
  12116. "description": "销售方名字",
  12117. "type": "string"
  12118. },
  12119. "userid": {
  12120. "description": "用户ID",
  12121. "type": "integer"
  12122. },
  12123. "wrstandardcode": {
  12124. "description": "品类代码",
  12125. "type": "string"
  12126. },
  12127. "wrstandardid": {
  12128. "description": "品类id",
  12129. "type": "integer"
  12130. },
  12131. "wrstandardname": {
  12132. "description": "品类名称",
  12133. "type": "string"
  12134. }
  12135. }
  12136. },
  12137. "ermcp.QryBussinessKxRsp": {
  12138. "type": "object",
  12139. "properties": {
  12140. "applyid": {
  12141. "description": "申请人",
  12142. "type": "string"
  12143. },
  12144. "applyname": {
  12145. "description": "申请人名称",
  12146. "type": "string"
  12147. },
  12148. "applystatus": {
  12149. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  12150. "type": "integer"
  12151. },
  12152. "applytime": {
  12153. "description": "申请时间",
  12154. "type": "string"
  12155. },
  12156. "attachurl": {
  12157. "description": "附件",
  12158. "type": "string"
  12159. },
  12160. "auditid": {
  12161. "description": "审核人ID",
  12162. "type": "string"
  12163. },
  12164. "auditname": {
  12165. "description": "审核人名称",
  12166. "type": "string"
  12167. },
  12168. "audittime": {
  12169. "description": "审核时间",
  12170. "type": "string"
  12171. },
  12172. "buyusername": {
  12173. "description": "采购方名称",
  12174. "type": "string"
  12175. },
  12176. "contractno": {
  12177. "description": "合同编号",
  12178. "type": "string"
  12179. },
  12180. "contractstatus": {
  12181. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  12182. "type": "integer"
  12183. },
  12184. "contracttype": {
  12185. "description": "现货合同类型 - 1:采购 -1:销售",
  12186. "type": "integer"
  12187. },
  12188. "deductamount": {
  12189. "description": "退款(非必填)",
  12190. "type": "number"
  12191. },
  12192. "deliverygoodscode": {
  12193. "description": "现货品种代码",
  12194. "type": "string"
  12195. },
  12196. "deliverygoodsid": {
  12197. "description": "现货商品ID",
  12198. "type": "integer"
  12199. },
  12200. "deliverygoodsname": {
  12201. "description": "现货品种名称",
  12202. "type": "string"
  12203. },
  12204. "enumdicname": {
  12205. "description": "单位名称",
  12206. "type": "string"
  12207. },
  12208. "goodscode": {
  12209. "description": "点价合约",
  12210. "type": "string"
  12211. },
  12212. "goodsname": {
  12213. "description": "商品名称",
  12214. "type": "string"
  12215. },
  12216. "kxtype": {
  12217. "description": "款项类型 1-收付款(PayAmount字段有值) 2-退款(DeductAmount字段有值) 3-收付款/退款(2个字段都有)",
  12218. "type": "integer"
  12219. },
  12220. "operateapplyid": {
  12221. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  12222. "type": "string"
  12223. },
  12224. "operateapplytype": {
  12225. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  12226. "type": "integer"
  12227. },
  12228. "payamount": {
  12229. "description": "收付款(非必填)",
  12230. "type": "number"
  12231. },
  12232. "pricemove": {
  12233. "description": "升贴水",
  12234. "type": "number"
  12235. },
  12236. "pricetype": {
  12237. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  12238. "type": "integer"
  12239. },
  12240. "relatedid": {
  12241. "description": "现货合同ID",
  12242. "type": "string"
  12243. },
  12244. "sellusername": {
  12245. "description": "销售方名字",
  12246. "type": "string"
  12247. },
  12248. "userid": {
  12249. "description": "用户ID",
  12250. "type": "integer"
  12251. },
  12252. "wrstandardcode": {
  12253. "description": "品类代码",
  12254. "type": "string"
  12255. },
  12256. "wrstandardid": {
  12257. "description": "品类id",
  12258. "type": "integer"
  12259. },
  12260. "wrstandardname": {
  12261. "description": "品类名称",
  12262. "type": "string"
  12263. }
  12264. }
  12265. },
  12266. "ermcp.QryGGCovertCfgRsp": {
  12267. "$ref": "#/definitions/models.ErmcpGGConvertCfg"
  12268. },
  12269. "ermcp.QryMGChangeLogRsp": {
  12270. "$ref": "#/definitions/models.ErmcpMiddleGoodsChangeLog"
  12271. },
  12272. "ermcp.QryMiddleGoodsDetailRsp": {
  12273. "$ref": "#/definitions/models.ErmcpMiddleGoodsDetail"
  12274. },
  12275. "ermcp.QryMiddleGoodsRsp": {
  12276. "$ref": "#/definitions/models.ErmcpMiddleGoodsModel"
  12277. },
  12278. "ermcp.QryOPLogRsp": {
  12279. "$ref": "#/definitions/models.ErmcpOPLogModel"
  12280. },
  12281. "ermcp.QryUserInfoRsp": {
  12282. "$ref": "#/definitions/models.ErmcpUserModel"
  12283. },
  12284. "ermcp.QryWarehouseRsp": {
  12285. "$ref": "#/definitions/models.ErmcpWareHouseInfo"
  12286. },
  12287. "ermcp.QueryErmcpTradePositionRsp": {
  12288. "type": "object",
  12289. "properties": {
  12290. "agreeunit": {
  12291. "description": "合约单位",
  12292. "type": "number"
  12293. },
  12294. "buyorsell": {
  12295. "description": "方向 - 0:买 1:卖",
  12296. "type": "integer"
  12297. },
  12298. "curpositionqty": {
  12299. "description": "持仓(总仓数量, 期末头寸)",
  12300. "type": "integer"
  12301. },
  12302. "curtdposition": {
  12303. "description": "今仓数量(期末今日头寸)",
  12304. "type": "integer"
  12305. },
  12306. "curtdpositionenabled": {
  12307. "description": "今仓可用",
  12308. "type": "integer"
  12309. },
  12310. "decimalplace": {
  12311. "description": "报价小数位",
  12312. "type": "integer"
  12313. },
  12314. "enableqty": {
  12315. "description": "可用(总仓可用)",
  12316. "type": "integer"
  12317. },
  12318. "exexchangename": {
  12319. "description": "外部交易所名称",
  12320. "type": "string"
  12321. },
  12322. "goodscode": {
  12323. "description": "商品代码(内部)",
  12324. "type": "string"
  12325. },
  12326. "goodsid": {
  12327. "description": "商品ID(自增ID SEQ_GOODS)",
  12328. "type": "integer"
  12329. },
  12330. "goodsname": {
  12331. "description": "商品名称",
  12332. "type": "string"
  12333. },
  12334. "last": {
  12335. "description": "现价",
  12336. "type": "number"
  12337. },
  12338. "marketid": {
  12339. "description": "所属市场ID",
  12340. "type": "integer"
  12341. },
  12342. "openaverageprice": {
  12343. "description": "开仓均价【头寸变化更新】 = 开仓成本 / 期末头寸 / 合约单位",
  12344. "type": "number"
  12345. },
  12346. "opencost": {
  12347. "description": "开仓成本",
  12348. "type": "number"
  12349. },
  12350. "openpl": {
  12351. "description": "逐笔浮盈【实时行情更新】(MTP:开仓盈亏、平仓盈亏) 买方向 = (最新价 - 开仓均价) * 买期末头寸 * 合约单位;卖方向 = (开仓均价 - 最新价) * 卖期末头寸 * 合约单位",
  12352. "type": "number"
  12353. },
  12354. "outgoodscode": {
  12355. "description": "商品代码(外部)",
  12356. "type": "string"
  12357. },
  12358. "positionaverageprice": {
  12359. "description": "持仓均价【头寸变化更新】= 持仓成本 / 期末头寸 / 合约单位",
  12360. "type": "number"
  12361. },
  12362. "positioncost": {
  12363. "description": "持仓成本",
  12364. "type": "number"
  12365. },
  12366. "positionpl": {
  12367. "description": "盯市浮盈【实时行情更新】(MTP:浮动盈亏、持仓盈亏) 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向 = (持仓均价 - 最新价) * 卖期末头寸 * 合约单位",
  12368. "type": "number"
  12369. },
  12370. "positionplrate": {
  12371. "description": "持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本",
  12372. "type": "number"
  12373. },
  12374. "usedmargin": {
  12375. "description": "占用保证金",
  12376. "type": "number"
  12377. }
  12378. }
  12379. },
  12380. "ermcp.RealtimeExposurePositionRsp": {
  12381. "$ref": "#/definitions/models.ErmcpExposurePostion"
  12382. },
  12383. "ermcp.RealtimeExposureRsp": {
  12384. "$ref": "#/definitions/models.ErmcpRealExposureModel"
  12385. },
  12386. "erms2.QueryArbitrageStrategyRsp": {
  12387. "type": "object",
  12388. "required": [
  12389. "asapplyid"
  12390. ],
  12391. "properties": {
  12392. "applybasis": {
  12393. "description": "申请基差",
  12394. "type": "number"
  12395. },
  12396. "asapplyid": {
  12397. "description": "策略申请ID(702+Unix秒时间戳(10位)+xxxxxx)",
  12398. "type": "string"
  12399. },
  12400. "asname": {
  12401. "description": "策略名称",
  12402. "type": "string"
  12403. },
  12404. "asno": {
  12405. "description": "策略编号",
  12406. "type": "string"
  12407. },
  12408. "basischangepl": {
  12409. "description": "基差变动损益[结算更新]",
  12410. "type": "number"
  12411. },
  12412. "biztype": {
  12413. "description": "业务类型 - 1:正向套利 -1:反向套利",
  12414. "type": "integer"
  12415. },
  12416. "closetradedate": {
  12417. "description": "完结交易日(yyyyMMdd)",
  12418. "type": "string"
  12419. },
  12420. "curbasis": {
  12421. "description": "当前基差[结算更新]",
  12422. "type": "number"
  12423. },
  12424. "deliverygoodsid": {
  12425. "description": "现货品种ID",
  12426. "type": "integer"
  12427. },
  12428. "futureavgprice": {
  12429. "description": "期货建仓均价",
  12430. "type": "number"
  12431. },
  12432. "futurecloseamount": {
  12433. "description": "期货平仓金额",
  12434. "type": "number"
  12435. },
  12436. "futurecloseqty": {
  12437. "description": "期货平仓数量",
  12438. "type": "number"
  12439. },
  12440. "futureopenamount": {
  12441. "description": "期货开仓金额",
  12442. "type": "number"
  12443. },
  12444. "futureopenqty": {
  12445. "description": "期货开仓数量",
  12446. "type": "number"
  12447. },
  12448. "futurepl": {
  12449. "description": "期货总盈亏[结算更新]",
  12450. "type": "number"
  12451. },
  12452. "futureqty": {
  12453. "description": "期货持仓数量",
  12454. "type": "number"
  12455. },
  12456. "futurequote": {
  12457. "description": "期货额度",
  12458. "type": "number"
  12459. },
  12460. "goodsgroupid": {
  12461. "description": "期货品种ID",
  12462. "type": "integer"
  12463. },
  12464. "marketid": {
  12465. "description": "市场ID",
  12466. "type": "integer"
  12467. },
  12468. "netexposure": {
  12469. "description": "单笔业务头寸净敞口 = 期货持仓数量 + 已定价现货不含税数量",
  12470. "type": "number"
  12471. },
  12472. "netexposurepl": {
  12473. "description": "净敞口损益 = TotalPL - BasisChangePL[结算更新]",
  12474. "type": "number"
  12475. },
  12476. "netexposurerate": {
  12477. "description": "净敞口比例 - 0:未结束 = (NetExposure/PriceSpotQtyNoTax) ; 已结束为0",
  12478. "type": "number"
  12479. },
  12480. "openbasis": {
  12481. "description": "建仓基差",
  12482. "type": "number"
  12483. },
  12484. "pricedspotqty": {
  12485. "description": "已定价现货数量",
  12486. "type": "number"
  12487. },
  12488. "pricedspotqtynotax": {
  12489. "description": "已定价现货不含税数量",
  12490. "type": "number"
  12491. },
  12492. "remark": {
  12493. "description": "备注",
  12494. "type": "string"
  12495. },
  12496. "spotavgprice": {
  12497. "description": "现货均价",
  12498. "type": "number"
  12499. },
  12500. "spotbuyamount": {
  12501. "description": "现货采购金额",
  12502. "type": "number"
  12503. },
  12504. "spotbuyqty": {
  12505. "description": "现货采购数量",
  12506. "type": "number"
  12507. },
  12508. "spotpl": {
  12509. "description": "现货总盈亏[结算更新]",
  12510. "type": "number"
  12511. },
  12512. "spotquota": {
  12513. "description": "现货额度",
  12514. "type": "number"
  12515. },
  12516. "spotsellamount": {
  12517. "description": "现货销售金额",
  12518. "type": "number"
  12519. },
  12520. "spotsellqty": {
  12521. "description": "现货销售数量",
  12522. "type": "number"
  12523. },
  12524. "spotusedquota": {
  12525. "description": "现货占用资金",
  12526. "type": "number"
  12527. },
  12528. "strategystatus": {
  12529. "description": "策略状态 - 0:未结束 1:已结束",
  12530. "type": "integer"
  12531. },
  12532. "totalpl": {
  12533. "description": "业务合计损益 = FuturePL + SpotPL [结算更新]",
  12534. "type": "number"
  12535. },
  12536. "tradedate": {
  12537. "description": "交易日(yyyyMMdd)",
  12538. "type": "string"
  12539. },
  12540. "updatetime": {
  12541. "description": "更新时间",
  12542. "type": "string"
  12543. },
  12544. "usedquota": {
  12545. "description": "已占用资金",
  12546. "type": "number"
  12547. },
  12548. "userid": {
  12549. "description": "所属机构",
  12550. "type": "integer"
  12551. }
  12552. }
  12553. },
  12554. "erms2.QueryInnerTradeDetailRsp": {
  12555. "type": "object",
  12556. "required": [
  12557. "asapplyid",
  12558. "buyorsell",
  12559. "goodscode",
  12560. "goodsgroupid",
  12561. "goodsgroupname",
  12562. "goodsname",
  12563. "tradeid"
  12564. ],
  12565. "properties": {
  12566. "accountid": {
  12567. "description": "账号ID",
  12568. "type": "integer"
  12569. },
  12570. "agreeunit": {
  12571. "description": "合约单位",
  12572. "type": "number"
  12573. },
  12574. "asapplyid": {
  12575. "description": "策略申请ID",
  12576. "type": "integer"
  12577. },
  12578. "asname": {
  12579. "description": "策略名称",
  12580. "type": "string"
  12581. },
  12582. "asno": {
  12583. "description": "策略编号",
  12584. "type": "string"
  12585. },
  12586. "buyorsell": {
  12587. "description": "方向 - 0:买 1:卖",
  12588. "type": "integer"
  12589. },
  12590. "channelbuildtype": {
  12591. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  12592. "type": "integer"
  12593. },
  12594. "closetype": {
  12595. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  12596. "type": "integer"
  12597. },
  12598. "decimalplace": {
  12599. "description": "报价小数位",
  12600. "type": "integer"
  12601. },
  12602. "detailtype": {
  12603. "description": "明细类型 - 1:套利对冲 2:期货换月 3:期货仓位调整",
  12604. "type": "integer"
  12605. },
  12606. "exexchangecode": {
  12607. "description": "外部交易所代码",
  12608. "type": "string"
  12609. },
  12610. "exexchangename": {
  12611. "description": "外部交易所名称",
  12612. "type": "string"
  12613. },
  12614. "goodscode": {
  12615. "description": "商品代码(合约)",
  12616. "type": "string"
  12617. },
  12618. "goodsgroupid": {
  12619. "description": "商品组ID(品种ID)",
  12620. "type": "integer"
  12621. },
  12622. "goodsgroupname": {
  12623. "description": "商品组名称(品种)",
  12624. "type": "string"
  12625. },
  12626. "goodsid": {
  12627. "description": "商品ID",
  12628. "type": "integer"
  12629. },
  12630. "goodsname": {
  12631. "description": "商品名称(合约)",
  12632. "type": "string"
  12633. },
  12634. "goodunit": {
  12635. "description": "报价单位",
  12636. "type": "string"
  12637. },
  12638. "marketid": {
  12639. "description": "市场ID",
  12640. "type": "integer"
  12641. },
  12642. "orderid": {
  12643. "description": "委托单号",
  12644. "type": "string"
  12645. },
  12646. "outgoodscode": {
  12647. "description": "商品代码(外部)",
  12648. "type": "string"
  12649. },
  12650. "relatedouttradeid": {
  12651. "description": "关联外部成交单ID",
  12652. "type": "string"
  12653. },
  12654. "remark": {
  12655. "description": "备注",
  12656. "type": "string"
  12657. },
  12658. "spotcontractid": {
  12659. "description": "现货合同ID [1:套利对冲 为合同ID,2:期货换月\\3:期货仓位调整时为0]",
  12660. "type": "integer"
  12661. },
  12662. "spotcontractno": {
  12663. "description": "现货合同编号",
  12664. "type": "string"
  12665. },
  12666. "tradeid": {
  12667. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  12668. "type": "string"
  12669. },
  12670. "tradeprice": {
  12671. "description": "成交价格",
  12672. "type": "number"
  12673. },
  12674. "tradeqty": {
  12675. "description": "成交数量",
  12676. "type": "integer"
  12677. },
  12678. "tradetime": {
  12679. "description": "成交时间",
  12680. "type": "string"
  12681. },
  12682. "updatetime": {
  12683. "description": "更新时间",
  12684. "type": "string"
  12685. }
  12686. }
  12687. },
  12688. "erms2.QuerySpotContractRsp": {
  12689. "type": "object",
  12690. "required": [
  12691. "spotcontractid"
  12692. ],
  12693. "properties": {
  12694. "accountid": {
  12695. "description": "资金账户ID",
  12696. "type": "integer"
  12697. },
  12698. "areauserid": {
  12699. "description": "所属机构",
  12700. "type": "integer"
  12701. },
  12702. "closedate": {
  12703. "description": "终止日期",
  12704. "type": "string"
  12705. },
  12706. "closeremark": {
  12707. "description": "结束备注",
  12708. "type": "string"
  12709. },
  12710. "closetradedate": {
  12711. "description": "完结交易日(yyyyMMdd)",
  12712. "type": "string"
  12713. },
  12714. "closetype": {
  12715. "description": "终止类型 - 1:违约 2:提前终止",
  12716. "type": "integer"
  12717. },
  12718. "contractamount": {
  12719. "description": "合同金额",
  12720. "type": "number"
  12721. },
  12722. "contractattachment": {
  12723. "description": "合同附件",
  12724. "type": "string"
  12725. },
  12726. "contractno": {
  12727. "description": "现货合同编号",
  12728. "type": "string"
  12729. },
  12730. "contractqty": {
  12731. "description": "合同数量(数值) (用于计算)",
  12732. "type": "number"
  12733. },
  12734. "contractqtychar": {
  12735. "description": "合同数量\\已订价数量 (用于显示)",
  12736. "type": "string"
  12737. },
  12738. "contractstatus": {
  12739. "description": "合同状态 - 0:未结束 1:已结束",
  12740. "type": "integer"
  12741. },
  12742. "contracttype": {
  12743. "description": "现货合同类型 - 1:采购合同 -1:销售合同",
  12744. "type": "integer"
  12745. },
  12746. "customeraccountid": {
  12747. "description": "客户资金账户ID",
  12748. "type": "integer"
  12749. },
  12750. "customeruserid": {
  12751. "description": "客户ID",
  12752. "type": "integer"
  12753. },
  12754. "deliverygoodsdesc": {
  12755. "description": "品种说明",
  12756. "type": "string"
  12757. },
  12758. "deliverygoodsid": {
  12759. "description": "现货品种ID",
  12760. "type": "integer"
  12761. },
  12762. "handlestatus": {
  12763. "description": "处理状态",
  12764. "type": "integer"
  12765. },
  12766. "invoiceatt": {
  12767. "description": "发票附件",
  12768. "type": "string"
  12769. },
  12770. "invoicedatetime": {
  12771. "description": "开收票更新时间",
  12772. "type": "string"
  12773. },
  12774. "invoiceopentime": {
  12775. "description": "开票时间",
  12776. "type": "string"
  12777. },
  12778. "invoiceremark": {
  12779. "description": "发票备注",
  12780. "type": "string"
  12781. },
  12782. "invoicestatus": {
  12783. "description": "开收票状态 - 0:未开票 1:已开票",
  12784. "type": "integer"
  12785. },
  12786. "lastdate": {
  12787. "description": "交货时间",
  12788. "type": "string"
  12789. },
  12790. "marketid": {
  12791. "description": "市场ID",
  12792. "type": "integer"
  12793. },
  12794. "paydatetime": {
  12795. "description": "收付款更新时间",
  12796. "type": "string"
  12797. },
  12798. "payremark": {
  12799. "description": "收付款备注",
  12800. "type": "string"
  12801. },
  12802. "paystatus": {
  12803. "description": "收付款状态 - 0:未支付 1:已收款 2:已付款",
  12804. "type": "integer"
  12805. },
  12806. "positionqty": {
  12807. "description": "头寸数量 - 合同数量去小数部分",
  12808. "type": "integer"
  12809. },
  12810. "producttype": {
  12811. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  12812. "type": "integer"
  12813. },
  12814. "relatedqty": {
  12815. "description": "已关联数量",
  12816. "type": "number"
  12817. },
  12818. "relatedstatus": {
  12819. "description": "关联完结状态 - 0:未结束 1:已结束",
  12820. "type": "integer"
  12821. },
  12822. "remark": {
  12823. "description": "备注",
  12824. "type": "string"
  12825. },
  12826. "signdate": {
  12827. "description": "签订日期",
  12828. "type": "string"
  12829. },
  12830. "spotcontractid": {
  12831. "description": "现货合同ID(701+Unix秒时间戳(10位)+xxxxxx)",
  12832. "type": "string"
  12833. },
  12834. "spotdatetime": {
  12835. "description": "收发货更新时间",
  12836. "type": "string"
  12837. },
  12838. "spotprice": {
  12839. "description": "价格",
  12840. "type": "number"
  12841. },
  12842. "spotremark": {
  12843. "description": "收发货备注",
  12844. "type": "string"
  12845. },
  12846. "spotstatus": {
  12847. "description": "收发货状态 - 0:未交收 1:已发货 2:已发货",
  12848. "type": "integer"
  12849. },
  12850. "tradedate": {
  12851. "description": "交易日(yyyyMMdd)",
  12852. "type": "string"
  12853. },
  12854. "userid": {
  12855. "description": "业务员用户ID",
  12856. "type": "integer"
  12857. },
  12858. "warehouseid": {
  12859. "description": "仓库ID",
  12860. "type": "integer"
  12861. },
  12862. "wrfactortypeid": {
  12863. "description": "仓单要素类型ID",
  12864. "type": "integer"
  12865. },
  12866. "wrstandardid": {
  12867. "description": "仓单标准ID(SEQ_WRSTANDARD)",
  12868. "type": "integer"
  12869. }
  12870. }
  12871. },
  12872. "erms3.AddErms2ASApplyReq": {
  12873. "type": "object",
  12874. "required": [
  12875. "asapplyid"
  12876. ],
  12877. "properties": {
  12878. "applybasis": {
  12879. "description": "申请基差",
  12880. "type": "number"
  12881. },
  12882. "applystatus": {
  12883. "description": "申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  12884. "type": "integer"
  12885. },
  12886. "asapplyid": {
  12887. "description": "策略申请ID(342+Unix秒时间戳(10位)+xxxxxx)",
  12888. "type": "integer"
  12889. },
  12890. "asname": {
  12891. "description": "策略名称",
  12892. "type": "string"
  12893. },
  12894. "asno": {
  12895. "description": "策略编号",
  12896. "type": "string"
  12897. },
  12898. "auditid": {
  12899. "description": "审核人",
  12900. "type": "integer"
  12901. },
  12902. "auditremark": {
  12903. "description": "审核备注",
  12904. "type": "string"
  12905. },
  12906. "audittime": {
  12907. "description": "审核时间",
  12908. "type": "string"
  12909. },
  12910. "biztype": {
  12911. "description": "业务类型 - 1:正向套利 2:反向套利",
  12912. "type": "integer"
  12913. },
  12914. "createtime": {
  12915. "description": "创建时间",
  12916. "type": "string"
  12917. },
  12918. "creatorid": {
  12919. "description": "创建人",
  12920. "type": "integer"
  12921. },
  12922. "deliverygoodsid": {
  12923. "description": "现货品种ID",
  12924. "type": "integer"
  12925. },
  12926. "futurequote": {
  12927. "description": "期货额度",
  12928. "type": "number"
  12929. },
  12930. "goodsgroupid": {
  12931. "description": "期货品种ID",
  12932. "type": "integer"
  12933. },
  12934. "marketid": {
  12935. "description": "市场ID",
  12936. "type": "integer"
  12937. },
  12938. "remark": {
  12939. "description": "备注",
  12940. "type": "string"
  12941. },
  12942. "spotquota": {
  12943. "description": "现货额度",
  12944. "type": "number"
  12945. },
  12946. "tradedate": {
  12947. "description": "交易日(yyyyMMdd)",
  12948. "type": "string"
  12949. },
  12950. "userid": {
  12951. "description": "所属机构",
  12952. "type": "integer"
  12953. }
  12954. }
  12955. },
  12956. "erms3.AddErms2SpotTradeApplyReq": {
  12957. "type": "object",
  12958. "required": [
  12959. "spottradeid"
  12960. ],
  12961. "properties": {
  12962. "applyjsondetail": {
  12963. "description": "申请明细(JSON)",
  12964. "type": "string"
  12965. },
  12966. "applystatus": {
  12967. "description": "申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  12968. "type": "integer"
  12969. },
  12970. "areauserid": {
  12971. "description": "所属机构",
  12972. "type": "integer"
  12973. },
  12974. "auditid": {
  12975. "description": "审核人",
  12976. "type": "integer"
  12977. },
  12978. "auditremark": {
  12979. "description": "审核备注",
  12980. "type": "string"
  12981. },
  12982. "audittime": {
  12983. "description": "审核时间",
  12984. "type": "string"
  12985. },
  12986. "createtime": {
  12987. "description": "创建时间",
  12988. "type": "string"
  12989. },
  12990. "creatorid": {
  12991. "description": "创建人",
  12992. "type": "integer"
  12993. },
  12994. "deliverygoodsid": {
  12995. "description": "现货品种ID",
  12996. "type": "integer"
  12997. },
  12998. "futureaccountid": {
  12999. "description": "期货资金账户",
  13000. "type": "integer"
  13001. },
  13002. "goodsgroupid": {
  13003. "description": "期货品种",
  13004. "type": "integer"
  13005. },
  13006. "marketid": {
  13007. "description": "市场ID",
  13008. "type": "integer"
  13009. },
  13010. "remark": {
  13011. "description": "备注",
  13012. "type": "string"
  13013. },
  13014. "spotaccountid": {
  13015. "description": "现货资金账户",
  13016. "type": "integer"
  13017. },
  13018. "spottradeid": {
  13019. "description": "业务ID(341+Unix秒时间戳(10位)+xxxxxx)",
  13020. "type": "integer"
  13021. },
  13022. "spottradename": {
  13023. "description": "业务名称",
  13024. "type": "string"
  13025. },
  13026. "spottradeno": {
  13027. "description": "业务编号",
  13028. "type": "string"
  13029. },
  13030. "tradedate": {
  13031. "description": "交易日(yyyyMMdd)",
  13032. "type": "string"
  13033. },
  13034. "wrstandardid": {
  13035. "description": "仓单标准ID",
  13036. "type": "integer"
  13037. }
  13038. }
  13039. },
  13040. "erms3.AddSpotContractApplyReq": {
  13041. "type": "object",
  13042. "required": [
  13043. "accountid",
  13044. "areauserid",
  13045. "contractno",
  13046. "contracttype",
  13047. "customeraccountid",
  13048. "customeruserid",
  13049. "details",
  13050. "orimargin",
  13051. "signdate"
  13052. ],
  13053. "properties": {
  13054. "accountid": {
  13055. "description": "资金账户ID",
  13056. "type": "integer"
  13057. },
  13058. "areauserid": {
  13059. "description": "所属机构",
  13060. "type": "integer"
  13061. },
  13062. "contractattachment": {
  13063. "description": "合同附件",
  13064. "type": "string"
  13065. },
  13066. "contractno": {
  13067. "description": "现货合同编号",
  13068. "type": "string"
  13069. },
  13070. "contracttype": {
  13071. "description": "现货合同类型 - 1:采购 -1:销售",
  13072. "type": "integer"
  13073. },
  13074. "creatorid": {
  13075. "description": "申请人",
  13076. "type": "integer"
  13077. },
  13078. "customeraccountid": {
  13079. "description": "客户资金账户ID",
  13080. "type": "integer"
  13081. },
  13082. "customeruserid": {
  13083. "description": "客户ID",
  13084. "type": "integer"
  13085. },
  13086. "details": {
  13087. "description": "明细",
  13088. "type": "array",
  13089. "items": {
  13090. "$ref": "#/definitions/erms3.SoptContractDetail"
  13091. }
  13092. },
  13093. "orimargin": {
  13094. "description": "初始保证金",
  13095. "type": "number"
  13096. },
  13097. "remark": {
  13098. "description": "备注",
  13099. "type": "string"
  13100. },
  13101. "signdate": {
  13102. "description": "签订日期",
  13103. "type": "string"
  13104. }
  13105. }
  13106. },
  13107. "erms3.AddSpotContractApplyRsp": {
  13108. "type": "object",
  13109. "required": [
  13110. "contractno"
  13111. ],
  13112. "properties": {
  13113. "contractno": {
  13114. "description": "现货合同编号",
  13115. "type": "string"
  13116. },
  13117. "spotcontractid": {
  13118. "description": "现货合同ID(345+Unix秒时间戳(10位)+xxxxxx)",
  13119. "type": "integer"
  13120. }
  13121. }
  13122. },
  13123. "erms3.AddUserInfoApplyReq": {
  13124. "type": "object",
  13125. "required": [
  13126. "userid"
  13127. ],
  13128. "properties": {
  13129. "accountid": {
  13130. "description": "交易系统帐号Id (加密存储)",
  13131. "type": "integer"
  13132. },
  13133. "areacode": {
  13134. "description": "机构代码",
  13135. "type": "string"
  13136. },
  13137. "areaid": {
  13138. "description": "机构Id",
  13139. "type": "integer"
  13140. },
  13141. "attachment1": {
  13142. "description": "附件1",
  13143. "type": "string"
  13144. },
  13145. "attachment2": {
  13146. "description": "附件2",
  13147. "type": "string"
  13148. },
  13149. "attachment3": {
  13150. "description": "附件3",
  13151. "type": "string"
  13152. },
  13153. "attachment4": {
  13154. "description": "附件4",
  13155. "type": "string"
  13156. },
  13157. "attachment5": {
  13158. "description": "附件5",
  13159. "type": "string"
  13160. },
  13161. "auditedby": {
  13162. "description": "审核人",
  13163. "type": "string"
  13164. },
  13165. "auditime": {
  13166. "description": "审核时间",
  13167. "type": "string"
  13168. },
  13169. "auditsrc": {
  13170. "description": "审核来源 - 1:管理端 2:终端",
  13171. "type": "integer"
  13172. },
  13173. "bankaccount": {
  13174. "description": "银行帐号 (加密存储)",
  13175. "type": "string"
  13176. },
  13177. "bankaccountname": {
  13178. "description": "收款人名称",
  13179. "type": "string"
  13180. },
  13181. "bankcardbackphotourl": {
  13182. "description": "银行卡背面照地址",
  13183. "type": "string"
  13184. },
  13185. "bankcardfrontphotourl": {
  13186. "description": "银行卡正面照地址",
  13187. "type": "string"
  13188. },
  13189. "bankid": {
  13190. "description": "银行编码",
  13191. "type": "string"
  13192. },
  13193. "bankname": {
  13194. "description": "银行名称",
  13195. "type": "string"
  13196. },
  13197. "bankpictureurl": {
  13198. "description": "银行卡正面地址",
  13199. "type": "string"
  13200. },
  13201. "biznature": {
  13202. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  13203. "type": "integer"
  13204. },
  13205. "bizscope": {
  13206. "description": "企业经营范围(企业)",
  13207. "type": "string"
  13208. },
  13209. "biztype": {
  13210. "description": "企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储",
  13211. "type": "integer"
  13212. },
  13213. "brokerid": {
  13214. "description": "经纪人ID(加密存储)",
  13215. "type": "string"
  13216. },
  13217. "cardaddress": {
  13218. "description": "证件地址 (加密存储)",
  13219. "type": "string"
  13220. },
  13221. "cardbackphotourl": {
  13222. "description": "背面证件照地址",
  13223. "type": "string"
  13224. },
  13225. "cardfrontphotourl": {
  13226. "description": "正面证件照地址",
  13227. "type": "string"
  13228. },
  13229. "cardnum": {
  13230. "description": "证件号码 (加密存储)",
  13231. "type": "string"
  13232. },
  13233. "cardtype": {
  13234. "description": "证件类型",
  13235. "type": "integer"
  13236. },
  13237. "cityid": {
  13238. "description": "市",
  13239. "type": "integer"
  13240. },
  13241. "company": {
  13242. "description": "公司(个人)",
  13243. "type": "string"
  13244. },
  13245. "contactcardbackphotourl": {
  13246. "description": "联系人证件背面图片地址",
  13247. "type": "string"
  13248. },
  13249. "contactcardfrontphotourl": {
  13250. "description": "联系人证件正面图片地址",
  13251. "type": "string"
  13252. },
  13253. "contactname": {
  13254. "description": "联系人",
  13255. "type": "string"
  13256. },
  13257. "countryid": {
  13258. "description": "国家",
  13259. "type": "integer"
  13260. },
  13261. "createtime": {
  13262. "description": "开户申请时间",
  13263. "type": "string"
  13264. },
  13265. "cusbankid": {
  13266. "description": "签约类型",
  13267. "type": "string"
  13268. },
  13269. "cusbankname": {
  13270. "description": "签约类型名称",
  13271. "type": "string"
  13272. },
  13273. "customername": {
  13274. "description": "客户名称(企业名称)",
  13275. "type": "string"
  13276. },
  13277. "districtid": {
  13278. "description": "地区",
  13279. "type": "integer"
  13280. },
  13281. "email": {
  13282. "description": "Email地址(加密存储)",
  13283. "type": "string"
  13284. },
  13285. "halfbodyphotourl": {
  13286. "description": "半身照地址",
  13287. "type": "string"
  13288. },
  13289. "headurl": {
  13290. "description": "头像地址",
  13291. "type": "string"
  13292. },
  13293. "ipaddress": {
  13294. "description": "IP地址",
  13295. "type": "string"
  13296. },
  13297. "isvalidate": {
  13298. "description": "是否有效 (删除后标记为失效) - 0:无效 1:有效",
  13299. "type": "string"
  13300. },
  13301. "legalcardbackphotourl": {
  13302. "description": "法人身份证背面照地址",
  13303. "type": "string"
  13304. },
  13305. "legalcardfrontphotourl": {
  13306. "description": "法人身份证正面照地址",
  13307. "type": "string"
  13308. },
  13309. "legalpersonname": {
  13310. "description": "法人姓名(企业)",
  13311. "type": "string"
  13312. },
  13313. "logincode": {
  13314. "description": "登录帐号 (加密存储)",
  13315. "type": "string"
  13316. },
  13317. "memberareaid": {
  13318. "description": "所属会员ID",
  13319. "type": "integer"
  13320. },
  13321. "mobile2": {
  13322. "description": "手机号码[明文-尚志]",
  13323. "type": "string"
  13324. },
  13325. "mobilephone": {
  13326. "description": "手机号码 (加密存储)",
  13327. "type": "string"
  13328. },
  13329. "modifiedby": {
  13330. "description": "修改人帐号",
  13331. "type": "integer"
  13332. },
  13333. "modifiedtime": {
  13334. "description": "修改时间",
  13335. "type": "string"
  13336. },
  13337. "nickname": {
  13338. "description": "昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)",
  13339. "type": "string"
  13340. },
  13341. "openmode": {
  13342. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)",
  13343. "type": "integer"
  13344. },
  13345. "otherurl": {
  13346. "description": "其它图片地址[使用分号分隔]",
  13347. "type": "string"
  13348. },
  13349. "postalcode": {
  13350. "description": "邮政编码",
  13351. "type": "string"
  13352. },
  13353. "provinceid": {
  13354. "description": "省",
  13355. "type": "integer"
  13356. },
  13357. "proxystatementurl": {
  13358. "description": "授权委托书",
  13359. "type": "string"
  13360. },
  13361. "qq": {
  13362. "description": "QQ(加密存储",
  13363. "type": "string"
  13364. },
  13365. "referral": {
  13366. "description": "推荐人编码",
  13367. "type": "string"
  13368. },
  13369. "remark": {
  13370. "description": "备注",
  13371. "type": "string"
  13372. },
  13373. "removebeforestatus": {
  13374. "description": "REMOVEBEFORESTATUS",
  13375. "type": "integer"
  13376. },
  13377. "sex": {
  13378. "description": "性别 - 0:女 1:男",
  13379. "type": "integer"
  13380. },
  13381. "signedstatus": {
  13382. "description": "账户一号签签约状态",
  13383. "type": "integer"
  13384. },
  13385. "signpdfurl": {
  13386. "description": "签约pdf文件",
  13387. "type": "string"
  13388. },
  13389. "subbranch": {
  13390. "description": "开户支行",
  13391. "type": "string"
  13392. },
  13393. "taxpayernum": {
  13394. "description": "纳税人识别号",
  13395. "type": "string"
  13396. },
  13397. "telphone": {
  13398. "description": "联系电话(加密存储)",
  13399. "type": "string"
  13400. },
  13401. "userid": {
  13402. "description": "用户ID(自增ID)SEQ_WSKH_USERINFO",
  13403. "type": "integer"
  13404. },
  13405. "userinfotype": {
  13406. "description": "用户信息类型 - 1:个人 2:企业",
  13407. "type": "integer"
  13408. },
  13409. "username": {
  13410. "description": "用户姓名",
  13411. "type": "string"
  13412. },
  13413. "userstate": {
  13414. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  13415. "type": "integer"
  13416. },
  13417. "usertype": {
  13418. "description": "用户类型 - 1:投资者 2:机构",
  13419. "type": "integer"
  13420. },
  13421. "videourl": {
  13422. "description": "视频地址",
  13423. "type": "string"
  13424. },
  13425. "wechat": {
  13426. "description": "微信号 (加密存储)",
  13427. "type": "string"
  13428. }
  13429. }
  13430. },
  13431. "erms3.CustomerInfo": {
  13432. "type": "object",
  13433. "required": [
  13434. "userid"
  13435. ],
  13436. "properties": {
  13437. "accountids": {
  13438. "description": "资金账户ID列表",
  13439. "type": "array",
  13440. "items": {
  13441. "type": "integer"
  13442. }
  13443. },
  13444. "customername": {
  13445. "description": "名称(企业名称)",
  13446. "type": "string"
  13447. },
  13448. "mobile": {
  13449. "description": "手机号码",
  13450. "type": "string"
  13451. },
  13452. "userid": {
  13453. "description": "用户ID",
  13454. "type": "integer"
  13455. }
  13456. }
  13457. },
  13458. "erms3.ModifyUserInfoApplyReq": {
  13459. "type": "object",
  13460. "required": [
  13461. "userid"
  13462. ],
  13463. "properties": {
  13464. "accountid": {
  13465. "description": "交易系统帐号Id (加密存储)",
  13466. "type": "integer"
  13467. },
  13468. "areacode": {
  13469. "description": "机构代码",
  13470. "type": "string"
  13471. },
  13472. "areaid": {
  13473. "description": "机构Id",
  13474. "type": "integer"
  13475. },
  13476. "attachment1": {
  13477. "description": "附件1",
  13478. "type": "string"
  13479. },
  13480. "attachment2": {
  13481. "description": "附件2",
  13482. "type": "string"
  13483. },
  13484. "attachment3": {
  13485. "description": "附件3",
  13486. "type": "string"
  13487. },
  13488. "attachment4": {
  13489. "description": "附件4",
  13490. "type": "string"
  13491. },
  13492. "attachment5": {
  13493. "description": "附件5",
  13494. "type": "string"
  13495. },
  13496. "auditedby": {
  13497. "description": "审核人",
  13498. "type": "string"
  13499. },
  13500. "auditime": {
  13501. "description": "审核时间",
  13502. "type": "string"
  13503. },
  13504. "auditsrc": {
  13505. "description": "审核来源 - 1:管理端 2:终端",
  13506. "type": "integer"
  13507. },
  13508. "bankaccount": {
  13509. "description": "银行帐号 (加密存储)",
  13510. "type": "string"
  13511. },
  13512. "bankaccountname": {
  13513. "description": "收款人名称",
  13514. "type": "string"
  13515. },
  13516. "bankcardbackphotourl": {
  13517. "description": "银行卡背面照地址",
  13518. "type": "string"
  13519. },
  13520. "bankcardfrontphotourl": {
  13521. "description": "银行卡正面照地址",
  13522. "type": "string"
  13523. },
  13524. "bankid": {
  13525. "description": "银行编码",
  13526. "type": "string"
  13527. },
  13528. "bankname": {
  13529. "description": "银行名称",
  13530. "type": "string"
  13531. },
  13532. "bankpictureurl": {
  13533. "description": "银行卡正面地址",
  13534. "type": "string"
  13535. },
  13536. "biznature": {
  13537. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  13538. "type": "integer"
  13539. },
  13540. "bizscope": {
  13541. "description": "企业经营范围(企业)",
  13542. "type": "string"
  13543. },
  13544. "biztype": {
  13545. "description": "企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储",
  13546. "type": "integer"
  13547. },
  13548. "brokerid": {
  13549. "description": "经纪人ID(加密存储)",
  13550. "type": "string"
  13551. },
  13552. "cardaddress": {
  13553. "description": "证件地址 (加密存储)",
  13554. "type": "string"
  13555. },
  13556. "cardbackphotourl": {
  13557. "description": "背面证件照地址",
  13558. "type": "string"
  13559. },
  13560. "cardfrontphotourl": {
  13561. "description": "正面证件照地址",
  13562. "type": "string"
  13563. },
  13564. "cardnum": {
  13565. "description": "证件号码 (加密存储)",
  13566. "type": "string"
  13567. },
  13568. "cardtype": {
  13569. "description": "证件类型",
  13570. "type": "integer"
  13571. },
  13572. "cityid": {
  13573. "description": "市",
  13574. "type": "integer"
  13575. },
  13576. "company": {
  13577. "description": "公司(个人)",
  13578. "type": "string"
  13579. },
  13580. "contactcardbackphotourl": {
  13581. "description": "联系人证件背面图片地址",
  13582. "type": "string"
  13583. },
  13584. "contactcardfrontphotourl": {
  13585. "description": "联系人证件正面图片地址",
  13586. "type": "string"
  13587. },
  13588. "contactname": {
  13589. "description": "联系人",
  13590. "type": "string"
  13591. },
  13592. "countryid": {
  13593. "description": "国家",
  13594. "type": "integer"
  13595. },
  13596. "createtime": {
  13597. "description": "开户申请时间",
  13598. "type": "string"
  13599. },
  13600. "cusbankid": {
  13601. "description": "签约类型",
  13602. "type": "string"
  13603. },
  13604. "cusbankname": {
  13605. "description": "签约类型名称",
  13606. "type": "string"
  13607. },
  13608. "customername": {
  13609. "description": "客户名称(企业名称)",
  13610. "type": "string"
  13611. },
  13612. "districtid": {
  13613. "description": "地区",
  13614. "type": "integer"
  13615. },
  13616. "email": {
  13617. "description": "Email地址(加密存储)",
  13618. "type": "string"
  13619. },
  13620. "halfbodyphotourl": {
  13621. "description": "半身照地址",
  13622. "type": "string"
  13623. },
  13624. "headurl": {
  13625. "description": "头像地址",
  13626. "type": "string"
  13627. },
  13628. "ipaddress": {
  13629. "description": "IP地址",
  13630. "type": "string"
  13631. },
  13632. "isvalidate": {
  13633. "description": "是否有效 (删除后标记为失效) - 0:无效 1:有效",
  13634. "type": "string"
  13635. },
  13636. "legalcardbackphotourl": {
  13637. "description": "法人身份证背面照地址",
  13638. "type": "string"
  13639. },
  13640. "legalcardfrontphotourl": {
  13641. "description": "法人身份证正面照地址",
  13642. "type": "string"
  13643. },
  13644. "legalpersonname": {
  13645. "description": "法人姓名(企业)",
  13646. "type": "string"
  13647. },
  13648. "logincode": {
  13649. "description": "登录帐号 (加密存储)",
  13650. "type": "string"
  13651. },
  13652. "memberareaid": {
  13653. "description": "所属会员ID",
  13654. "type": "integer"
  13655. },
  13656. "mobile2": {
  13657. "description": "手机号码[明文-尚志]",
  13658. "type": "string"
  13659. },
  13660. "mobilephone": {
  13661. "description": "手机号码 (加密存储)",
  13662. "type": "string"
  13663. },
  13664. "modifiedby": {
  13665. "description": "修改人帐号",
  13666. "type": "integer"
  13667. },
  13668. "modifiedtime": {
  13669. "description": "修改时间",
  13670. "type": "string"
  13671. },
  13672. "nickname": {
  13673. "description": "昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)",
  13674. "type": "string"
  13675. },
  13676. "openmode": {
  13677. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)",
  13678. "type": "integer"
  13679. },
  13680. "otherurl": {
  13681. "description": "其它图片地址[使用分号分隔]",
  13682. "type": "string"
  13683. },
  13684. "postalcode": {
  13685. "description": "邮政编码",
  13686. "type": "string"
  13687. },
  13688. "provinceid": {
  13689. "description": "省",
  13690. "type": "integer"
  13691. },
  13692. "proxystatementurl": {
  13693. "description": "授权委托书",
  13694. "type": "string"
  13695. },
  13696. "qq": {
  13697. "description": "QQ(加密存储",
  13698. "type": "string"
  13699. },
  13700. "referral": {
  13701. "description": "推荐人编码",
  13702. "type": "string"
  13703. },
  13704. "remark": {
  13705. "description": "备注",
  13706. "type": "string"
  13707. },
  13708. "removebeforestatus": {
  13709. "description": "REMOVEBEFORESTATUS",
  13710. "type": "integer"
  13711. },
  13712. "sex": {
  13713. "description": "性别 - 0:女 1:男",
  13714. "type": "integer"
  13715. },
  13716. "signedstatus": {
  13717. "description": "账户一号签签约状态",
  13718. "type": "integer"
  13719. },
  13720. "signpdfurl": {
  13721. "description": "签约pdf文件",
  13722. "type": "string"
  13723. },
  13724. "subbranch": {
  13725. "description": "开户支行",
  13726. "type": "string"
  13727. },
  13728. "taxpayernum": {
  13729. "description": "纳税人识别号",
  13730. "type": "string"
  13731. },
  13732. "telphone": {
  13733. "description": "联系电话(加密存储)",
  13734. "type": "string"
  13735. },
  13736. "userid": {
  13737. "description": "用户ID(自增ID)SEQ_WSKH_USERINFO",
  13738. "type": "integer"
  13739. },
  13740. "userinfotype": {
  13741. "description": "用户信息类型 - 1:个人 2:企业",
  13742. "type": "integer"
  13743. },
  13744. "username": {
  13745. "description": "用户姓名",
  13746. "type": "string"
  13747. },
  13748. "userstate": {
  13749. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  13750. "type": "integer"
  13751. },
  13752. "usertype": {
  13753. "description": "用户类型 - 1:投资者 2:机构",
  13754. "type": "integer"
  13755. },
  13756. "videourl": {
  13757. "description": "视频地址",
  13758. "type": "string"
  13759. },
  13760. "wechat": {
  13761. "description": "微信号 (加密存储)",
  13762. "type": "string"
  13763. }
  13764. }
  13765. },
  13766. "erms3.QryAuditContractRsp": {
  13767. "type": "object",
  13768. "required": [
  13769. "matchcustomername",
  13770. "spotcontractid"
  13771. ],
  13772. "properties": {
  13773. "accountid": {
  13774. "description": "交易员ID",
  13775. "type": "string"
  13776. },
  13777. "applystatus": {
  13778. "description": "申请状态 - 0:未审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  13779. "type": "integer"
  13780. },
  13781. "curdeliveryqty": {
  13782. "description": "未交收量",
  13783. "type": "integer"
  13784. },
  13785. "customername": {
  13786. "description": "采购方ID",
  13787. "type": "string"
  13788. },
  13789. "deliverygoodsid": {
  13790. "description": "品种ID",
  13791. "type": "string"
  13792. },
  13793. "deliveryqty": {
  13794. "description": "交收量",
  13795. "type": "integer"
  13796. },
  13797. "enumdicname": {
  13798. "description": "单位名称",
  13799. "type": "string"
  13800. },
  13801. "matchaccountid": {
  13802. "description": "业务员ID",
  13803. "type": "string"
  13804. },
  13805. "matchcustomername": {
  13806. "description": "销售方ID",
  13807. "type": "string"
  13808. },
  13809. "pricedqty": {
  13810. "description": "定价量",
  13811. "type": "number"
  13812. },
  13813. "signdate": {
  13814. "description": "签订日期",
  13815. "type": "string"
  13816. },
  13817. "spotcontractid": {
  13818. "description": "合同ID",
  13819. "type": "string"
  13820. },
  13821. "totaldqty": {
  13822. "description": "合同量",
  13823. "type": "number"
  13824. },
  13825. "unpricedqty": {
  13826. "description": "未定价量",
  13827. "type": "number"
  13828. },
  13829. "wrstandardname": {
  13830. "description": "商品名称",
  13831. "type": "string"
  13832. }
  13833. }
  13834. },
  13835. "erms3.QryPendingBizRsp": {
  13836. "$ref": "#/definitions/models.PendingAuditBizModel"
  13837. },
  13838. "erms3.QueryBusinessInfoRsp": {
  13839. "type": "object",
  13840. "properties": {
  13841. "businessid": {
  13842. "description": "业务ID.",
  13843. "type": "integer"
  13844. },
  13845. "buyamount": {
  13846. "description": "采购额.",
  13847. "type": "number"
  13848. },
  13849. "buyqty": {
  13850. "description": "采购量.",
  13851. "type": "string"
  13852. },
  13853. "futurepl": {
  13854. "description": "期货盈亏.",
  13855. "type": "number"
  13856. },
  13857. "futureqty": {
  13858. "description": "期货敞口.",
  13859. "type": "string"
  13860. },
  13861. "goodsid": {
  13862. "description": "商品名称/商品代码.",
  13863. "type": "string"
  13864. },
  13865. "hedgingqty": {
  13866. "description": "套保量.",
  13867. "type": "string"
  13868. },
  13869. "sellamount": {
  13870. "description": "销售额.",
  13871. "type": "number"
  13872. },
  13873. "sellqty": {
  13874. "description": "销售量.",
  13875. "type": "string"
  13876. },
  13877. "spotmarketvalue": {
  13878. "description": "现货市值.",
  13879. "type": "number"
  13880. },
  13881. "spotpl": {
  13882. "description": "浮动权益.",
  13883. "type": "number"
  13884. },
  13885. "spotqty": {
  13886. "description": "现货量.",
  13887. "type": "string"
  13888. },
  13889. "statu": {
  13890. "description": "状态,0-未结束 1-已结束.",
  13891. "type": "integer"
  13892. },
  13893. "totalpl": {
  13894. "description": "总盈亏.",
  13895. "type": "number"
  13896. },
  13897. "totalqty": {
  13898. "description": "总敞口.",
  13899. "type": "string"
  13900. },
  13901. "type": {
  13902. "description": "业务类型,1-期现套利,2-仓单回购,3-现货贸易.",
  13903. "type": "integer"
  13904. }
  13905. }
  13906. },
  13907. "erms3.QuerySpotContractAppleFormRsp": {
  13908. "type": "object",
  13909. "properties": {
  13910. "goodses": {
  13911. "description": "合约列表",
  13912. "type": "array",
  13913. "items": {
  13914. "$ref": "#/definitions/models.GoodsIDAndName"
  13915. }
  13916. },
  13917. "oppositeusers": {
  13918. "description": "对方账号列表",
  13919. "type": "array",
  13920. "items": {
  13921. "$ref": "#/definitions/erms3.CustomerInfo"
  13922. }
  13923. },
  13924. "ouruser": {
  13925. "description": "我方账号",
  13926. "type": "object",
  13927. "$ref": "#/definitions/erms3.CustomerInfo"
  13928. },
  13929. "warehouseinfos": {
  13930. "description": "仓库信息列表",
  13931. "type": "array",
  13932. "items": {
  13933. "$ref": "#/definitions/models.Warehouseinfo"
  13934. }
  13935. },
  13936. "wrstandards": {
  13937. "description": "仓单标准列表",
  13938. "type": "array",
  13939. "items": {
  13940. "$ref": "#/definitions/models.WRStandardInfo"
  13941. }
  13942. }
  13943. }
  13944. },
  13945. "erms3.QuerySpotContractInfoRsp": {
  13946. "type": "object",
  13947. "properties": {
  13948. "accountid": {
  13949. "description": "表示交易员ID.",
  13950. "type": "integer"
  13951. },
  13952. "curdeliveryqty": {
  13953. "description": "表示未交收量.",
  13954. "type": "number"
  13955. },
  13956. "customername": {
  13957. "description": "若合同类型为采购合同,表示采购方ID;若合同类型为销售合同,表示销售方ID.",
  13958. "type": "string"
  13959. },
  13960. "deliverygoodsid": {
  13961. "description": "表示品种ID.",
  13962. "type": "string"
  13963. },
  13964. "deliveryqty": {
  13965. "description": "表示交收量.",
  13966. "type": "number"
  13967. },
  13968. "matchaccountid": {
  13969. "description": "表示业务员ID.",
  13970. "type": "integer"
  13971. },
  13972. "matchcustomername": {
  13973. "description": "若合同类型为采购合同,表示销售方;若合同类型为销售合同,表示采购方ID.",
  13974. "type": "string"
  13975. },
  13976. "priceqty": {
  13977. "description": "表示定价量.",
  13978. "type": "number"
  13979. },
  13980. "relatedbizid": {
  13981. "description": "表示业务ID.",
  13982. "type": "string"
  13983. },
  13984. "signdate": {
  13985. "description": "表示签订日期.",
  13986. "type": "string"
  13987. },
  13988. "spotcontractid": {
  13989. "description": "合同ID",
  13990. "type": "string"
  13991. },
  13992. "status": {
  13993. "description": "表示状态,0-履约中 1-已完成.",
  13994. "type": "integer"
  13995. },
  13996. "totalqty": {
  13997. "description": "表示合同量.",
  13998. "type": "number"
  13999. },
  14000. "unpricedqty": {
  14001. "description": "表示未定价量.",
  14002. "type": "number"
  14003. },
  14004. "wrstandardname": {
  14005. "description": "表示商品ID.",
  14006. "type": "string"
  14007. }
  14008. }
  14009. },
  14010. "erms3.QueryUserInfoAppliesRsp": {
  14011. "type": "object",
  14012. "required": [
  14013. "userid"
  14014. ],
  14015. "properties": {
  14016. "biznature": {
  14017. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  14018. "type": "integer"
  14019. },
  14020. "contactname": {
  14021. "description": "联系人",
  14022. "type": "string"
  14023. },
  14024. "createtime": {
  14025. "description": "开户申请时间",
  14026. "type": "string"
  14027. },
  14028. "userid": {
  14029. "description": "用户ID(自增ID)",
  14030. "type": "integer"
  14031. },
  14032. "userinfotype": {
  14033. "description": "用户信息类型 - 1:个人 2:企业",
  14034. "type": "integer"
  14035. },
  14036. "username": {
  14037. "description": "用户姓名",
  14038. "type": "string"
  14039. },
  14040. "userstate": {
  14041. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  14042. "type": "integer"
  14043. }
  14044. }
  14045. },
  14046. "erms3.QueryUserInfosRsp": {
  14047. "type": "object",
  14048. "required": [
  14049. "userid"
  14050. ],
  14051. "properties": {
  14052. "biznature": {
  14053. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  14054. "type": "integer"
  14055. },
  14056. "contactname": {
  14057. "description": "联系人",
  14058. "type": "string"
  14059. },
  14060. "customername": {
  14061. "description": "客户名称(企业名称)",
  14062. "type": "string"
  14063. },
  14064. "userid": {
  14065. "description": "用户ID",
  14066. "type": "integer"
  14067. },
  14068. "userinfotype": {
  14069. "description": "用户信息类型 - 1:个人 2:企业",
  14070. "type": "integer"
  14071. },
  14072. "userstatus": {
  14073. "description": "用户状态 - 1:正常 2:注销",
  14074. "type": "integer"
  14075. }
  14076. }
  14077. },
  14078. "erms3.SoptContractDetail": {
  14079. "type": "object",
  14080. "required": [
  14081. "deliverygoodsid",
  14082. "producttype",
  14083. "unitname",
  14084. "warehouseid",
  14085. "wrstandardid",
  14086. "wrstandardname"
  14087. ],
  14088. "properties": {
  14089. "deliverygoodsdesc": {
  14090. "description": "现货品种说明",
  14091. "type": "string"
  14092. },
  14093. "deliverygoodsid": {
  14094. "description": "现货品种ID",
  14095. "type": "integer"
  14096. },
  14097. "deliverygoodsname": {
  14098. "description": "现货品种名称",
  14099. "type": "string"
  14100. },
  14101. "pointdesc": {
  14102. "description": "点价描述",
  14103. "type": "string"
  14104. },
  14105. "producttype": {
  14106. "description": "产品类型 1:标准仓单 2:等标 3:非标",
  14107. "type": "integer"
  14108. },
  14109. "producttypename": {
  14110. "description": "产品类型名称",
  14111. "type": "string"
  14112. },
  14113. "spotPointOrderVoList": {
  14114. "description": "点价列表",
  14115. "type": "array",
  14116. "items": {
  14117. "$ref": "#/definitions/erms3.SpotPointOrder"
  14118. }
  14119. },
  14120. "spotPriceOrderList": {
  14121. "description": "定价列表",
  14122. "type": "array",
  14123. "items": {
  14124. "$ref": "#/definitions/erms3.SpotPriceOrder"
  14125. }
  14126. },
  14127. "unitname": {
  14128. "description": "单位名称",
  14129. "type": "string"
  14130. },
  14131. "warehouseid": {
  14132. "description": "仓库ID",
  14133. "type": "integer"
  14134. },
  14135. "warehousename": {
  14136. "description": "仓库名称",
  14137. "type": "string"
  14138. },
  14139. "wrstandardid": {
  14140. "description": "交易标的ID",
  14141. "type": "integer"
  14142. },
  14143. "wrstandardname": {
  14144. "description": "交易标的名称",
  14145. "type": "string"
  14146. }
  14147. }
  14148. },
  14149. "erms3.SpotPointOrder": {
  14150. "type": "object",
  14151. "required": [
  14152. "basic",
  14153. "goodsid",
  14154. "qty"
  14155. ],
  14156. "properties": {
  14157. "basic": {
  14158. "description": "基差",
  14159. "type": "number"
  14160. },
  14161. "deliveryenddate": {
  14162. "description": "交收结束日期",
  14163. "type": "string"
  14164. },
  14165. "deliverystartdate": {
  14166. "description": "交收开始日期",
  14167. "type": "string"
  14168. },
  14169. "enddate": {
  14170. "description": "点价结束日期",
  14171. "type": "string"
  14172. },
  14173. "goodsid": {
  14174. "description": "商品ID",
  14175. "type": "integer"
  14176. },
  14177. "goodsname": {
  14178. "description": "商品名称",
  14179. "type": "string"
  14180. },
  14181. "qty": {
  14182. "description": "数量",
  14183. "type": "number"
  14184. },
  14185. "startdate": {
  14186. "description": "点价开始日期",
  14187. "type": "string"
  14188. }
  14189. }
  14190. },
  14191. "erms3.SpotPriceOrder": {
  14192. "type": "object",
  14193. "required": [
  14194. "amount",
  14195. "price",
  14196. "qty"
  14197. ],
  14198. "properties": {
  14199. "amount": {
  14200. "description": "金额",
  14201. "type": "number"
  14202. },
  14203. "deliveryenddate": {
  14204. "description": "交收结束日期",
  14205. "type": "string"
  14206. },
  14207. "deliverystartdate": {
  14208. "description": "交收开始日期",
  14209. "type": "string"
  14210. },
  14211. "price": {
  14212. "description": "价格",
  14213. "type": "number"
  14214. },
  14215. "qty": {
  14216. "description": "数量",
  14217. "type": "number"
  14218. }
  14219. }
  14220. },
  14221. "hsby.GetHsbyMyCountRsp": {
  14222. "type": "object",
  14223. "properties": {
  14224. "myCouponCount": {
  14225. "description": "我的优惠卷数量",
  14226. "type": "integer"
  14227. },
  14228. "myOrderDetailListingCount": {
  14229. "description": "我的订单求购中数量",
  14230. "type": "integer"
  14231. },
  14232. "myOrderDetailPreCount": {
  14233. "description": "我的订单抢购中数量",
  14234. "type": "integer"
  14235. },
  14236. "myPackageUnReceiveCount": {
  14237. "description": "我的包裹待收货数量",
  14238. "type": "integer"
  14239. },
  14240. "myPackageUnSendCount": {
  14241. "description": "我的包裹待发货数量",
  14242. "type": "integer"
  14243. },
  14244. "myPayOrderCount": {
  14245. "description": "我的订单待付款数量",
  14246. "type": "integer"
  14247. }
  14248. }
  14249. },
  14250. "hsby.QueryProvincesAndCitiesRsp": {
  14251. "type": "object",
  14252. "properties": {
  14253. "cities": {
  14254. "description": "市",
  14255. "type": "array",
  14256. "items": {
  14257. "$ref": "#/definitions/models.Division"
  14258. }
  14259. },
  14260. "province": {
  14261. "description": "省",
  14262. "type": "object",
  14263. "$ref": "#/definitions/models.Division"
  14264. }
  14265. }
  14266. },
  14267. "models.AreaSpotModel": {
  14268. "type": "object",
  14269. "properties": {
  14270. "areauserid": {
  14271. "description": "所属机构",
  14272. "type": "integer"
  14273. },
  14274. "decreaseqty": {
  14275. "description": "减少数量=-(销售已定价数量+采购计划数量)",
  14276. "type": "number"
  14277. },
  14278. "increaseqty": {
  14279. "description": "增加数量=销售计划数量+采购已定价数量",
  14280. "type": "number"
  14281. },
  14282. "oritoalspotqty": {
  14283. "description": "昨日数量",
  14284. "type": "number"
  14285. },
  14286. "totalspotqty": {
  14287. "description": "当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)",
  14288. "type": "number"
  14289. },
  14290. "updatetime": {
  14291. "description": "更新时间",
  14292. "type": "string"
  14293. },
  14294. "wrstandardcode": {
  14295. "description": "现货品种代码",
  14296. "type": "string"
  14297. },
  14298. "wrstandardid": {
  14299. "description": "现货商品ID",
  14300. "type": "integer"
  14301. },
  14302. "wrstandardname": {
  14303. "description": "现货品种",
  14304. "type": "string"
  14305. }
  14306. }
  14307. },
  14308. "models.Arearole": {
  14309. "type": "object",
  14310. "required": [
  14311. "roletype",
  14312. "userid"
  14313. ],
  14314. "properties": {
  14315. "createtime": {
  14316. "description": "创建时间",
  14317. "type": "string"
  14318. },
  14319. "creatorid": {
  14320. "description": "创建人ID",
  14321. "type": "integer"
  14322. },
  14323. "fromuserid": {
  14324. "description": "所属机构(组织机构)( OrgType = 1时为自己, = 2\\3时取上级机构的所属机构)",
  14325. "type": "integer"
  14326. },
  14327. "isreturnscore": {
  14328. "description": "是否返还积分 [经纪会员-辽东湾] - 0:不返还 1:返还",
  14329. "type": "integer"
  14330. },
  14331. "modifierid": {
  14332. "description": "修改人ID",
  14333. "type": "integer"
  14334. },
  14335. "modifytime": {
  14336. "description": "修改时间",
  14337. "type": "string"
  14338. },
  14339. "orgtype": {
  14340. "description": "组织机构类型 1:机构\\分支节点 2:交易员\\叶子节点 3:部门\\分支节点",
  14341. "type": "integer"
  14342. },
  14343. "outuserid": {
  14344. "description": "外部账户[场外期权做市商]",
  14345. "type": "string"
  14346. },
  14347. "parentuserid": {
  14348. "description": "上级组织机构(组织机构)",
  14349. "type": "integer"
  14350. },
  14351. "roletype": {
  14352. "description": "角色类型 - 1:交易所 2:运营机构 3:营销中心 4:仓库机构 5:三方服务机构 6:自营会员 7:经纪会员 8:做市会员 9:产业会员 10:金融机构 11:商城店铺 12:子机构 13:报价商 14:积分服务商 15:供货商 16:圈内会员 17:物流机构 18:报价配置机构 19:场外期权做市商 20:组织机构 21:顶级机构 22:业务员 23:跟单员 24:交易员 25:客户 98:代理 99:门店",
  14353. "type": "integer"
  14354. },
  14355. "rootuserid": {
  14356. "description": "顶级组织机构用户ID(组织机构)",
  14357. "type": "integer"
  14358. },
  14359. "shoppassword": {
  14360. "description": "商城店铺登陆密码(商城店铺角色使用)",
  14361. "type": "string"
  14362. },
  14363. "sublevelpath": {
  14364. "description": "组织机构层级路径(逗号分隔,首尾加逗号)",
  14365. "type": "string"
  14366. },
  14367. "suborgtype": {
  14368. "description": "子机构类型(千海金) - 0:机构 1:代理 2:门店",
  14369. "type": "integer"
  14370. },
  14371. "tradeaccountid": {
  14372. "description": "默认交易资金账号ID(做市会员被动接单使用、商城店铺默认资金账 号、圈内会员默认资金账号) - 作废, 使用UserReckonAccount",
  14373. "type": "integer"
  14374. },
  14375. "transurl": {
  14376. "description": "物流地址(物流机构)",
  14377. "type": "string"
  14378. },
  14379. "userid": {
  14380. "description": "机构用户ID其他做市关系,都设置为 1",
  14381. "type": "integer"
  14382. }
  14383. }
  14384. },
  14385. "models.Clientfixedadconfig": {
  14386. "type": "object",
  14387. "required": [
  14388. "adsort",
  14389. "adtype"
  14390. ],
  14391. "properties": {
  14392. "adsort": {
  14393. "description": "排序",
  14394. "type": "integer"
  14395. },
  14396. "adtype": {
  14397. "description": "广告位类型 - 1:新品抢购(HSBY)",
  14398. "type": "integer"
  14399. },
  14400. "areauserid": {
  14401. "description": "所属机构ID",
  14402. "type": "integer"
  14403. },
  14404. "createdate": {
  14405. "description": "创建时间",
  14406. "type": "string"
  14407. },
  14408. "creatorid": {
  14409. "description": "创建人",
  14410. "type": "integer"
  14411. },
  14412. "imagepath": {
  14413. "description": "图片",
  14414. "type": "string"
  14415. },
  14416. "isshow": {
  14417. "description": "是否展示 - 0:不展示 1:展示",
  14418. "type": "integer"
  14419. },
  14420. "modifierid": {
  14421. "description": "操作人",
  14422. "type": "integer"
  14423. },
  14424. "recsize": {
  14425. "description": "推荐尺寸",
  14426. "type": "string"
  14427. },
  14428. "title": {
  14429. "description": "标题",
  14430. "type": "string"
  14431. },
  14432. "updatedate": {
  14433. "description": "更新时间",
  14434. "type": "string"
  14435. },
  14436. "urlcontent": {
  14437. "description": "链接(地址或商品ID)",
  14438. "type": "string"
  14439. },
  14440. "urltype": {
  14441. "description": "链接类型 - 1:直接地址 2:商品ID",
  14442. "type": "integer"
  14443. }
  14444. }
  14445. },
  14446. "models.Division": {
  14447. "type": "object",
  14448. "required": [
  14449. "autoid",
  14450. "divisioncode"
  14451. ],
  14452. "properties": {
  14453. "autoid": {
  14454. "description": "自增ID",
  14455. "type": "integer"
  14456. },
  14457. "divisioncode": {
  14458. "description": "行政代码",
  14459. "type": "string"
  14460. },
  14461. "divisionlevel": {
  14462. "description": "行政级别",
  14463. "type": "string"
  14464. },
  14465. "divisionname": {
  14466. "description": "行政名称",
  14467. "type": "string"
  14468. },
  14469. "modifierid": {
  14470. "description": "修改人",
  14471. "type": "integer"
  14472. },
  14473. "modifytime": {
  14474. "description": "修改时间",
  14475. "type": "string"
  14476. },
  14477. "parentcode": {
  14478. "description": "上级行政代码",
  14479. "type": "string"
  14480. },
  14481. "pathname": {
  14482. "description": "路径名称",
  14483. "type": "string"
  14484. },
  14485. "postcode": {
  14486. "description": "邮政编码",
  14487. "type": "string"
  14488. },
  14489. "separablename": {
  14490. "description": "可拆分的全称",
  14491. "type": "string"
  14492. },
  14493. "shortcode": {
  14494. "description": "地区简码",
  14495. "type": "string"
  14496. }
  14497. }
  14498. },
  14499. "models.Enumdicitem": {
  14500. "type": "object",
  14501. "required": [
  14502. "autoid",
  14503. "enumdiccode",
  14504. "enumdicid",
  14505. "enumitemname"
  14506. ],
  14507. "properties": {
  14508. "autoid": {
  14509. "description": "自增ID",
  14510. "type": "integer"
  14511. },
  14512. "bankmappedvalue": {
  14513. "description": "银行服务对应值",
  14514. "type": "string"
  14515. },
  14516. "enumdiccode": {
  14517. "description": "所属枚举代码",
  14518. "type": "string"
  14519. },
  14520. "enumdicid": {
  14521. "description": "所属枚举ID",
  14522. "type": "integer"
  14523. },
  14524. "enumdicname": {
  14525. "description": "枚举项名称",
  14526. "type": "string"
  14527. },
  14528. "enumitemname": {
  14529. "description": "枚举项值",
  14530. "type": "integer"
  14531. },
  14532. "enumitemstatus": {
  14533. "description": "枚举项状态 - 1.启用 2.不启用",
  14534. "type": "integer"
  14535. },
  14536. "enumitemvalue": {
  14537. "description": "通用值 - [币种通用简写]",
  14538. "type": "string"
  14539. },
  14540. "param1": {
  14541. "description": "参数1[币种:币种小数位]",
  14542. "type": "string"
  14543. },
  14544. "param2": {
  14545. "description": "参数1[币种:币种显示单位]",
  14546. "type": "string"
  14547. },
  14548. "remark": {
  14549. "description": "备注",
  14550. "type": "string"
  14551. }
  14552. }
  14553. },
  14554. "models.Ermcp3AreaSpot": {
  14555. "type": "object",
  14556. "properties": {
  14557. "areauserid": {
  14558. "description": "所属机构",
  14559. "type": "integer"
  14560. },
  14561. "decreaseqty": {
  14562. "description": "减少数量=-(销售已定价数量+采购计划数量)",
  14563. "type": "number"
  14564. },
  14565. "deliverygoodscode": {
  14566. "description": "现货品种代码",
  14567. "type": "string"
  14568. },
  14569. "deliverygoodsid": {
  14570. "description": "现货品种id",
  14571. "type": "integer"
  14572. },
  14573. "deliverygoodsname": {
  14574. "description": "现货品种名称",
  14575. "type": "string"
  14576. },
  14577. "enumdicname": {
  14578. "description": "单位名称",
  14579. "type": "string"
  14580. },
  14581. "goodsunitid": {
  14582. "description": "现货品种单位id",
  14583. "type": "integer"
  14584. },
  14585. "increaseqty": {
  14586. "description": "增加数量=销售计划数量+采购已定价数量",
  14587. "type": "number"
  14588. },
  14589. "oritoalspotqty": {
  14590. "description": "昨日数量",
  14591. "type": "number"
  14592. },
  14593. "totalspotqty": {
  14594. "description": "当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)",
  14595. "type": "number"
  14596. },
  14597. "updatetime": {
  14598. "description": "更新时间",
  14599. "type": "string"
  14600. }
  14601. }
  14602. },
  14603. "models.Ermcp3AreaSpotDetail": {
  14604. "type": "object",
  14605. "properties": {
  14606. "contracttype": {
  14607. "description": "合同类型 1-采购 -1-销售",
  14608. "type": "integer"
  14609. },
  14610. "createtime": {
  14611. "description": "创建时间",
  14612. "type": "string"
  14613. },
  14614. "deliverygoodscode": {
  14615. "description": "现货品种代码",
  14616. "type": "string"
  14617. },
  14618. "deliverygoodsid": {
  14619. "description": "现货品种id",
  14620. "type": "integer"
  14621. },
  14622. "deliverygoodsname": {
  14623. "description": "现货品种名称",
  14624. "type": "string"
  14625. },
  14626. "enumdicname": {
  14627. "description": "现货商品单位名称",
  14628. "type": "string"
  14629. },
  14630. "logtype": {
  14631. "description": "记录类型 1-套保 2-现货合同",
  14632. "type": "integer"
  14633. },
  14634. "qty": {
  14635. "description": "数量",
  14636. "type": "number"
  14637. },
  14638. "recordname": {
  14639. "description": "类型名称",
  14640. "type": "string"
  14641. },
  14642. "relatedid": {
  14643. "description": "套保计划ID/现货合同ID",
  14644. "type": "string"
  14645. },
  14646. "relatedno": {
  14647. "description": "编号",
  14648. "type": "string"
  14649. },
  14650. "strtime": {
  14651. "description": "时间",
  14652. "type": "string"
  14653. }
  14654. }
  14655. },
  14656. "models.Ermcp3AreaSpotPLReport": {
  14657. "type": "object",
  14658. "properties": {
  14659. "accountid": {
  14660. "description": "期货账户ID (作废, 默认为0)",
  14661. "type": "integer"
  14662. },
  14663. "accountname": {
  14664. "description": "机构名称",
  14665. "type": "string"
  14666. },
  14667. "actualpl": {
  14668. "description": "现货损益",
  14669. "type": "number"
  14670. },
  14671. "areauserid": {
  14672. "description": "所属机构\\交易用户ID",
  14673. "type": "integer"
  14674. },
  14675. "begindate": {
  14676. "description": "开始交易日",
  14677. "type": "string"
  14678. },
  14679. "biztype": {
  14680. "description": "业务类型 - 1:套保 2:套利",
  14681. "type": "integer"
  14682. },
  14683. "brandname": {
  14684. "description": "品牌名称",
  14685. "type": "string"
  14686. },
  14687. "curamount": {
  14688. "description": "期末额",
  14689. "type": "number"
  14690. },
  14691. "curaverageprice": {
  14692. "description": "期末均价",
  14693. "type": "number"
  14694. },
  14695. "curbuyamount": {
  14696. "description": "期末采购总额",
  14697. "type": "number"
  14698. },
  14699. "curbuyqty": {
  14700. "description": "期末采购总量",
  14701. "type": "number"
  14702. },
  14703. "curmarketvalue": {
  14704. "description": "参考市值(期末市值)",
  14705. "type": "number"
  14706. },
  14707. "curqty": {
  14708. "description": "期末量",
  14709. "type": "number"
  14710. },
  14711. "currencyid": {
  14712. "description": "结算币种ID【原值】",
  14713. "type": "integer"
  14714. },
  14715. "currencyname": {
  14716. "description": "币种名称",
  14717. "type": "string"
  14718. },
  14719. "cursellamount": {
  14720. "description": "期末销售总额",
  14721. "type": "number"
  14722. },
  14723. "cursellqty": {
  14724. "description": "期末销售总量",
  14725. "type": "number"
  14726. },
  14727. "curspotprice": {
  14728. "description": "参考市价(最新价)",
  14729. "type": "number"
  14730. },
  14731. "cycletime": {
  14732. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  14733. "type": "string"
  14734. },
  14735. "cycletype": {
  14736. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  14737. "type": "integer"
  14738. },
  14739. "deliverygoodscode": {
  14740. "description": "现货商品代码",
  14741. "type": "string"
  14742. },
  14743. "deliverygoodsid": {
  14744. "description": "现货品种ID",
  14745. "type": "integer"
  14746. },
  14747. "deliverygoodsname": {
  14748. "description": "现货商品名称",
  14749. "type": "string"
  14750. },
  14751. "enddate": {
  14752. "description": "结束交易日",
  14753. "type": "string"
  14754. },
  14755. "enumdicname": {
  14756. "description": "现货商品单位名称",
  14757. "type": "string"
  14758. },
  14759. "floatpl": {
  14760. "description": "浮动损益",
  14761. "type": "number"
  14762. },
  14763. "goodsunitid": {
  14764. "description": "现货商品单位id",
  14765. "type": "integer"
  14766. },
  14767. "oriamount": {
  14768. "description": "期初额",
  14769. "type": "number"
  14770. },
  14771. "oriaverageprice": {
  14772. "description": "期初均价",
  14773. "type": "number"
  14774. },
  14775. "oribuyamount": {
  14776. "description": "期初采购总额",
  14777. "type": "number"
  14778. },
  14779. "oribuyqty": {
  14780. "description": "期初采购总量",
  14781. "type": "number"
  14782. },
  14783. "oriqty": {
  14784. "description": "期初量",
  14785. "type": "number"
  14786. },
  14787. "orisellamount": {
  14788. "description": "期初销售总额",
  14789. "type": "number"
  14790. },
  14791. "orisellqty": {
  14792. "description": "期初销售总量",
  14793. "type": "number"
  14794. },
  14795. "reckondate": {
  14796. "description": "日照时期(yyyyMMdd)",
  14797. "type": "string"
  14798. },
  14799. "spotgoodsbrandid": {
  14800. "description": "现货品牌ID",
  14801. "type": "integer"
  14802. },
  14803. "todaybuyamount": {
  14804. "description": "今日采购额(今采购额)",
  14805. "type": "number"
  14806. },
  14807. "todaybuyaverageprice": {
  14808. "description": "今日采购均价",
  14809. "type": "number"
  14810. },
  14811. "todaybuyqty": {
  14812. "description": "今日采购量(今采购量)",
  14813. "type": "number"
  14814. },
  14815. "todayinqty": {
  14816. "description": "今日入库量(今入库量)",
  14817. "type": "number"
  14818. },
  14819. "todayoutqty": {
  14820. "description": "今日出库量(今出库量)",
  14821. "type": "number"
  14822. },
  14823. "todaysellamount": {
  14824. "description": "今日销售额(今销售额)",
  14825. "type": "number"
  14826. },
  14827. "todaysellaverageprice": {
  14828. "description": "今日销售均价",
  14829. "type": "number"
  14830. },
  14831. "todaysellqty": {
  14832. "description": "今日销售量(今销售量)",
  14833. "type": "number"
  14834. },
  14835. "unitid": {
  14836. "description": "品类单位id",
  14837. "type": "integer"
  14838. },
  14839. "unitidname": {
  14840. "description": "品类单位名称",
  14841. "type": "string"
  14842. },
  14843. "updatetime": {
  14844. "description": "更新时间",
  14845. "type": "string"
  14846. },
  14847. "wrfactortypeid": {
  14848. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  14849. "type": "integer"
  14850. },
  14851. "wrstandardcode": {
  14852. "description": "品类代码",
  14853. "type": "string"
  14854. },
  14855. "wrstandardid": {
  14856. "description": "现货品类ID",
  14857. "type": "integer"
  14858. },
  14859. "wrstandardname": {
  14860. "description": "品类名称",
  14861. "type": "string"
  14862. }
  14863. }
  14864. },
  14865. "models.Ermcp3AreaStock": {
  14866. "type": "object",
  14867. "required": [
  14868. "userid"
  14869. ],
  14870. "properties": {
  14871. "brandname": {
  14872. "description": "品牌名称",
  14873. "type": "string"
  14874. },
  14875. "curstock": {
  14876. "description": "期末库存量(今日量)",
  14877. "type": "number"
  14878. },
  14879. "deliverygoodscode": {
  14880. "description": "现货品种代码",
  14881. "type": "string"
  14882. },
  14883. "deliverygoodsid": {
  14884. "description": "现货品种id",
  14885. "type": "integer"
  14886. },
  14887. "deliverygoodsname": {
  14888. "description": "现货品种名称",
  14889. "type": "string"
  14890. },
  14891. "enumdicname": {
  14892. "description": "单位名称",
  14893. "type": "string"
  14894. },
  14895. "goodsunitid": {
  14896. "description": "现货商品单位id",
  14897. "type": "integer"
  14898. },
  14899. "oristock": {
  14900. "description": "期初库存量(昨日量)",
  14901. "type": "number"
  14902. },
  14903. "spotgoodsbrandid": {
  14904. "description": "现货品牌ID",
  14905. "type": "integer"
  14906. },
  14907. "todaybuyinqty": {
  14908. "description": "今日采购入库量",
  14909. "type": "number"
  14910. },
  14911. "todayproduceinqty": {
  14912. "description": "今日生产入库量",
  14913. "type": "number"
  14914. },
  14915. "todayproduceoutqty": {
  14916. "description": "今日生产出库量",
  14917. "type": "number"
  14918. },
  14919. "todayselloutqty": {
  14920. "description": "今日销售出库量",
  14921. "type": "number"
  14922. },
  14923. "unitid": {
  14924. "description": "单位id",
  14925. "type": "integer"
  14926. },
  14927. "updatetime": {
  14928. "description": "更新时间",
  14929. "type": "string"
  14930. },
  14931. "userid": {
  14932. "description": "机构ID",
  14933. "type": "integer"
  14934. },
  14935. "username": {
  14936. "description": "机构名称",
  14937. "type": "string"
  14938. },
  14939. "warehousecode": {
  14940. "description": "仓库代码",
  14941. "type": "string"
  14942. },
  14943. "warehouseinfoid": {
  14944. "description": "仓库ID",
  14945. "type": "string"
  14946. },
  14947. "warehousename": {
  14948. "description": "仓库名称",
  14949. "type": "string"
  14950. },
  14951. "warehousetype": {
  14952. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  14953. "type": "integer"
  14954. },
  14955. "wrstandardcode": {
  14956. "description": "品类代码",
  14957. "type": "string"
  14958. },
  14959. "wrstandardid": {
  14960. "description": "品类ID",
  14961. "type": "string"
  14962. },
  14963. "wrstandardname": {
  14964. "description": "品类名称",
  14965. "type": "string"
  14966. }
  14967. }
  14968. },
  14969. "models.Ermcp3AreaStockApply": {
  14970. "type": "object",
  14971. "properties": {
  14972. "applyid": {
  14973. "description": "申请人",
  14974. "type": "integer"
  14975. },
  14976. "applyname": {
  14977. "description": "申请人名称",
  14978. "type": "string"
  14979. },
  14980. "applyremark": {
  14981. "description": "申请备注",
  14982. "type": "string"
  14983. },
  14984. "applysrc": {
  14985. "description": "申请来源 - 1:管理端 2:终端",
  14986. "type": "integer"
  14987. },
  14988. "applystatus": {
  14989. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  14990. "type": "integer"
  14991. },
  14992. "applytime": {
  14993. "description": "申请时间",
  14994. "type": "string"
  14995. },
  14996. "auditid": {
  14997. "description": "审核人",
  14998. "type": "integer"
  14999. },
  15000. "auditname": {
  15001. "description": "审核人名称",
  15002. "type": "string"
  15003. },
  15004. "auditremark": {
  15005. "description": "审核备注",
  15006. "type": "string"
  15007. },
  15008. "auditsrc": {
  15009. "description": "审核来源 - 1:管理端 2:终端",
  15010. "type": "integer"
  15011. },
  15012. "audittime": {
  15013. "description": "审核时间",
  15014. "type": "string"
  15015. },
  15016. "audittradedate": {
  15017. "description": "审核交易日(yyyyMMdd)",
  15018. "type": "string"
  15019. },
  15020. "brandname": {
  15021. "description": "品牌名称",
  15022. "type": "string"
  15023. },
  15024. "buynickname": {
  15025. "description": "采购方昵称",
  15026. "type": "string"
  15027. },
  15028. "buyuserid": {
  15029. "description": "采购方userid",
  15030. "type": "integer"
  15031. },
  15032. "buyusername": {
  15033. "description": "采购方名称",
  15034. "type": "string"
  15035. },
  15036. "contractno": {
  15037. "description": "合同编号",
  15038. "type": "string"
  15039. },
  15040. "contractqty": {
  15041. "description": "合同量",
  15042. "type": "number"
  15043. },
  15044. "contracttype": {
  15045. "description": "现货合同类型 - 1:采购 -1:销售",
  15046. "type": "integer"
  15047. },
  15048. "deliverygoodscode": {
  15049. "description": "现货品种代码",
  15050. "type": "string"
  15051. },
  15052. "deliverygoodsid": {
  15053. "description": "现货品种id",
  15054. "type": "integer"
  15055. },
  15056. "deliverygoodsname": {
  15057. "description": "现货品种名称",
  15058. "type": "string"
  15059. },
  15060. "detailjson": {
  15061. "description": "明细数据",
  15062. "type": "string"
  15063. },
  15064. "enumdicname": {
  15065. "description": "现货商品单位名称",
  15066. "type": "string"
  15067. },
  15068. "inoutapplyid": {
  15069. "description": "申请ID(607+Unix秒时间戳(10位)+xxxxxx)",
  15070. "type": "string"
  15071. },
  15072. "inouttype": {
  15073. "description": "出入库类型 - 5:采购入库 6:销售出库 7:生产入库 8:生产出库",
  15074. "type": "integer"
  15075. },
  15076. "pricetype": {
  15077. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  15078. "type": "integer"
  15079. },
  15080. "qty": {
  15081. "description": "数量",
  15082. "type": "number"
  15083. },
  15084. "sellnickname": {
  15085. "description": "销售方昵称",
  15086. "type": "string"
  15087. },
  15088. "selluserid": {
  15089. "description": "销售方userid",
  15090. "type": "integer"
  15091. },
  15092. "sellusername": {
  15093. "description": "销售方名称",
  15094. "type": "string"
  15095. },
  15096. "spotcontractid": {
  15097. "description": "关联现货合同ID",
  15098. "type": "string"
  15099. },
  15100. "spotgoodsbrandid": {
  15101. "description": "现货品牌ID",
  15102. "type": "integer"
  15103. },
  15104. "unitid": {
  15105. "description": "单位id",
  15106. "type": "integer"
  15107. },
  15108. "userid": {
  15109. "description": "机构ID",
  15110. "type": "integer"
  15111. },
  15112. "warehousecode": {
  15113. "description": "仓库代码",
  15114. "type": "string"
  15115. },
  15116. "warehouseinfoid": {
  15117. "description": "现货仓库ID",
  15118. "type": "string"
  15119. },
  15120. "warehousename": {
  15121. "description": "仓库名称",
  15122. "type": "string"
  15123. },
  15124. "warehousetype": {
  15125. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  15126. "type": "integer"
  15127. },
  15128. "wrstandardcode": {
  15129. "description": "品类代码",
  15130. "type": "string"
  15131. },
  15132. "wrstandardid": {
  15133. "description": "品类ID",
  15134. "type": "integer"
  15135. },
  15136. "wrstandardname": {
  15137. "description": "品类名称",
  15138. "type": "string"
  15139. }
  15140. }
  15141. },
  15142. "models.Ermcp3AreaStockApplySum": {
  15143. "type": "object",
  15144. "properties": {
  15145. "brandname": {
  15146. "description": "品牌名称",
  15147. "type": "string"
  15148. },
  15149. "inouttype": {
  15150. "description": "出入库类型 - 1:采购入库 2:销售出库 3:生产入库 4:生产出库",
  15151. "type": "integer"
  15152. },
  15153. "spotcontractid": {
  15154. "description": "关联现货合同ID",
  15155. "type": "string"
  15156. },
  15157. "spotgoodsbrandid": {
  15158. "description": "品牌id",
  15159. "type": "integer"
  15160. },
  15161. "totalqty": {
  15162. "description": "总数量",
  15163. "type": "number"
  15164. },
  15165. "wrstandardid": {
  15166. "description": "品类id",
  15167. "type": "integer"
  15168. },
  15169. "wrstandardname": {
  15170. "description": "品类名称",
  15171. "type": "string"
  15172. }
  15173. }
  15174. },
  15175. "models.Ermcp3AreaStockReportEx": {
  15176. "type": "object",
  15177. "properties": {
  15178. "begindate": {
  15179. "description": "开始交易日",
  15180. "type": "string"
  15181. },
  15182. "brandname": {
  15183. "description": "品牌名称",
  15184. "type": "string"
  15185. },
  15186. "curstock": {
  15187. "description": "期末库存量",
  15188. "type": "number"
  15189. },
  15190. "cycletime": {
  15191. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  15192. "type": "string"
  15193. },
  15194. "cycletype": {
  15195. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  15196. "type": "integer"
  15197. },
  15198. "deliverygoodscode": {
  15199. "description": "现货品种代码",
  15200. "type": "string"
  15201. },
  15202. "deliverygoodsid": {
  15203. "description": "现货品种id",
  15204. "type": "integer"
  15205. },
  15206. "deliverygoodsname": {
  15207. "description": "现货品种名称",
  15208. "type": "string"
  15209. },
  15210. "diffqty": {
  15211. "description": "库存变化量 = 期末 - 期初",
  15212. "type": "number"
  15213. },
  15214. "enddate": {
  15215. "description": "结束交易日",
  15216. "type": "string"
  15217. },
  15218. "enumdicname": {
  15219. "description": "单位名称",
  15220. "type": "string"
  15221. },
  15222. "goodsunitid": {
  15223. "description": "现货单位id",
  15224. "type": "integer"
  15225. },
  15226. "oristock": {
  15227. "description": "期初库存量",
  15228. "type": "number"
  15229. },
  15230. "reckondate": {
  15231. "description": "日照时期(yyyyMMdd)",
  15232. "type": "string"
  15233. },
  15234. "spotgoodsbrandid": {
  15235. "description": "现货品牌ID",
  15236. "type": "integer"
  15237. },
  15238. "todaybuyinqty": {
  15239. "description": "今采购入库量",
  15240. "type": "number"
  15241. },
  15242. "todayproduceinqty": {
  15243. "description": "今内部入库量",
  15244. "type": "number"
  15245. },
  15246. "todayproduceoutqty": {
  15247. "description": "今内部出库量",
  15248. "type": "number"
  15249. },
  15250. "todayselloutqty": {
  15251. "description": "今销售出库量",
  15252. "type": "number"
  15253. },
  15254. "unbuyinqty": {
  15255. "description": "采购未入库量(数据库未找到相关字段?)",
  15256. "type": "number"
  15257. },
  15258. "unitid": {
  15259. "description": "品类单位id",
  15260. "type": "integer"
  15261. },
  15262. "unselloutqty": {
  15263. "description": "销售未出库量(数据库未找到相关字段?)",
  15264. "type": "number"
  15265. },
  15266. "updatetime": {
  15267. "description": "更新时间",
  15268. "type": "string"
  15269. },
  15270. "userid": {
  15271. "description": "机构ID",
  15272. "type": "integer"
  15273. },
  15274. "username": {
  15275. "description": "机构名称",
  15276. "type": "string"
  15277. },
  15278. "warehousecode": {
  15279. "description": "仓库代码",
  15280. "type": "string"
  15281. },
  15282. "warehouseinfoid": {
  15283. "description": "仓库ID",
  15284. "type": "string"
  15285. },
  15286. "warehousename": {
  15287. "description": "仓库名称",
  15288. "type": "string"
  15289. },
  15290. "warehousetype": {
  15291. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  15292. "type": "integer"
  15293. },
  15294. "wrstandardcode": {
  15295. "description": "品类代码",
  15296. "type": "string"
  15297. },
  15298. "wrstandardid": {
  15299. "description": "品类ID",
  15300. "type": "integer"
  15301. },
  15302. "wrstandardname": {
  15303. "description": "品类名称",
  15304. "type": "string"
  15305. }
  15306. }
  15307. },
  15308. "models.Ermcp3ArealSumPL": {
  15309. "type": "object",
  15310. "properties": {
  15311. "accountname": {
  15312. "description": "机构名称",
  15313. "type": "string"
  15314. },
  15315. "areauserid": {
  15316. "description": "所属机构\\交易用户ID",
  15317. "type": "integer"
  15318. },
  15319. "begindate": {
  15320. "description": "开始交易日",
  15321. "type": "string"
  15322. },
  15323. "currencyid": {
  15324. "description": "结算币种ID",
  15325. "type": "integer"
  15326. },
  15327. "currencyname": {
  15328. "description": "币种名称",
  15329. "type": "string"
  15330. },
  15331. "cycletime": {
  15332. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  15333. "type": "string"
  15334. },
  15335. "cycletype": {
  15336. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  15337. "type": "integer"
  15338. },
  15339. "enddate": {
  15340. "description": "结束交易日",
  15341. "type": "string"
  15342. },
  15343. "enumdicname": {
  15344. "description": "单位名称(套保品种)",
  15345. "type": "string"
  15346. },
  15347. "futureactualpl": {
  15348. "description": "期货损益",
  15349. "type": "number"
  15350. },
  15351. "futurefloatpl": {
  15352. "description": "期货浮动损益",
  15353. "type": "number"
  15354. },
  15355. "goodsunitid": {
  15356. "description": "套保品种单位id",
  15357. "type": "integer"
  15358. },
  15359. "middlegoodscode": {
  15360. "description": "套保品种代码",
  15361. "type": "string"
  15362. },
  15363. "middlegoodsid": {
  15364. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  15365. "type": "integer"
  15366. },
  15367. "middlegoodsname": {
  15368. "description": "套保品种名称",
  15369. "type": "string"
  15370. },
  15371. "reckondate": {
  15372. "description": "日照时期(yyyyMMdd)",
  15373. "type": "string"
  15374. },
  15375. "spotactualpl": {
  15376. "description": "现货损益",
  15377. "type": "number"
  15378. },
  15379. "spotfloatpl": {
  15380. "description": "现货浮动损益",
  15381. "type": "number"
  15382. },
  15383. "sumactualpl": {
  15384. "description": "实际损益 = (ActualPL + FutureActualPL)",
  15385. "type": "number"
  15386. },
  15387. "sumpl": {
  15388. "description": "汇总损益",
  15389. "type": "number"
  15390. },
  15391. "updatetime": {
  15392. "description": "更新时间",
  15393. "type": "string"
  15394. }
  15395. }
  15396. },
  15397. "models.Ermcp3Brand": {
  15398. "type": "object",
  15399. "properties": {
  15400. "areauserid": {
  15401. "description": "用户id",
  15402. "type": "integer"
  15403. },
  15404. "brandid": {
  15405. "description": "品牌id",
  15406. "type": "integer"
  15407. },
  15408. "brandname": {
  15409. "description": "品牌名称",
  15410. "type": "string"
  15411. },
  15412. "deliverygoodsid": {
  15413. "description": "品种ID",
  15414. "type": "integer"
  15415. }
  15416. }
  15417. },
  15418. "models.Ermcp3Contract": {
  15419. "type": "object",
  15420. "properties": {
  15421. "accountid": {
  15422. "description": "期货账户id",
  15423. "type": "string"
  15424. },
  15425. "amount": {
  15426. "description": "金额 [1:一口价、3:暂定价]",
  15427. "type": "number"
  15428. },
  15429. "attachment": {
  15430. "description": "附件",
  15431. "type": "string"
  15432. },
  15433. "auditremark": {
  15434. "description": "审核意见",
  15435. "type": "string"
  15436. },
  15437. "audittime": {
  15438. "description": "审核时间",
  15439. "type": "string"
  15440. },
  15441. "biztype": {
  15442. "description": "业务类型 1-套保 2-套利",
  15443. "type": "integer"
  15444. },
  15445. "brandname": {
  15446. "description": "品牌名称",
  15447. "type": "string"
  15448. },
  15449. "buynickname": {
  15450. "description": "销售方昵称",
  15451. "type": "string"
  15452. },
  15453. "buyuserid": {
  15454. "description": "采购方ID",
  15455. "type": "integer"
  15456. },
  15457. "buyusername": {
  15458. "description": "采购方名称",
  15459. "type": "string"
  15460. },
  15461. "contracctstatus": {
  15462. "description": "合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  15463. "type": "integer"
  15464. },
  15465. "contractmargin": {
  15466. "description": "合同保证金",
  15467. "type": "number"
  15468. },
  15469. "contractno": {
  15470. "description": "现货合同编号",
  15471. "type": "string"
  15472. },
  15473. "contracttype": {
  15474. "description": "现货合同类型 - 1:采购 -1:销售",
  15475. "type": "integer"
  15476. },
  15477. "convertfactor": {
  15478. "description": "标仓系数(品类)",
  15479. "type": "number"
  15480. },
  15481. "createtime": {
  15482. "description": "创建时间",
  15483. "type": "string"
  15484. },
  15485. "currencyid": {
  15486. "description": "币种id",
  15487. "type": "integer"
  15488. },
  15489. "currencyname": {
  15490. "description": "币种名称",
  15491. "type": "string"
  15492. },
  15493. "deliveryenddate": {
  15494. "description": "交收期(结束)",
  15495. "type": "string"
  15496. },
  15497. "deliverygoodscode": {
  15498. "description": "现货品种代码",
  15499. "type": "string"
  15500. },
  15501. "deliverygoodsid": {
  15502. "description": "现货品种ID",
  15503. "type": "integer"
  15504. },
  15505. "deliverygoodsname": {
  15506. "description": "现货品种名称",
  15507. "type": "string"
  15508. },
  15509. "deliverystartdate": {
  15510. "description": "交收期(开始)",
  15511. "type": "string"
  15512. },
  15513. "enddate": {
  15514. "description": "点价结束日期 [2:点价 3:暂定价]",
  15515. "type": "string"
  15516. },
  15517. "enumdicname": {
  15518. "description": "单位名称",
  15519. "type": "string"
  15520. },
  15521. "goodscode": {
  15522. "description": "点价合约代码",
  15523. "type": "string"
  15524. },
  15525. "goodsid": {
  15526. "description": "点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]",
  15527. "type": "integer"
  15528. },
  15529. "goodsname": {
  15530. "description": "点价商品名称",
  15531. "type": "string"
  15532. },
  15533. "margin": {
  15534. "description": "当前保证金",
  15535. "type": "number"
  15536. },
  15537. "meruserid": {
  15538. "description": "跟单员id",
  15539. "type": "integer"
  15540. },
  15541. "meruserlogincode": {
  15542. "description": "跟单员登录代码",
  15543. "type": "string"
  15544. },
  15545. "price": {
  15546. "description": "价格\\暂定价 [1:一口价、3:暂定价]",
  15547. "type": "number"
  15548. },
  15549. "pricemove": {
  15550. "description": "升贴水 [2:点价 3:暂定价]",
  15551. "type": "number"
  15552. },
  15553. "pricetype": {
  15554. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  15555. "type": "integer"
  15556. },
  15557. "producttype": {
  15558. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  15559. "type": "integer"
  15560. },
  15561. "qty": {
  15562. "description": "数量",
  15563. "type": "number"
  15564. },
  15565. "remark": {
  15566. "description": "备注",
  15567. "type": "string"
  15568. },
  15569. "saleuserid": {
  15570. "description": "业务员id",
  15571. "type": "integer"
  15572. },
  15573. "saleuserlogincode": {
  15574. "description": "业务员登录代码",
  15575. "type": "string"
  15576. },
  15577. "sellnickname": {
  15578. "description": "采购方昵称",
  15579. "type": "string"
  15580. },
  15581. "selluserid": {
  15582. "description": "销售方ID",
  15583. "type": "integer"
  15584. },
  15585. "sellusername": {
  15586. "description": "销售方名称",
  15587. "type": "string"
  15588. },
  15589. "spotcontractid": {
  15590. "description": "现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)",
  15591. "type": "string"
  15592. },
  15593. "spotgoodsbrandid": {
  15594. "description": "现货品牌ID(DGFactoryItem表的ID)",
  15595. "type": "integer"
  15596. },
  15597. "spotgoodsdesc": {
  15598. "description": "商品型号",
  15599. "type": "string"
  15600. },
  15601. "startdate": {
  15602. "description": "点价开始日期 [2:点价 3:暂定价]",
  15603. "type": "string"
  15604. },
  15605. "tradeuserid": {
  15606. "description": "交易员id",
  15607. "type": "integer"
  15608. },
  15609. "tradeuserlogincode": {
  15610. "description": "交易员登录代码",
  15611. "type": "string"
  15612. },
  15613. "tradeusername": {
  15614. "description": "交易员名称",
  15615. "type": "string"
  15616. },
  15617. "unitid": {
  15618. "description": "单位id(取品类上的单位id)",
  15619. "type": "integer"
  15620. },
  15621. "updatetime": {
  15622. "description": "更新时间",
  15623. "type": "string"
  15624. },
  15625. "userid": {
  15626. "description": "所属机构ID",
  15627. "type": "integer"
  15628. },
  15629. "wrstandardcode": {
  15630. "description": "品类代码",
  15631. "type": "string"
  15632. },
  15633. "wrstandardid": {
  15634. "description": "品类ID",
  15635. "type": "integer"
  15636. },
  15637. "wrstandardname": {
  15638. "description": "品类名称",
  15639. "type": "string"
  15640. }
  15641. }
  15642. },
  15643. "models.Ermcp3ExposureContractDetail": {
  15644. "type": "object",
  15645. "properties": {
  15646. "biztype": {
  15647. "description": "业务类型 1-套保 2-套利",
  15648. "type": "integer"
  15649. },
  15650. "brandname": {
  15651. "description": "品牌名称",
  15652. "type": "string"
  15653. },
  15654. "buyuserid": {
  15655. "description": "采购方id",
  15656. "type": "integer"
  15657. },
  15658. "buyusername": {
  15659. "description": "采购方名称",
  15660. "type": "string"
  15661. },
  15662. "contractno": {
  15663. "description": "合同编号",
  15664. "type": "string"
  15665. },
  15666. "contracttype": {
  15667. "description": "现货合同类型 - 1:采购 -1:销售",
  15668. "type": "integer"
  15669. },
  15670. "convertfactor": {
  15671. "description": "标仓系数",
  15672. "type": "number"
  15673. },
  15674. "convertratio": {
  15675. "description": "折算系数(套保品种)",
  15676. "type": "number"
  15677. },
  15678. "curqty": {
  15679. "description": "今定价量",
  15680. "type": "number"
  15681. },
  15682. "deliverygoodscode": {
  15683. "description": "现货商品代码",
  15684. "type": "string"
  15685. },
  15686. "deliverygoodsid": {
  15687. "description": "现货商品id",
  15688. "type": "integer"
  15689. },
  15690. "deliverygoodsname": {
  15691. "description": "现货商品名称",
  15692. "type": "string"
  15693. },
  15694. "diffhedgeqty": {
  15695. "description": "套保变动量",
  15696. "type": "number"
  15697. },
  15698. "diffneedhedgeqty": {
  15699. "description": "应套保变动量",
  15700. "type": "number"
  15701. },
  15702. "diffqty": {
  15703. "description": "套保品种今变动量",
  15704. "type": "number"
  15705. },
  15706. "enumdicname": {
  15707. "description": "单位名称",
  15708. "type": "string"
  15709. },
  15710. "middlegoodscode": {
  15711. "description": "套保品种代码",
  15712. "type": "string"
  15713. },
  15714. "middlegoodsid": {
  15715. "description": "套保品种id",
  15716. "type": "integer"
  15717. },
  15718. "middlegoodsname": {
  15719. "description": "套保品种名称",
  15720. "type": "string"
  15721. },
  15722. "needarbitrageratio": {
  15723. "description": "应套利比例",
  15724. "type": "number"
  15725. },
  15726. "needhedgeratio": {
  15727. "description": "应套保比例",
  15728. "type": "number"
  15729. },
  15730. "pricedqty": {
  15731. "description": "已定价量",
  15732. "type": "number"
  15733. },
  15734. "qty": {
  15735. "description": "合同量",
  15736. "type": "number"
  15737. },
  15738. "selluserid": {
  15739. "description": "销售方id",
  15740. "type": "integer"
  15741. },
  15742. "sellusername": {
  15743. "description": "销售方名称",
  15744. "type": "string"
  15745. },
  15746. "spotcontractid": {
  15747. "description": "合同id",
  15748. "type": "string"
  15749. },
  15750. "todaypricedqty": {
  15751. "description": "今定价量",
  15752. "type": "number"
  15753. },
  15754. "tradedate": {
  15755. "description": "交易日",
  15756. "type": "string"
  15757. },
  15758. "unitid": {
  15759. "description": "品类单位id",
  15760. "type": "integer"
  15761. },
  15762. "userid": {
  15763. "description": "机构id",
  15764. "type": "integer"
  15765. },
  15766. "wrstandardcode": {
  15767. "description": "品类代码",
  15768. "type": "string"
  15769. },
  15770. "wrstandardid": {
  15771. "description": "品类id",
  15772. "type": "integer"
  15773. },
  15774. "wrstandardname": {
  15775. "description": "品类名称",
  15776. "type": "string"
  15777. }
  15778. }
  15779. },
  15780. "models.Ermcp3ExposureDetail": {
  15781. "type": "object",
  15782. "properties": {
  15783. "areauserid": {
  15784. "description": "机构ID",
  15785. "type": "integer"
  15786. },
  15787. "changeQty": {
  15788. "description": "套保变动量",
  15789. "type": "number"
  15790. },
  15791. "contracttype": {
  15792. "description": "现货合同类型 - 1:采购 -1:销售",
  15793. "type": "integer"
  15794. },
  15795. "convertfactor": {
  15796. "description": "标仓系数",
  15797. "type": "number"
  15798. },
  15799. "convertratio": {
  15800. "description": "套保系数",
  15801. "type": "number"
  15802. },
  15803. "createtime": {
  15804. "description": "时间",
  15805. "type": "string"
  15806. },
  15807. "deliverygoodscode": {
  15808. "description": "现货品种代码",
  15809. "type": "string"
  15810. },
  15811. "deliverygoodsid": {
  15812. "description": "现货品种id",
  15813. "type": "integer"
  15814. },
  15815. "deliverygoodsname": {
  15816. "description": "现货品种名称",
  15817. "type": "string"
  15818. },
  15819. "enumdicname": {
  15820. "description": "现货商品单位名称",
  15821. "type": "string"
  15822. },
  15823. "logtype": {
  15824. "description": "类型 - 1:套保计划 2:现货合同",
  15825. "type": "integer"
  15826. },
  15827. "mgunitid": {
  15828. "description": "套保品种单位id",
  15829. "type": "integer"
  15830. },
  15831. "mgunitidname": {
  15832. "description": "套保品种单位名称",
  15833. "type": "string"
  15834. },
  15835. "middlegoodsId": {
  15836. "description": "套保商品id",
  15837. "type": "integer"
  15838. },
  15839. "middlegoodscode": {
  15840. "description": "套保商品代码",
  15841. "type": "string"
  15842. },
  15843. "middlegoodsname": {
  15844. "description": "套保商品名称",
  15845. "type": "string"
  15846. },
  15847. "qty": {
  15848. "description": "数量",
  15849. "type": "number"
  15850. },
  15851. "relateNo": {
  15852. "description": "现货合同/套保计划编号",
  15853. "type": "string"
  15854. }
  15855. }
  15856. },
  15857. "models.Ermcp3ExposureFutuDetail": {
  15858. "type": "object",
  15859. "properties": {
  15860. "accountid": {
  15861. "description": "交易账户id",
  15862. "type": "integer"
  15863. },
  15864. "accountname": {
  15865. "description": "交易账户",
  15866. "type": "string"
  15867. },
  15868. "begindate": {
  15869. "description": "开始交易日",
  15870. "type": "string"
  15871. },
  15872. "buyorsell": {
  15873. "description": "方向 0-买 1-卖",
  15874. "type": "integer"
  15875. },
  15876. "diffmgqty": {
  15877. "description": "套保品种今变化量",
  15878. "type": "number"
  15879. },
  15880. "diffneedqty": {
  15881. "description": "应套保总量变化量",
  15882. "type": "number"
  15883. },
  15884. "difftradeqty": {
  15885. "description": "交易品种今变化量",
  15886. "type": "number"
  15887. },
  15888. "enddate": {
  15889. "description": "结束交易日",
  15890. "type": "string"
  15891. },
  15892. "enumdicname": {
  15893. "description": "单位名称",
  15894. "type": "string"
  15895. },
  15896. "goodscode": {
  15897. "description": "商品代码",
  15898. "type": "string"
  15899. },
  15900. "goodsid": {
  15901. "description": "商品id",
  15902. "type": "integer"
  15903. },
  15904. "goodsname": {
  15905. "description": "商品名称",
  15906. "type": "string"
  15907. },
  15908. "holdqty": {
  15909. "description": "期末持仓量",
  15910. "type": "number"
  15911. },
  15912. "middlegoodscode": {
  15913. "description": "套保商品代码",
  15914. "type": "string"
  15915. },
  15916. "middlegoodsid": {
  15917. "description": "套保商品id",
  15918. "type": "integer"
  15919. },
  15920. "middlegoodsname": {
  15921. "description": "套保商品名称",
  15922. "type": "string"
  15923. },
  15924. "oriholdqty": {
  15925. "description": "期初持仓量",
  15926. "type": "number"
  15927. },
  15928. "todaycloseqty": {
  15929. "description": "今平仓量",
  15930. "type": "number"
  15931. },
  15932. "todayopenqty": {
  15933. "description": "今开仓量",
  15934. "type": "number"
  15935. },
  15936. "tradedate": {
  15937. "description": "交易日",
  15938. "type": "string"
  15939. }
  15940. }
  15941. },
  15942. "models.Ermcp3ExposureHedgeplanDetail": {
  15943. "type": "object",
  15944. "properties": {
  15945. "biztype": {
  15946. "description": "业务类型(期现用途,业务类型就是期现用途) 1-套保 2-套利",
  15947. "type": "integer"
  15948. },
  15949. "changqty": {
  15950. "description": "应套保总量变化量",
  15951. "type": "number"
  15952. },
  15953. "contracttype": {
  15954. "description": "计划类型 - 1:采购 -1:销售",
  15955. "type": "integer"
  15956. },
  15957. "convertratio": {
  15958. "description": "折算系数(套保品种)",
  15959. "type": "number"
  15960. },
  15961. "deliverygoodscode": {
  15962. "description": "现货商品代码",
  15963. "type": "string"
  15964. },
  15965. "deliverygoodsid": {
  15966. "description": "现货商品id",
  15967. "type": "integer"
  15968. },
  15969. "deliverygoodsname": {
  15970. "description": "现货商吕名称",
  15971. "type": "string"
  15972. },
  15973. "dgunitid": {
  15974. "description": "现货商品单位id",
  15975. "type": "integer"
  15976. },
  15977. "dgunitidname": {
  15978. "description": "单位名称(现货商品)",
  15979. "type": "string"
  15980. },
  15981. "diffqty": {
  15982. "description": "套保品种今变动量",
  15983. "type": "number"
  15984. },
  15985. "enumdicname": {
  15986. "description": "单位名称(品类)",
  15987. "type": "string"
  15988. },
  15989. "hedgeplanid": {
  15990. "description": "套保计划id",
  15991. "type": "string"
  15992. },
  15993. "hedgeplanno": {
  15994. "description": "套保计划名称",
  15995. "type": "string"
  15996. },
  15997. "hedgeplanstatus": {
  15998. "description": "套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  15999. "type": "integer"
  16000. },
  16001. "mgunitidname": {
  16002. "description": "单位名称(套保商品)",
  16003. "type": "string"
  16004. },
  16005. "middlegoodscode": {
  16006. "description": "套保品种代码",
  16007. "type": "string"
  16008. },
  16009. "middlegoodsid": {
  16010. "description": "套保品种id",
  16011. "type": "integer"
  16012. },
  16013. "middlegoodsname": {
  16014. "description": "套保品种名称",
  16015. "type": "string"
  16016. },
  16017. "needarbitrageratio": {
  16018. "description": "应套利比例",
  16019. "type": "number"
  16020. },
  16021. "needhedgeratio": {
  16022. "description": "应套保比例",
  16023. "type": "number"
  16024. },
  16025. "pricedqty": {
  16026. "description": "已定价量",
  16027. "type": "number"
  16028. },
  16029. "qty": {
  16030. "description": "合同量",
  16031. "type": "number"
  16032. },
  16033. "tradedate": {
  16034. "description": "交易日(登记日)",
  16035. "type": "string"
  16036. },
  16037. "unitid": {
  16038. "description": "品类单位id",
  16039. "type": "integer"
  16040. },
  16041. "userid": {
  16042. "description": "机构id",
  16043. "type": "integer"
  16044. },
  16045. "wrstandardcode": {
  16046. "description": "品类代码",
  16047. "type": "string"
  16048. },
  16049. "wrstandardid": {
  16050. "description": "品类id",
  16051. "type": "integer"
  16052. },
  16053. "wrstandardname": {
  16054. "description": "品类名称",
  16055. "type": "string"
  16056. }
  16057. }
  16058. },
  16059. "models.Ermcp3ExpourseReport": {
  16060. "type": "object",
  16061. "properties": {
  16062. "accountid": {
  16063. "description": "期货账户ID (作废, 默认为0)",
  16064. "type": "integer"
  16065. },
  16066. "accountname": {
  16067. "description": "机构名称",
  16068. "type": "string"
  16069. },
  16070. "arbitrageqty": {
  16071. "description": "套利量",
  16072. "type": "number"
  16073. },
  16074. "areauserid": {
  16075. "description": "所属机构\\交易用户ID",
  16076. "type": "integer"
  16077. },
  16078. "begindate": {
  16079. "description": "开始交易日",
  16080. "type": "string"
  16081. },
  16082. "buyfutureqty": {
  16083. "description": "买入期货数量",
  16084. "type": "number"
  16085. },
  16086. "buyplanqty": {
  16087. "description": "采购计划数量",
  16088. "type": "number"
  16089. },
  16090. "buypricedqty": {
  16091. "description": "采购合同已定价数量",
  16092. "type": "number"
  16093. },
  16094. "cycletime": {
  16095. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  16096. "type": "string"
  16097. },
  16098. "cycletype": {
  16099. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  16100. "type": "integer"
  16101. },
  16102. "diffexposure": {
  16103. "description": "变动量(套保敞口)",
  16104. "type": "number"
  16105. },
  16106. "difffutuqty": {
  16107. "description": "变动量(期货)",
  16108. "type": "number"
  16109. },
  16110. "diffhedgeqty": {
  16111. "description": "变动量(现货应套保总量)",
  16112. "type": "number"
  16113. },
  16114. "diffmgqtya": {
  16115. "description": "套保变动量",
  16116. "type": "number"
  16117. },
  16118. "diffmgqtyb": {
  16119. "description": "套利变动量",
  16120. "type": "number"
  16121. },
  16122. "diffqty": {
  16123. "description": "变动量(总敞口)",
  16124. "type": "number"
  16125. },
  16126. "diffspotqty": {
  16127. "description": "变动量(现货)",
  16128. "type": "number"
  16129. },
  16130. "enddate": {
  16131. "description": "结束交易日",
  16132. "type": "string"
  16133. },
  16134. "enumdicname": {
  16135. "description": "单位名称",
  16136. "type": "string"
  16137. },
  16138. "hedgeqty": {
  16139. "description": "套保量",
  16140. "type": "number"
  16141. },
  16142. "mgneedhedgeratio": {
  16143. "description": "套保比例(套保品的)",
  16144. "type": "number"
  16145. },
  16146. "middlegoodsid": {
  16147. "description": "套保品种ID",
  16148. "type": "integer"
  16149. },
  16150. "middlegoodsname": {
  16151. "description": "套保商品名称",
  16152. "type": "string"
  16153. },
  16154. "middlgoodscode": {
  16155. "description": "套保商品代码",
  16156. "type": "string"
  16157. },
  16158. "needarbitrageqty": {
  16159. "description": "应套利量",
  16160. "type": "number"
  16161. },
  16162. "needarbitrageratio": {
  16163. "description": "套利比例(套保品的)",
  16164. "type": "number"
  16165. },
  16166. "needhedgeexposoure": {
  16167. "description": "应套保敞口(套保敞口)",
  16168. "type": "number"
  16169. },
  16170. "needhedgeqty": {
  16171. "description": "应套保量",
  16172. "type": "number"
  16173. },
  16174. "needhedgeratio": {
  16175. "description": "应套保敞口比例",
  16176. "type": "number"
  16177. },
  16178. "oriarbitrageqty": {
  16179. "description": "期初套利量",
  16180. "type": "number"
  16181. },
  16182. "oribuyfutureqty": {
  16183. "description": "期初买入期货数量",
  16184. "type": "number"
  16185. },
  16186. "oribuyplanqty": {
  16187. "description": "期初采购计划数量",
  16188. "type": "number"
  16189. },
  16190. "oribuypricedqty": {
  16191. "description": "期初采购合同已定价数量",
  16192. "type": "number"
  16193. },
  16194. "orihedgeqty": {
  16195. "description": "期初套保量",
  16196. "type": "number"
  16197. },
  16198. "orineedarbitrageqty": {
  16199. "description": "期初应套利量",
  16200. "type": "number"
  16201. },
  16202. "orineedhedgeexposoure": {
  16203. "description": "期初应套保敞口",
  16204. "type": "number"
  16205. },
  16206. "orineedhedgeqty": {
  16207. "description": "期初应套保量",
  16208. "type": "number"
  16209. },
  16210. "orisellfutureqty": {
  16211. "description": "期初卖出期货数量",
  16212. "type": "number"
  16213. },
  16214. "orisellplanqty": {
  16215. "description": "期初销售计划数量",
  16216. "type": "number"
  16217. },
  16218. "orisellpricedqty": {
  16219. "description": "期初销售合同已定价数量",
  16220. "type": "number"
  16221. },
  16222. "oritotalexposure": {
  16223. "description": "期初实时总敞口",
  16224. "type": "number"
  16225. },
  16226. "oritotalfutureqty": {
  16227. "description": "期初期货头寸总量",
  16228. "type": "number"
  16229. },
  16230. "oritotalneedhedgeqty": {
  16231. "description": "期初应套保总量",
  16232. "type": "number"
  16233. },
  16234. "oritotalspotqty": {
  16235. "description": "期初现货头寸总量",
  16236. "type": "number"
  16237. },
  16238. "reckondate": {
  16239. "description": "日照时期(yyyyMMdd)",
  16240. "type": "string"
  16241. },
  16242. "sellfutureqty": {
  16243. "description": "卖出期货数量",
  16244. "type": "number"
  16245. },
  16246. "sellplanqty": {
  16247. "description": "销售计划数量",
  16248. "type": "number"
  16249. },
  16250. "sellpricedqty": {
  16251. "description": "销售合同已定价数量",
  16252. "type": "number"
  16253. },
  16254. "totalexposure": {
  16255. "description": "实时总敞口(总敞口)",
  16256. "type": "number"
  16257. },
  16258. "totalfutureqty": {
  16259. "description": "期货头寸总量(期货总量)",
  16260. "type": "number"
  16261. },
  16262. "totalhedgeratio": {
  16263. "description": "敞口比例",
  16264. "type": "number"
  16265. },
  16266. "totalneedhedgeqty": {
  16267. "description": "应套保总量(现货应套保总量)",
  16268. "type": "number"
  16269. },
  16270. "totalspotqty": {
  16271. "description": "现货头寸总量",
  16272. "type": "number"
  16273. },
  16274. "unitid": {
  16275. "description": "单位id",
  16276. "type": "integer"
  16277. },
  16278. "updatetime": {
  16279. "description": "更新时间",
  16280. "type": "string"
  16281. }
  16282. }
  16283. },
  16284. "models.Ermcp3FinanceReport": {
  16285. "type": "object",
  16286. "properties": {
  16287. "accountname": {
  16288. "description": "机构名称",
  16289. "type": "string"
  16290. },
  16291. "areauserid": {
  16292. "description": "所属机构\\交易用户ID",
  16293. "type": "integer"
  16294. },
  16295. "begindate": {
  16296. "description": "开始交易日",
  16297. "type": "string"
  16298. },
  16299. "biztype": {
  16300. "description": "业务类型 - 1:套保 2:套利",
  16301. "type": "integer"
  16302. },
  16303. "brandname": {
  16304. "description": "品牌名称",
  16305. "type": "string"
  16306. },
  16307. "buypreinvoicedamount": {
  16308. "description": "采购预收票额(预收票额)",
  16309. "type": "number"
  16310. },
  16311. "buyprepaidamount": {
  16312. "description": "采购预付款额(预付货款额)",
  16313. "type": "number"
  16314. },
  16315. "buytodayinvoiceamount": {
  16316. "description": "采购今收票额(今收票额)",
  16317. "type": "number"
  16318. },
  16319. "buytodayrefundamount": {
  16320. "description": "采购今收退款额(今收退款额)",
  16321. "type": "number"
  16322. },
  16323. "buytodaysettleamount": {
  16324. "description": "采购今付款额(今付货款额)",
  16325. "type": "number"
  16326. },
  16327. "buyuninvoicedamount": {
  16328. "description": "采购应收票额(应收票额)",
  16329. "type": "number"
  16330. },
  16331. "buyunpaidamount": {
  16332. "description": "采购应付款额(应付货款额)",
  16333. "type": "number"
  16334. },
  16335. "currencyid": {
  16336. "description": "结算币种ID",
  16337. "type": "integer"
  16338. },
  16339. "currencyname": {
  16340. "description": "币种名称",
  16341. "type": "string"
  16342. },
  16343. "cycletime": {
  16344. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  16345. "type": "string"
  16346. },
  16347. "cycletype": {
  16348. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  16349. "type": "integer"
  16350. },
  16351. "deliverygoodscode": {
  16352. "description": "现货品种代码",
  16353. "type": "string"
  16354. },
  16355. "deliverygoodsid": {
  16356. "description": "现货品种ID",
  16357. "type": "integer"
  16358. },
  16359. "deliverygoodsname": {
  16360. "description": "现货品种名称",
  16361. "type": "string"
  16362. },
  16363. "enddate": {
  16364. "description": "结束交易日",
  16365. "type": "string"
  16366. },
  16367. "reckondate": {
  16368. "description": "日照时期(yyyyMMdd)",
  16369. "type": "string"
  16370. },
  16371. "sellpreinvoicedamount": {
  16372. "description": "销售预开票额(预开票额)",
  16373. "type": "number"
  16374. },
  16375. "sellprepaidamount": {
  16376. "description": "销售预收款额(预收货款额)",
  16377. "type": "number"
  16378. },
  16379. "selltodayinvoiceamount": {
  16380. "description": "销售今开票额(今开票额)",
  16381. "type": "number"
  16382. },
  16383. "selltodayrefundamount": {
  16384. "description": "销售今付退款额(今付退款额)",
  16385. "type": "number"
  16386. },
  16387. "selltodaysettleamount": {
  16388. "description": "销售今收款额(今收货款额)",
  16389. "type": "number"
  16390. },
  16391. "selluninvoicedamount": {
  16392. "description": "销售应开票额(应开票额)",
  16393. "type": "number"
  16394. },
  16395. "sellunpaidamount": {
  16396. "description": "销售应收款额(应收货款额)",
  16397. "type": "number"
  16398. },
  16399. "spotgoodsbrandid": {
  16400. "description": "现货品牌ID",
  16401. "type": "integer"
  16402. },
  16403. "todaypaysum": {
  16404. "description": "今付款合计",
  16405. "type": "number"
  16406. },
  16407. "todayreceivesum": {
  16408. "description": "今收款合计",
  16409. "type": "number"
  16410. },
  16411. "updatetime": {
  16412. "description": "更新时间",
  16413. "type": "string"
  16414. },
  16415. "wrfactortypeid": {
  16416. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  16417. "type": "integer"
  16418. },
  16419. "wrstandardcode": {
  16420. "description": "品类代码",
  16421. "type": "string"
  16422. },
  16423. "wrstandardid": {
  16424. "description": "现货商品ID",
  16425. "type": "integer"
  16426. },
  16427. "wrstandardname": {
  16428. "description": "品类名称",
  16429. "type": "string"
  16430. }
  16431. }
  16432. },
  16433. "models.Ermcp3Goods": {
  16434. "type": "object",
  16435. "properties": {
  16436. "agreeunit": {
  16437. "description": "合约单位(合约乘数)",
  16438. "type": "number"
  16439. },
  16440. "enumdicname": {
  16441. "description": "单位名称",
  16442. "type": "string"
  16443. },
  16444. "exexchangecode": {
  16445. "description": "交易所代码",
  16446. "type": "string"
  16447. },
  16448. "goodscode": {
  16449. "description": "期货商品代码",
  16450. "type": "string"
  16451. },
  16452. "goodsid": {
  16453. "description": "期货商品id",
  16454. "type": "integer"
  16455. },
  16456. "goodsname": {
  16457. "description": "期货商品名称",
  16458. "type": "string"
  16459. }
  16460. }
  16461. },
  16462. "models.Ermcp3GoodsGroup": {
  16463. "type": "object",
  16464. "required": [
  16465. "areauserid"
  16466. ],
  16467. "properties": {
  16468. "agreeunit": {
  16469. "description": "合约单位",
  16470. "type": "number"
  16471. },
  16472. "areauserid": {
  16473. "description": "所属机构id(套保品是有areauserid的,当要排除已配置商品组时需要areauserid过滤)",
  16474. "type": "integer"
  16475. },
  16476. "canshort": {
  16477. "description": "是否允许做空[通道交易] - 0:不能做空 1:可以做空",
  16478. "type": "integer"
  16479. },
  16480. "closepricemode": {
  16481. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  16482. "type": "integer"
  16483. },
  16484. "createtime": {
  16485. "description": "创建时间",
  16486. "type": "string"
  16487. },
  16488. "creatorid": {
  16489. "description": "创建人",
  16490. "type": "integer"
  16491. },
  16492. "currencyid": {
  16493. "description": "报价货币ID",
  16494. "type": "integer"
  16495. },
  16496. "decimalplace": {
  16497. "description": "报价小数位",
  16498. "type": "integer"
  16499. },
  16500. "enumdicname": {
  16501. "description": "单位名称",
  16502. "type": "string"
  16503. },
  16504. "exchangefullname": {
  16505. "description": "交易所全称",
  16506. "type": "string"
  16507. },
  16508. "excludecfg": {
  16509. "description": "排除套保品已配置期货分类下的商品组(但显示已配置商品组) 1-排除",
  16510. "type": "integer"
  16511. },
  16512. "exexchangecode": {
  16513. "description": "交易所代码",
  16514. "type": "string"
  16515. },
  16516. "exexchangeid": {
  16517. "description": "外部交易所ID[通道交易]",
  16518. "type": "integer"
  16519. },
  16520. "exexchangename": {
  16521. "description": "交易所名称",
  16522. "type": "string"
  16523. },
  16524. "goodsgroupid": {
  16525. "description": "商品组ID(自增ID)",
  16526. "type": "integer"
  16527. },
  16528. "goodsgroupname": {
  16529. "description": "商品组名称",
  16530. "type": "string"
  16531. },
  16532. "goodsgroupstatus": {
  16533. "description": "商品组状态 - 1:正常 2:注销",
  16534. "type": "integer"
  16535. },
  16536. "goodunitid": {
  16537. "description": "报价单位ID",
  16538. "type": "integer"
  16539. },
  16540. "groupcategroyid": {
  16541. "description": "品种分类ID",
  16542. "type": "integer"
  16543. },
  16544. "innerdealmode": {
  16545. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  16546. "type": "integer"
  16547. },
  16548. "marketid": {
  16549. "description": "所属市场ID",
  16550. "type": "integer"
  16551. },
  16552. "modifierid": {
  16553. "description": "修改人",
  16554. "type": "integer"
  16555. },
  16556. "modifytime": {
  16557. "description": "修改时间",
  16558. "type": "string"
  16559. },
  16560. "outerdealmode": {
  16561. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  16562. "type": "integer"
  16563. },
  16564. "outergroupcode": {
  16565. "description": "外部商品组代码[通道交易]",
  16566. "type": "string"
  16567. },
  16568. "quoteminunit": {
  16569. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  16570. "type": "integer"
  16571. },
  16572. "quotesourcegroupid": {
  16573. "description": "所属行情源分组ID[参考行情市场用\\通道交易]",
  16574. "type": "integer"
  16575. },
  16576. "syncgoodsqty": {
  16577. "description": "同步合约数[通道交易-投资管理用] - 0表示不限",
  16578. "type": "integer"
  16579. }
  16580. }
  16581. },
  16582. "models.Ermcp3GoodsGroupEx": {
  16583. "type": "object",
  16584. "properties": {
  16585. "convertratio": {
  16586. "description": "折算系数(品种系数)",
  16587. "type": "number"
  16588. },
  16589. "enumdicname": {
  16590. "description": "单位名称",
  16591. "type": "string"
  16592. },
  16593. "exexchangecode": {
  16594. "description": "交易所代码",
  16595. "type": "string"
  16596. },
  16597. "glist": {
  16598. "description": "合约列表",
  16599. "type": "array",
  16600. "items": {
  16601. "$ref": "#/definitions/models.Ermcp3Goods"
  16602. }
  16603. },
  16604. "goodsgroupid": {
  16605. "description": "商品组id",
  16606. "type": "integer"
  16607. },
  16608. "goodsgroupname": {
  16609. "description": "商品组名称",
  16610. "type": "string"
  16611. },
  16612. "goodsunitid": {
  16613. "description": "单位id",
  16614. "type": "integer"
  16615. },
  16616. "middlegoodsid": {
  16617. "description": "套保商品id",
  16618. "type": "integer"
  16619. }
  16620. }
  16621. },
  16622. "models.Ermcp3HedgePlan": {
  16623. "type": "object",
  16624. "properties": {
  16625. "accountid": {
  16626. "description": "资金账号",
  16627. "type": "integer"
  16628. },
  16629. "areauserid": {
  16630. "description": "用户ID",
  16631. "type": "integer"
  16632. },
  16633. "audittime": {
  16634. "description": "审核时间",
  16635. "type": "string"
  16636. },
  16637. "contracttype": {
  16638. "description": "计划类型 - 1:采购 -1:销售",
  16639. "type": "integer"
  16640. },
  16641. "convertfactor": {
  16642. "description": "标仓系数",
  16643. "type": "number"
  16644. },
  16645. "createtime": {
  16646. "description": "创建时间",
  16647. "type": "string"
  16648. },
  16649. "currencyid": {
  16650. "description": "币种id",
  16651. "type": "integer"
  16652. },
  16653. "currencyname": {
  16654. "description": "币种名称",
  16655. "type": "string"
  16656. },
  16657. "deliverygoodscode": {
  16658. "description": "现货品种代码",
  16659. "type": "string"
  16660. },
  16661. "deliverygoodsid": {
  16662. "description": "现货品种ID",
  16663. "type": "integer"
  16664. },
  16665. "deliverygoodsname": {
  16666. "description": "现货品种名称",
  16667. "type": "string"
  16668. },
  16669. "enumdicname": {
  16670. "description": "单位名称(现货商品)",
  16671. "type": "string"
  16672. },
  16673. "hedgeplanid": {
  16674. "description": "套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)",
  16675. "type": "string"
  16676. },
  16677. "hedgeplanno": {
  16678. "description": "套保计划编号(名称)",
  16679. "type": "string"
  16680. },
  16681. "hedgeplanstatus": {
  16682. "description": "套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  16683. "type": "integer"
  16684. },
  16685. "planqty": {
  16686. "description": "计划数量",
  16687. "type": "number"
  16688. },
  16689. "plantime": {
  16690. "description": "计划时间",
  16691. "type": "string"
  16692. },
  16693. "producttype": {
  16694. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  16695. "type": "integer"
  16696. },
  16697. "remark": {
  16698. "description": "备注",
  16699. "type": "string"
  16700. },
  16701. "spotgoodsdesc": {
  16702. "description": "商品型号",
  16703. "type": "string"
  16704. },
  16705. "taaccountname": {
  16706. "description": "资金账号名称",
  16707. "type": "string"
  16708. },
  16709. "tradeuserid": {
  16710. "description": "交易用户id",
  16711. "type": "integer"
  16712. },
  16713. "tradeusername": {
  16714. "description": "交易用户名称",
  16715. "type": "string"
  16716. },
  16717. "unitid": {
  16718. "description": "单位id(现货商品)",
  16719. "type": "integer"
  16720. },
  16721. "updatetime": {
  16722. "description": "更新时间",
  16723. "type": "string"
  16724. },
  16725. "wrstandardcode": {
  16726. "description": "品类代码",
  16727. "type": "string"
  16728. },
  16729. "wrstandardid": {
  16730. "description": "品类id",
  16731. "type": "integer"
  16732. },
  16733. "wrstandardname": {
  16734. "description": "品类名称",
  16735. "type": "string"
  16736. },
  16737. "wrunitid": {
  16738. "description": "品类单位id",
  16739. "type": "integer"
  16740. },
  16741. "wrunitidame": {
  16742. "description": "品类单位名称",
  16743. "type": "string"
  16744. }
  16745. }
  16746. },
  16747. "models.Ermcp3MiddleGoodsDetail2": {
  16748. "type": "object",
  16749. "properties": {
  16750. "convertratio": {
  16751. "description": "套保系数(折算系数)",
  16752. "type": "number"
  16753. },
  16754. "gplist": {
  16755. "description": "关联商品组列表",
  16756. "type": "array",
  16757. "items": {
  16758. "$ref": "#/definitions/models.Ermcp3GoodsGroupEx"
  16759. }
  16760. },
  16761. "mg": {
  16762. "description": "套保商品信息",
  16763. "type": "object",
  16764. "$ref": "#/definitions/models.ErmcpMiddleGoodsModel"
  16765. }
  16766. }
  16767. },
  16768. "models.Ermcp3MiddleGoodsDetailEx": {
  16769. "type": "object",
  16770. "properties": {
  16771. "dglist": {
  16772. "description": "关联的现货品种列表",
  16773. "type": "array",
  16774. "items": {
  16775. "$ref": "#/definitions/models.ErmcpDeliveryGoodsDetail2"
  16776. }
  16777. },
  16778. "gplist": {
  16779. "description": "关联商品组列表",
  16780. "type": "array",
  16781. "items": {
  16782. "$ref": "#/definitions/models.Ermcp3GoodsGroupEx"
  16783. }
  16784. },
  16785. "mg": {
  16786. "description": "套保商品信息",
  16787. "type": "object",
  16788. "$ref": "#/definitions/models.ErmcpMiddleGoodsModel"
  16789. }
  16790. }
  16791. },
  16792. "models.Ermcp3RootUserAccount": {
  16793. "type": "object",
  16794. "properties": {
  16795. "accountname": {
  16796. "description": "账户名称(机构名称)",
  16797. "type": "string"
  16798. },
  16799. "accountstatus": {
  16800. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  16801. "type": "integer"
  16802. },
  16803. "applysrc": {
  16804. "description": "申请来源 - 1:管理端 2:终端",
  16805. "type": "integer"
  16806. },
  16807. "auditremark": {
  16808. "description": "审核备注",
  16809. "type": "string"
  16810. },
  16811. "auditsrc": {
  16812. "description": "审核来源 - 1:管理端 2:终端",
  16813. "type": "integer"
  16814. },
  16815. "audittime": {
  16816. "description": "审核时间",
  16817. "type": "string"
  16818. },
  16819. "audituserid": {
  16820. "description": "审核人",
  16821. "type": "integer"
  16822. },
  16823. "broker": {
  16824. "description": "所属经纪人ID",
  16825. "type": "integer"
  16826. },
  16827. "canceltime": {
  16828. "description": "销户时间",
  16829. "type": "string"
  16830. },
  16831. "canceluserid": {
  16832. "description": "销户人",
  16833. "type": "integer"
  16834. },
  16835. "canrecommend": {
  16836. "description": "是否可推荐 - 0:不可 1;可",
  16837. "type": "integer"
  16838. },
  16839. "createtime": {
  16840. "description": "创建时间",
  16841. "type": "string"
  16842. },
  16843. "creatorid": {
  16844. "description": "创建人",
  16845. "type": "integer"
  16846. },
  16847. "hasauth": {
  16848. "description": "是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝",
  16849. "type": "integer"
  16850. },
  16851. "isanonymous": {
  16852. "description": "是否匿名下单 - 0:否 1:是",
  16853. "type": "integer"
  16854. },
  16855. "maxinvestornum": {
  16856. "description": "最大用户数(经纪会员下投资者个数)",
  16857. "type": "integer"
  16858. },
  16859. "memberuserid": {
  16860. "description": "所属会员ID",
  16861. "type": "integer"
  16862. },
  16863. "modifierid": {
  16864. "description": "修改人",
  16865. "type": "integer"
  16866. },
  16867. "modifyremark": {
  16868. "description": "变更备注",
  16869. "type": "string"
  16870. },
  16871. "modifystatus": {
  16872. "description": "变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)",
  16873. "type": "integer"
  16874. },
  16875. "modifytime": {
  16876. "description": "修改时间",
  16877. "type": "string"
  16878. },
  16879. "parenttopuser": {
  16880. "description": "上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的\"ParentTopUser\"]",
  16881. "type": "string"
  16882. },
  16883. "parentuserid": {
  16884. "description": "所属机构ID",
  16885. "type": "integer"
  16886. },
  16887. "reckonaccountid": {
  16888. "description": "默认结算资金账号ID(机构分润使用) 作废",
  16889. "type": "integer"
  16890. },
  16891. "refercount": {
  16892. "description": "推荐总人数",
  16893. "type": "integer"
  16894. },
  16895. "refereeuserid": {
  16896. "description": "推荐人ID",
  16897. "type": "integer"
  16898. },
  16899. "refernum": {
  16900. "description": "推荐码",
  16901. "type": "string"
  16902. },
  16903. "rootuserid": {
  16904. "description": "根用户ID",
  16905. "type": "integer"
  16906. },
  16907. "subaccountlevel": {
  16908. "description": "子账户层数",
  16909. "type": "integer"
  16910. },
  16911. "subarealevelpath": {
  16912. "description": "子机构层级路径(逗号分隔,首尾加逗号)",
  16913. "type": "string"
  16914. },
  16915. "userid": {
  16916. "description": "用户ID",
  16917. "type": "integer"
  16918. },
  16919. "usertype": {
  16920. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  16921. "type": "integer"
  16922. }
  16923. }
  16924. },
  16925. "models.Ermcp3SellBuyContract": {
  16926. "type": "object",
  16927. "properties": {
  16928. "accountid": {
  16929. "description": "期货账户id",
  16930. "type": "string"
  16931. },
  16932. "accountname": {
  16933. "description": "账户名称",
  16934. "type": "string"
  16935. },
  16936. "attachment": {
  16937. "description": "附件",
  16938. "type": "string"
  16939. },
  16940. "audittime": {
  16941. "description": "审核时间",
  16942. "type": "string"
  16943. },
  16944. "biztype": {
  16945. "description": "业务类型 1-套保 2-套利",
  16946. "type": "integer"
  16947. },
  16948. "brandname": {
  16949. "description": "品牌名称",
  16950. "type": "string"
  16951. },
  16952. "contracctstatus": {
  16953. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  16954. "type": "integer"
  16955. },
  16956. "contractmargin": {
  16957. "description": "合同保证金",
  16958. "type": "number"
  16959. },
  16960. "contractno": {
  16961. "description": "合同编号",
  16962. "type": "string"
  16963. },
  16964. "contracttype": {
  16965. "description": "合同类型 1-采购, -1-销售",
  16966. "type": "integer"
  16967. },
  16968. "convertfactor": {
  16969. "description": "标仓系数(品类)",
  16970. "type": "number"
  16971. },
  16972. "createtime": {
  16973. "description": "创建时间",
  16974. "type": "string"
  16975. },
  16976. "currencyid": {
  16977. "description": "币种id",
  16978. "type": "integer"
  16979. },
  16980. "currencyname": {
  16981. "description": "币种名称",
  16982. "type": "string"
  16983. },
  16984. "daikaiamount": {
  16985. "description": "应收(开)票额",
  16986. "type": "number"
  16987. },
  16988. "deliveryenddate": {
  16989. "description": "交割结束日",
  16990. "type": "string"
  16991. },
  16992. "deliverygoodscode": {
  16993. "description": "现货品种代码",
  16994. "type": "string"
  16995. },
  16996. "deliverygoodsid": {
  16997. "description": "现货商品ID",
  16998. "type": "integer"
  16999. },
  17000. "deliverygoodsname": {
  17001. "description": "现货品种名称",
  17002. "type": "string"
  17003. },
  17004. "deliverystartdate": {
  17005. "description": "交割开始日",
  17006. "type": "string"
  17007. },
  17008. "enddate": {
  17009. "description": "点价结束日",
  17010. "type": "string"
  17011. },
  17012. "enumdicname": {
  17013. "description": "单位名称",
  17014. "type": "string"
  17015. },
  17016. "goodscode": {
  17017. "description": "点价商品代码",
  17018. "type": "string"
  17019. },
  17020. "goodsid": {
  17021. "description": "点价商品ID",
  17022. "type": "integer"
  17023. },
  17024. "goodsname": {
  17025. "description": "点价商品名称",
  17026. "type": "string"
  17027. },
  17028. "invoiceamount": {
  17029. "description": "已开票额",
  17030. "type": "number"
  17031. },
  17032. "loanamount": {
  17033. "description": "贷款总额=已定价额+调整金额",
  17034. "type": "number"
  17035. },
  17036. "margin": {
  17037. "description": "保证金",
  17038. "type": "number"
  17039. },
  17040. "meruserid": {
  17041. "description": "跟单员id",
  17042. "type": "integer"
  17043. },
  17044. "meruserlogincode": {
  17045. "description": "跟单员登录代码",
  17046. "type": "string"
  17047. },
  17048. "nickname": {
  17049. "description": "账户昵称",
  17050. "type": "string"
  17051. },
  17052. "payamount": {
  17053. "description": "已收付额(收款或付款)",
  17054. "type": "number"
  17055. },
  17056. "preinvoiceamount": {
  17057. "description": "预收(开)票额",
  17058. "type": "number"
  17059. },
  17060. "prepayamount": {
  17061. "description": "预收付额",
  17062. "type": "number"
  17063. },
  17064. "price": {
  17065. "description": "价格",
  17066. "type": "number"
  17067. },
  17068. "pricedamount": {
  17069. "description": "已定价额",
  17070. "type": "number"
  17071. },
  17072. "pricedavg": {
  17073. "description": "已点均价",
  17074. "type": "number"
  17075. },
  17076. "pricedqty": {
  17077. "description": "已定价量",
  17078. "type": "number"
  17079. },
  17080. "pricemove": {
  17081. "description": "升贴水",
  17082. "type": "number"
  17083. },
  17084. "pricetype": {
  17085. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  17086. "type": "integer"
  17087. },
  17088. "producttype": {
  17089. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  17090. "type": "integer"
  17091. },
  17092. "qty": {
  17093. "description": "合同量",
  17094. "type": "number"
  17095. },
  17096. "reckonadjustamount": {
  17097. "description": "调整金额",
  17098. "type": "number"
  17099. },
  17100. "reckonedamount": {
  17101. "description": "实际已收付额(已确定额,已收付总额-已退款总额)",
  17102. "type": "number"
  17103. },
  17104. "reckonotheramount": {
  17105. "description": "其它费用",
  17106. "type": "number"
  17107. },
  17108. "reckonrealqty": {
  17109. "description": "已确定量",
  17110. "type": "number"
  17111. },
  17112. "remark": {
  17113. "description": "备注",
  17114. "type": "string"
  17115. },
  17116. "saleuserid": {
  17117. "description": "业务员id",
  17118. "type": "integer"
  17119. },
  17120. "saleuserlogincode": {
  17121. "description": "业务员登录代码",
  17122. "type": "string"
  17123. },
  17124. "spotcontractid": {
  17125. "description": "合同ID",
  17126. "type": "string"
  17127. },
  17128. "spotgoodsbrandid": {
  17129. "description": "现货品牌ID(DGFactoryItem表的ID)",
  17130. "type": "integer"
  17131. },
  17132. "spotgoodsdesc": {
  17133. "description": "商品型号(商品规格)",
  17134. "type": "string"
  17135. },
  17136. "startdate": {
  17137. "description": "点价开始日",
  17138. "type": "string"
  17139. },
  17140. "totalamount": {
  17141. "description": "合计总额",
  17142. "type": "number"
  17143. },
  17144. "tradeuserid": {
  17145. "description": "交易员id",
  17146. "type": "integer"
  17147. },
  17148. "tradeuserlogincode": {
  17149. "description": "交易员登录代码",
  17150. "type": "string"
  17151. },
  17152. "tradeusername": {
  17153. "description": "交易员名称",
  17154. "type": "string"
  17155. },
  17156. "unpayamount": {
  17157. "description": "应收付款额(应支付或应收款)",
  17158. "type": "number"
  17159. },
  17160. "unpricedqty": {
  17161. "description": "未定价量",
  17162. "type": "number"
  17163. },
  17164. "unsureqty": {
  17165. "description": "未确定量",
  17166. "type": "number"
  17167. },
  17168. "userid": {
  17169. "description": "机构ID",
  17170. "type": "integer"
  17171. },
  17172. "wrstandardcode": {
  17173. "description": "品类代码",
  17174. "type": "string"
  17175. },
  17176. "wrstandardid": {
  17177. "description": "品类ID",
  17178. "type": "integer"
  17179. },
  17180. "wrstandardname": {
  17181. "description": "品类名称",
  17182. "type": "string"
  17183. }
  17184. }
  17185. },
  17186. "models.Ermcp3SpotGoodsPrice": {
  17187. "type": "object",
  17188. "properties": {
  17189. "areauserid": {
  17190. "description": "所属机构id",
  17191. "type": "integer"
  17192. },
  17193. "brandname": {
  17194. "description": "品牌名称",
  17195. "type": "string"
  17196. },
  17197. "currencyid": {
  17198. "description": "报价货币ID",
  17199. "type": "integer"
  17200. },
  17201. "currencyname": {
  17202. "description": "币种名称",
  17203. "type": "string"
  17204. },
  17205. "deliverygoodscode": {
  17206. "description": "现货商品代码",
  17207. "type": "string"
  17208. },
  17209. "deliverygoodsid": {
  17210. "description": "现货商品id",
  17211. "type": "integer"
  17212. },
  17213. "deliverygoodsname": {
  17214. "description": "现货商品名称",
  17215. "type": "string"
  17216. },
  17217. "enumdicname": {
  17218. "description": "现货商品单位名称",
  17219. "type": "string"
  17220. },
  17221. "gbenumdicname": {
  17222. "description": "品类单位名称",
  17223. "type": "string"
  17224. },
  17225. "gmunitid": {
  17226. "description": "品类单位id",
  17227. "type": "integer"
  17228. },
  17229. "isvalid": {
  17230. "description": "是否有效 - 0:无效 1:有效",
  17231. "type": "integer"
  17232. },
  17233. "operateid": {
  17234. "description": "最后操作人",
  17235. "type": "integer"
  17236. },
  17237. "operatesrc": {
  17238. "description": "最后操作来源 - 1:管理端 2:终端",
  17239. "type": "integer"
  17240. },
  17241. "operatetime": {
  17242. "description": "最后操作时间",
  17243. "type": "string"
  17244. },
  17245. "operatorname": {
  17246. "description": "操作人名称",
  17247. "type": "string"
  17248. },
  17249. "spotgoodsbrandid": {
  17250. "description": "现货品牌ID(通用则为0, 不为0则须先有品类ID)",
  17251. "type": "integer"
  17252. },
  17253. "spotgoodsprice": {
  17254. "description": "现货价格",
  17255. "type": "number"
  17256. },
  17257. "tradedate": {
  17258. "description": "交易日(yyyyMMdd)",
  17259. "type": "string"
  17260. },
  17261. "unitid": {
  17262. "description": "现货商品单位id",
  17263. "type": "integer"
  17264. },
  17265. "wrstandardcode": {
  17266. "description": "品类代码",
  17267. "type": "string"
  17268. },
  17269. "wrstandardid": {
  17270. "description": "现货品类ID(通用则为0)",
  17271. "type": "integer"
  17272. },
  17273. "wrstandardname": {
  17274. "description": "品类名称",
  17275. "type": "string"
  17276. }
  17277. }
  17278. },
  17279. "models.Ermcp3SpotGoodsPriceLog": {
  17280. "type": "object",
  17281. "properties": {
  17282. "areauserid": {
  17283. "description": "所属机构id",
  17284. "type": "integer"
  17285. },
  17286. "brandname": {
  17287. "description": "品牌名称",
  17288. "type": "string"
  17289. },
  17290. "currencyid": {
  17291. "description": "报价货币ID",
  17292. "type": "integer"
  17293. },
  17294. "deliverygoodscode": {
  17295. "description": "现货商品代码",
  17296. "type": "string"
  17297. },
  17298. "deliverygoodsid": {
  17299. "description": "现货商品id",
  17300. "type": "integer"
  17301. },
  17302. "deliverygoodsname": {
  17303. "description": "现货商品名称",
  17304. "type": "string"
  17305. },
  17306. "enumdicname": {
  17307. "description": "现货商品单位名称",
  17308. "type": "string"
  17309. },
  17310. "gbenumdicname": {
  17311. "description": "品类单位名称",
  17312. "type": "string"
  17313. },
  17314. "gmunitid": {
  17315. "description": "品类单位id",
  17316. "type": "integer"
  17317. },
  17318. "logid": {
  17319. "description": "日志id",
  17320. "type": "integer"
  17321. },
  17322. "operateid": {
  17323. "description": "最后操作人",
  17324. "type": "integer"
  17325. },
  17326. "operatesrc": {
  17327. "description": "最后操作来源 - 1:管理端 2:终端",
  17328. "type": "integer"
  17329. },
  17330. "operatetime": {
  17331. "description": "最后操作时间",
  17332. "type": "string"
  17333. },
  17334. "operatorname": {
  17335. "description": "操作人名称",
  17336. "type": "string"
  17337. },
  17338. "spotgoodsbrandid": {
  17339. "description": "现货品牌ID(通用则为0, 不为0则须先有品类ID)",
  17340. "type": "integer"
  17341. },
  17342. "spotgoodsprice": {
  17343. "description": "现货价格",
  17344. "type": "number"
  17345. },
  17346. "tradedate": {
  17347. "description": "交易日(yyyyMMdd)",
  17348. "type": "string"
  17349. },
  17350. "unitid": {
  17351. "description": "现货商品单位id",
  17352. "type": "integer"
  17353. },
  17354. "wrstandardcode": {
  17355. "description": "品类代码",
  17356. "type": "string"
  17357. },
  17358. "wrstandardid": {
  17359. "description": "现货品类ID(通用则为0)",
  17360. "type": "integer"
  17361. },
  17362. "wrstandardname": {
  17363. "description": "品类名称",
  17364. "type": "string"
  17365. }
  17366. }
  17367. },
  17368. "models.Ermcp3TaFutuReDataReport": {
  17369. "type": "object",
  17370. "properties": {
  17371. "accountid": {
  17372. "description": "交易账户",
  17373. "type": "integer"
  17374. },
  17375. "accountname": {
  17376. "description": "交易账号名称",
  17377. "type": "string"
  17378. },
  17379. "begindate": {
  17380. "description": "开始交易日",
  17381. "type": "string"
  17382. },
  17383. "buyorsell": {
  17384. "description": "持仓方向",
  17385. "type": "integer"
  17386. },
  17387. "charge": {
  17388. "description": "手续费",
  17389. "type": "number"
  17390. },
  17391. "closeavgprice": {
  17392. "description": "平仓均价",
  17393. "type": "number"
  17394. },
  17395. "closepl": {
  17396. "description": "平仓损益",
  17397. "type": "number"
  17398. },
  17399. "currencyid": {
  17400. "description": "结算币种ID",
  17401. "type": "integer"
  17402. },
  17403. "cycletime": {
  17404. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  17405. "type": "string"
  17406. },
  17407. "cycletype": {
  17408. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  17409. "type": "integer"
  17410. },
  17411. "enddate": {
  17412. "description": "结束交易日",
  17413. "type": "string"
  17414. },
  17415. "enumdicname": {
  17416. "description": "单位名称(现货商品)",
  17417. "type": "string"
  17418. },
  17419. "floatpl": {
  17420. "description": "浮动损益",
  17421. "type": "number"
  17422. },
  17423. "goodscode": {
  17424. "description": "交易合约代码",
  17425. "type": "string"
  17426. },
  17427. "goodsgroupid": {
  17428. "description": "交易品种",
  17429. "type": "integer"
  17430. },
  17431. "goodsgroupname": {
  17432. "description": "交易品种名称",
  17433. "type": "string"
  17434. },
  17435. "goodsgroupspotqty": {
  17436. "description": "交易品种期末量 (= 期末持仓量 * 合约乘数)",
  17437. "type": "number"
  17438. },
  17439. "goodsid": {
  17440. "description": "交易合约",
  17441. "type": "integer"
  17442. },
  17443. "goodsname": {
  17444. "description": "交易合约名称",
  17445. "type": "string"
  17446. },
  17447. "goodunitid": {
  17448. "description": "交易合约单位id",
  17449. "type": "integer"
  17450. },
  17451. "holdamount": {
  17452. "description": "期末持仓额",
  17453. "type": "number"
  17454. },
  17455. "holdqty": {
  17456. "description": "期末持仓量",
  17457. "type": "number"
  17458. },
  17459. "lastholdamount": {
  17460. "description": "当前持仓额",
  17461. "type": "number"
  17462. },
  17463. "lastprice": {
  17464. "description": "最新价",
  17465. "type": "number"
  17466. },
  17467. "middlegoodsqty": {
  17468. "description": "套保品种期末量 (=交易品种期末量 * 期货品种折算系数)",
  17469. "type": "number"
  17470. },
  17471. "openamount": {
  17472. "description": "期末开仓额",
  17473. "type": "number"
  17474. },
  17475. "openavgprice": {
  17476. "description": "开仓均价",
  17477. "type": "number"
  17478. },
  17479. "oriholdamount": {
  17480. "description": "期初持仓额",
  17481. "type": "number"
  17482. },
  17483. "oriholdqty": {
  17484. "description": "期初持仓量",
  17485. "type": "number"
  17486. },
  17487. "oriopenamount": {
  17488. "description": "期初开仓额",
  17489. "type": "number"
  17490. },
  17491. "outergroupcode": {
  17492. "description": "交易品种代码",
  17493. "type": "string"
  17494. },
  17495. "reckondate": {
  17496. "description": "日照时期(yyyyMMdd)",
  17497. "type": "string"
  17498. },
  17499. "reckonholdamount": {
  17500. "description": "结算持仓额",
  17501. "type": "number"
  17502. },
  17503. "reckonpl": {
  17504. "description": "结算损益",
  17505. "type": "number"
  17506. },
  17507. "reckonpl2": {
  17508. "description": "结算逐笔盈亏",
  17509. "type": "number"
  17510. },
  17511. "reckonprice": {
  17512. "description": "结算价",
  17513. "type": "number"
  17514. },
  17515. "relateduserid": {
  17516. "description": "账户关联用户ID",
  17517. "type": "integer"
  17518. },
  17519. "todaycloseamount": {
  17520. "description": "今平仓额",
  17521. "type": "number"
  17522. },
  17523. "todaycloseqty": {
  17524. "description": "今平仓量",
  17525. "type": "number"
  17526. },
  17527. "todaygoodsgroupspotqty": {
  17528. "description": "交易品种变化量 (=(期末持仓量 - 期初持仓量)* 合约乘数)",
  17529. "type": "number"
  17530. },
  17531. "todaymiddlegoodsqty": {
  17532. "description": "套保品种变化量 (= 交易品种变化量*期货品种折算系数)",
  17533. "type": "number"
  17534. },
  17535. "todayopenamount": {
  17536. "description": "今开仓额",
  17537. "type": "number"
  17538. },
  17539. "todayopenqty": {
  17540. "description": "今开仓量",
  17541. "type": "number"
  17542. },
  17543. "userid": {
  17544. "description": "账户所属用户ID",
  17545. "type": "integer"
  17546. }
  17547. }
  17548. },
  17549. "models.Ermcp3Wrstandard": {
  17550. "type": "object",
  17551. "properties": {
  17552. "areauserid": {
  17553. "description": "所属机构",
  17554. "type": "integer"
  17555. },
  17556. "convertfactor": {
  17557. "description": "标仓系数",
  17558. "type": "number"
  17559. },
  17560. "createtime": {
  17561. "description": "创建时间",
  17562. "type": "string"
  17563. },
  17564. "creatorid": {
  17565. "description": "创建人",
  17566. "type": "integer"
  17567. },
  17568. "deliverygoodsid": {
  17569. "description": "现货品种ID",
  17570. "type": "integer"
  17571. },
  17572. "enumdicname": {
  17573. "description": "品类单位名称",
  17574. "type": "string"
  17575. },
  17576. "isvalid": {
  17577. "description": "是否有效 0-无效(停用) 1-有效(正常)",
  17578. "type": "integer"
  17579. },
  17580. "minivalue": {
  17581. "description": "最小变动值",
  17582. "type": "integer"
  17583. },
  17584. "minivaluedp": {
  17585. "description": "最小变动值小数位",
  17586. "type": "integer"
  17587. },
  17588. "realminivalue": {
  17589. "description": "实际最小变动值",
  17590. "type": "integer"
  17591. },
  17592. "realminivaluedp": {
  17593. "description": "实际最小变动值小数位",
  17594. "type": "integer"
  17595. },
  17596. "remark": {
  17597. "description": "备注",
  17598. "type": "string"
  17599. },
  17600. "unitid": {
  17601. "description": "品类单位ID",
  17602. "type": "integer"
  17603. },
  17604. "updatetime": {
  17605. "description": "更新时间",
  17606. "type": "string"
  17607. },
  17608. "wrstandardcode": {
  17609. "description": "品类代码",
  17610. "type": "string"
  17611. },
  17612. "wrstandardid": {
  17613. "description": "品类ID(SEQ_WRSTANDARD)",
  17614. "type": "integer"
  17615. },
  17616. "wrstandardname": {
  17617. "description": "品类名称",
  17618. "type": "string"
  17619. }
  17620. }
  17621. },
  17622. "models.ErmcpAreaSpotDetailModel": {
  17623. "type": "object",
  17624. "properties": {
  17625. "contracttype": {
  17626. "description": "合同类型 1-采购 -1-销售",
  17627. "type": "integer"
  17628. },
  17629. "createtime": {
  17630. "description": "创建时间",
  17631. "type": "string"
  17632. },
  17633. "enumdicname": {
  17634. "description": "现货商品单位名称",
  17635. "type": "string"
  17636. },
  17637. "logtype": {
  17638. "description": "记录类型 1-套保 2-现货合同",
  17639. "type": "integer"
  17640. },
  17641. "qty": {
  17642. "description": "数量",
  17643. "type": "number"
  17644. },
  17645. "recordname": {
  17646. "description": "类型名称",
  17647. "type": "string"
  17648. },
  17649. "relatedid": {
  17650. "description": "套保计划ID/现货合同ID",
  17651. "type": "string"
  17652. },
  17653. "relatedno": {
  17654. "description": "编号",
  17655. "type": "string"
  17656. },
  17657. "strtime": {
  17658. "description": "时间",
  17659. "type": "string"
  17660. },
  17661. "wrstandardcode": {
  17662. "description": "现货商品代码",
  17663. "type": "string"
  17664. },
  17665. "wrstandardname": {
  17666. "description": "现货商品名称",
  17667. "type": "string"
  17668. }
  17669. }
  17670. },
  17671. "models.ErmcpAvalidGoodsGroupModel": {
  17672. "type": "object",
  17673. "properties": {
  17674. "goodsgroupid": {
  17675. "description": "期货品种id",
  17676. "type": "integer"
  17677. },
  17678. "goodsgroupname": {
  17679. "description": "期货品种名称",
  17680. "type": "string"
  17681. },
  17682. "goodunitid": {
  17683. "description": "品种单位id",
  17684. "type": "integer"
  17685. },
  17686. "goodunitname": {
  17687. "description": "品种单位名称",
  17688. "type": "string"
  17689. },
  17690. "outergroupcode": {
  17691. "description": "期货品种代码",
  17692. "type": "string"
  17693. }
  17694. }
  17695. },
  17696. "models.ErmcpBizGroupEx": {
  17697. "type": "object",
  17698. "properties": {
  17699. "acclist": {
  17700. "description": "账号列表",
  17701. "type": "array",
  17702. "items": {
  17703. "$ref": "#/definitions/models.ErmcpBizGroupTaAccount"
  17704. }
  17705. },
  17706. "bizgroupid": {
  17707. "description": "业务分组id",
  17708. "type": "integer"
  17709. },
  17710. "biztype": {
  17711. "description": "业务类型 1-套保 2-套利",
  17712. "type": "integer"
  17713. },
  17714. "wrlist": {
  17715. "description": "现货商品表",
  17716. "type": "array",
  17717. "items": {
  17718. "$ref": "#/definitions/models.ErmcpBizGroupSpotGoods"
  17719. }
  17720. }
  17721. }
  17722. },
  17723. "models.ErmcpBizGroupSpotGoods": {
  17724. "type": "object",
  17725. "properties": {
  17726. "areauserid": {
  17727. "description": "所属机构id",
  17728. "type": "integer"
  17729. },
  17730. "bizgroupid": {
  17731. "description": "分组id",
  17732. "type": "integer"
  17733. },
  17734. "biztype": {
  17735. "description": "业务类型 1-套保 2-套利",
  17736. "type": "integer"
  17737. },
  17738. "deliverygoodscode": {
  17739. "description": "现货商品代码",
  17740. "type": "string"
  17741. },
  17742. "deliverygoodsid": {
  17743. "description": "现货商品id",
  17744. "type": "integer"
  17745. },
  17746. "deliverygoodsname": {
  17747. "description": "现货商品名称",
  17748. "type": "string"
  17749. },
  17750. "unitid": {
  17751. "description": "现货商品单位id",
  17752. "type": "integer"
  17753. }
  17754. }
  17755. },
  17756. "models.ErmcpBizGroupTaAccount": {
  17757. "type": "object",
  17758. "properties": {
  17759. "accountid": {
  17760. "description": "账号id",
  17761. "type": "integer"
  17762. },
  17763. "accountname": {
  17764. "description": "账号名称",
  17765. "type": "string"
  17766. },
  17767. "areauserid": {
  17768. "description": "所属机构id",
  17769. "type": "integer"
  17770. },
  17771. "bizgroupid": {
  17772. "description": "业务分组id",
  17773. "type": "integer"
  17774. },
  17775. "ismain": {
  17776. "description": "是否主账号 1-是 0-否",
  17777. "type": "integer"
  17778. }
  17779. }
  17780. },
  17781. "models.ErmcpDGFactoryItem": {
  17782. "type": "object",
  17783. "properties": {
  17784. "areauserid": {
  17785. "description": "用户id",
  17786. "type": "integer"
  17787. },
  17788. "deliverygoodsid": {
  17789. "description": "现货品种ID",
  17790. "type": "integer"
  17791. },
  17792. "dgfactoryitemid": {
  17793. "description": "选择项ID(SEQ_DGFACTORYITEM)",
  17794. "type": "integer"
  17795. },
  17796. "dgfactoryitemtypeid": {
  17797. "description": "要素项类型",
  17798. "type": "integer"
  17799. },
  17800. "dgfactoryitemvalue": {
  17801. "description": "要素项值(类型为仓库时填写仓库名称)",
  17802. "type": "string"
  17803. },
  17804. "isvalid": {
  17805. "description": "是否有效 - 0:无效 1:有效",
  17806. "type": "integer"
  17807. },
  17808. "orderindex": {
  17809. "description": "顺序",
  17810. "type": "integer"
  17811. },
  17812. "warehouseid": {
  17813. "description": "仓库ID(类型为仓库时填写)",
  17814. "type": "integer"
  17815. }
  17816. }
  17817. },
  17818. "models.ErmcpDeliveryGoods": {
  17819. "type": "object",
  17820. "properties": {
  17821. "agreeunit": {
  17822. "description": "合约单位[散货时默认为1, 整装时默认为标准数量]",
  17823. "type": "integer"
  17824. },
  17825. "areauserid": {
  17826. "description": "所属机构",
  17827. "type": "integer"
  17828. },
  17829. "auditflag": {
  17830. "description": "交割是否需要审核 - 0:不需要 1:需要审核 默认为0",
  17831. "type": "integer"
  17832. },
  17833. "categoryid": {
  17834. "description": "类别ID(SEQ_WRCATEGORY)",
  17835. "type": "integer"
  17836. },
  17837. "deliverygoodscode": {
  17838. "description": "现货品种代码",
  17839. "type": "string"
  17840. },
  17841. "deliverygoodsid": {
  17842. "description": "现货品种ID(SEQ_DELIVERYGOODS)",
  17843. "type": "integer"
  17844. },
  17845. "deliverygoodsname": {
  17846. "description": "现货品种名称",
  17847. "type": "string"
  17848. },
  17849. "deliverygoodstype": {
  17850. "description": "现货品种类型: 1-整装不拆分 2-散装记录明细 3:整装拆分 4:散装不记录明细",
  17851. "type": "integer"
  17852. },
  17853. "dgstatus": {
  17854. "description": "品种状态 - 作废 - 0:未激活 1:正常",
  17855. "type": "integer"
  17856. },
  17857. "enumdicname": {
  17858. "description": "现货品种单位名称",
  17859. "type": "string"
  17860. },
  17861. "goodsunitid": {
  17862. "description": "现货品种单位ID",
  17863. "type": "integer"
  17864. },
  17865. "isvalid": {
  17866. "description": "是否有效 - 0:无效 1:有效",
  17867. "type": "integer"
  17868. },
  17869. "qtydecimalplace": {
  17870. "description": "成交量小数位",
  17871. "type": "integer"
  17872. },
  17873. "remark": {
  17874. "description": "备注",
  17875. "type": "string"
  17876. },
  17877. "standardqty": {
  17878. "description": "标准数量(库位数量) [标准品特有]",
  17879. "type": "integer"
  17880. },
  17881. "standardqtyrange": {
  17882. "description": "标准数量偏差范围 [标准品特有]",
  17883. "type": "integer"
  17884. }
  17885. }
  17886. },
  17887. "models.ErmcpDeliveryGoodsDetail2": {
  17888. "type": "object",
  17889. "properties": {
  17890. "convertratio": {
  17891. "description": "套保系数(折算系数)",
  17892. "type": "number"
  17893. },
  17894. "data": {
  17895. "description": "现货商品基本信息(交割品种)",
  17896. "type": "object",
  17897. "$ref": "#/definitions/models.ErmcpDeliveryGoods"
  17898. },
  17899. "gblist": {
  17900. "description": "品牌列表",
  17901. "type": "array",
  17902. "items": {
  17903. "$ref": "#/definitions/models.Ermcp3Brand"
  17904. }
  17905. },
  17906. "gmlist": {
  17907. "description": "品类列表(仓单标准)",
  17908. "type": "array",
  17909. "items": {
  17910. "$ref": "#/definitions/models.Ermcp3Wrstandard"
  17911. }
  17912. }
  17913. }
  17914. },
  17915. "models.ErmcpDeliveryGoodsDetailEx": {
  17916. "type": "object",
  17917. "properties": {
  17918. "data": {
  17919. "description": "现货商品基本信息(交割品种)",
  17920. "type": "object",
  17921. "$ref": "#/definitions/models.ErmcpDeliveryGoods"
  17922. },
  17923. "gblist": {
  17924. "description": "品牌列表",
  17925. "type": "array",
  17926. "items": {
  17927. "$ref": "#/definitions/models.Ermcp3Brand"
  17928. }
  17929. },
  17930. "gmlist": {
  17931. "description": "品类列表(仓单标准)",
  17932. "type": "array",
  17933. "items": {
  17934. "$ref": "#/definitions/models.Ermcp3Wrstandard"
  17935. }
  17936. },
  17937. "mgList": {
  17938. "description": "套保列表",
  17939. "type": "array",
  17940. "items": {
  17941. "$ref": "#/definitions/models.Ermcp3MiddleGoodsDetail2"
  17942. }
  17943. }
  17944. }
  17945. },
  17946. "models.ErmcpExposureDetailModel": {
  17947. "type": "object",
  17948. "properties": {
  17949. "areauserid": {
  17950. "description": "机构ID",
  17951. "type": "integer"
  17952. },
  17953. "changeQty": {
  17954. "description": "套保变动量",
  17955. "type": "number"
  17956. },
  17957. "contracttype": {
  17958. "description": "现货合同类型 - 1:采购 -1:销售",
  17959. "type": "integer"
  17960. },
  17961. "convertfactor": {
  17962. "description": "标仓系数",
  17963. "type": "number"
  17964. },
  17965. "convertratio": {
  17966. "description": "套保系数",
  17967. "type": "number"
  17968. },
  17969. "createtime": {
  17970. "description": "时间",
  17971. "type": "string"
  17972. },
  17973. "enumdicname": {
  17974. "description": "现货商品单位名称",
  17975. "type": "string"
  17976. },
  17977. "logtype": {
  17978. "description": "类型 - 1:套保计划 2:现货合同",
  17979. "type": "integer"
  17980. },
  17981. "middlegoodsId": {
  17982. "description": "套保商品id",
  17983. "type": "integer"
  17984. },
  17985. "middlegoodscode": {
  17986. "description": "套保商品代码",
  17987. "type": "string"
  17988. },
  17989. "middlegoodsname": {
  17990. "description": "套保商品名称",
  17991. "type": "string"
  17992. },
  17993. "qty": {
  17994. "description": "数量",
  17995. "type": "number"
  17996. },
  17997. "relateNo": {
  17998. "description": "现货合同/套保计划编号",
  17999. "type": "string"
  18000. },
  18001. "wrstandardcode": {
  18002. "description": "现货商品代码",
  18003. "type": "string"
  18004. },
  18005. "wrstandardid": {
  18006. "description": "现货商品ID",
  18007. "type": "integer"
  18008. },
  18009. "wrstandardname": {
  18010. "description": "现货商品名称",
  18011. "type": "string"
  18012. }
  18013. }
  18014. },
  18015. "models.ErmcpExposurePostion": {
  18016. "type": "object",
  18017. "properties": {
  18018. "agreeunit": {
  18019. "description": "合约单位",
  18020. "type": "string"
  18021. },
  18022. "areauserid": {
  18023. "description": "所属机构id",
  18024. "type": "integer"
  18025. },
  18026. "convertratio": {
  18027. "description": "期货品种系数(折算系数)",
  18028. "type": "number"
  18029. },
  18030. "curqty": {
  18031. "description": "当前持仓",
  18032. "type": "integer"
  18033. },
  18034. "diffhedgeqty": {
  18035. "description": "套保品种变动量=持仓变动量*期货合约单位*期货品种系数",
  18036. "type": "number"
  18037. },
  18038. "diffqty": {
  18039. "description": "持仓变动量=当前持仓-昨日持仓",
  18040. "type": "integer"
  18041. },
  18042. "goodscode": {
  18043. "description": "商品代码",
  18044. "type": "string"
  18045. },
  18046. "goodsid": {
  18047. "description": "商品id",
  18048. "type": "integer"
  18049. },
  18050. "goodsname": {
  18051. "description": "商品名称",
  18052. "type": "string"
  18053. },
  18054. "middlegoodsid": {
  18055. "description": "套保商品id",
  18056. "type": "integer"
  18057. },
  18058. "ydqty": {
  18059. "description": "昨日持仓",
  18060. "type": "integer"
  18061. }
  18062. }
  18063. },
  18064. "models.ErmcpFuturesCompany": {
  18065. "type": "object",
  18066. "properties": {
  18067. "brokerid": {
  18068. "description": "经纪公司代码",
  18069. "type": "string"
  18070. },
  18071. "channeladdress": {
  18072. "description": "对冲渠道服务地址(多个地址用逗号分隔) -- 192.168.30.10:3000,192.168.30.10:3001",
  18073. "type": "string"
  18074. },
  18075. "channelid": {
  18076. "description": "对冲渠道ID",
  18077. "type": "string"
  18078. },
  18079. "createtime": {
  18080. "description": "创建时间",
  18081. "type": "string"
  18082. },
  18083. "creatorid": {
  18084. "description": "创建人",
  18085. "type": "string"
  18086. },
  18087. "fcid": {
  18088. "description": "期货公司ID(SEQ_ERMCP_FUTURESCOMPANY)",
  18089. "type": "integer"
  18090. },
  18091. "fcname": {
  18092. "description": "期货公司名称",
  18093. "type": "string"
  18094. },
  18095. "isvalid": {
  18096. "description": "是否有效 - 0:无效 1:有效",
  18097. "type": "integer"
  18098. },
  18099. "mhpaddress": {
  18100. "description": "MHP服务地址(IP:Port)",
  18101. "type": "string"
  18102. },
  18103. "riskrulegroupid": {
  18104. "description": "风控规则组ID",
  18105. "type": "string"
  18106. },
  18107. "tradefeetmpid": {
  18108. "description": "手续费模板ID[TradeConfigTmpType为2]",
  18109. "type": "string"
  18110. },
  18111. "trademargintmpid": {
  18112. "description": "保证金模板ID [TradeConfigTmpType为1]",
  18113. "type": "string"
  18114. },
  18115. "traderatetmpid": {
  18116. "description": "汇率模板ID[TradeConfigTmpType为3]",
  18117. "type": "string"
  18118. },
  18119. "updatetime": {
  18120. "description": "更新时间",
  18121. "type": "string"
  18122. },
  18123. "updatorid": {
  18124. "description": "更新人",
  18125. "type": "string"
  18126. }
  18127. }
  18128. },
  18129. "models.ErmcpGGConvertCfg": {
  18130. "type": "object",
  18131. "properties": {
  18132. "convertratio": {
  18133. "description": "折算系数",
  18134. "type": "number"
  18135. },
  18136. "destgoodsgroupid": {
  18137. "description": "目标品种ID",
  18138. "type": "integer"
  18139. },
  18140. "dstcode": {
  18141. "description": "目录品种代码",
  18142. "type": "string"
  18143. },
  18144. "dstexchangecode": {
  18145. "description": "目标期货交易所",
  18146. "type": "string"
  18147. },
  18148. "dstname": {
  18149. "description": "目标品种名称",
  18150. "type": "string"
  18151. },
  18152. "dstunitid": {
  18153. "description": "目标品种单位ID",
  18154. "type": "integer"
  18155. },
  18156. "dstunitidname": {
  18157. "description": "目标品种单位名称",
  18158. "type": "string"
  18159. },
  18160. "modifytime": {
  18161. "description": "修改时间",
  18162. "type": "string"
  18163. },
  18164. "srccode": {
  18165. "description": "源品种代码",
  18166. "type": "string"
  18167. },
  18168. "srcexchangecode": {
  18169. "description": "源期货交易所",
  18170. "type": "string"
  18171. },
  18172. "srcgoodsgroupid": {
  18173. "description": "源品种ID",
  18174. "type": "integer"
  18175. },
  18176. "srcname": {
  18177. "description": "源品种名称",
  18178. "type": "string"
  18179. },
  18180. "srcunitid": {
  18181. "description": "源品种单位ID",
  18182. "type": "integer"
  18183. },
  18184. "srcunitidname": {
  18185. "description": "源品种单位名称",
  18186. "type": "string"
  18187. }
  18188. }
  18189. },
  18190. "models.ErmcpGoods": {
  18191. "type": "object",
  18192. "required": [
  18193. "goodscode",
  18194. "goodsid",
  18195. "goodsname",
  18196. "marketid"
  18197. ],
  18198. "properties": {
  18199. "agreeunit": {
  18200. "description": "合约单位",
  18201. "type": "number"
  18202. },
  18203. "areauserid": {
  18204. "description": "所属机构",
  18205. "type": "integer"
  18206. },
  18207. "auditaccountid": {
  18208. "description": "审核操作员账号",
  18209. "type": "integer"
  18210. },
  18211. "audittime": {
  18212. "description": "审核时间",
  18213. "type": "string"
  18214. },
  18215. "cancelaccountid": {
  18216. "description": "注销操作员账号",
  18217. "type": "integer"
  18218. },
  18219. "canceltime": {
  18220. "description": "注销时间",
  18221. "type": "string"
  18222. },
  18223. "closepricemode": {
  18224. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  18225. "type": "integer"
  18226. },
  18227. "closepriceparam": {
  18228. "description": "强平最新价浮动比例 - 方式为2时使用 (\u003c1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价",
  18229. "type": "number"
  18230. },
  18231. "createtime": {
  18232. "description": "创建时间",
  18233. "type": "string"
  18234. },
  18235. "creatorid": {
  18236. "description": "创建人",
  18237. "type": "integer"
  18238. },
  18239. "currencyid": {
  18240. "description": "报价货币ID",
  18241. "type": "integer"
  18242. },
  18243. "cutmode": {
  18244. "description": "斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓",
  18245. "type": "integer"
  18246. },
  18247. "decimalplace": {
  18248. "description": "报价小数位",
  18249. "type": "integer"
  18250. },
  18251. "delistingdate": {
  18252. "description": "商品退市时间(状态:退市) -- 已作废",
  18253. "type": "string"
  18254. },
  18255. "delistingmode": {
  18256. "description": "退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\\币币兑换)",
  18257. "type": "integer"
  18258. },
  18259. "deliveryflag": {
  18260. "description": "交割标志 - 0:不可交割 1:可交割",
  18261. "type": "integer"
  18262. },
  18263. "enumdicname": {
  18264. "description": "单位名称",
  18265. "type": "string"
  18266. },
  18267. "forceclosemode": {
  18268. "description": "定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]",
  18269. "type": "integer"
  18270. },
  18271. "forceclosevalue": {
  18272. "description": "定期强平参数 [收益权]",
  18273. "type": "integer"
  18274. },
  18275. "goodscode": {
  18276. "description": "商品代码(内部)",
  18277. "type": "string"
  18278. },
  18279. "goodscurrencyid": {
  18280. "description": "合约货币ID",
  18281. "type": "integer"
  18282. },
  18283. "goodsgroupid": {
  18284. "description": "所属商品组ID",
  18285. "type": "integer"
  18286. },
  18287. "goodsid": {
  18288. "description": "商品ID(自增ID SEQ_GOODS)",
  18289. "type": "integer"
  18290. },
  18291. "goodsname": {
  18292. "description": "商品名称",
  18293. "type": "string"
  18294. },
  18295. "goodsquotetype": {
  18296. "description": "合约报价类型: 1-直接报价 2-间接报价",
  18297. "type": "integer"
  18298. },
  18299. "goodsstatus": {
  18300. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  18301. "type": "integer"
  18302. },
  18303. "goodstradetype": {
  18304. "description": "商品交易权限类型 - 1:可建可平 3:不可建可平",
  18305. "type": "integer"
  18306. },
  18307. "goodunitid": {
  18308. "description": "报价单位ID",
  18309. "type": "integer"
  18310. },
  18311. "hasquoter": {
  18312. "description": "是否有报价商 - 0:无报价商 1:有报价商",
  18313. "type": "integer"
  18314. },
  18315. "hqprotecttime": {
  18316. "description": "行情保护时间(秒)",
  18317. "type": "integer"
  18318. },
  18319. "innerdealmode": {
  18320. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  18321. "type": "integer"
  18322. },
  18323. "isbuylimited": {
  18324. "description": "是否限制建仓量 - 0:不限制 1:限制",
  18325. "type": "integer"
  18326. },
  18327. "isvisible": {
  18328. "description": "游客是否可见 - 0:不可见 1:可见",
  18329. "type": "integer"
  18330. },
  18331. "lasttradedate": {
  18332. "description": "最后交易日期(状态:待退市)",
  18333. "type": "string"
  18334. },
  18335. "listingdate": {
  18336. "description": "交易开始日期",
  18337. "type": "string"
  18338. },
  18339. "marketid": {
  18340. "description": "所属市场ID",
  18341. "type": "integer"
  18342. },
  18343. "modifierid": {
  18344. "description": "修改人",
  18345. "type": "integer"
  18346. },
  18347. "modifystatus": {
  18348. "description": "变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核",
  18349. "type": "integer"
  18350. },
  18351. "modifytime": {
  18352. "description": "修改时间",
  18353. "type": "string"
  18354. },
  18355. "outerdealmode": {
  18356. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  18357. "type": "integer"
  18358. },
  18359. "outgoodscode": {
  18360. "description": "商品代码(外部)",
  18361. "type": "string"
  18362. },
  18363. "pictureurl": {
  18364. "description": "商品图片",
  18365. "type": "string"
  18366. },
  18367. "qtydecimalplace": {
  18368. "description": "成交量小数位",
  18369. "type": "integer"
  18370. },
  18371. "quotegear": {
  18372. "description": "行情档位(1-10)",
  18373. "type": "integer"
  18374. },
  18375. "quoteminunit": {
  18376. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  18377. "type": "integer"
  18378. },
  18379. "quoteshowtype": {
  18380. "description": "行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价",
  18381. "type": "integer"
  18382. },
  18383. "quoteshowtypeinterval": {
  18384. "description": "行情报价间隔时间(秒)(成交价时为0)",
  18385. "type": "integer"
  18386. },
  18387. "relatedgoodsid": {
  18388. "description": "关联参考商品ID",
  18389. "type": "integer"
  18390. },
  18391. "remark": {
  18392. "description": "备注",
  18393. "type": "string"
  18394. },
  18395. "trademode": {
  18396. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  18397. "type": "integer"
  18398. }
  18399. }
  18400. },
  18401. "models.ErmcpGoodsBrand": {
  18402. "type": "object",
  18403. "properties": {
  18404. "areauserid": {
  18405. "description": "所属机构",
  18406. "type": "integer"
  18407. },
  18408. "brandid": {
  18409. "description": "BrandID(SEQ_SPOTGOODSBRAND)",
  18410. "type": "integer"
  18411. },
  18412. "brandname": {
  18413. "description": "品牌名称",
  18414. "type": "string"
  18415. },
  18416. "createtime": {
  18417. "description": "创建时间",
  18418. "type": "string"
  18419. },
  18420. "creatorid": {
  18421. "description": "创建人",
  18422. "type": "integer"
  18423. },
  18424. "creatorsrc": {
  18425. "description": "创建人来源 - 1:管理端 2:终端",
  18426. "type": "integer"
  18427. },
  18428. "deliverygoodsid": {
  18429. "description": "现货品种ID",
  18430. "type": "integer"
  18431. },
  18432. "isvalid": {
  18433. "description": "是否有效 - 0:无效 1:有效",
  18434. "type": "integer"
  18435. },
  18436. "updatetime": {
  18437. "description": "更新时间",
  18438. "type": "string"
  18439. },
  18440. "updatorid": {
  18441. "description": "更新人",
  18442. "type": "integer"
  18443. },
  18444. "updatorsrc": {
  18445. "description": "更新人来源 - 1:管理端 2:终端",
  18446. "type": "integer"
  18447. },
  18448. "wrstandardid": {
  18449. "description": "现货商品ID",
  18450. "type": "integer"
  18451. }
  18452. }
  18453. },
  18454. "models.ErmcpGoodsModel": {
  18455. "type": "object",
  18456. "properties": {
  18457. "areauserid": {
  18458. "description": "所属机构",
  18459. "type": "integer"
  18460. },
  18461. "convertfactor": {
  18462. "description": "标仓系数",
  18463. "type": "number"
  18464. },
  18465. "createtime": {
  18466. "description": "创建时间",
  18467. "type": "string"
  18468. },
  18469. "creatorid": {
  18470. "description": "创建人",
  18471. "type": "integer"
  18472. },
  18473. "creatorsrc": {
  18474. "description": "创建人来源 - 1:管理端 2:终端",
  18475. "type": "integer"
  18476. },
  18477. "deliverygoodsid": {
  18478. "description": "现货品种ID",
  18479. "type": "integer"
  18480. },
  18481. "isvalid": {
  18482. "description": "是否有效 - 0:无效 1:有效",
  18483. "type": "integer"
  18484. },
  18485. "modelid": {
  18486. "description": "ModelID(SEQ_SPOTGOODSMODEL)",
  18487. "type": "integer"
  18488. },
  18489. "modelname": {
  18490. "description": "型号名称",
  18491. "type": "string"
  18492. },
  18493. "updatetime": {
  18494. "description": "更新时间",
  18495. "type": "string"
  18496. },
  18497. "updatorid": {
  18498. "description": "更新人",
  18499. "type": "integer"
  18500. },
  18501. "updatorsrc": {
  18502. "description": "更新人来源 - 1:管理端 2:终端",
  18503. "type": "integer"
  18504. },
  18505. "wrstandardid": {
  18506. "description": "现货商品ID",
  18507. "type": "integer"
  18508. }
  18509. }
  18510. },
  18511. "models.ErmcpHedgePosition": {
  18512. "type": "object",
  18513. "properties": {
  18514. "accountid": {
  18515. "description": "资金账号[外部母账户]",
  18516. "type": "integer"
  18517. },
  18518. "curbuyposition": {
  18519. "description": "期末买头寸",
  18520. "type": "integer"
  18521. },
  18522. "cursellposition": {
  18523. "description": "期末卖头寸",
  18524. "type": "integer"
  18525. },
  18526. "curtdbuyposition": {
  18527. "description": "期末今日买头寸",
  18528. "type": "integer"
  18529. },
  18530. "curtdsellposition": {
  18531. "description": "期末今日卖头寸",
  18532. "type": "integer"
  18533. },
  18534. "curydbuyposition": {
  18535. "description": "期末上日买头寸",
  18536. "type": "integer"
  18537. },
  18538. "curydsellposition": {
  18539. "description": "期末上日卖头寸",
  18540. "type": "integer"
  18541. },
  18542. "decreaseqty": {
  18543. "description": "减少数量 = (期末卖头寸 - 期初卖头寸)*-1",
  18544. "type": "integer"
  18545. },
  18546. "fretdbuyposition": {
  18547. "description": "冻结今日买头寸",
  18548. "type": "integer"
  18549. },
  18550. "fretdsellposition": {
  18551. "description": "冻结今日卖头寸",
  18552. "type": "integer"
  18553. },
  18554. "freydbuyposition": {
  18555. "description": "冻结上日买头寸",
  18556. "type": "integer"
  18557. },
  18558. "freydsellposition": {
  18559. "description": "冻结上日卖头寸",
  18560. "type": "integer"
  18561. },
  18562. "goodscode": {
  18563. "description": "商品代码",
  18564. "type": "string"
  18565. },
  18566. "goodsid": {
  18567. "description": "商品id",
  18568. "type": "integer"
  18569. },
  18570. "goodsname": {
  18571. "description": "商品名称",
  18572. "type": "string"
  18573. },
  18574. "hedgeaccountcode": {
  18575. "description": "对冲账号",
  18576. "type": "string"
  18577. },
  18578. "hedgegoodsid": {
  18579. "description": "对冲合约ID",
  18580. "type": "integer"
  18581. },
  18582. "increaseqty": {
  18583. "description": "增加数量 = 期末买头寸 - 期初买头寸",
  18584. "type": "integer"
  18585. },
  18586. "marketid": {
  18587. "description": "市场ID",
  18588. "type": "integer"
  18589. },
  18590. "relateduserid": {
  18591. "description": "关联用户id",
  18592. "type": "integer"
  18593. },
  18594. "totalcurqty": {
  18595. "description": "当前数量(净头寸) = 期末买头寸 - 期末卖头寸",
  18596. "type": "integer"
  18597. },
  18598. "totalydqty": {
  18599. "description": "昨日数量(净头寸) = 期初买头寸 - 期初卖头寸",
  18600. "type": "integer"
  18601. },
  18602. "tradedate": {
  18603. "description": "交易日(yyyyMMdd)",
  18604. "type": "string"
  18605. },
  18606. "ydbuyposition": {
  18607. "description": "期初买头寸",
  18608. "type": "integer"
  18609. },
  18610. "ydsellposition": {
  18611. "description": "期初卖头寸",
  18612. "type": "integer"
  18613. }
  18614. }
  18615. },
  18616. "models.ErmcpHedgePositionDetail": {
  18617. "type": "object",
  18618. "properties": {
  18619. "buyorsell": {
  18620. "description": "买卖方向 0-买 1-卖",
  18621. "type": "integer"
  18622. },
  18623. "channelbuildtype": {
  18624. "description": "开平方向 1-建仓 2-平仓",
  18625. "type": "integer"
  18626. },
  18627. "goodscode": {
  18628. "description": "商品代码",
  18629. "type": "string"
  18630. },
  18631. "goodsname": {
  18632. "description": "商品名称",
  18633. "type": "string"
  18634. },
  18635. "hedgegoodsid": {
  18636. "description": "商品id",
  18637. "type": "integer"
  18638. },
  18639. "tradeqty": {
  18640. "description": "数量(成交数量)",
  18641. "type": "integer"
  18642. },
  18643. "tradetime": {
  18644. "description": "时间(成交时间)",
  18645. "type": "string"
  18646. }
  18647. }
  18648. },
  18649. "models.ErmcpHisExposure": {
  18650. "type": "object",
  18651. "properties": {
  18652. "needhedgeexposoure": {
  18653. "description": "应套保敞口",
  18654. "type": "number"
  18655. },
  18656. "reckondate": {
  18657. "description": "日照时期(yyyyMMdd)",
  18658. "type": "string"
  18659. },
  18660. "totalexposure": {
  18661. "description": "总敞口",
  18662. "type": "number"
  18663. }
  18664. }
  18665. },
  18666. "models.ErmcpHisExposureS": {
  18667. "type": "object",
  18668. "properties": {
  18669. "data": {
  18670. "description": "历史敞口",
  18671. "type": "array",
  18672. "items": {
  18673. "$ref": "#/definitions/models.ErmcpHisExposure"
  18674. }
  18675. },
  18676. "enumdicname": {
  18677. "description": "单位名称",
  18678. "type": "string"
  18679. },
  18680. "middlegoodscode": {
  18681. "description": "套保品种代码",
  18682. "type": "string"
  18683. },
  18684. "middlegoodsid": {
  18685. "description": "套保品种ID",
  18686. "type": "integer"
  18687. },
  18688. "middlegoodsname": {
  18689. "description": "套保品种名称",
  18690. "type": "string"
  18691. }
  18692. }
  18693. },
  18694. "models.ErmcpLoginTaAccount": {
  18695. "type": "object",
  18696. "properties": {
  18697. "accountid": {
  18698. "description": "账号id",
  18699. "type": "integer"
  18700. },
  18701. "accountname": {
  18702. "description": "账号名称",
  18703. "type": "string"
  18704. }
  18705. }
  18706. },
  18707. "models.ErmcpLoginUser": {
  18708. "type": "object",
  18709. "properties": {
  18710. "acclist": {
  18711. "description": "关联资金账号",
  18712. "type": "array",
  18713. "items": {
  18714. "$ref": "#/definitions/models.ErmcpLoginTaAccount"
  18715. }
  18716. },
  18717. "accountname": {
  18718. "description": "用户名称",
  18719. "type": "string"
  18720. },
  18721. "clientroleid": {
  18722. "description": "角色id(usertype=2)",
  18723. "type": "integer"
  18724. },
  18725. "createtime": {
  18726. "description": "创建时间",
  18727. "type": "string"
  18728. },
  18729. "logincode": {
  18730. "description": "登录代码",
  18731. "type": "string"
  18732. },
  18733. "loginid": {
  18734. "description": "登录id(LOGINID)",
  18735. "type": "integer"
  18736. },
  18737. "loginname": {
  18738. "description": "登录名称(loginaccount表中的accountname字段)",
  18739. "type": "string"
  18740. },
  18741. "loginstatus": {
  18742. "description": "登录账户状态 - 1:正常 2:冻结 3:无效",
  18743. "type": "integer"
  18744. },
  18745. "memberuserid": {
  18746. "description": "所属会员id",
  18747. "type": "integer"
  18748. },
  18749. "mobile": {
  18750. "description": "手机号",
  18751. "type": "string"
  18752. },
  18753. "modifytime": {
  18754. "description": "修改时间",
  18755. "type": "string"
  18756. },
  18757. "password": {
  18758. "description": "密码(不可解密)",
  18759. "type": "string"
  18760. },
  18761. "rolename": {
  18762. "description": "角色名称",
  18763. "type": "string"
  18764. },
  18765. "rolestatus": {
  18766. "description": "角色状态 1-启用 2-停用",
  18767. "type": "integer"
  18768. },
  18769. "roletype": {
  18770. "description": "角色类型(逗号隔开,如22,23), 22:业务员 23:跟单员 24:交易员",
  18771. "type": "string"
  18772. },
  18773. "userid": {
  18774. "description": "用户id",
  18775. "type": "integer"
  18776. },
  18777. "usertype": {
  18778. "description": "用户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  18779. "type": "integer"
  18780. }
  18781. }
  18782. },
  18783. "models.ErmcpLoginUserEx": {
  18784. "type": "object",
  18785. "properties": {
  18786. "accountstatus": {
  18787. "description": "账户的状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  18788. "type": "integer"
  18789. },
  18790. "mobile": {
  18791. "description": "手机号",
  18792. "type": "string"
  18793. },
  18794. "querytype": {
  18795. "description": "查询类型 1-业务账户 2-交易账户 3-管理账户",
  18796. "type": "integer"
  18797. },
  18798. "roleid": {
  18799. "description": "角色id(交易账户-\u003e用户id)",
  18800. "type": "integer"
  18801. },
  18802. "rolename": {
  18803. "description": "角色名称(交易账户-\u003e用户名称)",
  18804. "type": "string"
  18805. },
  18806. "userlist": {
  18807. "description": "用户列表",
  18808. "type": "array",
  18809. "items": {
  18810. "$ref": "#/definitions/models.ErmcpLoginUser"
  18811. }
  18812. },
  18813. "usertype": {
  18814. "description": "用户类型 2-机构 7-企业成员(云平台)",
  18815. "type": "integer"
  18816. }
  18817. }
  18818. },
  18819. "models.ErmcpMiddleGoodsChangeLog": {
  18820. "type": "object",
  18821. "properties": {
  18822. "aftervalue": {
  18823. "description": "变更后",
  18824. "type": "number"
  18825. },
  18826. "applyid": {
  18827. "description": "操作人",
  18828. "type": "integer"
  18829. },
  18830. "applyname": {
  18831. "description": "操作人名称",
  18832. "type": "string"
  18833. },
  18834. "applysrc": {
  18835. "description": "操作来源 - 1:管理端 2:终端",
  18836. "type": "integer"
  18837. },
  18838. "beforevalue": {
  18839. "description": "变更前",
  18840. "type": "number"
  18841. },
  18842. "changelogtype": {
  18843. "description": "变更流水类型 - 1:套保比率变更",
  18844. "type": "integer"
  18845. },
  18846. "handlestatus": {
  18847. "description": "处理状态",
  18848. "type": "integer"
  18849. },
  18850. "logdatetime": {
  18851. "description": "流水日期",
  18852. "type": "string"
  18853. },
  18854. "logid": {
  18855. "description": "流水ID",
  18856. "type": "integer"
  18857. },
  18858. "logremark": {
  18859. "description": "流水备注",
  18860. "type": "string"
  18861. },
  18862. "middlegoodsid": {
  18863. "description": "套保品种ID",
  18864. "type": "integer"
  18865. },
  18866. "tradedate": {
  18867. "description": "交易日(yyyyMMdd)",
  18868. "type": "string"
  18869. },
  18870. "updatetime": {
  18871. "description": "更新时间",
  18872. "type": "string"
  18873. }
  18874. }
  18875. },
  18876. "models.ErmcpMiddleGoodsDetail": {
  18877. "type": "object",
  18878. "properties": {
  18879. "cvList": {
  18880. "description": "期货品种折算列表",
  18881. "type": "array",
  18882. "items": {
  18883. "$ref": "#/definitions/models.ErmcpGGConvertCfg"
  18884. }
  18885. },
  18886. "mg": {
  18887. "description": "套保品种基本信息",
  18888. "type": "object",
  18889. "$ref": "#/definitions/models.ErmcpMiddleGoodsModel"
  18890. },
  18891. "wrcList": {
  18892. "description": "现货品种列表(现货商品折算配置)",
  18893. "type": "array",
  18894. "items": {
  18895. "$ref": "#/definitions/models.WRSConverTDetail"
  18896. }
  18897. }
  18898. }
  18899. },
  18900. "models.ErmcpMiddleGoodsModel": {
  18901. "type": "object",
  18902. "properties": {
  18903. "areauserid": {
  18904. "description": "机构用户ID",
  18905. "type": "integer"
  18906. },
  18907. "createtime": {
  18908. "description": "修改时间",
  18909. "type": "string"
  18910. },
  18911. "enumdicname": {
  18912. "description": "单位名称",
  18913. "type": "string"
  18914. },
  18915. "evaluateratio": {
  18916. "description": "估价系数",
  18917. "type": "number"
  18918. },
  18919. "goodsgroupid": {
  18920. "description": "关联期货品种ID",
  18921. "type": "integer"
  18922. },
  18923. "goodsunitid": {
  18924. "description": "单位ID",
  18925. "type": "integer"
  18926. },
  18927. "isvalid": {
  18928. "description": "状态 0-无效(停用) 1-有效(正常)",
  18929. "type": "integer"
  18930. },
  18931. "middlegoodscode": {
  18932. "description": "套保品种代码",
  18933. "type": "string"
  18934. },
  18935. "middlegoodsid": {
  18936. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  18937. "type": "integer"
  18938. },
  18939. "middlegoodsname": {
  18940. "description": "套保品种名称",
  18941. "type": "string"
  18942. },
  18943. "modifytime": {
  18944. "description": "修改时间",
  18945. "type": "string"
  18946. },
  18947. "needarbitrageratio": {
  18948. "description": "套利比例",
  18949. "type": "number"
  18950. },
  18951. "needhedgeratio": {
  18952. "description": "套保比率",
  18953. "type": "number"
  18954. },
  18955. "qtydecimalplace": {
  18956. "description": "数量小数位",
  18957. "type": "integer"
  18958. },
  18959. "relatedgoodsid": {
  18960. "description": "关联交易商品ID",
  18961. "type": "integer"
  18962. },
  18963. "relatedgoodstype": {
  18964. "description": "关联商品类型 - 1:期货合约 2:现货品种",
  18965. "type": "integer"
  18966. },
  18967. "remark": {
  18968. "description": "备注",
  18969. "type": "string"
  18970. }
  18971. }
  18972. },
  18973. "models.ErmcpMiddlegoodsRelateGoods": {
  18974. "type": "object",
  18975. "properties": {
  18976. "agreeunit": {
  18977. "description": "合约乘数",
  18978. "type": "number"
  18979. },
  18980. "convertratio": {
  18981. "description": "折算系数",
  18982. "type": "number"
  18983. },
  18984. "enumdicname": {
  18985. "description": "单位名称(交易商品)",
  18986. "type": "string"
  18987. },
  18988. "goodscode": {
  18989. "description": "交易商品代码",
  18990. "type": "string"
  18991. },
  18992. "goodsgroupid": {
  18993. "description": "交易品种id",
  18994. "type": "integer"
  18995. },
  18996. "goodsid": {
  18997. "description": "商品Id",
  18998. "type": "integer"
  18999. },
  19000. "goodsname": {
  19001. "description": "交易商品名称",
  19002. "type": "string"
  19003. },
  19004. "goodunitid": {
  19005. "description": "交易商品单位id",
  19006. "type": "integer"
  19007. },
  19008. "middlegoodsid": {
  19009. "description": "套保商品id",
  19010. "type": "integer"
  19011. },
  19012. "middlegoodsname": {
  19013. "description": "套保商品名称",
  19014. "type": "string"
  19015. },
  19016. "middlegoodsswcode": {
  19017. "description": "套保商品代码",
  19018. "type": "string"
  19019. },
  19020. "needarbitrageratio": {
  19021. "description": "应套利比例",
  19022. "type": "number"
  19023. },
  19024. "needhedgeratio": {
  19025. "description": "应套保比例",
  19026. "type": "number"
  19027. }
  19028. }
  19029. },
  19030. "models.ErmcpOPLogModel": {
  19031. "type": "object",
  19032. "properties": {
  19033. "aftervalue": {
  19034. "description": "变更后",
  19035. "type": "number"
  19036. },
  19037. "applyid": {
  19038. "description": "操作人ID",
  19039. "type": "string"
  19040. },
  19041. "applyname": {
  19042. "description": "操作人名称",
  19043. "type": "string"
  19044. },
  19045. "beforevalue": {
  19046. "description": "变更前",
  19047. "type": "number"
  19048. },
  19049. "biztype": {
  19050. "description": "业务类型 - 1:套保计划 2:现货合同",
  19051. "type": "integer"
  19052. },
  19053. "contracttype": {
  19054. "description": "现货合同类型 - 1:采购 -1:销售",
  19055. "type": "integer"
  19056. },
  19057. "logvalue": {
  19058. "description": "数值",
  19059. "type": "number"
  19060. },
  19061. "operatelogtype": {
  19062. "description": "操作流水类型",
  19063. "type": "integer"
  19064. },
  19065. "operatelogtypedesc": {
  19066. "description": "操作流水类型名称",
  19067. "type": "string"
  19068. },
  19069. "relatedid": {
  19070. "description": "现货合同ID\\套保计划",
  19071. "type": "string"
  19072. },
  19073. "updatetime": {
  19074. "description": "更新时间",
  19075. "type": "string"
  19076. }
  19077. }
  19078. },
  19079. "models.ErmcpPendingAudit": {
  19080. "type": "object",
  19081. "properties": {
  19082. "areastockqty": {
  19083. "description": "待审核数量: 库存申请",
  19084. "type": "integer"
  19085. },
  19086. "businessdjqty": {
  19087. "description": "待审核数量: 点价",
  19088. "type": "integer"
  19089. },
  19090. "businessfpqty": {
  19091. "description": "待审核数量: 发票",
  19092. "type": "integer"
  19093. },
  19094. "businessjsqty": {
  19095. "description": "待审核数量: 结算",
  19096. "type": "integer"
  19097. },
  19098. "businesskxqty": {
  19099. "description": "待审核数量: 款项",
  19100. "type": "integer"
  19101. },
  19102. "hedgeplanqty": {
  19103. "description": "待审核数量: 套保计划",
  19104. "type": "integer"
  19105. },
  19106. "spotcontractqty": {
  19107. "description": "待审核数量: 现货合同",
  19108. "type": "integer"
  19109. },
  19110. "userqty": {
  19111. "description": "待审核数量: 用户",
  19112. "type": "integer"
  19113. }
  19114. }
  19115. },
  19116. "models.ErmcpRealExposureModel": {
  19117. "type": "object",
  19118. "properties": {
  19119. "AreaUserID": {
  19120. "description": "所属机构",
  19121. "type": "integer"
  19122. },
  19123. "BuyFutureQty": {
  19124. "description": "买入期货数量",
  19125. "type": "number"
  19126. },
  19127. "BuyPlanQty": {
  19128. "description": "采购计划数量",
  19129. "type": "number"
  19130. },
  19131. "BuyPricedQty": {
  19132. "description": "采购合同已定价数量",
  19133. "type": "number"
  19134. },
  19135. "MiddleGoodsCode": {
  19136. "description": "套保品种代码",
  19137. "type": "string"
  19138. },
  19139. "MiddleGoodsHedgeRatio": {
  19140. "description": "套保比例",
  19141. "type": "number"
  19142. },
  19143. "MiddleGoodsID": {
  19144. "description": "套保品种",
  19145. "type": "integer"
  19146. },
  19147. "MiddleGoodsName": {
  19148. "description": "套保品种名称",
  19149. "type": "string"
  19150. },
  19151. "NeedHedgeExposoure": {
  19152. "description": "应套保敞口(套保敞口)",
  19153. "type": "number"
  19154. },
  19155. "NeedHedgeRatio": {
  19156. "description": "应套保敞口比例",
  19157. "type": "number"
  19158. },
  19159. "OriBuyFutureQty": {
  19160. "description": "期初买入期货数量",
  19161. "type": "number"
  19162. },
  19163. "OriBuyPlanQty": {
  19164. "description": "期初采购计划数量",
  19165. "type": "number"
  19166. },
  19167. "OriBuyPricedQty": {
  19168. "description": "期初采购合同已定价数量",
  19169. "type": "number"
  19170. },
  19171. "OriSellFutureQty": {
  19172. "description": "期初卖出期货数量",
  19173. "type": "number"
  19174. },
  19175. "OriSellPlanQty": {
  19176. "description": "期初销售计划数量",
  19177. "type": "number"
  19178. },
  19179. "OriSellPricedQty": {
  19180. "description": "期初销售合同已定价数量",
  19181. "type": "number"
  19182. },
  19183. "SellFutureQty": {
  19184. "description": "卖出期货数量",
  19185. "type": "number"
  19186. },
  19187. "SellPlanQty": {
  19188. "description": "销售计划数量",
  19189. "type": "number"
  19190. },
  19191. "SellPricedQty": {
  19192. "description": "销售合同已定价数量",
  19193. "type": "number"
  19194. },
  19195. "TotalExposure": {
  19196. "description": "总敞口",
  19197. "type": "number"
  19198. },
  19199. "TotalFutureQty": {
  19200. "description": "期货总量",
  19201. "type": "number"
  19202. },
  19203. "TotalHedgeRatio": {
  19204. "description": "敞口比例",
  19205. "type": "number"
  19206. },
  19207. "TotalNeedHedgeQty": {
  19208. "description": "应套保总量(现货应套保总量)",
  19209. "type": "number"
  19210. },
  19211. "TotalSpotQty": {
  19212. "description": "现货总量",
  19213. "type": "number"
  19214. },
  19215. "arbitrageqty": {
  19216. "description": "套利量",
  19217. "type": "number"
  19218. },
  19219. "diffArbitrageQty": {
  19220. "description": "套利变动量",
  19221. "type": "number"
  19222. },
  19223. "diffExposoureQty": {
  19224. "description": "变动量(套保敞口)",
  19225. "type": "number"
  19226. },
  19227. "diffFutuQty": {
  19228. "description": "变动量(期货总量)",
  19229. "type": "number"
  19230. },
  19231. "diffHedgeQty": {
  19232. "description": "套保变动量",
  19233. "type": "number"
  19234. },
  19235. "diffQty": {
  19236. "description": "变动量(总敞口)",
  19237. "type": "number"
  19238. },
  19239. "diffSpotHedgeQty": {
  19240. "description": "变动量(现货应套保总量)",
  19241. "type": "number"
  19242. },
  19243. "diffSpotQty": {
  19244. "description": "变动量(现货总量) = 现货数量 - 期初现货数量",
  19245. "type": "number"
  19246. },
  19247. "enumdicname": {
  19248. "description": "单位名称",
  19249. "type": "string"
  19250. },
  19251. "hedgeqty": {
  19252. "description": "套保量",
  19253. "type": "number"
  19254. },
  19255. "needarbitrageqty": {
  19256. "description": "应套利量",
  19257. "type": "number"
  19258. },
  19259. "needarbitrageratio": {
  19260. "description": "套利比例",
  19261. "type": "number"
  19262. },
  19263. "needhedgeqty": {
  19264. "description": "应套保量",
  19265. "type": "number"
  19266. },
  19267. "oriTotalFutuQty": {
  19268. "description": "期初期货数量=期初买入期货数量-期初卖出期货数量",
  19269. "type": "number"
  19270. },
  19271. "oriTotalSpotQty": {
  19272. "description": "期初现货数量=(期初销售计划数量-期初销售合同已定价数量)-(期初采购计划数量-期初采购合同已定价数量)",
  19273. "type": "number"
  19274. },
  19275. "oriarbitrageqty": {
  19276. "description": "期初套利量",
  19277. "type": "number"
  19278. },
  19279. "orihedgeqty": {
  19280. "description": "期初套保量",
  19281. "type": "number"
  19282. },
  19283. "orineedhedgeexposoure": {
  19284. "description": "期初套保敞口",
  19285. "type": "number"
  19286. },
  19287. "oritotalexposure": {
  19288. "description": "期初总敞口",
  19289. "type": "number"
  19290. },
  19291. "oritotalfutureqty": {
  19292. "description": "期初期货总量",
  19293. "type": "number"
  19294. },
  19295. "oritotalneedhedgeqty": {
  19296. "description": "期初现货应套保量",
  19297. "type": "number"
  19298. }
  19299. }
  19300. },
  19301. "models.ErmcpRole": {
  19302. "type": "object",
  19303. "properties": {
  19304. "areauserid": {
  19305. "description": "所属机构",
  19306. "type": "integer"
  19307. },
  19308. "autoid": {
  19309. "description": "角色ID(自增ID)",
  19310. "type": "integer"
  19311. },
  19312. "modifierid": {
  19313. "description": "修改人(创建人)",
  19314. "type": "integer"
  19315. },
  19316. "modifiername": {
  19317. "description": "修改人名称",
  19318. "type": "string"
  19319. },
  19320. "modifytime": {
  19321. "description": "修改时间(创建时间)",
  19322. "type": "string"
  19323. },
  19324. "rolename": {
  19325. "description": "角色名称",
  19326. "type": "string"
  19327. },
  19328. "rolestatus": {
  19329. "description": "角色状态 - 1:启用 2:停用",
  19330. "type": "integer"
  19331. },
  19332. "roletype": {
  19333. "description": "角色类型 - 1- 管理端 2- 交易端",
  19334. "type": "integer"
  19335. }
  19336. }
  19337. },
  19338. "models.ErmcpRoleMenu": {
  19339. "type": "object",
  19340. "properties": {
  19341. "iconame": {
  19342. "description": "菜单图标",
  19343. "type": "string"
  19344. },
  19345. "ishadrole": {
  19346. "description": "是否有权限",
  19347. "type": "boolean"
  19348. },
  19349. "menutype": {
  19350. "description": "菜单类型 1:管理端 2:交易端 3:终端(企业云平台)",
  19351. "type": "integer"
  19352. },
  19353. "parentcode": {
  19354. "description": "上级资源代码",
  19355. "type": "string"
  19356. },
  19357. "remark": {
  19358. "description": "菜单备注",
  19359. "type": "string"
  19360. },
  19361. "resourcecode": {
  19362. "description": "菜单代码",
  19363. "type": "string"
  19364. },
  19365. "resourcelevel": {
  19366. "description": "级别",
  19367. "type": "integer"
  19368. },
  19369. "resourcename": {
  19370. "description": "菜单名称",
  19371. "type": "string"
  19372. },
  19373. "roleid": {
  19374. "description": "角色id",
  19375. "type": "integer"
  19376. },
  19377. "sort": {
  19378. "description": "排序",
  19379. "type": "integer"
  19380. },
  19381. "url": {
  19382. "description": "URL",
  19383. "type": "string"
  19384. },
  19385. "userid": {
  19386. "description": "用户id",
  19387. "type": "integer"
  19388. }
  19389. }
  19390. },
  19391. "models.ErmcpRoleMenuEx": {
  19392. "type": "object",
  19393. "properties": {
  19394. "menu": {
  19395. "description": "父级菜单",
  19396. "type": "object",
  19397. "$ref": "#/definitions/models.ErmcpRoleMenu"
  19398. },
  19399. "subMenu": {
  19400. "description": "子级菜单",
  19401. "type": "array",
  19402. "items": {
  19403. "$ref": "#/definitions/models.ErmcpRoleMenuEx"
  19404. }
  19405. }
  19406. }
  19407. },
  19408. "models.ErmcpTaAccount": {
  19409. "type": "object",
  19410. "properties": {
  19411. "accountid": {
  19412. "description": "账户id",
  19413. "type": "integer"
  19414. },
  19415. "accountname": {
  19416. "description": "账户名称",
  19417. "type": "string"
  19418. },
  19419. "currencyid": {
  19420. "description": "币种id",
  19421. "type": "integer"
  19422. },
  19423. "hedgeaccountcode": {
  19424. "description": "主账号登录代码(仅当是主账号时有值,子账号没有登录账号)",
  19425. "type": "string"
  19426. },
  19427. "ismain": {
  19428. "description": "是否主账户 0-否 1-是",
  19429. "type": "integer"
  19430. },
  19431. "parentaccountid": {
  19432. "description": "父账户id",
  19433. "type": "integer"
  19434. },
  19435. "relateduserid": {
  19436. "description": "关联userid",
  19437. "type": "integer"
  19438. },
  19439. "tradefeetmpid": {
  19440. "description": "手续费模板id",
  19441. "type": "integer"
  19442. },
  19443. "tradefeetmpname": {
  19444. "description": "手续费模板名称",
  19445. "type": "string"
  19446. },
  19447. "trademargintmpid": {
  19448. "description": "保证金模板id",
  19449. "type": "integer"
  19450. },
  19451. "trademargintmpname": {
  19452. "description": "保证金模板名称",
  19453. "type": "string"
  19454. },
  19455. "traderatetmpid": {
  19456. "description": "汇率模板id",
  19457. "type": "integer"
  19458. },
  19459. "traderatetmpname": {
  19460. "description": "汇率模板名称",
  19461. "type": "string"
  19462. },
  19463. "tradestatus": {
  19464. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  19465. "type": "integer"
  19466. },
  19467. "userid": {
  19468. "description": "用户id",
  19469. "type": "integer"
  19470. }
  19471. }
  19472. },
  19473. "models.ErmcpTaAccountEx": {
  19474. "type": "object",
  19475. "properties": {
  19476. "mainAcc": {
  19477. "description": "主账号",
  19478. "type": "object",
  19479. "$ref": "#/definitions/models.ErmcpTaAccountM"
  19480. },
  19481. "subacclist": {
  19482. "description": "子账号列表",
  19483. "type": "array",
  19484. "items": {
  19485. "$ref": "#/definitions/models.ErmcpTaAccount"
  19486. }
  19487. }
  19488. }
  19489. },
  19490. "models.ErmcpTaAccountInfo": {
  19491. "type": "object",
  19492. "properties": {
  19493. "accountid": {
  19494. "description": "资金账户ID",
  19495. "type": "integer"
  19496. },
  19497. "accountname": {
  19498. "description": "账户名称",
  19499. "type": "string"
  19500. },
  19501. "balance": {
  19502. "description": "期初余额",
  19503. "type": "number"
  19504. },
  19505. "capitalbalance": {
  19506. "description": "本金余额[外部子账户实际出入金余额]",
  19507. "type": "number"
  19508. },
  19509. "closepl": {
  19510. "description": "今日平仓盈亏",
  19511. "type": "number"
  19512. },
  19513. "creditdecrease": {
  19514. "description": "今日授信减少",
  19515. "type": "number"
  19516. },
  19517. "creditincrease": {
  19518. "description": "今日授信增加",
  19519. "type": "number"
  19520. },
  19521. "curdebt": {
  19522. "description": "期末欠款",
  19523. "type": "number"
  19524. },
  19525. "currencyid": {
  19526. "description": "货币ID",
  19527. "type": "integer"
  19528. },
  19529. "currentbalance": {
  19530. "description": "期末余额",
  19531. "type": "number"
  19532. },
  19533. "freezecharge": {
  19534. "description": "手续费冻结",
  19535. "type": "number"
  19536. },
  19537. "freezemargin": {
  19538. "description": "冻结保证金",
  19539. "type": "number"
  19540. },
  19541. "fromaccountid": {
  19542. "description": "所属上级账户",
  19543. "type": "integer"
  19544. },
  19545. "inamount": {
  19546. "description": "今日入金金额(包括三方入金)",
  19547. "type": "number"
  19548. },
  19549. "ismain": {
  19550. "description": "是否母账号 0:不是母账户 1:是母账户",
  19551. "type": "integer"
  19552. },
  19553. "mortgagecredit": {
  19554. "description": "授信金额",
  19555. "type": "number"
  19556. },
  19557. "oridebt": {
  19558. "description": "期初欠款",
  19559. "type": "number"
  19560. },
  19561. "orifreezecharge": {
  19562. "description": "期初手续费冻结",
  19563. "type": "number"
  19564. },
  19565. "orifreezemargin": {
  19566. "description": "期初冻结保证金",
  19567. "type": "number"
  19568. },
  19569. "orimortgagecredit": {
  19570. "description": "期初授信金额",
  19571. "type": "number"
  19572. },
  19573. "oriothercredit": {
  19574. "description": "期初其它授信金额",
  19575. "type": "number"
  19576. },
  19577. "oriotherfreezemargin": {
  19578. "description": "期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)",
  19579. "type": "number"
  19580. },
  19581. "orioutamountfreeze": {
  19582. "description": "期初出金冻结",
  19583. "type": "number"
  19584. },
  19585. "oriusedmargin": {
  19586. "description": "期初占用保证金",
  19587. "type": "number"
  19588. },
  19589. "othercredit": {
  19590. "description": "其它授信金额",
  19591. "type": "number"
  19592. },
  19593. "othercreditdecrease": {
  19594. "description": "今日其它授信减少",
  19595. "type": "number"
  19596. },
  19597. "othercreditincrease": {
  19598. "description": "今日其它授信增加",
  19599. "type": "number"
  19600. },
  19601. "otherfreezemargin": {
  19602. "description": "其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)",
  19603. "type": "number"
  19604. },
  19605. "outamount": {
  19606. "description": "今日出金金额(包括三方出金)",
  19607. "type": "number"
  19608. },
  19609. "outamountfreeze": {
  19610. "description": "出金冻结",
  19611. "type": "number"
  19612. },
  19613. "outthreshold": {
  19614. "description": "出金阈值",
  19615. "type": "number"
  19616. },
  19617. "parentaccountid": {
  19618. "description": "所属根账号",
  19619. "type": "integer"
  19620. },
  19621. "paycharge": {
  19622. "description": "今日手续费支出",
  19623. "type": "number"
  19624. },
  19625. "relateduserid": {
  19626. "description": "关联用户",
  19627. "type": "integer"
  19628. },
  19629. "signstatus": {
  19630. "description": "签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中",
  19631. "type": "integer"
  19632. },
  19633. "sublevelpath": {
  19634. "description": "账号层级路径(逗号分隔,首尾加逗号)",
  19635. "type": "string"
  19636. },
  19637. "taaccounttype": {
  19638. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  19639. "type": "integer"
  19640. },
  19641. "thirdinamount": {
  19642. "description": "今日三方入金",
  19643. "type": "number"
  19644. },
  19645. "thirdoutamount": {
  19646. "description": "今日三方出金",
  19647. "type": "number"
  19648. },
  19649. "tradestatus": {
  19650. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  19651. "type": "integer"
  19652. },
  19653. "transferamount": {
  19654. "description": "今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)",
  19655. "type": "number"
  19656. },
  19657. "usedmargin": {
  19658. "description": "占用保证金",
  19659. "type": "number"
  19660. },
  19661. "userid": {
  19662. "description": "用户ID",
  19663. "type": "integer"
  19664. }
  19665. }
  19666. },
  19667. "models.ErmcpTaAccountM": {
  19668. "type": "object",
  19669. "properties": {
  19670. "accountid": {
  19671. "description": "账户id",
  19672. "type": "integer"
  19673. },
  19674. "accountname": {
  19675. "description": "账户名称",
  19676. "type": "string"
  19677. },
  19678. "currencyid": {
  19679. "description": "币种id",
  19680. "type": "integer"
  19681. },
  19682. "fcid": {
  19683. "description": "期货公司id",
  19684. "type": "integer"
  19685. },
  19686. "fcname": {
  19687. "description": "期货公司代码",
  19688. "type": "string"
  19689. },
  19690. "hedgeaccountcode": {
  19691. "description": "主账号登录代码(仅当是主账号时有值,子账号没有登录账号)",
  19692. "type": "string"
  19693. },
  19694. "ismain": {
  19695. "description": "是否主账户 0-否 1-是",
  19696. "type": "integer"
  19697. },
  19698. "parentaccountid": {
  19699. "description": "父账户id",
  19700. "type": "integer"
  19701. },
  19702. "relateduserid": {
  19703. "description": "关联userid",
  19704. "type": "integer"
  19705. },
  19706. "tradefeetmpid": {
  19707. "description": "手续费模板id",
  19708. "type": "integer"
  19709. },
  19710. "tradefeetmpname": {
  19711. "description": "手续费模板名称",
  19712. "type": "string"
  19713. },
  19714. "trademargintmpid": {
  19715. "description": "保证金模板id",
  19716. "type": "integer"
  19717. },
  19718. "trademargintmpname": {
  19719. "description": "保证金模板名称",
  19720. "type": "string"
  19721. },
  19722. "traderatetmpid": {
  19723. "description": "汇率模板id",
  19724. "type": "integer"
  19725. },
  19726. "traderatetmpname": {
  19727. "description": "汇率模板名称",
  19728. "type": "string"
  19729. },
  19730. "tradestatus": {
  19731. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  19732. "type": "integer"
  19733. },
  19734. "userid": {
  19735. "description": "用户id",
  19736. "type": "integer"
  19737. }
  19738. }
  19739. },
  19740. "models.ErmcpTradeConfigTMP": {
  19741. "type": "object",
  19742. "properties": {
  19743. "areauserid": {
  19744. "description": "所属机构",
  19745. "type": "integer"
  19746. },
  19747. "basiccurrencyid": {
  19748. "description": "基本币种ID[汇率] - 目标币种",
  19749. "type": "integer"
  19750. },
  19751. "mainaccountid": {
  19752. "description": "主账户ID",
  19753. "type": "integer"
  19754. },
  19755. "modifierid": {
  19756. "description": "修改人",
  19757. "type": "integer"
  19758. },
  19759. "remark": {
  19760. "description": "备注",
  19761. "type": "string"
  19762. },
  19763. "tradeconfigtmpid": {
  19764. "description": "交易配置模板ID(SEQ_TRADECONFIGTMP)",
  19765. "type": "integer"
  19766. },
  19767. "tradeconfigtmpname": {
  19768. "description": "交易配置模板名称",
  19769. "type": "string"
  19770. },
  19771. "tradeconfigtmptype": {
  19772. "description": "交易配置模板类型 - 1:保证金 2:手续费 3:汇率",
  19773. "type": "integer"
  19774. },
  19775. "updatetime": {
  19776. "description": "更新时间",
  19777. "type": "string"
  19778. }
  19779. }
  19780. },
  19781. "models.ErmcpUserModel": {
  19782. "type": "object",
  19783. "properties": {
  19784. "address": {
  19785. "description": "通讯地址",
  19786. "type": "string"
  19787. },
  19788. "attachment1": {
  19789. "description": "附件1",
  19790. "type": "string"
  19791. },
  19792. "audittime": {
  19793. "description": "审核时间",
  19794. "type": "string"
  19795. },
  19796. "cardbackphotourl": {
  19797. "description": "证件反面图片地址",
  19798. "type": "string"
  19799. },
  19800. "cardfrontphotourl": {
  19801. "description": "证件正面图片地址",
  19802. "type": "string"
  19803. },
  19804. "cardnum": {
  19805. "description": "证件号码",
  19806. "type": "string"
  19807. },
  19808. "cardtype": {
  19809. "description": "证件类型",
  19810. "type": "integer"
  19811. },
  19812. "cardtypename": {
  19813. "description": "证件类型名称",
  19814. "type": "string"
  19815. },
  19816. "cityid": {
  19817. "description": "市",
  19818. "type": "integer"
  19819. },
  19820. "contactname": {
  19821. "description": "联系人",
  19822. "type": "string"
  19823. },
  19824. "countryid": {
  19825. "description": "国家",
  19826. "type": "integer"
  19827. },
  19828. "createtime": {
  19829. "description": "创建时间",
  19830. "type": "string"
  19831. },
  19832. "customername": {
  19833. "description": "企业名称",
  19834. "type": "string"
  19835. },
  19836. "districtid": {
  19837. "description": "区域",
  19838. "type": "integer"
  19839. },
  19840. "email": {
  19841. "description": "邮件",
  19842. "type": "string"
  19843. },
  19844. "legalpersonname": {
  19845. "description": "法人姓名(企业)",
  19846. "type": "string"
  19847. },
  19848. "memberuserid": {
  19849. "description": "所属机构ID",
  19850. "type": "integer"
  19851. },
  19852. "mobile": {
  19853. "description": "手机号码",
  19854. "type": "string"
  19855. },
  19856. "modifytime": {
  19857. "description": "修改时间",
  19858. "type": "string"
  19859. },
  19860. "nickname": {
  19861. "description": "昵称",
  19862. "type": "string"
  19863. },
  19864. "provinceid": {
  19865. "description": "省",
  19866. "type": "integer"
  19867. },
  19868. "remark": {
  19869. "description": "备注",
  19870. "type": "string"
  19871. },
  19872. "status": {
  19873. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销",
  19874. "type": "integer"
  19875. },
  19876. "statusdesc": {
  19877. "description": "账户状态中文描述",
  19878. "type": "string"
  19879. },
  19880. "taxpayernum": {
  19881. "description": "纳税人识别号",
  19882. "type": "string"
  19883. },
  19884. "telphone": {
  19885. "description": "联系电话",
  19886. "type": "string"
  19887. },
  19888. "userid": {
  19889. "description": "用户ID",
  19890. "type": "integer"
  19891. },
  19892. "userinfotype": {
  19893. "description": "客户类型",
  19894. "type": "string"
  19895. }
  19896. }
  19897. },
  19898. "models.ErmcpWareHouseInfo": {
  19899. "type": "object",
  19900. "properties": {
  19901. "address": {
  19902. "description": "详细地址",
  19903. "type": "string"
  19904. },
  19905. "areauserid": {
  19906. "description": "所属机构",
  19907. "type": "integer"
  19908. },
  19909. "autoid": {
  19910. "description": "自增ID(仓库ID)",
  19911. "type": "integer"
  19912. },
  19913. "cityid": {
  19914. "description": "市",
  19915. "type": "integer"
  19916. },
  19917. "contactname": {
  19918. "description": "联系人",
  19919. "type": "string"
  19920. },
  19921. "contactnum": {
  19922. "description": "联系电话",
  19923. "type": "string"
  19924. },
  19925. "countryid": {
  19926. "description": "国家",
  19927. "type": "integer"
  19928. },
  19929. "createtime": {
  19930. "description": "创建时间",
  19931. "type": "string"
  19932. },
  19933. "districtid": {
  19934. "description": "区",
  19935. "type": "integer"
  19936. },
  19937. "hasvideo": {
  19938. "description": "是否有视频 - 0:无 1:有",
  19939. "type": "integer"
  19940. },
  19941. "provinceid": {
  19942. "description": "省",
  19943. "type": "integer"
  19944. },
  19945. "remark": {
  19946. "description": "审核备注",
  19947. "type": "string"
  19948. },
  19949. "videourl": {
  19950. "description": "视频地址",
  19951. "type": "string"
  19952. },
  19953. "warehousecode": {
  19954. "description": "仓库代码",
  19955. "type": "string"
  19956. },
  19957. "warehousename": {
  19958. "description": "仓库名称",
  19959. "type": "string"
  19960. },
  19961. "warehousestatus": {
  19962. "description": "仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝",
  19963. "type": "integer"
  19964. },
  19965. "warehousetype": {
  19966. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  19967. "type": "integer"
  19968. }
  19969. }
  19970. },
  19971. "models.Externalexchange": {
  19972. "type": "object",
  19973. "required": [
  19974. "autoid"
  19975. ],
  19976. "properties": {
  19977. "autoid": {
  19978. "description": "AutoID - SEQ_EXTERNALEXCHANGE",
  19979. "type": "integer"
  19980. },
  19981. "exchangefullname": {
  19982. "description": "外部交易所全称",
  19983. "type": "string"
  19984. },
  19985. "exexchangecode": {
  19986. "description": "外部交易所代码",
  19987. "type": "string"
  19988. },
  19989. "exexchangename": {
  19990. "description": "外部交易所名称(简称)",
  19991. "type": "string"
  19992. },
  19993. "ismarketprice": {
  19994. "description": "是否支持市价 - 0:不支持 1:支持",
  19995. "type": "integer"
  19996. },
  19997. "quotegear": {
  19998. "description": "行情档位(1-10)",
  19999. "type": "integer"
  20000. },
  20001. "showbrokerflag": {
  20002. "description": "是否显示买卖经纪盘 - 0:不显示 1:显示",
  20003. "type": "integer"
  20004. },
  20005. "updatetime": {
  20006. "description": "更新时间",
  20007. "type": "string"
  20008. }
  20009. }
  20010. },
  20011. "models.Funcmenulist": {
  20012. "type": "object",
  20013. "required": [
  20014. "resourcecode"
  20015. ],
  20016. "properties": {
  20017. "iconame": {
  20018. "description": "菜单图标",
  20019. "type": "string"
  20020. },
  20021. "menutype": {
  20022. "description": "菜单类型 1-管理端 2-交易端 3-终端权限",
  20023. "type": "integer"
  20024. },
  20025. "parentcode": {
  20026. "description": "上级资源代码",
  20027. "type": "string"
  20028. },
  20029. "remark": {
  20030. "description": "备注",
  20031. "type": "string"
  20032. },
  20033. "resourcecode": {
  20034. "description": "资源代码",
  20035. "type": "string"
  20036. },
  20037. "resourcelevel": {
  20038. "description": "级别 1-一级 2-二级 3-三级 4-四级",
  20039. "type": "integer"
  20040. },
  20041. "resourcename": {
  20042. "description": "资源名",
  20043. "type": "string"
  20044. },
  20045. "sort": {
  20046. "description": "排序 - 一级时,是所有一级菜单的排序顺序;二级时是所属同一个一级菜单下的排序、三级时是同一个二级菜单下的排序",
  20047. "type": "integer"
  20048. },
  20049. "url": {
  20050. "description": "URL",
  20051. "type": "string"
  20052. }
  20053. }
  20054. },
  20055. "models.Goods": {
  20056. "type": "object",
  20057. "required": [
  20058. "goodscode",
  20059. "goodsid",
  20060. "goodsname",
  20061. "marketid"
  20062. ],
  20063. "properties": {
  20064. "agreeunit": {
  20065. "description": "合约单位",
  20066. "type": "number"
  20067. },
  20068. "areauserid": {
  20069. "description": "所属机构",
  20070. "type": "integer"
  20071. },
  20072. "auditaccountid": {
  20073. "description": "审核操作员账号",
  20074. "type": "integer"
  20075. },
  20076. "audittime": {
  20077. "description": "审核时间",
  20078. "type": "string"
  20079. },
  20080. "cancelaccountid": {
  20081. "description": "注销操作员账号",
  20082. "type": "integer"
  20083. },
  20084. "canceltime": {
  20085. "description": "注销时间",
  20086. "type": "string"
  20087. },
  20088. "closepricemode": {
  20089. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  20090. "type": "integer"
  20091. },
  20092. "closepriceparam": {
  20093. "description": "强平最新价浮动比例 - 方式为2时使用 (\u003c1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价",
  20094. "type": "number"
  20095. },
  20096. "createtime": {
  20097. "description": "创建时间",
  20098. "type": "string"
  20099. },
  20100. "creatorid": {
  20101. "description": "创建人",
  20102. "type": "integer"
  20103. },
  20104. "currencyid": {
  20105. "description": "报价货币ID",
  20106. "type": "integer"
  20107. },
  20108. "cutmode": {
  20109. "description": "斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓",
  20110. "type": "integer"
  20111. },
  20112. "decimalplace": {
  20113. "description": "报价小数位",
  20114. "type": "integer"
  20115. },
  20116. "delistingdate": {
  20117. "description": "商品退市时间(状态:退市) -- 已作废",
  20118. "type": "string"
  20119. },
  20120. "delistingmode": {
  20121. "description": "退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\\币币兑换)",
  20122. "type": "integer"
  20123. },
  20124. "deliveryflag": {
  20125. "description": "交割标志 - 0:不可交割 1:可交割",
  20126. "type": "integer"
  20127. },
  20128. "forceclosemode": {
  20129. "description": "定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]",
  20130. "type": "integer"
  20131. },
  20132. "forceclosevalue": {
  20133. "description": "定期强平参数 [收益权]",
  20134. "type": "integer"
  20135. },
  20136. "goodscode": {
  20137. "description": "商品代码(内部)",
  20138. "type": "string"
  20139. },
  20140. "goodscurrencyid": {
  20141. "description": "合约货币ID",
  20142. "type": "integer"
  20143. },
  20144. "goodsgroupid": {
  20145. "description": "所属商品组ID",
  20146. "type": "integer"
  20147. },
  20148. "goodsid": {
  20149. "description": "商品ID(自增ID SEQ_GOODS)",
  20150. "type": "integer"
  20151. },
  20152. "goodsname": {
  20153. "description": "商品名称",
  20154. "type": "string"
  20155. },
  20156. "goodsquotetype": {
  20157. "description": "合约报价类型: 1-直接报价 2-间接报价",
  20158. "type": "integer"
  20159. },
  20160. "goodsstatus": {
  20161. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  20162. "type": "integer"
  20163. },
  20164. "goodstradetype": {
  20165. "description": "商品交易权限类型 - 1:可建可平 3:不可建可平",
  20166. "type": "integer"
  20167. },
  20168. "goodunitid": {
  20169. "description": "报价单位ID",
  20170. "type": "integer"
  20171. },
  20172. "hasquoter": {
  20173. "description": "是否有报价商 - 0:无报价商 1:有报价商",
  20174. "type": "integer"
  20175. },
  20176. "hqprotecttime": {
  20177. "description": "行情保护时间(秒)",
  20178. "type": "integer"
  20179. },
  20180. "innerdealmode": {
  20181. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  20182. "type": "integer"
  20183. },
  20184. "isbuylimited": {
  20185. "description": "是否限制建仓量 - 0:不限制 1:限制",
  20186. "type": "integer"
  20187. },
  20188. "isvisible": {
  20189. "description": "游客是否可见 - 0:不可见 1:可见",
  20190. "type": "integer"
  20191. },
  20192. "lasttradedate": {
  20193. "description": "最后交易日期(状态:待退市)",
  20194. "type": "string"
  20195. },
  20196. "listingdate": {
  20197. "description": "交易开始日期",
  20198. "type": "string"
  20199. },
  20200. "marketid": {
  20201. "description": "所属市场ID",
  20202. "type": "integer"
  20203. },
  20204. "modifierid": {
  20205. "description": "修改人",
  20206. "type": "integer"
  20207. },
  20208. "modifystatus": {
  20209. "description": "变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核",
  20210. "type": "integer"
  20211. },
  20212. "modifytime": {
  20213. "description": "修改时间",
  20214. "type": "string"
  20215. },
  20216. "outerdealmode": {
  20217. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  20218. "type": "integer"
  20219. },
  20220. "outgoodscode": {
  20221. "description": "商品代码(外部)",
  20222. "type": "string"
  20223. },
  20224. "pictureurl": {
  20225. "description": "商品图片",
  20226. "type": "string"
  20227. },
  20228. "qtydecimalplace": {
  20229. "description": "成交量小数位",
  20230. "type": "integer"
  20231. },
  20232. "quotegear": {
  20233. "description": "行情档位(1-10)",
  20234. "type": "integer"
  20235. },
  20236. "quoteminunit": {
  20237. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  20238. "type": "integer"
  20239. },
  20240. "quoteshowtype": {
  20241. "description": "行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价",
  20242. "type": "integer"
  20243. },
  20244. "quoteshowtypeinterval": {
  20245. "description": "行情报价间隔时间(秒)(成交价时为0)",
  20246. "type": "integer"
  20247. },
  20248. "remark": {
  20249. "description": "备注",
  20250. "type": "string"
  20251. }
  20252. }
  20253. },
  20254. "models.GoodsIDAndName": {
  20255. "type": "object",
  20256. "required": [
  20257. "goodscode",
  20258. "goodsid",
  20259. "goodsname",
  20260. "marketid"
  20261. ],
  20262. "properties": {
  20263. "goodscode": {
  20264. "description": "商品代码(内部)",
  20265. "type": "string"
  20266. },
  20267. "goodsid": {
  20268. "description": "商品ID(自增ID SEQ_GOODS)",
  20269. "type": "integer"
  20270. },
  20271. "goodsname": {
  20272. "description": "商品名称",
  20273. "type": "string"
  20274. },
  20275. "marketid": {
  20276. "description": "所属市场ID",
  20277. "type": "integer"
  20278. }
  20279. }
  20280. },
  20281. "models.Goodsgroup": {
  20282. "type": "object",
  20283. "required": [
  20284. "goodsgroupid",
  20285. "goodsgroupname",
  20286. "goodsgroupstatus",
  20287. "marketid"
  20288. ],
  20289. "properties": {
  20290. "agreeunit": {
  20291. "description": "合约单位",
  20292. "type": "number"
  20293. },
  20294. "canshort": {
  20295. "description": "是否允许做空[通道交易] - 0:不能做空 1:可以做空",
  20296. "type": "integer"
  20297. },
  20298. "closepricemode": {
  20299. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  20300. "type": "integer"
  20301. },
  20302. "closepriceparam": {
  20303. "description": "强平最新价浮动比例 - 方式为2时使用",
  20304. "type": "number"
  20305. },
  20306. "createtime": {
  20307. "description": "创建时间",
  20308. "type": "string"
  20309. },
  20310. "creatorid": {
  20311. "description": "创建人",
  20312. "type": "integer"
  20313. },
  20314. "currencyid": {
  20315. "description": "报价货币ID",
  20316. "type": "integer"
  20317. },
  20318. "decimalplace": {
  20319. "description": "报价小数位",
  20320. "type": "integer"
  20321. },
  20322. "exercisetype": {
  20323. "description": "行权类型[场外期权]-1:欧式期权 2:美式期权",
  20324. "type": "integer"
  20325. },
  20326. "exexchangeid": {
  20327. "description": "外部交易所ID[通道交易]",
  20328. "type": "integer"
  20329. },
  20330. "goodsgroupid": {
  20331. "description": "商品组ID(自增ID)",
  20332. "type": "integer"
  20333. },
  20334. "goodsgroupname": {
  20335. "description": "商品组名称",
  20336. "type": "string"
  20337. },
  20338. "goodsgroupstatus": {
  20339. "description": "商品组状态 - 1:正常 2:注销",
  20340. "type": "integer"
  20341. },
  20342. "goodunitid": {
  20343. "description": "报价单位ID",
  20344. "type": "integer"
  20345. },
  20346. "innerdealmode": {
  20347. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  20348. "type": "integer"
  20349. },
  20350. "isbuylimited": {
  20351. "description": "是否限制建仓量 - 0:不限制 1:限制",
  20352. "type": "integer"
  20353. },
  20354. "marketid": {
  20355. "description": "所属市场ID",
  20356. "type": "integer"
  20357. },
  20358. "modifierid": {
  20359. "description": "修改人",
  20360. "type": "integer"
  20361. },
  20362. "modifytime": {
  20363. "description": "修改时间",
  20364. "type": "string"
  20365. },
  20366. "outerdealmode": {
  20367. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  20368. "type": "integer"
  20369. },
  20370. "outergroupcode": {
  20371. "description": "外部商品组代码[通道交易]",
  20372. "type": "string"
  20373. },
  20374. "premiumdecimalplace": {
  20375. "description": "权利金小数位[场外期权]",
  20376. "type": "integer"
  20377. },
  20378. "premiumspreadalgorithm": {
  20379. "description": "权利金点差方式[场外期权] 1:比率 2:固定",
  20380. "type": "integer"
  20381. },
  20382. "premiumspreadvalue": {
  20383. "description": "权利金点差值[场外期权]",
  20384. "type": "number"
  20385. },
  20386. "qtydecimalplace": {
  20387. "description": "成交量小数位",
  20388. "type": "integer"
  20389. },
  20390. "quotegear": {
  20391. "description": "行情档位(1-10)",
  20392. "type": "integer"
  20393. },
  20394. "quoteminunit": {
  20395. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  20396. "type": "integer"
  20397. },
  20398. "quoterid": {
  20399. "description": "报价商ID[场外期权]",
  20400. "type": "integer"
  20401. },
  20402. "quotesourcegroupid": {
  20403. "description": "所属行情源分组ID[参考行情市场用\\通道交易]",
  20404. "type": "integer"
  20405. },
  20406. "syncgoodsqty": {
  20407. "description": "同步合约数[通道交易-投资管理用] - 0表示不限",
  20408. "type": "integer"
  20409. }
  20410. }
  20411. },
  20412. "models.Goodssortbypreposition": {
  20413. "type": "object",
  20414. "required": [
  20415. "goodscode",
  20416. "tradedate"
  20417. ],
  20418. "properties": {
  20419. "goodscode": {
  20420. "description": "合约代码 - 易盛接口:合约代码=品种代码+合约代码",
  20421. "type": "string"
  20422. },
  20423. "goodsgroupcode": {
  20424. "description": "品种代码",
  20425. "type": "string"
  20426. },
  20427. "prepositionqty": {
  20428. "description": "昨持仓量",
  20429. "type": "integer"
  20430. },
  20431. "sortindex": {
  20432. "description": "排序",
  20433. "type": "integer"
  20434. },
  20435. "tradedate": {
  20436. "description": "交易日",
  20437. "type": "string"
  20438. },
  20439. "updatetime": {
  20440. "description": "更新时间",
  20441. "type": "string"
  20442. }
  20443. }
  20444. },
  20445. "models.Hedgeinnerholderdetail": {
  20446. "type": "object",
  20447. "required": [
  20448. "buyorsell",
  20449. "tradeid"
  20450. ],
  20451. "properties": {
  20452. "accountid": {
  20453. "description": "账号ID",
  20454. "type": "integer"
  20455. },
  20456. "buyorsell": {
  20457. "description": "方向 - 0:买 1:卖",
  20458. "type": "integer"
  20459. },
  20460. "freezeqty": {
  20461. "description": "冻结数量 - 按单平使用",
  20462. "type": "integer"
  20463. },
  20464. "goodsid": {
  20465. "description": "商品ID",
  20466. "type": "integer"
  20467. },
  20468. "holderamount": {
  20469. "description": "持仓金额 [商品币种]",
  20470. "type": "number"
  20471. },
  20472. "holderdays": {
  20473. "description": "剩余冻结天数",
  20474. "type": "integer"
  20475. },
  20476. "holderprice": {
  20477. "description": "持仓价格",
  20478. "type": "number"
  20479. },
  20480. "holderqty": {
  20481. "description": "持仓数量",
  20482. "type": "integer"
  20483. },
  20484. "marketid": {
  20485. "description": "市场ID",
  20486. "type": "integer"
  20487. },
  20488. "openprice": {
  20489. "description": "建仓价格",
  20490. "type": "number"
  20491. },
  20492. "openqty": {
  20493. "description": "建仓数量",
  20494. "type": "integer"
  20495. },
  20496. "parentaccountid": {
  20497. "description": "所属母账户",
  20498. "type": "integer"
  20499. },
  20500. "releaseamount": {
  20501. "description": "释放持仓金额[商品币种]",
  20502. "type": "number"
  20503. },
  20504. "tradeamount": {
  20505. "description": "成交金额[账户]",
  20506. "type": "number"
  20507. },
  20508. "tradedate": {
  20509. "description": "交易日(yyyyMMdd)",
  20510. "type": "string"
  20511. },
  20512. "tradeid": {
  20513. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  20514. "type": "string"
  20515. },
  20516. "tradetime": {
  20517. "description": "交易时间",
  20518. "type": "string"
  20519. }
  20520. }
  20521. },
  20522. "models.Hedgemarketopenlog": {
  20523. "type": "object",
  20524. "required": [
  20525. "accountid"
  20526. ],
  20527. "properties": {
  20528. "accountid": {
  20529. "description": "资金账号[外部母账户]",
  20530. "type": "integer"
  20531. },
  20532. "fcname": {
  20533. "description": "期货公司名称",
  20534. "type": "string"
  20535. },
  20536. "handlestatus": {
  20537. "description": "处理状态 - 1:登陆Mhp成功 2:登陆Mhp失败 3:登出Mhp",
  20538. "type": "integer"
  20539. },
  20540. "marketid": {
  20541. "description": "市场ID",
  20542. "type": "integer"
  20543. },
  20544. "status": {
  20545. "description": "状态 - 1:待开市 2:开市 4:手工休市 5:闭市 10:日终处理开始 11:日终处理成功 12:日终处理失败",
  20546. "type": "integer"
  20547. },
  20548. "tradedate": {
  20549. "description": "交易日(yyyyMMdd)",
  20550. "type": "string"
  20551. },
  20552. "updatetime": {
  20553. "description": "更新时间",
  20554. "type": "string"
  20555. }
  20556. }
  20557. },
  20558. "models.HsbyBuyMyPayOrder": {
  20559. "type": "object",
  20560. "required": [
  20561. "goodscode",
  20562. "goodsname",
  20563. "tradeid",
  20564. "trademode"
  20565. ],
  20566. "properties": {
  20567. "agreeunit": {
  20568. "description": "合约单位",
  20569. "type": "number"
  20570. },
  20571. "buyaccountid": {
  20572. "description": "买方账号ID[报价币种]",
  20573. "type": "integer"
  20574. },
  20575. "buyorderid": {
  20576. "description": "买方委托单号",
  20577. "type": "string"
  20578. },
  20579. "createtime": {
  20580. "description": "创建时间",
  20581. "type": "string"
  20582. },
  20583. "currencysign": {
  20584. "description": "货币符号",
  20585. "type": "string"
  20586. },
  20587. "decimalplace": {
  20588. "description": "报价小数位",
  20589. "type": "integer"
  20590. },
  20591. "goodscode": {
  20592. "description": "商品代码(内部)",
  20593. "type": "string"
  20594. },
  20595. "goodsid": {
  20596. "description": "商品ID",
  20597. "type": "integer"
  20598. },
  20599. "goodsname": {
  20600. "description": "商品名称",
  20601. "type": "string"
  20602. },
  20603. "marketid": {
  20604. "description": "市场ID",
  20605. "type": "integer"
  20606. },
  20607. "offamount": {
  20608. "description": "优惠金额",
  20609. "type": "number"
  20610. },
  20611. "originalamount": {
  20612. "description": "原金额 = TradeAmount + TradeCharge + OffAmount",
  20613. "type": "number"
  20614. },
  20615. "payamount": {
  20616. "description": "支付金额 = TradeAmount + TradeCharge",
  20617. "type": "number"
  20618. },
  20619. "payflag": {
  20620. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  20621. "type": "integer"
  20622. },
  20623. "paylimitedtime": {
  20624. "description": "支付期限",
  20625. "type": "string"
  20626. },
  20627. "paytime": {
  20628. "description": "付款时间",
  20629. "type": "string"
  20630. },
  20631. "picurls1": {
  20632. "description": "预售商品介绍图片[多张用逗号分隔]",
  20633. "type": "string"
  20634. },
  20635. "picurls2": {
  20636. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  20637. "type": "string"
  20638. },
  20639. "sellaccountid": {
  20640. "description": "卖方账号ID[报价币种]",
  20641. "type": "integer"
  20642. },
  20643. "sellorderid": {
  20644. "description": "卖方委托单号",
  20645. "type": "string"
  20646. },
  20647. "tradeamount": {
  20648. "description": "成交金额",
  20649. "type": "number"
  20650. },
  20651. "tradecharge": {
  20652. "description": "成交手续费(买方)",
  20653. "type": "number"
  20654. },
  20655. "tradedate": {
  20656. "description": "交易日(yyyyMMdd)",
  20657. "type": "string"
  20658. },
  20659. "tradeid": {
  20660. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  20661. "type": "string"
  20662. },
  20663. "trademode": {
  20664. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  20665. "type": "integer"
  20666. },
  20667. "tradeprice": {
  20668. "description": "成交价格",
  20669. "type": "number"
  20670. },
  20671. "tradeqty": {
  20672. "description": "成交数量",
  20673. "type": "integer"
  20674. },
  20675. "vendorname1": {
  20676. "description": "预售商品供应商名称",
  20677. "type": "string"
  20678. },
  20679. "vendorname2": {
  20680. "description": "挂牌商品供应商名称",
  20681. "type": "string"
  20682. }
  20683. }
  20684. },
  20685. "models.HsbyBuyMyTradeDetail": {
  20686. "type": "object",
  20687. "required": [
  20688. "accountid",
  20689. "buyorsell",
  20690. "goodscode",
  20691. "goodsid",
  20692. "goodsname",
  20693. "marketid",
  20694. "orderid",
  20695. "qty",
  20696. "time",
  20697. "trademode"
  20698. ],
  20699. "properties": {
  20700. "accountid": {
  20701. "description": "账户ID[报价币种]",
  20702. "type": "integer"
  20703. },
  20704. "agreeunit": {
  20705. "description": "合约单位",
  20706. "type": "number"
  20707. },
  20708. "amount": {
  20709. "description": "金额 = 价格 * 数量 * 合约单位",
  20710. "type": "number"
  20711. },
  20712. "buyorsell": {
  20713. "description": "买卖 - 0:买 1:卖",
  20714. "type": "integer"
  20715. },
  20716. "currencysign": {
  20717. "description": "货币符号",
  20718. "type": "string"
  20719. },
  20720. "decimalplace": {
  20721. "description": "报价小数位",
  20722. "type": "integer"
  20723. },
  20724. "goodscode": {
  20725. "description": "商品代码(内部)",
  20726. "type": "string"
  20727. },
  20728. "goodsid": {
  20729. "description": "商品ID",
  20730. "type": "integer"
  20731. },
  20732. "goodsname": {
  20733. "description": "商品名称",
  20734. "type": "string"
  20735. },
  20736. "marketid": {
  20737. "description": "市场ID",
  20738. "type": "integer"
  20739. },
  20740. "orderamount": {
  20741. "description": "委托金额",
  20742. "type": "number"
  20743. },
  20744. "orderid": {
  20745. "description": "单号(成交单号)",
  20746. "type": "string"
  20747. },
  20748. "picurls1": {
  20749. "description": "预售商品介绍图片[多张用逗号分隔]",
  20750. "type": "string"
  20751. },
  20752. "picurls2": {
  20753. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  20754. "type": "string"
  20755. },
  20756. "price": {
  20757. "description": "价格",
  20758. "type": "number"
  20759. },
  20760. "qty": {
  20761. "description": "数量",
  20762. "type": "integer"
  20763. },
  20764. "time": {
  20765. "description": "时间",
  20766. "type": "string"
  20767. },
  20768. "trademode": {
  20769. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  20770. "type": "integer"
  20771. },
  20772. "vendorname1": {
  20773. "description": "预售商品供应商名称",
  20774. "type": "string"
  20775. },
  20776. "vendorname2": {
  20777. "description": "挂牌商品供应商名称",
  20778. "type": "string"
  20779. }
  20780. }
  20781. },
  20782. "models.HsbyGoodsOrderDetail": {
  20783. "type": "object",
  20784. "required": [
  20785. "buyorsell",
  20786. "orderid",
  20787. "ordertime"
  20788. ],
  20789. "properties": {
  20790. "buyorsell": {
  20791. "description": "买卖 - 0:买 1:卖",
  20792. "type": "integer"
  20793. },
  20794. "currencysign": {
  20795. "description": "货币符号",
  20796. "type": "string"
  20797. },
  20798. "customername": {
  20799. "description": "客户名称(企业名称),已脱敏",
  20800. "type": "string"
  20801. },
  20802. "enableqty": {
  20803. "description": "可用数量",
  20804. "type": "integer"
  20805. },
  20806. "goodunit": {
  20807. "description": "报价单位",
  20808. "type": "string"
  20809. },
  20810. "orderid": {
  20811. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  20812. "type": "string"
  20813. },
  20814. "orderprice": {
  20815. "description": "委托价格",
  20816. "type": "number"
  20817. },
  20818. "ordertime": {
  20819. "description": "委托时间",
  20820. "type": "string"
  20821. }
  20822. }
  20823. },
  20824. "models.HsbyListingGoodsDetail": {
  20825. "type": "object",
  20826. "required": [
  20827. "goodscode",
  20828. "goodsid",
  20829. "goodsname",
  20830. "marketid",
  20831. "trademode"
  20832. ],
  20833. "properties": {
  20834. "agreeunit": {
  20835. "description": "合约单位",
  20836. "type": "number"
  20837. },
  20838. "buymaxqty": {
  20839. "description": "购买上限 [71] - 0为不限",
  20840. "type": "integer"
  20841. },
  20842. "currency": {
  20843. "description": "货币",
  20844. "type": "string"
  20845. },
  20846. "currencysign": {
  20847. "description": "货币符号",
  20848. "type": "string"
  20849. },
  20850. "decimalplace": {
  20851. "description": "报价小数位",
  20852. "type": "integer"
  20853. },
  20854. "desccityid": {
  20855. "description": "目的地(市)ID",
  20856. "type": "integer"
  20857. },
  20858. "descprovinceid": {
  20859. "description": "目的地(省)ID",
  20860. "type": "integer"
  20861. },
  20862. "goodscode": {
  20863. "description": "商品代码(内部)",
  20864. "type": "string"
  20865. },
  20866. "goodsdesc": {
  20867. "description": "商品详情",
  20868. "type": "string"
  20869. },
  20870. "goodsid": {
  20871. "description": "商品ID(自增ID SEQ_GOODS)",
  20872. "type": "integer"
  20873. },
  20874. "goodsname": {
  20875. "description": "商品名称",
  20876. "type": "string"
  20877. },
  20878. "goodsprice": {
  20879. "description": "商品价格",
  20880. "type": "number"
  20881. },
  20882. "hotindex": {
  20883. "description": "景点热度",
  20884. "type": "integer"
  20885. },
  20886. "last": {
  20887. "description": "现价",
  20888. "type": "number"
  20889. },
  20890. "limitdown": {
  20891. "description": "跌停价",
  20892. "type": "number"
  20893. },
  20894. "limitup": {
  20895. "description": "涨停价",
  20896. "type": "number"
  20897. },
  20898. "lotsize": {
  20899. "description": "手数最小变动单位",
  20900. "type": "integer"
  20901. },
  20902. "marketid": {
  20903. "description": "所属市场ID",
  20904. "type": "integer"
  20905. },
  20906. "picurls": {
  20907. "description": "介绍图片[多张用逗号分隔]",
  20908. "type": "string"
  20909. },
  20910. "quoteminunit": {
  20911. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  20912. "type": "integer"
  20913. },
  20914. "stepvalue": {
  20915. "description": "价格最小变动单位",
  20916. "type": "number"
  20917. },
  20918. "trademode": {
  20919. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  20920. "type": "integer"
  20921. },
  20922. "vendorattr": {
  20923. "description": "供应商附件(多张,逗号分隔)",
  20924. "type": "string"
  20925. },
  20926. "vendorname": {
  20927. "description": "供应商名称",
  20928. "type": "string"
  20929. },
  20930. "vendorphone": {
  20931. "description": "供应商客服电话",
  20932. "type": "string"
  20933. },
  20934. "videourls": {
  20935. "description": "介绍视频[多张用逗号分隔]",
  20936. "type": "string"
  20937. }
  20938. }
  20939. },
  20940. "models.HsbyMarketGoods": {
  20941. "type": "object",
  20942. "required": [
  20943. "accountid",
  20944. "buyorsell",
  20945. "goodscode",
  20946. "goodsid",
  20947. "goodsname",
  20948. "marketid",
  20949. "orderid",
  20950. "trademode"
  20951. ],
  20952. "properties": {
  20953. "accountid": {
  20954. "description": "账户ID[报价币种]",
  20955. "type": "integer"
  20956. },
  20957. "agreeunit": {
  20958. "description": "合约单位",
  20959. "type": "number"
  20960. },
  20961. "buyorsell": {
  20962. "description": "买卖 - 0:买 1:卖",
  20963. "type": "integer"
  20964. },
  20965. "categoryid": {
  20966. "description": "类别ID(WRCATEGORY)",
  20967. "type": "integer"
  20968. },
  20969. "currency": {
  20970. "description": "货币",
  20971. "type": "string"
  20972. },
  20973. "currencysign": {
  20974. "description": "货币符号",
  20975. "type": "string"
  20976. },
  20977. "customername": {
  20978. "description": "卖家名称",
  20979. "type": "string"
  20980. },
  20981. "decimalplace": {
  20982. "description": "报价小数位",
  20983. "type": "integer"
  20984. },
  20985. "goodscode": {
  20986. "description": "商品代码(内部)",
  20987. "type": "string"
  20988. },
  20989. "goodsid": {
  20990. "description": "商品ID",
  20991. "type": "integer"
  20992. },
  20993. "goodsname": {
  20994. "description": "商品名称",
  20995. "type": "string"
  20996. },
  20997. "goodsprice": {
  20998. "description": "商品价格",
  20999. "type": "number"
  21000. },
  21001. "hascoupon": {
  21002. "description": "是否可用优惠卷",
  21003. "type": "boolean"
  21004. },
  21005. "hotindex": {
  21006. "description": "景点热度",
  21007. "type": "integer"
  21008. },
  21009. "marketid": {
  21010. "description": "市场ID",
  21011. "type": "integer"
  21012. },
  21013. "orderid": {
  21014. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  21015. "type": "string"
  21016. },
  21017. "orderprice": {
  21018. "description": "委托价格",
  21019. "type": "number"
  21020. },
  21021. "orderstatus": {
  21022. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  21023. "type": "integer"
  21024. },
  21025. "picurls": {
  21026. "description": "介绍图片[多张用逗号分隔]",
  21027. "type": "string"
  21028. },
  21029. "quoteminunit": {
  21030. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  21031. "type": "integer"
  21032. },
  21033. "sellUserID": {
  21034. "description": "卖方UserID",
  21035. "type": "integer"
  21036. },
  21037. "trademode": {
  21038. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  21039. "type": "integer"
  21040. },
  21041. "videourls": {
  21042. "description": "介绍视频[多张用逗号分隔]",
  21043. "type": "string"
  21044. }
  21045. }
  21046. },
  21047. "models.HsbyMarketGoodsDetail": {
  21048. "type": "object",
  21049. "required": [
  21050. "accountid",
  21051. "buyorsell",
  21052. "goodscode",
  21053. "goodsid",
  21054. "goodsname",
  21055. "marketid",
  21056. "orderid",
  21057. "orderqty",
  21058. "trademode"
  21059. ],
  21060. "properties": {
  21061. "accountid": {
  21062. "description": "账户ID[报价币种]",
  21063. "type": "integer"
  21064. },
  21065. "agreeunit": {
  21066. "description": "合约单位",
  21067. "type": "number"
  21068. },
  21069. "buymaxqty": {
  21070. "description": "购买上限 [71] - 0为不限",
  21071. "type": "integer"
  21072. },
  21073. "buyorsell": {
  21074. "description": "买卖 - 0:买 1:卖",
  21075. "type": "integer"
  21076. },
  21077. "cancelqty": {
  21078. "description": "撤单数量",
  21079. "type": "integer"
  21080. },
  21081. "categoryid": {
  21082. "description": "类别ID(WRCATEGORY)",
  21083. "type": "integer"
  21084. },
  21085. "currency": {
  21086. "description": "货币",
  21087. "type": "string"
  21088. },
  21089. "currencysign": {
  21090. "description": "货币符号",
  21091. "type": "string"
  21092. },
  21093. "customername": {
  21094. "description": "卖家名称",
  21095. "type": "string"
  21096. },
  21097. "decimalplace": {
  21098. "description": "报价小数位",
  21099. "type": "integer"
  21100. },
  21101. "goodscode": {
  21102. "description": "商品代码(内部)",
  21103. "type": "string"
  21104. },
  21105. "goodsdesc": {
  21106. "description": "商品详情",
  21107. "type": "string"
  21108. },
  21109. "goodsid": {
  21110. "description": "商品ID",
  21111. "type": "integer"
  21112. },
  21113. "goodsname": {
  21114. "description": "商品名称",
  21115. "type": "string"
  21116. },
  21117. "goodsprice": {
  21118. "description": "商品价格",
  21119. "type": "number"
  21120. },
  21121. "hotindex": {
  21122. "description": "景点热度",
  21123. "type": "integer"
  21124. },
  21125. "lotsize": {
  21126. "description": "手数最小变动单位",
  21127. "type": "integer"
  21128. },
  21129. "marketid": {
  21130. "description": "市场ID",
  21131. "type": "integer"
  21132. },
  21133. "orderid": {
  21134. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  21135. "type": "string"
  21136. },
  21137. "orderprice": {
  21138. "description": "委托价格",
  21139. "type": "number"
  21140. },
  21141. "orderqty": {
  21142. "description": "委托数量",
  21143. "type": "integer"
  21144. },
  21145. "orderstatus": {
  21146. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  21147. "type": "integer"
  21148. },
  21149. "picurls": {
  21150. "description": "介绍图片[多张用逗号分隔]",
  21151. "type": "string"
  21152. },
  21153. "quoteminunit": {
  21154. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  21155. "type": "integer"
  21156. },
  21157. "sellUserID": {
  21158. "description": "卖方UserID",
  21159. "type": "integer"
  21160. },
  21161. "trademode": {
  21162. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  21163. "type": "integer"
  21164. },
  21165. "tradeqty": {
  21166. "description": "成交数量",
  21167. "type": "integer"
  21168. },
  21169. "vendorattr": {
  21170. "description": "供应商附件(多张,逗号分隔)",
  21171. "type": "string"
  21172. },
  21173. "vendorname": {
  21174. "description": "供应商名称",
  21175. "type": "string"
  21176. },
  21177. "vendorphone": {
  21178. "description": "供应商客服电话",
  21179. "type": "string"
  21180. },
  21181. "videourls": {
  21182. "description": "介绍视频[多张用逗号分隔]",
  21183. "type": "string"
  21184. }
  21185. }
  21186. },
  21187. "models.HsbyMarketInfo": {
  21188. "type": "object",
  21189. "required": [
  21190. "marketid",
  21191. "marketstatus",
  21192. "trademode"
  21193. ],
  21194. "properties": {
  21195. "marketid": {
  21196. "description": "市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务",
  21197. "type": "integer"
  21198. },
  21199. "marketname": {
  21200. "description": "市场名称",
  21201. "type": "string"
  21202. },
  21203. "marketstatus": {
  21204. "description": "生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销",
  21205. "type": "integer"
  21206. },
  21207. "trademode": {
  21208. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  21209. "type": "integer"
  21210. }
  21211. }
  21212. },
  21213. "models.HsbyMyGoods": {
  21214. "type": "object",
  21215. "required": [
  21216. "accountid",
  21217. "goodscode",
  21218. "goodsid",
  21219. "goodsname",
  21220. "marketid",
  21221. "trademode"
  21222. ],
  21223. "properties": {
  21224. "accountid": {
  21225. "description": "账号Id",
  21226. "type": "integer"
  21227. },
  21228. "agreeunit": {
  21229. "description": "合约单位",
  21230. "type": "number"
  21231. },
  21232. "buyaverageprice": {
  21233. "description": "持仓均价",
  21234. "type": "number"
  21235. },
  21236. "buycurholderamount": {
  21237. "description": "买当前持仓总金额[商品币种]",
  21238. "type": "number"
  21239. },
  21240. "buycurpositionqty": {
  21241. "description": "买当前持仓总数量",
  21242. "type": "integer"
  21243. },
  21244. "buymaxqty": {
  21245. "description": "购买上限 [71] - 0为不限",
  21246. "type": "integer"
  21247. },
  21248. "currencysign": {
  21249. "description": "货币符号",
  21250. "type": "string"
  21251. },
  21252. "decimalplace": {
  21253. "description": "报价小数位",
  21254. "type": "integer"
  21255. },
  21256. "enableqty": {
  21257. "description": "可用数量",
  21258. "type": "integer"
  21259. },
  21260. "goodscode": {
  21261. "description": "商品代码(内部)",
  21262. "type": "string"
  21263. },
  21264. "goodsid": {
  21265. "description": "商品Id",
  21266. "type": "integer"
  21267. },
  21268. "goodsname": {
  21269. "description": "商品名称",
  21270. "type": "string"
  21271. },
  21272. "goodsprice": {
  21273. "description": "商品价格",
  21274. "type": "number"
  21275. },
  21276. "goodsstatus": {
  21277. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  21278. "type": "integer"
  21279. },
  21280. "last": {
  21281. "description": "现价(仅使用于挂牌点选)",
  21282. "type": "number"
  21283. },
  21284. "limitdown": {
  21285. "description": "跌停价(仅使用于挂牌点选)",
  21286. "type": "number"
  21287. },
  21288. "limitup": {
  21289. "description": "涨停价(仅使用于挂牌点选)",
  21290. "type": "number"
  21291. },
  21292. "lotsize": {
  21293. "description": "手数最小变动单位",
  21294. "type": "integer"
  21295. },
  21296. "marketid": {
  21297. "description": "所属市场ID",
  21298. "type": "integer"
  21299. },
  21300. "picurls": {
  21301. "description": "介绍图片[多张用逗号分隔]",
  21302. "type": "string"
  21303. },
  21304. "quoteminunit": {
  21305. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  21306. "type": "integer"
  21307. },
  21308. "stepvalue": {
  21309. "description": "价格最小变动单位",
  21310. "type": "number"
  21311. },
  21312. "trademode": {
  21313. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  21314. "type": "integer"
  21315. }
  21316. }
  21317. },
  21318. "models.HsbyMyPackage": {
  21319. "type": "object",
  21320. "required": [
  21321. "goodscode",
  21322. "goodsname",
  21323. "takeorderid",
  21324. "trademode"
  21325. ],
  21326. "properties": {
  21327. "accountid": {
  21328. "description": "账户ID",
  21329. "type": "integer"
  21330. },
  21331. "address": {
  21332. "description": "提货人详细地址",
  21333. "type": "string"
  21334. },
  21335. "agreeunit": {
  21336. "description": "合约单位",
  21337. "type": "number"
  21338. },
  21339. "amount": {
  21340. "description": "提货金额",
  21341. "type": "number"
  21342. },
  21343. "auditer": {
  21344. "description": "审核人",
  21345. "type": "integer"
  21346. },
  21347. "audittime": {
  21348. "description": "审核时间",
  21349. "type": "string"
  21350. },
  21351. "averageprice": {
  21352. "description": "均价",
  21353. "type": "number"
  21354. },
  21355. "cardnum": {
  21356. "description": "提货人证件号码",
  21357. "type": "string"
  21358. },
  21359. "cardtypeid": {
  21360. "description": "提货人证件类型",
  21361. "type": "integer"
  21362. },
  21363. "checkremark": {
  21364. "description": "审核备注",
  21365. "type": "string"
  21366. },
  21367. "currencysign": {
  21368. "description": "货币符号",
  21369. "type": "string"
  21370. },
  21371. "decimalplace": {
  21372. "description": "报价小数位",
  21373. "type": "integer"
  21374. },
  21375. "goodscode": {
  21376. "description": "商品代码(内部)",
  21377. "type": "string"
  21378. },
  21379. "goodsid": {
  21380. "description": "商品ID",
  21381. "type": "integer"
  21382. },
  21383. "goodsname": {
  21384. "description": "商品名称",
  21385. "type": "string"
  21386. },
  21387. "handlestatus": {
  21388. "description": "处理状态",
  21389. "type": "integer"
  21390. },
  21391. "marketid": {
  21392. "description": "市场ID",
  21393. "type": "integer"
  21394. },
  21395. "phonenum": {
  21396. "description": "提货人联系方式",
  21397. "type": "string"
  21398. },
  21399. "picurls": {
  21400. "description": "介绍图片[多张用逗号分隔]",
  21401. "type": "string"
  21402. },
  21403. "qty": {
  21404. "description": "提货数量",
  21405. "type": "number"
  21406. },
  21407. "recivername": {
  21408. "description": "提货人姓名",
  21409. "type": "string"
  21410. },
  21411. "reqtime": {
  21412. "description": "更新时间",
  21413. "type": "string"
  21414. },
  21415. "takemode": {
  21416. "description": "提货方式 - 2:自提 3:配送",
  21417. "type": "integer"
  21418. },
  21419. "takeorderid": {
  21420. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  21421. "type": "string"
  21422. },
  21423. "takeorderstatus": {
  21424. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  21425. "type": "integer"
  21426. },
  21427. "takeremark": {
  21428. "description": "提货备注",
  21429. "type": "string"
  21430. },
  21431. "tradedate": {
  21432. "description": "交易日(yyyyMMdd)",
  21433. "type": "string"
  21434. },
  21435. "trademode": {
  21436. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  21437. "type": "integer"
  21438. },
  21439. "userid": {
  21440. "description": "用户ID",
  21441. "type": "integer"
  21442. },
  21443. "vendorname": {
  21444. "description": "供应商名称",
  21445. "type": "string"
  21446. }
  21447. }
  21448. },
  21449. "models.HsbyPreGoods": {
  21450. "type": "object",
  21451. "required": [
  21452. "goodscode",
  21453. "goodsid",
  21454. "goodsname",
  21455. "marketid",
  21456. "trademode"
  21457. ],
  21458. "properties": {
  21459. "agreeunit": {
  21460. "description": "合约单位",
  21461. "type": "number"
  21462. },
  21463. "currency": {
  21464. "description": "货币",
  21465. "type": "string"
  21466. },
  21467. "currencysign": {
  21468. "description": "货币符号",
  21469. "type": "string"
  21470. },
  21471. "decimalplace": {
  21472. "description": "报价小数位",
  21473. "type": "integer"
  21474. },
  21475. "desccityid": {
  21476. "description": "目的地(市)",
  21477. "type": "integer"
  21478. },
  21479. "descprovinceid": {
  21480. "description": "目的地(省)",
  21481. "type": "integer"
  21482. },
  21483. "enableqty": {
  21484. "description": "剩余数量",
  21485. "type": "integer"
  21486. },
  21487. "goodscode": {
  21488. "description": "商品代码(内部)",
  21489. "type": "string"
  21490. },
  21491. "goodsid": {
  21492. "description": "商品ID(自增ID SEQ_GOODS)",
  21493. "type": "integer"
  21494. },
  21495. "goodsname": {
  21496. "description": "商品名称",
  21497. "type": "string"
  21498. },
  21499. "goodsstatus": {
  21500. "description": "商品状态- 2:未上市 3:上市",
  21501. "type": "integer"
  21502. },
  21503. "lasttradedate": {
  21504. "description": "最后交易日期(状态:待退市)",
  21505. "type": "string"
  21506. },
  21507. "listingdate": {
  21508. "description": "交易开始日期",
  21509. "type": "string"
  21510. },
  21511. "marketid": {
  21512. "description": "所属市场ID",
  21513. "type": "integer"
  21514. },
  21515. "picurls": {
  21516. "description": "介绍图片[多张用逗号分隔]",
  21517. "type": "string"
  21518. },
  21519. "presaledqty": {
  21520. "description": "已预售量(预售结束时更新)",
  21521. "type": "integer"
  21522. },
  21523. "presaleqty": {
  21524. "description": "预售数量",
  21525. "type": "integer"
  21526. },
  21527. "quoteminunit": {
  21528. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  21529. "type": "integer"
  21530. },
  21531. "refprice": {
  21532. "description": "参考价格[一口价]",
  21533. "type": "number"
  21534. },
  21535. "relatedgoodsid": {
  21536. "description": "关联交易合约ID",
  21537. "type": "integer"
  21538. },
  21539. "trademode": {
  21540. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  21541. "type": "integer"
  21542. },
  21543. "videourls": {
  21544. "description": "介绍视频[多张用逗号分隔]",
  21545. "type": "string"
  21546. }
  21547. }
  21548. },
  21549. "models.HsbyPreGoodsDetail": {
  21550. "type": "object",
  21551. "required": [
  21552. "goodscode",
  21553. "goodsid",
  21554. "goodsname",
  21555. "marketid",
  21556. "trademode"
  21557. ],
  21558. "properties": {
  21559. "agreeunit": {
  21560. "description": "合约单位",
  21561. "type": "number"
  21562. },
  21563. "buymaxqty": {
  21564. "description": "购买上限 [71] - 0为不限",
  21565. "type": "integer"
  21566. },
  21567. "currency": {
  21568. "description": "货币",
  21569. "type": "string"
  21570. },
  21571. "currencysign": {
  21572. "description": "货币符号",
  21573. "type": "string"
  21574. },
  21575. "customername": {
  21576. "description": "发行单位",
  21577. "type": "string"
  21578. },
  21579. "decimalplace": {
  21580. "description": "报价小数位",
  21581. "type": "integer"
  21582. },
  21583. "desccityid": {
  21584. "description": "目的地(市)ID",
  21585. "type": "integer"
  21586. },
  21587. "descprovinceid": {
  21588. "description": "目的地(省)ID",
  21589. "type": "integer"
  21590. },
  21591. "enableqty": {
  21592. "description": "剩余数量",
  21593. "type": "integer"
  21594. },
  21595. "goodscode": {
  21596. "description": "商品代码(内部)",
  21597. "type": "string"
  21598. },
  21599. "goodsdesc": {
  21600. "description": "商品详情",
  21601. "type": "string"
  21602. },
  21603. "goodsid": {
  21604. "description": "商品ID(自增ID SEQ_GOODS)",
  21605. "type": "integer"
  21606. },
  21607. "goodsname": {
  21608. "description": "商品名称",
  21609. "type": "string"
  21610. },
  21611. "goodsstatus": {
  21612. "description": "商品状态- 2:未上市 3:上市",
  21613. "type": "integer"
  21614. },
  21615. "goodunit": {
  21616. "description": "报价单位",
  21617. "type": "string"
  21618. },
  21619. "lasttradedate": {
  21620. "description": "最后交易日期(状态:待退市)",
  21621. "type": "string"
  21622. },
  21623. "listingdate": {
  21624. "description": "交易开始日期",
  21625. "type": "string"
  21626. },
  21627. "lotsize": {
  21628. "description": "手数最小变动单位",
  21629. "type": "integer"
  21630. },
  21631. "marketid": {
  21632. "description": "所属市场ID",
  21633. "type": "integer"
  21634. },
  21635. "picurls": {
  21636. "description": "介绍图片[多张用逗号分隔]",
  21637. "type": "string"
  21638. },
  21639. "presaledqty": {
  21640. "description": "已预售量(预售结束时更新)",
  21641. "type": "integer"
  21642. },
  21643. "presaleqty": {
  21644. "description": "预售数量",
  21645. "type": "integer"
  21646. },
  21647. "quoteminunit": {
  21648. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  21649. "type": "integer"
  21650. },
  21651. "refprice": {
  21652. "description": "参考价格[一口价]",
  21653. "type": "number"
  21654. },
  21655. "relatedgoodsid": {
  21656. "description": "关联交易合约ID",
  21657. "type": "integer"
  21658. },
  21659. "stepvalue": {
  21660. "description": "价格最小变动单位",
  21661. "type": "number"
  21662. },
  21663. "trademode": {
  21664. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  21665. "type": "integer"
  21666. },
  21667. "vendorattr": {
  21668. "description": "供应商附件(多张,逗号分隔)",
  21669. "type": "string"
  21670. },
  21671. "vendorname": {
  21672. "description": "供应商名称",
  21673. "type": "string"
  21674. },
  21675. "vendorphone": {
  21676. "description": "供应商客服电话",
  21677. "type": "string"
  21678. },
  21679. "videourls": {
  21680. "description": "介绍视频[多张用逗号分隔]",
  21681. "type": "string"
  21682. }
  21683. }
  21684. },
  21685. "models.HsbySellCollectionOrder": {
  21686. "type": "object",
  21687. "required": [
  21688. "goodscode",
  21689. "goodsname",
  21690. "tradeid",
  21691. "trademode"
  21692. ],
  21693. "properties": {
  21694. "agreeunit": {
  21695. "description": "合约单位",
  21696. "type": "number"
  21697. },
  21698. "buyaccountid": {
  21699. "description": "买方账号ID[报价币种]",
  21700. "type": "integer"
  21701. },
  21702. "buyorderid": {
  21703. "description": "买方委托单号",
  21704. "type": "string"
  21705. },
  21706. "createtime": {
  21707. "description": "创建时间",
  21708. "type": "string"
  21709. },
  21710. "currencysign": {
  21711. "description": "货币符号",
  21712. "type": "string"
  21713. },
  21714. "decimalplace": {
  21715. "description": "报价小数位",
  21716. "type": "integer"
  21717. },
  21718. "goodscode": {
  21719. "description": "商品代码(内部)",
  21720. "type": "string"
  21721. },
  21722. "goodsid": {
  21723. "description": "商品ID",
  21724. "type": "integer"
  21725. },
  21726. "goodsname": {
  21727. "description": "商品名称",
  21728. "type": "string"
  21729. },
  21730. "marketid": {
  21731. "description": "市场ID",
  21732. "type": "integer"
  21733. },
  21734. "offamount": {
  21735. "description": "优惠金额",
  21736. "type": "number"
  21737. },
  21738. "payamount": {
  21739. "description": "支付金额 = TradeAmount + TradeCharge - OffAmount",
  21740. "type": "number"
  21741. },
  21742. "payflag": {
  21743. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  21744. "type": "integer"
  21745. },
  21746. "paylimitedtime": {
  21747. "description": "支付期限",
  21748. "type": "string"
  21749. },
  21750. "paytime": {
  21751. "description": "付款时间",
  21752. "type": "string"
  21753. },
  21754. "picurls": {
  21755. "description": "商品介绍图片[多张用逗号分隔]",
  21756. "type": "string"
  21757. },
  21758. "sellaccountid": {
  21759. "description": "卖方账号ID[报价币种]",
  21760. "type": "integer"
  21761. },
  21762. "sellorderid": {
  21763. "description": "卖方委托单号",
  21764. "type": "string"
  21765. },
  21766. "tradeamount": {
  21767. "description": "成交金额",
  21768. "type": "number"
  21769. },
  21770. "tradecharge": {
  21771. "description": "成交手续费(买方)",
  21772. "type": "number"
  21773. },
  21774. "tradedate": {
  21775. "description": "交易日(yyyyMMdd)",
  21776. "type": "string"
  21777. },
  21778. "tradeid": {
  21779. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  21780. "type": "string"
  21781. },
  21782. "trademode": {
  21783. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  21784. "type": "integer"
  21785. },
  21786. "tradeprice": {
  21787. "description": "成交价格",
  21788. "type": "number"
  21789. },
  21790. "tradeqty": {
  21791. "description": "成交数量",
  21792. "type": "integer"
  21793. }
  21794. }
  21795. },
  21796. "models.HsbySellMyDetail": {
  21797. "type": "object",
  21798. "required": [
  21799. "accountid",
  21800. "buyorsell",
  21801. "goodscode",
  21802. "goodsid",
  21803. "goodsname",
  21804. "marketid",
  21805. "orderid",
  21806. "time",
  21807. "trademode"
  21808. ],
  21809. "properties": {
  21810. "accountid": {
  21811. "description": "账户ID[报价币种]",
  21812. "type": "integer"
  21813. },
  21814. "agreeunit": {
  21815. "description": "合约单位",
  21816. "type": "number"
  21817. },
  21818. "buyorsell": {
  21819. "description": "买卖 - 0:买 1:卖",
  21820. "type": "integer"
  21821. },
  21822. "currencysign": {
  21823. "description": "货币符号",
  21824. "type": "string"
  21825. },
  21826. "decimalplace": {
  21827. "description": "报价小数位",
  21828. "type": "integer"
  21829. },
  21830. "goodscode": {
  21831. "description": "商品代码(内部)",
  21832. "type": "string"
  21833. },
  21834. "goodsid": {
  21835. "description": "商品ID",
  21836. "type": "integer"
  21837. },
  21838. "goodsname": {
  21839. "description": "商品名称",
  21840. "type": "string"
  21841. },
  21842. "marketid": {
  21843. "description": "市场ID",
  21844. "type": "integer"
  21845. },
  21846. "orderid": {
  21847. "description": "单号(发布中 - 委托单号;已完成 - 成交单号)",
  21848. "type": "string"
  21849. },
  21850. "ordertype": {
  21851. "description": "单据类型:0 - 发布中, 1 - 已完成",
  21852. "type": "integer"
  21853. },
  21854. "picurls": {
  21855. "description": "介绍图片[多张用逗号分隔]",
  21856. "type": "string"
  21857. },
  21858. "price": {
  21859. "description": "价格",
  21860. "type": "number"
  21861. },
  21862. "qty": {
  21863. "description": "数量",
  21864. "type": "integer"
  21865. },
  21866. "time": {
  21867. "description": "时间",
  21868. "type": "string"
  21869. },
  21870. "trademode": {
  21871. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  21872. "type": "integer"
  21873. },
  21874. "vendorname": {
  21875. "description": "供应商名称",
  21876. "type": "string"
  21877. }
  21878. }
  21879. },
  21880. "models.HsbyTopGoods": {
  21881. "type": "object",
  21882. "required": [
  21883. "goodscode",
  21884. "goodsid",
  21885. "goodsname",
  21886. "marketid",
  21887. "trademode"
  21888. ],
  21889. "properties": {
  21890. "agreeunit": {
  21891. "description": "合约单位",
  21892. "type": "number"
  21893. },
  21894. "currency": {
  21895. "description": "货币",
  21896. "type": "string"
  21897. },
  21898. "currencysign": {
  21899. "description": "货币符号",
  21900. "type": "string"
  21901. },
  21902. "decimalplace": {
  21903. "description": "报价小数位",
  21904. "type": "integer"
  21905. },
  21906. "desccityid": {
  21907. "description": "目的地(市)",
  21908. "type": "integer"
  21909. },
  21910. "descprovinceid": {
  21911. "description": "目的地(省)",
  21912. "type": "integer"
  21913. },
  21914. "goodscode": {
  21915. "description": "商品代码(内部)",
  21916. "type": "string"
  21917. },
  21918. "goodsid": {
  21919. "description": "商品ID(自增ID SEQ_GOODS)",
  21920. "type": "integer"
  21921. },
  21922. "goodsname": {
  21923. "description": "商品名称",
  21924. "type": "string"
  21925. },
  21926. "hotindex": {
  21927. "description": "景点热度",
  21928. "type": "integer"
  21929. },
  21930. "last": {
  21931. "description": "现价",
  21932. "type": "number"
  21933. },
  21934. "marketid": {
  21935. "description": "所属市场ID",
  21936. "type": "integer"
  21937. },
  21938. "picurls": {
  21939. "description": "介绍图片[多张用逗号分隔]",
  21940. "type": "string"
  21941. },
  21942. "quoteminunit": {
  21943. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  21944. "type": "integer"
  21945. },
  21946. "trademode": {
  21947. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  21948. "type": "integer"
  21949. },
  21950. "videourls": {
  21951. "description": "介绍视频[多张用逗号分隔]",
  21952. "type": "string"
  21953. }
  21954. }
  21955. },
  21956. "models.HybsMyBuyOrderDetail": {
  21957. "type": "object",
  21958. "required": [
  21959. "accountid",
  21960. "buyorsell",
  21961. "goodscode",
  21962. "goodsid",
  21963. "goodsname",
  21964. "marketid",
  21965. "orderid",
  21966. "orderqty",
  21967. "ordertime",
  21968. "trademode"
  21969. ],
  21970. "properties": {
  21971. "accountid": {
  21972. "description": "账户ID[报价币种]",
  21973. "type": "integer"
  21974. },
  21975. "agreeunit": {
  21976. "description": "合约单位",
  21977. "type": "number"
  21978. },
  21979. "buyorsell": {
  21980. "description": "买卖 - 0:买 1:卖",
  21981. "type": "integer"
  21982. },
  21983. "cancelqty": {
  21984. "description": "撤单数量",
  21985. "type": "integer"
  21986. },
  21987. "currencysign": {
  21988. "description": "货币符号",
  21989. "type": "string"
  21990. },
  21991. "decimalplace": {
  21992. "description": "报价小数位",
  21993. "type": "integer"
  21994. },
  21995. "goodscode": {
  21996. "description": "商品代码(内部)",
  21997. "type": "string"
  21998. },
  21999. "goodsid": {
  22000. "description": "商品ID",
  22001. "type": "integer"
  22002. },
  22003. "goodsname": {
  22004. "description": "商品名称",
  22005. "type": "string"
  22006. },
  22007. "listingselecttype": {
  22008. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  22009. "type": "integer"
  22010. },
  22011. "marketid": {
  22012. "description": "市场ID",
  22013. "type": "integer"
  22014. },
  22015. "mybuystatus": {
  22016. "description": "\"我的订单\"显示状态- 1:抢购中 2:求购中 3:已完成 4:已撤消 5:委托失败",
  22017. "type": "integer"
  22018. },
  22019. "orderamount": {
  22020. "description": "委托金额",
  22021. "type": "number"
  22022. },
  22023. "orderid": {
  22024. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  22025. "type": "string"
  22026. },
  22027. "orderprice": {
  22028. "description": "委托价格",
  22029. "type": "number"
  22030. },
  22031. "orderqty": {
  22032. "description": "委托数量",
  22033. "type": "integer"
  22034. },
  22035. "orderstatus": {
  22036. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  22037. "type": "integer"
  22038. },
  22039. "ordertime": {
  22040. "description": "委托时间",
  22041. "type": "string"
  22042. },
  22043. "picurls1": {
  22044. "description": "预售商品介绍图片[多张用逗号分隔]",
  22045. "type": "string"
  22046. },
  22047. "picurls2": {
  22048. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  22049. "type": "string"
  22050. },
  22051. "trademode": {
  22052. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  22053. "type": "integer"
  22054. },
  22055. "tradeqty": {
  22056. "description": "成交数量",
  22057. "type": "integer"
  22058. },
  22059. "vendorname1": {
  22060. "description": "预售商品供应商名称",
  22061. "type": "string"
  22062. },
  22063. "vendorname2": {
  22064. "description": "挂牌商品供应商名称",
  22065. "type": "string"
  22066. }
  22067. }
  22068. },
  22069. "models.Loginaccount": {
  22070. "type": "object",
  22071. "required": [
  22072. "loginid"
  22073. ],
  22074. "properties": {
  22075. "canoutin": {
  22076. "description": "是否可出入金 - 0:不可 1:可",
  22077. "type": "integer"
  22078. },
  22079. "clientroleid": {
  22080. "description": "终端角色ID",
  22081. "type": "integer"
  22082. },
  22083. "haslogined": {
  22084. "description": "是否已登录 - 0:未登录 1:已登录",
  22085. "type": "integer"
  22086. },
  22087. "hasupdatedpwd": {
  22088. "description": "是否已更改密码 - 0:未修改 1:已修改",
  22089. "type": "integer"
  22090. },
  22091. "lastloginip": {
  22092. "description": "最新登录地址",
  22093. "type": "string"
  22094. },
  22095. "lastloginmode": {
  22096. "description": "最新登录方式(客户端类型) - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  22097. "type": "integer"
  22098. },
  22099. "lastloginremark": {
  22100. "description": "最新登录描述",
  22101. "type": "string"
  22102. },
  22103. "lastlogintime": {
  22104. "description": "最新登录时间",
  22105. "type": "string"
  22106. },
  22107. "logincode": {
  22108. "description": "登录代码",
  22109. "type": "string"
  22110. },
  22111. "loginfailnum": {
  22112. "description": "连续登录失败次数(登录成功时清零)",
  22113. "type": "integer"
  22114. },
  22115. "loginid": {
  22116. "description": "登陆账号",
  22117. "type": "integer"
  22118. },
  22119. "loginport": {
  22120. "description": "最新登录端口",
  22121. "type": "integer"
  22122. },
  22123. "loginstatus": {
  22124. "description": "登录账号状态 1:正常 2:冻结 3:无效",
  22125. "type": "integer"
  22126. },
  22127. "loginusertype": {
  22128. "description": "登录账号类型 - 1:投资者 2:机构交易员",
  22129. "type": "integer"
  22130. },
  22131. "modifierid": {
  22132. "description": "修改人",
  22133. "type": "integer"
  22134. },
  22135. "modifytime": {
  22136. "description": "修改时间",
  22137. "type": "string"
  22138. },
  22139. "pwdwrongcount": {
  22140. "description": "密码错误次数",
  22141. "type": "integer"
  22142. },
  22143. "taaccountrighttype": {
  22144. "description": "资金账号权限类型 - 1:不选默认为所有权限 2:不选默认为无权限",
  22145. "type": "integer"
  22146. },
  22147. "unfreezetime": {
  22148. "description": "账户解冻时间",
  22149. "type": "string"
  22150. },
  22151. "userid": {
  22152. "description": "用户ID",
  22153. "type": "integer"
  22154. }
  22155. }
  22156. },
  22157. "models.MainAccountInfo": {
  22158. "type": "object",
  22159. "properties": {
  22160. "accountid": {
  22161. "description": "账号id",
  22162. "type": "integer"
  22163. },
  22164. "accountname": {
  22165. "description": "账号名称(taaccount表中的名称)",
  22166. "type": "string"
  22167. },
  22168. "appid": {
  22169. "description": "AppID",
  22170. "type": "string"
  22171. },
  22172. "authcode": {
  22173. "description": "授权码",
  22174. "type": "string"
  22175. },
  22176. "brokerid": {
  22177. "description": "经纪商id",
  22178. "type": "string"
  22179. },
  22180. "fcid": {
  22181. "description": "期货公司id",
  22182. "type": "integer"
  22183. },
  22184. "fcname": {
  22185. "description": "期货公司代码",
  22186. "type": "string"
  22187. },
  22188. "hedgeaccountcode": {
  22189. "description": "外部账号代码(主账号登录代码)",
  22190. "type": "string"
  22191. },
  22192. "hedgeaccountpwd": {
  22193. "description": "密码",
  22194. "type": "string"
  22195. },
  22196. "ismain": {
  22197. "description": "是否主账号",
  22198. "type": "integer"
  22199. },
  22200. "relateduserid": {
  22201. "description": "关联用户id",
  22202. "type": "integer"
  22203. },
  22204. "userid": {
  22205. "description": "关联用户id",
  22206. "type": "integer"
  22207. }
  22208. }
  22209. },
  22210. "models.Market": {
  22211. "type": "object",
  22212. "required": [
  22213. "marketid",
  22214. "marketstatus",
  22215. "openmethod",
  22216. "reckonpricealgorithm",
  22217. "trademode",
  22218. "tradeproperty"
  22219. ],
  22220. "properties": {
  22221. "auctionwrtype": {
  22222. "description": "竞拍仓单类型 - 1:无仓单 2:有仓单 3;有无仓单均可",
  22223. "type": "integer"
  22224. },
  22225. "canacceptquote": {
  22226. "description": "确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]",
  22227. "type": "integer"
  22228. },
  22229. "cangoodsexercise": {
  22230. "description": "[期权]是否可现货行权- 0:否 1:是",
  22231. "type": "integer"
  22232. },
  22233. "cangoodsexercisetype": {
  22234. "description": "可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]",
  22235. "type": "integer"
  22236. },
  22237. "canmanualquotestrike": {
  22238. "description": "是否可手动报行权价- 0:否 1:是 [期权]",
  22239. "type": "integer"
  22240. },
  22241. "canmutistage": {
  22242. "description": "是否可多段运行 – 0:不可 1:可 [挂牌期权]",
  22243. "type": "integer"
  22244. },
  22245. "canpreexercise": {
  22246. "description": "[期权]是否可预申报- 0:否 1:是",
  22247. "type": "integer"
  22248. },
  22249. "clearinterval": {
  22250. "description": "待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))",
  22251. "type": "integer"
  22252. },
  22253. "contracttmp": {
  22254. "description": "合同模板[荷兰式][竞价式][仓单贸易]",
  22255. "type": "string"
  22256. },
  22257. "exchareaid": {
  22258. "description": "所属交易所,可以没有",
  22259. "type": "integer"
  22260. },
  22261. "goodstype": {
  22262. "description": "商品类型 - 1:交易商品 2:仓单商品",
  22263. "type": "integer"
  22264. },
  22265. "hasrebate": {
  22266. "description": "是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏",
  22267. "type": "integer"
  22268. },
  22269. "hastradecredit": {
  22270. "description": "是否交易授信[做市收益权] - 0:不授信 1:授信",
  22271. "type": "integer"
  22272. },
  22273. "haswr": {
  22274. "description": "[竞拍]是否需要仓单 - 0:不需要 1:需要-作废",
  22275. "type": "integer"
  22276. },
  22277. "isdeductmargin": {
  22278. "description": "竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除",
  22279. "type": "integer"
  22280. },
  22281. "isrecordsource": {
  22282. "description": "是否记录成交源 - 0:不记录 1:记录 [所有权]",
  22283. "type": "integer"
  22284. },
  22285. "isreleasemargin": {
  22286. "description": "成交参与保证金是否释放[竞价式] - 0:不释放 1释放",
  22287. "type": "integer"
  22288. },
  22289. "marginformula": {
  22290. "description": "持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  22291. "type": "integer"
  22292. },
  22293. "marginformula2": {
  22294. "description": "持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  22295. "type": "integer"
  22296. },
  22297. "marketid": {
  22298. "description": "市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务",
  22299. "type": "integer"
  22300. },
  22301. "marketname": {
  22302. "description": "市场名称",
  22303. "type": "string"
  22304. },
  22305. "marketserviceid": {
  22306. "description": "市场服务ID",
  22307. "type": "integer"
  22308. },
  22309. "marketstatus": {
  22310. "description": "生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销",
  22311. "type": "integer"
  22312. },
  22313. "markettype": {
  22314. "description": "市场类型- 1:非交易服务 2:交易服务",
  22315. "type": "integer"
  22316. },
  22317. "matchermode": {
  22318. "description": "指定对手模式[仓单贸易模式专用] - 1:任意对手",
  22319. "type": "integer"
  22320. },
  22321. "openmethod": {
  22322. "description": "开盘模式 - 0 自动 1手动",
  22323. "type": "integer"
  22324. },
  22325. "otcuserid": {
  22326. "description": "场外期权做市商[场外期权]",
  22327. "type": "integer"
  22328. },
  22329. "outersynctime": {
  22330. "description": "外部同步时间点(h24:mi:ss)[场外期权]",
  22331. "type": "string"
  22332. },
  22333. "pendingflag": {
  22334. "description": "待开市时间标识[通道交易-对冲] - 0:当日 1:上日",
  22335. "type": "integer"
  22336. },
  22337. "pendingtime": {
  22338. "description": "待开市时间[通道交易-对冲](HH:mm)",
  22339. "type": "string"
  22340. },
  22341. "performancetempid": {
  22342. "description": "履约计划模板ID - 作废",
  22343. "type": "integer"
  22344. },
  22345. "premiumquotemode": {
  22346. "description": "权利金报价方式 - 1:自动 2:手动",
  22347. "type": "integer"
  22348. },
  22349. "rebateratio": {
  22350. "description": "返利比率[竞价式]",
  22351. "type": "number"
  22352. },
  22353. "reckonorder": {
  22354. "description": "结算顺序",
  22355. "type": "integer"
  22356. },
  22357. "reckonpricealgorithm": {
  22358. "description": "结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价 6.卖一价 7.买一卖一均价 8.外部结算价",
  22359. "type": "integer"
  22360. },
  22361. "reckonpriceparam": {
  22362. "description": "结算价参数",
  22363. "type": "integer"
  22364. },
  22365. "reckontime": {
  22366. "description": "结算时间[通道交易-对冲](HH:mm)",
  22367. "type": "string"
  22368. },
  22369. "roleprioritytype": {
  22370. "description": "角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]",
  22371. "type": "integer"
  22372. },
  22373. "selllistingauditflag": {
  22374. "description": "卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要",
  22375. "type": "integer"
  22376. },
  22377. "trademarkettype": {
  22378. "description": "交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场",
  22379. "type": "integer"
  22380. },
  22381. "trademode": {
  22382. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  22383. "type": "integer"
  22384. },
  22385. "tradeproperty": {
  22386. "description": "交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易 8:场外期权",
  22387. "type": "integer"
  22388. },
  22389. "tradetype": {
  22390. "description": "下单方式[通道交易] - 1:直接转单 2:净头寸下单",
  22391. "type": "integer"
  22392. }
  22393. }
  22394. },
  22395. "models.Marketrun": {
  22396. "type": "object",
  22397. "required": [
  22398. "marketid",
  22399. "nexttradedate",
  22400. "reckonflag",
  22401. "runstatus",
  22402. "tradedate",
  22403. "tradedate2"
  22404. ],
  22405. "properties": {
  22406. "afternexttradedate": {
  22407. "description": "下下交易日",
  22408. "type": "string"
  22409. },
  22410. "clearquoteflag": {
  22411. "description": "行情清盘标志- 1:未发送 2:已发送 3:已回复",
  22412. "type": "integer"
  22413. },
  22414. "lastreckondate": {
  22415. "description": "最新交易日(结算成功)",
  22416. "type": "string"
  22417. },
  22418. "machinedate": {
  22419. "description": "机器时间",
  22420. "type": "string"
  22421. },
  22422. "manualflag": {
  22423. "description": "手动开市标志- 0:否 1:是 (市场为手动时,是否触发了手动开市标志)",
  22424. "type": "integer"
  22425. },
  22426. "marketid": {
  22427. "description": "市场ID",
  22428. "type": "integer"
  22429. },
  22430. "nexttradedate": {
  22431. "description": "下一交易日",
  22432. "type": "string"
  22433. },
  22434. "pretradedate": {
  22435. "description": "上一交易日",
  22436. "type": "string"
  22437. },
  22438. "reckonflag": {
  22439. "description": "结算标识 - 0: 停止结算 1: 正常(管理端控制此字段,交易服务根据此字段判断是否做结算)",
  22440. "type": "integer"
  22441. },
  22442. "runstatus": {
  22443. "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.今日免清算",
  22444. "type": "integer"
  22445. },
  22446. "sectionid": {
  22447. "description": "时间段号[多时段时用]",
  22448. "type": "integer"
  22449. },
  22450. "tradedate": {
  22451. "description": "当前交易日(服务) 资金结算完成即变更,供交易服务使用",
  22452. "type": "string"
  22453. },
  22454. "tradedate2": {
  22455. "description": "当前交易日(行情) 在第一个市场待开市时变更为TradeDate,供行情及终端系统使用",
  22456. "type": "string"
  22457. },
  22458. "updatetime": {
  22459. "description": "更新时间",
  22460. "type": "string"
  22461. }
  22462. }
  22463. },
  22464. "models.Messageboard": {
  22465. "type": "object",
  22466. "required": [
  22467. "messageboardid"
  22468. ],
  22469. "properties": {
  22470. "contactnum": {
  22471. "description": "联系电话",
  22472. "type": "string"
  22473. },
  22474. "createtime": {
  22475. "description": "创建时间",
  22476. "type": "string"
  22477. },
  22478. "message": {
  22479. "description": "留言信息",
  22480. "type": "string"
  22481. },
  22482. "messageboardid": {
  22483. "description": "留言簿ID(SEQ_MessageBoard)",
  22484. "type": "integer"
  22485. },
  22486. "userid": {
  22487. "description": "用户ID",
  22488. "type": "integer"
  22489. }
  22490. }
  22491. },
  22492. "models.MyCoupon": {
  22493. "type": "object",
  22494. "required": [
  22495. "accountid",
  22496. "coupontypeid"
  22497. ],
  22498. "properties": {
  22499. "accountid": {
  22500. "description": "资金账户ID",
  22501. "type": "integer"
  22502. },
  22503. "areauserid": {
  22504. "description": "所属机构",
  22505. "type": "integer"
  22506. },
  22507. "conditionvalue": {
  22508. "description": "条件阈值(可为0)",
  22509. "type": "number"
  22510. },
  22511. "couponcategroy": {
  22512. "description": "种类 - 1:现金券 2:折扣券 3:折扣券(单张)",
  22513. "type": "integer"
  22514. },
  22515. "couponname": {
  22516. "description": "优惠券名称",
  22517. "type": "string"
  22518. },
  22519. "coupontypeid": {
  22520. "description": "优惠券类型ID",
  22521. "type": "string"
  22522. },
  22523. "couponvalue": {
  22524. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值]",
  22525. "type": "number"
  22526. },
  22527. "curfreezeqty": {
  22528. "description": "期末冻结数量",
  22529. "type": "integer"
  22530. },
  22531. "curqty": {
  22532. "description": "期末数量",
  22533. "type": "integer"
  22534. },
  22535. "isgeneral": {
  22536. "description": "是否通用券 - 0:否 1:是",
  22537. "type": "integer"
  22538. },
  22539. "isunusable": {
  22540. "description": "是否不可用",
  22541. "type": "boolean"
  22542. },
  22543. "limitedflag": {
  22544. "description": "是否指定商品 - 0:不限 1:限制",
  22545. "type": "integer"
  22546. },
  22547. "limitedgoodsids": {
  22548. "description": "指定商品IDs[逗号分隔,前后加逗号]",
  22549. "type": "string"
  22550. },
  22551. "orifreezeqty": {
  22552. "description": "期初冻结数量",
  22553. "type": "integer"
  22554. },
  22555. "oriqty": {
  22556. "description": "期初数量",
  22557. "type": "integer"
  22558. },
  22559. "reasontype": {
  22560. "description": "不可用原因 - 0:未确认 1:不可用于此商品 2:不可用于此卖家",
  22561. "type": "integer"
  22562. },
  22563. "todaydecrease": {
  22564. "description": "今日减少",
  22565. "type": "integer"
  22566. },
  22567. "todayincrease": {
  22568. "description": "今日增加",
  22569. "type": "integer"
  22570. },
  22571. "userid": {
  22572. "description": "用户ID",
  22573. "type": "integer"
  22574. },
  22575. "userscope": {
  22576. "description": "卖家范围(用户ID,逗号分隔,前后加逗号) [IsGeneral =0时使用]",
  22577. "type": "string"
  22578. }
  22579. }
  22580. },
  22581. "models.MyCouponHold": {
  22582. "type": "object",
  22583. "required": [
  22584. "couponholdid"
  22585. ],
  22586. "properties": {
  22587. "accountid": {
  22588. "description": "资金账户ID",
  22589. "type": "integer"
  22590. },
  22591. "conditionvalue": {
  22592. "description": "条件阈值(可为0)",
  22593. "type": "number"
  22594. },
  22595. "couponcategroy": {
  22596. "description": "种类 - 1:现金券 2:折扣券 3:折扣券(单个商品)",
  22597. "type": "integer"
  22598. },
  22599. "couponholdid": {
  22600. "description": "优惠券持仓ID(229+Unix秒时间戳(10位)+xxxxxx)",
  22601. "type": "string"
  22602. },
  22603. "couponname": {
  22604. "description": "优惠券名称",
  22605. "type": "string"
  22606. },
  22607. "coupontypeid": {
  22608. "description": "优惠券类型ID - SEQ_COUPONTYPE",
  22609. "type": "string"
  22610. },
  22611. "couponvalue": {
  22612. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值]",
  22613. "type": "number"
  22614. },
  22615. "createtime": {
  22616. "description": "创建时间",
  22617. "type": "string"
  22618. },
  22619. "enddate": {
  22620. "description": "结束日期",
  22621. "type": "string"
  22622. },
  22623. "giveapplyid": {
  22624. "description": "发放申请ID(SEQ_COUPONGIVEAPPLY)",
  22625. "type": "integer"
  22626. },
  22627. "holdstatus": {
  22628. "description": "持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期",
  22629. "type": "integer"
  22630. },
  22631. "isgeneral": {
  22632. "description": "是否通用券 - 0:否 1:是",
  22633. "type": "integer"
  22634. },
  22635. "limitedflag": {
  22636. "description": "是否指定商品 - 0:不限 1:限制",
  22637. "type": "integer"
  22638. },
  22639. "limitedgoodsids": {
  22640. "description": "指定商品IDs[逗号分隔]",
  22641. "type": "string"
  22642. },
  22643. "qty": {
  22644. "description": "数量(按1平铺)",
  22645. "type": "integer"
  22646. },
  22647. "startdate": {
  22648. "description": "开始日期",
  22649. "type": "string"
  22650. },
  22651. "userid": {
  22652. "description": "用户ID",
  22653. "type": "integer"
  22654. },
  22655. "userscope": {
  22656. "description": "卖家范围(用户ID,逗号分隔) [IsGeneral =0时使用]",
  22657. "type": "string"
  22658. }
  22659. }
  22660. },
  22661. "models.MyUsedCoupon": {
  22662. "type": "object",
  22663. "required": [
  22664. "coupontypeid",
  22665. "orderid"
  22666. ],
  22667. "properties": {
  22668. "accountid": {
  22669. "description": "资金账户ID(买方)",
  22670. "type": "integer"
  22671. },
  22672. "conditionvalue": {
  22673. "description": "条件阈值(可为0)",
  22674. "type": "number"
  22675. },
  22676. "couponcategroy": {
  22677. "description": "种类 - 1:现金券 2:折扣券",
  22678. "type": "integer"
  22679. },
  22680. "couponname": {
  22681. "description": "优惠券名称",
  22682. "type": "string"
  22683. },
  22684. "coupontypeid": {
  22685. "description": "优惠券类型ID(买方)",
  22686. "type": "string"
  22687. },
  22688. "couponvalue": {
  22689. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值(0-100)]",
  22690. "type": "number"
  22691. },
  22692. "createtime": {
  22693. "description": "创建时间",
  22694. "type": "string"
  22695. },
  22696. "goodsid": {
  22697. "description": "商品ID",
  22698. "type": "integer"
  22699. },
  22700. "handlestatus": {
  22701. "description": "处理状态",
  22702. "type": "integer"
  22703. },
  22704. "marketid": {
  22705. "description": "市场ID",
  22706. "type": "integer"
  22707. },
  22708. "offamount": {
  22709. "description": "优惠金额",
  22710. "type": "number"
  22711. },
  22712. "orderid": {
  22713. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  22714. "type": "string"
  22715. },
  22716. "sellaccountid": {
  22717. "description": "资金账户ID(卖方)",
  22718. "type": "integer"
  22719. },
  22720. "tradeamount": {
  22721. "description": "成交金额",
  22722. "type": "number"
  22723. },
  22724. "tradeid": {
  22725. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  22726. "type": "string"
  22727. },
  22728. "usedqty": {
  22729. "description": "使用数量",
  22730. "type": "integer"
  22731. }
  22732. }
  22733. },
  22734. "models.OperationPrimaryMenu": {
  22735. "type": "object",
  22736. "properties": {
  22737. "Children": {
  22738. "description": "二级功能菜单",
  22739. "type": "array",
  22740. "items": {
  22741. "$ref": "#/definitions/models.OperationSecondaryMenu"
  22742. }
  22743. },
  22744. "Key": {
  22745. "description": "菜单KEY",
  22746. "type": "string"
  22747. },
  22748. "Label": {
  22749. "description": "菜单标题",
  22750. "type": "string"
  22751. }
  22752. }
  22753. },
  22754. "models.OperationSecondaryMenu": {
  22755. "type": "object",
  22756. "properties": {
  22757. "Key": {
  22758. "description": "菜单KEY",
  22759. "type": "string"
  22760. },
  22761. "Label": {
  22762. "description": "菜单标题",
  22763. "type": "string"
  22764. },
  22765. "TabList": {
  22766. "description": "三级功能菜单",
  22767. "type": "array",
  22768. "items": {
  22769. "$ref": "#/definitions/models.OperationTabMenu"
  22770. }
  22771. }
  22772. }
  22773. },
  22774. "models.OperationTabMenu": {
  22775. "type": "object",
  22776. "properties": {
  22777. "Key": {
  22778. "description": "菜单KEY",
  22779. "type": "string"
  22780. },
  22781. "Label": {
  22782. "description": "菜单标题",
  22783. "type": "string"
  22784. }
  22785. }
  22786. },
  22787. "models.PendingAuditBizModel": {
  22788. "type": "object",
  22789. "properties": {
  22790. "accountid": {
  22791. "description": "现货账户",
  22792. "type": "string"
  22793. },
  22794. "areaname": {
  22795. "description": "所属部门",
  22796. "type": "string"
  22797. },
  22798. "bizid": {
  22799. "description": "业务ID",
  22800. "type": "string"
  22801. },
  22802. "bizname": {
  22803. "description": "业务名称",
  22804. "type": "string"
  22805. },
  22806. "status": {
  22807. "description": "状态,0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  22808. "type": "integer"
  22809. },
  22810. "type": {
  22811. "description": "业务类型,1-期现套利,2-仓单回购,3-现货贸易",
  22812. "type": "integer"
  22813. }
  22814. }
  22815. },
  22816. "models.QhjAccountOutInApply": {
  22817. "type": "object",
  22818. "properties": {
  22819. "accountcode": {
  22820. "description": "资金账号",
  22821. "type": "string"
  22822. },
  22823. "accountname": {
  22824. "description": "用户名称(名称)",
  22825. "type": "string"
  22826. },
  22827. "accountpwd": {
  22828. "description": "资金密码",
  22829. "type": "string"
  22830. },
  22831. "accountticket": {
  22832. "description": "最新账户服务流水号",
  22833. "type": "string"
  22834. },
  22835. "amount": {
  22836. "description": "金额",
  22837. "type": "number"
  22838. },
  22839. "applyremark": {
  22840. "description": "申请备注",
  22841. "type": "string"
  22842. },
  22843. "applystatus": {
  22844. "description": "申请状态 - 1:待审核 2:待复审 3:初审拒绝 4:交易冻结中 5:交易解冻中 6:交易解冻扣款中 7:交易入金中 8:交易冻结/解冻/扣款中(银行发起出金时用) 9:银行出金中 10:银行入金中 11:成功 12:失败 13:银行审核中 14:账户服务入金失败; 15:账户服务解冻失败; 16:账户服务解冻扣款失败; 17:账户服务出金失败 18:复审通过 19:复审拒绝 20:提交审核,账户冻结中 21:审核拒绝,账户解冻中;22: 待审核,账户服务解冻回滚中; 23:待复审,账户服务解冻回滚中; 24: 审核通过,账户冻结金额检查中;25: 复审通过,账户冻结金额检查中;",
  22845. "type": "integer"
  22846. },
  22847. "auditid": {
  22848. "description": "审核人",
  22849. "type": "integer"
  22850. },
  22851. "audittime": {
  22852. "description": "审核时间",
  22853. "type": "string"
  22854. },
  22855. "bank_apply_ticket": {
  22856. "description": "银行申请流水",
  22857. "type": "string"
  22858. },
  22859. "bankaccountname": {
  22860. "description": "银行账户名",
  22861. "type": "string"
  22862. },
  22863. "bankaccountno": {
  22864. "description": "银行卡号",
  22865. "type": "string"
  22866. },
  22867. "bankid": {
  22868. "description": "银行编号",
  22869. "type": "string"
  22870. },
  22871. "bankticket": {
  22872. "description": "银行流水",
  22873. "type": "string"
  22874. },
  22875. "branchbankid": {
  22876. "description": "银行支行号",
  22877. "type": "string"
  22878. },
  22879. "branchbankname": {
  22880. "description": "银行支行名称",
  22881. "type": "string"
  22882. },
  22883. "capamountout": {
  22884. "description": "出金(劣后本金) - 外部子账户",
  22885. "type": "number"
  22886. },
  22887. "certificatephotourl": {
  22888. "description": "凭证地址",
  22889. "type": "string"
  22890. },
  22891. "charge": {
  22892. "description": "手续费",
  22893. "type": "number"
  22894. },
  22895. "checkerrorflag": {
  22896. "description": "对账差错标志 - 1:为单边账;其它为正常出入金",
  22897. "type": "integer"
  22898. },
  22899. "currency": {
  22900. "description": "币种",
  22901. "type": "string"
  22902. },
  22903. "cusbankid": {
  22904. "description": "托管银行编号",
  22905. "type": "string"
  22906. },
  22907. "exchticket": {
  22908. "description": "银行服务流水号",
  22909. "type": "string"
  22910. },
  22911. "executetype": {
  22912. "description": "申请类型 - 1:出金 2:入金 3: 单边账调整:入金; 4:单边账调整:出金 5:外部母账户调整:入金 6:外部母账户调整:出金 7:外部子账户:入金 8:外部子账户:出金",
  22913. "type": "integer"
  22914. },
  22915. "extendinfo": {
  22916. "description": "扩展信息",
  22917. "type": "string"
  22918. },
  22919. "extoperateid": {
  22920. "description": "交易服务流水号",
  22921. "type": "integer"
  22922. },
  22923. "infamount": {
  22924. "description": "劣后金额(自有)",
  22925. "type": "number"
  22926. },
  22927. "logincode": {
  22928. "description": "登录账号(账号)",
  22929. "type": "string"
  22930. },
  22931. "netaddr": {
  22932. "description": "调转网址",
  22933. "type": "string"
  22934. },
  22935. "priamount": {
  22936. "description": "优先金额(授信)",
  22937. "type": "number"
  22938. },
  22939. "reauditid": {
  22940. "description": "复审人",
  22941. "type": "integer"
  22942. },
  22943. "reauditremark": {
  22944. "description": "复审备注",
  22945. "type": "string"
  22946. },
  22947. "reaudittime": {
  22948. "description": "复审时间",
  22949. "type": "string"
  22950. },
  22951. "relatedorderid": {
  22952. "description": "三方关联ID",
  22953. "type": "string"
  22954. },
  22955. "remark": {
  22956. "description": "备注",
  22957. "type": "string"
  22958. },
  22959. "remark2": {
  22960. "description": "备注(失败原因)",
  22961. "type": "string"
  22962. },
  22963. "soucreamount": {
  22964. "description": "原始出入金金额",
  22965. "type": "number"
  22966. },
  22967. "soucrecurrencyid": {
  22968. "description": "原始出入金币种",
  22969. "type": "integer"
  22970. },
  22971. "tradedate": {
  22972. "description": "交易日(yyyyMMdd)",
  22973. "type": "string"
  22974. },
  22975. "updatetime": {
  22976. "description": "更新时间(申请时间)",
  22977. "type": "string"
  22978. },
  22979. "userid": {
  22980. "description": "用户id",
  22981. "type": "integer"
  22982. },
  22983. "userinfotype": {
  22984. "description": "账户类型 1-个人 2-企业",
  22985. "type": "integer"
  22986. }
  22987. }
  22988. },
  22989. "models.QhjAgreementChangeLog": {
  22990. "type": "object",
  22991. "properties": {
  22992. "agreementcontent": {
  22993. "description": "协议内容",
  22994. "type": "string"
  22995. },
  22996. "agreementfrequency": {
  22997. "description": "协议频率 - 1:首次 2:每次 [登录为2, 其它为1]",
  22998. "type": "integer"
  22999. },
  23000. "agreementid": {
  23001. "description": "协议ID",
  23002. "type": "integer"
  23003. },
  23004. "agreementname": {
  23005. "description": "协议名称",
  23006. "type": "string"
  23007. },
  23008. "agreementno": {
  23009. "description": "协议编号",
  23010. "type": "string"
  23011. },
  23012. "agreementtype": {
  23013. "description": "协议类型 - 1:注册 2:登录 3:交易",
  23014. "type": "integer"
  23015. },
  23016. "agreementversion": {
  23017. "description": "协议版本号",
  23018. "type": "integer"
  23019. },
  23020. "logid": {
  23021. "description": "流水ID(SEQ_QHJ_AGREEMENTCHANGELOG)",
  23022. "type": "integer"
  23023. },
  23024. "reviserid": {
  23025. "description": "修改人",
  23026. "type": "integer"
  23027. },
  23028. "revisersrc": {
  23029. "description": "修改来源 - 1:管理端 2:终端",
  23030. "type": "integer"
  23031. },
  23032. "updatetime": {
  23033. "description": "更新时间",
  23034. "type": "string"
  23035. }
  23036. }
  23037. },
  23038. "models.QhjAgreementConfig": {
  23039. "type": "object",
  23040. "properties": {
  23041. "agreementcontent": {
  23042. "description": "协议内容",
  23043. "type": "string"
  23044. },
  23045. "agreementfrequency": {
  23046. "description": "协议频率 - 1:首次 2:每次 [登录为2, 其它为1]",
  23047. "type": "integer"
  23048. },
  23049. "agreementid": {
  23050. "description": "协议ID(SEQ_QHJ_AGREEMENTCONFIG)",
  23051. "type": "integer"
  23052. },
  23053. "agreementname": {
  23054. "description": "协议名称",
  23055. "type": "string"
  23056. },
  23057. "agreementno": {
  23058. "description": "协议编号",
  23059. "type": "string"
  23060. },
  23061. "agreementtype": {
  23062. "description": "协议类型 - 1:注册 2:登录 3:交易",
  23063. "type": "integer"
  23064. },
  23065. "agreementversion": {
  23066. "description": "协议版本号(从1开始每次修改加1)",
  23067. "type": "integer"
  23068. },
  23069. "createtime": {
  23070. "description": "创建时间",
  23071. "type": "string"
  23072. },
  23073. "creatorid": {
  23074. "description": "创建人",
  23075. "type": "integer"
  23076. },
  23077. "creatorsrc": {
  23078. "description": "创建来源 - 1:管理端 2:终端",
  23079. "type": "integer"
  23080. },
  23081. "isvalid": {
  23082. "description": "是否有效 - 0:无效 1:有效",
  23083. "type": "integer"
  23084. },
  23085. "reviserid": {
  23086. "description": "修改人",
  23087. "type": "integer"
  23088. },
  23089. "revisersrc": {
  23090. "description": "修改来源 - 1:管理端 2:终端",
  23091. "type": "integer"
  23092. },
  23093. "updatetime": {
  23094. "description": "更新时间",
  23095. "type": "string"
  23096. }
  23097. }
  23098. },
  23099. "models.QhjBankAccountSign": {
  23100. "type": "object",
  23101. "properties": {
  23102. "accountcode": {
  23103. "description": "资金账号",
  23104. "type": "string"
  23105. },
  23106. "accountname": {
  23107. "description": "资金账号对应的账号名(UserName)",
  23108. "type": "string"
  23109. },
  23110. "accountname2": {
  23111. "description": "资金账号对应的账号名(UserName) - 密文",
  23112. "type": "string"
  23113. },
  23114. "accounttype": {
  23115. "description": "账户类型(UserType)",
  23116. "type": "integer"
  23117. },
  23118. "applicationtime": {
  23119. "description": "最后一次更新的时间",
  23120. "type": "string"
  23121. },
  23122. "applyexchticket": {
  23123. "description": "申请流水",
  23124. "type": "string"
  23125. },
  23126. "auditid": {
  23127. "description": "审核人",
  23128. "type": "integer"
  23129. },
  23130. "audittime": {
  23131. "description": "审核时间",
  23132. "type": "string"
  23133. },
  23134. "bankaccountname": {
  23135. "description": "签约银行卡账号名",
  23136. "type": "string"
  23137. },
  23138. "bankaccountname2": {
  23139. "description": "签约银行卡账号名 - 密文",
  23140. "type": "string"
  23141. },
  23142. "bankaccountno": {
  23143. "description": "银行卡号",
  23144. "type": "string"
  23145. },
  23146. "bankaccountno2": {
  23147. "description": "银行卡号 - 密文",
  23148. "type": "string"
  23149. },
  23150. "bankaccounttype": {
  23151. "description": "银行账户类型 - 1-对私; 2-对公",
  23152. "type": "integer"
  23153. },
  23154. "bankcardtype": {
  23155. "description": "银行卡类型",
  23156. "type": "integer"
  23157. },
  23158. "bankchildaccount": {
  23159. "description": "银行子账号(签约成功后,很多银行会返回对应的这个虚拟账号)",
  23160. "type": "string"
  23161. },
  23162. "bankcity": {
  23163. "description": "开户行城市",
  23164. "type": "string"
  23165. },
  23166. "bankid": {
  23167. "description": "签约银行ID",
  23168. "type": "string"
  23169. },
  23170. "bankname": {
  23171. "description": "签约银行名称",
  23172. "type": "string"
  23173. },
  23174. "bankprovince": {
  23175. "description": "开户行省份",
  23176. "type": "string"
  23177. },
  23178. "branchbankid": {
  23179. "description": "签约银行支行号",
  23180. "type": "string"
  23181. },
  23182. "branchbankname": {
  23183. "description": "签约银行支行名称",
  23184. "type": "string"
  23185. },
  23186. "cardno": {
  23187. "description": "证件号码",
  23188. "type": "string"
  23189. },
  23190. "cardno2": {
  23191. "description": "证件号码 - 密文",
  23192. "type": "string"
  23193. },
  23194. "cardtype": {
  23195. "description": "证件类型",
  23196. "type": "string"
  23197. },
  23198. "currency": {
  23199. "description": "币种",
  23200. "type": "string"
  23201. },
  23202. "cusbankid": {
  23203. "description": "托管银行编号",
  23204. "type": "string"
  23205. },
  23206. "direct": {
  23207. "description": "方向(可以判断那方先发起的签约)",
  23208. "type": "integer"
  23209. },
  23210. "exchticket": {
  23211. "description": "最后一次签约成功的流水号",
  23212. "type": "string"
  23213. },
  23214. "extendinfo": {
  23215. "description": "扩展信息(JSON字符串)",
  23216. "type": "string"
  23217. },
  23218. "mobilephone": {
  23219. "description": "手机号",
  23220. "type": "string"
  23221. },
  23222. "mobilephone2": {
  23223. "description": "手机号 - 密文",
  23224. "type": "string"
  23225. },
  23226. "netaddr": {
  23227. "description": "调转网址",
  23228. "type": "string"
  23229. },
  23230. "relateduserid": {
  23231. "description": "关联使用者userid",
  23232. "type": "integer"
  23233. },
  23234. "signstatus": {
  23235. "description": "签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中 10:审核拒绝 11:换签待审核",
  23236. "type": "integer"
  23237. },
  23238. "updatetime": {
  23239. "description": "更新时间(签解约更新时间)",
  23240. "type": "string"
  23241. }
  23242. }
  23243. },
  23244. "models.QhjBankInfo": {
  23245. "type": "object",
  23246. "properties": {
  23247. "bankid": {
  23248. "description": "银行ID",
  23249. "type": "string"
  23250. },
  23251. "bankname": {
  23252. "description": "银行名称",
  23253. "type": "string"
  23254. },
  23255. "clearbankno": {
  23256. "description": "清算系统银行编号",
  23257. "type": "string"
  23258. },
  23259. "orderindex": {
  23260. "description": "排序顺序",
  23261. "type": "integer"
  23262. },
  23263. "status": {
  23264. "description": "状态 - 0:正常 1:注销",
  23265. "type": "integer"
  23266. }
  23267. }
  23268. },
  23269. "models.QhjContract": {
  23270. "type": "object",
  23271. "properties": {
  23272. "contractconfirmtime": {
  23273. "description": "合同确认时间(时间)",
  23274. "type": "string"
  23275. },
  23276. "currisklevel": {
  23277. "description": "风险级别 - 1:正常 2:追加货款 3:支付尾款",
  23278. "type": "integer"
  23279. },
  23280. "decimalplace": {
  23281. "description": "商品报价小数位",
  23282. "type": "integer"
  23283. },
  23284. "enumdicname": {
  23285. "description": "单位名称",
  23286. "type": "string"
  23287. },
  23288. "goodscode": {
  23289. "description": "商品代码",
  23290. "type": "string"
  23291. },
  23292. "goodsid": {
  23293. "description": "商品ID [5:融资单]",
  23294. "type": "integer"
  23295. },
  23296. "goodsname": {
  23297. "description": "商品名称",
  23298. "type": "string"
  23299. },
  23300. "goodunitid": {
  23301. "description": "商品单位id",
  23302. "type": "integer"
  23303. },
  23304. "initmargin": {
  23305. "description": "初始保证金(首付款)",
  23306. "type": "number"
  23307. },
  23308. "lenderamount": {
  23309. "description": "贷款金额(总额|订单总额)",
  23310. "type": "number"
  23311. },
  23312. "marginratio": {
  23313. "description": "保证金比率(首付比例)",
  23314. "type": "number"
  23315. },
  23316. "payamount": {
  23317. "description": "已付(已付货款)",
  23318. "type": "number"
  23319. },
  23320. "reckonrecovermargin": {
  23321. "description": "结算应追缴保底金(结算时到过风险率时临时存储) - [仓单回购\\仓单质押]",
  23322. "type": "number"
  23323. },
  23324. "recoveredmargin": {
  23325. "description": "已追缴保证金",
  23326. "type": "number"
  23327. },
  23328. "remainamount": {
  23329. "description": "合同剩余金额(融资额)",
  23330. "type": "number"
  23331. },
  23332. "scfcontractid": {
  23333. "description": "SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)",
  23334. "type": "string"
  23335. },
  23336. "scfcontractstatus": {
  23337. "description": "合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束 9:违约结束 10:已注销 11:已关闭 99:未提交",
  23338. "type": "integer"
  23339. },
  23340. "scfcontracttype": {
  23341. "description": "合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单",
  23342. "type": "integer"
  23343. },
  23344. "totalinterest": {
  23345. "description": "已计总利息(利息)",
  23346. "type": "number"
  23347. },
  23348. "tradeprice": {
  23349. "description": "成交价格(成本价格)",
  23350. "type": "number"
  23351. },
  23352. "userid": {
  23353. "description": "用户ID",
  23354. "type": "integer"
  23355. },
  23356. "username": {
  23357. "description": "用户名称",
  23358. "type": "string"
  23359. },
  23360. "wrqty": {
  23361. "description": "仓单数量(数量)",
  23362. "type": "number"
  23363. }
  23364. }
  23365. },
  23366. "models.QhjContractLog": {
  23367. "type": "object",
  23368. "properties": {
  23369. "amount": {
  23370. "description": "支付金额",
  23371. "type": "number"
  23372. },
  23373. "amounttype": {
  23374. "description": "资金类型 - 1:首付款 2:尾款 3:利息 4:追加款",
  23375. "type": "integer"
  23376. },
  23377. "logid": {
  23378. "description": "LogID(315+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  23379. "type": "string"
  23380. },
  23381. "remainamount": {
  23382. "description": "剩余货款",
  23383. "type": "number"
  23384. },
  23385. "scfcontractid": {
  23386. "description": "SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)",
  23387. "type": "integer"
  23388. },
  23389. "updatetime": {
  23390. "description": "更新时间",
  23391. "type": "string"
  23392. }
  23393. }
  23394. },
  23395. "models.QhjCusBankSignBankEx": {
  23396. "type": "object",
  23397. "properties": {
  23398. "banklst": {
  23399. "description": "银行列表",
  23400. "type": "array",
  23401. "items": {
  23402. "$ref": "#/definitions/models.QhjBankInfo"
  23403. }
  23404. },
  23405. "canallot": {
  23406. "description": "是否支持跨行调拨 - 0:不支持 1:支持",
  23407. "type": "integer"
  23408. },
  23409. "canallotquery": {
  23410. "description": "是否支持跨行调拨查询 - 0:不支持 1:支持",
  23411. "type": "integer"
  23412. },
  23413. "canbindcard": {
  23414. "description": "是否可绑卡与解卡 - 0:不可 1:可以",
  23415. "type": "integer"
  23416. },
  23417. "caninamount": {
  23418. "description": "是否可入金 - 0:不可 1:可以",
  23419. "type": "integer"
  23420. },
  23421. "caninamount2": {
  23422. "description": "是否可入金(网银端) - 0:不可 1:可以",
  23423. "type": "integer"
  23424. },
  23425. "canmodifybankcard": {
  23426. "description": "是否可修改银行卡号 - 0:不可 1:可以",
  23427. "type": "integer"
  23428. },
  23429. "canmodifyphone": {
  23430. "description": "是否可修改手机号 - 0:不可 1:可以",
  23431. "type": "integer"
  23432. },
  23433. "canmodifysigninfo": {
  23434. "description": "是否可修改签约信息 - 0:不可 1:可以",
  23435. "type": "integer"
  23436. },
  23437. "canoutamount": {
  23438. "description": "是否可出金 - 0:不可 1:可以",
  23439. "type": "integer"
  23440. },
  23441. "canoutamount2": {
  23442. "description": "是否可出金(网银端) - 0:不可 1:可以",
  23443. "type": "integer"
  23444. },
  23445. "canrelease": {
  23446. "description": "是否可解约 - 0:不可 1:可以",
  23447. "type": "integer"
  23448. },
  23449. "canrelease2": {
  23450. "description": "是否可解约(网银端) - 0:不可 1:可以",
  23451. "type": "integer"
  23452. },
  23453. "cansign": {
  23454. "description": "是否可签约 - 0:不可 1:可以",
  23455. "type": "integer"
  23456. },
  23457. "cansign2": {
  23458. "description": "是否可签约(网银端) - 0:不可 1:可以",
  23459. "type": "integer"
  23460. },
  23461. "currency": {
  23462. "description": "币种",
  23463. "type": "string"
  23464. },
  23465. "cusbankid": {
  23466. "description": "托管银行编号(对应清算中心TRAN_NO)",
  23467. "type": "string"
  23468. },
  23469. "cusbankname": {
  23470. "description": "银行业务名称",
  23471. "type": "string"
  23472. },
  23473. "cusbankshortname": {
  23474. "description": "银行业务简称",
  23475. "type": "string"
  23476. },
  23477. "exchbankid": {
  23478. "description": "交易所开户银行ID",
  23479. "type": "string"
  23480. },
  23481. "exchpaybankaccname": {
  23482. "description": "交易所支出结算账户户名",
  23483. "type": "string"
  23484. },
  23485. "exchpaybankaccno": {
  23486. "description": "交易所支出结算账户",
  23487. "type": "string"
  23488. },
  23489. "isneedcheck": {
  23490. "description": "是否需要对账 - 0:需要 1:不需要 [不需要界面配置]",
  23491. "type": "integer"
  23492. },
  23493. "isneedclear": {
  23494. "description": "是否需要清算 - 0:不需要 1:需要",
  23495. "type": "integer"
  23496. },
  23497. "lastcheckstatus": {
  23498. "description": "最后对账状态 - 对账状态 - 1:未对账 2:对账成功 3:对账失败",
  23499. "type": "integer"
  23500. },
  23501. "lastchecktime": {
  23502. "description": "最后对账时间",
  23503. "type": "string"
  23504. },
  23505. "lastclearstatus": {
  23506. "description": "最后清算状态 - 1:未清算 2:清算成功 3:清算失败 4:清算部分成功",
  23507. "type": "integer"
  23508. },
  23509. "lastcleartime": {
  23510. "description": "最后清算时间",
  23511. "type": "string"
  23512. },
  23513. "lastsignintime": {
  23514. "description": "最后签到时间",
  23515. "type": "string"
  23516. },
  23517. "lastsignouttime": {
  23518. "description": "最后签退时间",
  23519. "type": "string"
  23520. },
  23521. "riskinfo": {
  23522. "description": "签约风险提示书",
  23523. "type": "string"
  23524. },
  23525. "signstatus": {
  23526. "description": "当前签到/签退状态 - 1:签到 2:签退",
  23527. "type": "integer"
  23528. },
  23529. "tradedate": {
  23530. "description": "交易日(yyyyMMdd)",
  23531. "type": "string"
  23532. },
  23533. "updatetime": {
  23534. "description": "当前签到/签退更新时间",
  23535. "type": "string"
  23536. }
  23537. }
  23538. },
  23539. "models.QhjCustomer": {
  23540. "type": "object",
  23541. "properties": {
  23542. "address": {
  23543. "description": "通讯地址",
  23544. "type": "string"
  23545. },
  23546. "attachment1": {
  23547. "description": "附件1",
  23548. "type": "string"
  23549. },
  23550. "audittime": {
  23551. "description": "审核时间",
  23552. "type": "string"
  23553. },
  23554. "cardbackphotourl": {
  23555. "description": "证件反面图片地址",
  23556. "type": "string"
  23557. },
  23558. "cardfrontphotourl": {
  23559. "description": "证件正面图片地址",
  23560. "type": "string"
  23561. },
  23562. "cardnum": {
  23563. "description": "证件号码",
  23564. "type": "string"
  23565. },
  23566. "cardtype": {
  23567. "description": "证件类型",
  23568. "type": "integer"
  23569. },
  23570. "cardtypename": {
  23571. "description": "证件类型名称",
  23572. "type": "string"
  23573. },
  23574. "cityid": {
  23575. "description": "市",
  23576. "type": "integer"
  23577. },
  23578. "cityname": {
  23579. "description": "城市名称",
  23580. "type": "string"
  23581. },
  23582. "contactname": {
  23583. "description": "联系人",
  23584. "type": "string"
  23585. },
  23586. "countryid": {
  23587. "description": "国家",
  23588. "type": "integer"
  23589. },
  23590. "countryname": {
  23591. "description": "国家名称",
  23592. "type": "string"
  23593. },
  23594. "createtime": {
  23595. "description": "创建时间",
  23596. "type": "string"
  23597. },
  23598. "customername": {
  23599. "description": "客户名称",
  23600. "type": "string"
  23601. },
  23602. "districtid": {
  23603. "description": "区域",
  23604. "type": "integer"
  23605. },
  23606. "districtname": {
  23607. "description": "地区名称",
  23608. "type": "string"
  23609. },
  23610. "email": {
  23611. "description": "邮件",
  23612. "type": "string"
  23613. },
  23614. "legalpersonname": {
  23615. "description": "法人姓名(企业)",
  23616. "type": "string"
  23617. },
  23618. "logincode": {
  23619. "description": "登录账号(代码)",
  23620. "type": "string"
  23621. },
  23622. "memberuserid": {
  23623. "description": "所属机构ID(所属会员)",
  23624. "type": "integer"
  23625. },
  23626. "memberusername": {
  23627. "description": "所属会员名称",
  23628. "type": "string"
  23629. },
  23630. "mobile": {
  23631. "description": "手机号码",
  23632. "type": "string"
  23633. },
  23634. "modifytime": {
  23635. "description": "修改时间",
  23636. "type": "string"
  23637. },
  23638. "nickname": {
  23639. "description": "昵称",
  23640. "type": "string"
  23641. },
  23642. "parentuserid": {
  23643. "description": "上级机构(所属机构)",
  23644. "type": "integer"
  23645. },
  23646. "parentusername": {
  23647. "description": "所属机构名称",
  23648. "type": "string"
  23649. },
  23650. "provinceid": {
  23651. "description": "省",
  23652. "type": "integer"
  23653. },
  23654. "provincename": {
  23655. "description": "省名称",
  23656. "type": "string"
  23657. },
  23658. "proxystatementurl": {
  23659. "description": "授权委托书",
  23660. "type": "string"
  23661. },
  23662. "remark": {
  23663. "description": "备注",
  23664. "type": "string"
  23665. },
  23666. "status": {
  23667. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销",
  23668. "type": "integer"
  23669. },
  23670. "statusdesc": {
  23671. "description": "账户状态中文描述",
  23672. "type": "string"
  23673. },
  23674. "taxpayernum": {
  23675. "description": "纳税人识别号",
  23676. "type": "string"
  23677. },
  23678. "telphone": {
  23679. "description": "联系电话",
  23680. "type": "string"
  23681. },
  23682. "userid": {
  23683. "description": "用户ID",
  23684. "type": "integer"
  23685. },
  23686. "userinfotype": {
  23687. "description": "客户类型 1-个人 2-企业",
  23688. "type": "integer"
  23689. },
  23690. "username": {
  23691. "description": "用户名称",
  23692. "type": "string"
  23693. }
  23694. }
  23695. },
  23696. "models.QhjCustomerSignLog": {
  23697. "type": "object",
  23698. "properties": {
  23699. "agreementcontent": {
  23700. "description": "协议内容",
  23701. "type": "string"
  23702. },
  23703. "agreementid": {
  23704. "description": "协议ID",
  23705. "type": "integer"
  23706. },
  23707. "agreementname": {
  23708. "description": "协议名称",
  23709. "type": "string"
  23710. },
  23711. "agreementno": {
  23712. "description": "协议编号",
  23713. "type": "string"
  23714. },
  23715. "agreementtype": {
  23716. "description": "协议类型 - 1:注册 2:登录 3:交易",
  23717. "type": "integer"
  23718. },
  23719. "agreementversion": {
  23720. "description": "协议版本号",
  23721. "type": "integer"
  23722. },
  23723. "createtime": {
  23724. "description": "创建时间",
  23725. "type": "string"
  23726. },
  23727. "goodscode": {
  23728. "description": "商品代码",
  23729. "type": "string"
  23730. },
  23731. "goodsid": {
  23732. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  23733. "type": "integer"
  23734. },
  23735. "goodsname": {
  23736. "description": "商品名称",
  23737. "type": "string"
  23738. },
  23739. "logid": {
  23740. "description": "流水ID(SEQ_QHJ_CUSTOMERSIGNLOG)",
  23741. "type": "integer"
  23742. },
  23743. "nodetype": {
  23744. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  23745. "type": "integer"
  23746. },
  23747. "signadressurl": {
  23748. "description": "签约文件地址",
  23749. "type": "string"
  23750. },
  23751. "signtimestamp": {
  23752. "description": "签约状态时间戳",
  23753. "type": "string"
  23754. },
  23755. "userid": {
  23756. "description": "客户ID",
  23757. "type": "integer"
  23758. },
  23759. "username": {
  23760. "description": "客户名称",
  23761. "type": "string"
  23762. }
  23763. }
  23764. },
  23765. "models.QhjCustomerSignStatus": {
  23766. "type": "object",
  23767. "properties": {
  23768. "createtime": {
  23769. "description": "创建时间",
  23770. "type": "string"
  23771. },
  23772. "goodscode": {
  23773. "description": "商品代码",
  23774. "type": "string"
  23775. },
  23776. "goodsid": {
  23777. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  23778. "type": "integer"
  23779. },
  23780. "goodsname": {
  23781. "description": "商品名称",
  23782. "type": "string"
  23783. },
  23784. "nodetype": {
  23785. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出 99:首次交易",
  23786. "type": "integer"
  23787. },
  23788. "signtimestamp": {
  23789. "description": "签约状态时间戳",
  23790. "type": "string"
  23791. },
  23792. "tradedate": {
  23793. "description": "创建交易日(yyyyMMdd)",
  23794. "type": "string"
  23795. },
  23796. "updatetime": {
  23797. "description": "更新时间",
  23798. "type": "string"
  23799. },
  23800. "userid": {
  23801. "description": "客户ID",
  23802. "type": "integer"
  23803. },
  23804. "username": {
  23805. "description": "客户名称",
  23806. "type": "string"
  23807. }
  23808. }
  23809. },
  23810. "models.QhjMgrAccountOutInApply": {
  23811. "type": "object",
  23812. "properties": {
  23813. "accountcode": {
  23814. "description": "资金账号",
  23815. "type": "string"
  23816. },
  23817. "accountname": {
  23818. "description": "用户名称(名称)",
  23819. "type": "string"
  23820. },
  23821. "accountpwd": {
  23822. "description": "资金密码",
  23823. "type": "string"
  23824. },
  23825. "accountticket": {
  23826. "description": "最新账户服务流水号",
  23827. "type": "string"
  23828. },
  23829. "amount": {
  23830. "description": "金额",
  23831. "type": "number"
  23832. },
  23833. "applyremark": {
  23834. "description": "申请备注",
  23835. "type": "string"
  23836. },
  23837. "applystatus": {
  23838. "description": "申请状态 - 1:待审核 2:待复审 3:初审拒绝 4:交易冻结中 5:交易解冻中 6:交易解冻扣款中 7:交易入金中 8:交易冻结/解冻/扣款中(银行发起出金时用) 9:银行出金中 10:银行入金中 11:成功 12:失败 13:银行审核中 14:账户服务入金失败; 15:账户服务解冻失败; 16:账户服务解冻扣款失败; 17:账户服务出金失败 18:复审通过 19:复审拒绝 20:提交审核,账户冻结中 21:审核拒绝,账户解冻中;22: 待审核,账户服务解冻回滚中; 23:待复审,账户服务解冻回滚中; 24: 审核通过,账户冻结金额检查中;25: 复审通过,账户冻结金额检查中;",
  23839. "type": "integer"
  23840. },
  23841. "auditid": {
  23842. "description": "审核人",
  23843. "type": "integer"
  23844. },
  23845. "audittime": {
  23846. "description": "审核时间",
  23847. "type": "string"
  23848. },
  23849. "bank_apply_ticket": {
  23850. "description": "银行申请流水",
  23851. "type": "string"
  23852. },
  23853. "bankaccountname": {
  23854. "description": "银行账户名",
  23855. "type": "string"
  23856. },
  23857. "bankaccountno": {
  23858. "description": "银行卡号",
  23859. "type": "string"
  23860. },
  23861. "bankid": {
  23862. "description": "银行编号",
  23863. "type": "string"
  23864. },
  23865. "bankname": {
  23866. "description": "银行名称",
  23867. "type": "string"
  23868. },
  23869. "bankticket": {
  23870. "description": "银行流水",
  23871. "type": "string"
  23872. },
  23873. "branchbankid": {
  23874. "description": "银行支行号",
  23875. "type": "string"
  23876. },
  23877. "branchbankname": {
  23878. "description": "银行支行名称",
  23879. "type": "string"
  23880. },
  23881. "capamountout": {
  23882. "description": "出金(劣后本金) - 外部子账户",
  23883. "type": "number"
  23884. },
  23885. "certificatephotourl": {
  23886. "description": "凭证地址",
  23887. "type": "string"
  23888. },
  23889. "charge": {
  23890. "description": "手续费",
  23891. "type": "number"
  23892. },
  23893. "checkerrorflag": {
  23894. "description": "对账差错标志 - 1:为单边账;其它为正常出入金",
  23895. "type": "integer"
  23896. },
  23897. "currency": {
  23898. "description": "币种",
  23899. "type": "string"
  23900. },
  23901. "cusbankid": {
  23902. "description": "托管银行编号",
  23903. "type": "string"
  23904. },
  23905. "exchticket": {
  23906. "description": "银行服务流水号",
  23907. "type": "string"
  23908. },
  23909. "executetype": {
  23910. "description": "申请类型 - 1:出金 2:入金 3: 单边账调整:入金; 4:单边账调整:出金 5:外部母账户调整:入金 6:外部母账户调整:出金 7:外部子账户:入金 8:外部子账户:出金",
  23911. "type": "integer"
  23912. },
  23913. "extendinfo": {
  23914. "description": "扩展信息",
  23915. "type": "string"
  23916. },
  23917. "extoperateid": {
  23918. "description": "交易服务流水号",
  23919. "type": "integer"
  23920. },
  23921. "infamount": {
  23922. "description": "劣后金额(自有)",
  23923. "type": "number"
  23924. },
  23925. "logincode": {
  23926. "description": "登录账号(账号)",
  23927. "type": "string"
  23928. },
  23929. "netaddr": {
  23930. "description": "调转网址",
  23931. "type": "string"
  23932. },
  23933. "priamount": {
  23934. "description": "优先金额(授信)",
  23935. "type": "number"
  23936. },
  23937. "reauditid": {
  23938. "description": "复审人",
  23939. "type": "integer"
  23940. },
  23941. "reauditremark": {
  23942. "description": "复审备注",
  23943. "type": "string"
  23944. },
  23945. "reaudittime": {
  23946. "description": "复审时间",
  23947. "type": "string"
  23948. },
  23949. "relatedorderid": {
  23950. "description": "三方关联ID",
  23951. "type": "string"
  23952. },
  23953. "remark": {
  23954. "description": "备注",
  23955. "type": "string"
  23956. },
  23957. "remark2": {
  23958. "description": "备注(失败原因)",
  23959. "type": "string"
  23960. },
  23961. "soucreamount": {
  23962. "description": "原始出入金金额",
  23963. "type": "number"
  23964. },
  23965. "soucrecurrencyid": {
  23966. "description": "原始出入金币种",
  23967. "type": "integer"
  23968. },
  23969. "tradedate": {
  23970. "description": "交易日(yyyyMMdd)",
  23971. "type": "string"
  23972. },
  23973. "updatetime": {
  23974. "description": "更新时间(申请时间)",
  23975. "type": "string"
  23976. },
  23977. "userid": {
  23978. "description": "用户id",
  23979. "type": "integer"
  23980. },
  23981. "userinfotype": {
  23982. "description": "账户类型 1-个人 2-企业",
  23983. "type": "integer"
  23984. }
  23985. }
  23986. },
  23987. "models.QhjMgrContract": {
  23988. "type": "object",
  23989. "properties": {
  23990. "contractconfirmtime": {
  23991. "description": "合同确认时间(时间)",
  23992. "type": "string"
  23993. },
  23994. "currisklevel": {
  23995. "description": "风险级别 - 1:正常 2:追加货款 3:支付尾款",
  23996. "type": "integer"
  23997. },
  23998. "decimalplace": {
  23999. "description": "商品报价小数位",
  24000. "type": "integer"
  24001. },
  24002. "enumdicname": {
  24003. "description": "单位名称",
  24004. "type": "string"
  24005. },
  24006. "goodscode": {
  24007. "description": "商品代码",
  24008. "type": "string"
  24009. },
  24010. "goodsid": {
  24011. "description": "商品ID [5:融资单]",
  24012. "type": "integer"
  24013. },
  24014. "goodsname": {
  24015. "description": "商品名称",
  24016. "type": "string"
  24017. },
  24018. "goodunitid": {
  24019. "description": "商品单位id",
  24020. "type": "integer"
  24021. },
  24022. "initmargin": {
  24023. "description": "初始保证金(首付款)",
  24024. "type": "number"
  24025. },
  24026. "lenderamount": {
  24027. "description": "贷款金额(总额|订单总额)",
  24028. "type": "number"
  24029. },
  24030. "logincode": {
  24031. "description": "账号(登录代码)",
  24032. "type": "string"
  24033. },
  24034. "marginratio": {
  24035. "description": "保证金比率(首付比例)",
  24036. "type": "number"
  24037. },
  24038. "mobile": {
  24039. "description": "电话号码(用户资料里的电话)",
  24040. "type": "string"
  24041. },
  24042. "payamount": {
  24043. "description": "已付(已付货款)",
  24044. "type": "number"
  24045. },
  24046. "reckonrecovermargin": {
  24047. "description": "结算应追缴保底金(结算时到过风险率时临时存储) - [仓单回购\\仓单质押]",
  24048. "type": "number"
  24049. },
  24050. "recoveredmargin": {
  24051. "description": "已追缴保证金",
  24052. "type": "number"
  24053. },
  24054. "remainamount": {
  24055. "description": "合同剩余金额(融资额)",
  24056. "type": "number"
  24057. },
  24058. "scfcontractid": {
  24059. "description": "SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)",
  24060. "type": "string"
  24061. },
  24062. "scfcontractstatus": {
  24063. "description": "合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束 9:违约结束 10:已注销 11:已关闭 99:未提交",
  24064. "type": "integer"
  24065. },
  24066. "scfcontracttype": {
  24067. "description": "合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单",
  24068. "type": "integer"
  24069. },
  24070. "totalinterest": {
  24071. "description": "已计总利息(利息)",
  24072. "type": "number"
  24073. },
  24074. "tradedate": {
  24075. "description": "交易日",
  24076. "type": "string"
  24077. },
  24078. "tradeprice": {
  24079. "description": "成交价格(成本价格)",
  24080. "type": "number"
  24081. },
  24082. "userid": {
  24083. "description": "用户ID",
  24084. "type": "integer"
  24085. },
  24086. "userinfotype": {
  24087. "description": "用户类型 1-个人 2-企业",
  24088. "type": "integer"
  24089. },
  24090. "username": {
  24091. "description": "用户名称",
  24092. "type": "string"
  24093. },
  24094. "wrqty": {
  24095. "description": "仓单数量(数量)",
  24096. "type": "number"
  24097. }
  24098. }
  24099. },
  24100. "models.QhjMgrCustomer": {
  24101. "type": "object",
  24102. "properties": {
  24103. "address": {
  24104. "description": "通讯地址",
  24105. "type": "string"
  24106. },
  24107. "attachment1": {
  24108. "description": "附件1",
  24109. "type": "string"
  24110. },
  24111. "audittime": {
  24112. "description": "审核时间",
  24113. "type": "string"
  24114. },
  24115. "cardbackphotourl": {
  24116. "description": "证件反面图片地址",
  24117. "type": "string"
  24118. },
  24119. "cardfrontphotourl": {
  24120. "description": "证件正面图片地址",
  24121. "type": "string"
  24122. },
  24123. "cardnum": {
  24124. "description": "证件号码",
  24125. "type": "string"
  24126. },
  24127. "cardtype": {
  24128. "description": "证件类型",
  24129. "type": "integer"
  24130. },
  24131. "cardtypename": {
  24132. "description": "证件类型名称",
  24133. "type": "string"
  24134. },
  24135. "cityid": {
  24136. "description": "市",
  24137. "type": "integer"
  24138. },
  24139. "cityname": {
  24140. "description": "城市名称",
  24141. "type": "string"
  24142. },
  24143. "contactname": {
  24144. "description": "联系人",
  24145. "type": "string"
  24146. },
  24147. "countryid": {
  24148. "description": "国家",
  24149. "type": "integer"
  24150. },
  24151. "countryname": {
  24152. "description": "国家名称",
  24153. "type": "string"
  24154. },
  24155. "createtime": {
  24156. "description": "创建时间",
  24157. "type": "string"
  24158. },
  24159. "customername": {
  24160. "description": "客户名称",
  24161. "type": "string"
  24162. },
  24163. "districtid": {
  24164. "description": "区域",
  24165. "type": "integer"
  24166. },
  24167. "districtname": {
  24168. "description": "地区名称",
  24169. "type": "string"
  24170. },
  24171. "email": {
  24172. "description": "邮件",
  24173. "type": "string"
  24174. },
  24175. "legalpersonname": {
  24176. "description": "法人姓名(企业)",
  24177. "type": "string"
  24178. },
  24179. "logincode": {
  24180. "description": "登录账号(代码)",
  24181. "type": "string"
  24182. },
  24183. "memberuserid": {
  24184. "description": "所属机构ID(所属会员)",
  24185. "type": "integer"
  24186. },
  24187. "memberusername": {
  24188. "description": "所属会员名称",
  24189. "type": "string"
  24190. },
  24191. "mobile": {
  24192. "description": "手机号码",
  24193. "type": "string"
  24194. },
  24195. "modifytime": {
  24196. "description": "修改时间",
  24197. "type": "string"
  24198. },
  24199. "nickname": {
  24200. "description": "昵称",
  24201. "type": "string"
  24202. },
  24203. "parentuserid": {
  24204. "description": "上级机构(所属机构)",
  24205. "type": "integer"
  24206. },
  24207. "parentusername": {
  24208. "description": "所属机构名称",
  24209. "type": "string"
  24210. },
  24211. "provinceid": {
  24212. "description": "省",
  24213. "type": "integer"
  24214. },
  24215. "provincename": {
  24216. "description": "省名称",
  24217. "type": "string"
  24218. },
  24219. "proxystatementurl": {
  24220. "description": "授权委托书",
  24221. "type": "string"
  24222. },
  24223. "querytype": {
  24224. "description": "查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用",
  24225. "type": "integer"
  24226. },
  24227. "remark": {
  24228. "description": "备注",
  24229. "type": "string"
  24230. },
  24231. "status": {
  24232. "description": "开户状态(网上开户表wskh_userinfo) - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过 ; 账户状态(正式表useraccount) - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  24233. "type": "integer"
  24234. },
  24235. "statusdesc": {
  24236. "description": "账户状态中文描述",
  24237. "type": "string"
  24238. },
  24239. "taxpayernum": {
  24240. "description": "纳税人识别号",
  24241. "type": "string"
  24242. },
  24243. "telphone": {
  24244. "description": "联系电话",
  24245. "type": "string"
  24246. },
  24247. "userid": {
  24248. "description": "用户ID",
  24249. "type": "integer"
  24250. },
  24251. "userinfotype": {
  24252. "description": "客户类型 1-个人 2-企业",
  24253. "type": "integer"
  24254. },
  24255. "username": {
  24256. "description": "用户名称",
  24257. "type": "string"
  24258. }
  24259. }
  24260. },
  24261. "models.QhjMgrPositionRsp": {
  24262. "type": "object",
  24263. "properties": {
  24264. "accountid": {
  24265. "description": "账号Id",
  24266. "type": "integer"
  24267. },
  24268. "accountname": {
  24269. "description": "用户名称",
  24270. "type": "string"
  24271. },
  24272. "agreeunit": {
  24273. "description": "合约乘数",
  24274. "type": "number"
  24275. },
  24276. "averageprice": {
  24277. "description": "均价",
  24278. "type": "number"
  24279. },
  24280. "avialqty": {
  24281. "description": "可用数量",
  24282. "type": "number"
  24283. },
  24284. "decimalplace": {
  24285. "description": "报价小数位",
  24286. "type": "integer"
  24287. },
  24288. "enumdicname": {
  24289. "description": "单位名称(商品)",
  24290. "type": "string"
  24291. },
  24292. "frozenqty": {
  24293. "description": "冻结数量",
  24294. "type": "number"
  24295. },
  24296. "goodscode": {
  24297. "description": "商品代码(内部)",
  24298. "type": "string"
  24299. },
  24300. "goodsid": {
  24301. "description": "商品Id",
  24302. "type": "integer"
  24303. },
  24304. "goodsname": {
  24305. "description": "商品名称",
  24306. "type": "string"
  24307. },
  24308. "goodunitid": {
  24309. "description": "报价单位ID",
  24310. "type": "integer"
  24311. },
  24312. "holderamount": {
  24313. "description": "金额",
  24314. "type": "number"
  24315. },
  24316. "holderqty": {
  24317. "description": "持有数量",
  24318. "type": "number"
  24319. },
  24320. "holdertype": {
  24321. "description": "持仓类别 - 1:单边持仓 2:双边持仓",
  24322. "type": "integer"
  24323. },
  24324. "logincode": {
  24325. "description": "登录代码(账户)",
  24326. "type": "string"
  24327. },
  24328. "marketid": {
  24329. "description": "市场id",
  24330. "type": "integer"
  24331. },
  24332. "qtydecimalplace": {
  24333. "description": "成交量小数位",
  24334. "type": "integer"
  24335. },
  24336. "trademode": {
  24337. "description": "交易模式",
  24338. "type": "integer"
  24339. },
  24340. "userid": {
  24341. "description": "用户id",
  24342. "type": "integer"
  24343. },
  24344. "userinfotype": {
  24345. "description": "账户类型 1-个人 2-企业",
  24346. "type": "integer"
  24347. }
  24348. }
  24349. },
  24350. "models.QhjMgrSubArea": {
  24351. "type": "object",
  24352. "properties": {
  24353. "accountname": {
  24354. "description": "账户名称(机构名称)",
  24355. "type": "string"
  24356. },
  24357. "memberuserid": {
  24358. "description": "所属会员ID",
  24359. "type": "integer"
  24360. },
  24361. "parenttopuser": {
  24362. "description": "上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的\"ParentTopUser\"]",
  24363. "type": "string"
  24364. },
  24365. "parentuserid": {
  24366. "description": "所属机构ID",
  24367. "type": "integer"
  24368. },
  24369. "rootuserid": {
  24370. "description": "根用户ID",
  24371. "type": "string"
  24372. },
  24373. "subaccountlevel": {
  24374. "description": "子账户层数",
  24375. "type": "integer"
  24376. },
  24377. "subarealevelpath": {
  24378. "description": "子机构层级路径(逗号分隔,首尾加逗号)",
  24379. "type": "string"
  24380. },
  24381. "userid": {
  24382. "description": "用户ID",
  24383. "type": "integer"
  24384. },
  24385. "usertype": {
  24386. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  24387. "type": "integer"
  24388. }
  24389. }
  24390. },
  24391. "models.QhjMgrTradeDetailRsp": {
  24392. "type": "object",
  24393. "properties": {
  24394. "accountid": {
  24395. "description": "资金账号",
  24396. "type": "integer"
  24397. },
  24398. "accountname": {
  24399. "description": "用户名称",
  24400. "type": "string"
  24401. },
  24402. "agreeunit": {
  24403. "description": "合约乘数",
  24404. "type": "number"
  24405. },
  24406. "buyorsell": {
  24407. "description": "成交类型(方向) 0:买 1:卖",
  24408. "type": "integer"
  24409. },
  24410. "decimalplace": {
  24411. "description": "报价小数位",
  24412. "type": "integer"
  24413. },
  24414. "enumdicname": {
  24415. "description": "单位名称(商品)",
  24416. "type": "string"
  24417. },
  24418. "goodscode": {
  24419. "description": "商品代码(内部)",
  24420. "type": "string"
  24421. },
  24422. "goodsid": {
  24423. "description": "商品id",
  24424. "type": "integer"
  24425. },
  24426. "goodsname": {
  24427. "description": "商品名称",
  24428. "type": "string"
  24429. },
  24430. "goodunitid": {
  24431. "description": "报价单位ID",
  24432. "type": "integer"
  24433. },
  24434. "logincode": {
  24435. "description": "登录代码(账户)",
  24436. "type": "string"
  24437. },
  24438. "marketid": {
  24439. "description": "市场id",
  24440. "type": "integer"
  24441. },
  24442. "orderid": {
  24443. "description": "关联委托单号",
  24444. "type": "string"
  24445. },
  24446. "qtydecimalplace": {
  24447. "description": "成交量小数位",
  24448. "type": "integer"
  24449. },
  24450. "tradeamount": {
  24451. "description": "金额",
  24452. "type": "number"
  24453. },
  24454. "tradedate": {
  24455. "description": "交易日",
  24456. "type": "string"
  24457. },
  24458. "tradeid": {
  24459. "description": "成交单号",
  24460. "type": "string"
  24461. },
  24462. "trademode": {
  24463. "description": "交易模式",
  24464. "type": "integer"
  24465. },
  24466. "tradeprice": {
  24467. "description": "价格",
  24468. "type": "number"
  24469. },
  24470. "tradeqty": {
  24471. "description": "数量",
  24472. "type": "number"
  24473. },
  24474. "tradetime": {
  24475. "description": "成交时间",
  24476. "type": "string"
  24477. },
  24478. "userid": {
  24479. "description": "用户id",
  24480. "type": "integer"
  24481. },
  24482. "userinfotype": {
  24483. "description": "账户类型 1-个人 2-企业",
  24484. "type": "integer"
  24485. }
  24486. }
  24487. },
  24488. "models.QhjMgrTradeOrderDetailRsp": {
  24489. "type": "object",
  24490. "properties": {
  24491. "accountid": {
  24492. "description": "资金账号",
  24493. "type": "integer"
  24494. },
  24495. "accountname": {
  24496. "description": "用户名称",
  24497. "type": "string"
  24498. },
  24499. "agreeunit": {
  24500. "description": "合约乘数",
  24501. "type": "number"
  24502. },
  24503. "amount": {
  24504. "description": "金额",
  24505. "type": "number"
  24506. },
  24507. "decimalplace": {
  24508. "description": "报价小数位",
  24509. "type": "integer"
  24510. },
  24511. "enumdicname": {
  24512. "description": "单位名称(商品)",
  24513. "type": "string"
  24514. },
  24515. "goodscode": {
  24516. "description": "商品代码(内部)",
  24517. "type": "string"
  24518. },
  24519. "goodsid": {
  24520. "description": "商品id",
  24521. "type": "integer"
  24522. },
  24523. "goodsname": {
  24524. "description": "商品名称",
  24525. "type": "string"
  24526. },
  24527. "goodunitid": {
  24528. "description": "报价单位ID",
  24529. "type": "integer"
  24530. },
  24531. "logincode": {
  24532. "description": "登录代码(账户)",
  24533. "type": "string"
  24534. },
  24535. "marketid": {
  24536. "description": "市场id",
  24537. "type": "integer"
  24538. },
  24539. "orderid": {
  24540. "description": "关联委托单号",
  24541. "type": "string"
  24542. },
  24543. "orderprice": {
  24544. "description": "价格",
  24545. "type": "number"
  24546. },
  24547. "orderqty": {
  24548. "description": "数量",
  24549. "type": "number"
  24550. },
  24551. "orderstatus": {
  24552. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  24553. "type": "integer"
  24554. },
  24555. "ordertime": {
  24556. "description": "委托时间",
  24557. "type": "string"
  24558. },
  24559. "qtydecimalplace": {
  24560. "description": "成交量小数位",
  24561. "type": "integer"
  24562. },
  24563. "tradedate": {
  24564. "description": "交易日",
  24565. "type": "string"
  24566. },
  24567. "trademode": {
  24568. "description": "交易模式",
  24569. "type": "integer"
  24570. },
  24571. "userid": {
  24572. "description": "用户id",
  24573. "type": "integer"
  24574. },
  24575. "userinfotype": {
  24576. "description": "账户类型 1-个人 2-企业",
  24577. "type": "integer"
  24578. }
  24579. }
  24580. },
  24581. "models.QhjMgrTradePayOrder": {
  24582. "type": "object",
  24583. "properties": {
  24584. "accountname": {
  24585. "description": "用户名称",
  24586. "type": "string"
  24587. },
  24588. "advanceratio": {
  24589. "description": "首付比率",
  24590. "type": "number"
  24591. },
  24592. "agreeunit": {
  24593. "description": "合约乘数",
  24594. "type": "number"
  24595. },
  24596. "buyaccountid": {
  24597. "description": "买方账号ID[报价币种]",
  24598. "type": "integer"
  24599. },
  24600. "buyorderid": {
  24601. "description": "买方委托单号(关联单号)",
  24602. "type": "string"
  24603. },
  24604. "createtime": {
  24605. "description": "创建时间",
  24606. "type": "string"
  24607. },
  24608. "decimalplace": {
  24609. "description": "报价小数位",
  24610. "type": "integer"
  24611. },
  24612. "enumdicname": {
  24613. "description": "单位名称(商品)",
  24614. "type": "string"
  24615. },
  24616. "goodscode": {
  24617. "description": "商品代码(内部)",
  24618. "type": "string"
  24619. },
  24620. "goodsid": {
  24621. "description": "商品ID",
  24622. "type": "integer"
  24623. },
  24624. "goodsname": {
  24625. "description": "商品名称",
  24626. "type": "string"
  24627. },
  24628. "goodunitid": {
  24629. "description": "报价单位ID",
  24630. "type": "integer"
  24631. },
  24632. "logincode": {
  24633. "description": "登录代码(账户)",
  24634. "type": "string"
  24635. },
  24636. "marketid": {
  24637. "description": "市场id",
  24638. "type": "integer"
  24639. },
  24640. "offamount": {
  24641. "description": "优惠金额",
  24642. "type": "number"
  24643. },
  24644. "operatetype": {
  24645. "description": "买委托操作类型 - 1:正常下单 16:融资买入",
  24646. "type": "integer"
  24647. },
  24648. "payamount": {
  24649. "description": "支付金额(金额)",
  24650. "type": "number"
  24651. },
  24652. "payflag": {
  24653. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  24654. "type": "integer"
  24655. },
  24656. "paylimitedtime": {
  24657. "description": "支付期限",
  24658. "type": "string"
  24659. },
  24660. "paytime": {
  24661. "description": "付款时间",
  24662. "type": "string"
  24663. },
  24664. "qtydecimalplace": {
  24665. "description": "成交量小数位",
  24666. "type": "integer"
  24667. },
  24668. "sellaccountid": {
  24669. "description": "卖方账号ID[报价币种]",
  24670. "type": "integer"
  24671. },
  24672. "sellorderid": {
  24673. "description": "卖方委托单号",
  24674. "type": "string"
  24675. },
  24676. "tradeamount": {
  24677. "description": "成交金额(优惠后金额)",
  24678. "type": "number"
  24679. },
  24680. "tradecharge": {
  24681. "description": "成交手续费(买方)",
  24682. "type": "number"
  24683. },
  24684. "tradedate": {
  24685. "description": "交易日(yyyyMMdd)",
  24686. "type": "string"
  24687. },
  24688. "tradeid": {
  24689. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  24690. "type": "string"
  24691. },
  24692. "trademode": {
  24693. "description": "交易模式",
  24694. "type": "integer"
  24695. },
  24696. "tradeprice": {
  24697. "description": "成交价格(价格)",
  24698. "type": "number"
  24699. },
  24700. "tradeqty": {
  24701. "description": "成交数量(数量)",
  24702. "type": "number"
  24703. },
  24704. "tradetime": {
  24705. "description": "成交时间",
  24706. "type": "string"
  24707. },
  24708. "userid": {
  24709. "description": "用户id",
  24710. "type": "integer"
  24711. },
  24712. "userinfotype": {
  24713. "description": "账户类型 1-个人 2-企业",
  24714. "type": "integer"
  24715. }
  24716. }
  24717. },
  24718. "models.QhjNodeAgreementConfig": {
  24719. "type": "object",
  24720. "properties": {
  24721. "agreementcontent": {
  24722. "description": "协议内容",
  24723. "type": "string"
  24724. },
  24725. "agreementid": {
  24726. "description": "协议ID",
  24727. "type": "integer"
  24728. },
  24729. "agreementname": {
  24730. "description": "协议名称",
  24731. "type": "string"
  24732. },
  24733. "agreementno": {
  24734. "description": "协议编号",
  24735. "type": "string"
  24736. },
  24737. "agreementtype": {
  24738. "description": "协议类型 - 1:注册 2:登录 3:交易",
  24739. "type": "integer"
  24740. },
  24741. "agreementversion": {
  24742. "description": "协议版本号",
  24743. "type": "integer"
  24744. },
  24745. "configid": {
  24746. "description": "配置(SEQ_QHJ_NODEAGREEMENTCONFIG)",
  24747. "type": "integer"
  24748. },
  24749. "createtime": {
  24750. "description": "创建时间",
  24751. "type": "string"
  24752. },
  24753. "goodsid": {
  24754. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  24755. "type": "integer"
  24756. },
  24757. "nodetype": {
  24758. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  24759. "type": "integer"
  24760. }
  24761. }
  24762. },
  24763. "models.QhjParentAreaList": {
  24764. "type": "object",
  24765. "properties": {
  24766. "accountname": {
  24767. "description": "账户名称(机构名称)",
  24768. "type": "string"
  24769. },
  24770. "userid": {
  24771. "description": "用户ID",
  24772. "type": "integer"
  24773. },
  24774. "usertype": {
  24775. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  24776. "type": "integer"
  24777. }
  24778. }
  24779. },
  24780. "models.QhjPayOrder": {
  24781. "type": "object",
  24782. "properties": {
  24783. "advanceratio": {
  24784. "description": "首付比率",
  24785. "type": "number"
  24786. },
  24787. "buyaccountid": {
  24788. "description": "买方账号ID[报价币种]",
  24789. "type": "integer"
  24790. },
  24791. "buyorderid": {
  24792. "description": "买方委托单号",
  24793. "type": "string"
  24794. },
  24795. "createtime": {
  24796. "description": "创建时间",
  24797. "type": "string"
  24798. },
  24799. "decimalplace": {
  24800. "description": "商品报价小数位",
  24801. "type": "integer"
  24802. },
  24803. "enumdicname": {
  24804. "description": "单位名称",
  24805. "type": "string"
  24806. },
  24807. "goodscode": {
  24808. "description": "商品代码",
  24809. "type": "string"
  24810. },
  24811. "goodsid": {
  24812. "description": "商品ID",
  24813. "type": "integer"
  24814. },
  24815. "goodsname": {
  24816. "description": "商品名称",
  24817. "type": "string"
  24818. },
  24819. "goodunitid": {
  24820. "description": "商品单位id",
  24821. "type": "integer"
  24822. },
  24823. "marketid": {
  24824. "description": "市场ID",
  24825. "type": "integer"
  24826. },
  24827. "offamount": {
  24828. "description": "优惠金额",
  24829. "type": "number"
  24830. },
  24831. "operatetype": {
  24832. "description": "买委托操作类型 - 1:正常下单 16:融资买入",
  24833. "type": "integer"
  24834. },
  24835. "payamount": {
  24836. "description": "支付金额",
  24837. "type": "number"
  24838. },
  24839. "payflag": {
  24840. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  24841. "type": "integer"
  24842. },
  24843. "paylimitedtime": {
  24844. "description": "支付期限",
  24845. "type": "string"
  24846. },
  24847. "paytime": {
  24848. "description": "付款时间",
  24849. "type": "string"
  24850. },
  24851. "qtydecimalplace": {
  24852. "description": "成交量小数位",
  24853. "type": "integer"
  24854. },
  24855. "sellaccountid": {
  24856. "description": "卖方账号ID[报价币种]",
  24857. "type": "integer"
  24858. },
  24859. "sellorderid": {
  24860. "description": "卖方委托单号",
  24861. "type": "string"
  24862. },
  24863. "tradeamount": {
  24864. "description": "成交金额(优惠后金额)",
  24865. "type": "number"
  24866. },
  24867. "tradecharge": {
  24868. "description": "成交手续费(买方)",
  24869. "type": "number"
  24870. },
  24871. "tradedate": {
  24872. "description": "交易日(yyyyMMdd)",
  24873. "type": "string"
  24874. },
  24875. "tradeid": {
  24876. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  24877. "type": "string"
  24878. },
  24879. "tradeprice": {
  24880. "description": "成交价格",
  24881. "type": "number"
  24882. },
  24883. "tradeqty": {
  24884. "description": "成交数量",
  24885. "type": "number"
  24886. }
  24887. }
  24888. },
  24889. "models.QhjPickArea": {
  24890. "type": "object",
  24891. "properties": {
  24892. "address": {
  24893. "description": "详细地址",
  24894. "type": "string"
  24895. },
  24896. "cityid": {
  24897. "description": "市",
  24898. "type": "integer"
  24899. },
  24900. "cityname": {
  24901. "description": "城市名称",
  24902. "type": "string"
  24903. },
  24904. "countryid": {
  24905. "description": "国家",
  24906. "type": "integer"
  24907. },
  24908. "countryname": {
  24909. "description": "国家名称",
  24910. "type": "string"
  24911. },
  24912. "districtid": {
  24913. "description": "地区",
  24914. "type": "integer"
  24915. },
  24916. "districtname": {
  24917. "description": "地区名称",
  24918. "type": "string"
  24919. },
  24920. "fromuserid": {
  24921. "description": "所属机构(组织机构)( OrgType = 1时为自己, = 2\\3时取上级机构的所属机构)",
  24922. "type": "integer"
  24923. },
  24924. "fromusername": {
  24925. "description": "所属机构名称",
  24926. "type": "string"
  24927. },
  24928. "provinceid": {
  24929. "description": "省",
  24930. "type": "integer"
  24931. },
  24932. "provincename": {
  24933. "description": "省名称",
  24934. "type": "string"
  24935. },
  24936. "suborgtype": {
  24937. "description": "子机构类型(千海金) - 0:机构 1:代理 2:门店",
  24938. "type": "integer"
  24939. },
  24940. "userid": {
  24941. "description": "机构用户ID 其他做市关系,都设置为 1",
  24942. "type": "integer"
  24943. },
  24944. "username": {
  24945. "description": "机构用户名称(门店门称)",
  24946. "type": "string"
  24947. }
  24948. }
  24949. },
  24950. "models.QhjPickGoods": {
  24951. "type": "object",
  24952. "properties": {
  24953. "enumdicname": {
  24954. "description": "单位名称(提货商品)",
  24955. "type": "string"
  24956. },
  24957. "goodsid": {
  24958. "description": "商品id",
  24959. "type": "integer"
  24960. },
  24961. "imageaddress": {
  24962. "description": "图片",
  24963. "type": "string"
  24964. },
  24965. "modifierid": {
  24966. "description": "修改人",
  24967. "type": "integer"
  24968. },
  24969. "modifiername": {
  24970. "description": "修改人名称",
  24971. "type": "string"
  24972. },
  24973. "modifysrc": {
  24974. "description": "修改来源 - 1:管理端 2:终端",
  24975. "type": "integer"
  24976. },
  24977. "pickupgoodsagreeunit": {
  24978. "description": "合约乘数",
  24979. "type": "number"
  24980. },
  24981. "pickupgoodsdesc": {
  24982. "description": "描述",
  24983. "type": "string"
  24984. },
  24985. "pickupgoodsid": {
  24986. "description": "提货商品ID",
  24987. "type": "string"
  24988. },
  24989. "pickupgoodsname": {
  24990. "description": "提货商品名称",
  24991. "type": "string"
  24992. },
  24993. "pickupgoodsstatus": {
  24994. "description": "状态 - 1:正常 2:停用 3:注销",
  24995. "type": "integer"
  24996. },
  24997. "pickupgoodsunitid": {
  24998. "description": "单位ID",
  24999. "type": "integer"
  25000. },
  25001. "pickupratio": {
  25002. "description": "提货系数",
  25003. "type": "number"
  25004. },
  25005. "preparedays": {
  25006. "description": "备货期(天)",
  25007. "type": "integer"
  25008. },
  25009. "remark": {
  25010. "description": "备注",
  25011. "type": "string"
  25012. },
  25013. "updatetime": {
  25014. "description": "更新时间",
  25015. "type": "string"
  25016. }
  25017. }
  25018. },
  25019. "models.QhjRSTriggerLog": {
  25020. "type": "object",
  25021. "properties": {
  25022. "accountid": {
  25023. "description": "用户资金账户",
  25024. "type": "integer"
  25025. },
  25026. "accountname": {
  25027. "description": "账号名称(ACCOUNTID对应的名称)",
  25028. "type": "string"
  25029. },
  25030. "currencyid": {
  25031. "description": "币种id",
  25032. "type": "integer"
  25033. },
  25034. "currencyname": {
  25035. "description": "币种名称",
  25036. "type": "string"
  25037. },
  25038. "decimalplace": {
  25039. "description": "商品报价小数位",
  25040. "type": "integer"
  25041. },
  25042. "enumdicname": {
  25043. "description": "单位名称",
  25044. "type": "string"
  25045. },
  25046. "goodscode": {
  25047. "description": "定投商品代码",
  25048. "type": "string"
  25049. },
  25050. "goodsid": {
  25051. "description": "定投商品ID",
  25052. "type": "integer"
  25053. },
  25054. "goodsname": {
  25055. "description": "定投商品名称",
  25056. "type": "string"
  25057. },
  25058. "goodunitid": {
  25059. "description": "定投商品单位id",
  25060. "type": "integer"
  25061. },
  25062. "logid": {
  25063. "description": "LogID(SEQ_QHJ_RSTRIGGERLOG)",
  25064. "type": "string"
  25065. },
  25066. "logincode": {
  25067. "description": "账号(登录代码)",
  25068. "type": "string"
  25069. },
  25070. "qtydecimalplace": {
  25071. "description": "成交量小数位",
  25072. "type": "integer"
  25073. },
  25074. "regularlycycle": {
  25075. "description": "定投频率 - 1:每周 2:每月",
  25076. "type": "integer"
  25077. },
  25078. "regularlycyclevalue": {
  25079. "description": "定投频率值 - 每周几(0-6) 或 每月几号(\u003c=28)",
  25080. "type": "string"
  25081. },
  25082. "regularlymode": {
  25083. "description": "定投方式 - 1:按数量 2:按金额",
  25084. "type": "integer"
  25085. },
  25086. "regularlymodevalue": {
  25087. "description": "定投方式值 - 数量或金额",
  25088. "type": "number"
  25089. },
  25090. "regularlystrategyid": {
  25091. "description": "定投策略ID",
  25092. "type": "integer"
  25093. },
  25094. "retcode": {
  25095. "description": "错误码",
  25096. "type": "string"
  25097. },
  25098. "tradeid": {
  25099. "description": "成交单ID",
  25100. "type": "string"
  25101. },
  25102. "triggeramount": {
  25103. "description": "触发金额",
  25104. "type": "number"
  25105. },
  25106. "triggerqty": {
  25107. "description": "触发数量",
  25108. "type": "number"
  25109. },
  25110. "triggerstatus": {
  25111. "description": "触发状态 - 1:成功 2:失败",
  25112. "type": "integer"
  25113. },
  25114. "triggertime": {
  25115. "description": "触发时间",
  25116. "type": "string"
  25117. },
  25118. "triggertradedate": {
  25119. "description": "触发交易日",
  25120. "type": "string"
  25121. },
  25122. "userid": {
  25123. "description": "所属用户ID",
  25124. "type": "integer"
  25125. },
  25126. "userinfotype": {
  25127. "description": "用户类型 1-个人 2-企业",
  25128. "type": "integer"
  25129. },
  25130. "username": {
  25131. "description": "用户名称(userid对应的名称)",
  25132. "type": "string"
  25133. }
  25134. }
  25135. },
  25136. "models.QhjRStrategy": {
  25137. "type": "object",
  25138. "properties": {
  25139. "accountid": {
  25140. "description": "用户资金账户",
  25141. "type": "integer"
  25142. },
  25143. "accountname": {
  25144. "description": "账号名称(ACCOUNTID对应的名称)",
  25145. "type": "string"
  25146. },
  25147. "currencyid": {
  25148. "description": "币种id",
  25149. "type": "integer"
  25150. },
  25151. "currencyname": {
  25152. "description": "币种名称",
  25153. "type": "string"
  25154. },
  25155. "decimalplace": {
  25156. "description": "商品报价小数位",
  25157. "type": "integer"
  25158. },
  25159. "enumdicname": {
  25160. "description": "单位名称",
  25161. "type": "string"
  25162. },
  25163. "goodscode": {
  25164. "description": "定投商品代码",
  25165. "type": "string"
  25166. },
  25167. "goodsid": {
  25168. "description": "定投商品ID",
  25169. "type": "integer"
  25170. },
  25171. "goodsname": {
  25172. "description": "定投商品名称",
  25173. "type": "string"
  25174. },
  25175. "goodunitid": {
  25176. "description": "定投商品单位id",
  25177. "type": "integer"
  25178. },
  25179. "lasteffecttradedate": {
  25180. "description": "最新生效交易日",
  25181. "type": "string"
  25182. },
  25183. "laststoptradedate": {
  25184. "description": "最新暂停交易日",
  25185. "type": "string"
  25186. },
  25187. "lasttriggertradedate": {
  25188. "description": "最新触发交易日",
  25189. "type": "string"
  25190. },
  25191. "logincode": {
  25192. "description": "账号(登录代码)",
  25193. "type": "string"
  25194. },
  25195. "nexttriggeramount": {
  25196. "description": "下次触发金额",
  25197. "type": "number"
  25198. },
  25199. "nexttriggerdate": {
  25200. "description": "下次触发日期",
  25201. "type": "string"
  25202. },
  25203. "nexttriggerqty": {
  25204. "description": "下次触发数量 [按小数位放大值]",
  25205. "type": "number"
  25206. },
  25207. "qtydecimalplace": {
  25208. "description": "成交量小数位",
  25209. "type": "integer"
  25210. },
  25211. "regularlycycle": {
  25212. "description": "定投频率 - 1:每周 2:每月",
  25213. "type": "integer"
  25214. },
  25215. "regularlycyclevalue": {
  25216. "description": "定投频率值 - 每周几(0-6) 或 每月几号(\u003c=28)",
  25217. "type": "string"
  25218. },
  25219. "regularlymode": {
  25220. "description": "定投方式 - 1:按数量 2:按金额",
  25221. "type": "integer"
  25222. },
  25223. "regularlymodevalue": {
  25224. "description": "定投方式值 - 数量或金额",
  25225. "type": "number"
  25226. },
  25227. "regularlystrategyid": {
  25228. "description": "定投策略ID (SEQ_QHJ_REGULARLYSTRATEGY)",
  25229. "type": "integer"
  25230. },
  25231. "regularlystrategystatus": {
  25232. "description": "策略状态 - 1:正常 2:暂停 3:终止",
  25233. "type": "integer"
  25234. },
  25235. "remark": {
  25236. "description": "备注",
  25237. "type": "string"
  25238. },
  25239. "triggersuccesstimes": {
  25240. "description": "累计定投成功次数",
  25241. "type": "string"
  25242. },
  25243. "triggertotalamount": {
  25244. "description": "累计定投金额(成功)",
  25245. "type": "number"
  25246. },
  25247. "triggertotalqty": {
  25248. "description": "累计定投数量(成功) [按小数位放大值]",
  25249. "type": "number"
  25250. },
  25251. "triggertotaltimes": {
  25252. "description": "累计定投总次数",
  25253. "type": "string"
  25254. },
  25255. "updatesrc": {
  25256. "description": "更新来源 - 1:管理端 2:终端",
  25257. "type": "integer"
  25258. },
  25259. "updatetime": {
  25260. "description": "更新时间",
  25261. "type": "string"
  25262. },
  25263. "updatorid": {
  25264. "description": "更新人",
  25265. "type": "string"
  25266. },
  25267. "userid": {
  25268. "description": "所属用户ID",
  25269. "type": "integer"
  25270. },
  25271. "userinfotype": {
  25272. "description": "用户类型 1-个人 2-企业",
  25273. "type": "integer"
  25274. },
  25275. "username": {
  25276. "description": "用户名称(userid对应的名称)",
  25277. "type": "string"
  25278. }
  25279. }
  25280. },
  25281. "models.QhjReckonPriceLog": {
  25282. "type": "object",
  25283. "properties": {
  25284. "decimalplace": {
  25285. "description": "商品报价小数位",
  25286. "type": "integer"
  25287. },
  25288. "goodscode": {
  25289. "description": "商品代码",
  25290. "type": "string"
  25291. },
  25292. "goodsid": {
  25293. "description": "商品ID",
  25294. "type": "integer"
  25295. },
  25296. "goodsname": {
  25297. "description": "商品名称",
  25298. "type": "string"
  25299. },
  25300. "lastreckonprice": {
  25301. "description": "上日结算价",
  25302. "type": "number"
  25303. },
  25304. "nextdnlimitprice": {
  25305. "description": "下个交易日跌停价",
  25306. "type": "number"
  25307. },
  25308. "nexttrade": {
  25309. "description": "下个交易日",
  25310. "type": "string"
  25311. },
  25312. "nextuplimitprice": {
  25313. "description": "下个交易日涨停价",
  25314. "type": "number"
  25315. },
  25316. "reckonprice": {
  25317. "description": "今日结算价(定投价)",
  25318. "type": "number"
  25319. },
  25320. "reckontime": {
  25321. "description": "结算时间",
  25322. "type": "string"
  25323. },
  25324. "totalholderqty": {
  25325. "description": "总持仓数",
  25326. "type": "integer"
  25327. },
  25328. "totalstock": {
  25329. "description": "总库存",
  25330. "type": "integer"
  25331. },
  25332. "tradedate": {
  25333. "description": "交易日",
  25334. "type": "string"
  25335. },
  25336. "updowncount": {
  25337. "description": "连续涨(跌)停天数 (涨跌停标志变为0时值归0,变成涨停或是跌停时值为1,连续涨停天数+1,连续跌停天数+1)",
  25338. "type": "integer"
  25339. },
  25340. "updownflag": {
  25341. "description": "连续涨跌停标志 - 0:无涨跌停 -1:跌停 1:涨停",
  25342. "type": "integer"
  25343. },
  25344. "updownrate": {
  25345. "description": "今日涨跌幅",
  25346. "type": "number"
  25347. },
  25348. "updownrate_2d": {
  25349. "description": "连续两日涨跌幅",
  25350. "type": "number"
  25351. },
  25352. "updownrate_3d": {
  25353. "description": "连续三日涨跌幅",
  25354. "type": "number"
  25355. }
  25356. }
  25357. },
  25358. "models.QhjSiteColumnDetail": {
  25359. "type": "object",
  25360. "properties": {
  25361. "author": {
  25362. "description": "作者",
  25363. "type": "string"
  25364. },
  25365. "brief": {
  25366. "description": "简介",
  25367. "type": "string"
  25368. },
  25369. "columnid": {
  25370. "description": "所属栏目",
  25371. "type": "integer"
  25372. },
  25373. "context": {
  25374. "description": "内容",
  25375. "type": "string"
  25376. },
  25377. "coverimage": {
  25378. "description": "封面图片",
  25379. "type": "string"
  25380. },
  25381. "creaedate": {
  25382. "description": "创建时间",
  25383. "type": "string"
  25384. },
  25385. "creatorid": {
  25386. "description": "创建人",
  25387. "type": "integer"
  25388. },
  25389. "hits": {
  25390. "description": "点击数",
  25391. "type": "integer"
  25392. },
  25393. "id": {
  25394. "description": "ID(SEQ_SITE_COLUMNDETAIL)",
  25395. "type": "integer"
  25396. },
  25397. "isshow": {
  25398. "description": "是否展示 - 0:不展示 1:展示",
  25399. "type": "integer"
  25400. },
  25401. "istop": {
  25402. "description": "是否置顶 - 0:不置 1:置顶",
  25403. "type": "integer"
  25404. },
  25405. "modifierid": {
  25406. "description": "操作人",
  25407. "type": "integer"
  25408. },
  25409. "publishdate": {
  25410. "description": "发布日期",
  25411. "type": "string"
  25412. },
  25413. "status": {
  25414. "description": "状态 - 1:暂存 10:待审核 20:审核通过 30:审核拒绝",
  25415. "type": "integer"
  25416. },
  25417. "title": {
  25418. "description": "标题",
  25419. "type": "string"
  25420. },
  25421. "updatedate": {
  25422. "description": "修改时间",
  25423. "type": "string"
  25424. },
  25425. "userid": {
  25426. "description": "用户ID(默认为0, 核心为为机构用户ID)",
  25427. "type": "integer"
  25428. },
  25429. "username": {
  25430. "description": "用户名称",
  25431. "type": "string"
  25432. }
  25433. }
  25434. },
  25435. "models.QhjTradeGoodsPickup": {
  25436. "type": "object",
  25437. "properties": {
  25438. "accountid": {
  25439. "description": "账户ID",
  25440. "type": "integer"
  25441. },
  25442. "address": {
  25443. "description": "提货人详细地址",
  25444. "type": "string"
  25445. },
  25446. "amount": {
  25447. "description": "提货金额",
  25448. "type": "number"
  25449. },
  25450. "artradedate": {
  25451. "description": "自动收货交易日(yyyyMMdd)",
  25452. "type": "string"
  25453. },
  25454. "auditer": {
  25455. "description": "审核人",
  25456. "type": "integer"
  25457. },
  25458. "auditsrc": {
  25459. "description": "更新来源 - 1:管理端 2:终端",
  25460. "type": "integer"
  25461. },
  25462. "audittime": {
  25463. "description": "审核时间(发货时间 | 备货完成时间 都是这个字段)",
  25464. "type": "string"
  25465. },
  25466. "audittradedate": {
  25467. "description": "审核交易日(yyyyMMdd)",
  25468. "type": "string"
  25469. },
  25470. "cardnum": {
  25471. "description": "提货人证件号码",
  25472. "type": "string"
  25473. },
  25474. "cardtypeid": {
  25475. "description": "提货人证件类型",
  25476. "type": "integer"
  25477. },
  25478. "checkremark": {
  25479. "description": "审核备注",
  25480. "type": "string"
  25481. },
  25482. "cityid": {
  25483. "description": "市",
  25484. "type": "integer"
  25485. },
  25486. "cityname": {
  25487. "description": "城市名称",
  25488. "type": "string"
  25489. },
  25490. "confirmtime": {
  25491. "description": "取货时间 或 收货时间",
  25492. "type": "string"
  25493. },
  25494. "countryid": {
  25495. "description": "国家",
  25496. "type": "integer"
  25497. },
  25498. "countryname": {
  25499. "description": "国家名称",
  25500. "type": "string"
  25501. },
  25502. "decimalplace": {
  25503. "description": "商品报价小数位",
  25504. "type": "integer"
  25505. },
  25506. "districtid": {
  25507. "description": "地区",
  25508. "type": "integer"
  25509. },
  25510. "districtname": {
  25511. "description": "地区名称",
  25512. "type": "string"
  25513. },
  25514. "enumdicname": {
  25515. "description": "单位名称(提货商品)",
  25516. "type": "string"
  25517. },
  25518. "expresscompany": {
  25519. "description": "物流公司",
  25520. "type": "string"
  25521. },
  25522. "expressnum": {
  25523. "description": "物流单号",
  25524. "type": "string"
  25525. },
  25526. "goodsagreeunit": {
  25527. "description": "交易商品乘数",
  25528. "type": "number"
  25529. },
  25530. "goodscode": {
  25531. "description": "商品代码",
  25532. "type": "string"
  25533. },
  25534. "goodsid": {
  25535. "description": "商品ID",
  25536. "type": "integer"
  25537. },
  25538. "goodsname": {
  25539. "description": "商品名称",
  25540. "type": "string"
  25541. },
  25542. "goodsqty": {
  25543. "description": "交易商品手数(69模式按成交量小数位放大取整)",
  25544. "type": "number"
  25545. },
  25546. "handlestatus": {
  25547. "description": "处理状态",
  25548. "type": "integer"
  25549. },
  25550. "logincode": {
  25551. "description": "账号(登录代码, 有可能为空)",
  25552. "type": "string"
  25553. },
  25554. "marketid": {
  25555. "description": "市场ID",
  25556. "type": "integer"
  25557. },
  25558. "phonenum": {
  25559. "description": "提货人联系方式",
  25560. "type": "string"
  25561. },
  25562. "pickupgoodsagreeunit": {
  25563. "description": "提货商品合约乘数",
  25564. "type": "number"
  25565. },
  25566. "pickupgoodsid": {
  25567. "description": "提货商品ID",
  25568. "type": "string"
  25569. },
  25570. "pickupgoodsname": {
  25571. "description": "提货商品名称",
  25572. "type": "string"
  25573. },
  25574. "pickupgoodsqty": {
  25575. "description": "提货商品手数(数量)",
  25576. "type": "number"
  25577. },
  25578. "pickupgoodsunitid": {
  25579. "description": "单位ID(提货商品)",
  25580. "type": "integer"
  25581. },
  25582. "pickupratio": {
  25583. "description": "提货系数",
  25584. "type": "number"
  25585. },
  25586. "preparedays": {
  25587. "description": "备货期(天)-提货单明细表",
  25588. "type": "integer"
  25589. },
  25590. "provinceid": {
  25591. "description": "省",
  25592. "type": "integer"
  25593. },
  25594. "provincename": {
  25595. "description": "省名称",
  25596. "type": "string"
  25597. },
  25598. "qty": {
  25599. "description": "交易商品总手数(交易商品 - 69模式按成交量放大) - 明细表的交易商品手数汇总",
  25600. "type": "number"
  25601. },
  25602. "qtydecimalplace": {
  25603. "description": "商品数量小数位",
  25604. "type": "integer"
  25605. },
  25606. "recivername": {
  25607. "description": "提货人姓名",
  25608. "type": "string"
  25609. },
  25610. "reqtime": {
  25611. "description": "提货申请时间",
  25612. "type": "string"
  25613. },
  25614. "storeuserid": {
  25615. "description": "门店用户ID (千海金)",
  25616. "type": "integer"
  25617. },
  25618. "storeusername": {
  25619. "description": "门店用户名称",
  25620. "type": "string"
  25621. },
  25622. "takemode": {
  25623. "description": "提货方式 - 2:自提 3:配送(邮寄)",
  25624. "type": "integer"
  25625. },
  25626. "takeorderid": {
  25627. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  25628. "type": "string"
  25629. },
  25630. "takeorderstatus": {
  25631. "description": "提货状态 - 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄) 7:已拒绝 8:已撤销",
  25632. "type": "integer"
  25633. },
  25634. "takeremark": {
  25635. "description": "提货备注",
  25636. "type": "string"
  25637. },
  25638. "tradedate": {
  25639. "description": "交易日(yyyyMMdd)",
  25640. "type": "string"
  25641. },
  25642. "updatetime": {
  25643. "description": "更新时间",
  25644. "type": "string"
  25645. },
  25646. "userid": {
  25647. "description": "用户ID",
  25648. "type": "integer"
  25649. },
  25650. "userinfotype": {
  25651. "description": "客户类型 1-个人 2-企业",
  25652. "type": "integer"
  25653. },
  25654. "username": {
  25655. "description": "用户名称",
  25656. "type": "string"
  25657. }
  25658. }
  25659. },
  25660. "models.QhjUserNodeCfgAndStatus": {
  25661. "type": "object",
  25662. "properties": {
  25663. "agreementcontent": {
  25664. "description": "协议内容",
  25665. "type": "string"
  25666. },
  25667. "agreementid": {
  25668. "description": "协议ID",
  25669. "type": "integer"
  25670. },
  25671. "agreementname": {
  25672. "description": "协议名称",
  25673. "type": "string"
  25674. },
  25675. "agreementno": {
  25676. "description": "协议编号",
  25677. "type": "string"
  25678. },
  25679. "agreementtype": {
  25680. "description": "协议类型 - 1:注册 2:登录 3:交易",
  25681. "type": "integer"
  25682. },
  25683. "agreementversion": {
  25684. "description": "协议版本号",
  25685. "type": "integer"
  25686. },
  25687. "configid": {
  25688. "description": "配置(SEQ_QHJ_NODEAGREEMENTCONFIG)",
  25689. "type": "integer"
  25690. },
  25691. "createtime": {
  25692. "description": "创建时间",
  25693. "type": "string"
  25694. },
  25695. "goodsid": {
  25696. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  25697. "type": "integer"
  25698. },
  25699. "nodetype": {
  25700. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  25701. "type": "integer"
  25702. },
  25703. "signtimestamp": {
  25704. "description": "签约状态时间戳(最近一次)",
  25705. "type": "string"
  25706. },
  25707. "tradedate": {
  25708. "description": "签约交易日(yyyyMMdd)",
  25709. "type": "string"
  25710. },
  25711. "userid": {
  25712. "description": "客户ID",
  25713. "type": "integer"
  25714. }
  25715. }
  25716. },
  25717. "models.Qhjgoodsex": {
  25718. "type": "object",
  25719. "properties": {
  25720. "canfinance": {
  25721. "description": "是否支持融资 - 0:不支持 1:支持【69:铂金宝】",
  25722. "type": "integer"
  25723. },
  25724. "canregularlybuy": {
  25725. "description": "是否支持定投 - 0:不支持 1:支持【69:铂金宝】",
  25726. "type": "integer"
  25727. },
  25728. "defaulttradeuserid": {
  25729. "description": "默认交易用户ID",
  25730. "type": "integer"
  25731. },
  25732. "deliverygoodsid": {
  25733. "description": "现货品种ID",
  25734. "type": "integer"
  25735. },
  25736. "goodsid": {
  25737. "description": "商品ID(自增ID SEQ_GOODS)",
  25738. "type": "integer"
  25739. },
  25740. "minamount": {
  25741. "description": "最小购买金额",
  25742. "type": "number"
  25743. },
  25744. "regularlybuyminamount": {
  25745. "description": "定投最小金额",
  25746. "type": "number"
  25747. },
  25748. "regularlybuyminqty": {
  25749. "description": "定投最小数量",
  25750. "type": "number"
  25751. },
  25752. "spotgoodsbrandid": {
  25753. "description": "现货品牌ID - 存“DGFactoryItem”表\"DGFactoryItemID\"",
  25754. "type": "integer"
  25755. },
  25756. "visibilityforenterprise": {
  25757. "description": "企业客户是否可见 - 0:不可见 1:可见",
  25758. "type": "integer"
  25759. },
  25760. "visibilityforpersonal": {
  25761. "description": "个人客户是否可见 - 0:不可见 1:可见",
  25762. "type": "integer"
  25763. },
  25764. "wrstandardid": {
  25765. "description": "现货商品ID",
  25766. "type": "integer"
  25767. }
  25768. }
  25769. },
  25770. "models.QueryErrorInfosRsp": {
  25771. "type": "object",
  25772. "required": [
  25773. "errorid"
  25774. ],
  25775. "properties": {
  25776. "description": {
  25777. "description": "异常描述",
  25778. "type": "string"
  25779. },
  25780. "errorcode": {
  25781. "description": "异常代码",
  25782. "type": "string"
  25783. },
  25784. "errorid": {
  25785. "description": "异常ID",
  25786. "type": "integer"
  25787. },
  25788. "modulecode": {
  25789. "description": "所属模块",
  25790. "type": "string"
  25791. },
  25792. "operatecode": {
  25793. "description": "所属操作",
  25794. "type": "string"
  25795. },
  25796. "rownumber": {
  25797. "description": "行号",
  25798. "type": "string"
  25799. }
  25800. }
  25801. },
  25802. "models.QueryHedgeOrderDetailRsp": {
  25803. "type": "object",
  25804. "properties": {
  25805. "accountid": {
  25806. "description": "账户ID",
  25807. "type": "integer"
  25808. },
  25809. "buyorsell": {
  25810. "description": "买卖 - 0:买 1:卖",
  25811. "type": "integer"
  25812. },
  25813. "cancellogincode": {
  25814. "description": "撤单人",
  25815. "type": "string"
  25816. },
  25817. "channelbuildtype": {
  25818. "description": "开平标志 - 0:无 1:建仓 2:平仓",
  25819. "type": "integer"
  25820. },
  25821. "channelinnerorderstatus": {
  25822. "description": "委托状态 - 1:委托请求 2:冻结成功 3:委托失败 4:委托部成部失败 5:委托成功 6:全部撤销 7:部成部撤 8:部成部撤部失败 9:全部成交",
  25823. "type": "integer"
  25824. },
  25825. "channeloperatetype": {
  25826. "description": "操作类型 - 1:正常委托 2:斩仓委托 3:强平委托",
  25827. "type": "integer"
  25828. },
  25829. "closetype": {
  25830. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  25831. "type": "integer"
  25832. },
  25833. "curexchangerate": {
  25834. "description": "当前汇率",
  25835. "type": "number"
  25836. },
  25837. "exchangefullname": {
  25838. "description": "外部交易所全称",
  25839. "type": "string"
  25840. },
  25841. "goodscode": {
  25842. "description": "商品代码(内部)",
  25843. "type": "string"
  25844. },
  25845. "goodsid": {
  25846. "description": "商品ID",
  25847. "type": "integer"
  25848. },
  25849. "goodsname": {
  25850. "description": "商品名称",
  25851. "type": "string"
  25852. },
  25853. "marketid": {
  25854. "description": "市场ID",
  25855. "type": "integer"
  25856. },
  25857. "openfreezemargin": {
  25858. "description": "冻结保证金(冻结交易金额)",
  25859. "type": "number"
  25860. },
  25861. "orderid": {
  25862. "description": "委托单号(107+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  25863. "type": "string"
  25864. },
  25865. "orderlogincode": {
  25866. "description": "委托人",
  25867. "type": "string"
  25868. },
  25869. "orderprice": {
  25870. "description": "委托价格(账户)",
  25871. "type": "number"
  25872. },
  25873. "orderqty": {
  25874. "description": "委托数量",
  25875. "type": "integer"
  25876. },
  25877. "ordertime": {
  25878. "description": "委托时间",
  25879. "type": "string"
  25880. },
  25881. "pricemode": {
  25882. "description": "取价方式 - 1:市价 2: 限价",
  25883. "type": "integer"
  25884. },
  25885. "tradedate": {
  25886. "description": "交易日(yyyyMMdd)",
  25887. "type": "string"
  25888. },
  25889. "tradeqty": {
  25890. "description": "成交数量",
  25891. "type": "integer"
  25892. }
  25893. }
  25894. },
  25895. "models.QueryHedgeTradeDetailRsp": {
  25896. "type": "object",
  25897. "properties": {
  25898. "accountid": {
  25899. "description": "账号ID",
  25900. "type": "integer"
  25901. },
  25902. "buyorsell": {
  25903. "description": "方向 - 0:买 1:卖",
  25904. "type": "integer"
  25905. },
  25906. "channelbuildtype": {
  25907. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  25908. "type": "integer"
  25909. },
  25910. "closecharge": {
  25911. "description": "平仓手续费(账户)",
  25912. "type": "number"
  25913. },
  25914. "closecharge2": {
  25915. "description": "平仓手续费(商品)",
  25916. "type": "number"
  25917. },
  25918. "closepl": {
  25919. "description": "平仓盈亏(账户)",
  25920. "type": "number"
  25921. },
  25922. "closepl2": {
  25923. "description": "平仓盈亏(商品)",
  25924. "type": "number"
  25925. },
  25926. "closepl3": {
  25927. "description": "平仓盈亏(账户)(逐笔)",
  25928. "type": "number"
  25929. },
  25930. "closepl4": {
  25931. "description": "平仓盈亏(商品)(逐笔)",
  25932. "type": "number"
  25933. },
  25934. "closetype": {
  25935. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  25936. "type": "integer"
  25937. },
  25938. "curexchangerate": {
  25939. "description": "当前汇率",
  25940. "type": "number"
  25941. },
  25942. "exchangefullname": {
  25943. "description": "外部交易所全称",
  25944. "type": "string"
  25945. },
  25946. "goodscode": {
  25947. "description": "商品代码(内部)",
  25948. "type": "string"
  25949. },
  25950. "goodsid": {
  25951. "description": "商品ID",
  25952. "type": "integer"
  25953. },
  25954. "goodsname": {
  25955. "description": "商品名称",
  25956. "type": "string"
  25957. },
  25958. "marketid": {
  25959. "description": "市场ID",
  25960. "type": "integer"
  25961. },
  25962. "opencharge": {
  25963. "description": "建仓手续费(账户)",
  25964. "type": "number"
  25965. },
  25966. "opencharge2": {
  25967. "description": "建仓手续费(商品)",
  25968. "type": "number"
  25969. },
  25970. "orderid": {
  25971. "description": "委托单号",
  25972. "type": "string"
  25973. },
  25974. "orderlogincode": {
  25975. "description": "委托人",
  25976. "type": "string"
  25977. },
  25978. "tradeamount": {
  25979. "description": "成交金额(账户)",
  25980. "type": "number"
  25981. },
  25982. "tradedate": {
  25983. "description": "交易日(yyyyMMdd)",
  25984. "type": "string"
  25985. },
  25986. "tradeid": {
  25987. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  25988. "type": "string"
  25989. },
  25990. "tradeprice": {
  25991. "description": "成交价格",
  25992. "type": "number"
  25993. },
  25994. "tradeqty": {
  25995. "description": "成交数量",
  25996. "type": "integer"
  25997. },
  25998. "tradetime": {
  25999. "description": "成交时间",
  26000. "type": "string"
  26001. },
  26002. "tradetype": {
  26003. "description": "成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交",
  26004. "type": "integer"
  26005. }
  26006. }
  26007. },
  26008. "models.QuotePrimaryMenu": {
  26009. "type": "object",
  26010. "properties": {
  26011. "Index": {
  26012. "description": "序号",
  26013. "type": "integer"
  26014. },
  26015. "Key": {
  26016. "description": "键名",
  26017. "type": "string"
  26018. },
  26019. "Name": {
  26020. "description": "菜单名称",
  26021. "type": "string"
  26022. },
  26023. "SubMenus": {
  26024. "description": "子菜单",
  26025. "type": "array",
  26026. "items": {
  26027. "$ref": "#/definitions/models.QuoteSecondaryMenu"
  26028. }
  26029. },
  26030. "SubTitleType": {
  26031. "description": "子菜单标题模式:0-市场名称;1-外部交易所名称",
  26032. "type": "integer"
  26033. },
  26034. "TradeModes": {
  26035. "description": "包含市场交易类型",
  26036. "type": "string"
  26037. }
  26038. }
  26039. },
  26040. "models.QuoteSecondaryMenu": {
  26041. "type": "object",
  26042. "properties": {
  26043. "ExExchangeCode": {
  26044. "description": "外部交易所代码",
  26045. "type": "string"
  26046. },
  26047. "ExExchangeID": {
  26048. "description": "外部交易所ID",
  26049. "type": "integer"
  26050. },
  26051. "GoodsGroupIDs": {
  26052. "description": "商品组ID列表",
  26053. "type": "array",
  26054. "items": {
  26055. "type": "integer"
  26056. }
  26057. },
  26058. "Index": {
  26059. "description": "序号",
  26060. "type": "integer"
  26061. },
  26062. "MarketID": {
  26063. "description": "市场ID",
  26064. "type": "integer"
  26065. },
  26066. "MenuTitle": {
  26067. "description": "菜单标题(市场名称或外部交易所名称)",
  26068. "type": "string"
  26069. },
  26070. "TradeMode": {
  26071. "description": "交易模式",
  26072. "type": "integer"
  26073. }
  26074. }
  26075. },
  26076. "models.SearchGoods": {
  26077. "type": "object",
  26078. "required": [
  26079. "goodscode",
  26080. "goodsid",
  26081. "goodsname",
  26082. "marketid",
  26083. "trademode"
  26084. ],
  26085. "properties": {
  26086. "goodscode": {
  26087. "description": "商品代码(内部)",
  26088. "type": "string"
  26089. },
  26090. "goodsid": {
  26091. "description": "商品ID(自增ID SEQ_GOODS)",
  26092. "type": "integer"
  26093. },
  26094. "goodsname": {
  26095. "description": "商品名称",
  26096. "type": "string"
  26097. },
  26098. "marketid": {
  26099. "description": "所属市场ID",
  26100. "type": "integer"
  26101. },
  26102. "marketname": {
  26103. "description": "市场名称",
  26104. "type": "string"
  26105. },
  26106. "trademode": {
  26107. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  26108. "type": "integer"
  26109. }
  26110. }
  26111. },
  26112. "models.Systemparam": {
  26113. "type": "object",
  26114. "required": [
  26115. "paramcode"
  26116. ],
  26117. "properties": {
  26118. "loginid": {
  26119. "description": "更新用户账号,登录账号",
  26120. "type": "string"
  26121. },
  26122. "modifyflag": {
  26123. "description": "修改标志0 不允许修改 1 允许修改",
  26124. "type": "integer"
  26125. },
  26126. "paramcode": {
  26127. "description": "参数代码",
  26128. "type": "string"
  26129. },
  26130. "paramname": {
  26131. "description": "参数名",
  26132. "type": "string"
  26133. },
  26134. "paramtype": {
  26135. "description": "参数类型 0-通用 1-管理端 2-终端 3-后台 4-商城",
  26136. "type": "integer"
  26137. },
  26138. "paramvalue": {
  26139. "description": "参数值",
  26140. "type": "string"
  26141. },
  26142. "paramvalue2": {
  26143. "description": "参数值(CLOB)",
  26144. "type": "string"
  26145. },
  26146. "regexpress": {
  26147. "description": "正则表达式",
  26148. "type": "string"
  26149. },
  26150. "remark": {
  26151. "description": "备注",
  26152. "type": "string"
  26153. },
  26154. "serverip": {
  26155. "description": "限制服务器IP,备份参数,现在界面不用显示0.0.0.0则无限制,是通用参数192.168.0.211 指定服务器的参数配置",
  26156. "type": "string"
  26157. },
  26158. "showflag": {
  26159. "description": "是否显示0 不显示 1 显示",
  26160. "type": "integer"
  26161. },
  26162. "updatetime": {
  26163. "description": "更新时间",
  26164. "type": "string"
  26165. },
  26166. "userid": {
  26167. "description": "更新用户ID",
  26168. "type": "integer"
  26169. }
  26170. }
  26171. },
  26172. "models.Szdz3convertconfig": {
  26173. "type": "object",
  26174. "required": [
  26175. "converttype",
  26176. "innergoodsid",
  26177. "outergoodscode"
  26178. ],
  26179. "properties": {
  26180. "canin": {
  26181. "description": "是否可转入 - 0:不可 1:可 [5:花生米转交易]",
  26182. "type": "integer"
  26183. },
  26184. "canout": {
  26185. "description": "是否可转出 - 0:不可 1:可 [5:花生米转交易]",
  26186. "type": "integer"
  26187. },
  26188. "converttype": {
  26189. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)",
  26190. "type": "integer"
  26191. },
  26192. "createtime": {
  26193. "description": "创建时间",
  26194. "type": "string"
  26195. },
  26196. "creatorid": {
  26197. "description": "创建人",
  26198. "type": "integer"
  26199. },
  26200. "daymaxvalue": {
  26201. "description": "当日最大转入限制",
  26202. "type": "number"
  26203. },
  26204. "freezedays": {
  26205. "description": "冻结天数 [5:花生米转交易]",
  26206. "type": "integer"
  26207. },
  26208. "innergoodsid": {
  26209. "description": "内部商品ID[交易]",
  26210. "type": "integer"
  26211. },
  26212. "inratio": {
  26213. "description": "目标值",
  26214. "type": "integer"
  26215. },
  26216. "modifierid": {
  26217. "description": "修改人",
  26218. "type": "integer"
  26219. },
  26220. "modifytime": {
  26221. "description": "修改时间",
  26222. "type": "string"
  26223. },
  26224. "outergoodscode": {
  26225. "description": "外部商品代码[JD\\PD]",
  26226. "type": "string"
  26227. },
  26228. "outratio": {
  26229. "description": "源值",
  26230. "type": "integer"
  26231. },
  26232. "pddecimalplace": {
  26233. "description": "PD小数位",
  26234. "type": "integer"
  26235. },
  26236. "timemaxvalue": {
  26237. "description": "单次最大转入限制",
  26238. "type": "number"
  26239. },
  26240. "timeminvalue": {
  26241. "description": "单次最小转入限制",
  26242. "type": "number"
  26243. }
  26244. }
  26245. },
  26246. "models.Szdz3searchwhitelist": {
  26247. "type": "object",
  26248. "required": [
  26249. "userid"
  26250. ],
  26251. "properties": {
  26252. "createtime": {
  26253. "description": "创建时间",
  26254. "type": "string"
  26255. },
  26256. "creatorid": {
  26257. "description": "创建人",
  26258. "type": "integer"
  26259. },
  26260. "modifierid": {
  26261. "description": "修改人",
  26262. "type": "integer"
  26263. },
  26264. "modifytime": {
  26265. "description": "修改时间",
  26266. "type": "string"
  26267. },
  26268. "userid": {
  26269. "description": "用户ID",
  26270. "type": "integer"
  26271. }
  26272. }
  26273. },
  26274. "models.Taaccount": {
  26275. "type": "object",
  26276. "required": [
  26277. "accountid",
  26278. "userid"
  26279. ],
  26280. "properties": {
  26281. "accountflag": {
  26282. "description": "账户标识 - 0\\1 (默认为0, 当上级账户与本账户的关联用户均为自己时更新为1)",
  26283. "type": "integer"
  26284. },
  26285. "accountid": {
  26286. "description": "资金账户ID",
  26287. "type": "integer"
  26288. },
  26289. "accountname": {
  26290. "description": "账户名称",
  26291. "type": "string"
  26292. },
  26293. "balance": {
  26294. "description": "期初余额",
  26295. "type": "number"
  26296. },
  26297. "capitalbalance": {
  26298. "description": "本金余额[外部子账户实际出入金余额]",
  26299. "type": "number"
  26300. },
  26301. "changeflag": {
  26302. "description": "变动标志(当前账户资金有任何变动更新为1系统结算时更新0;供清算时使用) 0:无变动 1:有变动",
  26303. "type": "integer"
  26304. },
  26305. "changetime": {
  26306. "description": "账户状态变更时间",
  26307. "type": "string"
  26308. },
  26309. "closepl": {
  26310. "description": "今日平仓盈亏",
  26311. "type": "number"
  26312. },
  26313. "creditdecrease": {
  26314. "description": "今日授信减少",
  26315. "type": "number"
  26316. },
  26317. "creditincrease": {
  26318. "description": "今日授信增加",
  26319. "type": "number"
  26320. },
  26321. "currencyid": {
  26322. "description": "货币ID",
  26323. "type": "integer"
  26324. },
  26325. "currentbalance": {
  26326. "description": "期末余额",
  26327. "type": "number"
  26328. },
  26329. "freezecharge": {
  26330. "description": "手续费冻结",
  26331. "type": "number"
  26332. },
  26333. "freezemargin": {
  26334. "description": "冻结保证金",
  26335. "type": "number"
  26336. },
  26337. "fromaccountid": {
  26338. "description": "所属上级账户",
  26339. "type": "integer"
  26340. },
  26341. "inamount": {
  26342. "description": "今日入金金额(包括三方入金)",
  26343. "type": "number"
  26344. },
  26345. "ismain": {
  26346. "description": "是否母账号 0:不是母账户 1:是母账户",
  26347. "type": "integer"
  26348. },
  26349. "ismarketaccount": {
  26350. "description": "是否机构接单账号 0:不是 1:是",
  26351. "type": "integer"
  26352. },
  26353. "isreckonaccount": {
  26354. "description": "是否机构分润账号 0:不是 1:是",
  26355. "type": "integer"
  26356. },
  26357. "mortgagecredit": {
  26358. "description": "授信金额",
  26359. "type": "number"
  26360. },
  26361. "orifreezecharge": {
  26362. "description": "期初手续费冻结",
  26363. "type": "number"
  26364. },
  26365. "orifreezemargin": {
  26366. "description": "期初冻结保证金",
  26367. "type": "number"
  26368. },
  26369. "orimortgagecredit": {
  26370. "description": "期初授信金额",
  26371. "type": "number"
  26372. },
  26373. "oriothercredit": {
  26374. "description": "期初其它授信金额",
  26375. "type": "number"
  26376. },
  26377. "oriotherfreezemargin": {
  26378. "description": "期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)",
  26379. "type": "number"
  26380. },
  26381. "orioutamountfreeze": {
  26382. "description": "期初出金冻结",
  26383. "type": "number"
  26384. },
  26385. "oriusedmargin": {
  26386. "description": "期初占用保证金",
  26387. "type": "number"
  26388. },
  26389. "othercredit": {
  26390. "description": "其它授信金额",
  26391. "type": "number"
  26392. },
  26393. "othercreditdecrease": {
  26394. "description": "今日其它授信减少",
  26395. "type": "number"
  26396. },
  26397. "othercreditincrease": {
  26398. "description": "今日其它授信增加",
  26399. "type": "number"
  26400. },
  26401. "otherfreezemargin": {
  26402. "description": "其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)",
  26403. "type": "number"
  26404. },
  26405. "otherincome": {
  26406. "description": "其他收入(交割收款 申购收款 全款卖出 商城卖出 买家退货 会员手续费收入)",
  26407. "type": "number"
  26408. },
  26409. "otherpay": {
  26410. "description": "其他支出(交割付款 申购付款 全款买入 商城买入 卖家退货)",
  26411. "type": "number"
  26412. },
  26413. "outamount": {
  26414. "description": "今日出金金额(包括三方出金)",
  26415. "type": "number"
  26416. },
  26417. "outamountfreeze": {
  26418. "description": "出金冻结",
  26419. "type": "number"
  26420. },
  26421. "outthreshold": {
  26422. "description": "出金阈值",
  26423. "type": "number"
  26424. },
  26425. "parentaccountid": {
  26426. "description": "所属根账号",
  26427. "type": "integer"
  26428. },
  26429. "paycharge": {
  26430. "description": "今日手续费支出",
  26431. "type": "number"
  26432. },
  26433. "relatedaccountstatus": {
  26434. "description": "关联用户交易权限状态 - 1:正常(可交易) 2:受限(可平仓,不可建仓) 3:冻结(不可交易)",
  26435. "type": "integer"
  26436. },
  26437. "relateduserid": {
  26438. "description": "关联用户",
  26439. "type": "integer"
  26440. },
  26441. "serivcegroup": {
  26442. "description": "服务分组",
  26443. "type": "integer"
  26444. },
  26445. "signstatus": {
  26446. "description": "签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中",
  26447. "type": "integer"
  26448. },
  26449. "sublevelpath": {
  26450. "description": "账号层级路径(逗号分隔,首尾加逗号)",
  26451. "type": "string"
  26452. },
  26453. "taaccounttype": {
  26454. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  26455. "type": "integer"
  26456. },
  26457. "thirdinamount": {
  26458. "description": "今日三方入金",
  26459. "type": "number"
  26460. },
  26461. "thirdoutamount": {
  26462. "description": "今日三方出金",
  26463. "type": "number"
  26464. },
  26465. "tradestatus": {
  26466. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  26467. "type": "integer"
  26468. },
  26469. "tradestatuschangetime": {
  26470. "description": "激活时间",
  26471. "type": "string"
  26472. },
  26473. "transferamount": {
  26474. "description": "今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)",
  26475. "type": "number"
  26476. },
  26477. "usedmargin": {
  26478. "description": "占用保证金",
  26479. "type": "number"
  26480. },
  26481. "userid": {
  26482. "description": "用户ID",
  26483. "type": "integer"
  26484. }
  26485. }
  26486. },
  26487. "models.Tablecolumnconfig": {
  26488. "type": "object",
  26489. "required": [
  26490. "autoid"
  26491. ],
  26492. "properties": {
  26493. "aligntype": {
  26494. "description": "对齐方式 - 1:居中对齐 2:左对齐 3:右对齐",
  26495. "type": "integer"
  26496. },
  26497. "autoid": {
  26498. "description": "AutoID",
  26499. "type": "integer"
  26500. },
  26501. "columnfield": {
  26502. "description": "列字段",
  26503. "type": "string"
  26504. },
  26505. "columntitle": {
  26506. "description": "列Title",
  26507. "type": "string"
  26508. },
  26509. "columnwidth": {
  26510. "description": "列宽",
  26511. "type": "string"
  26512. },
  26513. "formatterstring": {
  26514. "description": "格式化字符",
  26515. "type": "string"
  26516. },
  26517. "formattertype": {
  26518. "description": "格式化类型",
  26519. "type": "string"
  26520. },
  26521. "groupname": {
  26522. "description": "表头分组名称",
  26523. "type": "string"
  26524. },
  26525. "isshow": {
  26526. "description": "是否显示 - 0:不显示 1:显示",
  26527. "type": "integer"
  26528. },
  26529. "needsummary": {
  26530. "description": "是否需要汇总 - 0:不需要 1:需要",
  26531. "type": "integer"
  26532. },
  26533. "orderindex": {
  26534. "description": "顺序",
  26535. "type": "integer"
  26536. },
  26537. "remark": {
  26538. "description": "备注",
  26539. "type": "string"
  26540. },
  26541. "summarytype": {
  26542. "description": "汇总类型 - 1:加总 2:最后一个",
  26543. "type": "integer"
  26544. },
  26545. "tablekey": {
  26546. "description": "列表Key",
  26547. "type": "string"
  26548. }
  26549. }
  26550. },
  26551. "models.UserCollectConfig": {
  26552. "type": "object",
  26553. "properties": {
  26554. "accountstatus": {
  26555. "description": "账户状态 - 1:正常 2:停用 3:注销",
  26556. "type": "integer"
  26557. },
  26558. "collectaccountname": {
  26559. "description": "收款人账户名称",
  26560. "type": "string"
  26561. },
  26562. "collectaccountno": {
  26563. "description": "收款人账户",
  26564. "type": "string"
  26565. },
  26566. "collectbankname": {
  26567. "description": "收款人开户行",
  26568. "type": "string"
  26569. },
  26570. "collectbranchbankname": {
  26571. "description": "收款人开户支行",
  26572. "type": "string"
  26573. },
  26574. "collectconfigid": {
  26575. "description": "收款账户配置ID(SEQ_USERCOLLECTCONFIG)",
  26576. "type": "string"
  26577. },
  26578. "remark": {
  26579. "description": "备注",
  26580. "type": "string"
  26581. },
  26582. "userid": {
  26583. "description": "收款人用户ID",
  26584. "type": "integer"
  26585. }
  26586. }
  26587. },
  26588. "models.UserReceiveInfo": {
  26589. "type": "object",
  26590. "properties": {
  26591. "address": {
  26592. "description": "提货人详细地址",
  26593. "type": "string"
  26594. },
  26595. "autoid": {
  26596. "description": "AutoID",
  26597. "type": "integer"
  26598. },
  26599. "cardnum": {
  26600. "description": "证件号码(加密存储)",
  26601. "type": "string"
  26602. },
  26603. "cardtypeid": {
  26604. "description": "证件类型",
  26605. "type": "integer"
  26606. },
  26607. "cityid": {
  26608. "description": "市",
  26609. "type": "integer"
  26610. },
  26611. "cityname": {
  26612. "description": "城市名称",
  26613. "type": "string"
  26614. },
  26615. "countryid": {
  26616. "description": "国家",
  26617. "type": "integer"
  26618. },
  26619. "countryname": {
  26620. "description": "国家名称",
  26621. "type": "string"
  26622. },
  26623. "districtid": {
  26624. "description": "地区",
  26625. "type": "integer"
  26626. },
  26627. "districtname": {
  26628. "description": "地区名称",
  26629. "type": "string"
  26630. },
  26631. "hasencrypt": {
  26632. "description": "数据是否已加密 - 0:未加密 1:已加密",
  26633. "type": "integer"
  26634. },
  26635. "isdefault": {
  26636. "description": "是否默认地址 - 0:否 1:是",
  26637. "type": "integer"
  26638. },
  26639. "phonenum": {
  26640. "description": "提货人联系方式(加密存储)",
  26641. "type": "string"
  26642. },
  26643. "provinceid": {
  26644. "description": "省",
  26645. "type": "integer"
  26646. },
  26647. "provincename": {
  26648. "description": "省名称",
  26649. "type": "string"
  26650. },
  26651. "receivername": {
  26652. "description": "提货人姓名",
  26653. "type": "string"
  26654. },
  26655. "takeremark": {
  26656. "description": "提货备注",
  26657. "type": "string"
  26658. },
  26659. "userid": {
  26660. "description": "用户ID",
  26661. "type": "integer"
  26662. }
  26663. }
  26664. },
  26665. "models.Useraccount": {
  26666. "type": "object",
  26667. "required": [
  26668. "userid"
  26669. ],
  26670. "properties": {
  26671. "accountname": {
  26672. "description": "账户名称(机构名称)",
  26673. "type": "string"
  26674. },
  26675. "accountstatus": {
  26676. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  26677. "type": "integer"
  26678. },
  26679. "applysrc": {
  26680. "description": "申请来源 - 1:管理端 2:终端",
  26681. "type": "integer"
  26682. },
  26683. "auditremark": {
  26684. "description": "审核备注",
  26685. "type": "string"
  26686. },
  26687. "auditsrc": {
  26688. "description": "审核来源 - 1:管理端 2:终端",
  26689. "type": "integer"
  26690. },
  26691. "audittime": {
  26692. "description": "审核时间",
  26693. "type": "string"
  26694. },
  26695. "audituserid": {
  26696. "description": "审核人",
  26697. "type": "integer"
  26698. },
  26699. "broker": {
  26700. "description": "所属经纪人ID",
  26701. "type": "integer"
  26702. },
  26703. "canceltime": {
  26704. "description": "销户时间",
  26705. "type": "string"
  26706. },
  26707. "canceluserid": {
  26708. "description": "销户人",
  26709. "type": "integer"
  26710. },
  26711. "canrecommend": {
  26712. "description": "是否可推荐 - 0:不可 1;可",
  26713. "type": "integer"
  26714. },
  26715. "createtime": {
  26716. "description": "创建时间",
  26717. "type": "string"
  26718. },
  26719. "creatorid": {
  26720. "description": "创建人",
  26721. "type": "integer"
  26722. },
  26723. "hasauth": {
  26724. "description": "是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝",
  26725. "type": "integer"
  26726. },
  26727. "isanonymous": {
  26728. "description": "是否匿名下单 - 0:否 1:是",
  26729. "type": "integer"
  26730. },
  26731. "maxinvestornum": {
  26732. "description": "最大用户数(经纪会员下投资者个数)",
  26733. "type": "integer"
  26734. },
  26735. "memberuserid": {
  26736. "description": "所属会员ID",
  26737. "type": "integer"
  26738. },
  26739. "modifierid": {
  26740. "description": "修改人",
  26741. "type": "integer"
  26742. },
  26743. "modifyremark": {
  26744. "description": "变更备注",
  26745. "type": "string"
  26746. },
  26747. "modifystatus": {
  26748. "description": "变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)",
  26749. "type": "integer"
  26750. },
  26751. "modifytime": {
  26752. "description": "修改时间",
  26753. "type": "string"
  26754. },
  26755. "parenttopuser": {
  26756. "description": "上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的\"ParentTopUser\"]",
  26757. "type": "string"
  26758. },
  26759. "parentuserid": {
  26760. "description": "所属机构ID",
  26761. "type": "integer"
  26762. },
  26763. "reckonaccountid": {
  26764. "description": "默认结算资金账号ID(机构分润使用) 作废",
  26765. "type": "integer"
  26766. },
  26767. "refercount": {
  26768. "description": "推荐总人数",
  26769. "type": "integer"
  26770. },
  26771. "refereeuserid": {
  26772. "description": "推荐人ID",
  26773. "type": "integer"
  26774. },
  26775. "refernum": {
  26776. "description": "推荐码",
  26777. "type": "string"
  26778. },
  26779. "rootuserid": {
  26780. "description": "根用户ID",
  26781. "type": "integer"
  26782. },
  26783. "subaccountlevel": {
  26784. "description": "子账户层数",
  26785. "type": "integer"
  26786. },
  26787. "subarealevelpath": {
  26788. "description": "子机构层级路径(逗号分隔,首尾加逗号)",
  26789. "type": "string"
  26790. },
  26791. "userid": {
  26792. "description": "用户ID",
  26793. "type": "integer"
  26794. },
  26795. "usertype": {
  26796. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  26797. "type": "integer"
  26798. }
  26799. }
  26800. },
  26801. "models.Userfavoritegoods": {
  26802. "type": "object",
  26803. "required": [
  26804. "goodsid"
  26805. ],
  26806. "properties": {
  26807. "goodsid": {
  26808. "description": "商品ID",
  26809. "type": "integer"
  26810. }
  26811. }
  26812. },
  26813. "models.Userinfo": {
  26814. "type": "object",
  26815. "required": [
  26816. "userid"
  26817. ],
  26818. "properties": {
  26819. "address": {
  26820. "description": "地址",
  26821. "type": "string"
  26822. },
  26823. "attachment1": {
  26824. "description": "附件1",
  26825. "type": "string"
  26826. },
  26827. "attachment2": {
  26828. "description": "附件2",
  26829. "type": "string"
  26830. },
  26831. "bankaccount": {
  26832. "description": "银行帐号 (加密存储)",
  26833. "type": "string"
  26834. },
  26835. "bankaccountname": {
  26836. "description": "收款人名称",
  26837. "type": "string"
  26838. },
  26839. "bankcardfrontphotourl": {
  26840. "description": "银行卡正面照地址",
  26841. "type": "string"
  26842. },
  26843. "bankid": {
  26844. "description": "银行编码",
  26845. "type": "string"
  26846. },
  26847. "bankname": {
  26848. "description": "银行名称",
  26849. "type": "string"
  26850. },
  26851. "biznature": {
  26852. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  26853. "type": "integer"
  26854. },
  26855. "bizscope": {
  26856. "description": "企业经营范围(企业)",
  26857. "type": "string"
  26858. },
  26859. "cardbackphotourl": {
  26860. "description": "证件背面图片地址",
  26861. "type": "string"
  26862. },
  26863. "cardfrontphotourl": {
  26864. "description": "证件正面图片地址",
  26865. "type": "string"
  26866. },
  26867. "cardnum": {
  26868. "description": "证件号码(加密存储)",
  26869. "type": "string"
  26870. },
  26871. "cardtypeid": {
  26872. "description": "证件类型ID",
  26873. "type": "integer"
  26874. },
  26875. "cityid": {
  26876. "description": "市",
  26877. "type": "integer"
  26878. },
  26879. "company": {
  26880. "description": "公司(个人)",
  26881. "type": "string"
  26882. },
  26883. "contactname": {
  26884. "description": "联系人",
  26885. "type": "string"
  26886. },
  26887. "countryid": {
  26888. "description": "国家",
  26889. "type": "integer"
  26890. },
  26891. "createtime": {
  26892. "description": "创建时间",
  26893. "type": "string"
  26894. },
  26895. "creatorid": {
  26896. "description": "创建人",
  26897. "type": "integer"
  26898. },
  26899. "customername": {
  26900. "description": "客户名称(企业名称)",
  26901. "type": "string"
  26902. },
  26903. "districtid": {
  26904. "description": "地区",
  26905. "type": "integer"
  26906. },
  26907. "email": {
  26908. "description": "邮件(加密存储)",
  26909. "type": "string"
  26910. },
  26911. "fax": {
  26912. "description": "传真(加密存储)",
  26913. "type": "string"
  26914. },
  26915. "halfbodyphotourl": {
  26916. "description": "半身照地址",
  26917. "type": "string"
  26918. },
  26919. "hasencrypt": {
  26920. "description": "数据是否已加密 - 0:未加密 1:已加密",
  26921. "type": "integer"
  26922. },
  26923. "headurl": {
  26924. "description": "头像地址",
  26925. "type": "string"
  26926. },
  26927. "legalcardbackphotourl": {
  26928. "description": "法人身份证背面照地址",
  26929. "type": "string"
  26930. },
  26931. "legalcardfrontphotourl": {
  26932. "description": "法人身份证正面照地址",
  26933. "type": "string"
  26934. },
  26935. "legalpersonname": {
  26936. "description": "法人姓名(企业)",
  26937. "type": "string"
  26938. },
  26939. "mobile": {
  26940. "description": "手机号码(加密存储)",
  26941. "type": "string"
  26942. },
  26943. "mobile2": {
  26944. "description": "手机号码[明文-尚志]",
  26945. "type": "string"
  26946. },
  26947. "modifierid": {
  26948. "description": "修改人",
  26949. "type": "integer"
  26950. },
  26951. "modifiertime": {
  26952. "description": "修改时间",
  26953. "type": "string"
  26954. },
  26955. "needinvoice": {
  26956. "description": "是否需要发票 - 0:不需要 1:需要",
  26957. "type": "integer"
  26958. },
  26959. "nickname": {
  26960. "description": "昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)",
  26961. "type": "string"
  26962. },
  26963. "openmode": {
  26964. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户",
  26965. "type": "integer"
  26966. },
  26967. "otherurl": {
  26968. "description": "其它图片地址[使用分号分隔]",
  26969. "type": "string"
  26970. },
  26971. "postalcode": {
  26972. "description": "邮政编码",
  26973. "type": "string"
  26974. },
  26975. "provinceid": {
  26976. "description": "省",
  26977. "type": "integer"
  26978. },
  26979. "qq": {
  26980. "description": "QQ(加密存储",
  26981. "type": "string"
  26982. },
  26983. "remark": {
  26984. "description": "备注",
  26985. "type": "string"
  26986. },
  26987. "sex": {
  26988. "description": "用户性别 0: 女 1: 男",
  26989. "type": "integer"
  26990. },
  26991. "signpdfurl": {
  26992. "description": "签约pdf文件",
  26993. "type": "string"
  26994. },
  26995. "telphone": {
  26996. "description": "联系电话(加密存储)",
  26997. "type": "string"
  26998. },
  26999. "userid": {
  27000. "description": "用户ID",
  27001. "type": "integer"
  27002. },
  27003. "userinfotype": {
  27004. "description": "用户信息类型 - 1:个人 2:企业",
  27005. "type": "integer"
  27006. },
  27007. "userstatus": {
  27008. "description": "用户状态 - 1:正常 2:注销",
  27009. "type": "integer"
  27010. },
  27011. "usertype": {
  27012. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户",
  27013. "type": "integer"
  27014. },
  27015. "wechat": {
  27016. "description": "微信(加密存储)",
  27017. "type": "string"
  27018. },
  27019. "wskhinfo": {
  27020. "description": "开户申请信息(JSON)",
  27021. "type": "string"
  27022. }
  27023. }
  27024. },
  27025. "models.WRSConverTDetail": {
  27026. "type": "object",
  27027. "properties": {
  27028. "convertratio": {
  27029. "description": "套保系数",
  27030. "type": "number"
  27031. },
  27032. "deliverygoodscode": {
  27033. "description": "现货商品代码",
  27034. "type": "string"
  27035. },
  27036. "deliverygoodsid": {
  27037. "description": "现货品种ID",
  27038. "type": "integer"
  27039. },
  27040. "deliverygoodsname": {
  27041. "description": "现货商品名称",
  27042. "type": "string"
  27043. },
  27044. "enumdicname": {
  27045. "description": "单位名称",
  27046. "type": "string"
  27047. },
  27048. "goodsunitid": {
  27049. "description": "套保品种单位id",
  27050. "type": "integer"
  27051. },
  27052. "middlegoodscode": {
  27053. "description": "套保品种代码",
  27054. "type": "string"
  27055. },
  27056. "middlegoodsid": {
  27057. "description": "套保品种ID",
  27058. "type": "integer"
  27059. },
  27060. "middlegoodsname": {
  27061. "description": "套保品种名称",
  27062. "type": "string"
  27063. },
  27064. "modifytime": {
  27065. "description": "修改时间",
  27066. "type": "string"
  27067. },
  27068. "wrstandardid": {
  27069. "description": "品类ID",
  27070. "type": "integer"
  27071. }
  27072. }
  27073. },
  27074. "models.WRStandardInfo": {
  27075. "type": "object",
  27076. "required": [
  27077. "wrstandardid"
  27078. ],
  27079. "properties": {
  27080. "areauserid": {
  27081. "description": "所属机构",
  27082. "type": "integer"
  27083. },
  27084. "convertfactor": {
  27085. "description": "标仓系数",
  27086. "type": "number"
  27087. },
  27088. "createtime": {
  27089. "description": "创建时间",
  27090. "type": "string"
  27091. },
  27092. "creatorid": {
  27093. "description": "创建人",
  27094. "type": "integer"
  27095. },
  27096. "deliverygoodsid": {
  27097. "description": "品种ID",
  27098. "type": "integer"
  27099. },
  27100. "deliverygoodsname": {
  27101. "description": "交割商品名称",
  27102. "type": "string"
  27103. },
  27104. "factoryitemjson": {
  27105. "description": "要素项定义Json[{\"DGFactoryItemTypeID\": ,\"ItemTypeMode\": ,\"FactoryItemIDs\": },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem-\u003eDGFactoryItemTypeIDItemTypeMode - 要素项类型模式 --DGFactoryItem-\u003eItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem-\u003eDGFactoryItemID, 逗号分隔",
  27106. "type": "string"
  27107. },
  27108. "isvalid": {
  27109. "description": "是否有效 - 0:无效 1:有效",
  27110. "type": "integer"
  27111. },
  27112. "minivalue": {
  27113. "description": "最小变动值",
  27114. "type": "integer"
  27115. },
  27116. "minivaluedp": {
  27117. "description": "最小变动值小数位",
  27118. "type": "integer"
  27119. },
  27120. "realminivalue": {
  27121. "description": "实际最小变动值",
  27122. "type": "integer"
  27123. },
  27124. "realminivaluedp": {
  27125. "description": "实际最小变动值小数位",
  27126. "type": "integer"
  27127. },
  27128. "remark": {
  27129. "description": "备注",
  27130. "type": "string"
  27131. },
  27132. "unitid": {
  27133. "description": "单位ID",
  27134. "type": "integer"
  27135. },
  27136. "unitname": {
  27137. "description": "单位",
  27138. "type": "string"
  27139. },
  27140. "updatetime": {
  27141. "description": "更新时间",
  27142. "type": "string"
  27143. },
  27144. "updatorid": {
  27145. "description": "更新人",
  27146. "type": "integer"
  27147. },
  27148. "wrsstatus": {
  27149. "description": "状态 - 作废 - 0:未激活 1:正常",
  27150. "type": "integer"
  27151. },
  27152. "wrstandardcode": {
  27153. "description": "现货品类代码",
  27154. "type": "string"
  27155. },
  27156. "wrstandardid": {
  27157. "description": "现货品类ID(SEQ_WRSTANDARD)",
  27158. "type": "integer"
  27159. },
  27160. "wrstandardname": {
  27161. "description": "现货品类名称",
  27162. "type": "string"
  27163. }
  27164. }
  27165. },
  27166. "models.Warehouseinfo": {
  27167. "type": "object",
  27168. "required": [
  27169. "autoid",
  27170. "warehousecode"
  27171. ],
  27172. "properties": {
  27173. "address": {
  27174. "description": "详细地址",
  27175. "type": "string"
  27176. },
  27177. "areauserid": {
  27178. "description": "所属机构",
  27179. "type": "integer"
  27180. },
  27181. "autoid": {
  27182. "description": "自增ID",
  27183. "type": "integer"
  27184. },
  27185. "cityid": {
  27186. "description": "市",
  27187. "type": "integer"
  27188. },
  27189. "contactname": {
  27190. "description": "联系人",
  27191. "type": "string"
  27192. },
  27193. "contactnum": {
  27194. "description": "联系电话",
  27195. "type": "string"
  27196. },
  27197. "countryid": {
  27198. "description": "国家",
  27199. "type": "integer"
  27200. },
  27201. "createtime": {
  27202. "description": "创建时间",
  27203. "type": "string"
  27204. },
  27205. "districtid": {
  27206. "description": "区",
  27207. "type": "integer"
  27208. },
  27209. "hasvideo": {
  27210. "description": "是否有视频 - 0:无 1:有",
  27211. "type": "integer"
  27212. },
  27213. "provinceid": {
  27214. "description": "省",
  27215. "type": "integer"
  27216. },
  27217. "remark": {
  27218. "description": "审核备注",
  27219. "type": "string"
  27220. },
  27221. "videourl": {
  27222. "description": "视频地址",
  27223. "type": "string"
  27224. },
  27225. "warehousecode": {
  27226. "description": "仓库代码",
  27227. "type": "string"
  27228. },
  27229. "warehousename": {
  27230. "description": "仓库名称",
  27231. "type": "string"
  27232. },
  27233. "warehousestatus": {
  27234. "description": "仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝",
  27235. "type": "integer"
  27236. },
  27237. "warehousetype": {
  27238. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  27239. "type": "integer"
  27240. }
  27241. }
  27242. },
  27243. "order.QueryHisTradeDetailRsp": {
  27244. "type": "object",
  27245. "required": [
  27246. "accountid",
  27247. "buyorsell",
  27248. "goodsid",
  27249. "histradedate",
  27250. "marketid",
  27251. "memberuserid",
  27252. "orderid",
  27253. "tradeamount",
  27254. "tradedate",
  27255. "tradeid",
  27256. "tradeprice",
  27257. "tradeqty",
  27258. "tradetime"
  27259. ],
  27260. "properties": {
  27261. "accountid": {
  27262. "description": "账户ID[报价币种]",
  27263. "type": "integer"
  27264. },
  27265. "advanceratio": {
  27266. "description": "首付比率",
  27267. "type": "number"
  27268. },
  27269. "buildtype": {
  27270. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  27271. "type": "integer"
  27272. },
  27273. "buyorsell": {
  27274. "description": "方向 - 0:买 1:卖",
  27275. "type": "integer"
  27276. },
  27277. "charge": {
  27278. "description": "手续费",
  27279. "type": "number"
  27280. },
  27281. "closecharge": {
  27282. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  27283. "type": "number"
  27284. },
  27285. "closeexchagechargevalue": {
  27286. "description": "平仓交易所手续费设置值",
  27287. "type": "number"
  27288. },
  27289. "closefeealgorithm": {
  27290. "description": "平仓手续费收取方式 1:比率 2:固定",
  27291. "type": "integer"
  27292. },
  27293. "closememberchargevalue": {
  27294. "description": "平仓会员手续费设置值",
  27295. "type": "number"
  27296. },
  27297. "closepl": {
  27298. "description": "平仓盈亏",
  27299. "type": "number"
  27300. },
  27301. "closepl2": {
  27302. "description": "平仓盈亏[逐笔]",
  27303. "type": "number"
  27304. },
  27305. "closeqty": {
  27306. "description": "平仓数量(先建后平操作 需要记录)",
  27307. "type": "number"
  27308. },
  27309. "creditamount": {
  27310. "description": "授信金额",
  27311. "type": "number"
  27312. },
  27313. "decimalplace": {
  27314. "description": "商品报价小数位",
  27315. "type": "integer"
  27316. },
  27317. "enumdicname": {
  27318. "description": "单位名称",
  27319. "type": "string"
  27320. },
  27321. "gcaccountid": {
  27322. "description": "账户ID[合约币种]",
  27323. "type": "integer"
  27324. },
  27325. "goodscode": {
  27326. "description": "商品代码",
  27327. "type": "string"
  27328. },
  27329. "goodsid": {
  27330. "description": "商品ID",
  27331. "type": "integer"
  27332. },
  27333. "goodsname": {
  27334. "description": "商品名称",
  27335. "type": "string"
  27336. },
  27337. "goodunitid": {
  27338. "description": "商品单位id",
  27339. "type": "integer"
  27340. },
  27341. "histradedate": {
  27342. "description": "历史交易日",
  27343. "type": "string"
  27344. },
  27345. "intclosepl": {
  27346. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  27347. "type": "integer"
  27348. },
  27349. "isconfirmexercise": {
  27350. "description": "是否确认行权- 0:否 1:是",
  27351. "type": "integer"
  27352. },
  27353. "ismain": {
  27354. "description": "是否主单 - 0:不是 1:是",
  27355. "type": "integer"
  27356. },
  27357. "ispreexercise": {
  27358. "description": "是否预申报- 0:否 1:是",
  27359. "type": "integer"
  27360. },
  27361. "isreckoned": {
  27362. "description": "是否结算 - 0:未结算 1:已结算",
  27363. "type": "integer"
  27364. },
  27365. "isvaliddata": {
  27366. "description": "是否有效 - 0:无效 1:有效",
  27367. "type": "integer"
  27368. },
  27369. "listingselecttype": {
  27370. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  27371. "type": "integer"
  27372. },
  27373. "marketid": {
  27374. "description": "市场ID",
  27375. "type": "integer"
  27376. },
  27377. "marketname": {
  27378. "description": "市场名称",
  27379. "type": "string"
  27380. },
  27381. "matchaccountid": {
  27382. "description": "对手账号id",
  27383. "type": "integer"
  27384. },
  27385. "memberuserid": {
  27386. "description": "会员id 个人投资者 需要填写",
  27387. "type": "integer"
  27388. },
  27389. "opencharge": {
  27390. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  27391. "type": "number"
  27392. },
  27393. "openexchagechargevalue": {
  27394. "description": "建仓交易所手续费设置值",
  27395. "type": "number"
  27396. },
  27397. "openfeealgorithm": {
  27398. "description": "建仓手续费收取方式 1:比率 2:固定",
  27399. "type": "integer"
  27400. },
  27401. "openmemberchargevalue": {
  27402. "description": "建仓会员手续费设置值",
  27403. "type": "number"
  27404. },
  27405. "openqty": {
  27406. "description": "开仓数量(先建后平操作 需要记录)",
  27407. "type": "number"
  27408. },
  27409. "optiontype": {
  27410. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  27411. "type": "integer"
  27412. },
  27413. "orderid": {
  27414. "description": "委托单号",
  27415. "type": "string"
  27416. },
  27417. "payamount": {
  27418. "description": "支付金额(付款金额)",
  27419. "type": "number"
  27420. },
  27421. "performanceplanid": {
  27422. "description": "履约计划ID[期权]",
  27423. "type": "integer"
  27424. },
  27425. "performancestatus": {
  27426. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  27427. "type": "integer"
  27428. },
  27429. "preexerciseprice": {
  27430. "description": "预申报价格",
  27431. "type": "number"
  27432. },
  27433. "premium": {
  27434. "description": "权利金 - [持仓单的权利金]",
  27435. "type": "number"
  27436. },
  27437. "qtydecimalplace": {
  27438. "description": "商品报价小数位",
  27439. "type": "integer"
  27440. },
  27441. "recvamount": {
  27442. "description": "到账金额 = 成交金额 - 手续费",
  27443. "type": "number"
  27444. },
  27445. "relatedouttradeid": {
  27446. "description": "关联外部成交单ID",
  27447. "type": "integer"
  27448. },
  27449. "status": {
  27450. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  27451. "type": "integer"
  27452. },
  27453. "totalamount": {
  27454. "description": "订单总额 = 成交金额 + 手续费",
  27455. "type": "number"
  27456. },
  27457. "tradeamount": {
  27458. "description": "成交金额[账户币种,用于所有权]",
  27459. "type": "number"
  27460. },
  27461. "tradedate": {
  27462. "description": "交易日(yyyyMMdd)",
  27463. "type": "string"
  27464. },
  27465. "tradeid": {
  27466. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  27467. "type": "string"
  27468. },
  27469. "trademode": {
  27470. "description": "交易模式",
  27471. "type": "integer"
  27472. },
  27473. "tradeprice": {
  27474. "description": "成交价格",
  27475. "type": "number"
  27476. },
  27477. "tradeproperty": {
  27478. "description": "交易属性",
  27479. "type": "integer"
  27480. },
  27481. "tradeqty": {
  27482. "description": "成交数量",
  27483. "type": "number"
  27484. },
  27485. "tradetime": {
  27486. "description": "成交时间",
  27487. "type": "string"
  27488. },
  27489. "tradetype": {
  27490. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  27491. "type": "integer"
  27492. }
  27493. }
  27494. },
  27495. "order.QueryHisTradeOrderDetailRsp": {
  27496. "type": "object",
  27497. "required": [
  27498. "accountid",
  27499. "buildtype",
  27500. "buyorsell",
  27501. "goodsid",
  27502. "histradedate",
  27503. "marketid",
  27504. "memberuserid",
  27505. "operatetype",
  27506. "orderid",
  27507. "orderqty",
  27508. "ordertime",
  27509. "pricemode",
  27510. "tradedate",
  27511. "validtype"
  27512. ],
  27513. "properties": {
  27514. "accountid": {
  27515. "description": "账户ID[报价币种]",
  27516. "type": "integer"
  27517. },
  27518. "buildtype": {
  27519. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  27520. "type": "integer"
  27521. },
  27522. "buyorsell": {
  27523. "description": "买卖 - 0:买 1:卖",
  27524. "type": "integer"
  27525. },
  27526. "cancelorderid": {
  27527. "description": "撤单单号(撤单时填写)",
  27528. "type": "string"
  27529. },
  27530. "cancelqty": {
  27531. "description": "撤单数量",
  27532. "type": "number"
  27533. },
  27534. "clientordertime": {
  27535. "description": "客户端委托时间",
  27536. "type": "string"
  27537. },
  27538. "clientticket": {
  27539. "description": "客户端流水号",
  27540. "type": "string"
  27541. },
  27542. "clienttype": {
  27543. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  27544. "type": "integer"
  27545. },
  27546. "closeexchagechargevalue": {
  27547. "description": "平仓交易所手续费设置值",
  27548. "type": "number"
  27549. },
  27550. "closefeealgorithm": {
  27551. "description": "平仓手续费收取方式 1:比率 2:固定",
  27552. "type": "integer"
  27553. },
  27554. "closefreezecharge": {
  27555. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  27556. "type": "number"
  27557. },
  27558. "closememberchargevalue": {
  27559. "description": "平仓会员手续费设置值",
  27560. "type": "number"
  27561. },
  27562. "closeqty": {
  27563. "description": "平仓数量(先建后平操作 需要记录)",
  27564. "type": "number"
  27565. },
  27566. "closetradeqty": {
  27567. "description": "平仓成交数量(先建后平操作,需要记录)",
  27568. "type": "number"
  27569. },
  27570. "closeunfreezecharge": {
  27571. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  27572. "type": "number"
  27573. },
  27574. "decimalplace": {
  27575. "description": "商品报价小数位",
  27576. "type": "integer"
  27577. },
  27578. "delistingtype": {
  27579. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  27580. "type": "integer"
  27581. },
  27582. "enumdicname": {
  27583. "description": "单位名称",
  27584. "type": "string"
  27585. },
  27586. "freezecharge": {
  27587. "description": "冻结手续费",
  27588. "type": "number"
  27589. },
  27590. "freezemargin": {
  27591. "description": "冻结保证金(冻结交易金额)",
  27592. "type": "number"
  27593. },
  27594. "gcaccountid": {
  27595. "description": "账户ID[合约币种]",
  27596. "type": "integer"
  27597. },
  27598. "goodscode": {
  27599. "description": "商品代码",
  27600. "type": "string"
  27601. },
  27602. "goodsid": {
  27603. "description": "商品ID",
  27604. "type": "integer"
  27605. },
  27606. "goodsname": {
  27607. "description": "商品名称",
  27608. "type": "string"
  27609. },
  27610. "goodunitid": {
  27611. "description": "商品单位id",
  27612. "type": "integer"
  27613. },
  27614. "histradedate": {
  27615. "description": "历史交易日",
  27616. "type": "string"
  27617. },
  27618. "isconfirmexercise": {
  27619. "description": "是否确认行权- 0:否 1:是",
  27620. "type": "integer"
  27621. },
  27622. "ispreexercise": {
  27623. "description": "是否预申报- 0:否 1:是",
  27624. "type": "integer"
  27625. },
  27626. "isvaliddata": {
  27627. "description": "是否有效 - 0:无效 1:有效",
  27628. "type": "integer"
  27629. },
  27630. "listingselecttype": {
  27631. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  27632. "type": "integer"
  27633. },
  27634. "marginalgorithm": {
  27635. "description": "保证金收取方式 1:比率 2:固定",
  27636. "type": "integer"
  27637. },
  27638. "marginvalue": {
  27639. "description": "即市保证金设置值",
  27640. "type": "number"
  27641. },
  27642. "marketid": {
  27643. "description": "市场ID",
  27644. "type": "integer"
  27645. },
  27646. "marketmaxsub": {
  27647. "description": "市价最大偏移范围",
  27648. "type": "number"
  27649. },
  27650. "marketname": {
  27651. "description": "市场名称",
  27652. "type": "string"
  27653. },
  27654. "memberuserid": {
  27655. "description": "所属会员UserID",
  27656. "type": "integer"
  27657. },
  27658. "openexchagechargevalue": {
  27659. "description": "建仓交易所手续费设置值",
  27660. "type": "number"
  27661. },
  27662. "openfeealgorithm": {
  27663. "description": "建仓手续费收取方式 1:比率 2:固定",
  27664. "type": "integer"
  27665. },
  27666. "openfreezecharge": {
  27667. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  27668. "type": "number"
  27669. },
  27670. "openmemberchargevalue": {
  27671. "description": "建仓会员手续费设置值",
  27672. "type": "number"
  27673. },
  27674. "openqty": {
  27675. "description": "开仓数量(先建后平操作,需要记录)",
  27676. "type": "number"
  27677. },
  27678. "opentradeqty": {
  27679. "description": "开仓成交数量(先建后平操作,需要记录)",
  27680. "type": "number"
  27681. },
  27682. "openunfreezecharge": {
  27683. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  27684. "type": "number"
  27685. },
  27686. "operatetype": {
  27687. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  27688. "type": "integer"
  27689. },
  27690. "operatorid": {
  27691. "description": "登录账号(LoginID)",
  27692. "type": "integer"
  27693. },
  27694. "optiontype": {
  27695. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  27696. "type": "integer"
  27697. },
  27698. "orderid": {
  27699. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  27700. "type": "string"
  27701. },
  27702. "orderprice": {
  27703. "description": "委托价格",
  27704. "type": "number"
  27705. },
  27706. "orderqty": {
  27707. "description": "委托数量",
  27708. "type": "number"
  27709. },
  27710. "ordersrc": {
  27711. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  27712. "type": "integer"
  27713. },
  27714. "orderstatus": {
  27715. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  27716. "type": "integer"
  27717. },
  27718. "ordertime": {
  27719. "description": "委托时间",
  27720. "type": "string"
  27721. },
  27722. "preexerciseprice": {
  27723. "description": "预申报价格",
  27724. "type": "number"
  27725. },
  27726. "premium": {
  27727. "description": "权利金",
  27728. "type": "number"
  27729. },
  27730. "preorderid": {
  27731. "description": "关联预埋单号(止盈止损单时填写)",
  27732. "type": "string"
  27733. },
  27734. "pricemode": {
  27735. "description": "取价方式 - 1:市价 2: 限价",
  27736. "type": "integer"
  27737. },
  27738. "qtydecimalplace": {
  27739. "description": "成交量小数位",
  27740. "type": "integer"
  27741. },
  27742. "quoteid": {
  27743. "description": "报价单ID",
  27744. "type": "integer"
  27745. },
  27746. "relatedid": {
  27747. "description": "关联单号(交割单)",
  27748. "type": "string"
  27749. },
  27750. "retcode": {
  27751. "description": "错误代码",
  27752. "type": "integer"
  27753. },
  27754. "sessionid": {
  27755. "description": "会话ID",
  27756. "type": "integer"
  27757. },
  27758. "tradedate": {
  27759. "description": "交易日(yyyyMMdd)",
  27760. "type": "string"
  27761. },
  27762. "trademode": {
  27763. "description": "交易模式",
  27764. "type": "integer"
  27765. },
  27766. "tradeproperty": {
  27767. "description": "交易属性",
  27768. "type": "integer"
  27769. },
  27770. "tradeqty": {
  27771. "description": "成交数量",
  27772. "type": "number"
  27773. },
  27774. "unfreezecharge": {
  27775. "description": "解冻手续费",
  27776. "type": "number"
  27777. },
  27778. "unfreezemargin": {
  27779. "description": "解冻保证金",
  27780. "type": "number"
  27781. },
  27782. "updatetime": {
  27783. "description": "更新时间",
  27784. "type": "string"
  27785. },
  27786. "uuid": {
  27787. "description": "发起端唯一id",
  27788. "type": "string"
  27789. },
  27790. "validtime": {
  27791. "description": "有效期限",
  27792. "type": "string"
  27793. },
  27794. "validtype": {
  27795. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  27796. "type": "integer"
  27797. },
  27798. "volumetype": {
  27799. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  27800. "type": "integer"
  27801. }
  27802. }
  27803. },
  27804. "order.QueryTradeDetailRsp": {
  27805. "type": "object",
  27806. "required": [
  27807. "accountid",
  27808. "buyorsell",
  27809. "goodsid",
  27810. "marketid",
  27811. "memberuserid",
  27812. "orderid",
  27813. "tradeamount",
  27814. "tradedate",
  27815. "tradeid",
  27816. "tradeprice",
  27817. "tradeqty",
  27818. "tradetime"
  27819. ],
  27820. "properties": {
  27821. "accountid": {
  27822. "description": "账户ID[报价币种]",
  27823. "type": "integer"
  27824. },
  27825. "advanceratio": {
  27826. "description": "首付比率",
  27827. "type": "number"
  27828. },
  27829. "buildtype": {
  27830. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  27831. "type": "integer"
  27832. },
  27833. "buyorsell": {
  27834. "description": "方向 - 0:买 1:卖",
  27835. "type": "integer"
  27836. },
  27837. "charge": {
  27838. "description": "手续费",
  27839. "type": "number"
  27840. },
  27841. "closecharge": {
  27842. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  27843. "type": "number"
  27844. },
  27845. "closeexchagechargevalue": {
  27846. "description": "平仓交易所手续费设置值",
  27847. "type": "number"
  27848. },
  27849. "closefeealgorithm": {
  27850. "description": "平仓手续费收取方式 1:比率 2:固定",
  27851. "type": "integer"
  27852. },
  27853. "closememberchargevalue": {
  27854. "description": "平仓会员手续费设置值",
  27855. "type": "number"
  27856. },
  27857. "closepl": {
  27858. "description": "平仓盈亏",
  27859. "type": "number"
  27860. },
  27861. "closepl2": {
  27862. "description": "平仓盈亏[逐笔]",
  27863. "type": "number"
  27864. },
  27865. "closeqty": {
  27866. "description": "平仓数量(先建后平操作 需要记录)",
  27867. "type": "number"
  27868. },
  27869. "creditamount": {
  27870. "description": "授信金额",
  27871. "type": "number"
  27872. },
  27873. "decimalplace": {
  27874. "description": "商品报价小数位",
  27875. "type": "integer"
  27876. },
  27877. "enumdicname": {
  27878. "description": "单位名称",
  27879. "type": "string"
  27880. },
  27881. "gcaccountid": {
  27882. "description": "账户ID[合约币种]",
  27883. "type": "integer"
  27884. },
  27885. "goodscode": {
  27886. "description": "商品代码",
  27887. "type": "string"
  27888. },
  27889. "goodsid": {
  27890. "description": "商品ID",
  27891. "type": "integer"
  27892. },
  27893. "goodsname": {
  27894. "description": "商品名称",
  27895. "type": "string"
  27896. },
  27897. "goodunitid": {
  27898. "description": "商品单位id",
  27899. "type": "integer"
  27900. },
  27901. "intclosepl": {
  27902. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  27903. "type": "integer"
  27904. },
  27905. "isconfirmexercise": {
  27906. "description": "是否确认行权- 0:否 1:是",
  27907. "type": "integer"
  27908. },
  27909. "ismain": {
  27910. "description": "是否主单 - 0:不是 1:是",
  27911. "type": "integer"
  27912. },
  27913. "ispreexercise": {
  27914. "description": "是否预申报- 0:否 1:是",
  27915. "type": "integer"
  27916. },
  27917. "isreckoned": {
  27918. "description": "是否结算 - 0:未结算 1:已结算",
  27919. "type": "integer"
  27920. },
  27921. "listingselecttype": {
  27922. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  27923. "type": "integer"
  27924. },
  27925. "marketid": {
  27926. "description": "市场ID",
  27927. "type": "integer"
  27928. },
  27929. "marketname": {
  27930. "description": "市场名称",
  27931. "type": "string"
  27932. },
  27933. "matchaccountid": {
  27934. "description": "对手账号id",
  27935. "type": "integer"
  27936. },
  27937. "memberuserid": {
  27938. "description": "会员id 个人投资者 需要填写",
  27939. "type": "integer"
  27940. },
  27941. "opencharge": {
  27942. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  27943. "type": "number"
  27944. },
  27945. "openexchagechargevalue": {
  27946. "description": "建仓交易所手续费设置值",
  27947. "type": "number"
  27948. },
  27949. "openfeealgorithm": {
  27950. "description": "建仓手续费收取方式 1:比率 2:固定",
  27951. "type": "integer"
  27952. },
  27953. "openmemberchargevalue": {
  27954. "description": "建仓会员手续费设置值",
  27955. "type": "number"
  27956. },
  27957. "openqty": {
  27958. "description": "开仓数量(先建后平操作 需要记录)",
  27959. "type": "number"
  27960. },
  27961. "optiontype": {
  27962. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  27963. "type": "integer"
  27964. },
  27965. "orderid": {
  27966. "description": "委托单号",
  27967. "type": "string"
  27968. },
  27969. "payamount": {
  27970. "description": "支付金额(付款金额)",
  27971. "type": "number"
  27972. },
  27973. "performanceplanid": {
  27974. "description": "履约计划ID[期权]",
  27975. "type": "integer"
  27976. },
  27977. "performancestatus": {
  27978. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  27979. "type": "integer"
  27980. },
  27981. "preexerciseprice": {
  27982. "description": "预申报价格",
  27983. "type": "number"
  27984. },
  27985. "premium": {
  27986. "description": "权利金 - [持仓单的权利金]",
  27987. "type": "number"
  27988. },
  27989. "qtydecimalplace": {
  27990. "description": "商品报价小数位",
  27991. "type": "integer"
  27992. },
  27993. "recvamount": {
  27994. "description": "到账金额 = 成交金额 - 手续费",
  27995. "type": "number"
  27996. },
  27997. "relatedouttradeid": {
  27998. "description": "关联外部成交单ID",
  27999. "type": "integer"
  28000. },
  28001. "status": {
  28002. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  28003. "type": "integer"
  28004. },
  28005. "totalamount": {
  28006. "description": "订单总额 = 成交金额 + 手续费",
  28007. "type": "number"
  28008. },
  28009. "tradeamount": {
  28010. "description": "成交金额[账户币种,用于所有权]",
  28011. "type": "number"
  28012. },
  28013. "tradedate": {
  28014. "description": "交易日(yyyyMMdd)",
  28015. "type": "string"
  28016. },
  28017. "tradeid": {
  28018. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  28019. "type": "string"
  28020. },
  28021. "trademode": {
  28022. "description": "交易模式",
  28023. "type": "integer"
  28024. },
  28025. "tradeprice": {
  28026. "description": "成交价格",
  28027. "type": "number"
  28028. },
  28029. "tradeproperty": {
  28030. "description": "交易属性",
  28031. "type": "integer"
  28032. },
  28033. "tradeqty": {
  28034. "description": "成交数量",
  28035. "type": "number"
  28036. },
  28037. "tradetime": {
  28038. "description": "成交时间",
  28039. "type": "string"
  28040. },
  28041. "tradetype": {
  28042. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  28043. "type": "integer"
  28044. }
  28045. }
  28046. },
  28047. "order.QueryTradeOrderDetailRsp": {
  28048. "type": "object",
  28049. "required": [
  28050. "accountid",
  28051. "buildtype",
  28052. "buyorsell",
  28053. "goodsid",
  28054. "marketid",
  28055. "operatetype",
  28056. "orderqty",
  28057. "ordertime",
  28058. "pricemode",
  28059. "tradedate",
  28060. "validtype"
  28061. ],
  28062. "properties": {
  28063. "accountid": {
  28064. "description": "账户ID[报价币种]",
  28065. "type": "integer"
  28066. },
  28067. "buildtype": {
  28068. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  28069. "type": "integer"
  28070. },
  28071. "buyorsell": {
  28072. "description": "买卖 - 0:买 1:卖",
  28073. "type": "integer"
  28074. },
  28075. "cancelorderid": {
  28076. "description": "撤单单号(撤单时填写)",
  28077. "type": "string"
  28078. },
  28079. "cancelqty": {
  28080. "description": "撤单数量",
  28081. "type": "number"
  28082. },
  28083. "clienttype": {
  28084. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  28085. "type": "integer"
  28086. },
  28087. "closefreezecharge": {
  28088. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  28089. "type": "number"
  28090. },
  28091. "closeqty": {
  28092. "description": "平仓数量(先建后平操作 需要记录)",
  28093. "type": "number"
  28094. },
  28095. "closetradeqty": {
  28096. "description": "平仓成交数量(先建后平操作,需要记录)",
  28097. "type": "number"
  28098. },
  28099. "closeunfreezecharge": {
  28100. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  28101. "type": "number"
  28102. },
  28103. "decimalplace": {
  28104. "description": "商品报价小数位",
  28105. "type": "integer"
  28106. },
  28107. "delistingtype": {
  28108. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  28109. "type": "integer"
  28110. },
  28111. "enableqty": {
  28112. "description": "可用数量 = 委托数量 - 成交数量 - 撤单数量",
  28113. "type": "number"
  28114. },
  28115. "enumdicname": {
  28116. "description": "单位名称",
  28117. "type": "string"
  28118. },
  28119. "freezecharge": {
  28120. "description": "冻结手续费",
  28121. "type": "number"
  28122. },
  28123. "freezemargin": {
  28124. "description": "冻结保证金(冻结交易金额)",
  28125. "type": "number"
  28126. },
  28127. "goodscode": {
  28128. "description": "商品代码",
  28129. "type": "string"
  28130. },
  28131. "goodsid": {
  28132. "description": "商品ID",
  28133. "type": "integer"
  28134. },
  28135. "goodsname": {
  28136. "description": "商品名称",
  28137. "type": "string"
  28138. },
  28139. "goodunitid": {
  28140. "description": "商品单位id",
  28141. "type": "integer"
  28142. },
  28143. "listingselecttype": {
  28144. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  28145. "type": "integer"
  28146. },
  28147. "marketid": {
  28148. "description": "市场ID",
  28149. "type": "integer"
  28150. },
  28151. "marketname": {
  28152. "description": "市场名称",
  28153. "type": "string"
  28154. },
  28155. "openfreezecharge": {
  28156. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  28157. "type": "number"
  28158. },
  28159. "openqty": {
  28160. "description": "开仓数量(先建后平操作,需要记录)",
  28161. "type": "number"
  28162. },
  28163. "opentradeqty": {
  28164. "description": "开仓成交数量(先建后平操作,需要记录)",
  28165. "type": "number"
  28166. },
  28167. "openunfreezecharge": {
  28168. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  28169. "type": "number"
  28170. },
  28171. "operatetype": {
  28172. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  28173. "type": "integer"
  28174. },
  28175. "operatorid": {
  28176. "description": "登录账号(LoginID)",
  28177. "type": "integer"
  28178. },
  28179. "orderid": {
  28180. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  28181. "type": "string"
  28182. },
  28183. "orderprice": {
  28184. "description": "委托价格",
  28185. "type": "number"
  28186. },
  28187. "orderqty": {
  28188. "description": "委托数量",
  28189. "type": "number"
  28190. },
  28191. "ordersrc": {
  28192. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  28193. "type": "integer"
  28194. },
  28195. "orderstatus": {
  28196. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  28197. "type": "integer"
  28198. },
  28199. "ordertime": {
  28200. "description": "委托时间",
  28201. "type": "string"
  28202. },
  28203. "preorderid": {
  28204. "description": "关联预埋单号(止盈止损单时填写)",
  28205. "type": "string"
  28206. },
  28207. "pricemode": {
  28208. "description": "取价方式 - 1:市价 2: 限价",
  28209. "type": "integer"
  28210. },
  28211. "qtydecimalplace": {
  28212. "description": "商品报价小数位",
  28213. "type": "integer"
  28214. },
  28215. "relatedid": {
  28216. "description": "关联单号(交割单)",
  28217. "type": "string"
  28218. },
  28219. "tradedate": {
  28220. "description": "交易日(yyyyMMdd)",
  28221. "type": "string"
  28222. },
  28223. "trademode": {
  28224. "description": "交易模式",
  28225. "type": "integer"
  28226. },
  28227. "tradeqty": {
  28228. "description": "成交数量",
  28229. "type": "number"
  28230. },
  28231. "unfreezecharge": {
  28232. "description": "解冻手续费",
  28233. "type": "number"
  28234. },
  28235. "unfreezemargin": {
  28236. "description": "解冻保证金",
  28237. "type": "number"
  28238. },
  28239. "validtime": {
  28240. "description": "有效期限",
  28241. "type": "string"
  28242. },
  28243. "validtype": {
  28244. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  28245. "type": "integer"
  28246. },
  28247. "volumetype": {
  28248. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  28249. "type": "integer"
  28250. }
  28251. }
  28252. },
  28253. "order.QueryTradePositionRsp": {
  28254. "type": "object",
  28255. "required": [
  28256. "goodsid"
  28257. ],
  28258. "properties": {
  28259. "accountid": {
  28260. "description": "资金账户",
  28261. "type": "integer"
  28262. },
  28263. "agreeunit": {
  28264. "description": "合约单位",
  28265. "type": "number"
  28266. },
  28267. "averageprice": {
  28268. "description": "持仓均价",
  28269. "type": "number"
  28270. },
  28271. "buyorsell": {
  28272. "description": "方向 - 0:买 1:卖",
  28273. "type": "integer"
  28274. },
  28275. "closetotalqty": {
  28276. "description": "平仓总数量",
  28277. "type": "number"
  28278. },
  28279. "curholderamount": {
  28280. "description": "当前持仓总金额[商品币种]",
  28281. "type": "number"
  28282. },
  28283. "curpositionqty": {
  28284. "description": "当前持仓总数量",
  28285. "type": "number"
  28286. },
  28287. "currencyid": {
  28288. "description": "报价货币ID",
  28289. "type": "integer"
  28290. },
  28291. "curtdposition": {
  28292. "description": "期末今日头寸",
  28293. "type": "number"
  28294. },
  28295. "decimalplace": {
  28296. "description": "报价小数位",
  28297. "type": "integer"
  28298. },
  28299. "enableqty": {
  28300. "description": "可用量",
  28301. "type": "number"
  28302. },
  28303. "fretdposition": {
  28304. "description": "冻结今日头寸",
  28305. "type": "number"
  28306. },
  28307. "frozenqty": {
  28308. "description": "持仓冻结数量",
  28309. "type": "number"
  28310. },
  28311. "goodscode": {
  28312. "description": "商品代码",
  28313. "type": "string"
  28314. },
  28315. "goodsid": {
  28316. "description": "商品Id",
  28317. "type": "integer"
  28318. },
  28319. "goodsname": {
  28320. "description": "商品名称",
  28321. "type": "string"
  28322. },
  28323. "goodunit": {
  28324. "description": "报价单位",
  28325. "type": "string"
  28326. },
  28327. "goodunitid": {
  28328. "description": "报价单位ID",
  28329. "type": "integer"
  28330. },
  28331. "holderamount": {
  28332. "description": "期初持仓总金额[商品币种]",
  28333. "type": "number"
  28334. },
  28335. "marketid": {
  28336. "description": "所属市场ID",
  28337. "type": "integer"
  28338. },
  28339. "openreqqty": {
  28340. "description": "开仓申请数量(用于比较最大持仓数量)",
  28341. "type": "number"
  28342. },
  28343. "opentotalqty": {
  28344. "description": "开仓总数量",
  28345. "type": "number"
  28346. },
  28347. "otherfrozenqty": {
  28348. "description": "持仓其他冻结数量(交割冻结)",
  28349. "type": "number"
  28350. },
  28351. "positionqty": {
  28352. "description": "期初持仓数量",
  28353. "type": "number"
  28354. },
  28355. "qtydecimalplace": {
  28356. "description": "成交量小数位",
  28357. "type": "integer"
  28358. },
  28359. "tnqty": {
  28360. "description": "T+N冻结总量",
  28361. "type": "number"
  28362. },
  28363. "tnusedqty": {
  28364. "description": "T+N使用量(可以使用T+N的冻结数量)",
  28365. "type": "number"
  28366. },
  28367. "trademode": {
  28368. "description": "交易模式",
  28369. "type": "integer"
  28370. },
  28371. "usedmargin": {
  28372. "description": "占用保证金[商品币种]",
  28373. "type": "number"
  28374. }
  28375. }
  28376. },
  28377. "quote.HistoryData": {
  28378. "type": "object",
  28379. "properties": {
  28380. "c": {
  28381. "description": "收盘价",
  28382. "type": "number"
  28383. },
  28384. "f": {
  28385. "description": "是否补充数据",
  28386. "type": "boolean"
  28387. },
  28388. "h": {
  28389. "description": "最高价",
  28390. "type": "number"
  28391. },
  28392. "hv": {
  28393. "description": "持仓量",
  28394. "type": "integer"
  28395. },
  28396. "l": {
  28397. "description": "最低价",
  28398. "type": "number"
  28399. },
  28400. "o": {
  28401. "description": "开盘价",
  28402. "type": "number"
  28403. },
  28404. "s": {
  28405. "description": "结算价,日线周期(包括)以上才有",
  28406. "type": "number"
  28407. },
  28408. "ts": {
  28409. "description": "时间",
  28410. "type": "string"
  28411. },
  28412. "tt": {
  28413. "description": "总金额",
  28414. "type": "number"
  28415. },
  28416. "tv": {
  28417. "description": "总量",
  28418. "type": "integer"
  28419. }
  28420. }
  28421. },
  28422. "quote.HistoryTikData": {
  28423. "type": "object",
  28424. "properties": {
  28425. "AV": {
  28426. "description": "卖量",
  28427. "type": "integer"
  28428. },
  28429. "Ask": {
  28430. "description": "卖价",
  28431. "type": "number"
  28432. },
  28433. "BV": {
  28434. "description": "买量",
  28435. "type": "integer"
  28436. },
  28437. "Bid": {
  28438. "description": "买价",
  28439. "type": "number"
  28440. },
  28441. "HI": {
  28442. "description": "单笔持仓",
  28443. "type": "integer"
  28444. },
  28445. "HV": {
  28446. "description": "持仓量",
  28447. "type": "integer"
  28448. },
  28449. "PE": {
  28450. "description": "现价",
  28451. "type": "number"
  28452. },
  28453. "TDR": {
  28454. "description": "交易方向,0:买 1:卖",
  28455. "type": "integer"
  28456. },
  28457. "TK": {
  28458. "description": "交易类型",
  28459. "type": "integer"
  28460. },
  28461. "TS": {
  28462. "description": "行情时间文本",
  28463. "type": "string"
  28464. },
  28465. "TT": {
  28466. "description": "现金额",
  28467. "type": "number"
  28468. },
  28469. "Vol": {
  28470. "description": "现量",
  28471. "type": "integer"
  28472. }
  28473. }
  28474. },
  28475. "quote.QueryQuoteDayRsp": {
  28476. "type": "object",
  28477. "properties": {
  28478. "ask": {
  28479. "description": "卖1",
  28480. "type": "number"
  28481. },
  28482. "ask10": {
  28483. "description": "卖10",
  28484. "type": "number"
  28485. },
  28486. "ask2": {
  28487. "description": "卖2",
  28488. "type": "number"
  28489. },
  28490. "ask3": {
  28491. "description": "卖3",
  28492. "type": "number"
  28493. },
  28494. "ask4": {
  28495. "description": "卖4",
  28496. "type": "number"
  28497. },
  28498. "ask5": {
  28499. "description": "卖5",
  28500. "type": "number"
  28501. },
  28502. "ask6": {
  28503. "description": "卖6",
  28504. "type": "number"
  28505. },
  28506. "ask7": {
  28507. "description": "卖7",
  28508. "type": "number"
  28509. },
  28510. "ask8": {
  28511. "description": "卖8",
  28512. "type": "number"
  28513. },
  28514. "ask9": {
  28515. "description": "卖9",
  28516. "type": "number"
  28517. },
  28518. "askorderid": {
  28519. "description": "卖单号1",
  28520. "type": "integer"
  28521. },
  28522. "askorderid2": {
  28523. "description": "卖单号2",
  28524. "type": "integer"
  28525. },
  28526. "askorderid3": {
  28527. "description": "卖单号3",
  28528. "type": "integer"
  28529. },
  28530. "askorderid4": {
  28531. "description": "卖单号4",
  28532. "type": "integer"
  28533. },
  28534. "askorderid5": {
  28535. "description": "卖单号5",
  28536. "type": "integer"
  28537. },
  28538. "askordervolume": {
  28539. "description": "卖单量1",
  28540. "type": "integer"
  28541. },
  28542. "askordervolume10": {
  28543. "description": "卖单量10",
  28544. "type": "integer"
  28545. },
  28546. "askordervolume2": {
  28547. "description": "卖单量2",
  28548. "type": "integer"
  28549. },
  28550. "askordervolume3": {
  28551. "description": "卖单量3",
  28552. "type": "integer"
  28553. },
  28554. "askordervolume4": {
  28555. "description": "卖单量4",
  28556. "type": "integer"
  28557. },
  28558. "askordervolume5": {
  28559. "description": "卖单量5",
  28560. "type": "integer"
  28561. },
  28562. "askordervolume6": {
  28563. "description": "卖单量6",
  28564. "type": "integer"
  28565. },
  28566. "askordervolume7": {
  28567. "description": "卖单量7",
  28568. "type": "integer"
  28569. },
  28570. "askordervolume8": {
  28571. "description": "卖单量8",
  28572. "type": "integer"
  28573. },
  28574. "askordervolume9": {
  28575. "description": "卖单量9",
  28576. "type": "integer"
  28577. },
  28578. "askqueueinfo": {
  28579. "description": "大利市卖港股用",
  28580. "type": "string"
  28581. },
  28582. "askvolume": {
  28583. "description": "卖量1",
  28584. "type": "integer"
  28585. },
  28586. "askvolume10": {
  28587. "description": "卖量10",
  28588. "type": "integer"
  28589. },
  28590. "askvolume2": {
  28591. "description": "卖量2",
  28592. "type": "integer"
  28593. },
  28594. "askvolume3": {
  28595. "description": "卖量3",
  28596. "type": "integer"
  28597. },
  28598. "askvolume4": {
  28599. "description": "卖量4",
  28600. "type": "integer"
  28601. },
  28602. "askvolume5": {
  28603. "description": "卖量5",
  28604. "type": "integer"
  28605. },
  28606. "askvolume6": {
  28607. "description": "卖量6",
  28608. "type": "integer"
  28609. },
  28610. "askvolume7": {
  28611. "description": "卖量7",
  28612. "type": "integer"
  28613. },
  28614. "askvolume8": {
  28615. "description": "卖量8",
  28616. "type": "integer"
  28617. },
  28618. "askvolume9": {
  28619. "description": "卖量9",
  28620. "type": "integer"
  28621. },
  28622. "averageprice": {
  28623. "description": "均价",
  28624. "type": "number"
  28625. },
  28626. "bid": {
  28627. "description": "买1",
  28628. "type": "number"
  28629. },
  28630. "bid10": {
  28631. "description": "买10",
  28632. "type": "number"
  28633. },
  28634. "bid2": {
  28635. "description": "买2",
  28636. "type": "number"
  28637. },
  28638. "bid3": {
  28639. "description": "买3",
  28640. "type": "number"
  28641. },
  28642. "bid4": {
  28643. "description": "买4",
  28644. "type": "number"
  28645. },
  28646. "bid5": {
  28647. "description": "买5",
  28648. "type": "number"
  28649. },
  28650. "bid6": {
  28651. "description": "买6",
  28652. "type": "number"
  28653. },
  28654. "bid7": {
  28655. "description": "买7",
  28656. "type": "number"
  28657. },
  28658. "bid8": {
  28659. "description": "买8",
  28660. "type": "number"
  28661. },
  28662. "bid9": {
  28663. "description": "买9",
  28664. "type": "number"
  28665. },
  28666. "bidorderid": {
  28667. "description": "买单号1",
  28668. "type": "integer"
  28669. },
  28670. "bidorderid2": {
  28671. "description": "买单号2",
  28672. "type": "integer"
  28673. },
  28674. "bidorderid3": {
  28675. "description": "买单号3",
  28676. "type": "integer"
  28677. },
  28678. "bidorderid4": {
  28679. "description": "买单号4",
  28680. "type": "integer"
  28681. },
  28682. "bidorderid5": {
  28683. "description": "买单号5",
  28684. "type": "integer"
  28685. },
  28686. "bidordervolume": {
  28687. "description": "买单量1",
  28688. "type": "integer"
  28689. },
  28690. "bidordervolume10": {
  28691. "description": "买单量10",
  28692. "type": "integer"
  28693. },
  28694. "bidordervolume2": {
  28695. "description": "买单量2",
  28696. "type": "integer"
  28697. },
  28698. "bidordervolume3": {
  28699. "description": "买单量3",
  28700. "type": "integer"
  28701. },
  28702. "bidordervolume4": {
  28703. "description": "买单量4",
  28704. "type": "integer"
  28705. },
  28706. "bidordervolume5": {
  28707. "description": "买单量5",
  28708. "type": "integer"
  28709. },
  28710. "bidordervolume6": {
  28711. "description": "买单量6",
  28712. "type": "integer"
  28713. },
  28714. "bidordervolume7": {
  28715. "description": "买单量7",
  28716. "type": "integer"
  28717. },
  28718. "bidordervolume8": {
  28719. "description": "买单量8",
  28720. "type": "integer"
  28721. },
  28722. "bidordervolume9": {
  28723. "description": "买单量9",
  28724. "type": "integer"
  28725. },
  28726. "bidqueueinfo": {
  28727. "description": "大利市买港股用",
  28728. "type": "string"
  28729. },
  28730. "bidvolume": {
  28731. "description": "买量1",
  28732. "type": "integer"
  28733. },
  28734. "bidvolume10": {
  28735. "description": "买量10",
  28736. "type": "integer"
  28737. },
  28738. "bidvolume2": {
  28739. "description": "买量2",
  28740. "type": "integer"
  28741. },
  28742. "bidvolume3": {
  28743. "description": "买量3",
  28744. "type": "integer"
  28745. },
  28746. "bidvolume4": {
  28747. "description": "买量4",
  28748. "type": "integer"
  28749. },
  28750. "bidvolume5": {
  28751. "description": "买量5",
  28752. "type": "integer"
  28753. },
  28754. "bidvolume6": {
  28755. "description": "买量6",
  28756. "type": "integer"
  28757. },
  28758. "bidvolume7": {
  28759. "description": "买量7",
  28760. "type": "integer"
  28761. },
  28762. "bidvolume8": {
  28763. "description": "买量8",
  28764. "type": "integer"
  28765. },
  28766. "bidvolume9": {
  28767. "description": "买量9",
  28768. "type": "integer"
  28769. },
  28770. "calloptionpremiums": {
  28771. "description": "认购期权1",
  28772. "type": "integer"
  28773. },
  28774. "calloptionpremiums2": {
  28775. "description": "认购期权2",
  28776. "type": "integer"
  28777. },
  28778. "calloptionpremiums3": {
  28779. "description": "认购期权3",
  28780. "type": "integer"
  28781. },
  28782. "calloptionpremiums4": {
  28783. "description": "认购期权4",
  28784. "type": "integer"
  28785. },
  28786. "calloptionpremiums5": {
  28787. "description": "认购期权5",
  28788. "type": "integer"
  28789. },
  28790. "cleartime": {
  28791. "description": "清盘时间",
  28792. "type": "integer"
  28793. },
  28794. "exchangecode": {
  28795. "description": "交易所代码",
  28796. "type": "integer"
  28797. },
  28798. "exchangedate": {
  28799. "description": "交易日",
  28800. "type": "integer"
  28801. },
  28802. "goodscode": {
  28803. "description": "商品代码",
  28804. "type": "string"
  28805. },
  28806. "grepmarketprice": {
  28807. "description": "暗盘价 港股专用",
  28808. "type": "number"
  28809. },
  28810. "highest": {
  28811. "description": "最高价",
  28812. "type": "number"
  28813. },
  28814. "holdincrement": {
  28815. "description": "单笔持仓",
  28816. "type": "integer"
  28817. },
  28818. "holdvolume": {
  28819. "description": "持仓",
  28820. "type": "integer"
  28821. },
  28822. "iep": {
  28823. "description": "平衡价 港股专用",
  28824. "type": "number"
  28825. },
  28826. "iev": {
  28827. "description": "平衡量 港股专用",
  28828. "type": "number"
  28829. },
  28830. "inventory": {
  28831. "description": "库存",
  28832. "type": "integer"
  28833. },
  28834. "iscleared": {
  28835. "description": "是否清盘标志",
  28836. "type": "integer"
  28837. },
  28838. "issettled": {
  28839. "description": "是否结算标志",
  28840. "type": "integer"
  28841. },
  28842. "last": {
  28843. "description": "最新价",
  28844. "type": "number"
  28845. },
  28846. "lastlot": {
  28847. "description": "最新成交手数",
  28848. "type": "integer"
  28849. },
  28850. "lasttime": {
  28851. "description": "行情时间(只有现价变化行情时间才变化)",
  28852. "type": "string"
  28853. },
  28854. "lastturnover": {
  28855. "description": "最新成交金额",
  28856. "type": "number"
  28857. },
  28858. "lastvolume": {
  28859. "description": "最新成交量",
  28860. "type": "integer"
  28861. },
  28862. "limitdown": {
  28863. "description": "跌停价",
  28864. "type": "number"
  28865. },
  28866. "limitup": {
  28867. "description": "涨停价",
  28868. "type": "number"
  28869. },
  28870. "lowest": {
  28871. "description": "最低价",
  28872. "type": "number"
  28873. },
  28874. "nontotalholdervolume": {
  28875. "description": "非交易持仓量",
  28876. "type": "integer"
  28877. },
  28878. "nontotallot": {
  28879. "description": "非交易总手数",
  28880. "type": "integer"
  28881. },
  28882. "nontotalturnover": {
  28883. "description": "非交易总金额",
  28884. "type": "integer"
  28885. },
  28886. "nontotalvolume": {
  28887. "description": "非交易总量",
  28888. "type": "integer"
  28889. },
  28890. "opened": {
  28891. "description": "开盘价",
  28892. "type": "number"
  28893. },
  28894. "opentime": {
  28895. "description": "开盘时间",
  28896. "type": "string"
  28897. },
  28898. "orderid": {
  28899. "description": "序号",
  28900. "type": "integer"
  28901. },
  28902. "preclose": {
  28903. "description": "昨收",
  28904. "type": "number"
  28905. },
  28906. "preholdvolume": {
  28907. "description": "昨持仓",
  28908. "type": "integer"
  28909. },
  28910. "presettle": {
  28911. "description": "昨结价",
  28912. "type": "number"
  28913. },
  28914. "publictradetype": {
  28915. "description": "公共交易标志类型 港股专用",
  28916. "type": "string"
  28917. },
  28918. "putoptionpremiums": {
  28919. "description": "认沽期权1",
  28920. "type": "integer"
  28921. },
  28922. "putoptionpremiums2": {
  28923. "description": "认沽期权2",
  28924. "type": "integer"
  28925. },
  28926. "putoptionpremiums3": {
  28927. "description": "认沽期权3",
  28928. "type": "integer"
  28929. },
  28930. "putoptionpremiums4": {
  28931. "description": "认沽期权4",
  28932. "type": "integer"
  28933. },
  28934. "putoptionpremiums5": {
  28935. "description": "认沽期权5",
  28936. "type": "integer"
  28937. },
  28938. "settle": {
  28939. "description": "结算价",
  28940. "type": "number"
  28941. },
  28942. "strikeprice": {
  28943. "description": "发行价",
  28944. "type": "number"
  28945. },
  28946. "totalaskvolume": {
  28947. "description": "内盘",
  28948. "type": "integer"
  28949. },
  28950. "totalbidvolume": {
  28951. "description": "外盘",
  28952. "type": "integer"
  28953. },
  28954. "totallot": {
  28955. "description": "总手数",
  28956. "type": "integer"
  28957. },
  28958. "totalturnover": {
  28959. "description": "总金额",
  28960. "type": "number"
  28961. },
  28962. "totalvolume": {
  28963. "description": "总量",
  28964. "type": "integer"
  28965. },
  28966. "utclasttime": {
  28967. "description": "utc的行情时间",
  28968. "type": "string"
  28969. }
  28970. }
  28971. },
  28972. "quote.QueryTSDataRsp": {
  28973. "type": "object",
  28974. "properties": {
  28975. "Count": {
  28976. "description": "交易日应有数据个数",
  28977. "type": "integer"
  28978. },
  28979. "decimalPlace": {
  28980. "description": "小数位",
  28981. "type": "integer"
  28982. },
  28983. "endTime": {
  28984. "description": "结束时间",
  28985. "type": "string"
  28986. },
  28987. "goodsCode": {
  28988. "description": "商品代码",
  28989. "type": "string"
  28990. },
  28991. "historyDatas": {
  28992. "description": "历史数据",
  28993. "type": "array",
  28994. "items": {
  28995. "$ref": "#/definitions/quote.HistoryData"
  28996. }
  28997. },
  28998. "outGoodsCode": {
  28999. "description": "外部商品代码",
  29000. "type": "string"
  29001. },
  29002. "preSettle": {
  29003. "description": "昨结价",
  29004. "type": "number"
  29005. },
  29006. "runSteps": {
  29007. "description": "交易日开休市计划",
  29008. "type": "array",
  29009. "items": {
  29010. "$ref": "#/definitions/quote.TSDataRunStep"
  29011. }
  29012. },
  29013. "startTime": {
  29014. "description": "开始时间",
  29015. "type": "string"
  29016. },
  29017. "tradeDate": {
  29018. "description": "交易日",
  29019. "type": "string"
  29020. }
  29021. }
  29022. },
  29023. "quote.TSDataRunStep": {
  29024. "type": "object",
  29025. "properties": {
  29026. "end": {
  29027. "description": "真实结束时间",
  29028. "type": "string"
  29029. },
  29030. "endflag": {
  29031. "description": "结束日标识 - (-1:上日 0:当日 1:次日 )",
  29032. "type": "integer"
  29033. },
  29034. "endtime": {
  29035. "description": "结束时间(HH:mm)",
  29036. "type": "string"
  29037. },
  29038. "endweekday": {
  29039. "description": "结束周几",
  29040. "type": "integer"
  29041. },
  29042. "groupid": {
  29043. "description": "分组ID",
  29044. "type": "integer"
  29045. },
  29046. "runstep": {
  29047. "description": "运行阶段 - 2:连续交易",
  29048. "type": "integer"
  29049. },
  29050. "sectionid": {
  29051. "description": "从 1 开始 往下编 [0为系统清盘、结算时间] SectionId = 0时,开始时间=清盘时间 开始周几= 清盘周几, 结束时间=结算时间 结束周几=结算周几",
  29052. "type": "integer"
  29053. },
  29054. "start": {
  29055. "description": "真实开始时间",
  29056. "type": "string"
  29057. },
  29058. "startflag": {
  29059. "description": "开始日标识 - (-1:上日 0:当日 1:次日 )",
  29060. "type": "integer"
  29061. },
  29062. "starttime": {
  29063. "description": "起始时间(HH:mm)",
  29064. "type": "string"
  29065. },
  29066. "startweekday": {
  29067. "description": "起始周几",
  29068. "type": "integer"
  29069. },
  29070. "tradeweekday": {
  29071. "description": "交易日归属 - 0:星期天、1:星期一、2:星期二、3:星期三、4:星期四、5:星期五、6:星期六",
  29072. "type": "integer"
  29073. }
  29074. }
  29075. },
  29076. "szdz.QueryConvertLogRsp": {
  29077. "type": "object",
  29078. "required": [
  29079. "logid"
  29080. ],
  29081. "properties": {
  29082. "accountid": {
  29083. "description": "资金账户ID",
  29084. "type": "integer"
  29085. },
  29086. "clientticket": {
  29087. "description": "客户端流水号",
  29088. "type": "string"
  29089. },
  29090. "converttype": {
  29091. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍",
  29092. "type": "integer"
  29093. },
  29094. "createtime": {
  29095. "description": "记账时间",
  29096. "type": "string"
  29097. },
  29098. "daymaxvalue": {
  29099. "description": "配置当日最大转入限制",
  29100. "type": "number"
  29101. },
  29102. "daymaxvalue2": {
  29103. "description": "配置当日最大转入限制(转入)",
  29104. "type": "number"
  29105. },
  29106. "goodscode": {
  29107. "description": "商品代码",
  29108. "type": "string"
  29109. },
  29110. "goodsname": {
  29111. "description": "商品名称",
  29112. "type": "string"
  29113. },
  29114. "handlestatus": {
  29115. "description": "处理状态",
  29116. "type": "integer"
  29117. },
  29118. "innergoodsid": {
  29119. "description": "内部商品ID",
  29120. "type": "integer"
  29121. },
  29122. "inratio": {
  29123. "description": "配置转入比值",
  29124. "type": "integer"
  29125. },
  29126. "invalue": {
  29127. "description": "目标值",
  29128. "type": "number"
  29129. },
  29130. "logid": {
  29131. "description": "LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  29132. "type": "integer"
  29133. },
  29134. "mobile": {
  29135. "description": "手机号码(加密存储)",
  29136. "type": "string"
  29137. },
  29138. "outergoodscode": {
  29139. "description": "外部商品代码[JD\\PD]",
  29140. "type": "string"
  29141. },
  29142. "outratio": {
  29143. "description": "配置转出比值",
  29144. "type": "integer"
  29145. },
  29146. "outvalue": {
  29147. "description": "源值",
  29148. "type": "number"
  29149. },
  29150. "pddecimalplace": {
  29151. "description": "PD小数位",
  29152. "type": "integer"
  29153. },
  29154. "qty": {
  29155. "description": "数量",
  29156. "type": "string"
  29157. },
  29158. "remark": {
  29159. "description": "备注",
  29160. "type": "string"
  29161. },
  29162. "sessionid": {
  29163. "description": "会话ID",
  29164. "type": "integer"
  29165. },
  29166. "timemaxvalue": {
  29167. "description": "配置单次最大转入限制",
  29168. "type": "number"
  29169. },
  29170. "timemaxvalue2": {
  29171. "description": "配置单次最大转入限制(转入)",
  29172. "type": "number"
  29173. },
  29174. "timeminvalue": {
  29175. "description": "配置单次最小数量限制",
  29176. "type": "number"
  29177. },
  29178. "timeminvalue2": {
  29179. "description": "配置单次最小数量限制(转入)",
  29180. "type": "number"
  29181. },
  29182. "tradedate": {
  29183. "description": "交易日(yyyyMMdd)",
  29184. "type": "string"
  29185. },
  29186. "userid": {
  29187. "description": "用户ID",
  29188. "type": "integer"
  29189. }
  29190. }
  29191. },
  29192. "szdz.QueryGoodsPickupRsp": {
  29193. "type": "object",
  29194. "required": [
  29195. "takeorderid"
  29196. ],
  29197. "properties": {
  29198. "accountid": {
  29199. "description": "账户ID",
  29200. "type": "integer"
  29201. },
  29202. "address": {
  29203. "description": "提货人详细地址",
  29204. "type": "string"
  29205. },
  29206. "auditer": {
  29207. "description": "审核人",
  29208. "type": "integer"
  29209. },
  29210. "audittime": {
  29211. "description": "审核时间",
  29212. "type": "string"
  29213. },
  29214. "cardnum": {
  29215. "description": "提货人证件号码",
  29216. "type": "string"
  29217. },
  29218. "cardtypeid": {
  29219. "description": "提货人证件类型",
  29220. "type": "integer"
  29221. },
  29222. "checkremark": {
  29223. "description": "审核备注",
  29224. "type": "string"
  29225. },
  29226. "goodscode": {
  29227. "description": "商品代码",
  29228. "type": "string"
  29229. },
  29230. "goodsid": {
  29231. "description": "商品ID",
  29232. "type": "integer"
  29233. },
  29234. "goodsname": {
  29235. "description": "商品名称",
  29236. "type": "string"
  29237. },
  29238. "handlestatus": {
  29239. "description": "处理状态",
  29240. "type": "integer"
  29241. },
  29242. "marketid": {
  29243. "description": "市场ID",
  29244. "type": "integer"
  29245. },
  29246. "phonenum": {
  29247. "description": "提货人联系方式",
  29248. "type": "string"
  29249. },
  29250. "qty": {
  29251. "description": "提货数量",
  29252. "type": "number"
  29253. },
  29254. "recivername": {
  29255. "description": "提货人姓名",
  29256. "type": "string"
  29257. },
  29258. "reqtime": {
  29259. "description": "更新时间",
  29260. "type": "string"
  29261. },
  29262. "takemode": {
  29263. "description": "提货方式 - 2:自提 3:配送",
  29264. "type": "integer"
  29265. },
  29266. "takeorderid": {
  29267. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  29268. "type": "string"
  29269. },
  29270. "takeorderstatus": {
  29271. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  29272. "type": "integer"
  29273. },
  29274. "takeremark": {
  29275. "description": "提货备注",
  29276. "type": "string"
  29277. },
  29278. "tradedate": {
  29279. "description": "交易日(yyyyMMdd)",
  29280. "type": "string"
  29281. },
  29282. "userid": {
  29283. "description": "用户ID",
  29284. "type": "integer"
  29285. }
  29286. }
  29287. },
  29288. "szdz.QueryRecieptOrderRsp": {
  29289. "type": "object",
  29290. "required": [
  29291. "ordertime"
  29292. ],
  29293. "properties": {
  29294. "accountName": {
  29295. "description": "所属账号名称(已脱敏)",
  29296. "type": "string"
  29297. },
  29298. "accountid": {
  29299. "description": "资金账号",
  29300. "type": "integer"
  29301. },
  29302. "buyorsell": {
  29303. "description": "方向 - 0:买 1:卖",
  29304. "type": "integer"
  29305. },
  29306. "enableqty": {
  29307. "description": "可摘数量",
  29308. "type": "integer"
  29309. },
  29310. "goodscode": {
  29311. "description": "商品代码",
  29312. "type": "string"
  29313. },
  29314. "goodsid": {
  29315. "description": "商品ID",
  29316. "type": "integer"
  29317. },
  29318. "goodsname": {
  29319. "description": "商品名称",
  29320. "type": "string"
  29321. },
  29322. "orderid": {
  29323. "description": "委托单号",
  29324. "type": "string"
  29325. },
  29326. "orderprice": {
  29327. "description": "委托价格",
  29328. "type": "number"
  29329. },
  29330. "ordertime": {
  29331. "description": "委托时间",
  29332. "type": "string"
  29333. },
  29334. "tradedate": {
  29335. "description": "交易日(yyyyMMdd)",
  29336. "type": "string"
  29337. }
  29338. }
  29339. },
  29340. "szdz.QuerySZDZTradePositionRsp": {
  29341. "type": "object",
  29342. "properties": {
  29343. "accountid": {
  29344. "description": "账号Id",
  29345. "type": "integer"
  29346. },
  29347. "agreeunit": {
  29348. "description": "合约单位",
  29349. "type": "number"
  29350. },
  29351. "averageprice": {
  29352. "description": "持仓均价",
  29353. "type": "number"
  29354. },
  29355. "buyorsell": {
  29356. "description": "方向 - 0:买 1:卖",
  29357. "type": "integer"
  29358. },
  29359. "closetotalqty": {
  29360. "description": "平仓总数量",
  29361. "type": "integer"
  29362. },
  29363. "curholderamount": {
  29364. "description": "当前持仓总金额",
  29365. "type": "number"
  29366. },
  29367. "curpositionqty": {
  29368. "description": "当前持仓总数量",
  29369. "type": "integer"
  29370. },
  29371. "currencyid": {
  29372. "description": "报价货币ID",
  29373. "type": "integer"
  29374. },
  29375. "curtdposition": {
  29376. "description": "期末今日头寸",
  29377. "type": "integer"
  29378. },
  29379. "decimalplace": {
  29380. "description": "报价小数位",
  29381. "type": "integer"
  29382. },
  29383. "enableqty": {
  29384. "description": "可用量",
  29385. "type": "integer"
  29386. },
  29387. "fretdposition": {
  29388. "description": "冻结今日头寸",
  29389. "type": "integer"
  29390. },
  29391. "frozenqty": {
  29392. "description": "持仓冻结数量",
  29393. "type": "integer"
  29394. },
  29395. "goodscode": {
  29396. "description": "商品代码(内部)",
  29397. "type": "string"
  29398. },
  29399. "goodsid": {
  29400. "description": "商品Id",
  29401. "type": "integer"
  29402. },
  29403. "goodsname": {
  29404. "description": "商品名称",
  29405. "type": "string"
  29406. },
  29407. "goodunit": {
  29408. "description": "报价单位",
  29409. "type": "string"
  29410. },
  29411. "goodunitid": {
  29412. "description": "报价单位ID",
  29413. "type": "integer"
  29414. },
  29415. "holderamount": {
  29416. "description": "期初持仓总金额",
  29417. "type": "number"
  29418. },
  29419. "marketid": {
  29420. "description": "市场ID",
  29421. "type": "integer"
  29422. },
  29423. "openreqqty": {
  29424. "description": "开仓申请数量",
  29425. "type": "integer"
  29426. },
  29427. "opentotalqty": {
  29428. "description": "开仓总数量",
  29429. "type": "integer"
  29430. },
  29431. "otherfrozenqty": {
  29432. "description": "持仓其他冻结数量(交割冻结)",
  29433. "type": "integer"
  29434. },
  29435. "positionqty": {
  29436. "description": "期初持仓数量",
  29437. "type": "integer"
  29438. },
  29439. "szdz3freezqty": {
  29440. "description": "尚志大宗转换冻结总数量",
  29441. "type": "integer"
  29442. },
  29443. "tnqty": {
  29444. "description": "T+N冻结总量",
  29445. "type": "integer"
  29446. },
  29447. "tnusedqty": {
  29448. "description": "T+N使用量",
  29449. "type": "integer"
  29450. },
  29451. "trademode": {
  29452. "description": "交易模式",
  29453. "type": "integer"
  29454. },
  29455. "usedmargin": {
  29456. "description": "占用保证金",
  29457. "type": "number"
  29458. }
  29459. }
  29460. },
  29461. "taaccount.QueryAmountLogRsp": {
  29462. "type": "object",
  29463. "required": [
  29464. "accountid",
  29465. "amount",
  29466. "amountadjusttype",
  29467. "autoid",
  29468. "balance",
  29469. "createtime",
  29470. "currentbalance",
  29471. "operatetype"
  29472. ],
  29473. "properties": {
  29474. "OPERATETYPENAME": {
  29475. "description": "资金操作类型名称",
  29476. "type": "string"
  29477. },
  29478. "accountid": {
  29479. "description": "资金账户ID",
  29480. "type": "integer"
  29481. },
  29482. "agoodscode": {
  29483. "description": "竞拍商品代码",
  29484. "type": "string"
  29485. },
  29486. "agoodsname": {
  29487. "description": "竞拍商品名称",
  29488. "type": "string"
  29489. },
  29490. "amount": {
  29491. "description": "资金金额",
  29492. "type": "number"
  29493. },
  29494. "amountadjusttype": {
  29495. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  29496. "type": "integer"
  29497. },
  29498. "autoid": {
  29499. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  29500. "type": "integer"
  29501. },
  29502. "balance": {
  29503. "description": "期初余额",
  29504. "type": "number"
  29505. },
  29506. "businesscode": {
  29507. "description": "业务编号",
  29508. "type": "integer"
  29509. },
  29510. "createtime": {
  29511. "description": "发生时间",
  29512. "type": "string"
  29513. },
  29514. "currencyid": {
  29515. "description": "币种ID",
  29516. "type": "integer"
  29517. },
  29518. "currentbalance": {
  29519. "description": "期末余额(变动后金额)",
  29520. "type": "number"
  29521. },
  29522. "dgoodscode": {
  29523. "description": "交割商品代码",
  29524. "type": "string"
  29525. },
  29526. "dgoodsname": {
  29527. "description": "交割商品名称",
  29528. "type": "string"
  29529. },
  29530. "goodscode": {
  29531. "description": "商品代码",
  29532. "type": "string"
  29533. },
  29534. "goodsid": {
  29535. "description": "商品ID",
  29536. "type": "integer"
  29537. },
  29538. "goodsname": {
  29539. "description": "商品名称",
  29540. "type": "string"
  29541. },
  29542. "marketid": {
  29543. "description": "市场ID",
  29544. "type": "integer"
  29545. },
  29546. "marketname": {
  29547. "description": "市场名称",
  29548. "type": "string"
  29549. },
  29550. "moneyticket": {
  29551. "description": "资金流水号:银行端流水号",
  29552. "type": "integer"
  29553. },
  29554. "operatetype": {
  29555. "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:营销收款",
  29556. "type": "integer"
  29557. },
  29558. "relationorderid": {
  29559. "description": "关联单号",
  29560. "type": "string"
  29561. },
  29562. "remark": {
  29563. "description": "备注",
  29564. "type": "string"
  29565. },
  29566. "trademode": {
  29567. "description": "交易模式",
  29568. "type": "integer"
  29569. }
  29570. }
  29571. },
  29572. "taaccount.QueryHisAmountLogRsp": {
  29573. "type": "object",
  29574. "required": [
  29575. "accountid",
  29576. "amount",
  29577. "amountadjusttype",
  29578. "autoid",
  29579. "balance",
  29580. "createtime",
  29581. "currentbalance",
  29582. "histradedate",
  29583. "operatetype"
  29584. ],
  29585. "properties": {
  29586. "OPERATETYPENAME": {
  29587. "description": "资金操作类型名称",
  29588. "type": "string"
  29589. },
  29590. "accountid": {
  29591. "description": "资金账户ID",
  29592. "type": "integer"
  29593. },
  29594. "agoodscode": {
  29595. "description": "竞拍商品代码",
  29596. "type": "string"
  29597. },
  29598. "agoodsname": {
  29599. "description": "竞拍商品名称",
  29600. "type": "string"
  29601. },
  29602. "amount": {
  29603. "description": "资金金额",
  29604. "type": "number"
  29605. },
  29606. "amountadjusttype": {
  29607. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  29608. "type": "integer"
  29609. },
  29610. "autoid": {
  29611. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  29612. "type": "integer"
  29613. },
  29614. "balance": {
  29615. "description": "期初余额",
  29616. "type": "number"
  29617. },
  29618. "businesscode": {
  29619. "description": "业务编号",
  29620. "type": "integer"
  29621. },
  29622. "createtime": {
  29623. "description": "发生时间",
  29624. "type": "string"
  29625. },
  29626. "currencyid": {
  29627. "description": "币种ID",
  29628. "type": "integer"
  29629. },
  29630. "currentbalance": {
  29631. "description": "期末余额(变动后金额)",
  29632. "type": "number"
  29633. },
  29634. "dgoodscode": {
  29635. "description": "交割商品代码",
  29636. "type": "string"
  29637. },
  29638. "dgoodsname": {
  29639. "description": "交割商品名称",
  29640. "type": "string"
  29641. },
  29642. "goodscode": {
  29643. "description": "商品代码",
  29644. "type": "string"
  29645. },
  29646. "goodsid": {
  29647. "description": "商品ID",
  29648. "type": "integer"
  29649. },
  29650. "goodsname": {
  29651. "description": "商品名称",
  29652. "type": "string"
  29653. },
  29654. "histradedate": {
  29655. "description": "历史交易日",
  29656. "type": "string"
  29657. },
  29658. "isvaliddata": {
  29659. "description": "是否有效 - 0:无效 1:有效",
  29660. "type": "integer"
  29661. },
  29662. "marketid": {
  29663. "description": "市场ID",
  29664. "type": "integer"
  29665. },
  29666. "marketname": {
  29667. "description": "市场名称",
  29668. "type": "string"
  29669. },
  29670. "moneyticket": {
  29671. "description": "资金流水号:银行端流水号",
  29672. "type": "integer"
  29673. },
  29674. "operatetype": {
  29675. "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:营销收款",
  29676. "type": "integer"
  29677. },
  29678. "relationorderid": {
  29679. "description": "关联单号",
  29680. "type": "string"
  29681. },
  29682. "remark": {
  29683. "description": "备注",
  29684. "type": "string"
  29685. },
  29686. "trademode": {
  29687. "description": "交易模式",
  29688. "type": "integer"
  29689. }
  29690. }
  29691. },
  29692. "trade.QueryRecieptOrderRsp": {
  29693. "type": "object",
  29694. "required": [
  29695. "ordertime"
  29696. ],
  29697. "properties": {
  29698. "accountName": {
  29699. "description": "所属账号名称(已脱敏)",
  29700. "type": "string"
  29701. },
  29702. "accountid": {
  29703. "description": "资金账号",
  29704. "type": "integer"
  29705. },
  29706. "buyorsell": {
  29707. "description": "方向 - 0:买 1:卖",
  29708. "type": "integer"
  29709. },
  29710. "enableqty": {
  29711. "description": "可摘数量",
  29712. "type": "integer"
  29713. },
  29714. "goodscode": {
  29715. "description": "商品代码",
  29716. "type": "string"
  29717. },
  29718. "goodsid": {
  29719. "description": "商品ID",
  29720. "type": "integer"
  29721. },
  29722. "goodsname": {
  29723. "description": "商品名称",
  29724. "type": "string"
  29725. },
  29726. "orderid": {
  29727. "description": "委托单号",
  29728. "type": "string"
  29729. },
  29730. "orderprice": {
  29731. "description": "委托价格",
  29732. "type": "number"
  29733. },
  29734. "ordertime": {
  29735. "description": "委托时间",
  29736. "type": "string"
  29737. },
  29738. "tradedate": {
  29739. "description": "交易日(yyyyMMdd)",
  29740. "type": "string"
  29741. }
  29742. }
  29743. },
  29744. "user.LoginQueryRsp": {
  29745. "type": "object",
  29746. "properties": {
  29747. "areaRoles": {
  29748. "description": "所属角色信息",
  29749. "type": "array",
  29750. "items": {
  29751. "$ref": "#/definitions/models.Arearole"
  29752. }
  29753. },
  29754. "externalExchanges": {
  29755. "description": "外部交易所",
  29756. "type": "array",
  29757. "items": {
  29758. "$ref": "#/definitions/models.Externalexchange"
  29759. }
  29760. },
  29761. "goodsgroups": {
  29762. "description": "商品组",
  29763. "type": "array",
  29764. "items": {
  29765. "$ref": "#/definitions/models.Goodsgroup"
  29766. }
  29767. },
  29768. "loginAccount": {
  29769. "description": "登录账号",
  29770. "type": "object",
  29771. "$ref": "#/definitions/models.Loginaccount"
  29772. },
  29773. "markets": {
  29774. "description": "市场",
  29775. "type": "array",
  29776. "items": {
  29777. "$ref": "#/definitions/models.Market"
  29778. }
  29779. },
  29780. "systemParams": {
  29781. "description": "系统参数",
  29782. "type": "array",
  29783. "items": {
  29784. "$ref": "#/definitions/models.Systemparam"
  29785. }
  29786. },
  29787. "userAccount": {
  29788. "description": "用户账号",
  29789. "type": "object",
  29790. "$ref": "#/definitions/models.Useraccount"
  29791. },
  29792. "userInfo": {
  29793. "description": "用户信息",
  29794. "type": "object",
  29795. "$ref": "#/definitions/models.Userinfo"
  29796. },
  29797. "username": {
  29798. "description": "用户姓名",
  29799. "type": "string"
  29800. }
  29801. }
  29802. }
  29803. },
  29804. "securityDefinitions": {
  29805. "ApiKeyAuth": {
  29806. "type": "apiKey",
  29807. "name": "Authorization",
  29808. "in": "header"
  29809. }
  29810. }
  29811. }`
  29812. type swaggerInfo struct {
  29813. Version string
  29814. Host string
  29815. BasePath string
  29816. Schemes []string
  29817. Title string
  29818. Description string
  29819. }
  29820. // SwaggerInfo holds exported Swagger Info so clients can modify it
  29821. var SwaggerInfo = swaggerInfo{
  29822. Version: "1.0",
  29823. Host: "",
  29824. BasePath: "/api",
  29825. Schemes: []string{},
  29826. Title: "MTP2.0 查询服务 API",
  29827. Description: "新的查询服务,替代原通用查询服务。游客Token:c886a057f3d820d4dbc41473686c7c2d",
  29828. }
  29829. type s struct{}
  29830. func (s *s) ReadDoc() string {
  29831. sInfo := SwaggerInfo
  29832. sInfo.Description = strings.Replace(sInfo.Description, "\n", "\\n", -1)
  29833. t, err := template.New("swagger_info").Funcs(template.FuncMap{
  29834. "marshal": func(v interface{}) string {
  29835. a, _ := json.Marshal(v)
  29836. return string(a)
  29837. },
  29838. }).Parse(doc)
  29839. if err != nil {
  29840. return doc
  29841. }
  29842. var tpl bytes.Buffer
  29843. if err := t.Execute(&tpl, sInfo); err != nil {
  29844. return doc
  29845. }
  29846. return tpl.String()
  29847. }
  29848. func init() {
  29849. swag.Register(swag.Name, &s{})
  29850. }