docs.go 1.2 MB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402640364046405640664076408640964106411641264136414641564166417641864196420642164226423642464256426642764286429643064316432643364346435643664376438643964406441644264436444644564466447644864496450645164526453645464556456645764586459646064616462646364646465646664676468646964706471647264736474647564766477647864796480648164826483648464856486648764886489649064916492649364946495649664976498649965006501650265036504650565066507650865096510651165126513651465156516651765186519652065216522652365246525652665276528652965306531653265336534653565366537653865396540654165426543654465456546654765486549655065516552655365546555655665576558655965606561656265636564656565666567656865696570657165726573657465756576657765786579658065816582658365846585658665876588658965906591659265936594659565966597659865996600660166026603660466056606660766086609661066116612661366146615661666176618661966206621662266236624662566266627662866296630663166326633663466356636663766386639664066416642664366446645664666476648664966506651665266536654665566566657665866596660666166626663666466656666666766686669667066716672667366746675667666776678667966806681668266836684668566866687668866896690669166926693669466956696669766986699670067016702670367046705670667076708670967106711671267136714671567166717671867196720672167226723672467256726672767286729673067316732673367346735673667376738673967406741674267436744674567466747674867496750675167526753675467556756675767586759676067616762676367646765676667676768676967706771677267736774677567766777677867796780678167826783678467856786678767886789679067916792679367946795679667976798679968006801680268036804680568066807680868096810681168126813681468156816681768186819682068216822682368246825682668276828682968306831683268336834683568366837683868396840684168426843684468456846684768486849685068516852685368546855685668576858685968606861686268636864686568666867686868696870687168726873687468756876687768786879688068816882688368846885688668876888688968906891689268936894689568966897689868996900690169026903690469056906690769086909691069116912691369146915691669176918691969206921692269236924692569266927692869296930693169326933693469356936693769386939694069416942694369446945694669476948694969506951695269536954695569566957695869596960696169626963696469656966696769686969697069716972697369746975697669776978697969806981698269836984698569866987698869896990699169926993699469956996699769986999700070017002700370047005700670077008700970107011701270137014701570167017701870197020702170227023702470257026702770287029703070317032703370347035703670377038703970407041704270437044704570467047704870497050705170527053705470557056705770587059706070617062706370647065706670677068706970707071707270737074707570767077707870797080708170827083708470857086708770887089709070917092709370947095709670977098709971007101710271037104710571067107710871097110711171127113711471157116711771187119712071217122712371247125712671277128712971307131713271337134713571367137713871397140714171427143714471457146714771487149715071517152715371547155715671577158715971607161716271637164716571667167716871697170717171727173717471757176717771787179718071817182718371847185718671877188718971907191719271937194719571967197719871997200720172027203720472057206720772087209721072117212721372147215721672177218721972207221722272237224722572267227722872297230723172327233723472357236723772387239724072417242724372447245724672477248724972507251725272537254725572567257725872597260726172627263726472657266726772687269727072717272727372747275727672777278727972807281728272837284728572867287728872897290729172927293729472957296729772987299730073017302730373047305730673077308730973107311731273137314731573167317731873197320732173227323732473257326732773287329733073317332733373347335733673377338733973407341734273437344734573467347734873497350735173527353735473557356735773587359736073617362736373647365736673677368736973707371737273737374737573767377737873797380738173827383738473857386738773887389739073917392739373947395739673977398739974007401740274037404740574067407740874097410741174127413741474157416741774187419742074217422742374247425742674277428742974307431743274337434743574367437743874397440744174427443744474457446744774487449745074517452745374547455745674577458745974607461746274637464746574667467746874697470747174727473747474757476747774787479748074817482748374847485748674877488748974907491749274937494749574967497749874997500750175027503750475057506750775087509751075117512751375147515751675177518751975207521752275237524752575267527752875297530753175327533753475357536753775387539754075417542754375447545754675477548754975507551755275537554755575567557755875597560756175627563756475657566756775687569757075717572757375747575757675777578757975807581758275837584758575867587758875897590759175927593759475957596759775987599760076017602760376047605760676077608760976107611761276137614761576167617761876197620762176227623762476257626762776287629763076317632763376347635763676377638763976407641764276437644764576467647764876497650765176527653765476557656765776587659766076617662766376647665766676677668766976707671767276737674767576767677767876797680768176827683768476857686768776887689769076917692769376947695769676977698769977007701770277037704770577067707770877097710771177127713771477157716771777187719772077217722772377247725772677277728772977307731773277337734773577367737773877397740774177427743774477457746774777487749775077517752775377547755775677577758775977607761776277637764776577667767776877697770777177727773777477757776777777787779778077817782778377847785778677877788778977907791779277937794779577967797779877997800780178027803780478057806780778087809781078117812781378147815781678177818781978207821782278237824782578267827782878297830783178327833783478357836783778387839784078417842784378447845784678477848784978507851785278537854785578567857785878597860786178627863786478657866786778687869787078717872787378747875787678777878787978807881788278837884788578867887788878897890789178927893789478957896789778987899790079017902790379047905790679077908790979107911791279137914791579167917791879197920792179227923792479257926792779287929793079317932793379347935793679377938793979407941794279437944794579467947794879497950795179527953795479557956795779587959796079617962796379647965796679677968796979707971797279737974797579767977797879797980798179827983798479857986798779887989799079917992799379947995799679977998799980008001800280038004800580068007800880098010801180128013801480158016801780188019802080218022802380248025802680278028802980308031803280338034803580368037803880398040804180428043804480458046804780488049805080518052805380548055805680578058805980608061806280638064806580668067806880698070807180728073807480758076807780788079808080818082808380848085808680878088808980908091809280938094809580968097809880998100810181028103810481058106810781088109811081118112811381148115811681178118811981208121812281238124812581268127812881298130813181328133813481358136813781388139814081418142814381448145814681478148814981508151815281538154815581568157815881598160816181628163816481658166816781688169817081718172817381748175817681778178817981808181818281838184818581868187818881898190819181928193819481958196819781988199820082018202820382048205820682078208820982108211821282138214821582168217821882198220822182228223822482258226822782288229823082318232823382348235823682378238823982408241824282438244824582468247824882498250825182528253825482558256825782588259826082618262826382648265826682678268826982708271827282738274827582768277827882798280828182828283828482858286828782888289829082918292829382948295829682978298829983008301830283038304830583068307830883098310831183128313831483158316831783188319832083218322832383248325832683278328832983308331833283338334833583368337833883398340834183428343834483458346834783488349835083518352835383548355835683578358835983608361836283638364836583668367836883698370837183728373837483758376837783788379838083818382838383848385838683878388838983908391839283938394839583968397839883998400840184028403840484058406840784088409841084118412841384148415841684178418841984208421842284238424842584268427842884298430843184328433843484358436843784388439844084418442844384448445844684478448844984508451845284538454845584568457845884598460846184628463846484658466846784688469847084718472847384748475847684778478847984808481848284838484848584868487848884898490849184928493849484958496849784988499850085018502850385048505850685078508850985108511851285138514851585168517851885198520852185228523852485258526852785288529853085318532853385348535853685378538853985408541854285438544854585468547854885498550855185528553855485558556855785588559856085618562856385648565856685678568856985708571857285738574857585768577857885798580858185828583858485858586858785888589859085918592859385948595859685978598859986008601860286038604860586068607860886098610861186128613861486158616861786188619862086218622862386248625862686278628862986308631863286338634863586368637863886398640864186428643864486458646864786488649865086518652865386548655865686578658865986608661866286638664866586668667866886698670867186728673867486758676867786788679868086818682868386848685868686878688868986908691869286938694869586968697869886998700870187028703870487058706870787088709871087118712871387148715871687178718871987208721872287238724872587268727872887298730873187328733873487358736873787388739874087418742874387448745874687478748874987508751875287538754875587568757875887598760876187628763876487658766876787688769877087718772877387748775877687778778877987808781878287838784878587868787878887898790879187928793879487958796879787988799880088018802880388048805880688078808880988108811881288138814881588168817881888198820882188228823882488258826882788288829883088318832883388348835883688378838883988408841884288438844884588468847884888498850885188528853885488558856885788588859886088618862886388648865886688678868886988708871887288738874887588768877887888798880888188828883888488858886888788888889889088918892889388948895889688978898889989008901890289038904890589068907890889098910891189128913891489158916891789188919892089218922892389248925892689278928892989308931893289338934893589368937893889398940894189428943894489458946894789488949895089518952895389548955895689578958895989608961896289638964896589668967896889698970897189728973897489758976897789788979898089818982898389848985898689878988898989908991899289938994899589968997899889999000900190029003900490059006900790089009901090119012901390149015901690179018901990209021902290239024902590269027902890299030903190329033903490359036903790389039904090419042904390449045904690479048904990509051905290539054905590569057905890599060906190629063906490659066906790689069907090719072907390749075907690779078907990809081908290839084908590869087908890899090909190929093909490959096909790989099910091019102910391049105910691079108910991109111911291139114911591169117911891199120912191229123912491259126912791289129913091319132913391349135913691379138913991409141914291439144914591469147914891499150915191529153915491559156915791589159916091619162916391649165916691679168916991709171917291739174917591769177917891799180918191829183918491859186918791889189919091919192919391949195919691979198919992009201920292039204920592069207920892099210921192129213921492159216921792189219922092219222922392249225922692279228922992309231923292339234923592369237923892399240924192429243924492459246924792489249925092519252925392549255925692579258925992609261926292639264926592669267926892699270927192729273927492759276927792789279928092819282928392849285928692879288928992909291929292939294929592969297929892999300930193029303930493059306930793089309931093119312931393149315931693179318931993209321932293239324932593269327932893299330933193329333933493359336933793389339934093419342934393449345934693479348934993509351935293539354935593569357935893599360936193629363936493659366936793689369937093719372937393749375937693779378937993809381938293839384938593869387938893899390939193929393939493959396939793989399940094019402940394049405940694079408940994109411941294139414941594169417941894199420942194229423942494259426942794289429943094319432943394349435943694379438943994409441944294439444944594469447944894499450945194529453945494559456945794589459946094619462946394649465946694679468946994709471947294739474947594769477947894799480948194829483948494859486948794889489949094919492949394949495949694979498949995009501950295039504950595069507950895099510951195129513951495159516951795189519952095219522952395249525952695279528952995309531953295339534953595369537953895399540954195429543954495459546954795489549955095519552955395549555955695579558955995609561956295639564956595669567956895699570957195729573957495759576957795789579958095819582958395849585958695879588958995909591959295939594959595969597959895999600960196029603960496059606960796089609961096119612961396149615961696179618961996209621962296239624962596269627962896299630963196329633963496359636963796389639964096419642964396449645964696479648964996509651965296539654965596569657965896599660966196629663966496659666966796689669967096719672967396749675967696779678967996809681968296839684968596869687968896899690969196929693969496959696969796989699970097019702970397049705970697079708970997109711971297139714971597169717971897199720972197229723972497259726972797289729973097319732973397349735973697379738973997409741974297439744974597469747974897499750975197529753975497559756975797589759976097619762976397649765976697679768976997709771977297739774977597769777977897799780978197829783978497859786978797889789979097919792979397949795979697979798979998009801980298039804980598069807980898099810981198129813981498159816981798189819982098219822982398249825982698279828982998309831983298339834983598369837983898399840984198429843984498459846984798489849985098519852985398549855985698579858985998609861986298639864986598669867986898699870987198729873987498759876987798789879988098819882988398849885988698879888988998909891989298939894989598969897989898999900990199029903990499059906990799089909991099119912991399149915991699179918991999209921992299239924992599269927992899299930993199329933993499359936993799389939994099419942994399449945994699479948994999509951995299539954995599569957995899599960996199629963996499659966996799689969997099719972997399749975997699779978997999809981998299839984998599869987998899899990999199929993999499959996999799989999100001000110002100031000410005100061000710008100091001010011100121001310014100151001610017100181001910020100211002210023100241002510026100271002810029100301003110032100331003410035100361003710038100391004010041100421004310044100451004610047100481004910050100511005210053100541005510056100571005810059100601006110062100631006410065100661006710068100691007010071100721007310074100751007610077100781007910080100811008210083100841008510086100871008810089100901009110092100931009410095100961009710098100991010010101101021010310104101051010610107101081010910110101111011210113101141011510116101171011810119101201012110122101231012410125101261012710128101291013010131101321013310134101351013610137101381013910140101411014210143101441014510146101471014810149101501015110152101531015410155101561015710158101591016010161101621016310164101651016610167101681016910170101711017210173101741017510176101771017810179101801018110182101831018410185101861018710188101891019010191101921019310194101951019610197101981019910200102011020210203102041020510206102071020810209102101021110212102131021410215102161021710218102191022010221102221022310224102251022610227102281022910230102311023210233102341023510236102371023810239102401024110242102431024410245102461024710248102491025010251102521025310254102551025610257102581025910260102611026210263102641026510266102671026810269102701027110272102731027410275102761027710278102791028010281102821028310284102851028610287102881028910290102911029210293102941029510296102971029810299103001030110302103031030410305103061030710308103091031010311103121031310314103151031610317103181031910320103211032210323103241032510326103271032810329103301033110332103331033410335103361033710338103391034010341103421034310344103451034610347103481034910350103511035210353103541035510356103571035810359103601036110362103631036410365103661036710368103691037010371103721037310374103751037610377103781037910380103811038210383103841038510386103871038810389103901039110392103931039410395103961039710398103991040010401104021040310404104051040610407104081040910410104111041210413104141041510416104171041810419104201042110422104231042410425104261042710428104291043010431104321043310434104351043610437104381043910440104411044210443104441044510446104471044810449104501045110452104531045410455104561045710458104591046010461104621046310464104651046610467104681046910470104711047210473104741047510476104771047810479104801048110482104831048410485104861048710488104891049010491104921049310494104951049610497104981049910500105011050210503105041050510506105071050810509105101051110512105131051410515105161051710518105191052010521105221052310524105251052610527105281052910530105311053210533105341053510536105371053810539105401054110542105431054410545105461054710548105491055010551105521055310554105551055610557105581055910560105611056210563105641056510566105671056810569105701057110572105731057410575105761057710578105791058010581105821058310584105851058610587105881058910590105911059210593105941059510596105971059810599106001060110602106031060410605106061060710608106091061010611106121061310614106151061610617106181061910620106211062210623106241062510626106271062810629106301063110632106331063410635106361063710638106391064010641106421064310644106451064610647106481064910650106511065210653106541065510656106571065810659106601066110662106631066410665106661066710668106691067010671106721067310674106751067610677106781067910680106811068210683106841068510686106871068810689106901069110692106931069410695106961069710698106991070010701107021070310704107051070610707107081070910710107111071210713107141071510716107171071810719107201072110722107231072410725107261072710728107291073010731107321073310734107351073610737107381073910740107411074210743107441074510746107471074810749107501075110752107531075410755107561075710758107591076010761107621076310764107651076610767107681076910770107711077210773107741077510776107771077810779107801078110782107831078410785107861078710788107891079010791107921079310794107951079610797107981079910800108011080210803108041080510806108071080810809108101081110812108131081410815108161081710818108191082010821108221082310824108251082610827108281082910830108311083210833108341083510836108371083810839108401084110842108431084410845108461084710848108491085010851108521085310854108551085610857108581085910860108611086210863108641086510866108671086810869108701087110872108731087410875108761087710878108791088010881108821088310884108851088610887108881088910890108911089210893108941089510896108971089810899109001090110902109031090410905109061090710908109091091010911109121091310914109151091610917109181091910920109211092210923109241092510926109271092810929109301093110932109331093410935109361093710938109391094010941109421094310944109451094610947109481094910950109511095210953109541095510956109571095810959109601096110962109631096410965109661096710968109691097010971109721097310974109751097610977109781097910980109811098210983109841098510986109871098810989109901099110992109931099410995109961099710998109991100011001110021100311004110051100611007110081100911010110111101211013110141101511016110171101811019110201102111022110231102411025110261102711028110291103011031110321103311034110351103611037110381103911040110411104211043110441104511046110471104811049110501105111052110531105411055110561105711058110591106011061110621106311064110651106611067110681106911070110711107211073110741107511076110771107811079110801108111082110831108411085110861108711088110891109011091110921109311094110951109611097110981109911100111011110211103111041110511106111071110811109111101111111112111131111411115111161111711118111191112011121111221112311124111251112611127111281112911130111311113211133111341113511136111371113811139111401114111142111431114411145111461114711148111491115011151111521115311154111551115611157111581115911160111611116211163111641116511166111671116811169111701117111172111731117411175111761117711178111791118011181111821118311184111851118611187111881118911190111911119211193111941119511196111971119811199112001120111202112031120411205112061120711208112091121011211112121121311214112151121611217112181121911220112211122211223112241122511226112271122811229112301123111232112331123411235112361123711238112391124011241112421124311244112451124611247112481124911250112511125211253112541125511256112571125811259112601126111262112631126411265112661126711268112691127011271112721127311274112751127611277112781127911280112811128211283112841128511286112871128811289112901129111292112931129411295112961129711298112991130011301113021130311304113051130611307113081130911310113111131211313113141131511316113171131811319113201132111322113231132411325113261132711328113291133011331113321133311334113351133611337113381133911340113411134211343113441134511346113471134811349113501135111352113531135411355113561135711358113591136011361113621136311364113651136611367113681136911370113711137211373113741137511376113771137811379113801138111382113831138411385113861138711388113891139011391113921139311394113951139611397113981139911400114011140211403114041140511406114071140811409114101141111412114131141411415114161141711418114191142011421114221142311424114251142611427114281142911430114311143211433114341143511436114371143811439114401144111442114431144411445114461144711448114491145011451114521145311454114551145611457114581145911460114611146211463114641146511466114671146811469114701147111472114731147411475114761147711478114791148011481114821148311484114851148611487114881148911490114911149211493114941149511496114971149811499115001150111502115031150411505115061150711508115091151011511115121151311514115151151611517115181151911520115211152211523115241152511526115271152811529115301153111532115331153411535115361153711538115391154011541115421154311544115451154611547115481154911550115511155211553115541155511556115571155811559115601156111562115631156411565115661156711568115691157011571115721157311574115751157611577115781157911580115811158211583115841158511586115871158811589115901159111592115931159411595115961159711598115991160011601116021160311604116051160611607116081160911610116111161211613116141161511616116171161811619116201162111622116231162411625116261162711628116291163011631116321163311634116351163611637116381163911640116411164211643116441164511646116471164811649116501165111652116531165411655116561165711658116591166011661116621166311664116651166611667116681166911670116711167211673116741167511676116771167811679116801168111682116831168411685116861168711688116891169011691116921169311694116951169611697116981169911700117011170211703117041170511706117071170811709117101171111712117131171411715117161171711718117191172011721117221172311724117251172611727117281172911730117311173211733117341173511736117371173811739117401174111742117431174411745117461174711748117491175011751117521175311754117551175611757117581175911760117611176211763117641176511766117671176811769117701177111772117731177411775117761177711778117791178011781117821178311784117851178611787117881178911790117911179211793117941179511796117971179811799118001180111802118031180411805118061180711808118091181011811118121181311814118151181611817118181181911820118211182211823118241182511826118271182811829118301183111832118331183411835118361183711838118391184011841118421184311844118451184611847118481184911850118511185211853118541185511856118571185811859118601186111862118631186411865118661186711868118691187011871118721187311874118751187611877118781187911880118811188211883118841188511886118871188811889118901189111892118931189411895118961189711898118991190011901119021190311904119051190611907119081190911910119111191211913119141191511916119171191811919119201192111922119231192411925119261192711928119291193011931119321193311934119351193611937119381193911940119411194211943119441194511946119471194811949119501195111952119531195411955119561195711958119591196011961119621196311964119651196611967119681196911970119711197211973119741197511976119771197811979119801198111982119831198411985119861198711988119891199011991119921199311994119951199611997119981199912000120011200212003120041200512006120071200812009120101201112012120131201412015120161201712018120191202012021120221202312024120251202612027120281202912030120311203212033120341203512036120371203812039120401204112042120431204412045120461204712048120491205012051120521205312054120551205612057120581205912060120611206212063120641206512066120671206812069120701207112072120731207412075120761207712078120791208012081120821208312084120851208612087120881208912090120911209212093120941209512096120971209812099121001210112102121031210412105121061210712108121091211012111121121211312114121151211612117121181211912120121211212212123121241212512126121271212812129121301213112132121331213412135121361213712138121391214012141121421214312144121451214612147121481214912150121511215212153121541215512156121571215812159121601216112162121631216412165121661216712168121691217012171121721217312174121751217612177121781217912180121811218212183121841218512186121871218812189121901219112192121931219412195121961219712198121991220012201122021220312204122051220612207122081220912210122111221212213122141221512216122171221812219122201222112222122231222412225122261222712228122291223012231122321223312234122351223612237122381223912240122411224212243122441224512246122471224812249122501225112252122531225412255122561225712258122591226012261122621226312264122651226612267122681226912270122711227212273122741227512276122771227812279122801228112282122831228412285122861228712288122891229012291122921229312294122951229612297122981229912300123011230212303123041230512306123071230812309123101231112312123131231412315123161231712318123191232012321123221232312324123251232612327123281232912330123311233212333123341233512336123371233812339123401234112342123431234412345123461234712348123491235012351123521235312354123551235612357123581235912360123611236212363123641236512366123671236812369123701237112372123731237412375123761237712378123791238012381123821238312384123851238612387123881238912390123911239212393123941239512396123971239812399124001240112402124031240412405124061240712408124091241012411124121241312414124151241612417124181241912420124211242212423124241242512426124271242812429124301243112432124331243412435124361243712438124391244012441124421244312444124451244612447124481244912450124511245212453124541245512456124571245812459124601246112462124631246412465124661246712468124691247012471124721247312474124751247612477124781247912480124811248212483124841248512486124871248812489124901249112492124931249412495124961249712498124991250012501125021250312504125051250612507125081250912510125111251212513125141251512516125171251812519125201252112522125231252412525125261252712528125291253012531125321253312534125351253612537125381253912540125411254212543125441254512546125471254812549125501255112552125531255412555125561255712558125591256012561125621256312564125651256612567125681256912570125711257212573125741257512576125771257812579125801258112582125831258412585125861258712588125891259012591125921259312594125951259612597125981259912600126011260212603126041260512606126071260812609126101261112612126131261412615126161261712618126191262012621126221262312624126251262612627126281262912630126311263212633126341263512636126371263812639126401264112642126431264412645126461264712648126491265012651126521265312654126551265612657126581265912660126611266212663126641266512666126671266812669126701267112672126731267412675126761267712678126791268012681126821268312684126851268612687126881268912690126911269212693126941269512696126971269812699127001270112702127031270412705127061270712708127091271012711127121271312714127151271612717127181271912720127211272212723127241272512726127271272812729127301273112732127331273412735127361273712738127391274012741127421274312744127451274612747127481274912750127511275212753127541275512756127571275812759127601276112762127631276412765127661276712768127691277012771127721277312774127751277612777127781277912780127811278212783127841278512786127871278812789127901279112792127931279412795127961279712798127991280012801128021280312804128051280612807128081280912810128111281212813128141281512816128171281812819128201282112822128231282412825128261282712828128291283012831128321283312834128351283612837128381283912840128411284212843128441284512846128471284812849128501285112852128531285412855128561285712858128591286012861128621286312864128651286612867128681286912870128711287212873128741287512876128771287812879128801288112882128831288412885128861288712888128891289012891128921289312894128951289612897128981289912900129011290212903129041290512906129071290812909129101291112912129131291412915129161291712918129191292012921129221292312924129251292612927129281292912930129311293212933129341293512936129371293812939129401294112942129431294412945129461294712948129491295012951129521295312954129551295612957129581295912960129611296212963129641296512966129671296812969129701297112972129731297412975129761297712978129791298012981129821298312984129851298612987129881298912990129911299212993129941299512996129971299812999130001300113002130031300413005130061300713008130091301013011130121301313014130151301613017130181301913020130211302213023130241302513026130271302813029130301303113032130331303413035130361303713038130391304013041130421304313044130451304613047130481304913050130511305213053130541305513056130571305813059130601306113062130631306413065130661306713068130691307013071130721307313074130751307613077130781307913080130811308213083130841308513086130871308813089130901309113092130931309413095130961309713098130991310013101131021310313104131051310613107131081310913110131111311213113131141311513116131171311813119131201312113122131231312413125131261312713128131291313013131131321313313134131351313613137131381313913140131411314213143131441314513146131471314813149131501315113152131531315413155131561315713158131591316013161131621316313164131651316613167131681316913170131711317213173131741317513176131771317813179131801318113182131831318413185131861318713188131891319013191131921319313194131951319613197131981319913200132011320213203132041320513206132071320813209132101321113212132131321413215132161321713218132191322013221132221322313224132251322613227132281322913230132311323213233132341323513236132371323813239132401324113242132431324413245132461324713248132491325013251132521325313254132551325613257132581325913260132611326213263132641326513266132671326813269132701327113272132731327413275132761327713278132791328013281132821328313284132851328613287132881328913290132911329213293132941329513296132971329813299133001330113302133031330413305133061330713308133091331013311133121331313314133151331613317133181331913320133211332213323133241332513326133271332813329133301333113332133331333413335133361333713338133391334013341133421334313344133451334613347133481334913350133511335213353133541335513356133571335813359133601336113362133631336413365133661336713368133691337013371133721337313374133751337613377133781337913380133811338213383133841338513386133871338813389133901339113392133931339413395133961339713398133991340013401134021340313404134051340613407134081340913410134111341213413134141341513416134171341813419134201342113422134231342413425134261342713428134291343013431134321343313434134351343613437134381343913440134411344213443134441344513446134471344813449134501345113452134531345413455134561345713458134591346013461134621346313464134651346613467134681346913470134711347213473134741347513476134771347813479134801348113482134831348413485134861348713488134891349013491134921349313494134951349613497134981349913500135011350213503135041350513506135071350813509135101351113512135131351413515135161351713518135191352013521135221352313524135251352613527135281352913530135311353213533135341353513536135371353813539135401354113542135431354413545135461354713548135491355013551135521355313554135551355613557135581355913560135611356213563135641356513566135671356813569135701357113572135731357413575135761357713578135791358013581135821358313584135851358613587135881358913590135911359213593135941359513596135971359813599136001360113602136031360413605136061360713608136091361013611136121361313614136151361613617136181361913620136211362213623136241362513626136271362813629136301363113632136331363413635136361363713638136391364013641136421364313644136451364613647136481364913650136511365213653136541365513656136571365813659136601366113662136631366413665136661366713668136691367013671136721367313674136751367613677136781367913680136811368213683136841368513686136871368813689136901369113692136931369413695136961369713698136991370013701137021370313704137051370613707137081370913710137111371213713137141371513716137171371813719137201372113722137231372413725137261372713728137291373013731137321373313734137351373613737137381373913740137411374213743137441374513746137471374813749137501375113752137531375413755137561375713758137591376013761137621376313764137651376613767137681376913770137711377213773137741377513776137771377813779137801378113782137831378413785137861378713788137891379013791137921379313794137951379613797137981379913800138011380213803138041380513806138071380813809138101381113812138131381413815138161381713818138191382013821138221382313824138251382613827138281382913830138311383213833138341383513836138371383813839138401384113842138431384413845138461384713848138491385013851138521385313854138551385613857138581385913860138611386213863138641386513866138671386813869138701387113872138731387413875138761387713878138791388013881138821388313884138851388613887138881388913890138911389213893138941389513896138971389813899139001390113902139031390413905139061390713908139091391013911139121391313914139151391613917139181391913920139211392213923139241392513926139271392813929139301393113932139331393413935139361393713938139391394013941139421394313944139451394613947139481394913950139511395213953139541395513956139571395813959139601396113962139631396413965139661396713968139691397013971139721397313974139751397613977139781397913980139811398213983139841398513986139871398813989139901399113992139931399413995139961399713998139991400014001140021400314004140051400614007140081400914010140111401214013140141401514016140171401814019140201402114022140231402414025140261402714028140291403014031140321403314034140351403614037140381403914040140411404214043140441404514046140471404814049140501405114052140531405414055140561405714058140591406014061140621406314064140651406614067140681406914070140711407214073140741407514076140771407814079140801408114082140831408414085140861408714088140891409014091140921409314094140951409614097140981409914100141011410214103141041410514106141071410814109141101411114112141131411414115141161411714118141191412014121141221412314124141251412614127141281412914130141311413214133141341413514136141371413814139141401414114142141431414414145141461414714148141491415014151141521415314154141551415614157141581415914160141611416214163141641416514166141671416814169141701417114172141731417414175141761417714178141791418014181141821418314184141851418614187141881418914190141911419214193141941419514196141971419814199142001420114202142031420414205142061420714208142091421014211142121421314214142151421614217142181421914220142211422214223142241422514226142271422814229142301423114232142331423414235142361423714238142391424014241142421424314244142451424614247142481424914250142511425214253142541425514256142571425814259142601426114262142631426414265142661426714268142691427014271142721427314274142751427614277142781427914280142811428214283142841428514286142871428814289142901429114292142931429414295142961429714298142991430014301143021430314304143051430614307143081430914310143111431214313143141431514316143171431814319143201432114322143231432414325143261432714328143291433014331143321433314334143351433614337143381433914340143411434214343143441434514346143471434814349143501435114352143531435414355143561435714358143591436014361143621436314364143651436614367143681436914370143711437214373143741437514376143771437814379143801438114382143831438414385143861438714388143891439014391143921439314394143951439614397143981439914400144011440214403144041440514406144071440814409144101441114412144131441414415144161441714418144191442014421144221442314424144251442614427144281442914430144311443214433144341443514436144371443814439144401444114442144431444414445144461444714448144491445014451144521445314454144551445614457144581445914460144611446214463144641446514466144671446814469144701447114472144731447414475144761447714478144791448014481144821448314484144851448614487144881448914490144911449214493144941449514496144971449814499145001450114502145031450414505145061450714508145091451014511145121451314514145151451614517145181451914520145211452214523145241452514526145271452814529145301453114532145331453414535145361453714538145391454014541145421454314544145451454614547145481454914550145511455214553145541455514556145571455814559145601456114562145631456414565145661456714568145691457014571145721457314574145751457614577145781457914580145811458214583145841458514586145871458814589145901459114592145931459414595145961459714598145991460014601146021460314604146051460614607146081460914610146111461214613146141461514616146171461814619146201462114622146231462414625146261462714628146291463014631146321463314634146351463614637146381463914640146411464214643146441464514646146471464814649146501465114652146531465414655146561465714658146591466014661146621466314664146651466614667146681466914670146711467214673146741467514676146771467814679146801468114682146831468414685146861468714688146891469014691146921469314694146951469614697146981469914700147011470214703147041470514706147071470814709147101471114712147131471414715147161471714718147191472014721147221472314724147251472614727147281472914730147311473214733147341473514736147371473814739147401474114742147431474414745147461474714748147491475014751147521475314754147551475614757147581475914760147611476214763147641476514766147671476814769147701477114772147731477414775147761477714778147791478014781147821478314784147851478614787147881478914790147911479214793147941479514796147971479814799148001480114802148031480414805148061480714808148091481014811148121481314814148151481614817148181481914820148211482214823148241482514826148271482814829148301483114832148331483414835148361483714838148391484014841148421484314844148451484614847148481484914850148511485214853148541485514856148571485814859148601486114862148631486414865148661486714868148691487014871148721487314874148751487614877148781487914880148811488214883148841488514886148871488814889148901489114892148931489414895148961489714898148991490014901149021490314904149051490614907149081490914910149111491214913149141491514916149171491814919149201492114922149231492414925149261492714928149291493014931149321493314934149351493614937149381493914940149411494214943149441494514946149471494814949149501495114952149531495414955149561495714958149591496014961149621496314964149651496614967149681496914970149711497214973149741497514976149771497814979149801498114982149831498414985149861498714988149891499014991149921499314994149951499614997149981499915000150011500215003150041500515006150071500815009150101501115012150131501415015150161501715018150191502015021150221502315024150251502615027150281502915030150311503215033150341503515036150371503815039150401504115042150431504415045150461504715048150491505015051150521505315054150551505615057150581505915060150611506215063150641506515066150671506815069150701507115072150731507415075150761507715078150791508015081150821508315084150851508615087150881508915090150911509215093150941509515096150971509815099151001510115102151031510415105151061510715108151091511015111151121511315114151151511615117151181511915120151211512215123151241512515126151271512815129151301513115132151331513415135151361513715138151391514015141151421514315144151451514615147151481514915150151511515215153151541515515156151571515815159151601516115162151631516415165151661516715168151691517015171151721517315174151751517615177151781517915180151811518215183151841518515186151871518815189151901519115192151931519415195151961519715198151991520015201152021520315204152051520615207152081520915210152111521215213152141521515216152171521815219152201522115222152231522415225152261522715228152291523015231152321523315234152351523615237152381523915240152411524215243152441524515246152471524815249152501525115252152531525415255152561525715258152591526015261152621526315264152651526615267152681526915270152711527215273152741527515276152771527815279152801528115282152831528415285152861528715288152891529015291152921529315294152951529615297152981529915300153011530215303153041530515306153071530815309153101531115312153131531415315153161531715318153191532015321153221532315324153251532615327153281532915330153311533215333153341533515336153371533815339153401534115342153431534415345153461534715348153491535015351153521535315354153551535615357153581535915360153611536215363153641536515366153671536815369153701537115372153731537415375153761537715378153791538015381153821538315384153851538615387153881538915390153911539215393153941539515396153971539815399154001540115402154031540415405154061540715408154091541015411154121541315414154151541615417154181541915420154211542215423154241542515426154271542815429154301543115432154331543415435154361543715438154391544015441154421544315444154451544615447154481544915450154511545215453154541545515456154571545815459154601546115462154631546415465154661546715468154691547015471154721547315474154751547615477154781547915480154811548215483154841548515486154871548815489154901549115492154931549415495154961549715498154991550015501155021550315504155051550615507155081550915510155111551215513155141551515516155171551815519155201552115522155231552415525155261552715528155291553015531155321553315534155351553615537155381553915540155411554215543155441554515546155471554815549155501555115552155531555415555155561555715558155591556015561155621556315564155651556615567155681556915570155711557215573155741557515576155771557815579155801558115582155831558415585155861558715588155891559015591155921559315594155951559615597155981559915600156011560215603156041560515606156071560815609156101561115612156131561415615156161561715618156191562015621156221562315624156251562615627156281562915630156311563215633156341563515636156371563815639156401564115642156431564415645156461564715648156491565015651156521565315654156551565615657156581565915660156611566215663156641566515666156671566815669156701567115672156731567415675156761567715678156791568015681156821568315684156851568615687156881568915690156911569215693156941569515696156971569815699157001570115702157031570415705157061570715708157091571015711157121571315714157151571615717157181571915720157211572215723157241572515726157271572815729157301573115732157331573415735157361573715738157391574015741157421574315744157451574615747157481574915750157511575215753157541575515756157571575815759157601576115762157631576415765157661576715768157691577015771157721577315774157751577615777157781577915780157811578215783157841578515786157871578815789157901579115792157931579415795157961579715798157991580015801158021580315804158051580615807158081580915810158111581215813158141581515816158171581815819158201582115822158231582415825158261582715828158291583015831158321583315834158351583615837158381583915840158411584215843158441584515846158471584815849158501585115852158531585415855158561585715858158591586015861158621586315864158651586615867158681586915870158711587215873158741587515876158771587815879158801588115882158831588415885158861588715888158891589015891158921589315894158951589615897158981589915900159011590215903159041590515906159071590815909159101591115912159131591415915159161591715918159191592015921159221592315924159251592615927159281592915930159311593215933159341593515936159371593815939159401594115942159431594415945159461594715948159491595015951159521595315954159551595615957159581595915960159611596215963159641596515966159671596815969159701597115972159731597415975159761597715978159791598015981159821598315984159851598615987159881598915990159911599215993159941599515996159971599815999160001600116002160031600416005160061600716008160091601016011160121601316014160151601616017160181601916020160211602216023160241602516026160271602816029160301603116032160331603416035160361603716038160391604016041160421604316044160451604616047160481604916050160511605216053160541605516056160571605816059160601606116062160631606416065160661606716068160691607016071160721607316074160751607616077160781607916080160811608216083160841608516086160871608816089160901609116092160931609416095160961609716098160991610016101161021610316104161051610616107161081610916110161111611216113161141611516116161171611816119161201612116122161231612416125161261612716128161291613016131161321613316134161351613616137161381613916140161411614216143161441614516146161471614816149161501615116152161531615416155161561615716158161591616016161161621616316164161651616616167161681616916170161711617216173161741617516176161771617816179161801618116182161831618416185161861618716188161891619016191161921619316194161951619616197161981619916200162011620216203162041620516206162071620816209162101621116212162131621416215162161621716218162191622016221162221622316224162251622616227162281622916230162311623216233162341623516236162371623816239162401624116242162431624416245162461624716248162491625016251162521625316254162551625616257162581625916260162611626216263162641626516266162671626816269162701627116272162731627416275162761627716278162791628016281162821628316284162851628616287162881628916290162911629216293162941629516296162971629816299163001630116302163031630416305163061630716308163091631016311163121631316314163151631616317163181631916320163211632216323163241632516326163271632816329163301633116332163331633416335163361633716338163391634016341163421634316344163451634616347163481634916350163511635216353163541635516356163571635816359163601636116362163631636416365163661636716368163691637016371163721637316374163751637616377163781637916380163811638216383163841638516386163871638816389163901639116392163931639416395163961639716398163991640016401164021640316404164051640616407164081640916410164111641216413164141641516416164171641816419164201642116422164231642416425164261642716428164291643016431164321643316434164351643616437164381643916440164411644216443164441644516446164471644816449164501645116452164531645416455164561645716458164591646016461164621646316464164651646616467164681646916470164711647216473164741647516476164771647816479164801648116482164831648416485164861648716488164891649016491164921649316494164951649616497164981649916500165011650216503165041650516506165071650816509165101651116512165131651416515165161651716518165191652016521165221652316524165251652616527165281652916530165311653216533165341653516536165371653816539165401654116542165431654416545165461654716548165491655016551165521655316554165551655616557165581655916560165611656216563165641656516566165671656816569165701657116572165731657416575165761657716578165791658016581165821658316584165851658616587165881658916590165911659216593165941659516596165971659816599166001660116602166031660416605166061660716608166091661016611166121661316614166151661616617166181661916620166211662216623166241662516626166271662816629166301663116632166331663416635166361663716638166391664016641166421664316644166451664616647166481664916650166511665216653166541665516656166571665816659166601666116662166631666416665166661666716668166691667016671166721667316674166751667616677166781667916680166811668216683166841668516686166871668816689166901669116692166931669416695166961669716698166991670016701167021670316704167051670616707167081670916710167111671216713167141671516716167171671816719167201672116722167231672416725167261672716728167291673016731167321673316734167351673616737167381673916740167411674216743167441674516746167471674816749167501675116752167531675416755167561675716758167591676016761167621676316764167651676616767167681676916770167711677216773167741677516776167771677816779167801678116782167831678416785167861678716788167891679016791167921679316794167951679616797167981679916800168011680216803168041680516806168071680816809168101681116812168131681416815168161681716818168191682016821168221682316824168251682616827168281682916830168311683216833168341683516836168371683816839168401684116842168431684416845168461684716848168491685016851168521685316854168551685616857168581685916860168611686216863168641686516866168671686816869168701687116872168731687416875168761687716878168791688016881168821688316884168851688616887168881688916890168911689216893168941689516896168971689816899169001690116902169031690416905169061690716908169091691016911169121691316914169151691616917169181691916920169211692216923169241692516926169271692816929169301693116932169331693416935169361693716938169391694016941169421694316944169451694616947169481694916950169511695216953169541695516956169571695816959169601696116962169631696416965169661696716968169691697016971169721697316974169751697616977169781697916980169811698216983169841698516986169871698816989169901699116992169931699416995169961699716998169991700017001170021700317004170051700617007170081700917010170111701217013170141701517016170171701817019170201702117022170231702417025170261702717028170291703017031170321703317034170351703617037170381703917040170411704217043170441704517046170471704817049170501705117052170531705417055170561705717058170591706017061170621706317064170651706617067170681706917070170711707217073170741707517076170771707817079170801708117082170831708417085170861708717088170891709017091170921709317094170951709617097170981709917100171011710217103171041710517106171071710817109171101711117112171131711417115171161711717118171191712017121171221712317124171251712617127171281712917130171311713217133171341713517136171371713817139171401714117142171431714417145171461714717148171491715017151171521715317154171551715617157171581715917160171611716217163171641716517166171671716817169171701717117172171731717417175171761717717178171791718017181171821718317184171851718617187171881718917190171911719217193171941719517196171971719817199172001720117202172031720417205172061720717208172091721017211172121721317214172151721617217172181721917220172211722217223172241722517226172271722817229172301723117232172331723417235172361723717238172391724017241172421724317244172451724617247172481724917250172511725217253172541725517256172571725817259172601726117262172631726417265172661726717268172691727017271172721727317274172751727617277172781727917280172811728217283172841728517286172871728817289172901729117292172931729417295172961729717298172991730017301173021730317304173051730617307173081730917310173111731217313173141731517316173171731817319173201732117322173231732417325173261732717328173291733017331173321733317334173351733617337173381733917340173411734217343173441734517346173471734817349173501735117352173531735417355173561735717358173591736017361173621736317364173651736617367173681736917370173711737217373173741737517376173771737817379173801738117382173831738417385173861738717388173891739017391173921739317394173951739617397173981739917400174011740217403174041740517406174071740817409174101741117412174131741417415174161741717418174191742017421174221742317424174251742617427174281742917430174311743217433174341743517436174371743817439174401744117442174431744417445174461744717448174491745017451174521745317454174551745617457174581745917460174611746217463174641746517466174671746817469174701747117472174731747417475174761747717478174791748017481174821748317484174851748617487174881748917490174911749217493174941749517496174971749817499175001750117502175031750417505175061750717508175091751017511175121751317514175151751617517175181751917520175211752217523175241752517526175271752817529175301753117532175331753417535175361753717538175391754017541175421754317544175451754617547175481754917550175511755217553175541755517556175571755817559175601756117562175631756417565175661756717568175691757017571175721757317574175751757617577175781757917580175811758217583175841758517586175871758817589175901759117592175931759417595175961759717598175991760017601176021760317604176051760617607176081760917610176111761217613176141761517616176171761817619176201762117622176231762417625176261762717628176291763017631176321763317634176351763617637176381763917640176411764217643176441764517646176471764817649176501765117652176531765417655176561765717658176591766017661176621766317664176651766617667176681766917670176711767217673176741767517676176771767817679176801768117682176831768417685176861768717688176891769017691176921769317694176951769617697176981769917700177011770217703177041770517706177071770817709177101771117712177131771417715177161771717718177191772017721177221772317724177251772617727177281772917730177311773217733177341773517736177371773817739177401774117742177431774417745177461774717748177491775017751177521775317754177551775617757177581775917760177611776217763177641776517766177671776817769177701777117772177731777417775177761777717778177791778017781177821778317784177851778617787177881778917790177911779217793177941779517796177971779817799178001780117802178031780417805178061780717808178091781017811178121781317814178151781617817178181781917820178211782217823178241782517826178271782817829178301783117832178331783417835178361783717838178391784017841178421784317844178451784617847178481784917850178511785217853178541785517856178571785817859178601786117862178631786417865178661786717868178691787017871178721787317874178751787617877178781787917880178811788217883178841788517886178871788817889178901789117892178931789417895178961789717898178991790017901179021790317904179051790617907179081790917910179111791217913179141791517916179171791817919179201792117922179231792417925179261792717928179291793017931179321793317934179351793617937179381793917940179411794217943179441794517946179471794817949179501795117952179531795417955179561795717958179591796017961179621796317964179651796617967179681796917970179711797217973179741797517976179771797817979179801798117982179831798417985179861798717988179891799017991179921799317994179951799617997179981799918000180011800218003180041800518006180071800818009180101801118012180131801418015180161801718018180191802018021180221802318024180251802618027180281802918030180311803218033180341803518036180371803818039180401804118042180431804418045180461804718048180491805018051180521805318054180551805618057180581805918060180611806218063180641806518066180671806818069180701807118072180731807418075180761807718078180791808018081180821808318084180851808618087180881808918090180911809218093180941809518096180971809818099181001810118102181031810418105181061810718108181091811018111181121811318114181151811618117181181811918120181211812218123181241812518126181271812818129181301813118132181331813418135181361813718138181391814018141181421814318144181451814618147181481814918150181511815218153181541815518156181571815818159181601816118162181631816418165181661816718168181691817018171181721817318174181751817618177181781817918180181811818218183181841818518186181871818818189181901819118192181931819418195181961819718198181991820018201182021820318204182051820618207182081820918210182111821218213182141821518216182171821818219182201822118222182231822418225182261822718228182291823018231182321823318234182351823618237182381823918240182411824218243182441824518246182471824818249182501825118252182531825418255182561825718258182591826018261182621826318264182651826618267182681826918270182711827218273182741827518276182771827818279182801828118282182831828418285182861828718288182891829018291182921829318294182951829618297182981829918300183011830218303183041830518306183071830818309183101831118312183131831418315183161831718318183191832018321183221832318324183251832618327183281832918330183311833218333183341833518336183371833818339183401834118342183431834418345183461834718348183491835018351183521835318354183551835618357183581835918360183611836218363183641836518366183671836818369183701837118372183731837418375183761837718378183791838018381183821838318384183851838618387183881838918390183911839218393183941839518396183971839818399184001840118402184031840418405184061840718408184091841018411184121841318414184151841618417184181841918420184211842218423184241842518426184271842818429184301843118432184331843418435184361843718438184391844018441184421844318444184451844618447184481844918450184511845218453184541845518456184571845818459184601846118462184631846418465184661846718468184691847018471184721847318474184751847618477184781847918480184811848218483184841848518486184871848818489184901849118492184931849418495184961849718498184991850018501185021850318504185051850618507185081850918510185111851218513185141851518516185171851818519185201852118522185231852418525185261852718528185291853018531185321853318534185351853618537185381853918540185411854218543185441854518546185471854818549185501855118552185531855418555185561855718558185591856018561185621856318564185651856618567185681856918570185711857218573185741857518576185771857818579185801858118582185831858418585185861858718588185891859018591185921859318594185951859618597185981859918600186011860218603186041860518606186071860818609186101861118612186131861418615186161861718618186191862018621186221862318624186251862618627186281862918630186311863218633186341863518636186371863818639186401864118642186431864418645186461864718648186491865018651186521865318654186551865618657186581865918660186611866218663186641866518666186671866818669186701867118672186731867418675186761867718678186791868018681186821868318684186851868618687186881868918690186911869218693186941869518696186971869818699187001870118702187031870418705187061870718708187091871018711187121871318714187151871618717187181871918720187211872218723187241872518726187271872818729187301873118732187331873418735187361873718738187391874018741187421874318744187451874618747187481874918750187511875218753187541875518756187571875818759187601876118762187631876418765187661876718768187691877018771187721877318774187751877618777187781877918780187811878218783187841878518786187871878818789187901879118792187931879418795187961879718798187991880018801188021880318804188051880618807188081880918810188111881218813188141881518816188171881818819188201882118822188231882418825188261882718828188291883018831188321883318834188351883618837188381883918840188411884218843188441884518846188471884818849188501885118852188531885418855188561885718858188591886018861188621886318864188651886618867188681886918870188711887218873188741887518876188771887818879188801888118882188831888418885188861888718888188891889018891188921889318894188951889618897188981889918900189011890218903189041890518906189071890818909189101891118912189131891418915189161891718918189191892018921189221892318924189251892618927189281892918930189311893218933189341893518936189371893818939189401894118942189431894418945189461894718948189491895018951189521895318954189551895618957189581895918960189611896218963189641896518966189671896818969189701897118972189731897418975189761897718978189791898018981189821898318984189851898618987189881898918990189911899218993189941899518996189971899818999190001900119002190031900419005190061900719008190091901019011190121901319014190151901619017190181901919020190211902219023190241902519026190271902819029190301903119032190331903419035190361903719038190391904019041190421904319044190451904619047190481904919050190511905219053190541905519056190571905819059190601906119062190631906419065190661906719068190691907019071190721907319074190751907619077190781907919080190811908219083190841908519086190871908819089190901909119092190931909419095190961909719098190991910019101191021910319104191051910619107191081910919110191111911219113191141911519116191171911819119191201912119122191231912419125191261912719128191291913019131191321913319134191351913619137191381913919140191411914219143191441914519146191471914819149191501915119152191531915419155191561915719158191591916019161191621916319164191651916619167191681916919170191711917219173191741917519176191771917819179191801918119182191831918419185191861918719188191891919019191191921919319194191951919619197191981919919200192011920219203192041920519206192071920819209192101921119212192131921419215192161921719218192191922019221192221922319224192251922619227192281922919230192311923219233192341923519236192371923819239192401924119242192431924419245192461924719248192491925019251192521925319254192551925619257192581925919260192611926219263192641926519266192671926819269192701927119272192731927419275192761927719278192791928019281192821928319284192851928619287192881928919290192911929219293192941929519296192971929819299193001930119302193031930419305193061930719308193091931019311193121931319314193151931619317193181931919320193211932219323193241932519326193271932819329193301933119332193331933419335193361933719338193391934019341193421934319344193451934619347193481934919350193511935219353193541935519356193571935819359193601936119362193631936419365193661936719368193691937019371193721937319374193751937619377193781937919380193811938219383193841938519386193871938819389193901939119392193931939419395193961939719398193991940019401194021940319404194051940619407194081940919410194111941219413194141941519416194171941819419194201942119422194231942419425194261942719428194291943019431194321943319434194351943619437194381943919440194411944219443194441944519446194471944819449194501945119452194531945419455194561945719458194591946019461194621946319464194651946619467194681946919470194711947219473194741947519476194771947819479194801948119482194831948419485194861948719488194891949019491194921949319494194951949619497194981949919500195011950219503195041950519506195071950819509195101951119512195131951419515195161951719518195191952019521195221952319524195251952619527195281952919530195311953219533195341953519536195371953819539195401954119542195431954419545195461954719548195491955019551195521955319554195551955619557195581955919560195611956219563195641956519566195671956819569195701957119572195731957419575195761957719578195791958019581195821958319584195851958619587195881958919590195911959219593195941959519596195971959819599196001960119602196031960419605196061960719608196091961019611196121961319614196151961619617196181961919620196211962219623196241962519626196271962819629196301963119632196331963419635196361963719638196391964019641196421964319644196451964619647196481964919650196511965219653196541965519656196571965819659196601966119662196631966419665196661966719668196691967019671196721967319674196751967619677196781967919680196811968219683196841968519686196871968819689196901969119692196931969419695196961969719698196991970019701197021970319704197051970619707197081970919710197111971219713197141971519716197171971819719197201972119722197231972419725197261972719728197291973019731197321973319734197351973619737197381973919740197411974219743197441974519746197471974819749197501975119752197531975419755197561975719758197591976019761197621976319764197651976619767197681976919770197711977219773197741977519776197771977819779197801978119782197831978419785197861978719788197891979019791197921979319794197951979619797197981979919800198011980219803198041980519806198071980819809198101981119812198131981419815198161981719818198191982019821198221982319824198251982619827198281982919830198311983219833198341983519836198371983819839198401984119842198431984419845198461984719848198491985019851198521985319854198551985619857198581985919860198611986219863198641986519866198671986819869198701987119872198731987419875198761987719878198791988019881198821988319884198851988619887198881988919890198911989219893198941989519896198971989819899199001990119902199031990419905199061990719908199091991019911199121991319914199151991619917199181991919920199211992219923199241992519926199271992819929199301993119932199331993419935199361993719938199391994019941199421994319944199451994619947199481994919950199511995219953199541995519956199571995819959199601996119962199631996419965199661996719968199691997019971199721997319974199751997619977199781997919980199811998219983199841998519986199871998819989199901999119992199931999419995199961999719998199992000020001200022000320004200052000620007200082000920010200112001220013200142001520016200172001820019200202002120022200232002420025200262002720028200292003020031200322003320034200352003620037200382003920040200412004220043200442004520046200472004820049200502005120052200532005420055200562005720058200592006020061200622006320064200652006620067200682006920070200712007220073200742007520076200772007820079200802008120082200832008420085200862008720088200892009020091200922009320094200952009620097200982009920100201012010220103201042010520106201072010820109201102011120112201132011420115201162011720118201192012020121201222012320124201252012620127201282012920130201312013220133201342013520136201372013820139201402014120142201432014420145201462014720148201492015020151201522015320154201552015620157201582015920160201612016220163201642016520166201672016820169201702017120172201732017420175201762017720178201792018020181201822018320184201852018620187201882018920190201912019220193201942019520196201972019820199202002020120202202032020420205202062020720208202092021020211202122021320214202152021620217202182021920220202212022220223202242022520226202272022820229202302023120232202332023420235202362023720238202392024020241202422024320244202452024620247202482024920250202512025220253202542025520256202572025820259202602026120262202632026420265202662026720268202692027020271202722027320274202752027620277202782027920280202812028220283202842028520286202872028820289202902029120292202932029420295202962029720298202992030020301203022030320304203052030620307203082030920310203112031220313203142031520316203172031820319203202032120322203232032420325203262032720328203292033020331203322033320334203352033620337203382033920340203412034220343203442034520346203472034820349203502035120352203532035420355203562035720358203592036020361203622036320364203652036620367203682036920370203712037220373203742037520376203772037820379203802038120382203832038420385203862038720388203892039020391203922039320394203952039620397203982039920400204012040220403204042040520406204072040820409204102041120412204132041420415204162041720418204192042020421204222042320424204252042620427204282042920430204312043220433204342043520436204372043820439204402044120442204432044420445204462044720448204492045020451204522045320454204552045620457204582045920460204612046220463204642046520466204672046820469204702047120472204732047420475204762047720478204792048020481204822048320484204852048620487204882048920490204912049220493204942049520496204972049820499205002050120502205032050420505205062050720508205092051020511205122051320514205152051620517205182051920520205212052220523205242052520526205272052820529205302053120532205332053420535205362053720538205392054020541205422054320544205452054620547205482054920550205512055220553205542055520556205572055820559205602056120562205632056420565205662056720568205692057020571205722057320574205752057620577205782057920580205812058220583205842058520586205872058820589205902059120592205932059420595205962059720598205992060020601206022060320604206052060620607206082060920610206112061220613206142061520616206172061820619206202062120622206232062420625206262062720628206292063020631206322063320634206352063620637206382063920640206412064220643206442064520646206472064820649206502065120652206532065420655206562065720658206592066020661206622066320664206652066620667206682066920670206712067220673206742067520676206772067820679206802068120682206832068420685206862068720688206892069020691206922069320694206952069620697206982069920700207012070220703207042070520706207072070820709207102071120712207132071420715207162071720718207192072020721207222072320724207252072620727207282072920730207312073220733207342073520736207372073820739207402074120742207432074420745207462074720748207492075020751207522075320754207552075620757207582075920760207612076220763207642076520766207672076820769207702077120772207732077420775207762077720778207792078020781207822078320784207852078620787207882078920790207912079220793207942079520796207972079820799208002080120802208032080420805208062080720808208092081020811208122081320814208152081620817208182081920820208212082220823208242082520826208272082820829208302083120832208332083420835208362083720838208392084020841208422084320844208452084620847208482084920850208512085220853208542085520856208572085820859208602086120862208632086420865208662086720868208692087020871208722087320874208752087620877208782087920880208812088220883208842088520886208872088820889208902089120892208932089420895208962089720898208992090020901209022090320904209052090620907209082090920910209112091220913209142091520916209172091820919209202092120922209232092420925209262092720928209292093020931209322093320934209352093620937209382093920940209412094220943209442094520946209472094820949209502095120952209532095420955209562095720958209592096020961209622096320964209652096620967209682096920970209712097220973209742097520976209772097820979209802098120982209832098420985209862098720988209892099020991209922099320994209952099620997209982099921000210012100221003210042100521006210072100821009210102101121012210132101421015210162101721018210192102021021210222102321024210252102621027210282102921030210312103221033210342103521036210372103821039210402104121042210432104421045210462104721048210492105021051210522105321054210552105621057210582105921060210612106221063210642106521066210672106821069210702107121072210732107421075210762107721078210792108021081210822108321084210852108621087210882108921090210912109221093210942109521096210972109821099211002110121102211032110421105211062110721108211092111021111211122111321114211152111621117211182111921120211212112221123211242112521126211272112821129211302113121132211332113421135211362113721138211392114021141211422114321144211452114621147211482114921150211512115221153211542115521156211572115821159211602116121162211632116421165211662116721168211692117021171211722117321174211752117621177211782117921180211812118221183211842118521186211872118821189211902119121192211932119421195211962119721198211992120021201212022120321204212052120621207212082120921210212112121221213212142121521216212172121821219212202122121222212232122421225212262122721228212292123021231212322123321234212352123621237212382123921240212412124221243212442124521246212472124821249212502125121252212532125421255212562125721258212592126021261212622126321264212652126621267212682126921270212712127221273212742127521276212772127821279212802128121282212832128421285212862128721288212892129021291212922129321294212952129621297212982129921300213012130221303213042130521306213072130821309213102131121312213132131421315213162131721318213192132021321213222132321324213252132621327213282132921330213312133221333213342133521336213372133821339213402134121342213432134421345213462134721348213492135021351213522135321354213552135621357213582135921360213612136221363213642136521366213672136821369213702137121372213732137421375213762137721378213792138021381213822138321384213852138621387213882138921390213912139221393213942139521396213972139821399214002140121402214032140421405214062140721408214092141021411214122141321414214152141621417214182141921420214212142221423214242142521426214272142821429214302143121432214332143421435214362143721438214392144021441214422144321444214452144621447214482144921450214512145221453214542145521456214572145821459214602146121462214632146421465214662146721468214692147021471214722147321474214752147621477214782147921480214812148221483214842148521486214872148821489214902149121492214932149421495214962149721498214992150021501215022150321504215052150621507215082150921510215112151221513215142151521516215172151821519215202152121522215232152421525215262152721528215292153021531215322153321534215352153621537215382153921540215412154221543215442154521546215472154821549215502155121552215532155421555215562155721558215592156021561215622156321564215652156621567215682156921570215712157221573215742157521576215772157821579215802158121582215832158421585215862158721588215892159021591215922159321594215952159621597215982159921600216012160221603216042160521606216072160821609216102161121612216132161421615216162161721618216192162021621216222162321624216252162621627216282162921630216312163221633216342163521636216372163821639216402164121642216432164421645216462164721648216492165021651216522165321654216552165621657216582165921660216612166221663216642166521666216672166821669216702167121672216732167421675216762167721678216792168021681216822168321684216852168621687216882168921690216912169221693216942169521696216972169821699217002170121702217032170421705217062170721708217092171021711217122171321714217152171621717217182171921720217212172221723217242172521726217272172821729217302173121732217332173421735217362173721738217392174021741217422174321744217452174621747217482174921750217512175221753217542175521756217572175821759217602176121762217632176421765217662176721768217692177021771217722177321774217752177621777217782177921780217812178221783217842178521786217872178821789217902179121792217932179421795217962179721798217992180021801218022180321804218052180621807218082180921810218112181221813218142181521816218172181821819218202182121822218232182421825218262182721828218292183021831218322183321834218352183621837218382183921840218412184221843218442184521846218472184821849218502185121852218532185421855218562185721858218592186021861218622186321864218652186621867218682186921870218712187221873218742187521876218772187821879218802188121882218832188421885218862188721888218892189021891218922189321894218952189621897218982189921900219012190221903219042190521906219072190821909219102191121912219132191421915219162191721918219192192021921219222192321924219252192621927219282192921930219312193221933219342193521936219372193821939219402194121942219432194421945219462194721948219492195021951219522195321954219552195621957219582195921960219612196221963219642196521966219672196821969219702197121972219732197421975219762197721978219792198021981219822198321984219852198621987219882198921990219912199221993219942199521996219972199821999220002200122002220032200422005220062200722008220092201022011220122201322014220152201622017220182201922020220212202222023220242202522026220272202822029220302203122032220332203422035220362203722038220392204022041220422204322044220452204622047220482204922050220512205222053220542205522056220572205822059220602206122062220632206422065220662206722068220692207022071220722207322074220752207622077220782207922080220812208222083220842208522086220872208822089220902209122092220932209422095220962209722098220992210022101221022210322104221052210622107221082210922110221112211222113221142211522116221172211822119221202212122122221232212422125221262212722128221292213022131221322213322134221352213622137221382213922140221412214222143221442214522146221472214822149221502215122152221532215422155221562215722158221592216022161221622216322164221652216622167221682216922170221712217222173221742217522176221772217822179221802218122182221832218422185221862218722188221892219022191221922219322194221952219622197221982219922200222012220222203222042220522206222072220822209222102221122212222132221422215222162221722218222192222022221222222222322224222252222622227222282222922230222312223222233222342223522236222372223822239222402224122242222432224422245222462224722248222492225022251222522225322254222552225622257222582225922260222612226222263222642226522266222672226822269222702227122272222732227422275222762227722278222792228022281222822228322284222852228622287222882228922290222912229222293222942229522296222972229822299223002230122302223032230422305223062230722308223092231022311223122231322314223152231622317223182231922320223212232222323223242232522326223272232822329223302233122332223332233422335223362233722338223392234022341223422234322344223452234622347223482234922350223512235222353223542235522356223572235822359223602236122362223632236422365223662236722368223692237022371223722237322374223752237622377223782237922380223812238222383223842238522386223872238822389223902239122392223932239422395223962239722398223992240022401224022240322404224052240622407224082240922410224112241222413224142241522416224172241822419224202242122422224232242422425224262242722428224292243022431224322243322434224352243622437224382243922440224412244222443224442244522446224472244822449224502245122452224532245422455224562245722458224592246022461224622246322464224652246622467224682246922470224712247222473224742247522476224772247822479224802248122482224832248422485224862248722488224892249022491224922249322494224952249622497224982249922500225012250222503225042250522506225072250822509225102251122512225132251422515225162251722518225192252022521225222252322524225252252622527225282252922530225312253222533225342253522536225372253822539225402254122542225432254422545225462254722548225492255022551225522255322554225552255622557225582255922560225612256222563225642256522566225672256822569225702257122572225732257422575225762257722578225792258022581225822258322584225852258622587225882258922590225912259222593225942259522596225972259822599226002260122602226032260422605226062260722608226092261022611226122261322614226152261622617226182261922620226212262222623226242262522626226272262822629226302263122632226332263422635226362263722638226392264022641226422264322644226452264622647226482264922650226512265222653226542265522656226572265822659226602266122662226632266422665226662266722668226692267022671226722267322674226752267622677226782267922680226812268222683226842268522686226872268822689226902269122692226932269422695226962269722698226992270022701227022270322704227052270622707227082270922710227112271222713227142271522716227172271822719227202272122722227232272422725227262272722728227292273022731227322273322734227352273622737227382273922740227412274222743227442274522746227472274822749227502275122752227532275422755227562275722758227592276022761227622276322764227652276622767227682276922770227712277222773227742277522776227772277822779227802278122782227832278422785227862278722788227892279022791227922279322794227952279622797227982279922800228012280222803228042280522806228072280822809228102281122812228132281422815228162281722818228192282022821228222282322824228252282622827228282282922830228312283222833228342283522836228372283822839228402284122842228432284422845228462284722848228492285022851228522285322854228552285622857228582285922860228612286222863228642286522866228672286822869228702287122872228732287422875228762287722878228792288022881228822288322884228852288622887228882288922890228912289222893228942289522896228972289822899229002290122902229032290422905229062290722908229092291022911229122291322914229152291622917229182291922920229212292222923229242292522926229272292822929229302293122932229332293422935229362293722938229392294022941229422294322944229452294622947229482294922950229512295222953229542295522956229572295822959229602296122962229632296422965229662296722968229692297022971229722297322974229752297622977229782297922980229812298222983229842298522986229872298822989229902299122992229932299422995229962299722998229992300023001230022300323004230052300623007230082300923010230112301223013230142301523016230172301823019230202302123022230232302423025230262302723028230292303023031230322303323034230352303623037230382303923040230412304223043230442304523046230472304823049230502305123052230532305423055230562305723058230592306023061230622306323064230652306623067230682306923070230712307223073230742307523076230772307823079230802308123082230832308423085230862308723088230892309023091230922309323094230952309623097230982309923100231012310223103231042310523106231072310823109231102311123112231132311423115231162311723118231192312023121231222312323124231252312623127231282312923130231312313223133231342313523136231372313823139231402314123142231432314423145231462314723148231492315023151231522315323154231552315623157231582315923160231612316223163231642316523166231672316823169231702317123172231732317423175231762317723178231792318023181231822318323184231852318623187231882318923190231912319223193231942319523196231972319823199232002320123202232032320423205232062320723208232092321023211232122321323214232152321623217232182321923220232212322223223232242322523226232272322823229232302323123232232332323423235232362323723238232392324023241232422324323244232452324623247232482324923250232512325223253232542325523256232572325823259232602326123262232632326423265232662326723268232692327023271232722327323274232752327623277232782327923280232812328223283232842328523286232872328823289232902329123292232932329423295232962329723298232992330023301233022330323304233052330623307233082330923310233112331223313233142331523316233172331823319233202332123322233232332423325233262332723328233292333023331233322333323334233352333623337233382333923340233412334223343233442334523346233472334823349233502335123352233532335423355233562335723358233592336023361233622336323364233652336623367233682336923370233712337223373233742337523376233772337823379233802338123382233832338423385233862338723388233892339023391233922339323394233952339623397233982339923400234012340223403234042340523406234072340823409234102341123412234132341423415234162341723418234192342023421234222342323424234252342623427234282342923430234312343223433234342343523436234372343823439234402344123442234432344423445234462344723448234492345023451234522345323454234552345623457234582345923460234612346223463234642346523466234672346823469234702347123472234732347423475234762347723478234792348023481234822348323484234852348623487234882348923490234912349223493234942349523496234972349823499235002350123502235032350423505235062350723508235092351023511235122351323514235152351623517235182351923520235212352223523235242352523526235272352823529235302353123532235332353423535235362353723538235392354023541235422354323544235452354623547235482354923550235512355223553235542355523556235572355823559235602356123562235632356423565235662356723568235692357023571235722357323574235752357623577235782357923580235812358223583235842358523586235872358823589235902359123592235932359423595235962359723598235992360023601236022360323604236052360623607236082360923610236112361223613236142361523616236172361823619236202362123622236232362423625236262362723628236292363023631236322363323634236352363623637236382363923640236412364223643236442364523646236472364823649236502365123652236532365423655236562365723658236592366023661236622366323664236652366623667236682366923670236712367223673236742367523676236772367823679236802368123682236832368423685236862368723688236892369023691236922369323694236952369623697236982369923700237012370223703237042370523706237072370823709237102371123712237132371423715237162371723718237192372023721237222372323724237252372623727237282372923730237312373223733237342373523736237372373823739237402374123742237432374423745237462374723748237492375023751237522375323754237552375623757237582375923760237612376223763237642376523766237672376823769237702377123772237732377423775237762377723778237792378023781237822378323784237852378623787237882378923790237912379223793237942379523796237972379823799238002380123802238032380423805238062380723808238092381023811238122381323814238152381623817238182381923820238212382223823238242382523826238272382823829238302383123832238332383423835238362383723838238392384023841238422384323844238452384623847238482384923850238512385223853238542385523856238572385823859238602386123862238632386423865238662386723868238692387023871238722387323874238752387623877238782387923880238812388223883238842388523886238872388823889238902389123892238932389423895238962389723898238992390023901239022390323904239052390623907239082390923910239112391223913239142391523916239172391823919239202392123922239232392423925239262392723928239292393023931239322393323934239352393623937239382393923940239412394223943239442394523946239472394823949239502395123952239532395423955239562395723958239592396023961239622396323964239652396623967239682396923970239712397223973239742397523976239772397823979239802398123982239832398423985239862398723988239892399023991239922399323994239952399623997239982399924000240012400224003240042400524006240072400824009240102401124012240132401424015240162401724018240192402024021240222402324024240252402624027240282402924030240312403224033240342403524036240372403824039240402404124042240432404424045240462404724048240492405024051240522405324054240552405624057240582405924060240612406224063240642406524066240672406824069240702407124072240732407424075240762407724078240792408024081240822408324084240852408624087240882408924090240912409224093240942409524096240972409824099241002410124102241032410424105241062410724108241092411024111241122411324114241152411624117241182411924120241212412224123241242412524126241272412824129241302413124132241332413424135241362413724138241392414024141241422414324144241452414624147241482414924150241512415224153241542415524156241572415824159241602416124162241632416424165241662416724168241692417024171241722417324174241752417624177241782417924180241812418224183241842418524186241872418824189241902419124192241932419424195241962419724198241992420024201242022420324204242052420624207242082420924210242112421224213242142421524216242172421824219242202422124222242232422424225242262422724228242292423024231242322423324234242352423624237242382423924240242412424224243242442424524246242472424824249242502425124252242532425424255242562425724258242592426024261242622426324264242652426624267242682426924270242712427224273242742427524276242772427824279242802428124282242832428424285242862428724288242892429024291242922429324294242952429624297242982429924300243012430224303243042430524306243072430824309243102431124312243132431424315243162431724318243192432024321243222432324324243252432624327243282432924330243312433224333243342433524336243372433824339243402434124342243432434424345243462434724348243492435024351243522435324354243552435624357243582435924360243612436224363243642436524366243672436824369243702437124372243732437424375243762437724378243792438024381243822438324384243852438624387243882438924390243912439224393243942439524396243972439824399244002440124402244032440424405244062440724408244092441024411244122441324414244152441624417244182441924420244212442224423244242442524426244272442824429244302443124432244332443424435244362443724438244392444024441244422444324444244452444624447244482444924450244512445224453244542445524456244572445824459244602446124462244632446424465244662446724468244692447024471244722447324474244752447624477244782447924480244812448224483244842448524486244872448824489244902449124492244932449424495244962449724498244992450024501245022450324504245052450624507245082450924510245112451224513245142451524516245172451824519245202452124522245232452424525245262452724528245292453024531245322453324534245352453624537245382453924540245412454224543245442454524546245472454824549245502455124552245532455424555245562455724558245592456024561245622456324564245652456624567245682456924570245712457224573245742457524576245772457824579245802458124582245832458424585245862458724588245892459024591245922459324594245952459624597245982459924600246012460224603246042460524606246072460824609246102461124612246132461424615246162461724618246192462024621246222462324624246252462624627246282462924630246312463224633246342463524636246372463824639246402464124642246432464424645246462464724648246492465024651246522465324654246552465624657246582465924660246612466224663246642466524666246672466824669246702467124672246732467424675246762467724678246792468024681246822468324684246852468624687246882468924690246912469224693246942469524696246972469824699247002470124702247032470424705247062470724708247092471024711247122471324714247152471624717247182471924720247212472224723247242472524726247272472824729247302473124732247332473424735247362473724738247392474024741247422474324744247452474624747247482474924750247512475224753247542475524756247572475824759247602476124762247632476424765247662476724768247692477024771247722477324774247752477624777247782477924780247812478224783247842478524786247872478824789247902479124792247932479424795247962479724798247992480024801248022480324804248052480624807248082480924810248112481224813248142481524816248172481824819248202482124822248232482424825248262482724828248292483024831248322483324834248352483624837248382483924840248412484224843248442484524846248472484824849248502485124852248532485424855248562485724858248592486024861248622486324864248652486624867248682486924870248712487224873248742487524876248772487824879248802488124882248832488424885248862488724888248892489024891248922489324894248952489624897248982489924900249012490224903249042490524906249072490824909249102491124912249132491424915249162491724918249192492024921249222492324924249252492624927249282492924930249312493224933249342493524936249372493824939249402494124942249432494424945249462494724948249492495024951249522495324954249552495624957249582495924960249612496224963249642496524966249672496824969249702497124972249732497424975249762497724978249792498024981249822498324984249852498624987249882498924990249912499224993249942499524996249972499824999250002500125002250032500425005250062500725008250092501025011250122501325014250152501625017250182501925020250212502225023250242502525026250272502825029250302503125032250332503425035250362503725038250392504025041250422504325044250452504625047250482504925050250512505225053250542505525056250572505825059250602506125062250632506425065250662506725068250692507025071250722507325074250752507625077250782507925080250812508225083250842508525086250872508825089250902509125092250932509425095250962509725098250992510025101251022510325104251052510625107251082510925110251112511225113251142511525116251172511825119251202512125122251232512425125251262512725128251292513025131251322513325134251352513625137251382513925140251412514225143251442514525146251472514825149251502515125152251532515425155251562515725158251592516025161251622516325164251652516625167251682516925170251712517225173251742517525176251772517825179251802518125182251832518425185251862518725188251892519025191251922519325194251952519625197251982519925200252012520225203252042520525206252072520825209252102521125212252132521425215252162521725218252192522025221252222522325224252252522625227252282522925230252312523225233252342523525236252372523825239252402524125242252432524425245252462524725248252492525025251252522525325254252552525625257252582525925260252612526225263252642526525266252672526825269252702527125272252732527425275252762527725278252792528025281252822528325284252852528625287252882528925290252912529225293252942529525296252972529825299253002530125302253032530425305253062530725308253092531025311253122531325314253152531625317253182531925320253212532225323253242532525326253272532825329253302533125332253332533425335253362533725338253392534025341253422534325344253452534625347253482534925350253512535225353253542535525356253572535825359253602536125362253632536425365253662536725368253692537025371253722537325374253752537625377253782537925380253812538225383253842538525386253872538825389253902539125392253932539425395253962539725398253992540025401254022540325404254052540625407254082540925410254112541225413254142541525416254172541825419254202542125422254232542425425254262542725428254292543025431254322543325434254352543625437254382543925440254412544225443254442544525446254472544825449254502545125452254532545425455254562545725458254592546025461254622546325464254652546625467254682546925470254712547225473254742547525476254772547825479254802548125482254832548425485254862548725488254892549025491254922549325494254952549625497254982549925500255012550225503255042550525506255072550825509255102551125512255132551425515255162551725518255192552025521255222552325524255252552625527255282552925530255312553225533255342553525536255372553825539255402554125542255432554425545255462554725548255492555025551255522555325554255552555625557255582555925560255612556225563255642556525566255672556825569255702557125572255732557425575255762557725578255792558025581255822558325584255852558625587255882558925590255912559225593255942559525596255972559825599256002560125602256032560425605256062560725608256092561025611256122561325614256152561625617256182561925620256212562225623256242562525626256272562825629256302563125632256332563425635256362563725638256392564025641256422564325644256452564625647256482564925650256512565225653256542565525656256572565825659256602566125662256632566425665256662566725668256692567025671256722567325674256752567625677256782567925680256812568225683256842568525686256872568825689256902569125692256932569425695256962569725698256992570025701257022570325704257052570625707257082570925710257112571225713257142571525716257172571825719257202572125722257232572425725257262572725728257292573025731257322573325734257352573625737257382573925740257412574225743257442574525746257472574825749257502575125752257532575425755257562575725758257592576025761257622576325764257652576625767257682576925770257712577225773257742577525776257772577825779257802578125782257832578425785257862578725788257892579025791257922579325794257952579625797257982579925800258012580225803258042580525806258072580825809258102581125812258132581425815258162581725818258192582025821258222582325824258252582625827258282582925830258312583225833258342583525836258372583825839258402584125842258432584425845258462584725848258492585025851258522585325854258552585625857258582585925860258612586225863258642586525866258672586825869258702587125872258732587425875258762587725878258792588025881258822588325884258852588625887258882588925890258912589225893258942589525896258972589825899259002590125902259032590425905259062590725908259092591025911259122591325914259152591625917259182591925920259212592225923259242592525926259272592825929259302593125932259332593425935259362593725938259392594025941259422594325944259452594625947259482594925950259512595225953259542595525956259572595825959259602596125962259632596425965259662596725968259692597025971259722597325974259752597625977259782597925980259812598225983259842598525986259872598825989259902599125992259932599425995259962599725998259992600026001260022600326004260052600626007260082600926010260112601226013260142601526016260172601826019260202602126022260232602426025260262602726028260292603026031260322603326034260352603626037260382603926040260412604226043260442604526046260472604826049260502605126052260532605426055260562605726058260592606026061260622606326064260652606626067260682606926070260712607226073260742607526076260772607826079260802608126082260832608426085260862608726088260892609026091260922609326094260952609626097260982609926100261012610226103261042610526106261072610826109261102611126112261132611426115261162611726118261192612026121261222612326124261252612626127261282612926130261312613226133261342613526136261372613826139261402614126142261432614426145261462614726148261492615026151261522615326154261552615626157261582615926160261612616226163261642616526166261672616826169261702617126172261732617426175261762617726178261792618026181261822618326184261852618626187261882618926190261912619226193261942619526196261972619826199262002620126202262032620426205262062620726208262092621026211262122621326214262152621626217262182621926220262212622226223262242622526226262272622826229262302623126232262332623426235262362623726238262392624026241262422624326244262452624626247262482624926250262512625226253262542625526256262572625826259262602626126262262632626426265262662626726268262692627026271262722627326274262752627626277262782627926280262812628226283262842628526286262872628826289262902629126292262932629426295262962629726298262992630026301263022630326304263052630626307263082630926310263112631226313263142631526316263172631826319263202632126322263232632426325263262632726328263292633026331263322633326334263352633626337263382633926340263412634226343263442634526346263472634826349263502635126352263532635426355263562635726358263592636026361263622636326364263652636626367263682636926370263712637226373263742637526376263772637826379263802638126382263832638426385263862638726388263892639026391263922639326394263952639626397263982639926400264012640226403264042640526406264072640826409264102641126412264132641426415264162641726418264192642026421264222642326424264252642626427264282642926430264312643226433264342643526436264372643826439264402644126442264432644426445264462644726448264492645026451264522645326454264552645626457264582645926460264612646226463264642646526466264672646826469264702647126472264732647426475264762647726478264792648026481264822648326484264852648626487264882648926490264912649226493264942649526496264972649826499265002650126502265032650426505265062650726508265092651026511265122651326514265152651626517265182651926520265212652226523265242652526526265272652826529265302653126532265332653426535265362653726538265392654026541265422654326544265452654626547265482654926550265512655226553265542655526556265572655826559265602656126562265632656426565265662656726568265692657026571265722657326574265752657626577265782657926580265812658226583265842658526586265872658826589265902659126592265932659426595265962659726598265992660026601266022660326604266052660626607266082660926610266112661226613266142661526616266172661826619266202662126622266232662426625266262662726628266292663026631266322663326634266352663626637266382663926640266412664226643266442664526646266472664826649266502665126652266532665426655266562665726658266592666026661266622666326664266652666626667266682666926670266712667226673266742667526676266772667826679266802668126682266832668426685266862668726688266892669026691266922669326694266952669626697266982669926700267012670226703267042670526706267072670826709267102671126712267132671426715267162671726718267192672026721267222672326724267252672626727267282672926730267312673226733267342673526736267372673826739267402674126742267432674426745267462674726748267492675026751267522675326754267552675626757267582675926760267612676226763267642676526766267672676826769267702677126772267732677426775267762677726778267792678026781267822678326784267852678626787267882678926790267912679226793267942679526796267972679826799268002680126802268032680426805268062680726808268092681026811268122681326814268152681626817268182681926820268212682226823268242682526826268272682826829268302683126832268332683426835268362683726838268392684026841268422684326844268452684626847268482684926850268512685226853268542685526856268572685826859268602686126862268632686426865268662686726868268692687026871268722687326874268752687626877268782687926880268812688226883268842688526886268872688826889268902689126892268932689426895268962689726898268992690026901269022690326904269052690626907269082690926910269112691226913269142691526916269172691826919269202692126922269232692426925269262692726928269292693026931269322693326934269352693626937269382693926940269412694226943269442694526946269472694826949269502695126952269532695426955269562695726958269592696026961269622696326964269652696626967269682696926970269712697226973269742697526976269772697826979269802698126982269832698426985269862698726988269892699026991269922699326994269952699626997269982699927000270012700227003270042700527006270072700827009270102701127012270132701427015270162701727018270192702027021270222702327024270252702627027270282702927030270312703227033270342703527036270372703827039270402704127042270432704427045270462704727048270492705027051270522705327054270552705627057270582705927060270612706227063270642706527066270672706827069270702707127072270732707427075270762707727078270792708027081270822708327084270852708627087270882708927090270912709227093270942709527096270972709827099271002710127102271032710427105271062710727108271092711027111271122711327114271152711627117271182711927120271212712227123271242712527126271272712827129271302713127132271332713427135271362713727138271392714027141271422714327144271452714627147271482714927150271512715227153271542715527156271572715827159271602716127162271632716427165271662716727168271692717027171271722717327174271752717627177271782717927180271812718227183271842718527186271872718827189271902719127192271932719427195271962719727198271992720027201272022720327204272052720627207272082720927210272112721227213272142721527216272172721827219272202722127222272232722427225272262722727228272292723027231272322723327234272352723627237272382723927240272412724227243272442724527246272472724827249272502725127252272532725427255272562725727258272592726027261272622726327264272652726627267272682726927270272712727227273272742727527276272772727827279272802728127282272832728427285272862728727288272892729027291272922729327294272952729627297272982729927300273012730227303273042730527306273072730827309273102731127312273132731427315273162731727318273192732027321273222732327324273252732627327273282732927330273312733227333273342733527336273372733827339273402734127342273432734427345273462734727348273492735027351273522735327354273552735627357273582735927360273612736227363273642736527366273672736827369273702737127372273732737427375273762737727378273792738027381273822738327384273852738627387273882738927390273912739227393273942739527396273972739827399274002740127402274032740427405274062740727408274092741027411274122741327414274152741627417274182741927420274212742227423274242742527426274272742827429274302743127432274332743427435274362743727438274392744027441274422744327444274452744627447274482744927450274512745227453274542745527456274572745827459274602746127462274632746427465274662746727468274692747027471274722747327474274752747627477274782747927480274812748227483274842748527486274872748827489274902749127492274932749427495274962749727498274992750027501275022750327504275052750627507275082750927510275112751227513275142751527516275172751827519275202752127522275232752427525275262752727528275292753027531275322753327534275352753627537275382753927540275412754227543275442754527546275472754827549275502755127552275532755427555275562755727558275592756027561275622756327564275652756627567275682756927570275712757227573275742757527576275772757827579275802758127582275832758427585275862758727588275892759027591275922759327594275952759627597275982759927600276012760227603276042760527606276072760827609276102761127612276132761427615276162761727618276192762027621276222762327624276252762627627276282762927630276312763227633276342763527636276372763827639276402764127642276432764427645276462764727648276492765027651276522765327654276552765627657276582765927660276612766227663276642766527666276672766827669276702767127672276732767427675276762767727678276792768027681276822768327684276852768627687276882768927690276912769227693276942769527696276972769827699277002770127702277032770427705277062770727708277092771027711277122771327714277152771627717277182771927720277212772227723277242772527726277272772827729277302773127732277332773427735277362773727738277392774027741277422774327744277452774627747277482774927750277512775227753277542775527756277572775827759277602776127762277632776427765277662776727768277692777027771277722777327774277752777627777277782777927780277812778227783277842778527786277872778827789277902779127792277932779427795277962779727798277992780027801278022780327804278052780627807278082780927810278112781227813278142781527816278172781827819278202782127822278232782427825278262782727828278292783027831278322783327834278352783627837278382783927840278412784227843278442784527846278472784827849278502785127852278532785427855278562785727858278592786027861278622786327864278652786627867278682786927870278712787227873278742787527876278772787827879278802788127882278832788427885278862788727888278892789027891278922789327894278952789627897278982789927900279012790227903279042790527906279072790827909279102791127912279132791427915279162791727918279192792027921279222792327924279252792627927279282792927930279312793227933279342793527936279372793827939279402794127942279432794427945279462794727948279492795027951279522795327954279552795627957279582795927960279612796227963279642796527966279672796827969279702797127972279732797427975279762797727978279792798027981279822798327984279852798627987279882798927990279912799227993279942799527996279972799827999280002800128002280032800428005280062800728008280092801028011280122801328014280152801628017280182801928020280212802228023280242802528026280272802828029280302803128032280332803428035280362803728038280392804028041280422804328044280452804628047280482804928050280512805228053280542805528056280572805828059280602806128062280632806428065280662806728068280692807028071280722807328074280752807628077280782807928080280812808228083280842808528086280872808828089280902809128092280932809428095280962809728098280992810028101281022810328104281052810628107281082810928110281112811228113281142811528116281172811828119281202812128122281232812428125281262812728128281292813028131281322813328134281352813628137281382813928140281412814228143281442814528146281472814828149281502815128152281532815428155281562815728158281592816028161281622816328164281652816628167281682816928170281712817228173281742817528176281772817828179281802818128182281832818428185281862818728188281892819028191281922819328194281952819628197281982819928200282012820228203282042820528206282072820828209282102821128212282132821428215282162821728218282192822028221282222822328224282252822628227282282822928230282312823228233282342823528236282372823828239282402824128242282432824428245282462824728248282492825028251282522825328254282552825628257282582825928260282612826228263282642826528266282672826828269282702827128272282732827428275282762827728278282792828028281282822828328284282852828628287282882828928290282912829228293282942829528296282972829828299283002830128302283032830428305283062830728308283092831028311283122831328314283152831628317283182831928320283212832228323283242832528326283272832828329283302833128332283332833428335283362833728338283392834028341283422834328344283452834628347283482834928350283512835228353283542835528356283572835828359283602836128362283632836428365283662836728368283692837028371283722837328374283752837628377283782837928380283812838228383283842838528386283872838828389283902839128392283932839428395283962839728398283992840028401284022840328404284052840628407284082840928410284112841228413284142841528416284172841828419284202842128422284232842428425284262842728428284292843028431284322843328434284352843628437284382843928440284412844228443284442844528446284472844828449284502845128452284532845428455284562845728458284592846028461284622846328464284652846628467284682846928470284712847228473284742847528476284772847828479284802848128482284832848428485284862848728488284892849028491284922849328494284952849628497284982849928500285012850228503285042850528506285072850828509285102851128512285132851428515285162851728518285192852028521285222852328524285252852628527285282852928530285312853228533285342853528536285372853828539285402854128542285432854428545285462854728548285492855028551285522855328554285552855628557285582855928560285612856228563285642856528566285672856828569285702857128572285732857428575285762857728578285792858028581285822858328584285852858628587285882858928590285912859228593285942859528596285972859828599286002860128602286032860428605286062860728608286092861028611286122861328614286152861628617286182861928620286212862228623286242862528626286272862828629286302863128632286332863428635286362863728638286392864028641286422864328644286452864628647286482864928650286512865228653286542865528656286572865828659286602866128662286632866428665286662866728668286692867028671286722867328674286752867628677286782867928680286812868228683286842868528686286872868828689286902869128692286932869428695286962869728698286992870028701287022870328704287052870628707287082870928710287112871228713287142871528716287172871828719287202872128722287232872428725287262872728728287292873028731287322873328734287352873628737287382873928740287412874228743287442874528746287472874828749287502875128752287532875428755287562875728758287592876028761287622876328764287652876628767287682876928770287712877228773287742877528776287772877828779287802878128782287832878428785287862878728788287892879028791287922879328794287952879628797287982879928800288012880228803288042880528806288072880828809288102881128812288132881428815288162881728818288192882028821288222882328824288252882628827288282882928830288312883228833288342883528836288372883828839288402884128842288432884428845288462884728848288492885028851288522885328854288552885628857288582885928860288612886228863288642886528866288672886828869288702887128872288732887428875288762887728878288792888028881288822888328884288852888628887288882888928890288912889228893288942889528896288972889828899289002890128902289032890428905289062890728908289092891028911289122891328914289152891628917289182891928920289212892228923289242892528926289272892828929289302893128932289332893428935289362893728938289392894028941289422894328944289452894628947289482894928950289512895228953289542895528956289572895828959289602896128962289632896428965289662896728968289692897028971289722897328974289752897628977289782897928980289812898228983289842898528986289872898828989289902899128992289932899428995289962899728998289992900029001290022900329004290052900629007290082900929010290112901229013290142901529016290172901829019290202902129022290232902429025290262902729028290292903029031290322903329034290352903629037290382903929040290412904229043290442904529046290472904829049290502905129052290532905429055290562905729058290592906029061290622906329064290652906629067290682906929070290712907229073290742907529076290772907829079290802908129082290832908429085290862908729088290892909029091290922909329094290952909629097290982909929100291012910229103291042910529106291072910829109291102911129112291132911429115291162911729118291192912029121291222912329124291252912629127291282912929130291312913229133291342913529136291372913829139291402914129142291432914429145291462914729148291492915029151291522915329154291552915629157291582915929160291612916229163291642916529166291672916829169291702917129172291732917429175291762917729178291792918029181291822918329184291852918629187291882918929190291912919229193291942919529196291972919829199292002920129202292032920429205292062920729208292092921029211292122921329214292152921629217292182921929220292212922229223292242922529226292272922829229292302923129232292332923429235292362923729238292392924029241292422924329244292452924629247292482924929250292512925229253292542925529256292572925829259292602926129262292632926429265292662926729268292692927029271292722927329274292752927629277292782927929280292812928229283292842928529286292872928829289292902929129292292932929429295292962929729298292992930029301293022930329304293052930629307293082930929310293112931229313293142931529316293172931829319293202932129322293232932429325293262932729328293292933029331293322933329334293352933629337293382933929340293412934229343293442934529346293472934829349293502935129352293532935429355293562935729358293592936029361293622936329364293652936629367293682936929370293712937229373293742937529376293772937829379293802938129382293832938429385293862938729388293892939029391293922939329394293952939629397293982939929400294012940229403294042940529406294072940829409294102941129412294132941429415294162941729418294192942029421294222942329424294252942629427294282942929430294312943229433294342943529436294372943829439294402944129442294432944429445294462944729448294492945029451294522945329454294552945629457294582945929460294612946229463294642946529466294672946829469294702947129472294732947429475294762947729478294792948029481294822948329484294852948629487294882948929490294912949229493294942949529496294972949829499295002950129502295032950429505295062950729508295092951029511295122951329514295152951629517295182951929520295212952229523295242952529526295272952829529295302953129532295332953429535295362953729538295392954029541295422954329544295452954629547295482954929550295512955229553295542955529556295572955829559295602956129562295632956429565295662956729568295692957029571295722957329574295752957629577295782957929580295812958229583295842958529586295872958829589295902959129592295932959429595295962959729598295992960029601296022960329604296052960629607296082960929610296112961229613296142961529616296172961829619296202962129622296232962429625296262962729628296292963029631296322963329634296352963629637296382963929640296412964229643296442964529646296472964829649296502965129652296532965429655296562965729658296592966029661296622966329664296652966629667296682966929670296712967229673296742967529676296772967829679296802968129682296832968429685296862968729688296892969029691296922969329694296952969629697296982969929700297012970229703297042970529706297072970829709297102971129712297132971429715297162971729718297192972029721297222972329724297252972629727297282972929730297312973229733297342973529736297372973829739297402974129742297432974429745297462974729748297492975029751297522975329754297552975629757297582975929760297612976229763297642976529766297672976829769297702977129772297732977429775297762977729778297792978029781297822978329784297852978629787297882978929790297912979229793297942979529796297972979829799298002980129802298032980429805298062980729808298092981029811298122981329814298152981629817298182981929820298212982229823298242982529826298272982829829298302983129832298332983429835298362983729838298392984029841298422984329844298452984629847298482984929850298512985229853298542985529856298572985829859298602986129862298632986429865298662986729868298692987029871298722987329874298752987629877298782987929880298812988229883298842988529886298872988829889298902989129892298932989429895298962989729898298992990029901299022990329904299052990629907299082990929910299112991229913299142991529916299172991829919299202992129922299232992429925299262992729928299292993029931299322993329934299352993629937299382993929940299412994229943299442994529946299472994829949299502995129952299532995429955299562995729958299592996029961299622996329964299652996629967299682996929970299712997229973299742997529976299772997829979299802998129982299832998429985299862998729988299892999029991299922999329994299952999629997299982999930000300013000230003300043000530006300073000830009300103001130012300133001430015300163001730018300193002030021300223002330024300253002630027300283002930030300313003230033300343003530036300373003830039300403004130042300433004430045300463004730048300493005030051300523005330054300553005630057300583005930060300613006230063300643006530066300673006830069300703007130072300733007430075300763007730078300793008030081300823008330084300853008630087300883008930090300913009230093300943009530096300973009830099301003010130102301033010430105301063010730108301093011030111301123011330114301153011630117301183011930120301213012230123301243012530126301273012830129301303013130132301333013430135301363013730138301393014030141301423014330144301453014630147301483014930150301513015230153301543015530156301573015830159301603016130162301633016430165301663016730168301693017030171301723017330174301753017630177301783017930180301813018230183301843018530186301873018830189301903019130192301933019430195301963019730198301993020030201302023020330204302053020630207302083020930210302113021230213302143021530216302173021830219302203022130222302233022430225302263022730228302293023030231302323023330234302353023630237302383023930240302413024230243302443024530246302473024830249302503025130252302533025430255302563025730258302593026030261302623026330264302653026630267302683026930270302713027230273302743027530276302773027830279302803028130282302833028430285302863028730288302893029030291302923029330294302953029630297302983029930300303013030230303303043030530306303073030830309303103031130312303133031430315303163031730318303193032030321303223032330324303253032630327303283032930330303313033230333303343033530336303373033830339303403034130342303433034430345303463034730348303493035030351303523035330354303553035630357303583035930360303613036230363303643036530366303673036830369303703037130372303733037430375303763037730378303793038030381303823038330384303853038630387303883038930390303913039230393303943039530396303973039830399304003040130402304033040430405304063040730408304093041030411304123041330414304153041630417304183041930420304213042230423304243042530426304273042830429304303043130432304333043430435304363043730438304393044030441304423044330444304453044630447304483044930450304513045230453304543045530456304573045830459304603046130462304633046430465304663046730468304693047030471304723047330474304753047630477304783047930480304813048230483304843048530486304873048830489304903049130492304933049430495304963049730498304993050030501305023050330504305053050630507305083050930510305113051230513305143051530516305173051830519305203052130522305233052430525305263052730528305293053030531305323053330534305353053630537305383053930540305413054230543305443054530546305473054830549305503055130552305533055430555305563055730558305593056030561305623056330564305653056630567305683056930570305713057230573305743057530576305773057830579305803058130582305833058430585305863058730588305893059030591305923059330594305953059630597305983059930600306013060230603306043060530606306073060830609306103061130612306133061430615306163061730618306193062030621306223062330624306253062630627306283062930630306313063230633306343063530636306373063830639306403064130642306433064430645306463064730648306493065030651306523065330654306553065630657306583065930660306613066230663306643066530666306673066830669306703067130672306733067430675306763067730678306793068030681306823068330684306853068630687306883068930690306913069230693306943069530696306973069830699307003070130702307033070430705307063070730708307093071030711307123071330714307153071630717307183071930720307213072230723307243072530726307273072830729307303073130732307333073430735307363073730738307393074030741307423074330744307453074630747307483074930750307513075230753307543075530756307573075830759307603076130762307633076430765307663076730768307693077030771307723077330774307753077630777307783077930780307813078230783307843078530786307873078830789307903079130792307933079430795307963079730798307993080030801308023080330804308053080630807308083080930810308113081230813308143081530816308173081830819308203082130822308233082430825308263082730828308293083030831308323083330834308353083630837308383083930840308413084230843308443084530846308473084830849308503085130852308533085430855308563085730858308593086030861308623086330864308653086630867308683086930870308713087230873308743087530876308773087830879308803088130882308833088430885308863088730888308893089030891308923089330894308953089630897308983089930900309013090230903309043090530906309073090830909309103091130912309133091430915309163091730918309193092030921309223092330924309253092630927309283092930930309313093230933309343093530936309373093830939309403094130942309433094430945309463094730948309493095030951309523095330954309553095630957309583095930960309613096230963309643096530966309673096830969309703097130972309733097430975309763097730978309793098030981309823098330984309853098630987309883098930990309913099230993309943099530996309973099830999310003100131002310033100431005310063100731008310093101031011310123101331014310153101631017310183101931020310213102231023310243102531026310273102831029310303103131032310333103431035310363103731038310393104031041310423104331044310453104631047310483104931050310513105231053310543105531056310573105831059310603106131062310633106431065310663106731068310693107031071310723107331074310753107631077310783107931080310813108231083310843108531086310873108831089310903109131092310933109431095310963109731098310993110031101311023110331104311053110631107311083110931110311113111231113311143111531116311173111831119311203112131122311233112431125311263112731128311293113031131311323113331134311353113631137311383113931140311413114231143311443114531146311473114831149311503115131152311533115431155311563115731158311593116031161311623116331164311653116631167311683116931170311713117231173311743117531176311773117831179311803118131182311833118431185311863118731188311893119031191311923119331194311953119631197311983119931200312013120231203312043120531206312073120831209312103121131212312133121431215312163121731218312193122031221312223122331224312253122631227312283122931230312313123231233312343123531236312373123831239312403124131242312433124431245312463124731248312493125031251312523125331254312553125631257312583125931260312613126231263312643126531266312673126831269312703127131272312733127431275312763127731278312793128031281312823128331284312853128631287312883128931290312913129231293312943129531296312973129831299313003130131302313033130431305313063130731308313093131031311313123131331314313153131631317313183131931320313213132231323313243132531326313273132831329313303133131332313333133431335313363133731338313393134031341313423134331344313453134631347313483134931350313513135231353313543135531356313573135831359313603136131362313633136431365313663136731368313693137031371313723137331374313753137631377313783137931380313813138231383313843138531386313873138831389313903139131392313933139431395313963139731398313993140031401314023140331404314053140631407314083140931410314113141231413314143141531416314173141831419314203142131422314233142431425314263142731428314293143031431314323143331434314353143631437314383143931440314413144231443314443144531446314473144831449314503145131452314533145431455314563145731458314593146031461314623146331464314653146631467314683146931470314713147231473314743147531476314773147831479314803148131482314833148431485314863148731488314893149031491314923149331494314953149631497314983149931500315013150231503315043150531506315073150831509315103151131512315133151431515315163151731518315193152031521315223152331524315253152631527315283152931530315313153231533315343153531536315373153831539315403154131542315433154431545315463154731548315493155031551315523155331554315553155631557315583155931560315613156231563315643156531566315673156831569315703157131572315733157431575315763157731578315793158031581315823158331584315853158631587315883158931590315913159231593315943159531596315973159831599316003160131602316033160431605316063160731608316093161031611316123161331614316153161631617316183161931620316213162231623316243162531626316273162831629316303163131632316333163431635316363163731638316393164031641316423164331644316453164631647316483164931650316513165231653316543165531656316573165831659316603166131662316633166431665316663166731668316693167031671316723167331674316753167631677316783167931680316813168231683316843168531686316873168831689316903169131692316933169431695316963169731698316993170031701317023170331704317053170631707317083170931710317113171231713317143171531716317173171831719317203172131722317233172431725317263172731728317293173031731317323173331734317353173631737317383173931740317413174231743317443174531746317473174831749317503175131752317533175431755317563175731758317593176031761317623176331764317653176631767317683176931770317713177231773317743177531776317773177831779317803178131782317833178431785317863178731788317893179031791317923179331794317953179631797317983179931800318013180231803318043180531806318073180831809318103181131812318133181431815318163181731818318193182031821318223182331824318253182631827318283182931830318313183231833318343183531836318373183831839318403184131842318433184431845318463184731848318493185031851318523185331854318553185631857318583185931860318613186231863318643186531866318673186831869318703187131872318733187431875318763187731878318793188031881318823188331884318853188631887318883188931890318913189231893318943189531896318973189831899319003190131902319033190431905319063190731908319093191031911319123191331914319153191631917319183191931920319213192231923319243192531926319273192831929319303193131932319333193431935319363193731938319393194031941319423194331944319453194631947319483194931950319513195231953319543195531956319573195831959319603196131962319633196431965319663196731968319693197031971319723197331974319753197631977319783197931980319813198231983319843198531986319873198831989319903199131992319933199431995319963199731998319993200032001320023200332004320053200632007320083200932010320113201232013320143201532016320173201832019320203202132022320233202432025320263202732028320293203032031320323203332034320353203632037320383203932040320413204232043320443204532046320473204832049320503205132052320533205432055320563205732058320593206032061320623206332064320653206632067320683206932070320713207232073320743207532076320773207832079320803208132082320833208432085320863208732088320893209032091320923209332094320953209632097320983209932100321013210232103321043210532106321073210832109321103211132112321133211432115321163211732118321193212032121321223212332124321253212632127321283212932130321313213232133321343213532136321373213832139321403214132142321433214432145321463214732148321493215032151321523215332154321553215632157321583215932160321613216232163321643216532166321673216832169321703217132172321733217432175321763217732178321793218032181321823218332184321853218632187321883218932190321913219232193321943219532196321973219832199322003220132202322033220432205322063220732208322093221032211322123221332214322153221632217322183221932220322213222232223322243222532226322273222832229322303223132232322333223432235322363223732238322393224032241322423224332244322453224632247322483224932250322513225232253322543225532256322573225832259322603226132262322633226432265322663226732268322693227032271322723227332274322753227632277322783227932280322813228232283322843228532286322873228832289322903229132292322933229432295322963229732298322993230032301323023230332304323053230632307323083230932310323113231232313323143231532316323173231832319323203232132322323233232432325323263232732328323293233032331323323233332334323353233632337323383233932340323413234232343323443234532346323473234832349323503235132352323533235432355323563235732358323593236032361323623236332364323653236632367323683236932370323713237232373323743237532376323773237832379323803238132382323833238432385323863238732388323893239032391323923239332394323953239632397323983239932400324013240232403324043240532406324073240832409324103241132412324133241432415324163241732418324193242032421324223242332424324253242632427324283242932430324313243232433324343243532436324373243832439324403244132442324433244432445324463244732448324493245032451324523245332454324553245632457324583245932460324613246232463324643246532466324673246832469324703247132472324733247432475324763247732478324793248032481324823248332484324853248632487324883248932490324913249232493324943249532496324973249832499325003250132502325033250432505325063250732508325093251032511325123251332514325153251632517325183251932520325213252232523325243252532526325273252832529325303253132532325333253432535325363253732538325393254032541325423254332544325453254632547325483254932550325513255232553325543255532556325573255832559325603256132562325633256432565325663256732568325693257032571325723257332574325753257632577325783257932580325813258232583325843258532586325873258832589325903259132592325933259432595325963259732598325993260032601326023260332604326053260632607326083260932610326113261232613326143261532616326173261832619326203262132622326233262432625326263262732628326293263032631326323263332634326353263632637326383263932640326413264232643326443264532646326473264832649326503265132652326533265432655326563265732658326593266032661326623266332664326653266632667326683266932670326713267232673326743267532676326773267832679326803268132682326833268432685326863268732688326893269032691326923269332694326953269632697326983269932700327013270232703327043270532706327073270832709327103271132712327133271432715327163271732718327193272032721327223272332724327253272632727327283272932730327313273232733327343273532736327373273832739327403274132742327433274432745327463274732748327493275032751327523275332754327553275632757327583275932760327613276232763327643276532766327673276832769327703277132772327733277432775327763277732778327793278032781327823278332784327853278632787327883278932790327913279232793327943279532796327973279832799328003280132802328033280432805328063280732808328093281032811328123281332814328153281632817328183281932820328213282232823328243282532826328273282832829328303283132832328333283432835328363283732838328393284032841328423284332844328453284632847328483284932850328513285232853328543285532856328573285832859328603286132862328633286432865328663286732868328693287032871328723287332874328753287632877328783287932880328813288232883328843288532886328873288832889328903289132892328933289432895328963289732898328993290032901329023290332904329053290632907329083290932910329113291232913329143291532916329173291832919329203292132922329233292432925329263292732928329293293032931329323293332934329353293632937329383293932940329413294232943329443294532946329473294832949329503295132952329533295432955329563295732958329593296032961329623296332964329653296632967329683296932970329713297232973329743297532976329773297832979329803298132982329833298432985329863298732988329893299032991329923299332994329953299632997329983299933000330013300233003330043300533006330073300833009330103301133012330133301433015330163301733018330193302033021330223302333024330253302633027330283302933030330313303233033330343303533036330373303833039330403304133042330433304433045330463304733048330493305033051330523305333054330553305633057330583305933060330613306233063330643306533066330673306833069330703307133072330733307433075330763307733078330793308033081330823308333084330853308633087330883308933090330913309233093330943309533096330973309833099331003310133102331033310433105331063310733108331093311033111331123311333114331153311633117331183311933120331213312233123331243312533126331273312833129331303313133132331333313433135331363313733138331393314033141331423314333144331453314633147331483314933150331513315233153331543315533156331573315833159331603316133162331633316433165331663316733168331693317033171331723317333174331753317633177331783317933180331813318233183331843318533186331873318833189331903319133192331933319433195331963319733198331993320033201332023320333204332053320633207332083320933210332113321233213332143321533216332173321833219332203322133222332233322433225332263322733228332293323033231332323323333234332353323633237332383323933240332413324233243332443324533246332473324833249332503325133252332533325433255332563325733258332593326033261332623326333264332653326633267332683326933270332713327233273332743327533276332773327833279332803328133282332833328433285332863328733288332893329033291332923329333294332953329633297332983329933300333013330233303333043330533306333073330833309333103331133312333133331433315333163331733318333193332033321333223332333324333253332633327333283332933330333313333233333333343333533336333373333833339333403334133342333433334433345333463334733348333493335033351333523335333354333553335633357333583335933360333613336233363333643336533366333673336833369333703337133372333733337433375333763337733378333793338033381333823338333384333853338633387333883338933390333913339233393333943339533396333973339833399334003340133402334033340433405334063340733408334093341033411334123341333414334153341633417334183341933420334213342233423334243342533426334273342833429334303343133432334333343433435334363343733438334393344033441334423344333444334453344633447334483344933450334513345233453334543345533456334573345833459334603346133462334633346433465334663346733468334693347033471334723347333474334753347633477334783347933480334813348233483334843348533486334873348833489334903349133492334933349433495334963349733498334993350033501335023350333504335053350633507335083350933510335113351233513335143351533516335173351833519335203352133522335233352433525335263352733528335293353033531335323353333534335353353633537335383353933540335413354233543335443354533546335473354833549335503355133552335533355433555335563355733558335593356033561335623356333564335653356633567335683356933570335713357233573335743357533576335773357833579335803358133582335833358433585335863358733588335893359033591335923359333594335953359633597335983359933600336013360233603336043360533606336073360833609336103361133612336133361433615336163361733618336193362033621336223362333624336253362633627336283362933630336313363233633336343363533636336373363833639336403364133642336433364433645336463364733648336493365033651336523365333654336553365633657336583365933660336613366233663336643366533666336673366833669336703367133672336733367433675336763367733678336793368033681336823368333684336853368633687336883368933690336913369233693336943369533696336973369833699337003370133702337033370433705337063370733708337093371033711337123371333714337153371633717337183371933720337213372233723337243372533726337273372833729337303373133732337333373433735337363373733738337393374033741337423374333744337453374633747337483374933750337513375233753337543375533756337573375833759337603376133762337633376433765337663376733768337693377033771337723377333774337753377633777337783377933780337813378233783337843378533786337873378833789337903379133792337933379433795337963379733798337993380033801338023380333804338053380633807338083380933810338113381233813338143381533816338173381833819338203382133822338233382433825338263382733828338293383033831338323383333834338353383633837338383383933840338413384233843338443384533846338473384833849338503385133852338533385433855338563385733858338593386033861338623386333864338653386633867338683386933870338713387233873338743387533876338773387833879338803388133882338833388433885338863388733888338893389033891338923389333894338953389633897338983389933900339013390233903339043390533906339073390833909339103391133912339133391433915339163391733918339193392033921339223392333924339253392633927339283392933930339313393233933339343393533936339373393833939339403394133942339433394433945
  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. "type": "integer",
  1220. "description": "菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 4:仓单贸易 ps:新加的参数,为了兼容以前,不传则默认查3",
  1221. "name": "menutype",
  1222. "in": "query"
  1223. }
  1224. ],
  1225. "responses": {
  1226. "200": {
  1227. "description": "OK",
  1228. "schema": {
  1229. "type": "array",
  1230. "items": {
  1231. "$ref": "#/definitions/models.ErmcpRoleMenuEx"
  1232. }
  1233. }
  1234. },
  1235. "500": {
  1236. "description": "Internal Server Error",
  1237. "schema": {
  1238. "$ref": "#/definitions/app.Response"
  1239. }
  1240. }
  1241. }
  1242. }
  1243. },
  1244. "/Ermcp/QueryAccMgrTaAccountInfo": {
  1245. "get": {
  1246. "security": [
  1247. {
  1248. "ApiKeyAuth": []
  1249. }
  1250. ],
  1251. "produces": [
  1252. "application/json"
  1253. ],
  1254. "tags": [
  1255. "企业风险管理(app)"
  1256. ],
  1257. "summary": "查询账户管理授信(账户管理/账户设置/授信)",
  1258. "parameters": [
  1259. {
  1260. "type": "integer",
  1261. "description": "用户ID",
  1262. "name": "userid",
  1263. "in": "query",
  1264. "required": true
  1265. },
  1266. {
  1267. "type": "integer",
  1268. "description": "账号id",
  1269. "name": "accountid",
  1270. "in": "query"
  1271. }
  1272. ],
  1273. "responses": {
  1274. "200": {
  1275. "description": "OK",
  1276. "schema": {
  1277. "type": "array",
  1278. "items": {
  1279. "$ref": "#/definitions/models.ErmcpTaAccountInfo"
  1280. }
  1281. }
  1282. },
  1283. "500": {
  1284. "description": "Internal Server Error",
  1285. "schema": {
  1286. "$ref": "#/definitions/app.Response"
  1287. }
  1288. }
  1289. }
  1290. }
  1291. },
  1292. "/Ermcp/QueryAccMgrTaaccount": {
  1293. "get": {
  1294. "security": [
  1295. {
  1296. "ApiKeyAuth": []
  1297. }
  1298. ],
  1299. "produces": [
  1300. "application/json"
  1301. ],
  1302. "tags": [
  1303. "企业风险管理(app)"
  1304. ],
  1305. "summary": "查询账户管理期货账号(账户管理/期货账号)",
  1306. "parameters": [
  1307. {
  1308. "type": "integer",
  1309. "description": "用户ID",
  1310. "name": "userid",
  1311. "in": "query",
  1312. "required": true
  1313. }
  1314. ],
  1315. "responses": {
  1316. "200": {
  1317. "description": "OK",
  1318. "schema": {
  1319. "type": "array",
  1320. "items": {
  1321. "$ref": "#/definitions/models.ErmcpTaAccountEx"
  1322. }
  1323. }
  1324. },
  1325. "500": {
  1326. "description": "Internal Server Error",
  1327. "schema": {
  1328. "$ref": "#/definitions/app.Response"
  1329. }
  1330. }
  1331. }
  1332. }
  1333. },
  1334. "/Ermcp/QueryAvaildGoodsGroup": {
  1335. "get": {
  1336. "security": [
  1337. {
  1338. "ApiKeyAuth": []
  1339. }
  1340. ],
  1341. "produces": [
  1342. "application/json"
  1343. ],
  1344. "tags": [
  1345. "企业风险管理(app)"
  1346. ],
  1347. "summary": "查询可配置期货品种(菜单:商品信息/现货商品/新增现货商品/新增套保品种)",
  1348. "parameters": [
  1349. {
  1350. "type": "integer",
  1351. "description": "所属机构ID",
  1352. "name": "userid",
  1353. "in": "query",
  1354. "required": true
  1355. }
  1356. ],
  1357. "responses": {
  1358. "200": {
  1359. "description": "OK",
  1360. "schema": {
  1361. "type": "array",
  1362. "items": {
  1363. "$ref": "#/definitions/ermcp.QryAvalidGPRsp"
  1364. }
  1365. }
  1366. },
  1367. "500": {
  1368. "description": "Internal Server Error",
  1369. "schema": {
  1370. "$ref": "#/definitions/app.Response"
  1371. }
  1372. }
  1373. }
  1374. }
  1375. },
  1376. "/Ermcp/QueryBusinessDj": {
  1377. "get": {
  1378. "security": [
  1379. {
  1380. "ApiKeyAuth": []
  1381. }
  1382. ],
  1383. "produces": [
  1384. "application/json"
  1385. ],
  1386. "tags": [
  1387. "企业风险管理(app)"
  1388. ],
  1389. "summary": "查询业务管理(点价)(对应菜单:业务管理/点价)",
  1390. "parameters": [
  1391. {
  1392. "type": "integer",
  1393. "description": "用户ID",
  1394. "name": "UserId",
  1395. "in": "query",
  1396. "required": true
  1397. },
  1398. {
  1399. "type": "integer",
  1400. "description": "用户类型 2-机构 7-企业成员",
  1401. "name": "usertype",
  1402. "in": "query"
  1403. },
  1404. {
  1405. "type": "string",
  1406. "description": "现货合同ID, 不填则查所有",
  1407. "name": "relatedid",
  1408. "in": "query"
  1409. },
  1410. {
  1411. "type": "string",
  1412. "description": "申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  1413. "name": "applystatus",
  1414. "in": "query"
  1415. }
  1416. ],
  1417. "responses": {
  1418. "200": {
  1419. "description": "OK",
  1420. "schema": {
  1421. "type": "array",
  1422. "items": {
  1423. "$ref": "#/definitions/ermcp.QryBusinessDjRsp"
  1424. }
  1425. }
  1426. },
  1427. "500": {
  1428. "description": "Internal Server Error",
  1429. "schema": {
  1430. "$ref": "#/definitions/app.Response"
  1431. }
  1432. }
  1433. }
  1434. }
  1435. },
  1436. "/Ermcp/QueryBusinessFp": {
  1437. "get": {
  1438. "security": [
  1439. {
  1440. "ApiKeyAuth": []
  1441. }
  1442. ],
  1443. "produces": [
  1444. "application/json"
  1445. ],
  1446. "tags": [
  1447. "企业风险管理(app)"
  1448. ],
  1449. "summary": "查询财务管理(发票)(对应菜单:财务管理/发票)",
  1450. "parameters": [
  1451. {
  1452. "type": "integer",
  1453. "description": "用户ID",
  1454. "name": "UserId",
  1455. "in": "query",
  1456. "required": true
  1457. },
  1458. {
  1459. "type": "integer",
  1460. "description": "用户类型 2-机构 7-企业成员",
  1461. "name": "usertype",
  1462. "in": "query"
  1463. },
  1464. {
  1465. "type": "string",
  1466. "description": "现货合同ID, 不填则查所有",
  1467. "name": "relatedid",
  1468. "in": "query"
  1469. },
  1470. {
  1471. "type": "string",
  1472. "description": "申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  1473. "name": "applystatus",
  1474. "in": "query"
  1475. }
  1476. ],
  1477. "responses": {
  1478. "200": {
  1479. "description": "OK",
  1480. "schema": {
  1481. "type": "array",
  1482. "items": {
  1483. "$ref": "#/definitions/ermcp.QryBussinessFpRsp"
  1484. }
  1485. }
  1486. },
  1487. "500": {
  1488. "description": "Internal Server Error",
  1489. "schema": {
  1490. "$ref": "#/definitions/app.Response"
  1491. }
  1492. }
  1493. }
  1494. }
  1495. },
  1496. "/Ermcp/QueryBusinessJs": {
  1497. "get": {
  1498. "security": [
  1499. {
  1500. "ApiKeyAuth": []
  1501. }
  1502. ],
  1503. "produces": [
  1504. "application/json"
  1505. ],
  1506. "tags": [
  1507. "企业风险管理(app)"
  1508. ],
  1509. "summary": "查询业务管理(结算)(对应菜单:业务管理/结算)",
  1510. "parameters": [
  1511. {
  1512. "type": "integer",
  1513. "description": "用户ID",
  1514. "name": "UserId",
  1515. "in": "query",
  1516. "required": true
  1517. },
  1518. {
  1519. "type": "integer",
  1520. "description": "用户类型 2-机构 7-企业成员",
  1521. "name": "usertype",
  1522. "in": "query"
  1523. },
  1524. {
  1525. "type": "string",
  1526. "description": "现货合同ID, 不填则查所有",
  1527. "name": "relatedid",
  1528. "in": "query"
  1529. },
  1530. {
  1531. "type": "string",
  1532. "description": "操作申请id",
  1533. "name": "operateapplyid",
  1534. "in": "query"
  1535. },
  1536. {
  1537. "type": "string",
  1538. "description": "申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  1539. "name": "applystatus",
  1540. "in": "query"
  1541. }
  1542. ],
  1543. "responses": {
  1544. "200": {
  1545. "description": "OK",
  1546. "schema": {
  1547. "type": "array",
  1548. "items": {
  1549. "$ref": "#/definitions/ermcp.QryBussinessJsRsp"
  1550. }
  1551. }
  1552. },
  1553. "500": {
  1554. "description": "Internal Server Error",
  1555. "schema": {
  1556. "$ref": "#/definitions/app.Response"
  1557. }
  1558. }
  1559. }
  1560. }
  1561. },
  1562. "/Ermcp/QueryBusinessJsEx": {
  1563. "get": {
  1564. "security": [
  1565. {
  1566. "ApiKeyAuth": []
  1567. }
  1568. ],
  1569. "produces": [
  1570. "application/json"
  1571. ],
  1572. "tags": [
  1573. "企业风险管理(app)"
  1574. ],
  1575. "summary": "查询业务管理(结算)(对应菜单:业务管理/结算[拆分记录])",
  1576. "parameters": [
  1577. {
  1578. "type": "integer",
  1579. "description": "用户ID",
  1580. "name": "UserId",
  1581. "in": "query",
  1582. "required": true
  1583. },
  1584. {
  1585. "type": "integer",
  1586. "description": "用户类型 2-机构 7-企业成员",
  1587. "name": "usertype",
  1588. "in": "query"
  1589. },
  1590. {
  1591. "type": "string",
  1592. "description": "现货合同ID, 不填则查所有",
  1593. "name": "relatedid",
  1594. "in": "query"
  1595. },
  1596. {
  1597. "type": "string",
  1598. "description": "申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  1599. "name": "applystatus",
  1600. "in": "query"
  1601. }
  1602. ],
  1603. "responses": {
  1604. "200": {
  1605. "description": "OK",
  1606. "schema": {
  1607. "type": "array",
  1608. "items": {
  1609. "$ref": "#/definitions/ermcp.QryBussinessJsExRsp"
  1610. }
  1611. }
  1612. },
  1613. "500": {
  1614. "description": "Internal Server Error",
  1615. "schema": {
  1616. "$ref": "#/definitions/app.Response"
  1617. }
  1618. }
  1619. }
  1620. }
  1621. },
  1622. "/Ermcp/QueryBusinessKx": {
  1623. "get": {
  1624. "security": [
  1625. {
  1626. "ApiKeyAuth": []
  1627. }
  1628. ],
  1629. "produces": [
  1630. "application/json"
  1631. ],
  1632. "tags": [
  1633. "企业风险管理(app)"
  1634. ],
  1635. "summary": "查询财务管理(款项)(对应菜单:财务管理/款项)",
  1636. "parameters": [
  1637. {
  1638. "type": "integer",
  1639. "description": "用户ID",
  1640. "name": "UserId",
  1641. "in": "query",
  1642. "required": true
  1643. },
  1644. {
  1645. "type": "integer",
  1646. "description": "用户类型 2-机构 7-企业成员",
  1647. "name": "usertype",
  1648. "in": "query"
  1649. },
  1650. {
  1651. "type": "string",
  1652. "description": "现货合同ID, 不填则查所有",
  1653. "name": "relatedid",
  1654. "in": "query"
  1655. },
  1656. {
  1657. "type": "string",
  1658. "description": "申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  1659. "name": "applystatus",
  1660. "in": "query"
  1661. }
  1662. ],
  1663. "responses": {
  1664. "200": {
  1665. "description": "OK",
  1666. "schema": {
  1667. "type": "array",
  1668. "items": {
  1669. "$ref": "#/definitions/ermcp.QryBussinessKxRsp"
  1670. }
  1671. }
  1672. },
  1673. "500": {
  1674. "description": "Internal Server Error",
  1675. "schema": {
  1676. "$ref": "#/definitions/app.Response"
  1677. }
  1678. }
  1679. }
  1680. }
  1681. },
  1682. "/Ermcp/QueryChangeLog": {
  1683. "get": {
  1684. "security": [
  1685. {
  1686. "ApiKeyAuth": []
  1687. }
  1688. ],
  1689. "produces": [
  1690. "application/json"
  1691. ],
  1692. "tags": [
  1693. "企业风险管理(app)"
  1694. ],
  1695. "summary": "查询变更记录",
  1696. "parameters": [
  1697. {
  1698. "type": "string",
  1699. "description": "合同ID",
  1700. "name": "RelatedId",
  1701. "in": "query",
  1702. "required": true
  1703. }
  1704. ],
  1705. "responses": {
  1706. "200": {
  1707. "description": "OK",
  1708. "schema": {
  1709. "type": "array",
  1710. "items": {
  1711. "$ref": "#/definitions/ermcp.QryOPLogRsp"
  1712. }
  1713. }
  1714. },
  1715. "500": {
  1716. "description": "Internal Server Error",
  1717. "schema": {
  1718. "$ref": "#/definitions/app.Response"
  1719. }
  1720. }
  1721. }
  1722. }
  1723. },
  1724. "/Ermcp/QueryErmcpHisOrderDetails": {
  1725. "get": {
  1726. "security": [
  1727. {
  1728. "ApiKeyAuth": []
  1729. }
  1730. ],
  1731. "produces": [
  1732. "application/json"
  1733. ],
  1734. "tags": [
  1735. "企业风险管理(app)"
  1736. ],
  1737. "summary": "获取企业风管期货历史委托单信息",
  1738. "parameters": [
  1739. {
  1740. "type": "integer",
  1741. "description": "资金账户ID",
  1742. "name": "accountID",
  1743. "in": "query",
  1744. "required": true
  1745. },
  1746. {
  1747. "type": "string",
  1748. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  1749. "name": "startDate",
  1750. "in": "query"
  1751. },
  1752. {
  1753. "type": "string",
  1754. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  1755. "name": "endDate",
  1756. "in": "query"
  1757. }
  1758. ],
  1759. "responses": {
  1760. "200": {
  1761. "description": "OK",
  1762. "schema": {
  1763. "$ref": "#/definitions/models.QueryHedgeOrderDetailRsp"
  1764. }
  1765. },
  1766. "500": {
  1767. "description": "Internal Server Error",
  1768. "schema": {
  1769. "$ref": "#/definitions/app.Response"
  1770. }
  1771. }
  1772. }
  1773. }
  1774. },
  1775. "/Ermcp/QueryErmcpHisTradeDetails": {
  1776. "get": {
  1777. "security": [
  1778. {
  1779. "ApiKeyAuth": []
  1780. }
  1781. ],
  1782. "produces": [
  1783. "application/json"
  1784. ],
  1785. "tags": [
  1786. "企业风险管理(app)"
  1787. ],
  1788. "summary": "获取企业风管期货历史成交单信息",
  1789. "parameters": [
  1790. {
  1791. "type": "integer",
  1792. "description": "资金账户ID",
  1793. "name": "accountID",
  1794. "in": "query",
  1795. "required": true
  1796. },
  1797. {
  1798. "type": "integer",
  1799. "description": "商品ID",
  1800. "name": "goodsID",
  1801. "in": "query"
  1802. },
  1803. {
  1804. "type": "integer",
  1805. "description": "买卖方向,0:买 1:卖",
  1806. "name": "buyOrSell",
  1807. "in": "query"
  1808. },
  1809. {
  1810. "type": "integer",
  1811. "description": "关联委托单号",
  1812. "name": "orderID",
  1813. "in": "query"
  1814. },
  1815. {
  1816. "type": "string",
  1817. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  1818. "name": "startDate",
  1819. "in": "query"
  1820. },
  1821. {
  1822. "type": "string",
  1823. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  1824. "name": "endDate",
  1825. "in": "query"
  1826. }
  1827. ],
  1828. "responses": {
  1829. "200": {
  1830. "description": "OK",
  1831. "schema": {
  1832. "$ref": "#/definitions/models.QueryHedgeTradeDetailRsp"
  1833. }
  1834. },
  1835. "500": {
  1836. "description": "Internal Server Error",
  1837. "schema": {
  1838. "$ref": "#/definitions/app.Response"
  1839. }
  1840. }
  1841. }
  1842. }
  1843. },
  1844. "/Ermcp/QueryErmcpInnerHolderDetails": {
  1845. "get": {
  1846. "security": [
  1847. {
  1848. "ApiKeyAuth": []
  1849. }
  1850. ],
  1851. "produces": [
  1852. "application/json"
  1853. ],
  1854. "tags": [
  1855. "企业风险管理(app)"
  1856. ],
  1857. "summary": "获取企业风管期货内部持仓单信息",
  1858. "parameters": [
  1859. {
  1860. "type": "integer",
  1861. "description": "资金账户ID",
  1862. "name": "accountID",
  1863. "in": "query",
  1864. "required": true
  1865. },
  1866. {
  1867. "type": "integer",
  1868. "description": "商品ID",
  1869. "name": "goodsID",
  1870. "in": "query"
  1871. },
  1872. {
  1873. "type": "integer",
  1874. "description": "买卖方向,0:买 1:卖",
  1875. "name": "buyOrSell",
  1876. "in": "query"
  1877. }
  1878. ],
  1879. "responses": {
  1880. "200": {
  1881. "description": "OK",
  1882. "schema": {
  1883. "$ref": "#/definitions/models.Hedgeinnerholderdetail"
  1884. }
  1885. },
  1886. "500": {
  1887. "description": "Internal Server Error",
  1888. "schema": {
  1889. "$ref": "#/definitions/app.Response"
  1890. }
  1891. }
  1892. }
  1893. }
  1894. },
  1895. "/Ermcp/QueryErmcpOrderDetails": {
  1896. "get": {
  1897. "security": [
  1898. {
  1899. "ApiKeyAuth": []
  1900. }
  1901. ],
  1902. "produces": [
  1903. "application/json"
  1904. ],
  1905. "tags": [
  1906. "企业风险管理(app)"
  1907. ],
  1908. "summary": "获取企业风管期货委托单信息",
  1909. "parameters": [
  1910. {
  1911. "type": "integer",
  1912. "description": "资金账户ID",
  1913. "name": "accountID",
  1914. "in": "query",
  1915. "required": true
  1916. }
  1917. ],
  1918. "responses": {
  1919. "200": {
  1920. "description": "OK",
  1921. "schema": {
  1922. "$ref": "#/definitions/models.QueryHedgeOrderDetailRsp"
  1923. }
  1924. },
  1925. "500": {
  1926. "description": "Internal Server Error",
  1927. "schema": {
  1928. "$ref": "#/definitions/app.Response"
  1929. }
  1930. }
  1931. }
  1932. }
  1933. },
  1934. "/Ermcp/QueryErmcpTradeDetails": {
  1935. "get": {
  1936. "security": [
  1937. {
  1938. "ApiKeyAuth": []
  1939. }
  1940. ],
  1941. "produces": [
  1942. "application/json"
  1943. ],
  1944. "tags": [
  1945. "企业风险管理(app)"
  1946. ],
  1947. "summary": "获取企业风管期货成交单信息",
  1948. "parameters": [
  1949. {
  1950. "type": "integer",
  1951. "description": "资金账户ID",
  1952. "name": "accountID",
  1953. "in": "query",
  1954. "required": true
  1955. },
  1956. {
  1957. "type": "integer",
  1958. "description": "商品ID",
  1959. "name": "goodsID",
  1960. "in": "query"
  1961. },
  1962. {
  1963. "type": "integer",
  1964. "description": "买卖方向,0:买 1:卖",
  1965. "name": "buyOrSell",
  1966. "in": "query"
  1967. },
  1968. {
  1969. "type": "integer",
  1970. "description": "关联委托单号",
  1971. "name": "orderID",
  1972. "in": "query"
  1973. }
  1974. ],
  1975. "responses": {
  1976. "200": {
  1977. "description": "OK",
  1978. "schema": {
  1979. "$ref": "#/definitions/models.QueryHedgeTradeDetailRsp"
  1980. }
  1981. },
  1982. "500": {
  1983. "description": "Internal Server Error",
  1984. "schema": {
  1985. "$ref": "#/definitions/app.Response"
  1986. }
  1987. }
  1988. }
  1989. }
  1990. },
  1991. "/Ermcp/QueryErmcpTradePosition": {
  1992. "get": {
  1993. "security": [
  1994. {
  1995. "ApiKeyAuth": []
  1996. }
  1997. ],
  1998. "description": "本接口只使用于通道交易相关头寸查询;子账户持仓头寸占用保证金为0;",
  1999. "produces": [
  2000. "application/json"
  2001. ],
  2002. "tags": [
  2003. "企业风险管理(app)"
  2004. ],
  2005. "summary": "获取企业风管期货持仓头寸信息",
  2006. "parameters": [
  2007. {
  2008. "type": "integer",
  2009. "description": "资金账户ID",
  2010. "name": "accountID",
  2011. "in": "query",
  2012. "required": true
  2013. },
  2014. {
  2015. "type": "integer",
  2016. "description": "所属市场ID",
  2017. "name": "marketID",
  2018. "in": "query"
  2019. }
  2020. ],
  2021. "responses": {
  2022. "200": {
  2023. "description": "OK",
  2024. "schema": {
  2025. "$ref": "#/definitions/ermcp.QueryErmcpTradePositionRsp"
  2026. }
  2027. },
  2028. "500": {
  2029. "description": "Internal Server Error",
  2030. "schema": {
  2031. "$ref": "#/definitions/app.Response"
  2032. }
  2033. }
  2034. }
  2035. }
  2036. },
  2037. "/Ermcp/QueryExposureDetail": {
  2038. "get": {
  2039. "security": [
  2040. {
  2041. "ApiKeyAuth": []
  2042. }
  2043. ],
  2044. "produces": [
  2045. "application/json"
  2046. ],
  2047. "tags": [
  2048. "企业风险管理(app)"
  2049. ],
  2050. "summary": "查询敞口现货明细",
  2051. "parameters": [
  2052. {
  2053. "type": "integer",
  2054. "description": "所属机构ID",
  2055. "name": "areaUserId",
  2056. "in": "query",
  2057. "required": true
  2058. },
  2059. {
  2060. "type": "integer",
  2061. "description": "套保商品",
  2062. "name": "middleGoodsId",
  2063. "in": "query",
  2064. "required": true
  2065. }
  2066. ],
  2067. "responses": {
  2068. "200": {
  2069. "description": "OK",
  2070. "schema": {
  2071. "type": "array",
  2072. "items": {
  2073. "$ref": "#/definitions/ermcp.ExposureDetailRsp"
  2074. }
  2075. }
  2076. },
  2077. "500": {
  2078. "description": "Internal Server Error",
  2079. "schema": {
  2080. "$ref": "#/definitions/app.Response"
  2081. }
  2082. }
  2083. }
  2084. }
  2085. },
  2086. "/Ermcp/QueryExposureGoods": {
  2087. "get": {
  2088. "security": [
  2089. {
  2090. "ApiKeyAuth": []
  2091. }
  2092. ],
  2093. "produces": [
  2094. "application/json"
  2095. ],
  2096. "tags": [
  2097. "企业风险管理(app)"
  2098. ],
  2099. "summary": "查询敞口主力合约",
  2100. "parameters": [
  2101. {
  2102. "type": "integer",
  2103. "description": "套保商品id",
  2104. "name": "middlegoodsid",
  2105. "in": "query",
  2106. "required": true
  2107. }
  2108. ],
  2109. "responses": {
  2110. "200": {
  2111. "description": "OK",
  2112. "schema": {
  2113. "type": "array",
  2114. "items": {
  2115. "$ref": "#/definitions/models.ErmcpMiddlegoodsRelateGoods"
  2116. }
  2117. }
  2118. },
  2119. "500": {
  2120. "description": "Internal Server Error",
  2121. "schema": {
  2122. "$ref": "#/definitions/app.Response"
  2123. }
  2124. }
  2125. }
  2126. }
  2127. },
  2128. "/Ermcp/QueryExposureHedgePosition": {
  2129. "get": {
  2130. "security": [
  2131. {
  2132. "ApiKeyAuth": []
  2133. }
  2134. ],
  2135. "produces": [
  2136. "application/json"
  2137. ],
  2138. "tags": [
  2139. "企业风险管理(app)"
  2140. ],
  2141. "summary": "查询敞口期货头寸(菜单:敞口/期货头寸)",
  2142. "parameters": [
  2143. {
  2144. "type": "integer",
  2145. "description": "用户id",
  2146. "name": "userid",
  2147. "in": "query",
  2148. "required": true
  2149. }
  2150. ],
  2151. "responses": {
  2152. "200": {
  2153. "description": "OK",
  2154. "schema": {
  2155. "type": "array",
  2156. "items": {
  2157. "$ref": "#/definitions/ermcp.ExposureHedgePositionRsp"
  2158. }
  2159. }
  2160. },
  2161. "500": {
  2162. "description": "Internal Server Error",
  2163. "schema": {
  2164. "$ref": "#/definitions/app.Response"
  2165. }
  2166. }
  2167. }
  2168. }
  2169. },
  2170. "/Ermcp/QueryExposureHedgePositionDetail": {
  2171. "get": {
  2172. "security": [
  2173. {
  2174. "ApiKeyAuth": []
  2175. }
  2176. ],
  2177. "produces": [
  2178. "application/json"
  2179. ],
  2180. "tags": [
  2181. "企业风险管理(app)"
  2182. ],
  2183. "summary": "查询敞口期货头寸期货明细(菜单:敞口/期货头寸/期货明细)",
  2184. "parameters": [
  2185. {
  2186. "type": "integer",
  2187. "description": "所属机构ID",
  2188. "name": "userid",
  2189. "in": "query",
  2190. "required": true
  2191. },
  2192. {
  2193. "type": "integer",
  2194. "description": "商品id",
  2195. "name": "goodsId",
  2196. "in": "query",
  2197. "required": true
  2198. }
  2199. ],
  2200. "responses": {
  2201. "200": {
  2202. "description": "OK",
  2203. "schema": {
  2204. "type": "array",
  2205. "items": {
  2206. "$ref": "#/definitions/ermcp.ExposureHedgePosDetailRsp"
  2207. }
  2208. }
  2209. },
  2210. "500": {
  2211. "description": "Internal Server Error",
  2212. "schema": {
  2213. "$ref": "#/definitions/app.Response"
  2214. }
  2215. }
  2216. }
  2217. }
  2218. },
  2219. "/Ermcp/QueryExposureSpot": {
  2220. "get": {
  2221. "security": [
  2222. {
  2223. "ApiKeyAuth": []
  2224. }
  2225. ],
  2226. "produces": [
  2227. "application/json"
  2228. ],
  2229. "tags": [
  2230. "企业风险管理(app)"
  2231. ],
  2232. "summary": "查询敞口现货头寸(敞口/现货头寸)",
  2233. "parameters": [
  2234. {
  2235. "type": "integer",
  2236. "description": "所属机构ID",
  2237. "name": "areaUserId",
  2238. "in": "query",
  2239. "required": true
  2240. }
  2241. ],
  2242. "responses": {
  2243. "200": {
  2244. "description": "OK",
  2245. "schema": {
  2246. "type": "array",
  2247. "items": {
  2248. "$ref": "#/definitions/ermcp.ExposureSpotRsp"
  2249. }
  2250. }
  2251. },
  2252. "500": {
  2253. "description": "Internal Server Error",
  2254. "schema": {
  2255. "$ref": "#/definitions/app.Response"
  2256. }
  2257. }
  2258. }
  2259. }
  2260. },
  2261. "/Ermcp/QueryExposureSpotDetail": {
  2262. "get": {
  2263. "security": [
  2264. {
  2265. "ApiKeyAuth": []
  2266. }
  2267. ],
  2268. "produces": [
  2269. "application/json"
  2270. ],
  2271. "tags": [
  2272. "企业风险管理(app)"
  2273. ],
  2274. "summary": "查询敞口现货头寸明细(敞口/现货头寸/现货明细)",
  2275. "parameters": [
  2276. {
  2277. "type": "integer",
  2278. "description": "所属机构ID",
  2279. "name": "areaUserId",
  2280. "in": "query",
  2281. "required": true
  2282. },
  2283. {
  2284. "type": "integer",
  2285. "description": "现货品种ID",
  2286. "name": "wrstandardId",
  2287. "in": "query",
  2288. "required": true
  2289. }
  2290. ],
  2291. "responses": {
  2292. "200": {
  2293. "description": "OK",
  2294. "schema": {
  2295. "type": "array",
  2296. "items": {
  2297. "$ref": "#/definitions/ermcp.ExposureSpotDetailRsp"
  2298. }
  2299. }
  2300. },
  2301. "500": {
  2302. "description": "Internal Server Error",
  2303. "schema": {
  2304. "$ref": "#/definitions/app.Response"
  2305. }
  2306. }
  2307. }
  2308. }
  2309. },
  2310. "/Ermcp/QueryFuturesCompany": {
  2311. "get": {
  2312. "security": [
  2313. {
  2314. "ApiKeyAuth": []
  2315. }
  2316. ],
  2317. "produces": [
  2318. "application/json"
  2319. ],
  2320. "tags": [
  2321. "企业风险管理(app)"
  2322. ],
  2323. "summary": "查询期货公司",
  2324. "responses": {
  2325. "200": {
  2326. "description": "OK",
  2327. "schema": {
  2328. "type": "array",
  2329. "items": {
  2330. "$ref": "#/definitions/models.ErmcpFuturesCompany"
  2331. }
  2332. }
  2333. },
  2334. "500": {
  2335. "description": "Internal Server Error",
  2336. "schema": {
  2337. "$ref": "#/definitions/app.Response"
  2338. }
  2339. }
  2340. }
  2341. }
  2342. },
  2343. "/Ermcp/QueryGGConvertConfig": {
  2344. "get": {
  2345. "security": [
  2346. {
  2347. "ApiKeyAuth": []
  2348. }
  2349. ],
  2350. "produces": [
  2351. "application/json"
  2352. ],
  2353. "tags": [
  2354. "企业风险管理(app)"
  2355. ],
  2356. "summary": "查询期货品种配置(菜单:商品信息/期货品种)",
  2357. "parameters": [
  2358. {
  2359. "type": "integer",
  2360. "description": "品种id(不填则查所有)",
  2361. "name": "goodsgroupid",
  2362. "in": "query"
  2363. }
  2364. ],
  2365. "responses": {
  2366. "200": {
  2367. "description": "OK",
  2368. "schema": {
  2369. "type": "array",
  2370. "items": {
  2371. "$ref": "#/definitions/ermcp.QryGGCovertCfgRsp"
  2372. }
  2373. }
  2374. },
  2375. "500": {
  2376. "description": "Internal Server Error",
  2377. "schema": {
  2378. "$ref": "#/definitions/app.Response"
  2379. }
  2380. }
  2381. }
  2382. }
  2383. },
  2384. "/Ermcp/QueryGoodsBrand": {
  2385. "get": {
  2386. "security": [
  2387. {
  2388. "ApiKeyAuth": []
  2389. }
  2390. ],
  2391. "produces": [
  2392. "application/json"
  2393. ],
  2394. "tags": [
  2395. "企业风险管理(app)"
  2396. ],
  2397. "summary": "查询商品品牌",
  2398. "parameters": [
  2399. {
  2400. "type": "integer",
  2401. "description": "用户ID",
  2402. "name": "userid",
  2403. "in": "query",
  2404. "required": true
  2405. },
  2406. {
  2407. "type": "integer",
  2408. "description": "现货商品ID",
  2409. "name": "wrstandardid",
  2410. "in": "query"
  2411. }
  2412. ],
  2413. "responses": {
  2414. "200": {
  2415. "description": "OK",
  2416. "schema": {
  2417. "type": "array",
  2418. "items": {
  2419. "$ref": "#/definitions/models.ErmcpGoodsBrand"
  2420. }
  2421. }
  2422. },
  2423. "500": {
  2424. "description": "Internal Server Error",
  2425. "schema": {
  2426. "$ref": "#/definitions/app.Response"
  2427. }
  2428. }
  2429. }
  2430. }
  2431. },
  2432. "/Ermcp/QueryGoodsModel": {
  2433. "get": {
  2434. "security": [
  2435. {
  2436. "ApiKeyAuth": []
  2437. }
  2438. ],
  2439. "produces": [
  2440. "application/json"
  2441. ],
  2442. "tags": [
  2443. "企业风险管理(app)"
  2444. ],
  2445. "summary": "查询商品型号",
  2446. "parameters": [
  2447. {
  2448. "type": "integer",
  2449. "description": "用户ID",
  2450. "name": "userid",
  2451. "in": "query",
  2452. "required": true
  2453. }
  2454. ],
  2455. "responses": {
  2456. "200": {
  2457. "description": "OK",
  2458. "schema": {
  2459. "type": "array",
  2460. "items": {
  2461. "$ref": "#/definitions/models.ErmcpGoodsModel"
  2462. }
  2463. }
  2464. },
  2465. "500": {
  2466. "description": "Internal Server Error",
  2467. "schema": {
  2468. "$ref": "#/definitions/app.Response"
  2469. }
  2470. }
  2471. }
  2472. }
  2473. },
  2474. "/Ermcp/QueryHisExposure": {
  2475. "get": {
  2476. "security": [
  2477. {
  2478. "ApiKeyAuth": []
  2479. }
  2480. ],
  2481. "produces": [
  2482. "application/json"
  2483. ],
  2484. "tags": [
  2485. "企业风险管理(app)"
  2486. ],
  2487. "summary": "查询历史敞口(菜单:敞口/历史敞口)",
  2488. "parameters": [
  2489. {
  2490. "type": "integer",
  2491. "description": "用户id",
  2492. "name": "userid",
  2493. "in": "query",
  2494. "required": true
  2495. },
  2496. {
  2497. "type": "integer",
  2498. "description": "每个品种记录数",
  2499. "name": "lastNum",
  2500. "in": "query",
  2501. "required": true
  2502. }
  2503. ],
  2504. "responses": {
  2505. "200": {
  2506. "description": "OK",
  2507. "schema": {
  2508. "type": "array",
  2509. "items": {
  2510. "$ref": "#/definitions/ermcp.HisExposureRsp"
  2511. }
  2512. }
  2513. },
  2514. "500": {
  2515. "description": "Internal Server Error",
  2516. "schema": {
  2517. "$ref": "#/definitions/app.Response"
  2518. }
  2519. }
  2520. }
  2521. }
  2522. },
  2523. "/Ermcp/QueryMiddleGoods": {
  2524. "get": {
  2525. "security": [
  2526. {
  2527. "ApiKeyAuth": []
  2528. }
  2529. ],
  2530. "produces": [
  2531. "application/json"
  2532. ],
  2533. "tags": [
  2534. "企业风险管理(app)"
  2535. ],
  2536. "summary": "查询套保品种(菜单:套保品种)",
  2537. "parameters": [
  2538. {
  2539. "type": "integer",
  2540. "description": "所属机构ID",
  2541. "name": "userid",
  2542. "in": "query",
  2543. "required": true
  2544. },
  2545. {
  2546. "type": "integer",
  2547. "description": "状态 0-停用 1-正常",
  2548. "name": "status",
  2549. "in": "query",
  2550. "required": true
  2551. }
  2552. ],
  2553. "responses": {
  2554. "200": {
  2555. "description": "OK",
  2556. "schema": {
  2557. "type": "array",
  2558. "items": {
  2559. "$ref": "#/definitions/ermcp.QryMiddleGoodsRsp"
  2560. }
  2561. }
  2562. },
  2563. "500": {
  2564. "description": "Internal Server Error",
  2565. "schema": {
  2566. "$ref": "#/definitions/app.Response"
  2567. }
  2568. }
  2569. }
  2570. }
  2571. },
  2572. "/Ermcp/QueryMiddleGoodsChangeLog": {
  2573. "get": {
  2574. "security": [
  2575. {
  2576. "ApiKeyAuth": []
  2577. }
  2578. ],
  2579. "produces": [
  2580. "application/json"
  2581. ],
  2582. "tags": [
  2583. "企业风险管理(app)"
  2584. ],
  2585. "summary": "查询套保品种变更记录(菜单:套保品种/商品详情/变更记录)",
  2586. "parameters": [
  2587. {
  2588. "type": "integer",
  2589. "description": "所属机构ID",
  2590. "name": "userid",
  2591. "in": "query",
  2592. "required": true
  2593. },
  2594. {
  2595. "type": "integer",
  2596. "description": "套保品种id",
  2597. "name": "middlegoodsid",
  2598. "in": "query",
  2599. "required": true
  2600. }
  2601. ],
  2602. "responses": {
  2603. "200": {
  2604. "description": "OK",
  2605. "schema": {
  2606. "type": "array",
  2607. "items": {
  2608. "$ref": "#/definitions/ermcp.QryMGChangeLogRsp"
  2609. }
  2610. }
  2611. },
  2612. "500": {
  2613. "description": "Internal Server Error",
  2614. "schema": {
  2615. "$ref": "#/definitions/app.Response"
  2616. }
  2617. }
  2618. }
  2619. }
  2620. },
  2621. "/Ermcp/QueryMiddleGoodsDetail": {
  2622. "get": {
  2623. "security": [
  2624. {
  2625. "ApiKeyAuth": []
  2626. }
  2627. ],
  2628. "produces": [
  2629. "application/json"
  2630. ],
  2631. "tags": [
  2632. "企业风险管理(app)"
  2633. ],
  2634. "summary": "查询套保品种详情(菜单:套保品种/商品详情)",
  2635. "parameters": [
  2636. {
  2637. "type": "integer",
  2638. "description": "所属机构ID",
  2639. "name": "userid",
  2640. "in": "query",
  2641. "required": true
  2642. },
  2643. {
  2644. "type": "integer",
  2645. "description": "套保品种id",
  2646. "name": "middlegoodsid",
  2647. "in": "query"
  2648. }
  2649. ],
  2650. "responses": {
  2651. "200": {
  2652. "description": "OK",
  2653. "schema": {
  2654. "type": "array",
  2655. "items": {
  2656. "$ref": "#/definitions/ermcp.QryMiddleGoodsDetailRsp"
  2657. }
  2658. }
  2659. },
  2660. "500": {
  2661. "description": "Internal Server Error",
  2662. "schema": {
  2663. "$ref": "#/definitions/app.Response"
  2664. }
  2665. }
  2666. }
  2667. }
  2668. },
  2669. "/Ermcp/QueryPendingAuditInfo": {
  2670. "get": {
  2671. "security": [
  2672. {
  2673. "ApiKeyAuth": []
  2674. }
  2675. ],
  2676. "produces": [
  2677. "application/json"
  2678. ],
  2679. "tags": [
  2680. "企业风险管理(app)"
  2681. ],
  2682. "summary": "查询待审核数量信息(首页/菜单按钮小红点)",
  2683. "parameters": [
  2684. {
  2685. "type": "integer",
  2686. "description": "用户ID",
  2687. "name": "UserId",
  2688. "in": "query",
  2689. "required": true
  2690. }
  2691. ],
  2692. "responses": {
  2693. "200": {
  2694. "description": "OK",
  2695. "schema": {
  2696. "type": "array",
  2697. "items": {
  2698. "$ref": "#/definitions/ermcp.PendingAuditCntRsp"
  2699. }
  2700. }
  2701. },
  2702. "500": {
  2703. "description": "Internal Server Error",
  2704. "schema": {
  2705. "$ref": "#/definitions/app.Response"
  2706. }
  2707. }
  2708. }
  2709. }
  2710. },
  2711. "/Ermcp/QueryRealtimeExposure": {
  2712. "get": {
  2713. "security": [
  2714. {
  2715. "ApiKeyAuth": []
  2716. }
  2717. ],
  2718. "produces": [
  2719. "application/json"
  2720. ],
  2721. "tags": [
  2722. "企业风险管理(app)"
  2723. ],
  2724. "summary": "查询实时敞口",
  2725. "parameters": [
  2726. {
  2727. "type": "integer",
  2728. "description": "所属机构ID",
  2729. "name": "userid",
  2730. "in": "query",
  2731. "required": true
  2732. }
  2733. ],
  2734. "responses": {
  2735. "200": {
  2736. "description": "OK",
  2737. "schema": {
  2738. "type": "array",
  2739. "items": {
  2740. "$ref": "#/definitions/ermcp.RealtimeExposureRsp"
  2741. }
  2742. }
  2743. },
  2744. "500": {
  2745. "description": "Internal Server Error",
  2746. "schema": {
  2747. "$ref": "#/definitions/app.Response"
  2748. }
  2749. }
  2750. }
  2751. }
  2752. },
  2753. "/Ermcp/QueryRealtimeExposurePosition": {
  2754. "get": {
  2755. "security": [
  2756. {
  2757. "ApiKeyAuth": []
  2758. }
  2759. ],
  2760. "produces": [
  2761. "application/json"
  2762. ],
  2763. "tags": [
  2764. "企业风险管理(app)"
  2765. ],
  2766. "summary": "查询实时敞口期货头寸明细(菜单:实时敞口/期货明细)",
  2767. "parameters": [
  2768. {
  2769. "type": "integer",
  2770. "description": "用户id",
  2771. "name": "userid",
  2772. "in": "query",
  2773. "required": true
  2774. },
  2775. {
  2776. "type": "integer",
  2777. "description": "套保商品ID",
  2778. "name": "middleGoodsId",
  2779. "in": "query",
  2780. "required": true
  2781. }
  2782. ],
  2783. "responses": {
  2784. "200": {
  2785. "description": "OK",
  2786. "schema": {
  2787. "type": "array",
  2788. "items": {
  2789. "$ref": "#/definitions/ermcp.RealtimeExposurePositionRsp"
  2790. }
  2791. }
  2792. },
  2793. "500": {
  2794. "description": "Internal Server Error",
  2795. "schema": {
  2796. "$ref": "#/definitions/app.Response"
  2797. }
  2798. }
  2799. }
  2800. }
  2801. },
  2802. "/Ermcp/QueryRoleMenu": {
  2803. "get": {
  2804. "security": [
  2805. {
  2806. "ApiKeyAuth": []
  2807. }
  2808. ],
  2809. "produces": [
  2810. "application/json"
  2811. ],
  2812. "tags": [
  2813. "企业风险管理(app)"
  2814. ],
  2815. "summary": "查询角色菜单和权限",
  2816. "parameters": [
  2817. {
  2818. "type": "integer",
  2819. "description": "登录ID",
  2820. "name": "loginid",
  2821. "in": "query",
  2822. "required": true
  2823. },
  2824. {
  2825. "type": "integer",
  2826. "description": "菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 4:仓单贸易",
  2827. "name": "menutype",
  2828. "in": "query"
  2829. }
  2830. ],
  2831. "responses": {
  2832. "200": {
  2833. "description": "OK",
  2834. "schema": {
  2835. "type": "array",
  2836. "items": {
  2837. "$ref": "#/definitions/models.RoleMenu"
  2838. }
  2839. }
  2840. },
  2841. "500": {
  2842. "description": "Internal Server Error",
  2843. "schema": {
  2844. "$ref": "#/definitions/app.Response"
  2845. }
  2846. }
  2847. }
  2848. }
  2849. },
  2850. "/Ermcp/QueryTradeConfigTMP": {
  2851. "get": {
  2852. "security": [
  2853. {
  2854. "ApiKeyAuth": []
  2855. }
  2856. ],
  2857. "produces": [
  2858. "application/json"
  2859. ],
  2860. "tags": [
  2861. "企业风险管理(app)"
  2862. ],
  2863. "summary": "查询交易模板配置",
  2864. "parameters": [
  2865. {
  2866. "type": "integer",
  2867. "description": "所属机构id",
  2868. "name": "areauserid",
  2869. "in": "query"
  2870. }
  2871. ],
  2872. "responses": {
  2873. "200": {
  2874. "description": "OK",
  2875. "schema": {
  2876. "type": "array",
  2877. "items": {
  2878. "$ref": "#/definitions/models.ErmcpTradeConfigTMP"
  2879. }
  2880. }
  2881. },
  2882. "500": {
  2883. "description": "Internal Server Error",
  2884. "schema": {
  2885. "$ref": "#/definitions/app.Response"
  2886. }
  2887. }
  2888. }
  2889. }
  2890. },
  2891. "/Ermcp/QueryUserInfo": {
  2892. "get": {
  2893. "security": [
  2894. {
  2895. "ApiKeyAuth": []
  2896. }
  2897. ],
  2898. "produces": [
  2899. "application/json"
  2900. ],
  2901. "tags": [
  2902. "企业风险管理(app)"
  2903. ],
  2904. "summary": "查询客户资料",
  2905. "parameters": [
  2906. {
  2907. "type": "integer",
  2908. "description": "所属机构用户ID",
  2909. "name": "MemberUserID",
  2910. "in": "query",
  2911. "required": true
  2912. },
  2913. {
  2914. "type": "integer",
  2915. "description": "查询类型(1:未提交 2:待审核 3:正常 4:停用)",
  2916. "name": "queryType",
  2917. "in": "query",
  2918. "required": true
  2919. }
  2920. ],
  2921. "responses": {
  2922. "200": {
  2923. "description": "OK",
  2924. "schema": {
  2925. "type": "array",
  2926. "items": {
  2927. "$ref": "#/definitions/ermcp.QryUserInfoRsp"
  2928. }
  2929. }
  2930. },
  2931. "500": {
  2932. "description": "Internal Server Error",
  2933. "schema": {
  2934. "$ref": "#/definitions/app.Response"
  2935. }
  2936. }
  2937. }
  2938. }
  2939. },
  2940. "/Ermcp/QueryWarehouseInfo": {
  2941. "get": {
  2942. "security": [
  2943. {
  2944. "ApiKeyAuth": []
  2945. }
  2946. ],
  2947. "produces": [
  2948. "application/json"
  2949. ],
  2950. "tags": [
  2951. "企业风险管理(app)"
  2952. ],
  2953. "summary": "查询仓库信息",
  2954. "parameters": [
  2955. {
  2956. "type": "integer",
  2957. "description": "用户ID",
  2958. "name": "userid",
  2959. "in": "query",
  2960. "required": true
  2961. },
  2962. {
  2963. "type": "string",
  2964. "description": "仓库状态(可多项,逗号隔开) 1:正常 2:注销 3:待审核 4:审核拒绝",
  2965. "name": "status",
  2966. "in": "query"
  2967. }
  2968. ],
  2969. "responses": {
  2970. "200": {
  2971. "description": "OK",
  2972. "schema": {
  2973. "type": "array",
  2974. "items": {
  2975. "$ref": "#/definitions/ermcp.QryWarehouseRsp"
  2976. }
  2977. }
  2978. },
  2979. "500": {
  2980. "description": "Internal Server Error",
  2981. "schema": {
  2982. "$ref": "#/definitions/app.Response"
  2983. }
  2984. }
  2985. }
  2986. }
  2987. },
  2988. "/Ermcp3/QryAreaExpourseContractDetail": {
  2989. "get": {
  2990. "security": [
  2991. {
  2992. "ApiKeyAuth": []
  2993. }
  2994. ],
  2995. "produces": [
  2996. "application/json"
  2997. ],
  2998. "tags": [
  2999. "企业风险管理v3(app)"
  3000. ],
  3001. "summary": "查询敞口合同明细(敞口报表/现货合同明细)",
  3002. "parameters": [
  3003. {
  3004. "type": "integer",
  3005. "description": "用户ID",
  3006. "name": "userid",
  3007. "in": "query",
  3008. "required": true
  3009. },
  3010. {
  3011. "type": "integer",
  3012. "description": "套保商品id",
  3013. "name": "middlegoodsid",
  3014. "in": "query",
  3015. "required": true
  3016. },
  3017. {
  3018. "type": "integer",
  3019. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3020. "name": "cycletype",
  3021. "in": "query",
  3022. "required": true
  3023. },
  3024. {
  3025. "type": "string",
  3026. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3027. "name": "cycletime",
  3028. "in": "query",
  3029. "required": true
  3030. }
  3031. ],
  3032. "responses": {
  3033. "200": {
  3034. "description": "OK",
  3035. "schema": {
  3036. "type": "array",
  3037. "items": {
  3038. "$ref": "#/definitions/models.Ermcp3ExposureContractDetail"
  3039. }
  3040. }
  3041. },
  3042. "500": {
  3043. "description": "Internal Server Error",
  3044. "schema": {
  3045. "$ref": "#/definitions/app.Response"
  3046. }
  3047. }
  3048. }
  3049. }
  3050. },
  3051. "/Ermcp3/QryAreaExpourseFutuDetail": {
  3052. "get": {
  3053. "security": [
  3054. {
  3055. "ApiKeyAuth": []
  3056. }
  3057. ],
  3058. "produces": [
  3059. "application/json"
  3060. ],
  3061. "tags": [
  3062. "企业风险管理v3(app)"
  3063. ],
  3064. "summary": "查询敞口期货明细(敞口报表/期货明细)",
  3065. "parameters": [
  3066. {
  3067. "type": "integer",
  3068. "description": "用户ID",
  3069. "name": "userid",
  3070. "in": "query",
  3071. "required": true
  3072. },
  3073. {
  3074. "type": "integer",
  3075. "description": "套保商品id",
  3076. "name": "middlegoodsid",
  3077. "in": "query",
  3078. "required": true
  3079. },
  3080. {
  3081. "type": "integer",
  3082. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3083. "name": "cycletype",
  3084. "in": "query",
  3085. "required": true
  3086. },
  3087. {
  3088. "type": "string",
  3089. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3090. "name": "cycletime",
  3091. "in": "query",
  3092. "required": true
  3093. }
  3094. ],
  3095. "responses": {
  3096. "200": {
  3097. "description": "OK",
  3098. "schema": {
  3099. "type": "array",
  3100. "items": {
  3101. "$ref": "#/definitions/models.Ermcp3ExposureFutuDetail"
  3102. }
  3103. }
  3104. },
  3105. "500": {
  3106. "description": "Internal Server Error",
  3107. "schema": {
  3108. "$ref": "#/definitions/app.Response"
  3109. }
  3110. }
  3111. }
  3112. }
  3113. },
  3114. "/Ermcp3/QryAreaExpourseHedgeplanDetail": {
  3115. "get": {
  3116. "security": [
  3117. {
  3118. "ApiKeyAuth": []
  3119. }
  3120. ],
  3121. "produces": [
  3122. "application/json"
  3123. ],
  3124. "tags": [
  3125. "企业风险管理v3(app)"
  3126. ],
  3127. "summary": "查询敞口套保计划明细(敞口报表/套保计划明细)",
  3128. "parameters": [
  3129. {
  3130. "type": "integer",
  3131. "description": "用户ID",
  3132. "name": "userid",
  3133. "in": "query",
  3134. "required": true
  3135. },
  3136. {
  3137. "type": "integer",
  3138. "description": "套保商品id",
  3139. "name": "middlegoodsid",
  3140. "in": "query",
  3141. "required": true
  3142. },
  3143. {
  3144. "type": "integer",
  3145. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3146. "name": "cycletype",
  3147. "in": "query",
  3148. "required": true
  3149. },
  3150. {
  3151. "type": "string",
  3152. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3153. "name": "cycletime",
  3154. "in": "query",
  3155. "required": true
  3156. }
  3157. ],
  3158. "responses": {
  3159. "200": {
  3160. "description": "OK",
  3161. "schema": {
  3162. "type": "array",
  3163. "items": {
  3164. "$ref": "#/definitions/models.Ermcp3ExposureHedgeplanDetail"
  3165. }
  3166. }
  3167. },
  3168. "500": {
  3169. "description": "Internal Server Error",
  3170. "schema": {
  3171. "$ref": "#/definitions/app.Response"
  3172. }
  3173. }
  3174. }
  3175. }
  3176. },
  3177. "/Ermcp3/QryAreaExpourseParamChLogDetail": {
  3178. "get": {
  3179. "security": [
  3180. {
  3181. "ApiKeyAuth": []
  3182. }
  3183. ],
  3184. "produces": [
  3185. "application/json"
  3186. ],
  3187. "tags": [
  3188. "企业风险管理v3(app)"
  3189. ],
  3190. "summary": "查询敞口参数调整明细(敞口报表/参数调整明细)",
  3191. "parameters": [
  3192. {
  3193. "type": "integer",
  3194. "description": "用户ID",
  3195. "name": "userid",
  3196. "in": "query",
  3197. "required": true
  3198. },
  3199. {
  3200. "type": "integer",
  3201. "description": "套保商品id",
  3202. "name": "middlegoodsid",
  3203. "in": "query",
  3204. "required": true
  3205. },
  3206. {
  3207. "type": "integer",
  3208. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3209. "name": "cycletype",
  3210. "in": "query",
  3211. "required": true
  3212. },
  3213. {
  3214. "type": "string",
  3215. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3216. "name": "cycletime",
  3217. "in": "query",
  3218. "required": true
  3219. }
  3220. ],
  3221. "responses": {
  3222. "200": {
  3223. "description": "OK",
  3224. "schema": {
  3225. "type": "array",
  3226. "items": {
  3227. "$ref": "#/definitions/models.Ermcp3ExposureParamChLog"
  3228. }
  3229. }
  3230. },
  3231. "500": {
  3232. "description": "Internal Server Error",
  3233. "schema": {
  3234. "$ref": "#/definitions/app.Response"
  3235. }
  3236. }
  3237. }
  3238. }
  3239. },
  3240. "/Ermcp3/QryAreaExpourseReport": {
  3241. "get": {
  3242. "security": [
  3243. {
  3244. "ApiKeyAuth": []
  3245. }
  3246. ],
  3247. "produces": [
  3248. "application/json"
  3249. ],
  3250. "tags": [
  3251. "企业风险管理v3(app)"
  3252. ],
  3253. "summary": "查询敞口报表",
  3254. "parameters": [
  3255. {
  3256. "type": "integer",
  3257. "description": "用户ID",
  3258. "name": "userid",
  3259. "in": "query",
  3260. "required": true
  3261. },
  3262. {
  3263. "type": "integer",
  3264. "description": "查询类型 1-报表, 这个接口只查报表;明细的字段完全不同,另有接口",
  3265. "name": "querytype",
  3266. "in": "query",
  3267. "required": true
  3268. },
  3269. {
  3270. "type": "integer",
  3271. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3272. "name": "cycletype",
  3273. "in": "query",
  3274. "required": true
  3275. },
  3276. {
  3277. "type": "string",
  3278. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3279. "name": "cycletime",
  3280. "in": "query",
  3281. "required": true
  3282. }
  3283. ],
  3284. "responses": {
  3285. "200": {
  3286. "description": "OK",
  3287. "schema": {
  3288. "type": "array",
  3289. "items": {
  3290. "$ref": "#/definitions/models.Ermcp3ExpourseReport"
  3291. }
  3292. }
  3293. },
  3294. "500": {
  3295. "description": "Internal Server Error",
  3296. "schema": {
  3297. "$ref": "#/definitions/app.Response"
  3298. }
  3299. }
  3300. }
  3301. }
  3302. },
  3303. "/Ermcp3/QryAreaSpotplReport": {
  3304. "get": {
  3305. "security": [
  3306. {
  3307. "ApiKeyAuth": []
  3308. }
  3309. ],
  3310. "produces": [
  3311. "application/json"
  3312. ],
  3313. "tags": [
  3314. "企业风险管理v3(app)"
  3315. ],
  3316. "summary": "查询现货报表",
  3317. "parameters": [
  3318. {
  3319. "type": "integer",
  3320. "description": "用户ID",
  3321. "name": "userid",
  3322. "in": "query",
  3323. "required": true
  3324. },
  3325. {
  3326. "type": "integer",
  3327. "description": "查询类型 1-报表 2-报表明细",
  3328. "name": "querytype",
  3329. "in": "query",
  3330. "required": true
  3331. },
  3332. {
  3333. "type": "integer",
  3334. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3335. "name": "cycletype",
  3336. "in": "query",
  3337. "required": true
  3338. },
  3339. {
  3340. "type": "string",
  3341. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3342. "name": "cycletime",
  3343. "in": "query",
  3344. "required": true
  3345. },
  3346. {
  3347. "type": "integer",
  3348. "description": "现货品种id(明细必填)",
  3349. "name": "deliverygoodsid",
  3350. "in": "query"
  3351. },
  3352. {
  3353. "type": "integer",
  3354. "description": "币种id(明细必填)",
  3355. "name": "currencyid",
  3356. "in": "query"
  3357. }
  3358. ],
  3359. "responses": {
  3360. "200": {
  3361. "description": "OK",
  3362. "schema": {
  3363. "type": "array",
  3364. "items": {
  3365. "$ref": "#/definitions/models.Ermcp3AreaSpotPLReport"
  3366. }
  3367. }
  3368. },
  3369. "500": {
  3370. "description": "Internal Server Error",
  3371. "schema": {
  3372. "$ref": "#/definitions/app.Response"
  3373. }
  3374. }
  3375. }
  3376. }
  3377. },
  3378. "/Ermcp3/QryAreaStockReport": {
  3379. "get": {
  3380. "security": [
  3381. {
  3382. "ApiKeyAuth": []
  3383. }
  3384. ],
  3385. "produces": [
  3386. "application/json"
  3387. ],
  3388. "tags": [
  3389. "企业风险管理v3(app)"
  3390. ],
  3391. "summary": "查询库存报表",
  3392. "parameters": [
  3393. {
  3394. "type": "integer",
  3395. "description": "用户ID",
  3396. "name": "userid",
  3397. "in": "query",
  3398. "required": true
  3399. },
  3400. {
  3401. "type": "integer",
  3402. "description": "查询类型 1-报表 2-报表明细",
  3403. "name": "querytype",
  3404. "in": "query",
  3405. "required": true
  3406. },
  3407. {
  3408. "type": "integer",
  3409. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3410. "name": "cycletype",
  3411. "in": "query",
  3412. "required": true
  3413. },
  3414. {
  3415. "type": "string",
  3416. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3417. "name": "cycletime",
  3418. "in": "query",
  3419. "required": true
  3420. },
  3421. {
  3422. "type": "string",
  3423. "description": "汇总维度(逗号隔开) 1-品种 2-品类 3-品牌 4-仓库",
  3424. "name": "sumfields",
  3425. "in": "query"
  3426. },
  3427. {
  3428. "type": "integer",
  3429. "description": "品种ID",
  3430. "name": "deliverygoodsid",
  3431. "in": "query"
  3432. },
  3433. {
  3434. "type": "integer",
  3435. "description": "品类ID",
  3436. "name": "wrstandardid",
  3437. "in": "query"
  3438. },
  3439. {
  3440. "type": "integer",
  3441. "description": "品牌ID",
  3442. "name": "spotgoodsbrandid",
  3443. "in": "query"
  3444. },
  3445. {
  3446. "type": "integer",
  3447. "description": "仓库ID",
  3448. "name": "warehouseinfoid",
  3449. "in": "query"
  3450. }
  3451. ],
  3452. "responses": {
  3453. "200": {
  3454. "description": "OK",
  3455. "schema": {
  3456. "type": "array",
  3457. "items": {
  3458. "$ref": "#/definitions/models.Ermcp3AreaStockReportEx"
  3459. }
  3460. }
  3461. },
  3462. "500": {
  3463. "description": "Internal Server Error",
  3464. "schema": {
  3465. "$ref": "#/definitions/app.Response"
  3466. }
  3467. }
  3468. }
  3469. }
  3470. },
  3471. "/Ermcp3/QryAreaSumPL": {
  3472. "get": {
  3473. "security": [
  3474. {
  3475. "ApiKeyAuth": []
  3476. }
  3477. ],
  3478. "produces": [
  3479. "application/json"
  3480. ],
  3481. "tags": [
  3482. "企业风险管理v3(app)"
  3483. ],
  3484. "summary": "查询汇总损益表",
  3485. "parameters": [
  3486. {
  3487. "type": "integer",
  3488. "description": "用户ID",
  3489. "name": "userid",
  3490. "in": "query",
  3491. "required": true
  3492. },
  3493. {
  3494. "type": "integer",
  3495. "description": "查询类型 1-报表 2-报表明细",
  3496. "name": "querytype",
  3497. "in": "query",
  3498. "required": true
  3499. },
  3500. {
  3501. "type": "integer",
  3502. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3503. "name": "cycletype",
  3504. "in": "query",
  3505. "required": true
  3506. },
  3507. {
  3508. "type": "string",
  3509. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3510. "name": "cycletime",
  3511. "in": "query",
  3512. "required": true
  3513. },
  3514. {
  3515. "type": "integer",
  3516. "description": "币种id(明细必填)",
  3517. "name": "currencyid",
  3518. "in": "query"
  3519. }
  3520. ],
  3521. "responses": {
  3522. "200": {
  3523. "description": "OK",
  3524. "schema": {
  3525. "type": "array",
  3526. "items": {
  3527. "$ref": "#/definitions/models.Ermcp3ArealSumPL"
  3528. }
  3529. }
  3530. },
  3531. "500": {
  3532. "description": "Internal Server Error",
  3533. "schema": {
  3534. "$ref": "#/definitions/app.Response"
  3535. }
  3536. }
  3537. }
  3538. }
  3539. },
  3540. "/Ermcp3/QryFinanceReport": {
  3541. "get": {
  3542. "security": [
  3543. {
  3544. "ApiKeyAuth": []
  3545. }
  3546. ],
  3547. "produces": [
  3548. "application/json"
  3549. ],
  3550. "tags": [
  3551. "企业风险管理v3(app)"
  3552. ],
  3553. "summary": "查询财务报表",
  3554. "parameters": [
  3555. {
  3556. "type": "integer",
  3557. "description": "用户ID",
  3558. "name": "userid",
  3559. "in": "query",
  3560. "required": true
  3561. },
  3562. {
  3563. "type": "integer",
  3564. "description": "查询类型 1-报表 2-报表明细",
  3565. "name": "querytype",
  3566. "in": "query",
  3567. "required": true
  3568. },
  3569. {
  3570. "type": "integer",
  3571. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3572. "name": "cycletype",
  3573. "in": "query",
  3574. "required": true
  3575. },
  3576. {
  3577. "type": "string",
  3578. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3579. "name": "cycletime",
  3580. "in": "query",
  3581. "required": true
  3582. },
  3583. {
  3584. "type": "integer",
  3585. "description": "币种id(报表明细必填)",
  3586. "name": "currencyid",
  3587. "in": "query"
  3588. },
  3589. {
  3590. "type": "string",
  3591. "description": "汇总维度(逗号隔开) 1-品种 2-品类 3-品牌",
  3592. "name": "sumfields",
  3593. "in": "query"
  3594. }
  3595. ],
  3596. "responses": {
  3597. "200": {
  3598. "description": "OK",
  3599. "schema": {
  3600. "type": "array",
  3601. "items": {
  3602. "$ref": "#/definitions/models.Ermcp3FinanceReport"
  3603. }
  3604. }
  3605. },
  3606. "500": {
  3607. "description": "Internal Server Error",
  3608. "schema": {
  3609. "$ref": "#/definitions/app.Response"
  3610. }
  3611. }
  3612. }
  3613. }
  3614. },
  3615. "/Ermcp3/QryTaFutureDataReport": {
  3616. "get": {
  3617. "security": [
  3618. {
  3619. "ApiKeyAuth": []
  3620. }
  3621. ],
  3622. "produces": [
  3623. "application/json"
  3624. ],
  3625. "tags": [
  3626. "企业风险管理v3(app)"
  3627. ],
  3628. "summary": "查询期货报表",
  3629. "parameters": [
  3630. {
  3631. "type": "integer",
  3632. "description": "用户ID",
  3633. "name": "userid",
  3634. "in": "query",
  3635. "required": true
  3636. },
  3637. {
  3638. "type": "integer",
  3639. "description": "查询类型 1-报表 2-报表明细",
  3640. "name": "querytype",
  3641. "in": "query",
  3642. "required": true
  3643. },
  3644. {
  3645. "type": "integer",
  3646. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3647. "name": "cycletype",
  3648. "in": "query",
  3649. "required": true
  3650. },
  3651. {
  3652. "type": "string",
  3653. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3654. "name": "cycletime",
  3655. "in": "query",
  3656. "required": true
  3657. },
  3658. {
  3659. "type": "integer",
  3660. "description": "币种id(查明细必填)",
  3661. "name": "currencyid",
  3662. "in": "query"
  3663. },
  3664. {
  3665. "type": "integer",
  3666. "description": "品种id(查明细必填)",
  3667. "name": "goodsgroupid",
  3668. "in": "query"
  3669. },
  3670. {
  3671. "type": "integer",
  3672. "description": "商品id(查明细必填)",
  3673. "name": "goodsid",
  3674. "in": "query"
  3675. },
  3676. {
  3677. "type": "integer",
  3678. "description": "买卖方向(查明细必填)",
  3679. "name": "buyorsell",
  3680. "in": "query"
  3681. }
  3682. ],
  3683. "responses": {
  3684. "200": {
  3685. "description": "OK",
  3686. "schema": {
  3687. "type": "array",
  3688. "items": {
  3689. "$ref": "#/definitions/models.Ermcp3TaFutuReDataReport"
  3690. }
  3691. }
  3692. },
  3693. "500": {
  3694. "description": "Internal Server Error",
  3695. "schema": {
  3696. "$ref": "#/definitions/app.Response"
  3697. }
  3698. }
  3699. }
  3700. }
  3701. },
  3702. "/Ermcp3/QueryAreaStock": {
  3703. "get": {
  3704. "security": [
  3705. {
  3706. "ApiKeyAuth": []
  3707. }
  3708. ],
  3709. "produces": [
  3710. "application/json"
  3711. ],
  3712. "tags": [
  3713. "企业风险管理v3(app)"
  3714. ],
  3715. "summary": "查询机构库存(库存管理/当前库存)",
  3716. "parameters": [
  3717. {
  3718. "type": "integer",
  3719. "description": "用户ID",
  3720. "name": "userid",
  3721. "in": "query",
  3722. "required": true
  3723. }
  3724. ],
  3725. "responses": {
  3726. "200": {
  3727. "description": "OK",
  3728. "schema": {
  3729. "type": "array",
  3730. "items": {
  3731. "$ref": "#/definitions/models.Ermcp3AreaStock"
  3732. }
  3733. }
  3734. },
  3735. "500": {
  3736. "description": "Internal Server Error",
  3737. "schema": {
  3738. "$ref": "#/definitions/app.Response"
  3739. }
  3740. }
  3741. }
  3742. }
  3743. },
  3744. "/Ermcp3/QueryAreaStockApply": {
  3745. "get": {
  3746. "security": [
  3747. {
  3748. "ApiKeyAuth": []
  3749. }
  3750. ],
  3751. "produces": [
  3752. "application/json"
  3753. ],
  3754. "tags": [
  3755. "企业风险管理v3(app)"
  3756. ],
  3757. "summary": "查询库存申请(出入库记录|库存审核)",
  3758. "parameters": [
  3759. {
  3760. "type": "integer",
  3761. "description": "用户ID",
  3762. "name": "userid",
  3763. "in": "query",
  3764. "required": true
  3765. },
  3766. {
  3767. "type": "integer",
  3768. "description": "用户类型 2-机构 7-企业成员",
  3769. "name": "usertype",
  3770. "in": "query"
  3771. },
  3772. {
  3773. "type": "integer",
  3774. "description": "现货商品ID",
  3775. "name": "deliverygoodsid",
  3776. "in": "query"
  3777. },
  3778. {
  3779. "type": "string",
  3780. "description": "出入库类型(可多项,逗号隔开) 5:采购入库 6:销售出库 7:生产入库 8:生产出库",
  3781. "name": "inouttype",
  3782. "in": "query"
  3783. },
  3784. {
  3785. "type": "integer",
  3786. "description": "合同ID",
  3787. "name": "spotcontractid",
  3788. "in": "query"
  3789. },
  3790. {
  3791. "type": "integer",
  3792. "description": "品类ID",
  3793. "name": "wrstandardid",
  3794. "in": "query"
  3795. },
  3796. {
  3797. "type": "integer",
  3798. "description": "品牌ID",
  3799. "name": "spotgoodsbrandid",
  3800. "in": "query"
  3801. },
  3802. {
  3803. "type": "integer",
  3804. "description": "仓库ID",
  3805. "name": "warehouseinfoid",
  3806. "in": "query"
  3807. },
  3808. {
  3809. "type": "string",
  3810. "description": "申请状态(可多项,逗号隔开)1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  3811. "name": "applystatus",
  3812. "in": "query"
  3813. }
  3814. ],
  3815. "responses": {
  3816. "200": {
  3817. "description": "OK",
  3818. "schema": {
  3819. "type": "array",
  3820. "items": {
  3821. "$ref": "#/definitions/models.Ermcp3AreaStockApply"
  3822. }
  3823. }
  3824. },
  3825. "500": {
  3826. "description": "Internal Server Error",
  3827. "schema": {
  3828. "$ref": "#/definitions/app.Response"
  3829. }
  3830. }
  3831. }
  3832. }
  3833. },
  3834. "/Ermcp3/QueryAreaStockApplySum": {
  3835. "get": {
  3836. "security": [
  3837. {
  3838. "ApiKeyAuth": []
  3839. }
  3840. ],
  3841. "produces": [
  3842. "application/json"
  3843. ],
  3844. "tags": [
  3845. "企业风险管理v3(app)"
  3846. ],
  3847. "summary": "查询已登记出入库信息(入库登记/已入库信息 | 出库登记/已出库信息)",
  3848. "parameters": [
  3849. {
  3850. "type": "integer",
  3851. "description": "合同ID",
  3852. "name": "spotcontractid",
  3853. "in": "query",
  3854. "required": true
  3855. }
  3856. ],
  3857. "responses": {
  3858. "200": {
  3859. "description": "OK",
  3860. "schema": {
  3861. "type": "array",
  3862. "items": {
  3863. "$ref": "#/definitions/models.Ermcp3AreaStockApplySum"
  3864. }
  3865. }
  3866. },
  3867. "500": {
  3868. "description": "Internal Server Error",
  3869. "schema": {
  3870. "$ref": "#/definitions/app.Response"
  3871. }
  3872. }
  3873. }
  3874. }
  3875. },
  3876. "/Ermcp3/QueryDGFactoryItem": {
  3877. "get": {
  3878. "security": [
  3879. {
  3880. "ApiKeyAuth": []
  3881. }
  3882. ],
  3883. "produces": [
  3884. "application/json"
  3885. ],
  3886. "tags": [
  3887. "企业风险管理v3(app)"
  3888. ],
  3889. "summary": "查询品种要素定义项",
  3890. "parameters": [
  3891. {
  3892. "type": "integer",
  3893. "description": "用户id",
  3894. "name": "userid",
  3895. "in": "query"
  3896. },
  3897. {
  3898. "type": "integer",
  3899. "description": "用户类型 2-机构 7-企业成员",
  3900. "name": "usertype",
  3901. "in": "query"
  3902. },
  3903. {
  3904. "type": "integer",
  3905. "description": "选择项ID(SEQ_DGFACTORYITEM)",
  3906. "name": "dgfactoryitemid",
  3907. "in": "query"
  3908. },
  3909. {
  3910. "type": "integer",
  3911. "description": "现货品种ID",
  3912. "name": "deliverygoodsid",
  3913. "in": "query"
  3914. },
  3915. {
  3916. "type": "integer",
  3917. "description": "要素项类型",
  3918. "name": "dgfactoryitemtypeid",
  3919. "in": "query"
  3920. },
  3921. {
  3922. "type": "integer",
  3923. "description": "顺序",
  3924. "name": "orderindex",
  3925. "in": "query"
  3926. }
  3927. ],
  3928. "responses": {
  3929. "200": {
  3930. "description": "OK",
  3931. "schema": {
  3932. "type": "array",
  3933. "items": {
  3934. "$ref": "#/definitions/models.ErmcpDGFactoryItem"
  3935. }
  3936. }
  3937. },
  3938. "500": {
  3939. "description": "Internal Server Error",
  3940. "schema": {
  3941. "$ref": "#/definitions/app.Response"
  3942. }
  3943. }
  3944. }
  3945. }
  3946. },
  3947. "/Ermcp3/QueryDeliveryGoods": {
  3948. "get": {
  3949. "security": [
  3950. {
  3951. "ApiKeyAuth": []
  3952. }
  3953. ],
  3954. "produces": [
  3955. "application/json"
  3956. ],
  3957. "tags": [
  3958. "企业风险管理v3(app)"
  3959. ],
  3960. "summary": "查询现货商品",
  3961. "parameters": [
  3962. {
  3963. "type": "integer",
  3964. "description": "用户id",
  3965. "name": "userid",
  3966. "in": "query",
  3967. "required": true
  3968. },
  3969. {
  3970. "type": "integer",
  3971. "description": "用户类型 2-机构 7-企业成员",
  3972. "name": "usertype",
  3973. "in": "query"
  3974. },
  3975. {
  3976. "type": "integer",
  3977. "description": "排除已配置的业务类型商品 1-套保 2-套利",
  3978. "name": "excludecfg",
  3979. "in": "query"
  3980. }
  3981. ],
  3982. "responses": {
  3983. "200": {
  3984. "description": "OK",
  3985. "schema": {
  3986. "type": "array",
  3987. "items": {
  3988. "$ref": "#/definitions/models.ErmcpDeliveryGoods"
  3989. }
  3990. }
  3991. },
  3992. "500": {
  3993. "description": "Internal Server Error",
  3994. "schema": {
  3995. "$ref": "#/definitions/app.Response"
  3996. }
  3997. }
  3998. }
  3999. }
  4000. },
  4001. "/Ermcp3/QueryDeliveryGoodsDetail": {
  4002. "get": {
  4003. "security": [
  4004. {
  4005. "ApiKeyAuth": []
  4006. }
  4007. ],
  4008. "produces": [
  4009. "application/json"
  4010. ],
  4011. "tags": [
  4012. "企业风险管理v3(app)"
  4013. ],
  4014. "summary": "查询现货商品详情",
  4015. "parameters": [
  4016. {
  4017. "type": "integer",
  4018. "description": "用户id",
  4019. "name": "userid",
  4020. "in": "query",
  4021. "required": true
  4022. },
  4023. {
  4024. "type": "integer",
  4025. "description": "用户类型 2-机构 7-企业成员",
  4026. "name": "usertype",
  4027. "in": "query"
  4028. },
  4029. {
  4030. "type": "integer",
  4031. "description": "现货商品id",
  4032. "name": "deliverygoodsid",
  4033. "in": "query"
  4034. }
  4035. ],
  4036. "responses": {
  4037. "200": {
  4038. "description": "OK",
  4039. "schema": {
  4040. "type": "array",
  4041. "items": {
  4042. "$ref": "#/definitions/models.ErmcpDeliveryGoodsDetailEx"
  4043. }
  4044. }
  4045. },
  4046. "500": {
  4047. "description": "Internal Server Error",
  4048. "schema": {
  4049. "$ref": "#/definitions/app.Response"
  4050. }
  4051. }
  4052. }
  4053. }
  4054. },
  4055. "/Ermcp3/QueryExposureDetail": {
  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. "type": "integer",
  4085. "description": "套保商品",
  4086. "name": "middlegoodsid",
  4087. "in": "query",
  4088. "required": true
  4089. }
  4090. ],
  4091. "responses": {
  4092. "200": {
  4093. "description": "OK",
  4094. "schema": {
  4095. "type": "array",
  4096. "items": {
  4097. "$ref": "#/definitions/models.Ermcp3ExposureDetail"
  4098. }
  4099. }
  4100. },
  4101. "500": {
  4102. "description": "Internal Server Error",
  4103. "schema": {
  4104. "$ref": "#/definitions/app.Response"
  4105. }
  4106. }
  4107. }
  4108. }
  4109. },
  4110. "/Ermcp3/QueryExposureSpot": {
  4111. "get": {
  4112. "security": [
  4113. {
  4114. "ApiKeyAuth": []
  4115. }
  4116. ],
  4117. "produces": [
  4118. "application/json"
  4119. ],
  4120. "tags": [
  4121. "企业风险管理v3(app)"
  4122. ],
  4123. "summary": "查询敞口现货头寸(敞口/现货头寸)",
  4124. "parameters": [
  4125. {
  4126. "type": "integer",
  4127. "description": "用户id",
  4128. "name": "userid",
  4129. "in": "query",
  4130. "required": true
  4131. },
  4132. {
  4133. "type": "integer",
  4134. "description": "用户类型 2-机构 7-企业成员",
  4135. "name": "usertype",
  4136. "in": "query"
  4137. }
  4138. ],
  4139. "responses": {
  4140. "200": {
  4141. "description": "OK",
  4142. "schema": {
  4143. "type": "array",
  4144. "items": {
  4145. "$ref": "#/definitions/models.Ermcp3AreaSpot"
  4146. }
  4147. }
  4148. },
  4149. "500": {
  4150. "description": "Internal Server Error",
  4151. "schema": {
  4152. "$ref": "#/definitions/app.Response"
  4153. }
  4154. }
  4155. }
  4156. }
  4157. },
  4158. "/Ermcp3/QueryExposureSpotDetail": {
  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": "现货品种ID",
  4189. "name": "deliverygoodsid",
  4190. "in": "query",
  4191. "required": true
  4192. }
  4193. ],
  4194. "responses": {
  4195. "200": {
  4196. "description": "OK",
  4197. "schema": {
  4198. "type": "array",
  4199. "items": {
  4200. "$ref": "#/definitions/models.Ermcp3AreaSpotDetail"
  4201. }
  4202. }
  4203. },
  4204. "500": {
  4205. "description": "Internal Server Error",
  4206. "schema": {
  4207. "$ref": "#/definitions/app.Response"
  4208. }
  4209. }
  4210. }
  4211. }
  4212. },
  4213. "/Ermcp3/QueryGoodsGroup": {
  4214. "get": {
  4215. "security": [
  4216. {
  4217. "ApiKeyAuth": []
  4218. }
  4219. ],
  4220. "produces": [
  4221. "application/json"
  4222. ],
  4223. "tags": [
  4224. "企业风险管理v3(app)"
  4225. ],
  4226. "summary": "查询期货商品组",
  4227. "parameters": [
  4228. {
  4229. "type": "integer",
  4230. "description": "用户id",
  4231. "name": "userid",
  4232. "in": "query",
  4233. "required": true
  4234. },
  4235. {
  4236. "type": "integer",
  4237. "description": "用户类型 2-机构 7-企业成员",
  4238. "name": "usertype",
  4239. "in": "query"
  4240. },
  4241. {
  4242. "type": "integer",
  4243. "description": "排除套保品中已关联的商品组 1-排除",
  4244. "name": "excludecfg",
  4245. "in": "query"
  4246. }
  4247. ],
  4248. "responses": {
  4249. "200": {
  4250. "description": "OK",
  4251. "schema": {
  4252. "type": "array",
  4253. "items": {
  4254. "$ref": "#/definitions/models.Ermcp3GoodsGroup"
  4255. }
  4256. }
  4257. },
  4258. "500": {
  4259. "description": "Internal Server Error",
  4260. "schema": {
  4261. "$ref": "#/definitions/app.Response"
  4262. }
  4263. }
  4264. }
  4265. }
  4266. },
  4267. "/Ermcp3/QueryGoodsWrstandard": {
  4268. "get": {
  4269. "security": [
  4270. {
  4271. "ApiKeyAuth": []
  4272. }
  4273. ],
  4274. "produces": [
  4275. "application/json"
  4276. ],
  4277. "tags": [
  4278. "企业风险管理v3(app)"
  4279. ],
  4280. "summary": "查询商品品类",
  4281. "parameters": [
  4282. {
  4283. "type": "integer",
  4284. "description": "用户id",
  4285. "name": "userid",
  4286. "in": "query",
  4287. "required": true
  4288. },
  4289. {
  4290. "type": "integer",
  4291. "description": "用户类型 2-机构 7-企业成员",
  4292. "name": "usertype",
  4293. "in": "query"
  4294. },
  4295. {
  4296. "type": "integer",
  4297. "description": "现货商品id",
  4298. "name": "deliverygoodsid",
  4299. "in": "query"
  4300. }
  4301. ],
  4302. "responses": {
  4303. "200": {
  4304. "description": "OK",
  4305. "schema": {
  4306. "type": "array",
  4307. "items": {
  4308. "$ref": "#/definitions/models.Ermcp3Wrstandard"
  4309. }
  4310. }
  4311. },
  4312. "500": {
  4313. "description": "Internal Server Error",
  4314. "schema": {
  4315. "$ref": "#/definitions/app.Response"
  4316. }
  4317. }
  4318. }
  4319. }
  4320. },
  4321. "/Ermcp3/QueryGoodsbrand": {
  4322. "get": {
  4323. "security": [
  4324. {
  4325. "ApiKeyAuth": []
  4326. }
  4327. ],
  4328. "produces": [
  4329. "application/json"
  4330. ],
  4331. "tags": [
  4332. "企业风险管理v3(app)"
  4333. ],
  4334. "summary": "查询商品品牌",
  4335. "parameters": [
  4336. {
  4337. "type": "integer",
  4338. "description": "用户id",
  4339. "name": "userid",
  4340. "in": "query",
  4341. "required": true
  4342. },
  4343. {
  4344. "type": "integer",
  4345. "description": "用户类型 2-机构 7-企业成员",
  4346. "name": "usertype",
  4347. "in": "query"
  4348. }
  4349. ],
  4350. "responses": {
  4351. "200": {
  4352. "description": "OK",
  4353. "schema": {
  4354. "type": "array",
  4355. "items": {
  4356. "$ref": "#/definitions/models.Ermcp3Brand"
  4357. }
  4358. }
  4359. },
  4360. "500": {
  4361. "description": "Internal Server Error",
  4362. "schema": {
  4363. "$ref": "#/definitions/app.Response"
  4364. }
  4365. }
  4366. }
  4367. }
  4368. },
  4369. "/Ermcp3/QueryHedgePlan": {
  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": "string",
  4399. "description": "套保计划状态(允许多个,逗号隔开) - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  4400. "name": "hedgeplanstatus",
  4401. "in": "query",
  4402. "required": true
  4403. }
  4404. ],
  4405. "responses": {
  4406. "200": {
  4407. "description": "OK",
  4408. "schema": {
  4409. "type": "array",
  4410. "items": {
  4411. "$ref": "#/definitions/models.Ermcp3HedgePlan"
  4412. }
  4413. }
  4414. },
  4415. "500": {
  4416. "description": "Internal Server Error",
  4417. "schema": {
  4418. "$ref": "#/definitions/app.Response"
  4419. }
  4420. }
  4421. }
  4422. }
  4423. },
  4424. "/Ermcp3/QueryMiddleGoodsDetail": {
  4425. "get": {
  4426. "security": [
  4427. {
  4428. "ApiKeyAuth": []
  4429. }
  4430. ],
  4431. "produces": [
  4432. "application/json"
  4433. ],
  4434. "tags": [
  4435. "企业风险管理v3(app)"
  4436. ],
  4437. "summary": "查询套保品种详情(套保品种/商品详情)",
  4438. "parameters": [
  4439. {
  4440. "type": "integer",
  4441. "description": "用户id",
  4442. "name": "userid",
  4443. "in": "query",
  4444. "required": true
  4445. },
  4446. {
  4447. "type": "integer",
  4448. "description": "用户类型 2-机构 7-企业成员",
  4449. "name": "usertype",
  4450. "in": "query"
  4451. },
  4452. {
  4453. "type": "integer",
  4454. "description": "套保品种id",
  4455. "name": "middlegoodsid",
  4456. "in": "query"
  4457. }
  4458. ],
  4459. "responses": {
  4460. "200": {
  4461. "description": "OK",
  4462. "schema": {
  4463. "type": "array",
  4464. "items": {
  4465. "$ref": "#/definitions/models.Ermcp3MiddleGoodsDetailEx"
  4466. }
  4467. }
  4468. },
  4469. "500": {
  4470. "description": "Internal Server Error",
  4471. "schema": {
  4472. "$ref": "#/definitions/app.Response"
  4473. }
  4474. }
  4475. }
  4476. }
  4477. },
  4478. "/Ermcp3/QueryRootUserAccount": {
  4479. "get": {
  4480. "security": [
  4481. {
  4482. "ApiKeyAuth": []
  4483. }
  4484. ],
  4485. "produces": [
  4486. "application/json"
  4487. ],
  4488. "tags": [
  4489. "企业风险管理v3(app)"
  4490. ],
  4491. "summary": "查询顶级用户信息",
  4492. "parameters": [
  4493. {
  4494. "type": "integer",
  4495. "description": "用户ID",
  4496. "name": "userid",
  4497. "in": "query",
  4498. "required": true
  4499. }
  4500. ],
  4501. "responses": {
  4502. "200": {
  4503. "description": "OK",
  4504. "schema": {
  4505. "type": "array",
  4506. "items": {
  4507. "$ref": "#/definitions/models.Ermcp3RootUserAccount"
  4508. }
  4509. }
  4510. },
  4511. "500": {
  4512. "description": "Internal Server Error",
  4513. "schema": {
  4514. "$ref": "#/definitions/app.Response"
  4515. }
  4516. }
  4517. }
  4518. }
  4519. },
  4520. "/Ermcp3/QuerySpotContract": {
  4521. "get": {
  4522. "security": [
  4523. {
  4524. "ApiKeyAuth": []
  4525. }
  4526. ],
  4527. "produces": [
  4528. "application/json"
  4529. ],
  4530. "tags": [
  4531. "企业风险管理v3(app)"
  4532. ],
  4533. "summary": "查询现货合同",
  4534. "parameters": [
  4535. {
  4536. "type": "integer",
  4537. "description": "用户id",
  4538. "name": "userid",
  4539. "in": "query",
  4540. "required": true
  4541. },
  4542. {
  4543. "type": "integer",
  4544. "description": "用户类型 2-机构 7-企业成员",
  4545. "name": "usertype",
  4546. "in": "query"
  4547. },
  4548. {
  4549. "type": "integer",
  4550. "description": "查询类型 1-未提交 2-待审核 3-履约中 4-已完成",
  4551. "name": "querytype",
  4552. "in": "query",
  4553. "required": true
  4554. },
  4555. {
  4556. "type": "string",
  4557. "description": "合同ID(SpotContractId)",
  4558. "name": "contractid",
  4559. "in": "query"
  4560. }
  4561. ],
  4562. "responses": {
  4563. "200": {
  4564. "description": "OK",
  4565. "schema": {
  4566. "type": "array",
  4567. "items": {
  4568. "$ref": "#/definitions/models.Ermcp3Contract"
  4569. }
  4570. }
  4571. },
  4572. "500": {
  4573. "description": "Internal Server Error",
  4574. "schema": {
  4575. "$ref": "#/definitions/app.Response"
  4576. }
  4577. }
  4578. }
  4579. }
  4580. },
  4581. "/Ermcp3/QuerySpotContractBS": {
  4582. "get": {
  4583. "security": [
  4584. {
  4585. "ApiKeyAuth": []
  4586. }
  4587. ],
  4588. "produces": [
  4589. "application/json"
  4590. ],
  4591. "tags": [
  4592. "企业风险管理v3(app)"
  4593. ],
  4594. "summary": "查询合同(采购/销售)",
  4595. "parameters": [
  4596. {
  4597. "type": "integer",
  4598. "description": "用户id",
  4599. "name": "userid",
  4600. "in": "query",
  4601. "required": true
  4602. },
  4603. {
  4604. "type": "integer",
  4605. "description": "用户类型 2-机构 7-企业成员",
  4606. "name": "usertype",
  4607. "in": "query"
  4608. },
  4609. {
  4610. "type": "integer",
  4611. "description": "合同类型 1-采购, -1-销售",
  4612. "name": "contracttype",
  4613. "in": "query",
  4614. "required": true
  4615. },
  4616. {
  4617. "type": "integer",
  4618. "description": "查询类型 1-全部 2-待点价 3-履约结算 4-已完成",
  4619. "name": "querytype",
  4620. "in": "query",
  4621. "required": true
  4622. },
  4623. {
  4624. "type": "string",
  4625. "description": "合同ID(SpotContractId)",
  4626. "name": "contractid",
  4627. "in": "query"
  4628. }
  4629. ],
  4630. "responses": {
  4631. "200": {
  4632. "description": "OK",
  4633. "schema": {
  4634. "type": "array",
  4635. "items": {
  4636. "$ref": "#/definitions/models.Ermcp3SellBuyContract"
  4637. }
  4638. }
  4639. },
  4640. "500": {
  4641. "description": "Internal Server Error",
  4642. "schema": {
  4643. "$ref": "#/definitions/app.Response"
  4644. }
  4645. }
  4646. }
  4647. }
  4648. },
  4649. "/Ermcp3/QuerySpotGoodsPrice": {
  4650. "get": {
  4651. "security": [
  4652. {
  4653. "ApiKeyAuth": []
  4654. }
  4655. ],
  4656. "produces": [
  4657. "application/json"
  4658. ],
  4659. "tags": [
  4660. "企业风险管理v3(app)"
  4661. ],
  4662. "summary": "查询现货市价(现货市价)",
  4663. "parameters": [
  4664. {
  4665. "type": "integer",
  4666. "description": "用户ID",
  4667. "name": "userid",
  4668. "in": "query",
  4669. "required": true
  4670. }
  4671. ],
  4672. "responses": {
  4673. "200": {
  4674. "description": "OK",
  4675. "schema": {
  4676. "type": "array",
  4677. "items": {
  4678. "$ref": "#/definitions/models.Ermcp3SpotGoodsPrice"
  4679. }
  4680. }
  4681. },
  4682. "500": {
  4683. "description": "Internal Server Error",
  4684. "schema": {
  4685. "$ref": "#/definitions/app.Response"
  4686. }
  4687. }
  4688. }
  4689. }
  4690. },
  4691. "/Ermcp3/QuerySpotGoodsPriceLog": {
  4692. "get": {
  4693. "security": [
  4694. {
  4695. "ApiKeyAuth": []
  4696. }
  4697. ],
  4698. "produces": [
  4699. "application/json"
  4700. ],
  4701. "tags": [
  4702. "企业风险管理v3(app)"
  4703. ],
  4704. "summary": "查询现货市价详情(现货市价/详情)",
  4705. "parameters": [
  4706. {
  4707. "type": "integer",
  4708. "description": "用户ID",
  4709. "name": "userid",
  4710. "in": "query",
  4711. "required": true
  4712. },
  4713. {
  4714. "type": "integer",
  4715. "description": "现货商品ID",
  4716. "name": "deliverygoodsid",
  4717. "in": "query",
  4718. "required": true
  4719. },
  4720. {
  4721. "type": "integer",
  4722. "description": "品牌ID",
  4723. "name": "brandid",
  4724. "in": "query"
  4725. },
  4726. {
  4727. "type": "integer",
  4728. "description": "品类ID",
  4729. "name": "wrstandardid",
  4730. "in": "query"
  4731. }
  4732. ],
  4733. "responses": {
  4734. "200": {
  4735. "description": "OK",
  4736. "schema": {
  4737. "type": "array",
  4738. "items": {
  4739. "$ref": "#/definitions/models.Ermcp3SpotGoodsPriceLog"
  4740. }
  4741. }
  4742. },
  4743. "500": {
  4744. "description": "Internal Server Error",
  4745. "schema": {
  4746. "$ref": "#/definitions/app.Response"
  4747. }
  4748. }
  4749. }
  4750. }
  4751. },
  4752. "/Erms2/QueryArbitrageStrategy": {
  4753. "get": {
  4754. "security": [
  4755. {
  4756. "ApiKeyAuth": []
  4757. }
  4758. ],
  4759. "produces": [
  4760. "application/json"
  4761. ],
  4762. "tags": [
  4763. "风险管理"
  4764. ],
  4765. "summary": "查询期现套利策略表信息(指定资金账户、未结束的)",
  4766. "parameters": [
  4767. {
  4768. "type": "integer",
  4769. "description": "账户ID",
  4770. "name": "userid",
  4771. "in": "query",
  4772. "required": true
  4773. },
  4774. {
  4775. "type": "string",
  4776. "description": "商品组ID(品种ID)",
  4777. "name": "goodsgroupid",
  4778. "in": "query"
  4779. }
  4780. ],
  4781. "responses": {
  4782. "200": {
  4783. "description": "OK",
  4784. "schema": {
  4785. "$ref": "#/definitions/erms2.QueryArbitrageStrategyRsp"
  4786. }
  4787. },
  4788. "500": {
  4789. "description": "Internal Server Error",
  4790. "schema": {
  4791. "$ref": "#/definitions/app.Response"
  4792. }
  4793. }
  4794. }
  4795. }
  4796. },
  4797. "/Erms2/QueryInnerTradeDetail": {
  4798. "get": {
  4799. "security": [
  4800. {
  4801. "ApiKeyAuth": []
  4802. }
  4803. ],
  4804. "produces": [
  4805. "application/json"
  4806. ],
  4807. "tags": [
  4808. "风险管理"
  4809. ],
  4810. "summary": "查询内部成交单信息",
  4811. "parameters": [
  4812. {
  4813. "type": "integer",
  4814. "description": "资金账户",
  4815. "name": "accountid",
  4816. "in": "query",
  4817. "required": true
  4818. }
  4819. ],
  4820. "responses": {
  4821. "200": {
  4822. "description": "OK",
  4823. "schema": {
  4824. "$ref": "#/definitions/erms2.QueryInnerTradeDetailRsp"
  4825. }
  4826. },
  4827. "500": {
  4828. "description": "Internal Server Error",
  4829. "schema": {
  4830. "$ref": "#/definitions/app.Response"
  4831. }
  4832. }
  4833. }
  4834. }
  4835. },
  4836. "/Erms2/QuerySpotContract": {
  4837. "get": {
  4838. "security": [
  4839. {
  4840. "ApiKeyAuth": []
  4841. }
  4842. ],
  4843. "produces": [
  4844. "application/json"
  4845. ],
  4846. "tags": [
  4847. "风险管理"
  4848. ],
  4849. "summary": "查询现货合同表信息(指定策略ID、未结束的)",
  4850. "parameters": [
  4851. {
  4852. "type": "integer",
  4853. "description": "策略申请ID",
  4854. "name": "asapplyid",
  4855. "in": "query",
  4856. "required": true
  4857. },
  4858. {
  4859. "type": "integer",
  4860. "description": "现货合同ID",
  4861. "name": "spotcontractid",
  4862. "in": "query"
  4863. }
  4864. ],
  4865. "responses": {
  4866. "200": {
  4867. "description": "OK",
  4868. "schema": {
  4869. "$ref": "#/definitions/erms2.QuerySpotContractRsp"
  4870. }
  4871. },
  4872. "500": {
  4873. "description": "Internal Server Error",
  4874. "schema": {
  4875. "$ref": "#/definitions/app.Response"
  4876. }
  4877. }
  4878. }
  4879. }
  4880. },
  4881. "/Erms3/AddErms2ASApply": {
  4882. "post": {
  4883. "security": [
  4884. {
  4885. "ApiKeyAuth": []
  4886. }
  4887. ],
  4888. "produces": [
  4889. "application/json"
  4890. ],
  4891. "tags": [
  4892. "风险管理v3"
  4893. ],
  4894. "summary": "新增期现套利业务申请",
  4895. "parameters": [
  4896. {
  4897. "description": "申请参数",
  4898. "name": "jsonBody",
  4899. "in": "body",
  4900. "required": true,
  4901. "schema": {
  4902. "$ref": "#/definitions/erms3.AddErms2ASApplyReq"
  4903. }
  4904. }
  4905. ],
  4906. "responses": {
  4907. "200": {
  4908. "description": "OK",
  4909. "schema": {
  4910. "$ref": "#/definitions/app.Response"
  4911. }
  4912. },
  4913. "500": {
  4914. "description": "Internal Server Error",
  4915. "schema": {
  4916. "$ref": "#/definitions/app.Response"
  4917. }
  4918. }
  4919. }
  4920. }
  4921. },
  4922. "/Erms3/AddErms2SpotTradeApply": {
  4923. "post": {
  4924. "security": [
  4925. {
  4926. "ApiKeyAuth": []
  4927. }
  4928. ],
  4929. "produces": [
  4930. "application/json"
  4931. ],
  4932. "tags": [
  4933. "风险管理v3"
  4934. ],
  4935. "summary": "新增现货贸易业务申请",
  4936. "parameters": [
  4937. {
  4938. "description": "申请参数",
  4939. "name": "jsonBody",
  4940. "in": "body",
  4941. "required": true,
  4942. "schema": {
  4943. "$ref": "#/definitions/erms3.AddErms2SpotTradeApplyReq"
  4944. }
  4945. }
  4946. ],
  4947. "responses": {
  4948. "200": {
  4949. "description": "OK",
  4950. "schema": {
  4951. "$ref": "#/definitions/app.Response"
  4952. }
  4953. },
  4954. "500": {
  4955. "description": "Internal Server Error",
  4956. "schema": {
  4957. "$ref": "#/definitions/app.Response"
  4958. }
  4959. }
  4960. }
  4961. }
  4962. },
  4963. "/Erms3/AddSpotContractApply": {
  4964. "post": {
  4965. "security": [
  4966. {
  4967. "ApiKeyAuth": []
  4968. }
  4969. ],
  4970. "produces": [
  4971. "application/json"
  4972. ],
  4973. "tags": [
  4974. "风险管理v3"
  4975. ],
  4976. "summary": "新增现货合同申请",
  4977. "parameters": [
  4978. {
  4979. "description": "申请参数",
  4980. "name": "jsonBody",
  4981. "in": "body",
  4982. "required": true,
  4983. "schema": {
  4984. "$ref": "#/definitions/erms3.AddSpotContractApplyReq"
  4985. }
  4986. }
  4987. ],
  4988. "responses": {
  4989. "200": {
  4990. "description": "OK",
  4991. "schema": {
  4992. "$ref": "#/definitions/erms3.AddSpotContractApplyRsp"
  4993. }
  4994. },
  4995. "500": {
  4996. "description": "Internal Server Error",
  4997. "schema": {
  4998. "$ref": "#/definitions/app.Response"
  4999. }
  5000. }
  5001. }
  5002. }
  5003. },
  5004. "/Erms3/AddUserInfoApply": {
  5005. "post": {
  5006. "security": [
  5007. {
  5008. "ApiKeyAuth": []
  5009. }
  5010. ],
  5011. "produces": [
  5012. "application/json"
  5013. ],
  5014. "tags": [
  5015. "风险管理v3"
  5016. ],
  5017. "summary": "新增客户申请",
  5018. "parameters": [
  5019. {
  5020. "description": "用户信息",
  5021. "name": "jsonBody",
  5022. "in": "body",
  5023. "required": true,
  5024. "schema": {
  5025. "$ref": "#/definitions/erms3.AddUserInfoApplyReq"
  5026. }
  5027. }
  5028. ],
  5029. "responses": {
  5030. "200": {
  5031. "description": "OK",
  5032. "schema": {
  5033. "$ref": "#/definitions/app.Response"
  5034. }
  5035. },
  5036. "500": {
  5037. "description": "Internal Server Error",
  5038. "schema": {
  5039. "$ref": "#/definitions/app.Response"
  5040. }
  5041. }
  5042. }
  5043. }
  5044. },
  5045. "/Erms3/DeleteUserInfoApply": {
  5046. "get": {
  5047. "security": [
  5048. {
  5049. "ApiKeyAuth": []
  5050. }
  5051. ],
  5052. "description": "只可删除 UserState = 1 (未提交)状态的申请信息",
  5053. "produces": [
  5054. "application/json"
  5055. ],
  5056. "tags": [
  5057. "风险管理v3"
  5058. ],
  5059. "summary": "删除客户申请",
  5060. "parameters": [
  5061. {
  5062. "type": "integer",
  5063. "description": "用户ID",
  5064. "name": "userID",
  5065. "in": "query",
  5066. "required": true
  5067. }
  5068. ],
  5069. "responses": {
  5070. "200": {
  5071. "description": "OK",
  5072. "schema": {
  5073. "$ref": "#/definitions/app.Response"
  5074. }
  5075. },
  5076. "500": {
  5077. "description": "Internal Server Error",
  5078. "schema": {
  5079. "$ref": "#/definitions/app.Response"
  5080. }
  5081. }
  5082. }
  5083. }
  5084. },
  5085. "/Erms3/ModifyUserInfoApply": {
  5086. "post": {
  5087. "security": [
  5088. {
  5089. "ApiKeyAuth": []
  5090. }
  5091. ],
  5092. "description": "保存草稿(撤回)- { \"userid\": int, \"userstate\": 1 } 提交审核 - { \"userid\": int, \"userstate\": 2 }",
  5093. "produces": [
  5094. "application/json"
  5095. ],
  5096. "tags": [
  5097. "风险管理v3"
  5098. ],
  5099. "summary": "修改客户申请",
  5100. "parameters": [
  5101. {
  5102. "description": "用户信息",
  5103. "name": "jsonBody",
  5104. "in": "body",
  5105. "required": true,
  5106. "schema": {
  5107. "$ref": "#/definitions/erms3.ModifyUserInfoApplyReq"
  5108. }
  5109. }
  5110. ],
  5111. "responses": {
  5112. "200": {
  5113. "description": "OK",
  5114. "schema": {
  5115. "$ref": "#/definitions/app.Response"
  5116. }
  5117. },
  5118. "500": {
  5119. "description": "Internal Server Error",
  5120. "schema": {
  5121. "$ref": "#/definitions/app.Response"
  5122. }
  5123. }
  5124. }
  5125. }
  5126. },
  5127. "/Erms3/QueryBusinessInfo": {
  5128. "get": {
  5129. "security": [
  5130. {
  5131. "ApiKeyAuth": []
  5132. }
  5133. ],
  5134. "produces": [
  5135. "application/json"
  5136. ],
  5137. "tags": [
  5138. "风险管理v3"
  5139. ],
  5140. "summary": "查询业务表单数据",
  5141. "parameters": [
  5142. {
  5143. "type": "string",
  5144. "description": "资金账号ID列表,用逗号分隔",
  5145. "name": "accountids",
  5146. "in": "query",
  5147. "required": true
  5148. },
  5149. {
  5150. "type": "integer",
  5151. "description": "状态,0为未结束 1为已结束",
  5152. "name": "status",
  5153. "in": "query",
  5154. "required": true
  5155. }
  5156. ],
  5157. "responses": {
  5158. "200": {
  5159. "description": "OK",
  5160. "schema": {
  5161. "type": "array",
  5162. "items": {
  5163. "$ref": "#/definitions/erms3.QueryBusinessInfoRsp"
  5164. }
  5165. }
  5166. },
  5167. "500": {
  5168. "description": "Internal Server Error",
  5169. "schema": {
  5170. "$ref": "#/definitions/app.Response"
  5171. }
  5172. }
  5173. }
  5174. }
  5175. },
  5176. "/Erms3/QueryPendingAuditContract": {
  5177. "get": {
  5178. "security": [
  5179. {
  5180. "ApiKeyAuth": []
  5181. }
  5182. ],
  5183. "produces": [
  5184. "application/json"
  5185. ],
  5186. "tags": [
  5187. "风险管理v3"
  5188. ],
  5189. "summary": "查询待审核合同",
  5190. "parameters": [
  5191. {
  5192. "type": "string",
  5193. "description": "资金账号ID列表,逗号隔开",
  5194. "name": "accountids",
  5195. "in": "query",
  5196. "required": true
  5197. },
  5198. {
  5199. "type": "integer",
  5200. "description": "合同类型 1-采购 -1-销售",
  5201. "name": "contracttype",
  5202. "in": "query",
  5203. "required": true
  5204. },
  5205. {
  5206. "type": "integer",
  5207. "description": "合同模式 1-普通 2-回购",
  5208. "name": "contractmode",
  5209. "in": "query",
  5210. "required": true
  5211. }
  5212. ],
  5213. "responses": {
  5214. "200": {
  5215. "description": "OK",
  5216. "schema": {
  5217. "type": "array",
  5218. "items": {
  5219. "$ref": "#/definitions/erms3.QryAuditContractRsp"
  5220. }
  5221. }
  5222. },
  5223. "500": {
  5224. "description": "Internal Server Error",
  5225. "schema": {
  5226. "$ref": "#/definitions/app.Response"
  5227. }
  5228. }
  5229. }
  5230. }
  5231. },
  5232. "/Erms3/QueryPendingBusiness": {
  5233. "get": {
  5234. "security": [
  5235. {
  5236. "ApiKeyAuth": []
  5237. }
  5238. ],
  5239. "produces": [
  5240. "application/json"
  5241. ],
  5242. "tags": [
  5243. "风险管理v3"
  5244. ],
  5245. "summary": "查询待审核基差贸易业务",
  5246. "parameters": [
  5247. {
  5248. "type": "string",
  5249. "description": "资金账号ID列表,逗号隔开",
  5250. "name": "accountids",
  5251. "in": "query",
  5252. "required": true
  5253. }
  5254. ],
  5255. "responses": {
  5256. "200": {
  5257. "description": "OK",
  5258. "schema": {
  5259. "type": "array",
  5260. "items": {
  5261. "$ref": "#/definitions/erms3.QryPendingBizRsp"
  5262. }
  5263. }
  5264. },
  5265. "500": {
  5266. "description": "Internal Server Error",
  5267. "schema": {
  5268. "$ref": "#/definitions/app.Response"
  5269. }
  5270. }
  5271. }
  5272. }
  5273. },
  5274. "/Erms3/QuerySpotContractAppleForm": {
  5275. "get": {
  5276. "security": [
  5277. {
  5278. "ApiKeyAuth": []
  5279. }
  5280. ],
  5281. "produces": [
  5282. "application/json"
  5283. ],
  5284. "tags": [
  5285. "风险管理v3"
  5286. ],
  5287. "summary": "查询合同申请表单数据",
  5288. "parameters": [
  5289. {
  5290. "type": "integer",
  5291. "description": "登录账号",
  5292. "name": "loginID",
  5293. "in": "query",
  5294. "required": true
  5295. }
  5296. ],
  5297. "responses": {
  5298. "200": {
  5299. "description": "OK",
  5300. "schema": {
  5301. "$ref": "#/definitions/erms3.QuerySpotContractAppleFormRsp"
  5302. }
  5303. },
  5304. "500": {
  5305. "description": "Internal Server Error",
  5306. "schema": {
  5307. "$ref": "#/definitions/app.Response"
  5308. }
  5309. }
  5310. }
  5311. }
  5312. },
  5313. "/Erms3/QuerySpotContractDetail": {
  5314. "get": {
  5315. "security": [
  5316. {
  5317. "ApiKeyAuth": []
  5318. }
  5319. ],
  5320. "produces": [
  5321. "application/json"
  5322. ],
  5323. "tags": [
  5324. "风险管理v3"
  5325. ],
  5326. "summary": "查询合同详细信息",
  5327. "parameters": [
  5328. {
  5329. "type": "string",
  5330. "description": "资金账号ID列表,用逗号分隔",
  5331. "name": "accountids",
  5332. "in": "query",
  5333. "required": true
  5334. },
  5335. {
  5336. "type": "integer",
  5337. "description": "合同类型,1为采购合同 -1为销售合同",
  5338. "name": "contracttype",
  5339. "in": "query",
  5340. "required": true
  5341. },
  5342. {
  5343. "type": "integer",
  5344. "description": "合同模式,1为普通合同 2为回购销售合同",
  5345. "name": "contractmode",
  5346. "in": "query",
  5347. "required": true
  5348. },
  5349. {
  5350. "type": "integer",
  5351. "description": "状态,0为履约中 1为已完成",
  5352. "name": "status",
  5353. "in": "query",
  5354. "required": true
  5355. }
  5356. ],
  5357. "responses": {
  5358. "200": {
  5359. "description": "OK",
  5360. "schema": {
  5361. "type": "array",
  5362. "items": {
  5363. "$ref": "#/definitions/erms3.QuerySpotContractInfoRsp"
  5364. }
  5365. }
  5366. },
  5367. "500": {
  5368. "description": "Internal Server Error",
  5369. "schema": {
  5370. "$ref": "#/definitions/app.Response"
  5371. }
  5372. }
  5373. }
  5374. }
  5375. },
  5376. "/Erms3/QueryUserInfoApplies": {
  5377. "get": {
  5378. "security": [
  5379. {
  5380. "ApiKeyAuth": []
  5381. }
  5382. ],
  5383. "produces": [
  5384. "application/json"
  5385. ],
  5386. "tags": [
  5387. "风险管理v3"
  5388. ],
  5389. "summary": "客户申请信息查询",
  5390. "parameters": [
  5391. {
  5392. "type": "integer",
  5393. "description": "页码",
  5394. "name": "page",
  5395. "in": "query"
  5396. },
  5397. {
  5398. "type": "integer",
  5399. "description": "每页条数",
  5400. "name": "pagesize",
  5401. "in": "query"
  5402. },
  5403. {
  5404. "type": "string",
  5405. "description": "客户名称,支持模糊查询",
  5406. "name": "userName",
  5407. "in": "query"
  5408. }
  5409. ],
  5410. "responses": {
  5411. "200": {
  5412. "description": "OK",
  5413. "schema": {
  5414. "$ref": "#/definitions/erms3.QueryUserInfoAppliesRsp"
  5415. }
  5416. },
  5417. "500": {
  5418. "description": "Internal Server Error",
  5419. "schema": {
  5420. "$ref": "#/definitions/app.Response"
  5421. }
  5422. }
  5423. }
  5424. }
  5425. },
  5426. "/Erms3/QueryUserInfos": {
  5427. "get": {
  5428. "security": [
  5429. {
  5430. "ApiKeyAuth": []
  5431. }
  5432. ],
  5433. "produces": [
  5434. "application/json"
  5435. ],
  5436. "tags": [
  5437. "风险管理v3"
  5438. ],
  5439. "summary": "客户信息查询",
  5440. "parameters": [
  5441. {
  5442. "type": "integer",
  5443. "description": "页码",
  5444. "name": "page",
  5445. "in": "query"
  5446. },
  5447. {
  5448. "type": "integer",
  5449. "description": "每页条数",
  5450. "name": "pagesize",
  5451. "in": "query"
  5452. },
  5453. {
  5454. "type": "string",
  5455. "description": "客户名称,支持模糊查询",
  5456. "name": "userName",
  5457. "in": "query"
  5458. }
  5459. ],
  5460. "responses": {
  5461. "200": {
  5462. "description": "OK",
  5463. "schema": {
  5464. "$ref": "#/definitions/erms3.QueryUserInfosRsp"
  5465. }
  5466. },
  5467. "500": {
  5468. "description": "Internal Server Error",
  5469. "schema": {
  5470. "$ref": "#/definitions/app.Response"
  5471. }
  5472. }
  5473. }
  5474. }
  5475. },
  5476. "/HSBY/GetHsbyMyCount": {
  5477. "get": {
  5478. "security": [
  5479. {
  5480. "ApiKeyAuth": []
  5481. }
  5482. ],
  5483. "description": "说明: 不包括已完成的数量。",
  5484. "produces": [
  5485. "application/json"
  5486. ],
  5487. "tags": [
  5488. "定制【海商报业】"
  5489. ],
  5490. "summary": "获取我的订单与包裹数量",
  5491. "parameters": [
  5492. {
  5493. "type": "string",
  5494. "description": "资金账户列表,格式:1,2,3",
  5495. "name": "accountIDs",
  5496. "in": "query",
  5497. "required": true
  5498. }
  5499. ],
  5500. "responses": {
  5501. "200": {
  5502. "description": "OK",
  5503. "schema": {
  5504. "$ref": "#/definitions/hsby.GetHsbyMyCountRsp"
  5505. }
  5506. },
  5507. "500": {
  5508. "description": "Internal Server Error",
  5509. "schema": {
  5510. "$ref": "#/definitions/app.Response"
  5511. }
  5512. }
  5513. }
  5514. }
  5515. },
  5516. "/HSBY/QueryClientFixedADConfigs": {
  5517. "get": {
  5518. "security": [
  5519. {
  5520. "ApiKeyAuth": []
  5521. }
  5522. ],
  5523. "produces": [
  5524. "application/json"
  5525. ],
  5526. "tags": [
  5527. "定制【海商报业】"
  5528. ],
  5529. "summary": "获取终端固定广告配置",
  5530. "responses": {
  5531. "200": {
  5532. "description": "OK",
  5533. "schema": {
  5534. "$ref": "#/definitions/models.Clientfixedadconfig"
  5535. }
  5536. },
  5537. "500": {
  5538. "description": "Internal Server Error",
  5539. "schema": {
  5540. "$ref": "#/definitions/app.Response"
  5541. }
  5542. }
  5543. }
  5544. }
  5545. },
  5546. "/HSBY/QueryHsbyBuyMyTradeDetail": {
  5547. "get": {
  5548. "security": [
  5549. {
  5550. "ApiKeyAuth": []
  5551. }
  5552. ],
  5553. "produces": [
  5554. "application/json"
  5555. ],
  5556. "tags": [
  5557. "定制【海商报业】"
  5558. ],
  5559. "summary": "查询\"我的订单 - 已完成\"单据信息",
  5560. "parameters": [
  5561. {
  5562. "type": "integer",
  5563. "description": "页码",
  5564. "name": "page",
  5565. "in": "query"
  5566. },
  5567. {
  5568. "type": "integer",
  5569. "description": "每页条数",
  5570. "name": "pagesize",
  5571. "in": "query"
  5572. },
  5573. {
  5574. "type": "string",
  5575. "description": "资金账户列表,格式:1,2,3",
  5576. "name": "accountIDs",
  5577. "in": "query",
  5578. "required": true
  5579. }
  5580. ],
  5581. "responses": {
  5582. "200": {
  5583. "description": "OK",
  5584. "schema": {
  5585. "$ref": "#/definitions/models.HsbyBuyMyTradeDetail"
  5586. }
  5587. },
  5588. "500": {
  5589. "description": "Internal Server Error",
  5590. "schema": {
  5591. "$ref": "#/definitions/app.Response"
  5592. }
  5593. }
  5594. }
  5595. }
  5596. },
  5597. "/HSBY/QueryHsbyGoodsOrderDetails": {
  5598. "get": {
  5599. "security": [
  5600. {
  5601. "ApiKeyAuth": []
  5602. }
  5603. ],
  5604. "description": "说明:查询结果已按委托价格和委托时间排序",
  5605. "produces": [
  5606. "application/json"
  5607. ],
  5608. "tags": [
  5609. "定制【海商报业】"
  5610. ],
  5611. "summary": "查询二级市场(挂牌点选)商品对应的挂牌委托单信息",
  5612. "parameters": [
  5613. {
  5614. "type": "integer",
  5615. "description": "商品ID",
  5616. "name": "goodsID",
  5617. "in": "query",
  5618. "required": true
  5619. },
  5620. {
  5621. "type": "string",
  5622. "description": "摘牌方资金账户列表,格式:1,2,3。主要用于过滤自己的挂牌单",
  5623. "name": "accountIDs",
  5624. "in": "query"
  5625. },
  5626. {
  5627. "type": "integer",
  5628. "description": "挂牌委托单方向(对手单方向),0:买 1:卖",
  5629. "name": "buyOrSell",
  5630. "in": "query"
  5631. },
  5632. {
  5633. "type": "number",
  5634. "description": " 参考价格。对手单买方向委托单则价格大于等于(站在摘牌人的角度,摘牌方面是卖,我的闲置下单);对手单卖方向委托单则价格小于等于(站在摘牌人的角度,摘牌方面是买,热门商品下单)",
  5635. "name": "price",
  5636. "in": "query"
  5637. },
  5638. {
  5639. "type": "integer",
  5640. "description": "档位,不传则默认为3档",
  5641. "name": "speed",
  5642. "in": "query"
  5643. }
  5644. ],
  5645. "responses": {
  5646. "200": {
  5647. "description": "OK",
  5648. "schema": {
  5649. "$ref": "#/definitions/models.HsbyGoodsOrderDetail"
  5650. }
  5651. },
  5652. "500": {
  5653. "description": "Internal Server Error",
  5654. "schema": {
  5655. "$ref": "#/definitions/app.Response"
  5656. }
  5657. }
  5658. }
  5659. }
  5660. },
  5661. "/HSBY/QueryHsbyListingGoodsDetail": {
  5662. "get": {
  5663. "security": [
  5664. {
  5665. "ApiKeyAuth": []
  5666. }
  5667. ],
  5668. "description": "说明:“我的商品”详情中,二级(挂牌点选)和三级(商城)的商品详情都使用此接口",
  5669. "produces": [
  5670. "application/json"
  5671. ],
  5672. "tags": [
  5673. "定制【海商报业】"
  5674. ],
  5675. "summary": "查询二级市场(挂牌点选)商品信息详情",
  5676. "parameters": [
  5677. {
  5678. "type": "integer",
  5679. "description": "商品ID",
  5680. "name": "goodsID",
  5681. "in": "query",
  5682. "required": true
  5683. },
  5684. {
  5685. "type": "integer",
  5686. "description": "资金账户,主要用于获取交易规则。不传则获取通用规则。",
  5687. "name": "accountID",
  5688. "in": "query"
  5689. }
  5690. ],
  5691. "responses": {
  5692. "200": {
  5693. "description": "OK",
  5694. "schema": {
  5695. "$ref": "#/definitions/models.HsbyListingGoodsDetail"
  5696. }
  5697. },
  5698. "500": {
  5699. "description": "Internal Server Error",
  5700. "schema": {
  5701. "$ref": "#/definitions/app.Response"
  5702. }
  5703. }
  5704. }
  5705. }
  5706. },
  5707. "/HSBY/QueryHsbyMarketGoodsDetail": {
  5708. "get": {
  5709. "security": [
  5710. {
  5711. "ApiKeyAuth": []
  5712. }
  5713. ],
  5714. "produces": [
  5715. "application/json"
  5716. ],
  5717. "tags": [
  5718. "定制【海商报业】"
  5719. ],
  5720. "summary": "查询三级市场(商城)商品信息详情",
  5721. "parameters": [
  5722. {
  5723. "type": "integer",
  5724. "description": "委托单号",
  5725. "name": "orderID",
  5726. "in": "query",
  5727. "required": true
  5728. },
  5729. {
  5730. "type": "integer",
  5731. "description": "资金账户,主要用于判断商品最大开仓手数;如未登录可不传。",
  5732. "name": "accountID",
  5733. "in": "query"
  5734. }
  5735. ],
  5736. "responses": {
  5737. "200": {
  5738. "description": "OK",
  5739. "schema": {
  5740. "$ref": "#/definitions/models.HsbyMarketGoodsDetail"
  5741. }
  5742. },
  5743. "500": {
  5744. "description": "Internal Server Error",
  5745. "schema": {
  5746. "$ref": "#/definitions/app.Response"
  5747. }
  5748. }
  5749. }
  5750. }
  5751. },
  5752. "/HSBY/QueryHsbyMarketGoodses": {
  5753. "get": {
  5754. "security": [
  5755. {
  5756. "ApiKeyAuth": []
  5757. }
  5758. ],
  5759. "produces": [
  5760. "application/json"
  5761. ],
  5762. "tags": [
  5763. "定制【海商报业】"
  5764. ],
  5765. "summary": "查询特卖商品列表(三级商城)",
  5766. "parameters": [
  5767. {
  5768. "type": "integer",
  5769. "description": "页码",
  5770. "name": "page",
  5771. "in": "query"
  5772. },
  5773. {
  5774. "type": "integer",
  5775. "description": "每页条数",
  5776. "name": "pagesize",
  5777. "in": "query"
  5778. },
  5779. {
  5780. "type": "string",
  5781. "description": "市场ID列表,格式:1,2,3",
  5782. "name": "marketIDs",
  5783. "in": "query",
  5784. "required": true
  5785. },
  5786. {
  5787. "type": "integer",
  5788. "description": "资金账户,用于判断商品是否有可用的优惠卷;同时只显示此账户所属机构下的商城委托单。",
  5789. "name": "accountID",
  5790. "in": "query",
  5791. "required": true
  5792. },
  5793. {
  5794. "type": "integer",
  5795. "description": "类别ID",
  5796. "name": "categoryID",
  5797. "in": "query"
  5798. },
  5799. {
  5800. "type": "string",
  5801. "description": "商品ID列表,格式:1,2,3。主要用于商品搜索。",
  5802. "name": "goodsIDs",
  5803. "in": "query"
  5804. },
  5805. {
  5806. "type": "integer",
  5807. "description": "优惠券类型ID,主要用于显示优惠卷对应的商品列表。",
  5808. "name": "couponTypeID",
  5809. "in": "query"
  5810. }
  5811. ],
  5812. "responses": {
  5813. "200": {
  5814. "description": "OK",
  5815. "schema": {
  5816. "$ref": "#/definitions/models.HsbyMarketGoods"
  5817. }
  5818. },
  5819. "500": {
  5820. "description": "Internal Server Error",
  5821. "schema": {
  5822. "$ref": "#/definitions/app.Response"
  5823. }
  5824. }
  5825. }
  5826. }
  5827. },
  5828. "/HSBY/QueryHsbyMarkets": {
  5829. "get": {
  5830. "security": [
  5831. {
  5832. "ApiKeyAuth": []
  5833. }
  5834. ],
  5835. "produces": [
  5836. "application/json"
  5837. ],
  5838. "tags": [
  5839. "定制【海商报业】"
  5840. ],
  5841. "summary": "查询海商报业相关市场信息",
  5842. "responses": {
  5843. "200": {
  5844. "description": "OK",
  5845. "schema": {
  5846. "$ref": "#/definitions/models.HsbyMarketInfo"
  5847. }
  5848. },
  5849. "500": {
  5850. "description": "Internal Server Error",
  5851. "schema": {
  5852. "$ref": "#/definitions/app.Response"
  5853. }
  5854. }
  5855. }
  5856. }
  5857. },
  5858. "/HSBY/QueryHsbyMyBuyOrderDetails": {
  5859. "get": {
  5860. "security": [
  5861. {
  5862. "ApiKeyAuth": []
  5863. }
  5864. ],
  5865. "description": "说明: myBuyStatus: 1,2 - 待成交;3 - 已提交;4 - 已撤消;5 - 委托失败",
  5866. "produces": [
  5867. "application/json"
  5868. ],
  5869. "tags": [
  5870. "定制【海商报业】"
  5871. ],
  5872. "summary": "查询“我的订单”信息",
  5873. "parameters": [
  5874. {
  5875. "type": "string",
  5876. "description": "资金账户列表,格式:1,2,3",
  5877. "name": "accountIDs",
  5878. "in": "query",
  5879. "required": true
  5880. }
  5881. ],
  5882. "responses": {
  5883. "200": {
  5884. "description": "OK",
  5885. "schema": {
  5886. "$ref": "#/definitions/models.HybsMyBuyOrderDetail"
  5887. }
  5888. },
  5889. "500": {
  5890. "description": "Internal Server Error",
  5891. "schema": {
  5892. "$ref": "#/definitions/app.Response"
  5893. }
  5894. }
  5895. }
  5896. }
  5897. },
  5898. "/HSBY/QueryHsbyMyGoods": {
  5899. "get": {
  5900. "security": [
  5901. {
  5902. "ApiKeyAuth": []
  5903. }
  5904. ],
  5905. "description": "说明: 挂牌点选(tradeMode = 16)价格取last; 商城(tradeMode = 70)价格取goodsprice",
  5906. "produces": [
  5907. "application/json"
  5908. ],
  5909. "tags": [
  5910. "定制【海商报业】"
  5911. ],
  5912. "summary": "查询“我的商品”信息",
  5913. "parameters": [
  5914. {
  5915. "type": "string",
  5916. "description": "资金账户列表,格式:1,2,3",
  5917. "name": "accountIDs",
  5918. "in": "query",
  5919. "required": true
  5920. }
  5921. ],
  5922. "responses": {
  5923. "200": {
  5924. "description": "OK",
  5925. "schema": {
  5926. "$ref": "#/definitions/models.HsbyMyGoods"
  5927. }
  5928. },
  5929. "500": {
  5930. "description": "Internal Server Error",
  5931. "schema": {
  5932. "$ref": "#/definitions/app.Response"
  5933. }
  5934. }
  5935. }
  5936. }
  5937. },
  5938. "/HSBY/QueryHsbyMyPackages": {
  5939. "get": {
  5940. "security": [
  5941. {
  5942. "ApiKeyAuth": []
  5943. }
  5944. ],
  5945. "produces": [
  5946. "application/json"
  5947. ],
  5948. "tags": [
  5949. "定制【海商报业】"
  5950. ],
  5951. "summary": "查询我的包裹信息",
  5952. "parameters": [
  5953. {
  5954. "type": "string",
  5955. "description": "资金账户列表,格式:1,2,3",
  5956. "name": "accountIDs",
  5957. "in": "query",
  5958. "required": true
  5959. },
  5960. {
  5961. "type": "integer",
  5962. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  5963. "name": "takeOrderStatus",
  5964. "in": "query"
  5965. }
  5966. ],
  5967. "responses": {
  5968. "200": {
  5969. "description": "OK",
  5970. "schema": {
  5971. "$ref": "#/definitions/models.HsbyMyPackage"
  5972. }
  5973. },
  5974. "500": {
  5975. "description": "Internal Server Error",
  5976. "schema": {
  5977. "$ref": "#/definitions/app.Response"
  5978. }
  5979. }
  5980. }
  5981. }
  5982. },
  5983. "/HSBY/QueryHsbyPreGoodsDetail": {
  5984. "get": {
  5985. "security": [
  5986. {
  5987. "ApiKeyAuth": []
  5988. }
  5989. ],
  5990. "produces": [
  5991. "application/json"
  5992. ],
  5993. "tags": [
  5994. "定制【海商报业】"
  5995. ],
  5996. "summary": "查询一级市场(预售)商品信息详情",
  5997. "parameters": [
  5998. {
  5999. "type": "integer",
  6000. "description": "商品ID",
  6001. "name": "goodsID",
  6002. "in": "query",
  6003. "required": true
  6004. },
  6005. {
  6006. "type": "integer",
  6007. "description": "资金账户,主要用于获取预售商品购买上限",
  6008. "name": "accountID",
  6009. "in": "query"
  6010. }
  6011. ],
  6012. "responses": {
  6013. "200": {
  6014. "description": "OK",
  6015. "schema": {
  6016. "$ref": "#/definitions/models.HsbyPreGoodsDetail"
  6017. }
  6018. },
  6019. "500": {
  6020. "description": "Internal Server Error",
  6021. "schema": {
  6022. "$ref": "#/definitions/app.Response"
  6023. }
  6024. }
  6025. }
  6026. }
  6027. },
  6028. "/HSBY/QueryHsbyPreGoodses": {
  6029. "get": {
  6030. "security": [
  6031. {
  6032. "ApiKeyAuth": []
  6033. }
  6034. ],
  6035. "description": "说明:结果已先显示已开始商品(按结束时间顺序排),再显示未开始商品(按开始时间顺序排)",
  6036. "produces": [
  6037. "application/json"
  6038. ],
  6039. "tags": [
  6040. "定制【海商报业】"
  6041. ],
  6042. "summary": "查询新品上市商品列表(一级市场预售)",
  6043. "parameters": [
  6044. {
  6045. "type": "integer",
  6046. "description": "页码",
  6047. "name": "page",
  6048. "in": "query"
  6049. },
  6050. {
  6051. "type": "integer",
  6052. "description": "每页条数",
  6053. "name": "pagesize",
  6054. "in": "query"
  6055. },
  6056. {
  6057. "type": "string",
  6058. "description": "市场ID列表,格式:1,2,3",
  6059. "name": "marketIDs",
  6060. "in": "query",
  6061. "required": true
  6062. },
  6063. {
  6064. "type": "integer",
  6065. "description": "目的地(省)ID",
  6066. "name": "descProvinceID",
  6067. "in": "query"
  6068. },
  6069. {
  6070. "type": "integer",
  6071. "description": "目的地(市)ID",
  6072. "name": "descCityID",
  6073. "in": "query"
  6074. }
  6075. ],
  6076. "responses": {
  6077. "200": {
  6078. "description": "OK",
  6079. "schema": {
  6080. "$ref": "#/definitions/models.HsbyPreGoods"
  6081. }
  6082. },
  6083. "500": {
  6084. "description": "Internal Server Error",
  6085. "schema": {
  6086. "$ref": "#/definitions/app.Response"
  6087. }
  6088. }
  6089. }
  6090. }
  6091. },
  6092. "/HSBY/QueryHsbySellMyDetails": {
  6093. "get": {
  6094. "security": [
  6095. {
  6096. "ApiKeyAuth": []
  6097. }
  6098. ],
  6099. "description": "说明:发布中 - 二级市场卖挂,3:委托成功、7:部分成交; 已完成 - 二级市场成交单,包括历史数据。查询结果已按时间从近到远排序",
  6100. "produces": [
  6101. "application/json"
  6102. ],
  6103. "tags": [
  6104. "定制【海商报业】"
  6105. ],
  6106. "summary": "查询\"我的闲置\"单据信息",
  6107. "parameters": [
  6108. {
  6109. "type": "integer",
  6110. "description": "页码",
  6111. "name": "page",
  6112. "in": "query"
  6113. },
  6114. {
  6115. "type": "integer",
  6116. "description": "每页条数",
  6117. "name": "pagesize",
  6118. "in": "query"
  6119. },
  6120. {
  6121. "type": "string",
  6122. "description": "资金账户列表,格式:1,2,3",
  6123. "name": "accountIDs",
  6124. "in": "query",
  6125. "required": true
  6126. },
  6127. {
  6128. "type": "integer",
  6129. "description": "单据类型:0 - 发布中(默认), 1 - 已完成",
  6130. "name": "orderType",
  6131. "in": "query"
  6132. }
  6133. ],
  6134. "responses": {
  6135. "200": {
  6136. "description": "OK",
  6137. "schema": {
  6138. "$ref": "#/definitions/models.HsbySellMyDetail"
  6139. }
  6140. },
  6141. "500": {
  6142. "description": "Internal Server Error",
  6143. "schema": {
  6144. "$ref": "#/definitions/app.Response"
  6145. }
  6146. }
  6147. }
  6148. }
  6149. },
  6150. "/HSBY/QueryHsbyTopGoodses": {
  6151. "get": {
  6152. "security": [
  6153. {
  6154. "ApiKeyAuth": []
  6155. }
  6156. ],
  6157. "description": "说明:查询结果已按Hotindex(景点热度)从大到小排序",
  6158. "produces": [
  6159. "application/json"
  6160. ],
  6161. "tags": [
  6162. "定制【海商报业】"
  6163. ],
  6164. "summary": "查询热卖商品列表(二级市场挂牌点选)",
  6165. "parameters": [
  6166. {
  6167. "type": "integer",
  6168. "description": "页码",
  6169. "name": "page",
  6170. "in": "query"
  6171. },
  6172. {
  6173. "type": "integer",
  6174. "description": "每页条数",
  6175. "name": "pagesize",
  6176. "in": "query"
  6177. },
  6178. {
  6179. "type": "string",
  6180. "description": "市场ID列表,格式:1,2,3",
  6181. "name": "marketIDs",
  6182. "in": "query",
  6183. "required": true
  6184. },
  6185. {
  6186. "type": "integer",
  6187. "description": "目的地(省)ID",
  6188. "name": "descProvinceID",
  6189. "in": "query"
  6190. },
  6191. {
  6192. "type": "integer",
  6193. "description": "目的地(市)ID",
  6194. "name": "descCityID",
  6195. "in": "query"
  6196. }
  6197. ],
  6198. "responses": {
  6199. "200": {
  6200. "description": "OK",
  6201. "schema": {
  6202. "$ref": "#/definitions/models.HsbyTopGoods"
  6203. }
  6204. },
  6205. "500": {
  6206. "description": "Internal Server Error",
  6207. "schema": {
  6208. "$ref": "#/definitions/app.Response"
  6209. }
  6210. }
  6211. }
  6212. }
  6213. },
  6214. "/HSBY/QueryHsbyVisitorMarketGoodsDetail": {
  6215. "get": {
  6216. "security": [
  6217. {
  6218. "ApiKeyAuth": []
  6219. }
  6220. ],
  6221. "description": "说明:使用于未登录状态查询商城商品详情,登录后请使用QueryHsbyMarketGoodsDetail接口进行查询。",
  6222. "produces": [
  6223. "application/json"
  6224. ],
  6225. "tags": [
  6226. "定制【海商报业】"
  6227. ],
  6228. "summary": "查询游客三级市场(商城)商品信息详情",
  6229. "parameters": [
  6230. {
  6231. "type": "integer",
  6232. "description": "商品ID",
  6233. "name": "goodsID",
  6234. "in": "query",
  6235. "required": true
  6236. }
  6237. ],
  6238. "responses": {
  6239. "200": {
  6240. "description": "OK",
  6241. "schema": {
  6242. "$ref": "#/definitions/models.HsbyMarketGoodsDetail"
  6243. }
  6244. },
  6245. "500": {
  6246. "description": "Internal Server Error",
  6247. "schema": {
  6248. "$ref": "#/definitions/app.Response"
  6249. }
  6250. }
  6251. }
  6252. }
  6253. },
  6254. "/HSBY/QueryHsbyVisitorMarketGoodses": {
  6255. "get": {
  6256. "security": [
  6257. {
  6258. "ApiKeyAuth": []
  6259. }
  6260. ],
  6261. "description": "说明:使用于未登录状态查询商城商品列表,登录后请使用QueryHsbyMarketGoodses接口进行查询。",
  6262. "produces": [
  6263. "application/json"
  6264. ],
  6265. "tags": [
  6266. "定制【海商报业】"
  6267. ],
  6268. "summary": "查询游客特卖商品列表(三级商城)",
  6269. "parameters": [
  6270. {
  6271. "type": "integer",
  6272. "description": "页码",
  6273. "name": "page",
  6274. "in": "query"
  6275. },
  6276. {
  6277. "type": "integer",
  6278. "description": "每页条数",
  6279. "name": "pagesize",
  6280. "in": "query"
  6281. },
  6282. {
  6283. "type": "string",
  6284. "description": "市场ID列表,格式:1,2,3",
  6285. "name": "marketIDs",
  6286. "in": "query",
  6287. "required": true
  6288. },
  6289. {
  6290. "type": "integer",
  6291. "description": "类别ID",
  6292. "name": "categoryID",
  6293. "in": "query"
  6294. },
  6295. {
  6296. "type": "string",
  6297. "description": "商品ID列表,格式:1,2,3。主要用于商品搜索。",
  6298. "name": "goodsIDs",
  6299. "in": "query"
  6300. }
  6301. ],
  6302. "responses": {
  6303. "200": {
  6304. "description": "OK",
  6305. "schema": {
  6306. "$ref": "#/definitions/models.HsbyMarketGoods"
  6307. }
  6308. },
  6309. "500": {
  6310. "description": "Internal Server Error",
  6311. "schema": {
  6312. "$ref": "#/definitions/app.Response"
  6313. }
  6314. }
  6315. }
  6316. }
  6317. },
  6318. "/HSBY/QueryMyCollectionOrders": {
  6319. "get": {
  6320. "security": [
  6321. {
  6322. "ApiKeyAuth": []
  6323. }
  6324. ],
  6325. "produces": [
  6326. "application/json"
  6327. ],
  6328. "tags": [
  6329. "定制【海商报业】"
  6330. ],
  6331. "summary": "我的闲置中收款信息查询",
  6332. "parameters": [
  6333. {
  6334. "type": "integer",
  6335. "description": "页码",
  6336. "name": "page",
  6337. "in": "query"
  6338. },
  6339. {
  6340. "type": "integer",
  6341. "description": "每页条数",
  6342. "name": "pagesize",
  6343. "in": "query"
  6344. },
  6345. {
  6346. "type": "string",
  6347. "description": "资金账户,格式:1,2,3",
  6348. "name": "accountIDs",
  6349. "in": "query",
  6350. "required": true
  6351. }
  6352. ],
  6353. "responses": {
  6354. "200": {
  6355. "description": "OK",
  6356. "schema": {
  6357. "$ref": "#/definitions/models.HsbySellCollectionOrder"
  6358. }
  6359. },
  6360. "500": {
  6361. "description": "Internal Server Error",
  6362. "schema": {
  6363. "$ref": "#/definitions/app.Response"
  6364. }
  6365. }
  6366. }
  6367. }
  6368. },
  6369. "/HSBY/QueryMyCouponHolds": {
  6370. "get": {
  6371. "security": [
  6372. {
  6373. "ApiKeyAuth": []
  6374. }
  6375. ],
  6376. "description": "说明:当holdStatus传入4(已过期)后,会从历史表中查询已过期的优惠卷数据。",
  6377. "produces": [
  6378. "application/json"
  6379. ],
  6380. "tags": [
  6381. "定制【海商报业】"
  6382. ],
  6383. "summary": "我的优惠卷持仓查询",
  6384. "parameters": [
  6385. {
  6386. "type": "string",
  6387. "description": "资金账户列表,格式:1,2,3",
  6388. "name": "accountIDs",
  6389. "in": "query",
  6390. "required": true
  6391. },
  6392. {
  6393. "type": "string",
  6394. "description": "持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期,格式:1,2,3",
  6395. "name": "holdStatus",
  6396. "in": "query"
  6397. }
  6398. ],
  6399. "responses": {
  6400. "200": {
  6401. "description": "OK",
  6402. "schema": {
  6403. "$ref": "#/definitions/models.MyCouponHold"
  6404. }
  6405. },
  6406. "500": {
  6407. "description": "Internal Server Error",
  6408. "schema": {
  6409. "$ref": "#/definitions/app.Response"
  6410. }
  6411. }
  6412. }
  6413. }
  6414. },
  6415. "/HSBY/QueryMyCoupons": {
  6416. "get": {
  6417. "security": [
  6418. {
  6419. "ApiKeyAuth": []
  6420. }
  6421. ],
  6422. "produces": [
  6423. "application/json"
  6424. ],
  6425. "tags": [
  6426. "定制【海商报业】"
  6427. ],
  6428. "summary": "我的优惠卷查询",
  6429. "parameters": [
  6430. {
  6431. "type": "string",
  6432. "description": "资金账户列表,格式:1,2,3",
  6433. "name": "accountIDs",
  6434. "in": "query",
  6435. "required": true
  6436. },
  6437. {
  6438. "type": "integer",
  6439. "description": "商品ID, 一般与sellUserID配套传入",
  6440. "name": "goodsID",
  6441. "in": "query"
  6442. },
  6443. {
  6444. "type": "integer",
  6445. "description": "卖方UserID",
  6446. "name": "sellUserID",
  6447. "in": "query"
  6448. }
  6449. ],
  6450. "responses": {
  6451. "200": {
  6452. "description": "OK",
  6453. "schema": {
  6454. "$ref": "#/definitions/models.MyCoupon"
  6455. }
  6456. },
  6457. "500": {
  6458. "description": "Internal Server Error",
  6459. "schema": {
  6460. "$ref": "#/definitions/app.Response"
  6461. }
  6462. }
  6463. }
  6464. }
  6465. },
  6466. "/HSBY/QueryMyPayOrders": {
  6467. "get": {
  6468. "security": [
  6469. {
  6470. "ApiKeyAuth": []
  6471. }
  6472. ],
  6473. "produces": [
  6474. "application/json"
  6475. ],
  6476. "tags": [
  6477. "定制【海商报业】"
  6478. ],
  6479. "summary": "获取我的订单中待付款信息",
  6480. "parameters": [
  6481. {
  6482. "type": "integer",
  6483. "description": "页码",
  6484. "name": "page",
  6485. "in": "query"
  6486. },
  6487. {
  6488. "type": "integer",
  6489. "description": "每页条数",
  6490. "name": "pagesize",
  6491. "in": "query"
  6492. },
  6493. {
  6494. "type": "string",
  6495. "description": "资金账户列表,格式:1,2,3",
  6496. "name": "accountIDs",
  6497. "in": "query",
  6498. "required": true
  6499. },
  6500. {
  6501. "type": "integer",
  6502. "description": "买方委托单号",
  6503. "name": "buyOrderID",
  6504. "in": "query"
  6505. },
  6506. {
  6507. "type": "integer",
  6508. "description": "卖方委托单号",
  6509. "name": "sellOrderID",
  6510. "in": "query"
  6511. }
  6512. ],
  6513. "responses": {
  6514. "200": {
  6515. "description": "OK",
  6516. "schema": {
  6517. "$ref": "#/definitions/models.HsbyBuyMyPayOrder"
  6518. }
  6519. },
  6520. "500": {
  6521. "description": "Internal Server Error",
  6522. "schema": {
  6523. "$ref": "#/definitions/app.Response"
  6524. }
  6525. }
  6526. }
  6527. }
  6528. },
  6529. "/HSBY/QueryMyUsedCoupon": {
  6530. "get": {
  6531. "security": [
  6532. {
  6533. "ApiKeyAuth": []
  6534. }
  6535. ],
  6536. "produces": [
  6537. "application/json"
  6538. ],
  6539. "tags": [
  6540. "定制【海商报业】"
  6541. ],
  6542. "summary": "已使用优惠卷查询",
  6543. "parameters": [
  6544. {
  6545. "type": "string",
  6546. "description": "资金账户列表,格式:1,2,3",
  6547. "name": "accountIDs",
  6548. "in": "query",
  6549. "required": true
  6550. }
  6551. ],
  6552. "responses": {
  6553. "200": {
  6554. "description": "OK",
  6555. "schema": {
  6556. "$ref": "#/definitions/models.MyUsedCoupon"
  6557. }
  6558. },
  6559. "500": {
  6560. "description": "Internal Server Error",
  6561. "schema": {
  6562. "$ref": "#/definitions/app.Response"
  6563. }
  6564. }
  6565. }
  6566. }
  6567. },
  6568. "/HSBY/QueryProvincesAndCities": {
  6569. "get": {
  6570. "security": [
  6571. {
  6572. "ApiKeyAuth": []
  6573. }
  6574. ],
  6575. "description": "查询结果只包括二级市场商品已关连的省市信息。",
  6576. "produces": [
  6577. "application/json"
  6578. ],
  6579. "tags": [
  6580. "定制【海商报业】"
  6581. ],
  6582. "summary": "查询省市信息(不包括区)",
  6583. "parameters": [
  6584. {
  6585. "type": "integer",
  6586. "description": "省ID",
  6587. "name": "provinceID",
  6588. "in": "query"
  6589. }
  6590. ],
  6591. "responses": {
  6592. "200": {
  6593. "description": "OK",
  6594. "schema": {
  6595. "$ref": "#/definitions/hsby.QueryProvincesAndCitiesRsp"
  6596. }
  6597. },
  6598. "500": {
  6599. "description": "Internal Server Error",
  6600. "schema": {
  6601. "$ref": "#/definitions/app.Response"
  6602. }
  6603. }
  6604. }
  6605. }
  6606. },
  6607. "/HSBY/SetHsbyMyPackagesStatus": {
  6608. "post": {
  6609. "security": [
  6610. {
  6611. "ApiKeyAuth": []
  6612. }
  6613. ],
  6614. "produces": [
  6615. "application/json"
  6616. ],
  6617. "tags": [
  6618. "定制【海商报业】"
  6619. ],
  6620. "summary": "设置我的包裹已收货状态",
  6621. "parameters": [
  6622. {
  6623. "type": "string",
  6624. "description": "提货单号",
  6625. "name": "takeOrderID",
  6626. "in": "query",
  6627. "required": true
  6628. },
  6629. {
  6630. "type": "integer",
  6631. "description": "资金账号",
  6632. "name": "accountID",
  6633. "in": "query",
  6634. "required": true
  6635. }
  6636. ],
  6637. "responses": {
  6638. "200": {
  6639. "description": "OK",
  6640. "schema": {
  6641. "$ref": "#/definitions/app.Response"
  6642. }
  6643. },
  6644. "500": {
  6645. "description": "Internal Server Error",
  6646. "schema": {
  6647. "$ref": "#/definitions/app.Response"
  6648. }
  6649. }
  6650. }
  6651. }
  6652. },
  6653. "/Market/GetAllExExchanges": {
  6654. "get": {
  6655. "security": [
  6656. {
  6657. "ApiKeyAuth": []
  6658. }
  6659. ],
  6660. "produces": [
  6661. "application/json"
  6662. ],
  6663. "tags": [
  6664. "通用市场"
  6665. ],
  6666. "summary": "获取所有外部交易所信息",
  6667. "responses": {
  6668. "200": {
  6669. "description": "OK",
  6670. "schema": {
  6671. "$ref": "#/definitions/models.Goods"
  6672. }
  6673. },
  6674. "500": {
  6675. "description": "Internal Server Error",
  6676. "schema": {
  6677. "$ref": "#/definitions/app.Response"
  6678. }
  6679. }
  6680. }
  6681. }
  6682. },
  6683. "/Market/QueryGoodsesByLoginID": {
  6684. "get": {
  6685. "security": [
  6686. {
  6687. "ApiKeyAuth": []
  6688. }
  6689. ],
  6690. "produces": [
  6691. "application/json"
  6692. ],
  6693. "tags": [
  6694. "通用市场"
  6695. ],
  6696. "summary": "获取登录账号有权限的商品信息",
  6697. "parameters": [
  6698. {
  6699. "type": "integer",
  6700. "description": "登录账号",
  6701. "name": "loginID",
  6702. "in": "query",
  6703. "required": true
  6704. },
  6705. {
  6706. "type": "string",
  6707. "description": "市场ID列表,格式:1,2,3",
  6708. "name": "marketIDs",
  6709. "in": "query"
  6710. }
  6711. ],
  6712. "responses": {
  6713. "200": {
  6714. "description": "OK",
  6715. "schema": {
  6716. "$ref": "#/definitions/models.Goods"
  6717. }
  6718. },
  6719. "500": {
  6720. "description": "Internal Server Error",
  6721. "schema": {
  6722. "$ref": "#/definitions/app.Response"
  6723. }
  6724. }
  6725. }
  6726. }
  6727. },
  6728. "/Market/QueryMarketRun": {
  6729. "get": {
  6730. "security": [
  6731. {
  6732. "ApiKeyAuth": []
  6733. }
  6734. ],
  6735. "produces": [
  6736. "application/json"
  6737. ],
  6738. "tags": [
  6739. "通用市场"
  6740. ],
  6741. "summary": "查询市场运行信息",
  6742. "parameters": [
  6743. {
  6744. "type": "integer",
  6745. "description": "市场ID,不传返回所有",
  6746. "name": "marketID",
  6747. "in": "query"
  6748. }
  6749. ],
  6750. "responses": {
  6751. "200": {
  6752. "description": "OK",
  6753. "schema": {
  6754. "$ref": "#/definitions/models.Marketrun"
  6755. }
  6756. },
  6757. "500": {
  6758. "description": "Internal Server Error",
  6759. "schema": {
  6760. "$ref": "#/definitions/app.Response"
  6761. }
  6762. }
  6763. }
  6764. }
  6765. },
  6766. "/Market/QueryMarketsByLoginID": {
  6767. "get": {
  6768. "security": [
  6769. {
  6770. "ApiKeyAuth": []
  6771. }
  6772. ],
  6773. "produces": [
  6774. "application/json"
  6775. ],
  6776. "tags": [
  6777. "通用市场"
  6778. ],
  6779. "summary": "获取登录账号有权限的市场信息",
  6780. "parameters": [
  6781. {
  6782. "type": "integer",
  6783. "description": "登录账号",
  6784. "name": "loginID",
  6785. "in": "query",
  6786. "required": true
  6787. }
  6788. ],
  6789. "responses": {
  6790. "200": {
  6791. "description": "OK",
  6792. "schema": {
  6793. "$ref": "#/definitions/models.Market"
  6794. }
  6795. },
  6796. "500": {
  6797. "description": "Internal Server Error",
  6798. "schema": {
  6799. "$ref": "#/definitions/app.Response"
  6800. }
  6801. }
  6802. }
  6803. }
  6804. },
  6805. "/Order/QueryHisTradeDetail": {
  6806. "get": {
  6807. "security": [
  6808. {
  6809. "ApiKeyAuth": []
  6810. }
  6811. ],
  6812. "produces": [
  6813. "application/json"
  6814. ],
  6815. "tags": [
  6816. "通用单据"
  6817. ],
  6818. "summary": "历史成交单查询(合约市场)",
  6819. "parameters": [
  6820. {
  6821. "type": "string",
  6822. "description": "资金账户 - 格式:1,2,3",
  6823. "name": "accountID",
  6824. "in": "query",
  6825. "required": true
  6826. },
  6827. {
  6828. "type": "integer",
  6829. "description": "成交单号",
  6830. "name": "tradeID",
  6831. "in": "query"
  6832. },
  6833. {
  6834. "type": "integer",
  6835. "description": "委托单号",
  6836. "name": "orderID",
  6837. "in": "query"
  6838. },
  6839. {
  6840. "type": "integer",
  6841. "description": "商品ID",
  6842. "name": "goodsID",
  6843. "in": "query"
  6844. },
  6845. {
  6846. "type": "string",
  6847. "description": "交易模式 - 格式:1,2,3",
  6848. "name": "tradeMode",
  6849. "in": "query"
  6850. },
  6851. {
  6852. "type": "integer",
  6853. "description": "委托单据类型",
  6854. "name": "buildType",
  6855. "in": "query"
  6856. },
  6857. {
  6858. "type": "string",
  6859. "description": "成交类别 - 格式:1,2,3",
  6860. "name": "tradeType",
  6861. "in": "query"
  6862. },
  6863. {
  6864. "type": "string",
  6865. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  6866. "name": "startDate",
  6867. "in": "query"
  6868. },
  6869. {
  6870. "type": "string",
  6871. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  6872. "name": "endDate",
  6873. "in": "query"
  6874. }
  6875. ],
  6876. "responses": {
  6877. "200": {
  6878. "description": "OK",
  6879. "schema": {
  6880. "$ref": "#/definitions/order.QueryHisTradeDetailRsp"
  6881. }
  6882. },
  6883. "500": {
  6884. "description": "Internal Server Error",
  6885. "schema": {
  6886. "$ref": "#/definitions/app.Response"
  6887. }
  6888. }
  6889. }
  6890. }
  6891. },
  6892. "/Order/QueryHisTradeOrderDetail": {
  6893. "get": {
  6894. "security": [
  6895. {
  6896. "ApiKeyAuth": []
  6897. }
  6898. ],
  6899. "produces": [
  6900. "application/json"
  6901. ],
  6902. "tags": [
  6903. "通用单据"
  6904. ],
  6905. "summary": "历史委托单查询请求(合约市场)",
  6906. "parameters": [
  6907. {
  6908. "type": "string",
  6909. "description": "资金账户 - 格式:1,2,3",
  6910. "name": "accountID",
  6911. "in": "query",
  6912. "required": true
  6913. },
  6914. {
  6915. "type": "string",
  6916. "description": "交易模式 - 格式:1,2,3",
  6917. "name": "tradeMode",
  6918. "in": "query"
  6919. },
  6920. {
  6921. "type": "string",
  6922. "description": "委托状态 - 格式:1,2,3",
  6923. "name": "orderStatus",
  6924. "in": "query"
  6925. },
  6926. {
  6927. "type": "integer",
  6928. "description": "委托单号",
  6929. "name": "orderID",
  6930. "in": "query"
  6931. },
  6932. {
  6933. "type": "string",
  6934. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  6935. "name": "startDate",
  6936. "in": "query"
  6937. },
  6938. {
  6939. "type": "string",
  6940. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  6941. "name": "endDate",
  6942. "in": "query"
  6943. }
  6944. ],
  6945. "responses": {
  6946. "200": {
  6947. "description": "OK",
  6948. "schema": {
  6949. "$ref": "#/definitions/order.QueryHisTradeOrderDetailRsp"
  6950. }
  6951. },
  6952. "500": {
  6953. "description": "Internal Server Error",
  6954. "schema": {
  6955. "$ref": "#/definitions/app.Response"
  6956. }
  6957. }
  6958. }
  6959. }
  6960. },
  6961. "/Order/QueryTradeDetail": {
  6962. "get": {
  6963. "security": [
  6964. {
  6965. "ApiKeyAuth": []
  6966. }
  6967. ],
  6968. "produces": [
  6969. "application/json"
  6970. ],
  6971. "tags": [
  6972. "通用单据"
  6973. ],
  6974. "summary": "成交单查询(合约市场)",
  6975. "parameters": [
  6976. {
  6977. "type": "string",
  6978. "description": "资金账户 - 格式:1,2,3",
  6979. "name": "accountID",
  6980. "in": "query",
  6981. "required": true
  6982. },
  6983. {
  6984. "type": "integer",
  6985. "description": "成交单号",
  6986. "name": "tradeID",
  6987. "in": "query"
  6988. },
  6989. {
  6990. "type": "integer",
  6991. "description": "委托单号",
  6992. "name": "orderID",
  6993. "in": "query"
  6994. },
  6995. {
  6996. "type": "string",
  6997. "description": "交易模式 - 格式:1,2,3",
  6998. "name": "tradeMode",
  6999. "in": "query"
  7000. },
  7001. {
  7002. "type": "integer",
  7003. "description": "委托单据类型",
  7004. "name": "buildType",
  7005. "in": "query"
  7006. },
  7007. {
  7008. "type": "string",
  7009. "description": "成交类别 - 格式:1,2,3",
  7010. "name": "tradeType",
  7011. "in": "query"
  7012. },
  7013. {
  7014. "type": "integer",
  7015. "description": "商品ID",
  7016. "name": "goodsID",
  7017. "in": "query"
  7018. }
  7019. ],
  7020. "responses": {
  7021. "200": {
  7022. "description": "OK",
  7023. "schema": {
  7024. "$ref": "#/definitions/order.QueryTradeDetailRsp"
  7025. }
  7026. },
  7027. "500": {
  7028. "description": "Internal Server Error",
  7029. "schema": {
  7030. "$ref": "#/definitions/app.Response"
  7031. }
  7032. }
  7033. }
  7034. }
  7035. },
  7036. "/Order/QueryTradeOrderDetail": {
  7037. "get": {
  7038. "security": [
  7039. {
  7040. "ApiKeyAuth": []
  7041. }
  7042. ],
  7043. "produces": [
  7044. "application/json"
  7045. ],
  7046. "tags": [
  7047. "通用单据"
  7048. ],
  7049. "summary": "委托单查询请求(合约市场)",
  7050. "parameters": [
  7051. {
  7052. "type": "string",
  7053. "description": "资金账户 - 格式:1,2,3",
  7054. "name": "accountID",
  7055. "in": "query",
  7056. "required": true
  7057. },
  7058. {
  7059. "type": "string",
  7060. "description": "交易模式 - 格式:1,2,3",
  7061. "name": "tradeMode",
  7062. "in": "query"
  7063. },
  7064. {
  7065. "type": "string",
  7066. "description": "委托状态 - 格式:1,2,3",
  7067. "name": "orderStatus",
  7068. "in": "query"
  7069. },
  7070. {
  7071. "type": "integer",
  7072. "description": "委托单号",
  7073. "name": "orderID",
  7074. "in": "query"
  7075. }
  7076. ],
  7077. "responses": {
  7078. "200": {
  7079. "description": "OK",
  7080. "schema": {
  7081. "$ref": "#/definitions/order.QueryTradeOrderDetailRsp"
  7082. }
  7083. },
  7084. "500": {
  7085. "description": "Internal Server Error",
  7086. "schema": {
  7087. "$ref": "#/definitions/app.Response"
  7088. }
  7089. }
  7090. }
  7091. }
  7092. },
  7093. "/Order/QueryTradePosition": {
  7094. "get": {
  7095. "security": [
  7096. {
  7097. "ApiKeyAuth": []
  7098. }
  7099. ],
  7100. "produces": [
  7101. "application/json"
  7102. ],
  7103. "tags": [
  7104. "通用单据"
  7105. ],
  7106. "summary": "持仓汇总查询(合约市场)",
  7107. "parameters": [
  7108. {
  7109. "type": "string",
  7110. "description": "资金账户 - 格式:1,2,3",
  7111. "name": "accountID",
  7112. "in": "query",
  7113. "required": true
  7114. },
  7115. {
  7116. "type": "string",
  7117. "description": "交易模式 - 格式:1,2,3",
  7118. "name": "tradeMode",
  7119. "in": "query"
  7120. }
  7121. ],
  7122. "responses": {
  7123. "200": {
  7124. "description": "OK",
  7125. "schema": {
  7126. "$ref": "#/definitions/order.QueryTradePositionRsp"
  7127. }
  7128. },
  7129. "500": {
  7130. "description": "Internal Server Error",
  7131. "schema": {
  7132. "$ref": "#/definitions/app.Response"
  7133. }
  7134. }
  7135. }
  7136. }
  7137. },
  7138. "/Qhj/QueryAccountInOutApply": {
  7139. "get": {
  7140. "security": [
  7141. {
  7142. "ApiKeyAuth": []
  7143. }
  7144. ],
  7145. "produces": [
  7146. "application/json"
  7147. ],
  7148. "tags": [
  7149. "大连千海金"
  7150. ],
  7151. "summary": "查询充值提现",
  7152. "parameters": [
  7153. {
  7154. "type": "integer",
  7155. "description": "用户ID",
  7156. "name": "userid",
  7157. "in": "query",
  7158. "required": true
  7159. },
  7160. {
  7161. "type": "string",
  7162. "description": "申请起始日期(格式yyyymmdd)",
  7163. "name": "begindate",
  7164. "in": "query"
  7165. },
  7166. {
  7167. "type": "string",
  7168. "description": "申请截止日期(格式yyyymmdd)",
  7169. "name": "enddate",
  7170. "in": "query"
  7171. },
  7172. {
  7173. "type": "string",
  7174. "description": "模糊搜索名称",
  7175. "name": "likename",
  7176. "in": "query"
  7177. }
  7178. ],
  7179. "responses": {
  7180. "200": {
  7181. "description": "OK",
  7182. "schema": {
  7183. "type": "array",
  7184. "items": {
  7185. "$ref": "#/definitions/models.QhjAccountOutInApply"
  7186. }
  7187. }
  7188. },
  7189. "500": {
  7190. "description": "Internal Server Error",
  7191. "schema": {
  7192. "$ref": "#/definitions/app.Response"
  7193. }
  7194. }
  7195. }
  7196. }
  7197. },
  7198. "/Qhj/QueryAreaFinanceConfig": {
  7199. "get": {
  7200. "security": [
  7201. {
  7202. "ApiKeyAuth": []
  7203. }
  7204. ],
  7205. "produces": [
  7206. "application/json"
  7207. ],
  7208. "tags": [
  7209. "大连千海金"
  7210. ],
  7211. "summary": "查询企业配置表",
  7212. "parameters": [
  7213. {
  7214. "type": "integer",
  7215. "description": "机构用户ID 其他做市关系,都设置为 1",
  7216. "name": "userid",
  7217. "in": "query"
  7218. }
  7219. ],
  7220. "responses": {
  7221. "200": {
  7222. "description": "OK",
  7223. "schema": {
  7224. "type": "array",
  7225. "items": {
  7226. "$ref": "#/definitions/models.QhjAreaFinanceConfig"
  7227. }
  7228. }
  7229. },
  7230. "500": {
  7231. "description": "Internal Server Error",
  7232. "schema": {
  7233. "$ref": "#/definitions/app.Response"
  7234. }
  7235. }
  7236. }
  7237. }
  7238. },
  7239. "/Qhj/QueryBankAccountSign": {
  7240. "get": {
  7241. "security": [
  7242. {
  7243. "ApiKeyAuth": []
  7244. }
  7245. ],
  7246. "produces": [
  7247. "application/json"
  7248. ],
  7249. "tags": [
  7250. "大连千海金"
  7251. ],
  7252. "summary": "查询签约银行信息(提现账户管理)",
  7253. "parameters": [
  7254. {
  7255. "type": "integer",
  7256. "description": "用户ID",
  7257. "name": "userid",
  7258. "in": "query",
  7259. "required": true
  7260. }
  7261. ],
  7262. "responses": {
  7263. "200": {
  7264. "description": "OK",
  7265. "schema": {
  7266. "type": "array",
  7267. "items": {
  7268. "$ref": "#/definitions/models.QhjBankAccountSign"
  7269. }
  7270. }
  7271. },
  7272. "500": {
  7273. "description": "Internal Server Error",
  7274. "schema": {
  7275. "$ref": "#/definitions/app.Response"
  7276. }
  7277. }
  7278. }
  7279. }
  7280. },
  7281. "/Qhj/QueryBankInfo": {
  7282. "get": {
  7283. "security": [
  7284. {
  7285. "ApiKeyAuth": []
  7286. }
  7287. ],
  7288. "produces": [
  7289. "application/json"
  7290. ],
  7291. "tags": [
  7292. "大连千海金"
  7293. ],
  7294. "summary": "查询开户行",
  7295. "responses": {
  7296. "200": {
  7297. "description": "OK",
  7298. "schema": {
  7299. "type": "array",
  7300. "items": {
  7301. "$ref": "#/definitions/models.QhjBankInfo"
  7302. }
  7303. }
  7304. },
  7305. "500": {
  7306. "description": "Internal Server Error",
  7307. "schema": {
  7308. "$ref": "#/definitions/app.Response"
  7309. }
  7310. }
  7311. }
  7312. }
  7313. },
  7314. "/Qhj/QueryBrokerApply": {
  7315. "get": {
  7316. "security": [
  7317. {
  7318. "ApiKeyAuth": []
  7319. }
  7320. ],
  7321. "produces": [
  7322. "application/json"
  7323. ],
  7324. "tags": [
  7325. "大连千海金"
  7326. ],
  7327. "summary": "查询经纪人申请",
  7328. "parameters": [
  7329. {
  7330. "type": "integer",
  7331. "description": "所属机构ID",
  7332. "name": "userid",
  7333. "in": "query"
  7334. },
  7335. {
  7336. "type": "string",
  7337. "description": "状态 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  7338. "name": "filterstatus",
  7339. "in": "query"
  7340. }
  7341. ],
  7342. "responses": {
  7343. "200": {
  7344. "description": "OK",
  7345. "schema": {
  7346. "type": "array",
  7347. "items": {
  7348. "$ref": "#/definitions/models.QhjBrokerApply"
  7349. }
  7350. }
  7351. },
  7352. "500": {
  7353. "description": "Internal Server Error",
  7354. "schema": {
  7355. "$ref": "#/definitions/app.Response"
  7356. }
  7357. }
  7358. }
  7359. }
  7360. },
  7361. "/Qhj/QueryBrokerApplyEx": {
  7362. "get": {
  7363. "security": [
  7364. {
  7365. "ApiKeyAuth": []
  7366. }
  7367. ],
  7368. "produces": [
  7369. "application/json"
  7370. ],
  7371. "tags": [
  7372. "大连千海金"
  7373. ],
  7374. "summary": "查询经纪人信息和申请记录",
  7375. "parameters": [
  7376. {
  7377. "type": "integer",
  7378. "description": "所属机构ID",
  7379. "name": "userid",
  7380. "in": "query"
  7381. }
  7382. ],
  7383. "responses": {
  7384. "200": {
  7385. "description": "OK",
  7386. "schema": {
  7387. "type": "array",
  7388. "items": {
  7389. "$ref": "#/definitions/models.QhjBrokerApplyEx"
  7390. }
  7391. }
  7392. },
  7393. "500": {
  7394. "description": "Internal Server Error",
  7395. "schema": {
  7396. "$ref": "#/definitions/app.Response"
  7397. }
  7398. }
  7399. }
  7400. }
  7401. },
  7402. "/Qhj/QueryBrokerRewardLog": {
  7403. "get": {
  7404. "security": [
  7405. {
  7406. "ApiKeyAuth": []
  7407. }
  7408. ],
  7409. "produces": [
  7410. "application/json"
  7411. ],
  7412. "tags": [
  7413. "大连千海金"
  7414. ],
  7415. "summary": "查询奖励流水(我的奖励)",
  7416. "parameters": [
  7417. {
  7418. "type": "integer",
  7419. "description": "用户ID",
  7420. "name": "userid",
  7421. "in": "query",
  7422. "required": true
  7423. },
  7424. {
  7425. "type": "string",
  7426. "description": "开始交易日(yyyymmdd)",
  7427. "name": "begindate",
  7428. "in": "query"
  7429. },
  7430. {
  7431. "type": "string",
  7432. "description": "结束交易日(yyyymmdd)",
  7433. "name": "enddate",
  7434. "in": "query"
  7435. }
  7436. ],
  7437. "responses": {
  7438. "200": {
  7439. "description": "OK",
  7440. "schema": {
  7441. "type": "array",
  7442. "items": {
  7443. "$ref": "#/definitions/models.QhjBrokerRewardLog"
  7444. }
  7445. }
  7446. },
  7447. "500": {
  7448. "description": "Internal Server Error",
  7449. "schema": {
  7450. "$ref": "#/definitions/app.Response"
  7451. }
  7452. }
  7453. }
  7454. }
  7455. },
  7456. "/Qhj/QueryContract": {
  7457. "get": {
  7458. "security": [
  7459. {
  7460. "ApiKeyAuth": []
  7461. }
  7462. ],
  7463. "produces": [
  7464. "application/json"
  7465. ],
  7466. "tags": [
  7467. "大连千海金"
  7468. ],
  7469. "summary": "查询融资明细(合同)",
  7470. "parameters": [
  7471. {
  7472. "type": "integer",
  7473. "description": "用户ID",
  7474. "name": "userid",
  7475. "in": "query"
  7476. },
  7477. {
  7478. "type": "integer",
  7479. "description": "scf合同id",
  7480. "name": "scfcontractid",
  7481. "in": "query"
  7482. }
  7483. ],
  7484. "responses": {
  7485. "200": {
  7486. "description": "OK",
  7487. "schema": {
  7488. "type": "array",
  7489. "items": {
  7490. "$ref": "#/definitions/models.QhjContract"
  7491. }
  7492. }
  7493. },
  7494. "500": {
  7495. "description": "Internal Server Error",
  7496. "schema": {
  7497. "$ref": "#/definitions/app.Response"
  7498. }
  7499. }
  7500. }
  7501. }
  7502. },
  7503. "/Qhj/QueryContractLog": {
  7504. "get": {
  7505. "security": [
  7506. {
  7507. "ApiKeyAuth": []
  7508. }
  7509. ],
  7510. "produces": [
  7511. "application/json"
  7512. ],
  7513. "tags": [
  7514. "大连千海金"
  7515. ],
  7516. "summary": "查询融资明细流水(融资明细详情页中的流水)",
  7517. "parameters": [
  7518. {
  7519. "type": "integer",
  7520. "description": "scf合同id",
  7521. "name": "scfcontractid",
  7522. "in": "query",
  7523. "required": true
  7524. },
  7525. {
  7526. "type": "string",
  7527. "description": "资金类型(逗号隔开) - 1:首付款 2:尾款 3:利息 4:追加款",
  7528. "name": "amounttype",
  7529. "in": "query"
  7530. }
  7531. ],
  7532. "responses": {
  7533. "200": {
  7534. "description": "OK",
  7535. "schema": {
  7536. "type": "array",
  7537. "items": {
  7538. "$ref": "#/definitions/models.QhjContractLog"
  7539. }
  7540. }
  7541. },
  7542. "500": {
  7543. "description": "Internal Server Error",
  7544. "schema": {
  7545. "$ref": "#/definitions/app.Response"
  7546. }
  7547. }
  7548. }
  7549. }
  7550. },
  7551. "/Qhj/QueryCusBankSignBank": {
  7552. "get": {
  7553. "security": [
  7554. {
  7555. "ApiKeyAuth": []
  7556. }
  7557. ],
  7558. "produces": [
  7559. "application/json"
  7560. ],
  7561. "tags": [
  7562. "大连千海金"
  7563. ],
  7564. "summary": "查询托管银行",
  7565. "responses": {
  7566. "200": {
  7567. "description": "OK",
  7568. "schema": {
  7569. "type": "array",
  7570. "items": {
  7571. "$ref": "#/definitions/models.QhjCusBankSignBankEx"
  7572. }
  7573. }
  7574. },
  7575. "500": {
  7576. "description": "Internal Server Error",
  7577. "schema": {
  7578. "$ref": "#/definitions/app.Response"
  7579. }
  7580. }
  7581. }
  7582. }
  7583. },
  7584. "/Qhj/QueryCustomerInfo": {
  7585. "get": {
  7586. "security": [
  7587. {
  7588. "ApiKeyAuth": []
  7589. }
  7590. ],
  7591. "produces": [
  7592. "application/json"
  7593. ],
  7594. "tags": [
  7595. "大连千海金"
  7596. ],
  7597. "summary": "查询客户资料",
  7598. "parameters": [
  7599. {
  7600. "type": "integer",
  7601. "description": "用户ID",
  7602. "name": "userid",
  7603. "in": "query",
  7604. "required": true
  7605. },
  7606. {
  7607. "type": "integer",
  7608. "description": "查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用",
  7609. "name": "querytype",
  7610. "in": "query",
  7611. "required": true
  7612. },
  7613. {
  7614. "type": "integer",
  7615. "description": "客户类型 1-个人 2-企业",
  7616. "name": "userinfotype",
  7617. "in": "query"
  7618. },
  7619. {
  7620. "type": "string",
  7621. "description": "客户名称(模糊匹配)",
  7622. "name": "customername",
  7623. "in": "query"
  7624. },
  7625. {
  7626. "type": "string",
  7627. "description": "昵称(模糊匹配)",
  7628. "name": "nickname",
  7629. "in": "query"
  7630. },
  7631. {
  7632. "type": "integer",
  7633. "description": "是否包含子级 1-包含",
  7634. "name": "includesub",
  7635. "in": "query"
  7636. }
  7637. ],
  7638. "responses": {
  7639. "200": {
  7640. "description": "OK",
  7641. "schema": {
  7642. "type": "array",
  7643. "items": {
  7644. "$ref": "#/definitions/models.QhjCustomer"
  7645. }
  7646. }
  7647. },
  7648. "500": {
  7649. "description": "Internal Server Error",
  7650. "schema": {
  7651. "$ref": "#/definitions/app.Response"
  7652. }
  7653. }
  7654. }
  7655. }
  7656. },
  7657. "/Qhj/QueryGoodsEx": {
  7658. "get": {
  7659. "security": [
  7660. {
  7661. "ApiKeyAuth": []
  7662. }
  7663. ],
  7664. "produces": [
  7665. "application/json"
  7666. ],
  7667. "tags": [
  7668. "大连千海金"
  7669. ],
  7670. "summary": "交易商品扩展表",
  7671. "parameters": [
  7672. {
  7673. "type": "integer",
  7674. "description": "商品id",
  7675. "name": "goodsid",
  7676. "in": "query"
  7677. }
  7678. ],
  7679. "responses": {
  7680. "200": {
  7681. "description": "OK",
  7682. "schema": {
  7683. "type": "array",
  7684. "items": {
  7685. "$ref": "#/definitions/models.Qhjgoodsex"
  7686. }
  7687. }
  7688. },
  7689. "500": {
  7690. "description": "Internal Server Error",
  7691. "schema": {
  7692. "$ref": "#/definitions/app.Response"
  7693. }
  7694. }
  7695. }
  7696. }
  7697. },
  7698. "/Qhj/QueryMyTeam": {
  7699. "get": {
  7700. "security": [
  7701. {
  7702. "ApiKeyAuth": []
  7703. }
  7704. ],
  7705. "produces": [
  7706. "application/json"
  7707. ],
  7708. "tags": [
  7709. "大连千海金"
  7710. ],
  7711. "summary": "查询我的团队",
  7712. "parameters": [
  7713. {
  7714. "type": "integer",
  7715. "description": "用户ID",
  7716. "name": "userid",
  7717. "in": "query",
  7718. "required": true
  7719. }
  7720. ],
  7721. "responses": {
  7722. "200": {
  7723. "description": "OK",
  7724. "schema": {
  7725. "type": "array",
  7726. "items": {
  7727. "$ref": "#/definitions/models.QhjMyTeamEx"
  7728. }
  7729. }
  7730. },
  7731. "500": {
  7732. "description": "Internal Server Error",
  7733. "schema": {
  7734. "$ref": "#/definitions/app.Response"
  7735. }
  7736. }
  7737. }
  7738. }
  7739. },
  7740. "/Qhj/QueryMyTeamOrder": {
  7741. "get": {
  7742. "security": [
  7743. {
  7744. "ApiKeyAuth": []
  7745. }
  7746. ],
  7747. "produces": [
  7748. "application/json"
  7749. ],
  7750. "tags": [
  7751. "大连千海金"
  7752. ],
  7753. "summary": "查询团队订单(我的团队/团队订单)",
  7754. "parameters": [
  7755. {
  7756. "type": "integer",
  7757. "description": "页码",
  7758. "name": "page",
  7759. "in": "query"
  7760. },
  7761. {
  7762. "type": "integer",
  7763. "description": "每页条数",
  7764. "name": "pagesize",
  7765. "in": "query"
  7766. },
  7767. {
  7768. "type": "integer",
  7769. "description": "用户ID",
  7770. "name": "userid",
  7771. "in": "query",
  7772. "required": true
  7773. },
  7774. {
  7775. "type": "integer",
  7776. "description": "交易模式",
  7777. "name": "trademode",
  7778. "in": "query"
  7779. },
  7780. {
  7781. "type": "string",
  7782. "description": "名称(模糊搜索账户)",
  7783. "name": "filtername",
  7784. "in": "query"
  7785. }
  7786. ],
  7787. "responses": {
  7788. "200": {
  7789. "description": "OK",
  7790. "schema": {
  7791. "type": "array",
  7792. "items": {
  7793. "$ref": "#/definitions/models.QhjTeamOrder"
  7794. }
  7795. }
  7796. },
  7797. "500": {
  7798. "description": "Internal Server Error",
  7799. "schema": {
  7800. "$ref": "#/definitions/app.Response"
  7801. }
  7802. }
  7803. }
  7804. }
  7805. },
  7806. "/Qhj/QueryParentAreaList": {
  7807. "get": {
  7808. "security": [
  7809. {
  7810. "ApiKeyAuth": []
  7811. }
  7812. ],
  7813. "produces": [
  7814. "application/json"
  7815. ],
  7816. "tags": [
  7817. "大连千海金"
  7818. ],
  7819. "summary": "查询所属机构列表",
  7820. "parameters": [
  7821. {
  7822. "type": "integer",
  7823. "description": "用户ID",
  7824. "name": "userid",
  7825. "in": "query",
  7826. "required": true
  7827. }
  7828. ],
  7829. "responses": {
  7830. "200": {
  7831. "description": "OK",
  7832. "schema": {
  7833. "type": "array",
  7834. "items": {
  7835. "$ref": "#/definitions/models.QhjParentAreaList"
  7836. }
  7837. }
  7838. },
  7839. "500": {
  7840. "description": "Internal Server Error",
  7841. "schema": {
  7842. "$ref": "#/definitions/app.Response"
  7843. }
  7844. }
  7845. }
  7846. }
  7847. },
  7848. "/Qhj/QueryPayOrder": {
  7849. "get": {
  7850. "security": [
  7851. {
  7852. "ApiKeyAuth": []
  7853. }
  7854. ],
  7855. "produces": [
  7856. "application/json"
  7857. ],
  7858. "tags": [
  7859. "大连千海金"
  7860. ],
  7861. "summary": "查询待付款单据",
  7862. "parameters": [
  7863. {
  7864. "type": "integer",
  7865. "description": "资金账号id",
  7866. "name": "accountid",
  7867. "in": "query",
  7868. "required": true
  7869. },
  7870. {
  7871. "type": "integer",
  7872. "description": "成交单号",
  7873. "name": "tradeid",
  7874. "in": "query"
  7875. },
  7876. {
  7877. "type": "string",
  7878. "description": "付款标识(可多个,逗号隔开) - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  7879. "name": "payflag",
  7880. "in": "query"
  7881. }
  7882. ],
  7883. "responses": {
  7884. "200": {
  7885. "description": "OK",
  7886. "schema": {
  7887. "type": "array",
  7888. "items": {
  7889. "$ref": "#/definitions/models.QhjPayOrder"
  7890. }
  7891. }
  7892. },
  7893. "500": {
  7894. "description": "Internal Server Error",
  7895. "schema": {
  7896. "$ref": "#/definitions/app.Response"
  7897. }
  7898. }
  7899. }
  7900. }
  7901. },
  7902. "/Qhj/QueryPickArea": {
  7903. "get": {
  7904. "security": [
  7905. {
  7906. "ApiKeyAuth": []
  7907. }
  7908. ],
  7909. "produces": [
  7910. "application/json"
  7911. ],
  7912. "tags": [
  7913. "大连千海金"
  7914. ],
  7915. "summary": "查询提货门店",
  7916. "parameters": [
  7917. {
  7918. "type": "integer",
  7919. "description": "用户ID",
  7920. "name": "userid",
  7921. "in": "query"
  7922. }
  7923. ],
  7924. "responses": {
  7925. "200": {
  7926. "description": "OK",
  7927. "schema": {
  7928. "type": "array",
  7929. "items": {
  7930. "$ref": "#/definitions/models.QhjPickArea"
  7931. }
  7932. }
  7933. },
  7934. "500": {
  7935. "description": "Internal Server Error",
  7936. "schema": {
  7937. "$ref": "#/definitions/app.Response"
  7938. }
  7939. }
  7940. }
  7941. }
  7942. },
  7943. "/Qhj/QueryPickGoods": {
  7944. "get": {
  7945. "security": [
  7946. {
  7947. "ApiKeyAuth": []
  7948. }
  7949. ],
  7950. "produces": [
  7951. "application/json"
  7952. ],
  7953. "tags": [
  7954. "大连千海金"
  7955. ],
  7956. "summary": "查询提货商品",
  7957. "parameters": [
  7958. {
  7959. "type": "integer",
  7960. "description": "交易商品id",
  7961. "name": "goodsid",
  7962. "in": "query",
  7963. "required": true
  7964. },
  7965. {
  7966. "type": "string",
  7967. "description": "状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销",
  7968. "name": "status",
  7969. "in": "query"
  7970. }
  7971. ],
  7972. "responses": {
  7973. "200": {
  7974. "description": "OK",
  7975. "schema": {
  7976. "type": "array",
  7977. "items": {
  7978. "$ref": "#/definitions/models.QhjPickGoods"
  7979. }
  7980. }
  7981. },
  7982. "500": {
  7983. "description": "Internal Server Error",
  7984. "schema": {
  7985. "$ref": "#/definitions/app.Response"
  7986. }
  7987. }
  7988. }
  7989. }
  7990. },
  7991. "/Qhj/QueryRSTriggerLog": {
  7992. "get": {
  7993. "security": [
  7994. {
  7995. "ApiKeyAuth": []
  7996. }
  7997. ],
  7998. "produces": [
  7999. "application/json"
  8000. ],
  8001. "tags": [
  8002. "大连千海金"
  8003. ],
  8004. "summary": "查询定投记录(定投管理/详情/定投记录)",
  8005. "parameters": [
  8006. {
  8007. "type": "integer",
  8008. "description": "用户ID",
  8009. "name": "userid",
  8010. "in": "query"
  8011. },
  8012. {
  8013. "type": "integer",
  8014. "description": "定投策略id",
  8015. "name": "regularlystrategyid",
  8016. "in": "query"
  8017. },
  8018. {
  8019. "type": "integer",
  8020. "description": "商品id",
  8021. "name": "goodsid",
  8022. "in": "query"
  8023. },
  8024. {
  8025. "type": "string",
  8026. "description": "开始交易日(yyyymmdd)",
  8027. "name": "begindate",
  8028. "in": "query"
  8029. },
  8030. {
  8031. "type": "string",
  8032. "description": "结束交易日(yyyymmdd)",
  8033. "name": "enddate",
  8034. "in": "query"
  8035. },
  8036. {
  8037. "type": "string",
  8038. "description": "名称(模糊搜索账户)",
  8039. "name": "filtername",
  8040. "in": "query"
  8041. }
  8042. ],
  8043. "responses": {
  8044. "200": {
  8045. "description": "OK",
  8046. "schema": {
  8047. "type": "array",
  8048. "items": {
  8049. "$ref": "#/definitions/models.QhjRSTriggerLog"
  8050. }
  8051. }
  8052. },
  8053. "500": {
  8054. "description": "Internal Server Error",
  8055. "schema": {
  8056. "$ref": "#/definitions/app.Response"
  8057. }
  8058. }
  8059. }
  8060. }
  8061. },
  8062. "/Qhj/QueryRStrategy": {
  8063. "get": {
  8064. "security": [
  8065. {
  8066. "ApiKeyAuth": []
  8067. }
  8068. ],
  8069. "produces": [
  8070. "application/json"
  8071. ],
  8072. "tags": [
  8073. "大连千海金"
  8074. ],
  8075. "summary": "查询定投设置(我的定投/历史定投[状态=已终止])",
  8076. "parameters": [
  8077. {
  8078. "type": "integer",
  8079. "description": "用户ID",
  8080. "name": "userid",
  8081. "in": "query"
  8082. },
  8083. {
  8084. "type": "integer",
  8085. "description": "商品id",
  8086. "name": "goodsid",
  8087. "in": "query"
  8088. },
  8089. {
  8090. "type": "string",
  8091. "description": "策略状态(可多选,逗号隔开) - 1:正常 2:暂停 3:终止",
  8092. "name": "status",
  8093. "in": "query"
  8094. },
  8095. {
  8096. "type": "string",
  8097. "description": "名称(模糊搜索账户)",
  8098. "name": "filtername",
  8099. "in": "query"
  8100. }
  8101. ],
  8102. "responses": {
  8103. "200": {
  8104. "description": "OK",
  8105. "schema": {
  8106. "type": "array",
  8107. "items": {
  8108. "$ref": "#/definitions/models.QhjRStrategy"
  8109. }
  8110. }
  8111. },
  8112. "500": {
  8113. "description": "Internal Server Error",
  8114. "schema": {
  8115. "$ref": "#/definitions/app.Response"
  8116. }
  8117. }
  8118. }
  8119. }
  8120. },
  8121. "/Qhj/QueryReckonPriceLog": {
  8122. "get": {
  8123. "security": [
  8124. {
  8125. "ApiKeyAuth": []
  8126. }
  8127. ],
  8128. "produces": [
  8129. "application/json"
  8130. ],
  8131. "tags": [
  8132. "大连千海金"
  8133. ],
  8134. "summary": "查询定投价(结算价)",
  8135. "parameters": [
  8136. {
  8137. "type": "integer",
  8138. "description": "商品ID",
  8139. "name": "goodsid",
  8140. "in": "query"
  8141. },
  8142. {
  8143. "type": "string",
  8144. "description": "交易日 格式(yyyymmdd)",
  8145. "name": "tradedate",
  8146. "in": "query"
  8147. }
  8148. ],
  8149. "responses": {
  8150. "200": {
  8151. "description": "OK",
  8152. "schema": {
  8153. "type": "array",
  8154. "items": {
  8155. "$ref": "#/definitions/models.QhjReckonPriceLog"
  8156. }
  8157. }
  8158. },
  8159. "500": {
  8160. "description": "Internal Server Error",
  8161. "schema": {
  8162. "$ref": "#/definitions/app.Response"
  8163. }
  8164. }
  8165. }
  8166. }
  8167. },
  8168. "/Qhj/QueryScoreLog": {
  8169. "get": {
  8170. "security": [
  8171. {
  8172. "ApiKeyAuth": []
  8173. }
  8174. ],
  8175. "produces": [
  8176. "application/json"
  8177. ],
  8178. "tags": [
  8179. "大连千海金"
  8180. ],
  8181. "summary": "查询积分流水(我的积分)",
  8182. "parameters": [
  8183. {
  8184. "type": "integer",
  8185. "description": "用户ID",
  8186. "name": "userid",
  8187. "in": "query",
  8188. "required": true
  8189. },
  8190. {
  8191. "type": "string",
  8192. "description": "开始交易日(yyyymmdd)",
  8193. "name": "begindate",
  8194. "in": "query"
  8195. },
  8196. {
  8197. "type": "string",
  8198. "description": "结束交易日(yyyymmdd)",
  8199. "name": "enddate",
  8200. "in": "query"
  8201. },
  8202. {
  8203. "type": "integer",
  8204. "description": "最近多少条",
  8205. "name": "lastnum",
  8206. "in": "query"
  8207. }
  8208. ],
  8209. "responses": {
  8210. "200": {
  8211. "description": "OK",
  8212. "schema": {
  8213. "type": "array",
  8214. "items": {
  8215. "$ref": "#/definitions/models.QhjScoreLog"
  8216. }
  8217. }
  8218. },
  8219. "500": {
  8220. "description": "Internal Server Error",
  8221. "schema": {
  8222. "$ref": "#/definitions/app.Response"
  8223. }
  8224. }
  8225. }
  8226. }
  8227. },
  8228. "/Qhj/QuerySiteColumnDetail": {
  8229. "get": {
  8230. "security": [
  8231. {
  8232. "ApiKeyAuth": []
  8233. }
  8234. ],
  8235. "produces": [
  8236. "application/json"
  8237. ],
  8238. "tags": [
  8239. "大连千海金"
  8240. ],
  8241. "summary": "查询资讯",
  8242. "parameters": [
  8243. {
  8244. "type": "integer",
  8245. "description": "用户ID",
  8246. "name": "userid",
  8247. "in": "query",
  8248. "required": true
  8249. }
  8250. ],
  8251. "responses": {
  8252. "200": {
  8253. "description": "OK",
  8254. "schema": {
  8255. "type": "array",
  8256. "items": {
  8257. "$ref": "#/definitions/models.QhjSiteColumnDetail"
  8258. }
  8259. }
  8260. },
  8261. "500": {
  8262. "description": "Internal Server Error",
  8263. "schema": {
  8264. "$ref": "#/definitions/app.Response"
  8265. }
  8266. }
  8267. }
  8268. }
  8269. },
  8270. "/Qhj/QueryTradeGoodsPickup": {
  8271. "get": {
  8272. "security": [
  8273. {
  8274. "ApiKeyAuth": []
  8275. }
  8276. ],
  8277. "produces": [
  8278. "application/json"
  8279. ],
  8280. "tags": [
  8281. "大连千海金"
  8282. ],
  8283. "summary": "查询提货",
  8284. "parameters": [
  8285. {
  8286. "type": "integer",
  8287. "description": "用户ID",
  8288. "name": "userid",
  8289. "in": "query",
  8290. "required": true
  8291. },
  8292. {
  8293. "type": "integer",
  8294. "description": "提货状态 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄) 7:已拒绝 8:已撤销",
  8295. "name": "takeorderstatus",
  8296. "in": "query"
  8297. }
  8298. ],
  8299. "responses": {
  8300. "200": {
  8301. "description": "OK",
  8302. "schema": {
  8303. "type": "array",
  8304. "items": {
  8305. "$ref": "#/definitions/models.QhjTradeGoodsPickup"
  8306. }
  8307. }
  8308. },
  8309. "500": {
  8310. "description": "Internal Server Error",
  8311. "schema": {
  8312. "$ref": "#/definitions/app.Response"
  8313. }
  8314. }
  8315. }
  8316. }
  8317. },
  8318. "/Qhj/QueryUserCollectConfig": {
  8319. "get": {
  8320. "security": [
  8321. {
  8322. "ApiKeyAuth": []
  8323. }
  8324. ],
  8325. "produces": [
  8326. "application/json"
  8327. ],
  8328. "tags": [
  8329. "大连千海金"
  8330. ],
  8331. "summary": "查询提现账户设置",
  8332. "parameters": [
  8333. {
  8334. "type": "integer",
  8335. "description": "用户ID",
  8336. "name": "userid",
  8337. "in": "query",
  8338. "required": true
  8339. }
  8340. ],
  8341. "responses": {
  8342. "200": {
  8343. "description": "OK",
  8344. "schema": {
  8345. "type": "array",
  8346. "items": {
  8347. "$ref": "#/definitions/models.UserCollectConfig"
  8348. }
  8349. }
  8350. },
  8351. "500": {
  8352. "description": "Internal Server Error",
  8353. "schema": {
  8354. "$ref": "#/definitions/app.Response"
  8355. }
  8356. }
  8357. }
  8358. }
  8359. },
  8360. "/Qhj/QueryUserReceiveInfo": {
  8361. "get": {
  8362. "security": [
  8363. {
  8364. "ApiKeyAuth": []
  8365. }
  8366. ],
  8367. "produces": [
  8368. "application/json"
  8369. ],
  8370. "tags": [
  8371. "大连千海金"
  8372. ],
  8373. "summary": "查询收货地址信息",
  8374. "parameters": [
  8375. {
  8376. "type": "integer",
  8377. "description": "用户ID",
  8378. "name": "userid",
  8379. "in": "query",
  8380. "required": true
  8381. }
  8382. ],
  8383. "responses": {
  8384. "200": {
  8385. "description": "OK",
  8386. "schema": {
  8387. "type": "array",
  8388. "items": {
  8389. "$ref": "#/definitions/models.UserReceiveInfo"
  8390. }
  8391. }
  8392. },
  8393. "500": {
  8394. "description": "Internal Server Error",
  8395. "schema": {
  8396. "$ref": "#/definitions/app.Response"
  8397. }
  8398. }
  8399. }
  8400. }
  8401. },
  8402. "/QhjMgr/QueryAccountInOutApply": {
  8403. "get": {
  8404. "security": [
  8405. {
  8406. "ApiKeyAuth": []
  8407. }
  8408. ],
  8409. "produces": [
  8410. "application/json"
  8411. ],
  8412. "tags": [
  8413. "大连千海金(PCWeb)"
  8414. ],
  8415. "summary": "查询充值提现",
  8416. "parameters": [
  8417. {
  8418. "type": "integer",
  8419. "description": "查询类型 1-提现(出金) 2-充值(出金)",
  8420. "name": "querytype",
  8421. "in": "query",
  8422. "required": true
  8423. },
  8424. {
  8425. "type": "integer",
  8426. "description": "状态 1-待审核 2-审核通过 3-审核拒绝",
  8427. "name": "applystatus",
  8428. "in": "query"
  8429. },
  8430. {
  8431. "type": "string",
  8432. "description": "申请起始日期(格式yyyymmdd)",
  8433. "name": "begindate",
  8434. "in": "query"
  8435. },
  8436. {
  8437. "type": "string",
  8438. "description": "申请截止日期(格式yyyymmdd)",
  8439. "name": "enddate",
  8440. "in": "query"
  8441. },
  8442. {
  8443. "type": "string",
  8444. "description": "模糊搜索名称",
  8445. "name": "likename",
  8446. "in": "query"
  8447. }
  8448. ],
  8449. "responses": {
  8450. "200": {
  8451. "description": "OK",
  8452. "schema": {
  8453. "type": "array",
  8454. "items": {
  8455. "$ref": "#/definitions/models.QhjMgrAccountOutInApply"
  8456. }
  8457. }
  8458. },
  8459. "500": {
  8460. "description": "Internal Server Error",
  8461. "schema": {
  8462. "$ref": "#/definitions/app.Response"
  8463. }
  8464. }
  8465. }
  8466. }
  8467. },
  8468. "/QhjMgr/QueryBrokerApply": {
  8469. "get": {
  8470. "security": [
  8471. {
  8472. "ApiKeyAuth": []
  8473. }
  8474. ],
  8475. "produces": [
  8476. "application/json"
  8477. ],
  8478. "tags": [
  8479. "大连千海金(PCWeb)"
  8480. ],
  8481. "summary": "查询经纪人申请",
  8482. "parameters": [
  8483. {
  8484. "type": "integer",
  8485. "description": "所属机构ID",
  8486. "name": "userid",
  8487. "in": "query"
  8488. },
  8489. {
  8490. "type": "string",
  8491. "description": "状态 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  8492. "name": "filterstatus",
  8493. "in": "query"
  8494. },
  8495. {
  8496. "type": "string",
  8497. "description": "名称(模糊匹配)",
  8498. "name": "filtername",
  8499. "in": "query"
  8500. },
  8501. {
  8502. "type": "integer",
  8503. "description": "是否包含子级 1-包含",
  8504. "name": "includesub",
  8505. "in": "query"
  8506. }
  8507. ],
  8508. "responses": {
  8509. "200": {
  8510. "description": "OK",
  8511. "schema": {
  8512. "type": "array",
  8513. "items": {
  8514. "$ref": "#/definitions/models.QhjMgrBrokerApply"
  8515. }
  8516. }
  8517. },
  8518. "500": {
  8519. "description": "Internal Server Error",
  8520. "schema": {
  8521. "$ref": "#/definitions/app.Response"
  8522. }
  8523. }
  8524. }
  8525. }
  8526. },
  8527. "/QhjMgr/QueryBrokerRewardReport": {
  8528. "get": {
  8529. "security": [
  8530. {
  8531. "ApiKeyAuth": []
  8532. }
  8533. ],
  8534. "produces": [
  8535. "application/json"
  8536. ],
  8537. "tags": [
  8538. "大连千海金(PCWeb)"
  8539. ],
  8540. "summary": "查询经纪人奖励报表(废弃)",
  8541. "parameters": [
  8542. {
  8543. "type": "integer",
  8544. "description": "所属机构ID",
  8545. "name": "userid",
  8546. "in": "query",
  8547. "required": true
  8548. },
  8549. {
  8550. "type": "integer",
  8551. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  8552. "name": "cycletype",
  8553. "in": "query",
  8554. "required": true
  8555. },
  8556. {
  8557. "type": "string",
  8558. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD) 全(0)【原值】",
  8559. "name": "cycletime",
  8560. "in": "query",
  8561. "required": true
  8562. },
  8563. {
  8564. "type": "string",
  8565. "description": "名称(模糊匹配)",
  8566. "name": "filtername",
  8567. "in": "query"
  8568. },
  8569. {
  8570. "type": "integer",
  8571. "description": "是否包含子级 1-包含",
  8572. "name": "includesub",
  8573. "in": "query"
  8574. }
  8575. ],
  8576. "responses": {
  8577. "200": {
  8578. "description": "OK",
  8579. "schema": {
  8580. "type": "array",
  8581. "items": {
  8582. "$ref": "#/definitions/models.QhjMgrBrokerRewardReport"
  8583. }
  8584. }
  8585. },
  8586. "500": {
  8587. "description": "Internal Server Error",
  8588. "schema": {
  8589. "$ref": "#/definitions/app.Response"
  8590. }
  8591. }
  8592. }
  8593. }
  8594. },
  8595. "/QhjMgr/QueryContract": {
  8596. "get": {
  8597. "security": [
  8598. {
  8599. "ApiKeyAuth": []
  8600. }
  8601. ],
  8602. "produces": [
  8603. "application/json"
  8604. ],
  8605. "tags": [
  8606. "大连千海金(PCWeb)"
  8607. ],
  8608. "summary": "查询融资信息(合同)",
  8609. "parameters": [
  8610. {
  8611. "type": "integer",
  8612. "description": "用户ID",
  8613. "name": "userid",
  8614. "in": "query"
  8615. },
  8616. {
  8617. "type": "integer",
  8618. "description": "商品id",
  8619. "name": "goodsid",
  8620. "in": "query"
  8621. },
  8622. {
  8623. "type": "string",
  8624. "description": "名称(模糊搜索账户)",
  8625. "name": "filtername",
  8626. "in": "query"
  8627. },
  8628. {
  8629. "type": "string",
  8630. "description": "风险级别(逗号隔开) - 1:正常 2:追加货款 3:支付尾款",
  8631. "name": "risklevel",
  8632. "in": "query"
  8633. },
  8634. {
  8635. "type": "string",
  8636. "description": "开始交易日(yyyymmdd)",
  8637. "name": "begindate",
  8638. "in": "query"
  8639. },
  8640. {
  8641. "type": "string",
  8642. "description": "结束交易日(yyyymmdd)",
  8643. "name": "enddate",
  8644. "in": "query"
  8645. }
  8646. ],
  8647. "responses": {
  8648. "200": {
  8649. "description": "OK",
  8650. "schema": {
  8651. "type": "array",
  8652. "items": {
  8653. "$ref": "#/definitions/models.QhjMgrContract"
  8654. }
  8655. }
  8656. },
  8657. "500": {
  8658. "description": "Internal Server Error",
  8659. "schema": {
  8660. "$ref": "#/definitions/app.Response"
  8661. }
  8662. }
  8663. }
  8664. }
  8665. },
  8666. "/QhjMgr/QueryCustomerInfo": {
  8667. "get": {
  8668. "security": [
  8669. {
  8670. "ApiKeyAuth": []
  8671. }
  8672. ],
  8673. "produces": [
  8674. "application/json"
  8675. ],
  8676. "tags": [
  8677. "大连千海金(PCWeb)"
  8678. ],
  8679. "summary": "查询客户资料",
  8680. "parameters": [
  8681. {
  8682. "type": "integer",
  8683. "description": "用户ID",
  8684. "name": "userid",
  8685. "in": "query",
  8686. "required": true
  8687. },
  8688. {
  8689. "type": "integer",
  8690. "description": "查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用",
  8691. "name": "querytype",
  8692. "in": "query",
  8693. "required": true
  8694. },
  8695. {
  8696. "type": "integer",
  8697. "description": "客户类型 1-个人 2-企业",
  8698. "name": "userinfotype",
  8699. "in": "query"
  8700. },
  8701. {
  8702. "type": "string",
  8703. "description": "客户名称(模糊匹配)",
  8704. "name": "customername",
  8705. "in": "query"
  8706. },
  8707. {
  8708. "type": "string",
  8709. "description": "昵称(模糊匹配)",
  8710. "name": "nickname",
  8711. "in": "query"
  8712. },
  8713. {
  8714. "type": "integer",
  8715. "description": "是否包含子级 1-包含",
  8716. "name": "includesub",
  8717. "in": "query"
  8718. }
  8719. ],
  8720. "responses": {
  8721. "200": {
  8722. "description": "OK",
  8723. "schema": {
  8724. "type": "array",
  8725. "items": {
  8726. "$ref": "#/definitions/models.QhjMgrCustomer"
  8727. }
  8728. }
  8729. },
  8730. "500": {
  8731. "description": "Internal Server Error",
  8732. "schema": {
  8733. "$ref": "#/definitions/app.Response"
  8734. }
  8735. }
  8736. }
  8737. }
  8738. },
  8739. "/QhjMgr/QueryPickGoods": {
  8740. "get": {
  8741. "security": [
  8742. {
  8743. "ApiKeyAuth": []
  8744. }
  8745. ],
  8746. "produces": [
  8747. "application/json"
  8748. ],
  8749. "tags": [
  8750. "大连千海金(PCWeb)"
  8751. ],
  8752. "summary": "查询提货商品",
  8753. "parameters": [
  8754. {
  8755. "type": "string",
  8756. "description": "状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销",
  8757. "name": "status",
  8758. "in": "query"
  8759. }
  8760. ],
  8761. "responses": {
  8762. "200": {
  8763. "description": "OK",
  8764. "schema": {
  8765. "type": "array",
  8766. "items": {
  8767. "$ref": "#/definitions/models.QhjMgrPickGoods"
  8768. }
  8769. }
  8770. },
  8771. "500": {
  8772. "description": "Internal Server Error",
  8773. "schema": {
  8774. "$ref": "#/definitions/app.Response"
  8775. }
  8776. }
  8777. }
  8778. }
  8779. },
  8780. "/QhjMgr/QuerySubArea": {
  8781. "get": {
  8782. "security": [
  8783. {
  8784. "ApiKeyAuth": []
  8785. }
  8786. ],
  8787. "produces": [
  8788. "application/json"
  8789. ],
  8790. "tags": [
  8791. "大连千海金(PCWeb)"
  8792. ],
  8793. "summary": "查询子机构列表",
  8794. "parameters": [
  8795. {
  8796. "type": "integer",
  8797. "description": "用户ID",
  8798. "name": "userid",
  8799. "in": "query",
  8800. "required": true
  8801. }
  8802. ],
  8803. "responses": {
  8804. "200": {
  8805. "description": "OK",
  8806. "schema": {
  8807. "type": "array",
  8808. "items": {
  8809. "$ref": "#/definitions/models.QhjMgrSubArea"
  8810. }
  8811. }
  8812. },
  8813. "500": {
  8814. "description": "Internal Server Error",
  8815. "schema": {
  8816. "$ref": "#/definitions/app.Response"
  8817. }
  8818. }
  8819. }
  8820. }
  8821. },
  8822. "/QhjMgr/QueryTradeDetail": {
  8823. "get": {
  8824. "security": [
  8825. {
  8826. "ApiKeyAuth": []
  8827. }
  8828. ],
  8829. "produces": [
  8830. "application/json"
  8831. ],
  8832. "tags": [
  8833. "大连千海金(PCWeb)"
  8834. ],
  8835. "summary": "查询成交明细",
  8836. "parameters": [
  8837. {
  8838. "type": "integer",
  8839. "description": "用户ID",
  8840. "name": "userid",
  8841. "in": "query",
  8842. "required": true
  8843. },
  8844. {
  8845. "type": "integer",
  8846. "description": "用户类型 1-个人 2-企业",
  8847. "name": "userinfotype",
  8848. "in": "query"
  8849. },
  8850. {
  8851. "type": "integer",
  8852. "description": "交易模式",
  8853. "name": "trademode",
  8854. "in": "query"
  8855. },
  8856. {
  8857. "type": "integer",
  8858. "description": "商品id",
  8859. "name": "goodsid",
  8860. "in": "query"
  8861. },
  8862. {
  8863. "type": "string",
  8864. "description": "名称(模糊搜索账户)",
  8865. "name": "filtername",
  8866. "in": "query"
  8867. },
  8868. {
  8869. "type": "string",
  8870. "description": "开始交易日(yyyymmdd)",
  8871. "name": "begindate",
  8872. "in": "query"
  8873. },
  8874. {
  8875. "type": "string",
  8876. "description": "结束交易日(yyyymmdd)",
  8877. "name": "enddate",
  8878. "in": "query"
  8879. },
  8880. {
  8881. "type": "integer",
  8882. "description": "是否包含子级 1-包含",
  8883. "name": "includesub",
  8884. "in": "query"
  8885. }
  8886. ],
  8887. "responses": {
  8888. "200": {
  8889. "description": "OK",
  8890. "schema": {
  8891. "type": "array",
  8892. "items": {
  8893. "$ref": "#/definitions/models.QhjMgrTradeDetailRsp"
  8894. }
  8895. }
  8896. },
  8897. "500": {
  8898. "description": "Internal Server Error",
  8899. "schema": {
  8900. "$ref": "#/definitions/app.Response"
  8901. }
  8902. }
  8903. }
  8904. }
  8905. },
  8906. "/QhjMgr/QueryTradeOrderDetail": {
  8907. "get": {
  8908. "security": [
  8909. {
  8910. "ApiKeyAuth": []
  8911. }
  8912. ],
  8913. "produces": [
  8914. "application/json"
  8915. ],
  8916. "tags": [
  8917. "大连千海金(PCWeb)"
  8918. ],
  8919. "summary": "查询委托明细",
  8920. "parameters": [
  8921. {
  8922. "type": "integer",
  8923. "description": "用户ID",
  8924. "name": "userid",
  8925. "in": "query",
  8926. "required": true
  8927. },
  8928. {
  8929. "type": "integer",
  8930. "description": "用户类型 1-个人 2-企业",
  8931. "name": "userinfotype",
  8932. "in": "query"
  8933. },
  8934. {
  8935. "type": "integer",
  8936. "description": "交易模式",
  8937. "name": "trademode",
  8938. "in": "query"
  8939. },
  8940. {
  8941. "type": "integer",
  8942. "description": "商品id",
  8943. "name": "goodsid",
  8944. "in": "query"
  8945. },
  8946. {
  8947. "type": "string",
  8948. "description": "名称(模糊搜索账户)",
  8949. "name": "filtername",
  8950. "in": "query"
  8951. },
  8952. {
  8953. "type": "string",
  8954. "description": "开始交易日(yyyymmdd)",
  8955. "name": "begindate",
  8956. "in": "query"
  8957. },
  8958. {
  8959. "type": "string",
  8960. "description": "结束交易日(yyyymmdd)",
  8961. "name": "enddate",
  8962. "in": "query"
  8963. },
  8964. {
  8965. "type": "integer",
  8966. "description": "是否包含子级 1-包含",
  8967. "name": "includesub",
  8968. "in": "query"
  8969. }
  8970. ],
  8971. "responses": {
  8972. "200": {
  8973. "description": "OK",
  8974. "schema": {
  8975. "type": "array",
  8976. "items": {
  8977. "$ref": "#/definitions/models.QhjMgrTradeOrderDetailRsp"
  8978. }
  8979. }
  8980. },
  8981. "500": {
  8982. "description": "Internal Server Error",
  8983. "schema": {
  8984. "$ref": "#/definitions/app.Response"
  8985. }
  8986. }
  8987. }
  8988. }
  8989. },
  8990. "/QhjMgr/QueryTradePayOrder": {
  8991. "get": {
  8992. "security": [
  8993. {
  8994. "ApiKeyAuth": []
  8995. }
  8996. ],
  8997. "produces": [
  8998. "application/json"
  8999. ],
  9000. "tags": [
  9001. "大连千海金(PCWeb)"
  9002. ],
  9003. "summary": "查询待付款单",
  9004. "parameters": [
  9005. {
  9006. "type": "integer",
  9007. "description": "用户ID",
  9008. "name": "userid",
  9009. "in": "query",
  9010. "required": true
  9011. },
  9012. {
  9013. "type": "string",
  9014. "description": "付款标识(逗号隔开,如1,2) - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  9015. "name": "payflag",
  9016. "in": "query"
  9017. },
  9018. {
  9019. "type": "integer",
  9020. "description": "用户类型 1-个人 2-企业",
  9021. "name": "userinfotype",
  9022. "in": "query"
  9023. },
  9024. {
  9025. "type": "integer",
  9026. "description": "交易模式",
  9027. "name": "trademode",
  9028. "in": "query"
  9029. },
  9030. {
  9031. "type": "integer",
  9032. "description": "商品id",
  9033. "name": "goodsid",
  9034. "in": "query"
  9035. },
  9036. {
  9037. "type": "string",
  9038. "description": "名称(模糊搜索账户)",
  9039. "name": "filtername",
  9040. "in": "query"
  9041. },
  9042. {
  9043. "type": "string",
  9044. "description": "开始交易日(yyyymmdd)",
  9045. "name": "begindate",
  9046. "in": "query"
  9047. },
  9048. {
  9049. "type": "string",
  9050. "description": "结束交易日(yyyymmdd)",
  9051. "name": "enddate",
  9052. "in": "query"
  9053. },
  9054. {
  9055. "type": "integer",
  9056. "description": "是否包含子级 1-包含",
  9057. "name": "includesub",
  9058. "in": "query"
  9059. }
  9060. ],
  9061. "responses": {
  9062. "200": {
  9063. "description": "OK",
  9064. "schema": {
  9065. "type": "array",
  9066. "items": {
  9067. "$ref": "#/definitions/models.QhjMgrTradePayOrder"
  9068. }
  9069. }
  9070. },
  9071. "500": {
  9072. "description": "Internal Server Error",
  9073. "schema": {
  9074. "$ref": "#/definitions/app.Response"
  9075. }
  9076. }
  9077. }
  9078. }
  9079. },
  9080. "/QhjMgr/QueryTradePosition": {
  9081. "get": {
  9082. "security": [
  9083. {
  9084. "ApiKeyAuth": []
  9085. }
  9086. ],
  9087. "produces": [
  9088. "application/json"
  9089. ],
  9090. "tags": [
  9091. "大连千海金(PCWeb)"
  9092. ],
  9093. "summary": "查询持仓汇总",
  9094. "parameters": [
  9095. {
  9096. "type": "integer",
  9097. "description": "用户ID",
  9098. "name": "userid",
  9099. "in": "query",
  9100. "required": true
  9101. },
  9102. {
  9103. "type": "integer",
  9104. "description": "用户类型 1-个人 2-企业",
  9105. "name": "userinfotype",
  9106. "in": "query"
  9107. },
  9108. {
  9109. "type": "integer",
  9110. "description": "交易模式",
  9111. "name": "trademode",
  9112. "in": "query"
  9113. },
  9114. {
  9115. "type": "integer",
  9116. "description": "商品id",
  9117. "name": "goodsid",
  9118. "in": "query"
  9119. },
  9120. {
  9121. "type": "string",
  9122. "description": "名称(模糊搜索账户)",
  9123. "name": "filtername",
  9124. "in": "query"
  9125. },
  9126. {
  9127. "type": "integer",
  9128. "description": "是否包含子级 1-包含",
  9129. "name": "includesub",
  9130. "in": "query"
  9131. }
  9132. ],
  9133. "responses": {
  9134. "200": {
  9135. "description": "OK",
  9136. "schema": {
  9137. "type": "array",
  9138. "items": {
  9139. "$ref": "#/definitions/models.QhjMgrPositionRsp"
  9140. }
  9141. }
  9142. },
  9143. "500": {
  9144. "description": "Internal Server Error",
  9145. "schema": {
  9146. "$ref": "#/definitions/app.Response"
  9147. }
  9148. }
  9149. }
  9150. }
  9151. },
  9152. "/QhjSys/QueryAgreementChangeLog": {
  9153. "get": {
  9154. "security": [
  9155. {
  9156. "ApiKeyAuth": []
  9157. }
  9158. ],
  9159. "produces": [
  9160. "application/json"
  9161. ],
  9162. "tags": [
  9163. "大连千海金(协议和签约信息)"
  9164. ],
  9165. "summary": "查询协议配置变更流水",
  9166. "parameters": [
  9167. {
  9168. "type": "integer",
  9169. "description": "协议ID",
  9170. "name": "agreementid",
  9171. "in": "query"
  9172. },
  9173. {
  9174. "type": "integer",
  9175. "description": "协议版本号",
  9176. "name": "agreementversion",
  9177. "in": "query"
  9178. },
  9179. {
  9180. "type": "integer",
  9181. "description": "协议类型 - 1:注册 2:登录 3:交易",
  9182. "name": "agreementtype",
  9183. "in": "query"
  9184. },
  9185. {
  9186. "type": "string",
  9187. "description": "协议编号(模糊匹配)",
  9188. "name": "agreementno",
  9189. "in": "query"
  9190. },
  9191. {
  9192. "type": "string",
  9193. "description": "协议名称(模糊匹配)",
  9194. "name": "agreementname",
  9195. "in": "query"
  9196. }
  9197. ],
  9198. "responses": {
  9199. "200": {
  9200. "description": "OK",
  9201. "schema": {
  9202. "type": "array",
  9203. "items": {
  9204. "$ref": "#/definitions/models.QhjAgreementChangeLog"
  9205. }
  9206. }
  9207. },
  9208. "500": {
  9209. "description": "Internal Server Error",
  9210. "schema": {
  9211. "$ref": "#/definitions/app.Response"
  9212. }
  9213. }
  9214. }
  9215. }
  9216. },
  9217. "/QhjSys/QueryAgreementConfig": {
  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": "integer",
  9234. "description": "协议ID",
  9235. "name": "agreementid",
  9236. "in": "query"
  9237. },
  9238. {
  9239. "type": "integer",
  9240. "description": "协议版本号",
  9241. "name": "agreementversion",
  9242. "in": "query"
  9243. },
  9244. {
  9245. "type": "integer",
  9246. "description": "协议类型 - 1:注册 2:登录 3:交易",
  9247. "name": "agreementtype",
  9248. "in": "query"
  9249. },
  9250. {
  9251. "type": "integer",
  9252. "description": "是否有效 - 是否有效 - 1:正常 2:停用 3:注销",
  9253. "name": "isvalid",
  9254. "in": "query"
  9255. },
  9256. {
  9257. "type": "string",
  9258. "description": "协议编号(模糊匹配)",
  9259. "name": "agreementno",
  9260. "in": "query"
  9261. },
  9262. {
  9263. "type": "string",
  9264. "description": "协议名称(模糊匹配)",
  9265. "name": "agreementname",
  9266. "in": "query"
  9267. }
  9268. ],
  9269. "responses": {
  9270. "200": {
  9271. "description": "OK",
  9272. "schema": {
  9273. "type": "array",
  9274. "items": {
  9275. "$ref": "#/definitions/models.QhjAgreementConfig"
  9276. }
  9277. }
  9278. },
  9279. "500": {
  9280. "description": "Internal Server Error",
  9281. "schema": {
  9282. "$ref": "#/definitions/app.Response"
  9283. }
  9284. }
  9285. }
  9286. }
  9287. },
  9288. "/QhjSys/QueryCustomerSignStatus": {
  9289. "get": {
  9290. "security": [
  9291. {
  9292. "ApiKeyAuth": []
  9293. }
  9294. ],
  9295. "produces": [
  9296. "application/json"
  9297. ],
  9298. "tags": [
  9299. "大连千海金(协议和签约信息)"
  9300. ],
  9301. "summary": "查询客户协议签约状态",
  9302. "parameters": [
  9303. {
  9304. "type": "integer",
  9305. "description": "客户ID",
  9306. "name": "userid",
  9307. "in": "query"
  9308. },
  9309. {
  9310. "type": "integer",
  9311. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出 99:首次交易",
  9312. "name": "nodetype",
  9313. "in": "query"
  9314. },
  9315. {
  9316. "type": "integer",
  9317. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  9318. "name": "goodsid",
  9319. "in": "query"
  9320. },
  9321. {
  9322. "type": "string",
  9323. "description": "创建交易日(yyyyMMdd)",
  9324. "name": "tradedate",
  9325. "in": "query"
  9326. },
  9327. {
  9328. "type": "string",
  9329. "description": "用户名称(模糊匹配)",
  9330. "name": "username",
  9331. "in": "query"
  9332. }
  9333. ],
  9334. "responses": {
  9335. "200": {
  9336. "description": "OK",
  9337. "schema": {
  9338. "type": "array",
  9339. "items": {
  9340. "$ref": "#/definitions/models.QhjCustomerSignStatus"
  9341. }
  9342. }
  9343. },
  9344. "500": {
  9345. "description": "Internal Server Error",
  9346. "schema": {
  9347. "$ref": "#/definitions/app.Response"
  9348. }
  9349. }
  9350. }
  9351. }
  9352. },
  9353. "/QhjSys/QueryNodeAgreementConfig": {
  9354. "get": {
  9355. "security": [
  9356. {
  9357. "ApiKeyAuth": []
  9358. }
  9359. ],
  9360. "produces": [
  9361. "application/json"
  9362. ],
  9363. "tags": [
  9364. "大连千海金(协议和签约信息)"
  9365. ],
  9366. "summary": "查询协议节点配置",
  9367. "parameters": [
  9368. {
  9369. "type": "integer",
  9370. "description": "配置id(SEQ_QHJ_NODEAGREEMENTCONFIG)",
  9371. "name": "configid",
  9372. "in": "query"
  9373. },
  9374. {
  9375. "type": "integer",
  9376. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  9377. "name": "nodetype",
  9378. "in": "query"
  9379. },
  9380. {
  9381. "type": "integer",
  9382. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  9383. "name": "goodsid",
  9384. "in": "query"
  9385. },
  9386. {
  9387. "type": "integer",
  9388. "description": "协议ID",
  9389. "name": "agreementid",
  9390. "in": "query"
  9391. },
  9392. {
  9393. "type": "integer",
  9394. "description": "协议类型 - 1:注册 2:登录 3:交易",
  9395. "name": "agreementtype",
  9396. "in": "query"
  9397. },
  9398. {
  9399. "type": "integer",
  9400. "description": "协议版本号",
  9401. "name": "agreementversion",
  9402. "in": "query"
  9403. },
  9404. {
  9405. "type": "string",
  9406. "description": "协议编号(模糊匹配)",
  9407. "name": "agreementno",
  9408. "in": "query"
  9409. },
  9410. {
  9411. "type": "string",
  9412. "description": "协议名称(模糊匹配)",
  9413. "name": "agreementname",
  9414. "in": "query"
  9415. }
  9416. ],
  9417. "responses": {
  9418. "200": {
  9419. "description": "OK",
  9420. "schema": {
  9421. "type": "array",
  9422. "items": {
  9423. "$ref": "#/definitions/models.QhjNodeAgreementConfig"
  9424. }
  9425. }
  9426. },
  9427. "500": {
  9428. "description": "Internal Server Error",
  9429. "schema": {
  9430. "$ref": "#/definitions/app.Response"
  9431. }
  9432. }
  9433. }
  9434. }
  9435. },
  9436. "/QhjSys/QueryQhjCustomerSignLog": {
  9437. "get": {
  9438. "security": [
  9439. {
  9440. "ApiKeyAuth": []
  9441. }
  9442. ],
  9443. "produces": [
  9444. "application/json"
  9445. ],
  9446. "tags": [
  9447. "大连千海金(协议和签约信息)"
  9448. ],
  9449. "summary": "查询客户协议签约流水",
  9450. "parameters": [
  9451. {
  9452. "type": "integer",
  9453. "description": "流水ID(SEQ_QHJ_CUSTOMERSIGNLOG)",
  9454. "name": "logid",
  9455. "in": "query"
  9456. },
  9457. {
  9458. "type": "integer",
  9459. "description": "客户ID",
  9460. "name": "userid",
  9461. "in": "query"
  9462. },
  9463. {
  9464. "type": "integer",
  9465. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  9466. "name": "nodetype",
  9467. "in": "query"
  9468. },
  9469. {
  9470. "type": "integer",
  9471. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  9472. "name": "goodsid",
  9473. "in": "query"
  9474. },
  9475. {
  9476. "type": "integer",
  9477. "description": "协议ID",
  9478. "name": "agreementid",
  9479. "in": "query"
  9480. },
  9481. {
  9482. "type": "string",
  9483. "description": "用户名称(模糊匹配)",
  9484. "name": "username",
  9485. "in": "query"
  9486. },
  9487. {
  9488. "type": "string",
  9489. "description": "协议编号(模糊匹配)",
  9490. "name": "agreementno",
  9491. "in": "query"
  9492. },
  9493. {
  9494. "type": "string",
  9495. "description": "协议名称(模糊匹配)",
  9496. "name": "agreementname",
  9497. "in": "query"
  9498. }
  9499. ],
  9500. "responses": {
  9501. "200": {
  9502. "description": "OK",
  9503. "schema": {
  9504. "type": "array",
  9505. "items": {
  9506. "$ref": "#/definitions/models.QhjCustomerSignLog"
  9507. }
  9508. }
  9509. },
  9510. "500": {
  9511. "description": "Internal Server Error",
  9512. "schema": {
  9513. "$ref": "#/definitions/app.Response"
  9514. }
  9515. }
  9516. }
  9517. }
  9518. },
  9519. "/QhjSys/QueryUserNodeCfgAndStatus": {
  9520. "get": {
  9521. "security": [
  9522. {
  9523. "ApiKeyAuth": []
  9524. }
  9525. ],
  9526. "produces": [
  9527. "application/json"
  9528. ],
  9529. "tags": [
  9530. "大连千海金(协议和签约信息)"
  9531. ],
  9532. "summary": "查询用户协议节点配置和状态",
  9533. "parameters": [
  9534. {
  9535. "type": "integer",
  9536. "description": "客户ID",
  9537. "name": "userid",
  9538. "in": "query"
  9539. },
  9540. {
  9541. "type": "integer",
  9542. "description": "配置id(SEQ_QHJ_NODEAGREEMENTCONFIG)",
  9543. "name": "configid",
  9544. "in": "query"
  9545. },
  9546. {
  9547. "type": "string",
  9548. "description": "环节类型(可多个,逗号隔开) - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  9549. "name": "nodetype",
  9550. "in": "query"
  9551. },
  9552. {
  9553. "type": "integer",
  9554. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  9555. "name": "goodsid",
  9556. "in": "query"
  9557. },
  9558. {
  9559. "type": "integer",
  9560. "description": "协议ID",
  9561. "name": "agreementid",
  9562. "in": "query"
  9563. },
  9564. {
  9565. "type": "integer",
  9566. "description": "协议类型 - 1:注册 2:登录 3:交易",
  9567. "name": "agreementtype",
  9568. "in": "query"
  9569. },
  9570. {
  9571. "type": "integer",
  9572. "description": "协议版本号",
  9573. "name": "agreementversion",
  9574. "in": "query"
  9575. },
  9576. {
  9577. "type": "string",
  9578. "description": "协议编号(模糊匹配)",
  9579. "name": "agreementno",
  9580. "in": "query"
  9581. },
  9582. {
  9583. "type": "string",
  9584. "description": "协议名称(模糊匹配)",
  9585. "name": "agreementname",
  9586. "in": "query"
  9587. }
  9588. ],
  9589. "responses": {
  9590. "200": {
  9591. "description": "OK",
  9592. "schema": {
  9593. "type": "array",
  9594. "items": {
  9595. "$ref": "#/definitions/models.QhjUserNodeCfgAndStatus"
  9596. }
  9597. }
  9598. },
  9599. "500": {
  9600. "description": "Internal Server Error",
  9601. "schema": {
  9602. "$ref": "#/definitions/app.Response"
  9603. }
  9604. }
  9605. }
  9606. }
  9607. },
  9608. "/Quote/QueryHistoryDatas": {
  9609. "get": {
  9610. "security": [
  9611. {
  9612. "ApiKeyAuth": []
  9613. }
  9614. ],
  9615. "produces": [
  9616. "application/json"
  9617. ],
  9618. "tags": [
  9619. "行情服务"
  9620. ],
  9621. "summary": "查询行情历史数据",
  9622. "parameters": [
  9623. {
  9624. "type": "integer",
  9625. "description": "周期类型, 0-秒 1: 1分钟 2: 5分钟 3: 30分钟 4: 60分钟 120: 2小时 240: 4小时 11: 日线",
  9626. "name": "cycleType",
  9627. "in": "query",
  9628. "required": true
  9629. },
  9630. {
  9631. "type": "string",
  9632. "description": "商品代码",
  9633. "name": "goodsCode",
  9634. "in": "query",
  9635. "required": true
  9636. },
  9637. {
  9638. "type": "string",
  9639. "description": "开始时间,格式:yyyy-MM-dd HH:mm:ss",
  9640. "name": "startTime",
  9641. "in": "query"
  9642. },
  9643. {
  9644. "type": "string",
  9645. "description": "结束时间,格式:yyyy-MM-dd HH:mm:ss",
  9646. "name": "endTime",
  9647. "in": "query"
  9648. },
  9649. {
  9650. "type": "integer",
  9651. "description": "条数",
  9652. "name": "count",
  9653. "in": "query"
  9654. },
  9655. {
  9656. "type": "boolean",
  9657. "description": "是否按时间顺序排序(默认为时间倒序排序)",
  9658. "name": "isAsc",
  9659. "in": "query"
  9660. }
  9661. ],
  9662. "responses": {
  9663. "200": {
  9664. "description": "OK",
  9665. "schema": {
  9666. "$ref": "#/definitions/quote.HistoryData"
  9667. }
  9668. },
  9669. "500": {
  9670. "description": "Internal Server Error",
  9671. "schema": {
  9672. "$ref": "#/definitions/app.Response"
  9673. }
  9674. }
  9675. }
  9676. }
  9677. },
  9678. "/Quote/QueryHistoryTikDatas": {
  9679. "get": {
  9680. "security": [
  9681. {
  9682. "ApiKeyAuth": []
  9683. }
  9684. ],
  9685. "produces": [
  9686. "application/json"
  9687. ],
  9688. "tags": [
  9689. "行情服务"
  9690. ],
  9691. "summary": "查询行情Tik数据",
  9692. "parameters": [
  9693. {
  9694. "type": "string",
  9695. "description": "商品代码",
  9696. "name": "goodsCode",
  9697. "in": "query",
  9698. "required": true
  9699. },
  9700. {
  9701. "type": "string",
  9702. "description": "开始时间,格式:yyyy-MM-dd HH:mm:ss",
  9703. "name": "startTime",
  9704. "in": "query"
  9705. },
  9706. {
  9707. "type": "string",
  9708. "description": "结束时间,格式:yyyy-MM-dd HH:mm:ss",
  9709. "name": "endTime",
  9710. "in": "query"
  9711. },
  9712. {
  9713. "type": "integer",
  9714. "description": "条数",
  9715. "name": "count",
  9716. "in": "query"
  9717. },
  9718. {
  9719. "type": "boolean",
  9720. "description": "是否按时间顺序排序(默认为时间倒序排序)",
  9721. "name": "isAsc",
  9722. "in": "query"
  9723. }
  9724. ],
  9725. "responses": {
  9726. "200": {
  9727. "description": "OK",
  9728. "schema": {
  9729. "$ref": "#/definitions/quote.HistoryTikData"
  9730. }
  9731. },
  9732. "500": {
  9733. "description": "Internal Server Error",
  9734. "schema": {
  9735. "$ref": "#/definitions/app.Response"
  9736. }
  9737. }
  9738. }
  9739. }
  9740. },
  9741. "/Quote/QueryQuoteDay": {
  9742. "get": {
  9743. "security": [
  9744. {
  9745. "ApiKeyAuth": []
  9746. }
  9747. ],
  9748. "produces": [
  9749. "application/json"
  9750. ],
  9751. "tags": [
  9752. "行情服务"
  9753. ],
  9754. "summary": "获取商品盘面信息",
  9755. "parameters": [
  9756. {
  9757. "type": "string",
  9758. "description": "商品代码列表,格式:CU2102,CU2103,AL2107",
  9759. "name": "goodsCodes",
  9760. "in": "query",
  9761. "required": true
  9762. }
  9763. ],
  9764. "responses": {
  9765. "200": {
  9766. "description": "OK",
  9767. "schema": {
  9768. "$ref": "#/definitions/quote.QueryQuoteDayRsp"
  9769. }
  9770. },
  9771. "500": {
  9772. "description": "Internal Server Error",
  9773. "schema": {
  9774. "$ref": "#/definitions/app.Response"
  9775. }
  9776. }
  9777. }
  9778. }
  9779. },
  9780. "/Quote/QueryTSData": {
  9781. "get": {
  9782. "security": [
  9783. {
  9784. "ApiKeyAuth": []
  9785. }
  9786. ],
  9787. "produces": [
  9788. "application/json"
  9789. ],
  9790. "tags": [
  9791. "行情服务"
  9792. ],
  9793. "summary": "分时图数据查询",
  9794. "parameters": [
  9795. {
  9796. "type": "string",
  9797. "description": "商品代码",
  9798. "name": "goodsCode",
  9799. "in": "query",
  9800. "required": true
  9801. }
  9802. ],
  9803. "responses": {
  9804. "200": {
  9805. "description": "OK",
  9806. "schema": {
  9807. "$ref": "#/definitions/quote.QueryTSDataRsp"
  9808. }
  9809. },
  9810. "500": {
  9811. "description": "Internal Server Error",
  9812. "schema": {
  9813. "$ref": "#/definitions/app.Response"
  9814. }
  9815. }
  9816. }
  9817. }
  9818. },
  9819. "/SZDZ/QueryConvertConfig": {
  9820. "get": {
  9821. "security": [
  9822. {
  9823. "ApiKeyAuth": []
  9824. }
  9825. ],
  9826. "produces": [
  9827. "application/json"
  9828. ],
  9829. "tags": [
  9830. "定制【尚志大宗】"
  9831. ],
  9832. "summary": "查询交易系统转换设置",
  9833. "parameters": [
  9834. {
  9835. "type": "integer",
  9836. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)",
  9837. "name": "convertType",
  9838. "in": "query"
  9839. },
  9840. {
  9841. "type": "string",
  9842. "description": "外部商品代码[JD\\PD]",
  9843. "name": "outerGoodsCode",
  9844. "in": "query"
  9845. },
  9846. {
  9847. "type": "string",
  9848. "description": "内部商品ID列表[交易],格式:1,2,3",
  9849. "name": "innerGoodsIDs",
  9850. "in": "query"
  9851. }
  9852. ],
  9853. "responses": {
  9854. "200": {
  9855. "description": "OK",
  9856. "schema": {
  9857. "$ref": "#/definitions/models.Szdz3convertconfig"
  9858. }
  9859. },
  9860. "500": {
  9861. "description": "Internal Server Error",
  9862. "schema": {
  9863. "$ref": "#/definitions/app.Response"
  9864. }
  9865. }
  9866. }
  9867. }
  9868. },
  9869. "/SZDZ/QueryConvertLog": {
  9870. "get": {
  9871. "security": [
  9872. {
  9873. "ApiKeyAuth": []
  9874. }
  9875. ],
  9876. "produces": [
  9877. "application/json"
  9878. ],
  9879. "tags": [
  9880. "定制【尚志大宗】"
  9881. ],
  9882. "summary": "交易系统转换流水查询",
  9883. "parameters": [
  9884. {
  9885. "type": "string",
  9886. "description": "资金账户 - 格式:1,2,3",
  9887. "name": "accountID",
  9888. "in": "query",
  9889. "required": true
  9890. },
  9891. {
  9892. "type": "string",
  9893. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  9894. "name": "startDate",
  9895. "in": "query"
  9896. },
  9897. {
  9898. "type": "string",
  9899. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  9900. "name": "endDate",
  9901. "in": "query"
  9902. }
  9903. ],
  9904. "responses": {
  9905. "200": {
  9906. "description": "OK",
  9907. "schema": {
  9908. "$ref": "#/definitions/szdz.QueryConvertLogRsp"
  9909. }
  9910. },
  9911. "500": {
  9912. "description": "Internal Server Error",
  9913. "schema": {
  9914. "$ref": "#/definitions/app.Response"
  9915. }
  9916. }
  9917. }
  9918. }
  9919. },
  9920. "/SZDZ/QueryGoodsPickup": {
  9921. "get": {
  9922. "security": [
  9923. {
  9924. "ApiKeyAuth": []
  9925. }
  9926. ],
  9927. "produces": [
  9928. "application/json"
  9929. ],
  9930. "tags": [
  9931. "定制【尚志大宗】"
  9932. ],
  9933. "summary": "商品提货单查询",
  9934. "parameters": [
  9935. {
  9936. "type": "string",
  9937. "description": "资金账户 - 格式:1,2,3",
  9938. "name": "accountID",
  9939. "in": "query",
  9940. "required": true
  9941. },
  9942. {
  9943. "type": "integer",
  9944. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  9945. "name": "takeOrderStatus",
  9946. "in": "query"
  9947. }
  9948. ],
  9949. "responses": {
  9950. "200": {
  9951. "description": "OK",
  9952. "schema": {
  9953. "$ref": "#/definitions/szdz.QueryGoodsPickupRsp"
  9954. }
  9955. },
  9956. "500": {
  9957. "description": "Internal Server Error",
  9958. "schema": {
  9959. "$ref": "#/definitions/app.Response"
  9960. }
  9961. }
  9962. }
  9963. }
  9964. },
  9965. "/SZDZ/QueryRecieptOrder": {
  9966. "get": {
  9967. "security": [
  9968. {
  9969. "ApiKeyAuth": []
  9970. }
  9971. ],
  9972. "description": "说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算",
  9973. "produces": [
  9974. "application/json"
  9975. ],
  9976. "tags": [
  9977. "定制【尚志大宗】"
  9978. ],
  9979. "summary": "点选挂牌委托单据查询(摘牌大厅)",
  9980. "parameters": [
  9981. {
  9982. "type": "integer",
  9983. "description": "页码",
  9984. "name": "page",
  9985. "in": "query"
  9986. },
  9987. {
  9988. "type": "integer",
  9989. "description": "每页条数",
  9990. "name": "pagesize",
  9991. "in": "query"
  9992. },
  9993. {
  9994. "type": "integer",
  9995. "description": "商品ID",
  9996. "name": "goodsID",
  9997. "in": "query",
  9998. "required": true
  9999. },
  10000. {
  10001. "type": "string",
  10002. "description": "所属账户名称",
  10003. "name": "accountName",
  10004. "in": "query"
  10005. },
  10006. {
  10007. "type": "integer",
  10008. "description": "市场ID",
  10009. "name": "marketID",
  10010. "in": "query"
  10011. },
  10012. {
  10013. "type": "integer",
  10014. "description": "方向 - 0:买 1:卖",
  10015. "name": "buyorsell",
  10016. "in": "query",
  10017. "required": true
  10018. }
  10019. ],
  10020. "responses": {
  10021. "200": {
  10022. "description": "OK",
  10023. "schema": {
  10024. "$ref": "#/definitions/szdz.QueryRecieptOrderRsp"
  10025. }
  10026. },
  10027. "500": {
  10028. "description": "Internal Server Error",
  10029. "schema": {
  10030. "$ref": "#/definitions/app.Response"
  10031. }
  10032. }
  10033. }
  10034. }
  10035. },
  10036. "/SZDZ/QuerySZDZTradePosition": {
  10037. "get": {
  10038. "security": [
  10039. {
  10040. "ApiKeyAuth": []
  10041. }
  10042. ],
  10043. "produces": [
  10044. "application/json"
  10045. ],
  10046. "tags": [
  10047. "定制【尚志大宗】"
  10048. ],
  10049. "summary": "持仓汇总查询(尚志大宗)",
  10050. "parameters": [
  10051. {
  10052. "type": "integer",
  10053. "description": "资金账户",
  10054. "name": "accountID",
  10055. "in": "query",
  10056. "required": true
  10057. }
  10058. ],
  10059. "responses": {
  10060. "200": {
  10061. "description": "OK",
  10062. "schema": {
  10063. "$ref": "#/definitions/szdz.QuerySZDZTradePositionRsp"
  10064. }
  10065. },
  10066. "500": {
  10067. "description": "Internal Server Error",
  10068. "schema": {
  10069. "$ref": "#/definitions/app.Response"
  10070. }
  10071. }
  10072. }
  10073. }
  10074. },
  10075. "/SZDZ/SearchWhite": {
  10076. "get": {
  10077. "security": [
  10078. {
  10079. "ApiKeyAuth": []
  10080. }
  10081. ],
  10082. "produces": [
  10083. "application/json"
  10084. ],
  10085. "tags": [
  10086. "定制【尚志大宗】"
  10087. ],
  10088. "summary": "搜索白名单",
  10089. "parameters": [
  10090. {
  10091. "type": "integer",
  10092. "description": "用户ID",
  10093. "name": "userID",
  10094. "in": "query",
  10095. "required": true
  10096. }
  10097. ],
  10098. "responses": {
  10099. "200": {
  10100. "description": "OK",
  10101. "schema": {
  10102. "$ref": "#/definitions/models.Szdz3searchwhitelist"
  10103. }
  10104. },
  10105. "500": {
  10106. "description": "Internal Server Error",
  10107. "schema": {
  10108. "$ref": "#/definitions/app.Response"
  10109. }
  10110. }
  10111. }
  10112. }
  10113. },
  10114. "/Search/SearchGoodses": {
  10115. "get": {
  10116. "description": "说明:使用检索内容模糊匹配商品代码和商品名称",
  10117. "produces": [
  10118. "application/json"
  10119. ],
  10120. "tags": [
  10121. "检索服务"
  10122. ],
  10123. "summary": "检索商品信息",
  10124. "parameters": [
  10125. {
  10126. "type": "string",
  10127. "description": "检索内容",
  10128. "name": "content",
  10129. "in": "query",
  10130. "required": true
  10131. },
  10132. {
  10133. "type": "string",
  10134. "description": "交易模式,格式:1,2,3",
  10135. "name": "tradeModes",
  10136. "in": "query"
  10137. }
  10138. ],
  10139. "responses": {
  10140. "200": {
  10141. "description": "OK",
  10142. "schema": {
  10143. "$ref": "#/definitions/models.SearchGoods"
  10144. }
  10145. },
  10146. "500": {
  10147. "description": "Internal Server Error",
  10148. "schema": {
  10149. "$ref": "#/definitions/app.Response"
  10150. }
  10151. }
  10152. }
  10153. }
  10154. },
  10155. "/TaAccount/GetTaAccounts": {
  10156. "get": {
  10157. "security": [
  10158. {
  10159. "ApiKeyAuth": []
  10160. }
  10161. ],
  10162. "produces": [
  10163. "application/json"
  10164. ],
  10165. "tags": [
  10166. "资金账户"
  10167. ],
  10168. "summary": "获取资金账户信息",
  10169. "parameters": [
  10170. {
  10171. "type": "integer",
  10172. "description": "登录账户",
  10173. "name": "loginID",
  10174. "in": "query",
  10175. "required": true
  10176. },
  10177. {
  10178. "type": "integer",
  10179. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  10180. "name": "taAccountType",
  10181. "in": "query"
  10182. }
  10183. ],
  10184. "responses": {
  10185. "200": {
  10186. "description": "OK",
  10187. "schema": {
  10188. "$ref": "#/definitions/models.Taaccount"
  10189. }
  10190. },
  10191. "500": {
  10192. "description": "Internal Server Error",
  10193. "schema": {
  10194. "$ref": "#/definitions/app.Response"
  10195. }
  10196. }
  10197. }
  10198. }
  10199. },
  10200. "/TaAccount/QueryAmountLog": {
  10201. "get": {
  10202. "security": [
  10203. {
  10204. "ApiKeyAuth": []
  10205. }
  10206. ],
  10207. "produces": [
  10208. "application/json"
  10209. ],
  10210. "tags": [
  10211. "资金账户"
  10212. ],
  10213. "summary": "资金流水查询(当前)",
  10214. "parameters": [
  10215. {
  10216. "type": "integer",
  10217. "description": "页码",
  10218. "name": "page",
  10219. "in": "query"
  10220. },
  10221. {
  10222. "type": "integer",
  10223. "description": "每页条数",
  10224. "name": "pagesize",
  10225. "in": "query"
  10226. },
  10227. {
  10228. "type": "string",
  10229. "description": "资金账户 - 格式:1,2,3",
  10230. "name": "accountID",
  10231. "in": "query",
  10232. "required": true
  10233. },
  10234. {
  10235. "type": "string",
  10236. "description": "资金操作类型 - 格式:1,2,3",
  10237. "name": "OperateType",
  10238. "in": "query"
  10239. }
  10240. ],
  10241. "responses": {
  10242. "200": {
  10243. "description": "OK",
  10244. "schema": {
  10245. "$ref": "#/definitions/taaccount.QueryAmountLogRsp"
  10246. }
  10247. },
  10248. "500": {
  10249. "description": "Internal Server Error",
  10250. "schema": {
  10251. "$ref": "#/definitions/app.Response"
  10252. }
  10253. }
  10254. }
  10255. }
  10256. },
  10257. "/TaAccount/QueryHisAmountLog": {
  10258. "get": {
  10259. "security": [
  10260. {
  10261. "ApiKeyAuth": []
  10262. }
  10263. ],
  10264. "produces": [
  10265. "application/json"
  10266. ],
  10267. "tags": [
  10268. "资金账户"
  10269. ],
  10270. "summary": "资金流水查询(历史)",
  10271. "parameters": [
  10272. {
  10273. "type": "integer",
  10274. "description": "页码",
  10275. "name": "page",
  10276. "in": "query"
  10277. },
  10278. {
  10279. "type": "integer",
  10280. "description": "每页条数",
  10281. "name": "pagesize",
  10282. "in": "query"
  10283. },
  10284. {
  10285. "type": "string",
  10286. "description": "资金账户 - 格式:1,2,3",
  10287. "name": "accountID",
  10288. "in": "query",
  10289. "required": true
  10290. },
  10291. {
  10292. "type": "string",
  10293. "description": "资金操作类型 - 格式:1,2,3",
  10294. "name": "OperateType",
  10295. "in": "query"
  10296. },
  10297. {
  10298. "type": "string",
  10299. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  10300. "name": "startDate",
  10301. "in": "query"
  10302. },
  10303. {
  10304. "type": "string",
  10305. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  10306. "name": "endDate",
  10307. "in": "query"
  10308. }
  10309. ],
  10310. "responses": {
  10311. "200": {
  10312. "description": "OK",
  10313. "schema": {
  10314. "$ref": "#/definitions/taaccount.QueryHisAmountLogRsp"
  10315. }
  10316. },
  10317. "500": {
  10318. "description": "Internal Server Error",
  10319. "schema": {
  10320. "$ref": "#/definitions/app.Response"
  10321. }
  10322. }
  10323. }
  10324. }
  10325. },
  10326. "/Trade/QueryRecieptOrder": {
  10327. "get": {
  10328. "security": [
  10329. {
  10330. "ApiKeyAuth": []
  10331. }
  10332. ],
  10333. "description": "说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算",
  10334. "produces": [
  10335. "application/json"
  10336. ],
  10337. "tags": [
  10338. "通用交易"
  10339. ],
  10340. "summary": "点选挂牌委托单据查询(保证金摘牌大厅)",
  10341. "parameters": [
  10342. {
  10343. "type": "integer",
  10344. "description": "页码",
  10345. "name": "page",
  10346. "in": "query"
  10347. },
  10348. {
  10349. "type": "integer",
  10350. "description": "每页条数",
  10351. "name": "pagesize",
  10352. "in": "query"
  10353. },
  10354. {
  10355. "type": "integer",
  10356. "description": "商品ID",
  10357. "name": "goodsID",
  10358. "in": "query",
  10359. "required": true
  10360. },
  10361. {
  10362. "type": "string",
  10363. "description": "所属账户名称",
  10364. "name": "accountName",
  10365. "in": "query"
  10366. },
  10367. {
  10368. "type": "integer",
  10369. "description": "市场ID",
  10370. "name": "marketID",
  10371. "in": "query"
  10372. },
  10373. {
  10374. "type": "integer",
  10375. "description": "方向 - 0:买 1:卖",
  10376. "name": "buyorsell",
  10377. "in": "query",
  10378. "required": true
  10379. }
  10380. ],
  10381. "responses": {
  10382. "200": {
  10383. "description": "OK",
  10384. "schema": {
  10385. "$ref": "#/definitions/trade.QueryRecieptOrderRsp"
  10386. }
  10387. },
  10388. "500": {
  10389. "description": "Internal Server Error",
  10390. "schema": {
  10391. "$ref": "#/definitions/app.Response"
  10392. }
  10393. }
  10394. }
  10395. }
  10396. },
  10397. "/User/AddMessageBoard": {
  10398. "post": {
  10399. "security": [
  10400. {
  10401. "ApiKeyAuth": []
  10402. }
  10403. ],
  10404. "produces": [
  10405. "application/json"
  10406. ],
  10407. "tags": [
  10408. "用户信息"
  10409. ],
  10410. "summary": "添加用户留言板信息",
  10411. "parameters": [
  10412. {
  10413. "type": "integer",
  10414. "description": "用户ID",
  10415. "name": "userID",
  10416. "in": "query",
  10417. "required": true
  10418. },
  10419. {
  10420. "type": "string",
  10421. "description": "留言信息",
  10422. "name": "message",
  10423. "in": "query",
  10424. "required": true
  10425. },
  10426. {
  10427. "type": "string",
  10428. "description": "联系电话",
  10429. "name": "contactNum",
  10430. "in": "query",
  10431. "required": true
  10432. }
  10433. ],
  10434. "responses": {
  10435. "200": {
  10436. "description": "OK",
  10437. "schema": {
  10438. "$ref": "#/definitions/app.Response"
  10439. }
  10440. },
  10441. "500": {
  10442. "description": "Internal Server Error",
  10443. "schema": {
  10444. "$ref": "#/definitions/app.Response"
  10445. }
  10446. }
  10447. }
  10448. }
  10449. },
  10450. "/User/AddUserFavoriteGoods": {
  10451. "post": {
  10452. "security": [
  10453. {
  10454. "ApiKeyAuth": []
  10455. }
  10456. ],
  10457. "produces": [
  10458. "application/json"
  10459. ],
  10460. "tags": [
  10461. "用户信息"
  10462. ],
  10463. "summary": "添加用户商品收藏信息",
  10464. "parameters": [
  10465. {
  10466. "type": "integer",
  10467. "description": "用户ID",
  10468. "name": "userID",
  10469. "in": "query",
  10470. "required": true
  10471. },
  10472. {
  10473. "type": "integer",
  10474. "description": "商品ID",
  10475. "name": "goodsID",
  10476. "in": "query",
  10477. "required": true
  10478. }
  10479. ],
  10480. "responses": {
  10481. "200": {
  10482. "description": "OK",
  10483. "schema": {
  10484. "$ref": "#/definitions/app.Response"
  10485. }
  10486. },
  10487. "500": {
  10488. "description": "Internal Server Error",
  10489. "schema": {
  10490. "$ref": "#/definitions/app.Response"
  10491. }
  10492. }
  10493. }
  10494. }
  10495. },
  10496. "/User/GetLoginID": {
  10497. "get": {
  10498. "description": "UserName 可传入“登录账号”、“登录代码”和“手机号码”",
  10499. "produces": [
  10500. "application/json"
  10501. ],
  10502. "tags": [
  10503. "用户信息"
  10504. ],
  10505. "summary": "获取登录ID",
  10506. "parameters": [
  10507. {
  10508. "type": "string",
  10509. "description": "登录代码",
  10510. "name": "username",
  10511. "in": "query",
  10512. "required": true
  10513. }
  10514. ],
  10515. "responses": {
  10516. "200": {
  10517. "description": "OK",
  10518. "schema": {
  10519. "$ref": "#/definitions/app.Response"
  10520. }
  10521. },
  10522. "500": {
  10523. "description": "Internal Server Error",
  10524. "schema": {
  10525. "$ref": "#/definitions/app.Response"
  10526. }
  10527. }
  10528. }
  10529. }
  10530. },
  10531. "/User/GetUserAccount": {
  10532. "get": {
  10533. "security": [
  10534. {
  10535. "ApiKeyAuth": []
  10536. }
  10537. ],
  10538. "produces": [
  10539. "application/json"
  10540. ],
  10541. "tags": [
  10542. "用户信息"
  10543. ],
  10544. "summary": "获取用户账号信息",
  10545. "parameters": [
  10546. {
  10547. "type": "integer",
  10548. "description": "用户ID",
  10549. "name": "userID",
  10550. "in": "query",
  10551. "required": true
  10552. }
  10553. ],
  10554. "responses": {
  10555. "200": {
  10556. "description": "OK",
  10557. "schema": {
  10558. "$ref": "#/definitions/models.Useraccount"
  10559. }
  10560. },
  10561. "500": {
  10562. "description": "Internal Server Error",
  10563. "schema": {
  10564. "$ref": "#/definitions/app.Response"
  10565. }
  10566. }
  10567. }
  10568. }
  10569. },
  10570. "/User/GetUserAuthStatus": {
  10571. "get": {
  10572. "security": [
  10573. {
  10574. "ApiKeyAuth": []
  10575. }
  10576. ],
  10577. "produces": [
  10578. "application/json"
  10579. ],
  10580. "tags": [
  10581. "用户信息"
  10582. ],
  10583. "summary": "获取用户实名认证状态",
  10584. "parameters": [
  10585. {
  10586. "type": "integer",
  10587. "description": "用户ID",
  10588. "name": "userID",
  10589. "in": "query",
  10590. "required": true
  10591. }
  10592. ],
  10593. "responses": {
  10594. "200": {
  10595. "description": "OK",
  10596. "schema": {
  10597. "$ref": "#/definitions/app.Response"
  10598. }
  10599. },
  10600. "500": {
  10601. "description": "Internal Server Error",
  10602. "schema": {
  10603. "$ref": "#/definitions/app.Response"
  10604. }
  10605. }
  10606. }
  10607. }
  10608. },
  10609. "/User/LoginQuery": {
  10610. "get": {
  10611. "security": [
  10612. {
  10613. "ApiKeyAuth": []
  10614. }
  10615. ],
  10616. "produces": [
  10617. "application/json"
  10618. ],
  10619. "tags": [
  10620. "用户信息"
  10621. ],
  10622. "summary": "账户登录后信息查询",
  10623. "parameters": [
  10624. {
  10625. "type": "integer",
  10626. "description": "登录账号",
  10627. "name": "loginID",
  10628. "in": "query",
  10629. "required": true
  10630. }
  10631. ],
  10632. "responses": {
  10633. "200": {
  10634. "description": "OK",
  10635. "schema": {
  10636. "$ref": "#/definitions/user.LoginQueryRsp"
  10637. }
  10638. },
  10639. "500": {
  10640. "description": "Internal Server Error",
  10641. "schema": {
  10642. "$ref": "#/definitions/app.Response"
  10643. }
  10644. }
  10645. }
  10646. }
  10647. },
  10648. "/User/QueryMessageBoard": {
  10649. "get": {
  10650. "security": [
  10651. {
  10652. "ApiKeyAuth": []
  10653. }
  10654. ],
  10655. "produces": [
  10656. "application/json"
  10657. ],
  10658. "tags": [
  10659. "用户信息"
  10660. ],
  10661. "summary": "获取用户留言板信息",
  10662. "parameters": [
  10663. {
  10664. "type": "integer",
  10665. "description": "用户ID",
  10666. "name": "userID",
  10667. "in": "query",
  10668. "required": true
  10669. }
  10670. ],
  10671. "responses": {
  10672. "200": {
  10673. "description": "OK",
  10674. "schema": {
  10675. "$ref": "#/definitions/models.Messageboard"
  10676. }
  10677. },
  10678. "500": {
  10679. "description": "Internal Server Error",
  10680. "schema": {
  10681. "$ref": "#/definitions/app.Response"
  10682. }
  10683. }
  10684. }
  10685. }
  10686. },
  10687. "/User/QueryUserFavoriteGoodses": {
  10688. "get": {
  10689. "security": [
  10690. {
  10691. "ApiKeyAuth": []
  10692. }
  10693. ],
  10694. "produces": [
  10695. "application/json"
  10696. ],
  10697. "tags": [
  10698. "用户信息"
  10699. ],
  10700. "summary": "获取用户商品收藏信息",
  10701. "parameters": [
  10702. {
  10703. "type": "integer",
  10704. "description": "用户ID",
  10705. "name": "userID",
  10706. "in": "query",
  10707. "required": true
  10708. }
  10709. ],
  10710. "responses": {
  10711. "200": {
  10712. "description": "OK",
  10713. "schema": {
  10714. "$ref": "#/definitions/models.Userfavoritegoods"
  10715. }
  10716. },
  10717. "500": {
  10718. "description": "Internal Server Error",
  10719. "schema": {
  10720. "$ref": "#/definitions/app.Response"
  10721. }
  10722. }
  10723. }
  10724. }
  10725. },
  10726. "/User/QueryUserInfo": {
  10727. "get": {
  10728. "security": [
  10729. {
  10730. "ApiKeyAuth": []
  10731. }
  10732. ],
  10733. "produces": [
  10734. "application/json"
  10735. ],
  10736. "tags": [
  10737. "用户信息"
  10738. ],
  10739. "summary": "获取用户信息",
  10740. "parameters": [
  10741. {
  10742. "type": "integer",
  10743. "description": "用户ID",
  10744. "name": "userID",
  10745. "in": "query",
  10746. "required": true
  10747. },
  10748. {
  10749. "type": "boolean",
  10750. "description": "是否解密",
  10751. "name": "isDecrypt",
  10752. "in": "query"
  10753. }
  10754. ],
  10755. "responses": {
  10756. "200": {
  10757. "description": "OK",
  10758. "schema": {
  10759. "$ref": "#/definitions/models.Userinfo"
  10760. }
  10761. },
  10762. "500": {
  10763. "description": "Internal Server Error",
  10764. "schema": {
  10765. "$ref": "#/definitions/app.Response"
  10766. }
  10767. }
  10768. }
  10769. }
  10770. },
  10771. "/User/QueryUserReferNum": {
  10772. "get": {
  10773. "produces": [
  10774. "application/json"
  10775. ],
  10776. "tags": [
  10777. "用户信息"
  10778. ],
  10779. "summary": "获取用户邀请码",
  10780. "parameters": [
  10781. {
  10782. "type": "integer",
  10783. "description": "用户ID",
  10784. "name": "userID",
  10785. "in": "query",
  10786. "required": true
  10787. }
  10788. ],
  10789. "responses": {
  10790. "200": {
  10791. "description": "OK",
  10792. "schema": {
  10793. "$ref": "#/definitions/app.Response"
  10794. }
  10795. },
  10796. "500": {
  10797. "description": "Internal Server Error",
  10798. "schema": {
  10799. "$ref": "#/definitions/app.Response"
  10800. }
  10801. }
  10802. }
  10803. }
  10804. },
  10805. "/User/RemoveUserFavoriteGoods": {
  10806. "post": {
  10807. "security": [
  10808. {
  10809. "ApiKeyAuth": []
  10810. }
  10811. ],
  10812. "produces": [
  10813. "application/json"
  10814. ],
  10815. "tags": [
  10816. "用户信息"
  10817. ],
  10818. "summary": "移除用户商品收藏信息",
  10819. "parameters": [
  10820. {
  10821. "type": "integer",
  10822. "description": "用户ID",
  10823. "name": "userID",
  10824. "in": "query",
  10825. "required": true
  10826. },
  10827. {
  10828. "type": "integer",
  10829. "description": "商品ID",
  10830. "name": "goodsID",
  10831. "in": "query",
  10832. "required": true
  10833. }
  10834. ],
  10835. "responses": {
  10836. "200": {
  10837. "description": "OK",
  10838. "schema": {
  10839. "$ref": "#/definitions/app.Response"
  10840. }
  10841. },
  10842. "500": {
  10843. "description": "Internal Server Error",
  10844. "schema": {
  10845. "$ref": "#/definitions/app.Response"
  10846. }
  10847. }
  10848. }
  10849. }
  10850. },
  10851. "/User/UpdateUserAccountStatus": {
  10852. "post": {
  10853. "security": [
  10854. {
  10855. "ApiKeyAuth": []
  10856. }
  10857. ],
  10858. "produces": [
  10859. "application/json"
  10860. ],
  10861. "tags": [
  10862. "用户信息"
  10863. ],
  10864. "summary": "更新用户状态",
  10865. "parameters": [
  10866. {
  10867. "type": "integer",
  10868. "description": "用户ID",
  10869. "name": "userID",
  10870. "in": "query",
  10871. "required": true
  10872. },
  10873. {
  10874. "type": "integer",
  10875. "description": "账户状态 - 4:正常 6:注销(停用)",
  10876. "name": "accountStatus",
  10877. "in": "query",
  10878. "required": true
  10879. }
  10880. ],
  10881. "responses": {
  10882. "200": {
  10883. "description": "OK",
  10884. "schema": {
  10885. "$ref": "#/definitions/app.Response"
  10886. }
  10887. },
  10888. "500": {
  10889. "description": "Internal Server Error",
  10890. "schema": {
  10891. "$ref": "#/definitions/app.Response"
  10892. }
  10893. }
  10894. }
  10895. }
  10896. },
  10897. "/WRTrade/GetAllDeliveryGoods": {
  10898. "get": {
  10899. "security": [
  10900. {
  10901. "ApiKeyAuth": []
  10902. },
  10903. {
  10904. "ApiKeyAuth": []
  10905. }
  10906. ],
  10907. "produces": [
  10908. "application/json",
  10909. "application/json"
  10910. ],
  10911. "tags": [
  10912. "仓单贸易",
  10913. "仓单贸易"
  10914. ],
  10915. "summary": "获取带仓单分类的种类信息",
  10916. "responses": {
  10917. "200": {
  10918. "description": "OK",
  10919. "schema": {
  10920. "$ref": "#/definitions/app.Response"
  10921. }
  10922. },
  10923. "500": {
  10924. "description": "Internal Server Error",
  10925. "schema": {
  10926. "$ref": "#/definitions/app.Response"
  10927. }
  10928. }
  10929. }
  10930. }
  10931. },
  10932. "/WrTrade2/QueryFaProductDetail": {
  10933. "get": {
  10934. "security": [
  10935. {
  10936. "ApiKeyAuth": []
  10937. }
  10938. ],
  10939. "description": "页面 买卖大厅 -\u003e 选择融资方案",
  10940. "produces": [
  10941. "application/json"
  10942. ],
  10943. "tags": [
  10944. "仓单贸易v2"
  10945. ],
  10946. "summary": "查询融资产品列表",
  10947. "parameters": [
  10948. {
  10949. "type": "integer",
  10950. "description": "仓单要素id",
  10951. "name": "wrfactortypeid",
  10952. "in": "query",
  10953. "required": true
  10954. }
  10955. ],
  10956. "responses": {
  10957. "200": {
  10958. "description": "OK",
  10959. "schema": {
  10960. "type": "array",
  10961. "items": {
  10962. "$ref": "#/definitions/models.WrFAProductDetail"
  10963. }
  10964. }
  10965. },
  10966. "500": {
  10967. "description": "Internal Server Error",
  10968. "schema": {
  10969. "$ref": "#/definitions/app.Response"
  10970. }
  10971. }
  10972. }
  10973. }
  10974. },
  10975. "/WrTrade2/QueryFilterItem": {
  10976. "get": {
  10977. "security": [
  10978. {
  10979. "ApiKeyAuth": []
  10980. }
  10981. ],
  10982. "produces": [
  10983. "application/json"
  10984. ],
  10985. "tags": [
  10986. "仓单贸易v2"
  10987. ],
  10988. "summary": "查询筛选框列表",
  10989. "parameters": [
  10990. {
  10991. "type": "string",
  10992. "description": "类型(可多选,逗号隔开) 1-品种 2-品类(商品) 3-仓库",
  10993. "name": "itype",
  10994. "in": "query",
  10995. "required": true
  10996. }
  10997. ],
  10998. "responses": {
  10999. "200": {
  11000. "description": "OK",
  11001. "schema": {
  11002. "type": "array",
  11003. "items": {
  11004. "$ref": "#/definitions/models.WrFilterItem"
  11005. }
  11006. }
  11007. },
  11008. "500": {
  11009. "description": "Internal Server Error",
  11010. "schema": {
  11011. "$ref": "#/definitions/app.Response"
  11012. }
  11013. }
  11014. }
  11015. }
  11016. },
  11017. "/WrTrade2/QueryFtDeliveryGoods": {
  11018. "get": {
  11019. "security": [
  11020. {
  11021. "ApiKeyAuth": []
  11022. }
  11023. ],
  11024. "produces": [
  11025. "application/json"
  11026. ],
  11027. "tags": [
  11028. "仓单贸易v2"
  11029. ],
  11030. "summary": "查询品种品类筛选框列表",
  11031. "responses": {
  11032. "200": {
  11033. "description": "OK",
  11034. "schema": {
  11035. "type": "array",
  11036. "items": {
  11037. "$ref": "#/definitions/models.WrFtDeliveryGoods"
  11038. }
  11039. }
  11040. },
  11041. "500": {
  11042. "description": "Internal Server Error",
  11043. "schema": {
  11044. "$ref": "#/definitions/app.Response"
  11045. }
  11046. }
  11047. }
  11048. }
  11049. },
  11050. "/WrTrade2/QueryHoldLB": {
  11051. "get": {
  11052. "security": [
  11053. {
  11054. "ApiKeyAuth": []
  11055. }
  11056. ],
  11057. "description": "页面 现货仓单-\u003e现货明细? , 表名叫仓单持有记录, 有挂单特有维度,为防误解汇总也有相关维度, 新写接口,不跟汇总合在一起了。",
  11058. "produces": [
  11059. "application/json"
  11060. ],
  11061. "tags": [
  11062. "仓单贸易v2"
  11063. ],
  11064. "summary": "查询仓单持有记录",
  11065. "parameters": [
  11066. {
  11067. "type": "integer",
  11068. "description": "资金账号",
  11069. "name": "accountid",
  11070. "in": "query",
  11071. "required": true
  11072. },
  11073. {
  11074. "type": "integer",
  11075. "description": "仓库id",
  11076. "name": "warehouseid",
  11077. "in": "query"
  11078. },
  11079. {
  11080. "type": "integer",
  11081. "description": "品种id",
  11082. "name": "deliverygoodsid",
  11083. "in": "query"
  11084. },
  11085. {
  11086. "type": "integer",
  11087. "description": "品类id",
  11088. "name": "wrstandardid",
  11089. "in": "query"
  11090. }
  11091. ],
  11092. "responses": {
  11093. "200": {
  11094. "description": "OK",
  11095. "schema": {
  11096. "type": "array",
  11097. "items": {
  11098. "$ref": "#/definitions/models.WrHoldLB"
  11099. }
  11100. }
  11101. },
  11102. "500": {
  11103. "description": "Internal Server Error",
  11104. "schema": {
  11105. "$ref": "#/definitions/app.Response"
  11106. }
  11107. }
  11108. }
  11109. }
  11110. },
  11111. "/WrTrade2/QueryOrderQuote": {
  11112. "get": {
  11113. "security": [
  11114. {
  11115. "ApiKeyAuth": []
  11116. }
  11117. ],
  11118. "description": "仓单交易 wrfactortypeid 唯一确定1条记录, 仓单预售 wrfactortypeid + deliverymonth 唯一确定1条记录",
  11119. "produces": [
  11120. "application/json"
  11121. ],
  11122. "tags": [
  11123. "仓单贸易v2"
  11124. ],
  11125. "summary": "查询大厅行情列表",
  11126. "parameters": [
  11127. {
  11128. "type": "integer",
  11129. "description": "页码",
  11130. "name": "page",
  11131. "in": "query"
  11132. },
  11133. {
  11134. "type": "integer",
  11135. "description": "每页条数",
  11136. "name": "pagesize",
  11137. "in": "query"
  11138. },
  11139. {
  11140. "type": "integer",
  11141. "description": "仓单贸易市场id",
  11142. "name": "marketid",
  11143. "in": "query"
  11144. },
  11145. {
  11146. "type": "integer",
  11147. "description": "价格方式 - 1:固定价 2-浮动价",
  11148. "name": "wrpricetype",
  11149. "in": "query",
  11150. "required": true
  11151. },
  11152. {
  11153. "type": "integer",
  11154. "description": "0:仓单预售 1:仓单贸易",
  11155. "name": "haswr",
  11156. "in": "query",
  11157. "required": true
  11158. },
  11159. {
  11160. "type": "string",
  11161. "description": "商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm",
  11162. "name": "dgitemname",
  11163. "in": "query"
  11164. },
  11165. {
  11166. "type": "integer",
  11167. "description": "仓库id(筛选条件)",
  11168. "name": "warehouseid",
  11169. "in": "query"
  11170. },
  11171. {
  11172. "type": "integer",
  11173. "description": "品种id",
  11174. "name": "deliverygoodsid",
  11175. "in": "query"
  11176. },
  11177. {
  11178. "type": "integer",
  11179. "description": "品类id",
  11180. "name": "wrstandardid",
  11181. "in": "query"
  11182. },
  11183. {
  11184. "type": "integer",
  11185. "description": "仓单要素id",
  11186. "name": "wrfactortypeid",
  11187. "in": "query"
  11188. },
  11189. {
  11190. "type": "string",
  11191. "description": "交收月(yyyy-mm) 仓单预售填写",
  11192. "name": "deliverymonth",
  11193. "in": "query"
  11194. }
  11195. ],
  11196. "responses": {
  11197. "200": {
  11198. "description": "OK",
  11199. "schema": {
  11200. "type": "array",
  11201. "items": {
  11202. "$ref": "#/definitions/models.WrOrderQuote"
  11203. }
  11204. }
  11205. },
  11206. "500": {
  11207. "description": "Internal Server Error",
  11208. "schema": {
  11209. "$ref": "#/definitions/app.Response"
  11210. }
  11211. }
  11212. }
  11213. }
  11214. },
  11215. "/WrTrade2/QueryOrderQuoteDetail": {
  11216. "get": {
  11217. "security": [
  11218. {
  11219. "ApiKeyAuth": []
  11220. }
  11221. ],
  11222. "produces": [
  11223. "application/json"
  11224. ],
  11225. "tags": [
  11226. "仓单贸易v2"
  11227. ],
  11228. "summary": "查询买卖大厅",
  11229. "parameters": [
  11230. {
  11231. "type": "integer",
  11232. "description": "页码",
  11233. "name": "page",
  11234. "in": "query"
  11235. },
  11236. {
  11237. "type": "integer",
  11238. "description": "每页条数",
  11239. "name": "pagesize",
  11240. "in": "query"
  11241. },
  11242. {
  11243. "type": "integer",
  11244. "description": "仓单贸易市场id",
  11245. "name": "marketid",
  11246. "in": "query"
  11247. },
  11248. {
  11249. "type": "integer",
  11250. "description": "价格方式 - 1:固定价 2-浮动价",
  11251. "name": "wrpricetype",
  11252. "in": "query",
  11253. "required": true
  11254. },
  11255. {
  11256. "type": "integer",
  11257. "description": "0:仓单预售 1:仓单贸易",
  11258. "name": "haswr",
  11259. "in": "query",
  11260. "required": true
  11261. },
  11262. {
  11263. "type": "integer",
  11264. "description": "仓单要素id",
  11265. "name": "wrfactortypeid",
  11266. "in": "query",
  11267. "required": true
  11268. },
  11269. {
  11270. "type": "integer",
  11271. "description": "期货商品id(浮动价方式时填)",
  11272. "name": "goodsid",
  11273. "in": "query"
  11274. },
  11275. {
  11276. "type": "integer",
  11277. "description": "买卖方向 0-买 1-卖",
  11278. "name": "buyorsell",
  11279. "in": "query",
  11280. "required": true
  11281. },
  11282. {
  11283. "type": "string",
  11284. "description": "交收月(yyyy-mm) 查仓单预售的买卖大厅时填写",
  11285. "name": "deliverymonth",
  11286. "in": "query"
  11287. }
  11288. ],
  11289. "responses": {
  11290. "200": {
  11291. "description": "OK",
  11292. "schema": {
  11293. "type": "array",
  11294. "items": {
  11295. "$ref": "#/definitions/models.WrOrderQuoteDetail"
  11296. }
  11297. }
  11298. },
  11299. "500": {
  11300. "description": "Internal Server Error",
  11301. "schema": {
  11302. "$ref": "#/definitions/app.Response"
  11303. }
  11304. }
  11305. }
  11306. }
  11307. },
  11308. "/WrTrade2/QueryPerformancePlan": {
  11309. "get": {
  11310. "security": [
  11311. {
  11312. "ApiKeyAuth": []
  11313. }
  11314. ],
  11315. "produces": [
  11316. "application/json"
  11317. ],
  11318. "tags": [
  11319. "仓单贸易v2"
  11320. ],
  11321. "summary": "查询履约信息",
  11322. "parameters": [
  11323. {
  11324. "type": "integer",
  11325. "description": "用户id",
  11326. "name": "userid",
  11327. "in": "query",
  11328. "required": true
  11329. },
  11330. {
  11331. "type": "integer",
  11332. "description": "买卖方向 0-买 1-卖",
  11333. "name": "buyorsell",
  11334. "in": "query",
  11335. "required": true
  11336. }
  11337. ],
  11338. "responses": {
  11339. "200": {
  11340. "description": "OK",
  11341. "schema": {
  11342. "type": "array",
  11343. "items": {
  11344. "$ref": "#/definitions/models.WrPerformancePlan"
  11345. }
  11346. }
  11347. },
  11348. "500": {
  11349. "description": "Internal Server Error",
  11350. "schema": {
  11351. "$ref": "#/definitions/app.Response"
  11352. }
  11353. }
  11354. }
  11355. }
  11356. },
  11357. "/WrTrade2/QueryWrFactorTypeInfo": {
  11358. "get": {
  11359. "security": [
  11360. {
  11361. "ApiKeyAuth": []
  11362. }
  11363. ],
  11364. "produces": [
  11365. "application/json"
  11366. ],
  11367. "tags": [
  11368. "仓单贸易v2"
  11369. ],
  11370. "summary": "查询仓单要素详细信息",
  11371. "parameters": [
  11372. {
  11373. "type": "integer",
  11374. "description": "仓单要素id",
  11375. "name": "wrfactortypeid",
  11376. "in": "query",
  11377. "required": true
  11378. }
  11379. ],
  11380. "responses": {
  11381. "200": {
  11382. "description": "OK",
  11383. "schema": {
  11384. "type": "array",
  11385. "items": {
  11386. "$ref": "#/definitions/models.WrFactorTypeInfo"
  11387. }
  11388. }
  11389. },
  11390. "500": {
  11391. "description": "Internal Server Error",
  11392. "schema": {
  11393. "$ref": "#/definitions/app.Response"
  11394. }
  11395. }
  11396. }
  11397. }
  11398. },
  11399. "/WrTrade2/QueryWrGoodsInfo": {
  11400. "get": {
  11401. "security": [
  11402. {
  11403. "ApiKeyAuth": []
  11404. }
  11405. ],
  11406. "produces": [
  11407. "application/json"
  11408. ],
  11409. "tags": [
  11410. "仓单贸易v2"
  11411. ],
  11412. "summary": "查询仓单商品信息",
  11413. "parameters": [
  11414. {
  11415. "type": "integer",
  11416. "description": "仓单贸易市场id",
  11417. "name": "marketid",
  11418. "in": "query"
  11419. },
  11420. {
  11421. "type": "integer",
  11422. "description": "0:仓单预售 1:仓单贸易",
  11423. "name": "haswr",
  11424. "in": "query",
  11425. "required": true
  11426. },
  11427. {
  11428. "type": "integer",
  11429. "description": "仓单要素id",
  11430. "name": "wrfactortypeid",
  11431. "in": "query",
  11432. "required": true
  11433. }
  11434. ],
  11435. "responses": {
  11436. "200": {
  11437. "description": "OK",
  11438. "schema": {
  11439. "type": "array",
  11440. "items": {
  11441. "$ref": "#/definitions/models.WrGoodsInfo"
  11442. }
  11443. }
  11444. },
  11445. "500": {
  11446. "description": "Internal Server Error",
  11447. "schema": {
  11448. "$ref": "#/definitions/app.Response"
  11449. }
  11450. }
  11451. }
  11452. }
  11453. },
  11454. "/WrTrade2/QueryWrMarketTradeConfig": {
  11455. "get": {
  11456. "security": [
  11457. {
  11458. "ApiKeyAuth": []
  11459. }
  11460. ],
  11461. "produces": [
  11462. "application/json"
  11463. ],
  11464. "tags": [
  11465. "仓单贸易v2"
  11466. ],
  11467. "summary": "查询市场交易参数配置",
  11468. "parameters": [
  11469. {
  11470. "type": "integer",
  11471. "description": "市场id",
  11472. "name": "marketid",
  11473. "in": "query"
  11474. }
  11475. ],
  11476. "responses": {
  11477. "200": {
  11478. "description": "OK",
  11479. "schema": {
  11480. "type": "array",
  11481. "items": {
  11482. "$ref": "#/definitions/models.WrMarketTradeConfig"
  11483. }
  11484. }
  11485. },
  11486. "500": {
  11487. "description": "Internal Server Error",
  11488. "schema": {
  11489. "$ref": "#/definitions/app.Response"
  11490. }
  11491. }
  11492. }
  11493. }
  11494. },
  11495. "/WrTrade2/QueryWrOrderDetail": {
  11496. "get": {
  11497. "security": [
  11498. {
  11499. "ApiKeyAuth": []
  11500. }
  11501. ],
  11502. "description": "页面 现货仓单 | 预售仓单 -\u003e 挂单",
  11503. "produces": [
  11504. "application/json"
  11505. ],
  11506. "tags": [
  11507. "仓单贸易v2"
  11508. ],
  11509. "summary": "查询仓单委托单(挂单)",
  11510. "parameters": [
  11511. {
  11512. "type": "integer",
  11513. "description": "页码",
  11514. "name": "page",
  11515. "in": "query"
  11516. },
  11517. {
  11518. "type": "integer",
  11519. "description": "每页条数",
  11520. "name": "pagesize",
  11521. "in": "query"
  11522. },
  11523. {
  11524. "type": "integer",
  11525. "description": "用户id",
  11526. "name": "userid",
  11527. "in": "query",
  11528. "required": true
  11529. },
  11530. {
  11531. "type": "integer",
  11532. "description": "仓单贸易市场id",
  11533. "name": "marketid",
  11534. "in": "query"
  11535. },
  11536. {
  11537. "type": "integer",
  11538. "description": "0:仓单预售 1:仓单贸易",
  11539. "name": "haswr",
  11540. "in": "query",
  11541. "required": true
  11542. }
  11543. ],
  11544. "responses": {
  11545. "200": {
  11546. "description": "OK",
  11547. "schema": {
  11548. "type": "array",
  11549. "items": {
  11550. "$ref": "#/definitions/models.WrOrderDetail"
  11551. }
  11552. }
  11553. },
  11554. "500": {
  11555. "description": "Internal Server Error",
  11556. "schema": {
  11557. "$ref": "#/definitions/app.Response"
  11558. }
  11559. }
  11560. }
  11561. }
  11562. },
  11563. "/WrTrade2/QueryWrPerformancePlanStep": {
  11564. "get": {
  11565. "security": [
  11566. {
  11567. "ApiKeyAuth": []
  11568. }
  11569. ],
  11570. "produces": [
  11571. "application/json"
  11572. ],
  11573. "tags": [
  11574. "仓单贸易v2"
  11575. ],
  11576. "summary": "查询履约信息详情",
  11577. "parameters": [
  11578. {
  11579. "type": "integer",
  11580. "description": "履约计划id(performanceplanid)",
  11581. "name": "planid",
  11582. "in": "query",
  11583. "required": true
  11584. },
  11585. {
  11586. "type": "integer",
  11587. "description": "当前步骤id",
  11588. "name": "curstepid",
  11589. "in": "query"
  11590. }
  11591. ],
  11592. "responses": {
  11593. "200": {
  11594. "description": "OK",
  11595. "schema": {
  11596. "type": "array",
  11597. "items": {
  11598. "$ref": "#/definitions/models.WrPerformancePlanStep"
  11599. }
  11600. }
  11601. },
  11602. "500": {
  11603. "description": "Internal Server Error",
  11604. "schema": {
  11605. "$ref": "#/definitions/app.Response"
  11606. }
  11607. }
  11608. }
  11609. }
  11610. },
  11611. "/WrTrade2/QueryWrPosition": {
  11612. "get": {
  11613. "security": [
  11614. {
  11615. "ApiKeyAuth": []
  11616. }
  11617. ],
  11618. "description": "页面 现货仓单-\u003e现货汇总/库存汇总; 预售仓单-\u003e订单汇总",
  11619. "produces": [
  11620. "application/json"
  11621. ],
  11622. "tags": [
  11623. "仓单贸易v2"
  11624. ],
  11625. "summary": "查询现货(预售)仓单持仓",
  11626. "parameters": [
  11627. {
  11628. "type": "integer",
  11629. "description": "用户id",
  11630. "name": "userid",
  11631. "in": "query",
  11632. "required": true
  11633. },
  11634. {
  11635. "type": "integer",
  11636. "description": "查询类型 1-现货汇总 2-库存汇总(订单汇总)",
  11637. "name": "querytype",
  11638. "in": "query",
  11639. "required": true
  11640. },
  11641. {
  11642. "type": "integer",
  11643. "description": "0:仓单预售 1:仓单贸易",
  11644. "name": "haswr",
  11645. "in": "query",
  11646. "required": true
  11647. }
  11648. ],
  11649. "responses": {
  11650. "200": {
  11651. "description": "OK",
  11652. "schema": {
  11653. "type": "array",
  11654. "items": {
  11655. "$ref": "#/definitions/models.WrPosition"
  11656. }
  11657. }
  11658. },
  11659. "500": {
  11660. "description": "Internal Server Error",
  11661. "schema": {
  11662. "$ref": "#/definitions/app.Response"
  11663. }
  11664. }
  11665. }
  11666. }
  11667. },
  11668. "/WrTrade2/QueryWrSpecialMatchOrder": {
  11669. "get": {
  11670. "security": [
  11671. {
  11672. "ApiKeyAuth": []
  11673. }
  11674. ],
  11675. "description": "页面 现货仓单 | 预售仓单 -\u003e 指定成交",
  11676. "produces": [
  11677. "application/json"
  11678. ],
  11679. "tags": [
  11680. "仓单贸易v2"
  11681. ],
  11682. "summary": "查询指定成交",
  11683. "parameters": [
  11684. {
  11685. "type": "integer",
  11686. "description": "页码",
  11687. "name": "page",
  11688. "in": "query"
  11689. },
  11690. {
  11691. "type": "integer",
  11692. "description": "每页条数",
  11693. "name": "pagesize",
  11694. "in": "query"
  11695. },
  11696. {
  11697. "type": "integer",
  11698. "description": "用户id",
  11699. "name": "userid",
  11700. "in": "query",
  11701. "required": true
  11702. },
  11703. {
  11704. "type": "integer",
  11705. "description": "仓单贸易市场id",
  11706. "name": "marketid",
  11707. "in": "query"
  11708. },
  11709. {
  11710. "type": "integer",
  11711. "description": "0:仓单预售 1:仓单贸易",
  11712. "name": "haswr",
  11713. "in": "query",
  11714. "required": true
  11715. }
  11716. ],
  11717. "responses": {
  11718. "200": {
  11719. "description": "OK",
  11720. "schema": {
  11721. "type": "array",
  11722. "items": {
  11723. "$ref": "#/definitions/models.WrSpecialMatchOrder"
  11724. }
  11725. }
  11726. },
  11727. "500": {
  11728. "description": "Internal Server Error",
  11729. "schema": {
  11730. "$ref": "#/definitions/app.Response"
  11731. }
  11732. }
  11733. }
  11734. }
  11735. },
  11736. "/WrTrade2/QueryWrStandardFactoryItem": {
  11737. "get": {
  11738. "security": [
  11739. {
  11740. "ApiKeyAuth": []
  11741. }
  11742. ],
  11743. "produces": [
  11744. "application/json"
  11745. ],
  11746. "tags": [
  11747. "仓单贸易v2"
  11748. ],
  11749. "summary": "查询品类要素定义项",
  11750. "parameters": [
  11751. {
  11752. "type": "integer",
  11753. "description": "品类id",
  11754. "name": "wrstandardid",
  11755. "in": "query",
  11756. "required": true
  11757. }
  11758. ],
  11759. "responses": {
  11760. "200": {
  11761. "description": "OK",
  11762. "schema": {
  11763. "type": "array",
  11764. "items": {
  11765. "$ref": "#/definitions/models.WrStandardFactoryItemEx"
  11766. }
  11767. }
  11768. },
  11769. "500": {
  11770. "description": "Internal Server Error",
  11771. "schema": {
  11772. "$ref": "#/definitions/app.Response"
  11773. }
  11774. }
  11775. }
  11776. }
  11777. },
  11778. "/WrTrade2/QueryWrTradeDetail": {
  11779. "get": {
  11780. "security": [
  11781. {
  11782. "ApiKeyAuth": []
  11783. }
  11784. ],
  11785. "produces": [
  11786. "application/json"
  11787. ],
  11788. "tags": [
  11789. "仓单贸易v2"
  11790. ],
  11791. "summary": "查询仓单成交明细",
  11792. "parameters": [
  11793. {
  11794. "type": "integer",
  11795. "description": "页码",
  11796. "name": "page",
  11797. "in": "query"
  11798. },
  11799. {
  11800. "type": "integer",
  11801. "description": "每页条数",
  11802. "name": "pagesize",
  11803. "in": "query"
  11804. },
  11805. {
  11806. "type": "integer",
  11807. "description": "用户id",
  11808. "name": "userid",
  11809. "in": "query",
  11810. "required": true
  11811. },
  11812. {
  11813. "type": "integer",
  11814. "description": "仓单贸易市场id",
  11815. "name": "marketid",
  11816. "in": "query"
  11817. },
  11818. {
  11819. "type": "integer",
  11820. "description": "0:仓单预售 1:仓单贸易",
  11821. "name": "haswr",
  11822. "in": "query",
  11823. "required": true
  11824. }
  11825. ],
  11826. "responses": {
  11827. "200": {
  11828. "description": "OK",
  11829. "schema": {
  11830. "type": "array",
  11831. "items": {
  11832. "$ref": "#/definitions/models.WrTradeDetail"
  11833. }
  11834. }
  11835. },
  11836. "500": {
  11837. "description": "Internal Server Error",
  11838. "schema": {
  11839. "$ref": "#/definitions/app.Response"
  11840. }
  11841. }
  11842. }
  11843. }
  11844. }
  11845. },
  11846. "definitions": {
  11847. "app.Response": {
  11848. "type": "object",
  11849. "properties": {
  11850. "code": {
  11851. "type": "integer"
  11852. },
  11853. "data": {
  11854. "type": "object"
  11855. },
  11856. "msg": {
  11857. "type": "string"
  11858. },
  11859. "page": {
  11860. "description": "页码",
  11861. "type": "integer"
  11862. },
  11863. "pagesize": {
  11864. "description": "每页条数",
  11865. "type": "integer"
  11866. },
  11867. "total": {
  11868. "description": "总条数",
  11869. "type": "integer"
  11870. }
  11871. }
  11872. },
  11873. "common.ClientMenu": {
  11874. "type": "object",
  11875. "properties": {
  11876. "children": {
  11877. "description": "子菜单列表",
  11878. "type": "array",
  11879. "items": {
  11880. "$ref": "#/definitions/common.ClientMenu"
  11881. }
  11882. },
  11883. "code": {
  11884. "description": "ID",
  11885. "type": "string"
  11886. },
  11887. "isshow": {
  11888. "description": "是否显示",
  11889. "type": "boolean"
  11890. },
  11891. "remark": {
  11892. "description": "备注",
  11893. "type": "string"
  11894. },
  11895. "rulekey": {
  11896. "description": "对应权限主键,对应FUNCMENULIST表RESOURCECODE",
  11897. "type": "string"
  11898. },
  11899. "sort": {
  11900. "description": "排序",
  11901. "type": "integer"
  11902. },
  11903. "title": {
  11904. "description": "标题",
  11905. "type": "string"
  11906. },
  11907. "type": {
  11908. "description": "类型,1:菜单 2:按钮",
  11909. "type": "integer"
  11910. },
  11911. "url": {
  11912. "description": "URL",
  11913. "type": "string"
  11914. }
  11915. }
  11916. },
  11917. "common.QueryImageConfigsRsp": {
  11918. "type": "object",
  11919. "required": [
  11920. "configid"
  11921. ],
  11922. "properties": {
  11923. "areauserid": {
  11924. "description": "所属机构ID",
  11925. "type": "integer"
  11926. },
  11927. "configid": {
  11928. "description": "配置ID(SEQ_SZDZ2_IMAGECONFIG)",
  11929. "type": "integer"
  11930. },
  11931. "createdate": {
  11932. "description": "创建时间",
  11933. "type": "string"
  11934. },
  11935. "creatorid": {
  11936. "description": "创建人",
  11937. "type": "integer"
  11938. },
  11939. "imagepath": {
  11940. "description": "图片",
  11941. "type": "string"
  11942. },
  11943. "imagetype": {
  11944. "description": "类型 - 1:首页轮播(移动) 2:我的(移动)",
  11945. "type": "integer"
  11946. },
  11947. "isshow": {
  11948. "description": "是否展示 - 0:不展示 1:展示",
  11949. "type": "integer"
  11950. },
  11951. "marketid": {
  11952. "description": "市场ID",
  11953. "type": "integer"
  11954. },
  11955. "modifierid": {
  11956. "description": "操作人",
  11957. "type": "integer"
  11958. },
  11959. "sort": {
  11960. "description": "排序",
  11961. "type": "integer"
  11962. },
  11963. "title": {
  11964. "description": "标题",
  11965. "type": "string"
  11966. },
  11967. "trademode": {
  11968. "description": "交易模式",
  11969. "type": "integer"
  11970. },
  11971. "updatedate": {
  11972. "description": "修改时间",
  11973. "type": "string"
  11974. },
  11975. "url": {
  11976. "description": "链接(地址或商品ID)",
  11977. "type": "string"
  11978. },
  11979. "urltype": {
  11980. "description": "链接类型 - 1:直接地址 2:商品ID",
  11981. "type": "integer"
  11982. }
  11983. }
  11984. },
  11985. "common.QueryNoticeRsp": {
  11986. "type": "object",
  11987. "required": [
  11988. "autoid"
  11989. ],
  11990. "properties": {
  11991. "auditoruserid": {
  11992. "description": "审核人",
  11993. "type": "integer"
  11994. },
  11995. "auditremark": {
  11996. "description": "审核备注",
  11997. "type": "string"
  11998. },
  11999. "audittime": {
  12000. "description": "审核日期",
  12001. "type": "string"
  12002. },
  12003. "autoid": {
  12004. "description": "自增ID",
  12005. "type": "integer"
  12006. },
  12007. "content": {
  12008. "description": "内容",
  12009. "type": "string"
  12010. },
  12011. "createtime": {
  12012. "description": "创建时间",
  12013. "type": "string"
  12014. },
  12015. "creatorid": {
  12016. "description": "建仓人",
  12017. "type": "integer"
  12018. },
  12019. "endtime": {
  12020. "description": "结束时间",
  12021. "type": "string"
  12022. },
  12023. "istop": {
  12024. "description": "是否置顶 - 0:不置顶 1:置顶",
  12025. "type": "integer"
  12026. },
  12027. "msgiconurl": {
  12028. "description": "消息图标Url",
  12029. "type": "string"
  12030. },
  12031. "msgtype": {
  12032. "description": "消息类型 - 1:公告通知 2:系统消息 3:商品到期提货通知",
  12033. "type": "integer"
  12034. },
  12035. "publisher": {
  12036. "description": "消息发布者",
  12037. "type": "string"
  12038. },
  12039. "readed": {
  12040. "description": "是否已读",
  12041. "type": "boolean"
  12042. },
  12043. "scheduletime": {
  12044. "description": "计划发送时间",
  12045. "type": "string"
  12046. },
  12047. "sendtype": {
  12048. "description": "推送方式 - 1:全体广播 2:按会员广播 3:个人推送 4:按会员广播(仅会员)",
  12049. "type": "integer"
  12050. },
  12051. "sentstatus": {
  12052. "description": "推送状态 - 0:未推送 1:已推送 2:审核拒绝",
  12053. "type": "integer"
  12054. },
  12055. "title": {
  12056. "description": "标题",
  12057. "type": "string"
  12058. },
  12059. "userid": {
  12060. "description": "会员/投资者ID推送方式 为 个人时,填写投资者ID",
  12061. "type": "integer"
  12062. }
  12063. }
  12064. },
  12065. "common.QueryProvincesAndCitiesRsp": {
  12066. "type": "object",
  12067. "properties": {
  12068. "cities": {
  12069. "description": "市",
  12070. "type": "array",
  12071. "items": {
  12072. "$ref": "#/definitions/models.Division"
  12073. }
  12074. },
  12075. "province": {
  12076. "description": "省",
  12077. "type": "object",
  12078. "$ref": "#/definitions/models.Division"
  12079. }
  12080. }
  12081. },
  12082. "common.QueryTableDefineRsp": {
  12083. "type": "object",
  12084. "required": [
  12085. "tablekey"
  12086. ],
  12087. "properties": {
  12088. "columns": {
  12089. "description": "列头信息数组",
  12090. "type": "array",
  12091. "items": {
  12092. "$ref": "#/definitions/models.Tablecolumnconfig"
  12093. }
  12094. },
  12095. "remark": {
  12096. "description": "Remark",
  12097. "type": "string"
  12098. },
  12099. "tabelmenu": {
  12100. "description": "列表菜单",
  12101. "type": "string"
  12102. },
  12103. "tablekey": {
  12104. "description": "列表Key",
  12105. "type": "string"
  12106. },
  12107. "tablename": {
  12108. "description": "列表名称",
  12109. "type": "string"
  12110. },
  12111. "tabletype": {
  12112. "description": "列表类型 - 1:管理端 2:终端",
  12113. "type": "integer"
  12114. }
  12115. }
  12116. },
  12117. "common.QueryTraderMenuRsp": {
  12118. "type": "object",
  12119. "properties": {
  12120. "OperationMenu": {
  12121. "description": "功能菜单",
  12122. "type": "array",
  12123. "items": {
  12124. "$ref": "#/definitions/models.OperationPrimaryMenu"
  12125. }
  12126. },
  12127. "QuoteMenu": {
  12128. "description": "报价牌分类菜单",
  12129. "type": "array",
  12130. "items": {
  12131. "$ref": "#/definitions/models.QuotePrimaryMenu"
  12132. }
  12133. }
  12134. }
  12135. },
  12136. "cptrade.Cptradepositioncancel": {
  12137. "type": "object",
  12138. "required": [
  12139. "cancelid"
  12140. ],
  12141. "properties": {
  12142. "accountid": {
  12143. "description": "申请人账户ID",
  12144. "type": "integer"
  12145. },
  12146. "applystatus": {
  12147. "description": "申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  12148. "type": "integer"
  12149. },
  12150. "applytime": {
  12151. "description": "申请时间",
  12152. "type": "string"
  12153. },
  12154. "cancelid": {
  12155. "description": "注销ID(SEQ_CPTRADE_POSITIONCANCEL)",
  12156. "type": "integer"
  12157. },
  12158. "cancelqty": {
  12159. "description": "注销数量",
  12160. "type": "integer"
  12161. },
  12162. "createtime": {
  12163. "description": "创建时间",
  12164. "type": "string"
  12165. },
  12166. "creatorid": {
  12167. "description": "创建人ID",
  12168. "type": "integer"
  12169. },
  12170. "creatorname": {
  12171. "description": "创建人",
  12172. "type": "string"
  12173. },
  12174. "goodscode": {
  12175. "description": "订单商品代码",
  12176. "type": "string"
  12177. },
  12178. "goodsid": {
  12179. "description": "商品ID",
  12180. "type": "integer"
  12181. },
  12182. "goodsname": {
  12183. "description": "订单商品名称",
  12184. "type": "string"
  12185. },
  12186. "goodunit": {
  12187. "description": "报价单位",
  12188. "type": "string"
  12189. },
  12190. "handlestatus": {
  12191. "description": "处理状态",
  12192. "type": "integer"
  12193. },
  12194. "marketid": {
  12195. "description": "市场ID",
  12196. "type": "integer"
  12197. },
  12198. "marketname": {
  12199. "description": "市场名称",
  12200. "type": "string"
  12201. },
  12202. "tradedate": {
  12203. "description": "交易日(yyyyMMdd)",
  12204. "type": "string"
  12205. },
  12206. "userid": {
  12207. "description": "申请人ID",
  12208. "type": "integer"
  12209. }
  12210. }
  12211. },
  12212. "cptrade.Cptradepresaleapply": {
  12213. "type": "object",
  12214. "required": [
  12215. "applyid"
  12216. ],
  12217. "properties": {
  12218. "accountid": {
  12219. "description": "申请人账户ID",
  12220. "type": "integer"
  12221. },
  12222. "applyid": {
  12223. "description": "申请ID(181+Unix秒时间戳(10位)+xxxxxx)",
  12224. "type": "integer"
  12225. },
  12226. "applyremark": {
  12227. "description": "申请备注",
  12228. "type": "string"
  12229. },
  12230. "applystatus": {
  12231. "description": "申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  12232. "type": "integer"
  12233. },
  12234. "applytime": {
  12235. "description": "申请时间",
  12236. "type": "string"
  12237. },
  12238. "attachmenturl": {
  12239. "description": "附件地址",
  12240. "type": "string"
  12241. },
  12242. "endtime": {
  12243. "description": "预售结束时间",
  12244. "type": "string"
  12245. },
  12246. "goodscode": {
  12247. "description": "商品代码",
  12248. "type": "string"
  12249. },
  12250. "goodsid": {
  12251. "description": "商品ID",
  12252. "type": "integer"
  12253. },
  12254. "goodsname": {
  12255. "description": "商品名称",
  12256. "type": "string"
  12257. },
  12258. "goodunit": {
  12259. "description": "报价单位",
  12260. "type": "string"
  12261. },
  12262. "handlestatus": {
  12263. "description": "处理状态",
  12264. "type": "integer"
  12265. },
  12266. "marketid": {
  12267. "description": "预售市场ID",
  12268. "type": "integer"
  12269. },
  12270. "marketname": {
  12271. "description": "预售市场名称",
  12272. "type": "string"
  12273. },
  12274. "presaleqty": {
  12275. "description": "预售数量",
  12276. "type": "integer"
  12277. },
  12278. "relatedgoodscode": {
  12279. "description": "关联交易合约代码",
  12280. "type": "string"
  12281. },
  12282. "relatedgoodsid": {
  12283. "description": "关联交易合约ID",
  12284. "type": "integer"
  12285. },
  12286. "relatedgoodsname": {
  12287. "description": "关联交易合约名称",
  12288. "type": "string"
  12289. },
  12290. "starttime": {
  12291. "description": "预售开始时间",
  12292. "type": "string"
  12293. },
  12294. "tradedate": {
  12295. "description": "交易日(yyyyMMdd)",
  12296. "type": "string"
  12297. },
  12298. "trademode": {
  12299. "description": "交易模式 - 16:挂牌点选 21:大宗竞拍",
  12300. "type": "integer"
  12301. },
  12302. "userid": {
  12303. "description": "申请人ID",
  12304. "type": "integer"
  12305. }
  12306. }
  12307. },
  12308. "cptrade.Cptradeusergoodsdata": {
  12309. "type": "object",
  12310. "required": [
  12311. "accountid",
  12312. "goodsid"
  12313. ],
  12314. "properties": {
  12315. "EnabledQty": {
  12316. "description": "可用量",
  12317. "type": "integer"
  12318. },
  12319. "GoodsCode": {
  12320. "description": "订单商品代码",
  12321. "type": "string"
  12322. },
  12323. "GoodsName": {
  12324. "description": "订单商品名称",
  12325. "type": "string"
  12326. },
  12327. "WRStandardCode": {
  12328. "description": "仓单标准代码",
  12329. "type": "string"
  12330. },
  12331. "WRStandardName": {
  12332. "description": "仓单标准名称",
  12333. "type": "string"
  12334. },
  12335. "accountid": {
  12336. "description": "账户ID",
  12337. "type": "integer"
  12338. },
  12339. "cancelqty": {
  12340. "description": "注销量",
  12341. "type": "integer"
  12342. },
  12343. "curpresaleqty": {
  12344. "description": "当前预售量",
  12345. "type": "integer"
  12346. },
  12347. "deliveryqty": {
  12348. "description": "交割量",
  12349. "type": "integer"
  12350. },
  12351. "freezeamount": {
  12352. "description": "冻结金额",
  12353. "type": "number"
  12354. },
  12355. "goodsid": {
  12356. "description": "商品ID",
  12357. "type": "integer"
  12358. },
  12359. "goodunit": {
  12360. "description": "报价单位",
  12361. "type": "string"
  12362. },
  12363. "hasspotfreeze": {
  12364. "description": "是否有现货冻结 - 0:否 1:有",
  12365. "type": "integer"
  12366. },
  12367. "inqty": {
  12368. "description": "转入量(总数量)",
  12369. "type": "integer"
  12370. },
  12371. "marketid": {
  12372. "description": "市场ID",
  12373. "type": "integer"
  12374. },
  12375. "presaledamount": {
  12376. "description": "已预售总金额",
  12377. "type": "integer"
  12378. },
  12379. "presaledqty": {
  12380. "description": "已预售量",
  12381. "type": "integer"
  12382. },
  12383. "userid": {
  12384. "description": "用户ID",
  12385. "type": "integer"
  12386. },
  12387. "wrstandardid": {
  12388. "description": "仓单标准ID",
  12389. "type": "integer"
  12390. }
  12391. }
  12392. },
  12393. "cptrade.QueryCPTradeMyBidRsp": {
  12394. "type": "object",
  12395. "required": [
  12396. "accountid",
  12397. "goodsid",
  12398. "marketid",
  12399. "orderid",
  12400. "orderqty",
  12401. "ordertime",
  12402. "tradeprice",
  12403. "tradeqty"
  12404. ],
  12405. "properties": {
  12406. "accountid": {
  12407. "description": "账户ID[报价币种]",
  12408. "type": "integer"
  12409. },
  12410. "goodsid": {
  12411. "description": "商品ID",
  12412. "type": "integer"
  12413. },
  12414. "goodunit": {
  12415. "description": "报价单位",
  12416. "type": "string"
  12417. },
  12418. "marketid": {
  12419. "description": "市场ID",
  12420. "type": "integer"
  12421. },
  12422. "orderid": {
  12423. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  12424. "type": "integer"
  12425. },
  12426. "orderprice": {
  12427. "description": "委托价格",
  12428. "type": "number"
  12429. },
  12430. "orderqty": {
  12431. "description": "委托数量",
  12432. "type": "integer"
  12433. },
  12434. "ordertime": {
  12435. "description": "委托时间",
  12436. "type": "string"
  12437. },
  12438. "ordertotalprice": {
  12439. "description": "货款金额(委托总价格=委托价格*委托数量*合约单位)",
  12440. "type": "number"
  12441. },
  12442. "ordertotalweight": {
  12443. "description": "竞拍总重量(委托总重量=委托数量*合约单位)",
  12444. "type": "integer"
  12445. },
  12446. "totaltotalprice": {
  12447. "description": "成交货款金额(成交总价格=成交价格*成交数量*合约单位)",
  12448. "type": "number"
  12449. },
  12450. "tradeprice": {
  12451. "description": "成交价格",
  12452. "type": "number"
  12453. },
  12454. "tradeqty": {
  12455. "description": "成交数量",
  12456. "type": "integer"
  12457. }
  12458. }
  12459. },
  12460. "cptrade.QueryCPTradeOrderDetailRsq": {
  12461. "type": "object",
  12462. "required": [
  12463. "accountid",
  12464. "buildtype",
  12465. "buyorsell",
  12466. "goodsid",
  12467. "marketid",
  12468. "memberuserid",
  12469. "operatetype",
  12470. "orderqty",
  12471. "ordertime",
  12472. "pricemode",
  12473. "strorderid",
  12474. "tradedate",
  12475. "validtype"
  12476. ],
  12477. "properties": {
  12478. "accountid": {
  12479. "description": "账户ID[报价币种]",
  12480. "type": "integer"
  12481. },
  12482. "buildtype": {
  12483. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  12484. "type": "integer"
  12485. },
  12486. "buyorsell": {
  12487. "description": "买卖 - 0:买 1:卖",
  12488. "type": "integer"
  12489. },
  12490. "cancelorderid": {
  12491. "description": "撤单单号(撤单时填写)",
  12492. "type": "integer"
  12493. },
  12494. "cancelqty": {
  12495. "description": "撤单数量",
  12496. "type": "integer"
  12497. },
  12498. "clientordertime": {
  12499. "description": "客户端委托时间",
  12500. "type": "string"
  12501. },
  12502. "clientticket": {
  12503. "description": "客户端流水号",
  12504. "type": "string"
  12505. },
  12506. "clienttype": {
  12507. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  12508. "type": "integer"
  12509. },
  12510. "closeexchagechargevalue": {
  12511. "description": "平仓交易所手续费设置值",
  12512. "type": "number"
  12513. },
  12514. "closefeealgorithm": {
  12515. "description": "平仓手续费收取方式 1:比率 2:固定",
  12516. "type": "integer"
  12517. },
  12518. "closefreezecharge": {
  12519. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  12520. "type": "number"
  12521. },
  12522. "closememberchargevalue": {
  12523. "description": "平仓会员手续费设置值",
  12524. "type": "number"
  12525. },
  12526. "closeqty": {
  12527. "description": "平仓数量(先建后平操作 需要记录)",
  12528. "type": "integer"
  12529. },
  12530. "closetradeqty": {
  12531. "description": "平仓成交数量(先建后平操作,需要记录)",
  12532. "type": "integer"
  12533. },
  12534. "closeunfreezecharge": {
  12535. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  12536. "type": "number"
  12537. },
  12538. "delistingtype": {
  12539. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  12540. "type": "integer"
  12541. },
  12542. "freezecharge": {
  12543. "description": "冻结手续费",
  12544. "type": "number"
  12545. },
  12546. "freezemargin": {
  12547. "description": "冻结保证金(冻结交易金额)",
  12548. "type": "number"
  12549. },
  12550. "gcaccountid": {
  12551. "description": "账户ID[合约币种]",
  12552. "type": "integer"
  12553. },
  12554. "goodsid": {
  12555. "description": "商品ID",
  12556. "type": "integer"
  12557. },
  12558. "isconfirmexercise": {
  12559. "description": "是否确认行权- 0:否 1:是",
  12560. "type": "integer"
  12561. },
  12562. "ispreexercise": {
  12563. "description": "是否预申报- 0:否 1:是",
  12564. "type": "integer"
  12565. },
  12566. "listingselecttype": {
  12567. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  12568. "type": "integer"
  12569. },
  12570. "marginalgorithm": {
  12571. "description": "保证金收取方式 1:比率 2:固定",
  12572. "type": "integer"
  12573. },
  12574. "marginvalue": {
  12575. "description": "即市保证金设置值",
  12576. "type": "number"
  12577. },
  12578. "marketid": {
  12579. "description": "市场ID",
  12580. "type": "integer"
  12581. },
  12582. "marketmaxsub": {
  12583. "description": "市价最大偏移范围",
  12584. "type": "number"
  12585. },
  12586. "memberuserid": {
  12587. "description": "所属会员UserID",
  12588. "type": "integer"
  12589. },
  12590. "openexchagechargevalue": {
  12591. "description": "建仓交易所手续费设置值",
  12592. "type": "number"
  12593. },
  12594. "openfeealgorithm": {
  12595. "description": "建仓手续费收取方式 1:比率 2:固定",
  12596. "type": "integer"
  12597. },
  12598. "openfreezecharge": {
  12599. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  12600. "type": "number"
  12601. },
  12602. "openmemberchargevalue": {
  12603. "description": "建仓会员手续费设置值",
  12604. "type": "number"
  12605. },
  12606. "openqty": {
  12607. "description": "开仓数量(先建后平操作,需要记录)",
  12608. "type": "integer"
  12609. },
  12610. "opentradeqty": {
  12611. "description": "开仓成交数量(先建后平操作,需要记录)",
  12612. "type": "integer"
  12613. },
  12614. "openunfreezecharge": {
  12615. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  12616. "type": "number"
  12617. },
  12618. "operatetype": {
  12619. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  12620. "type": "integer"
  12621. },
  12622. "operatorid": {
  12623. "description": "登录账号(LoginID)",
  12624. "type": "integer"
  12625. },
  12626. "optiontype": {
  12627. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  12628. "type": "integer"
  12629. },
  12630. "orderprice": {
  12631. "description": "委托价格",
  12632. "type": "number"
  12633. },
  12634. "orderqty": {
  12635. "description": "委托数量",
  12636. "type": "integer"
  12637. },
  12638. "ordersrc": {
  12639. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  12640. "type": "integer"
  12641. },
  12642. "orderstatus": {
  12643. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  12644. "type": "integer"
  12645. },
  12646. "ordertime": {
  12647. "description": "委托时间",
  12648. "type": "string"
  12649. },
  12650. "preexerciseprice": {
  12651. "description": "预申报价格",
  12652. "type": "number"
  12653. },
  12654. "premium": {
  12655. "description": "权利金",
  12656. "type": "number"
  12657. },
  12658. "preorderid": {
  12659. "description": "关联预埋单号(止盈止损单时填写)",
  12660. "type": "integer"
  12661. },
  12662. "pricemode": {
  12663. "description": "取价方式 - 1:市价 2: 限价",
  12664. "type": "integer"
  12665. },
  12666. "quoteid": {
  12667. "description": "报价单ID",
  12668. "type": "integer"
  12669. },
  12670. "relatedid": {
  12671. "description": "关联单号(交割单)",
  12672. "type": "integer"
  12673. },
  12674. "retcode": {
  12675. "description": "错误代码",
  12676. "type": "integer"
  12677. },
  12678. "sessionid": {
  12679. "description": "会话ID",
  12680. "type": "integer"
  12681. },
  12682. "strorderid": {
  12683. "description": "委托单号",
  12684. "type": "string"
  12685. },
  12686. "tradedate": {
  12687. "description": "交易日(yyyyMMdd)",
  12688. "type": "string"
  12689. },
  12690. "tradeproperty": {
  12691. "description": "交易属性",
  12692. "type": "integer"
  12693. },
  12694. "tradeqty": {
  12695. "description": "成交数量",
  12696. "type": "integer"
  12697. },
  12698. "unfreezecharge": {
  12699. "description": "解冻手续费",
  12700. "type": "number"
  12701. },
  12702. "unfreezemargin": {
  12703. "description": "解冻保证金",
  12704. "type": "number"
  12705. },
  12706. "updatetime": {
  12707. "description": "更新时间",
  12708. "type": "string"
  12709. },
  12710. "uuid": {
  12711. "description": "发起端唯一id",
  12712. "type": "string"
  12713. },
  12714. "validtime": {
  12715. "description": "有效期限",
  12716. "type": "string"
  12717. },
  12718. "validtype": {
  12719. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  12720. "type": "integer"
  12721. },
  12722. "volumetype": {
  12723. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  12724. "type": "integer"
  12725. }
  12726. }
  12727. },
  12728. "cptrade.QueryMyCPTradeGoodsRsp": {
  12729. "type": "object",
  12730. "required": [
  12731. "goodscode",
  12732. "goodsid",
  12733. "goodsname",
  12734. "marketid",
  12735. "relatedgoodscode",
  12736. "relatedgoodsname"
  12737. ],
  12738. "properties": {
  12739. "accountid": {
  12740. "description": "卖方账户ID",
  12741. "type": "integer"
  12742. },
  12743. "agreeunit": {
  12744. "description": "合约单位",
  12745. "type": "number"
  12746. },
  12747. "applyid": {
  12748. "description": "关联申请ID",
  12749. "type": "integer"
  12750. },
  12751. "attachmenturl": {
  12752. "description": "附件地址",
  12753. "type": "string"
  12754. },
  12755. "createtime": {
  12756. "description": "创建时间",
  12757. "type": "string"
  12758. },
  12759. "currencyid": {
  12760. "description": "报价货币ID",
  12761. "type": "integer"
  12762. },
  12763. "decimalplace": {
  12764. "description": "报价小数位",
  12765. "type": "integer"
  12766. },
  12767. "endtime": {
  12768. "description": "预售结束时间",
  12769. "type": "string"
  12770. },
  12771. "floorprice": {
  12772. "description": "底价[大宗式竞拍]",
  12773. "type": "number"
  12774. },
  12775. "goodscode": {
  12776. "description": "商品代码(预售)",
  12777. "type": "string"
  12778. },
  12779. "goodsdetail": {
  12780. "description": "详情[大宗]",
  12781. "type": "string"
  12782. },
  12783. "goodsid": {
  12784. "description": "商品ID(自增ID SEQ_GOODS)",
  12785. "type": "integer"
  12786. },
  12787. "goodsname": {
  12788. "description": "商品名称(预售)",
  12789. "type": "string"
  12790. },
  12791. "goodunit": {
  12792. "description": "报价单位",
  12793. "type": "string"
  12794. },
  12795. "goodunitid": {
  12796. "description": "报价单位ID",
  12797. "type": "integer"
  12798. },
  12799. "marketid": {
  12800. "description": "所属市场ID",
  12801. "type": "integer"
  12802. },
  12803. "marketname": {
  12804. "description": "预售市场名称",
  12805. "type": "string"
  12806. },
  12807. "presaledamount": {
  12808. "description": "已预售总金额(预售结束时更新)",
  12809. "type": "number"
  12810. },
  12811. "presaledqty": {
  12812. "description": "已预售量(预售结束时更新)",
  12813. "type": "integer"
  12814. },
  12815. "presalemode": {
  12816. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  12817. "type": "integer"
  12818. },
  12819. "presaleqty": {
  12820. "description": "预售数量",
  12821. "type": "integer"
  12822. },
  12823. "refprice": {
  12824. "description": "参考价格[一口价]",
  12825. "type": "number"
  12826. },
  12827. "relatedgoodscode": {
  12828. "description": "商品代码(订单)",
  12829. "type": "string"
  12830. },
  12831. "relatedgoodsid": {
  12832. "description": "关联交易合约ID",
  12833. "type": "integer"
  12834. },
  12835. "relatedgoodsname": {
  12836. "description": "商品名称(订单)",
  12837. "type": "string"
  12838. },
  12839. "relatedmarketid": {
  12840. "description": "关联交易合约市场ID",
  12841. "type": "integer"
  12842. },
  12843. "sellstatus": {
  12844. "description": "卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理",
  12845. "type": "integer"
  12846. },
  12847. "startprice": {
  12848. "description": "起拍价[大宗式竞拍]",
  12849. "type": "number"
  12850. },
  12851. "starttime": {
  12852. "description": "预售开始时间",
  12853. "type": "string"
  12854. },
  12855. "tradedate": {
  12856. "description": "交易日(yyyyMMdd)",
  12857. "type": "string"
  12858. },
  12859. "tradeprice": {
  12860. "description": "成交价[大宗]",
  12861. "type": "number"
  12862. },
  12863. "userid": {
  12864. "description": "卖方用户ID",
  12865. "type": "integer"
  12866. }
  12867. }
  12868. },
  12869. "cptrade.QueryPresaleGoodsExRsp": {
  12870. "type": "object",
  12871. "required": [
  12872. "goodsid"
  12873. ],
  12874. "properties": {
  12875. "attachmenturl": {
  12876. "description": "附件地址",
  12877. "type": "string"
  12878. },
  12879. "createtime": {
  12880. "description": "创建时间",
  12881. "type": "string"
  12882. },
  12883. "endtime": {
  12884. "description": "预售结束时间",
  12885. "type": "string"
  12886. },
  12887. "floorprice": {
  12888. "description": "底价[大宗式竞拍]",
  12889. "type": "number"
  12890. },
  12891. "goodsdetail": {
  12892. "description": "详情[大宗]",
  12893. "type": "string"
  12894. },
  12895. "goodsid": {
  12896. "description": "商品ID(预售)",
  12897. "type": "integer"
  12898. },
  12899. "goodunit": {
  12900. "description": "报价单位",
  12901. "type": "string"
  12902. },
  12903. "marketid": {
  12904. "description": "预售市场ID - 根据预售模式选择市场",
  12905. "type": "integer"
  12906. },
  12907. "presaledamount": {
  12908. "description": "已预售总金额(预售结束时更新)",
  12909. "type": "number"
  12910. },
  12911. "presaledqty": {
  12912. "description": "已预售量(预售结束时更新)",
  12913. "type": "integer"
  12914. },
  12915. "presalemode": {
  12916. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  12917. "type": "integer"
  12918. },
  12919. "presaleqty": {
  12920. "description": "预售数量",
  12921. "type": "integer"
  12922. },
  12923. "refprice": {
  12924. "description": "参考价格[一口价]",
  12925. "type": "number"
  12926. },
  12927. "relatedgoodsid": {
  12928. "description": "关联交易合约ID",
  12929. "type": "integer"
  12930. },
  12931. "relatedmarketid": {
  12932. "description": "关联交易合约市场ID",
  12933. "type": "integer"
  12934. },
  12935. "sellstatus": {
  12936. "description": "卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理",
  12937. "type": "integer"
  12938. },
  12939. "startprice": {
  12940. "description": "起拍价[大宗式竞拍]",
  12941. "type": "number"
  12942. },
  12943. "starttime": {
  12944. "description": "预售开始时间",
  12945. "type": "string"
  12946. },
  12947. "tradedate": {
  12948. "description": "交易日(yyyyMMdd)",
  12949. "type": "string"
  12950. },
  12951. "tradeprice": {
  12952. "description": "成交价[大宗]",
  12953. "type": "number"
  12954. }
  12955. }
  12956. },
  12957. "delivery.QueryDeliveryRelationRsp": {
  12958. "type": "object",
  12959. "required": [
  12960. "begindate",
  12961. "enddate",
  12962. "goodsid",
  12963. "mindeliveryqty",
  12964. "xdeliveryratio"
  12965. ],
  12966. "properties": {
  12967. "begindate": {
  12968. "description": "起始日期(yyyyMMdd)",
  12969. "type": "string"
  12970. },
  12971. "buytemplateid": {
  12972. "description": "买履约计划模板ID",
  12973. "type": "integer"
  12974. },
  12975. "deliverygoodscode": {
  12976. "description": "品种代码",
  12977. "type": "string"
  12978. },
  12979. "deliverygoodsid": {
  12980. "description": "交割商品",
  12981. "type": "integer"
  12982. },
  12983. "deliverygoodsname": {
  12984. "description": "品种名称",
  12985. "type": "string"
  12986. },
  12987. "deliverymode": {
  12988. "description": "交割方式 - 1:点选式 2:申报式",
  12989. "type": "integer"
  12990. },
  12991. "deliverypricerule": {
  12992. "description": "交割价规则- 1:行情价 2:建仓价",
  12993. "type": "integer"
  12994. },
  12995. "deliverytype": {
  12996. "description": "交割模式 - 1:X交割 2:X+P交割 3:X+C交割 4:X+P+C交割",
  12997. "type": "integer"
  12998. },
  12999. "enddate": {
  13000. "description": "结束日期(yyyyMMdd)",
  13001. "type": "string"
  13002. },
  13003. "goodscode": {
  13004. "description": "商品代码",
  13005. "type": "string"
  13006. },
  13007. "goodsid": {
  13008. "description": "交易合约ID",
  13009. "type": "integer"
  13010. },
  13011. "goodsname": {
  13012. "description": "商品名称",
  13013. "type": "string"
  13014. },
  13015. "marketid": {
  13016. "description": "市场ID",
  13017. "type": "integer"
  13018. },
  13019. "mindeliveryqty": {
  13020. "description": "最小交割系数(K)",
  13021. "type": "integer"
  13022. },
  13023. "p2deliveryprice": {
  13024. "description": "P2合约价格(商品价时填写0,固定值时填写固定值)",
  13025. "type": "number"
  13026. },
  13027. "p2deliveryratio": {
  13028. "description": "P2合约系数(p)",
  13029. "type": "integer"
  13030. },
  13031. "p2goodsid": {
  13032. "description": "P2合约ID",
  13033. "type": "integer"
  13034. },
  13035. "p2pricemode": {
  13036. "description": "P2合约价格方式 - 1:商品价 2:固定值",
  13037. "type": "integer"
  13038. },
  13039. "pdeliveryprice": {
  13040. "description": "P合约价格(商品价时填写0,固定值时填写固定值)",
  13041. "type": "number"
  13042. },
  13043. "pdeliveryratio": {
  13044. "description": "P合约系数(n)",
  13045. "type": "integer"
  13046. },
  13047. "pgoodsid": {
  13048. "description": "P合约ID",
  13049. "type": "integer"
  13050. },
  13051. "ppricemode": {
  13052. "description": "P合约价格方式 - 1:商品价 2:固定值",
  13053. "type": "integer"
  13054. },
  13055. "rratio": {
  13056. "description": "兑换系数(R)",
  13057. "type": "integer"
  13058. },
  13059. "rratio1": {
  13060. "description": "兑换系数(交易合约)(R1)",
  13061. "type": "integer"
  13062. },
  13063. "rratio2": {
  13064. "description": "兑换系数(仓单标准)(R2)",
  13065. "type": "integer"
  13066. },
  13067. "selltemplateid": {
  13068. "description": "卖履约计划模板ID",
  13069. "type": "integer"
  13070. },
  13071. "wrstandardid": {
  13072. "description": "仓单标准ID",
  13073. "type": "integer"
  13074. },
  13075. "xdeliveryratio": {
  13076. "description": "交易合约系数(m)",
  13077. "type": "integer"
  13078. }
  13079. }
  13080. },
  13081. "ermcp.ExposureDetailRsp": {
  13082. "$ref": "#/definitions/models.ErmcpExposureDetailModel"
  13083. },
  13084. "ermcp.ExposureHedgePosDetailRsp": {
  13085. "$ref": "#/definitions/models.ErmcpHedgePositionDetail"
  13086. },
  13087. "ermcp.ExposureHedgePositionRsp": {
  13088. "$ref": "#/definitions/models.ErmcpHedgePosition"
  13089. },
  13090. "ermcp.ExposureSpotDetailRsp": {
  13091. "$ref": "#/definitions/models.ErmcpAreaSpotDetailModel"
  13092. },
  13093. "ermcp.ExposureSpotRsp": {
  13094. "$ref": "#/definitions/models.AreaSpotModel"
  13095. },
  13096. "ermcp.HisExposureRsp": {
  13097. "$ref": "#/definitions/models.ErmcpHisExposureS"
  13098. },
  13099. "ermcp.PendingAuditCntRsp": {
  13100. "$ref": "#/definitions/models.ErmcpPendingAudit"
  13101. },
  13102. "ermcp.QryAvalidGPRsp": {
  13103. "$ref": "#/definitions/models.ErmcpAvalidGoodsGroupModel"
  13104. },
  13105. "ermcp.QryBusinessDjRsp": {
  13106. "type": "object",
  13107. "properties": {
  13108. "amount": {
  13109. "description": "点价金额=(点价价格+升贴水)*点价数量",
  13110. "type": "number"
  13111. },
  13112. "applyid": {
  13113. "description": "申请人",
  13114. "type": "string"
  13115. },
  13116. "applyname": {
  13117. "description": "申请人名称",
  13118. "type": "string"
  13119. },
  13120. "applystatus": {
  13121. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  13122. "type": "integer"
  13123. },
  13124. "applytime": {
  13125. "description": "申请时间",
  13126. "type": "string"
  13127. },
  13128. "attachurl": {
  13129. "description": "附件",
  13130. "type": "string"
  13131. },
  13132. "auditid": {
  13133. "description": "审核人ID",
  13134. "type": "string"
  13135. },
  13136. "auditname": {
  13137. "description": "审核人名称",
  13138. "type": "string"
  13139. },
  13140. "audittime": {
  13141. "description": "审核时间",
  13142. "type": "string"
  13143. },
  13144. "buyusername": {
  13145. "description": "采购方名称",
  13146. "type": "string"
  13147. },
  13148. "contractno": {
  13149. "description": "合同编号",
  13150. "type": "string"
  13151. },
  13152. "contractstatus": {
  13153. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  13154. "type": "integer"
  13155. },
  13156. "contracttype": {
  13157. "description": "现货合同类型 - 1:采购 -1:销售",
  13158. "type": "integer"
  13159. },
  13160. "deliverygoodscode": {
  13161. "description": "现货品种代码",
  13162. "type": "string"
  13163. },
  13164. "deliverygoodsid": {
  13165. "description": "现货商品ID",
  13166. "type": "integer"
  13167. },
  13168. "deliverygoodsname": {
  13169. "description": "现货品种名称",
  13170. "type": "string"
  13171. },
  13172. "enumdicname": {
  13173. "description": "单位名称",
  13174. "type": "string"
  13175. },
  13176. "goodscode": {
  13177. "description": "点价合约",
  13178. "type": "string"
  13179. },
  13180. "goodsname": {
  13181. "description": "商品名称",
  13182. "type": "string"
  13183. },
  13184. "operateapplyid": {
  13185. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  13186. "type": "string"
  13187. },
  13188. "operateapplytype": {
  13189. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  13190. "type": "integer"
  13191. },
  13192. "pricedPrice": {
  13193. "description": "点价价格(非必填)",
  13194. "type": "number"
  13195. },
  13196. "pricedQty": {
  13197. "description": "点价数量(非必填)",
  13198. "type": "number"
  13199. },
  13200. "pricemove": {
  13201. "description": "升贴水",
  13202. "type": "number"
  13203. },
  13204. "pricetype": {
  13205. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  13206. "type": "integer"
  13207. },
  13208. "relatedid": {
  13209. "description": "现货合同ID",
  13210. "type": "string"
  13211. },
  13212. "sellusername": {
  13213. "description": "销售方名字",
  13214. "type": "string"
  13215. },
  13216. "userid": {
  13217. "description": "用户ID",
  13218. "type": "integer"
  13219. },
  13220. "wrstandardcode": {
  13221. "description": "品类代码",
  13222. "type": "string"
  13223. },
  13224. "wrstandardid": {
  13225. "description": "品类id",
  13226. "type": "integer"
  13227. },
  13228. "wrstandardname": {
  13229. "description": "品类名称",
  13230. "type": "string"
  13231. }
  13232. }
  13233. },
  13234. "ermcp.QryBussinessFpRsp": {
  13235. "type": "object",
  13236. "properties": {
  13237. "applyid": {
  13238. "description": "申请人",
  13239. "type": "string"
  13240. },
  13241. "applyname": {
  13242. "description": "申请人名称",
  13243. "type": "string"
  13244. },
  13245. "applystatus": {
  13246. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  13247. "type": "integer"
  13248. },
  13249. "applytime": {
  13250. "description": "申请时间",
  13251. "type": "string"
  13252. },
  13253. "attachurl": {
  13254. "description": "附件",
  13255. "type": "string"
  13256. },
  13257. "auditid": {
  13258. "description": "审核人ID",
  13259. "type": "string"
  13260. },
  13261. "auditname": {
  13262. "description": "审核人名称",
  13263. "type": "string"
  13264. },
  13265. "audittime": {
  13266. "description": "审核时间",
  13267. "type": "string"
  13268. },
  13269. "buyusername": {
  13270. "description": "采购方名称",
  13271. "type": "string"
  13272. },
  13273. "contractno": {
  13274. "description": "合同编号",
  13275. "type": "string"
  13276. },
  13277. "contractstatus": {
  13278. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  13279. "type": "integer"
  13280. },
  13281. "contracttype": {
  13282. "description": "现货合同类型 - 1:采购 -1:销售",
  13283. "type": "integer"
  13284. },
  13285. "deliverygoodscode": {
  13286. "description": "现货品种代码",
  13287. "type": "string"
  13288. },
  13289. "deliverygoodsid": {
  13290. "description": "现货商品ID",
  13291. "type": "integer"
  13292. },
  13293. "deliverygoodsname": {
  13294. "description": "现货品种名称",
  13295. "type": "string"
  13296. },
  13297. "enumdicname": {
  13298. "description": "单位名称",
  13299. "type": "string"
  13300. },
  13301. "goodscode": {
  13302. "description": "点价合约",
  13303. "type": "string"
  13304. },
  13305. "goodsname": {
  13306. "description": "商品名称",
  13307. "type": "string"
  13308. },
  13309. "invoiceAmount": {
  13310. "description": "已开收票金额(销售为开票,采购为收票)",
  13311. "type": "number"
  13312. },
  13313. "operateapplyid": {
  13314. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  13315. "type": "string"
  13316. },
  13317. "operateapplytype": {
  13318. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  13319. "type": "integer"
  13320. },
  13321. "pricemove": {
  13322. "description": "升贴水",
  13323. "type": "number"
  13324. },
  13325. "pricetype": {
  13326. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  13327. "type": "integer"
  13328. },
  13329. "relatedid": {
  13330. "description": "现货合同ID",
  13331. "type": "string"
  13332. },
  13333. "sellusername": {
  13334. "description": "销售方名字",
  13335. "type": "string"
  13336. },
  13337. "userid": {
  13338. "description": "用户ID",
  13339. "type": "integer"
  13340. },
  13341. "wrstandardcode": {
  13342. "description": "品类代码",
  13343. "type": "string"
  13344. },
  13345. "wrstandardid": {
  13346. "description": "品类id",
  13347. "type": "integer"
  13348. },
  13349. "wrstandardname": {
  13350. "description": "品类名称",
  13351. "type": "string"
  13352. }
  13353. }
  13354. },
  13355. "ermcp.QryBussinessJsExRsp": {
  13356. "type": "object",
  13357. "properties": {
  13358. "applyid": {
  13359. "description": "申请人",
  13360. "type": "string"
  13361. },
  13362. "applyname": {
  13363. "description": "申请人名称",
  13364. "type": "string"
  13365. },
  13366. "applystatus": {
  13367. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  13368. "type": "integer"
  13369. },
  13370. "applytime": {
  13371. "description": "申请时间",
  13372. "type": "string"
  13373. },
  13374. "attachurl": {
  13375. "description": "附件",
  13376. "type": "string"
  13377. },
  13378. "auditid": {
  13379. "description": "审核人ID",
  13380. "type": "string"
  13381. },
  13382. "auditname": {
  13383. "description": "审核人名称",
  13384. "type": "string"
  13385. },
  13386. "audittime": {
  13387. "description": "审核时间",
  13388. "type": "string"
  13389. },
  13390. "buyusername": {
  13391. "description": "采购方名称",
  13392. "type": "string"
  13393. },
  13394. "contractno": {
  13395. "description": "合同编号",
  13396. "type": "string"
  13397. },
  13398. "contractstatus": {
  13399. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  13400. "type": "integer"
  13401. },
  13402. "contracttype": {
  13403. "description": "现货合同类型 - 1:采购 -1:销售",
  13404. "type": "integer"
  13405. },
  13406. "deliverygoodscode": {
  13407. "description": "现货品种代码",
  13408. "type": "string"
  13409. },
  13410. "deliverygoodsid": {
  13411. "description": "现货商品ID",
  13412. "type": "integer"
  13413. },
  13414. "deliverygoodsname": {
  13415. "description": "现货品种名称",
  13416. "type": "string"
  13417. },
  13418. "enumdicname": {
  13419. "description": "单位名称",
  13420. "type": "string"
  13421. },
  13422. "goodscode": {
  13423. "description": "点价合约",
  13424. "type": "string"
  13425. },
  13426. "goodsname": {
  13427. "description": "商品名称",
  13428. "type": "string"
  13429. },
  13430. "operateapplyid": {
  13431. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  13432. "type": "string"
  13433. },
  13434. "operateapplytype": {
  13435. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  13436. "type": "integer"
  13437. },
  13438. "pricemove": {
  13439. "description": "升贴水",
  13440. "type": "number"
  13441. },
  13442. "pricetype": {
  13443. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  13444. "type": "integer"
  13445. },
  13446. "reckontype": {
  13447. "description": "结算类型",
  13448. "type": "string"
  13449. },
  13450. "reckonvalue": {
  13451. "description": "值",
  13452. "type": "number"
  13453. },
  13454. "relatedid": {
  13455. "description": "现货合同ID",
  13456. "type": "string"
  13457. },
  13458. "sellusername": {
  13459. "description": "销售方名字",
  13460. "type": "string"
  13461. },
  13462. "userid": {
  13463. "description": "用户ID",
  13464. "type": "integer"
  13465. },
  13466. "wrstandardcode": {
  13467. "description": "品类代码",
  13468. "type": "string"
  13469. },
  13470. "wrstandardid": {
  13471. "description": "品类id",
  13472. "type": "integer"
  13473. },
  13474. "wrstandardname": {
  13475. "description": "品类名称",
  13476. "type": "string"
  13477. }
  13478. }
  13479. },
  13480. "ermcp.QryBussinessJsRsp": {
  13481. "type": "object",
  13482. "properties": {
  13483. "addmargin": {
  13484. "description": "追加保证金(非必填)",
  13485. "type": "number"
  13486. },
  13487. "applyid": {
  13488. "description": "申请人",
  13489. "type": "string"
  13490. },
  13491. "applyname": {
  13492. "description": "申请人名称",
  13493. "type": "string"
  13494. },
  13495. "applystatus": {
  13496. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  13497. "type": "integer"
  13498. },
  13499. "applytime": {
  13500. "description": "申请时间",
  13501. "type": "string"
  13502. },
  13503. "attachurl": {
  13504. "description": "附件",
  13505. "type": "string"
  13506. },
  13507. "auditid": {
  13508. "description": "审核人ID",
  13509. "type": "string"
  13510. },
  13511. "auditname": {
  13512. "description": "审核人名称",
  13513. "type": "string"
  13514. },
  13515. "audittime": {
  13516. "description": "审核时间",
  13517. "type": "string"
  13518. },
  13519. "buyusername": {
  13520. "description": "采购方名称",
  13521. "type": "string"
  13522. },
  13523. "contractno": {
  13524. "description": "合同编号",
  13525. "type": "string"
  13526. },
  13527. "contractstatus": {
  13528. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  13529. "type": "integer"
  13530. },
  13531. "contracttype": {
  13532. "description": "现货合同类型 - 1:采购 -1:销售",
  13533. "type": "integer"
  13534. },
  13535. "decmargin": {
  13536. "description": "减少保证金(非必填)",
  13537. "type": "number"
  13538. },
  13539. "deliverygoodscode": {
  13540. "description": "现货品种代码",
  13541. "type": "string"
  13542. },
  13543. "deliverygoodsid": {
  13544. "description": "现货商品ID",
  13545. "type": "integer"
  13546. },
  13547. "deliverygoodsname": {
  13548. "description": "现货品种名称",
  13549. "type": "string"
  13550. },
  13551. "enumdicname": {
  13552. "description": "单位名称",
  13553. "type": "string"
  13554. },
  13555. "goodscode": {
  13556. "description": "点价合约",
  13557. "type": "string"
  13558. },
  13559. "goodsname": {
  13560. "description": "商品名称",
  13561. "type": "string"
  13562. },
  13563. "operateapplyid": {
  13564. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  13565. "type": "string"
  13566. },
  13567. "operateapplytype": {
  13568. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  13569. "type": "integer"
  13570. },
  13571. "pricemove": {
  13572. "description": "升贴水",
  13573. "type": "number"
  13574. },
  13575. "pricetype": {
  13576. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  13577. "type": "integer"
  13578. },
  13579. "reckonadjustamount": {
  13580. "description": "结算调整金额(非必填)",
  13581. "type": "number"
  13582. },
  13583. "reckonosamount": {
  13584. "description": "结算溢短金额(非必填)",
  13585. "type": "number"
  13586. },
  13587. "reckonotheramount": {
  13588. "description": "结算其他费用(非必填)",
  13589. "type": "number"
  13590. },
  13591. "reckonrealqty": {
  13592. "description": "结算实际数量(非必填)",
  13593. "type": "number"
  13594. },
  13595. "relatedid": {
  13596. "description": "现货合同ID",
  13597. "type": "string"
  13598. },
  13599. "sellusername": {
  13600. "description": "销售方名字",
  13601. "type": "string"
  13602. },
  13603. "userid": {
  13604. "description": "用户ID",
  13605. "type": "integer"
  13606. },
  13607. "wrstandardcode": {
  13608. "description": "品类代码",
  13609. "type": "string"
  13610. },
  13611. "wrstandardid": {
  13612. "description": "品类id",
  13613. "type": "integer"
  13614. },
  13615. "wrstandardname": {
  13616. "description": "品类名称",
  13617. "type": "string"
  13618. }
  13619. }
  13620. },
  13621. "ermcp.QryBussinessKxRsp": {
  13622. "type": "object",
  13623. "properties": {
  13624. "applyid": {
  13625. "description": "申请人",
  13626. "type": "string"
  13627. },
  13628. "applyname": {
  13629. "description": "申请人名称",
  13630. "type": "string"
  13631. },
  13632. "applystatus": {
  13633. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  13634. "type": "integer"
  13635. },
  13636. "applytime": {
  13637. "description": "申请时间",
  13638. "type": "string"
  13639. },
  13640. "attachurl": {
  13641. "description": "附件",
  13642. "type": "string"
  13643. },
  13644. "auditid": {
  13645. "description": "审核人ID",
  13646. "type": "string"
  13647. },
  13648. "auditname": {
  13649. "description": "审核人名称",
  13650. "type": "string"
  13651. },
  13652. "audittime": {
  13653. "description": "审核时间",
  13654. "type": "string"
  13655. },
  13656. "buyusername": {
  13657. "description": "采购方名称",
  13658. "type": "string"
  13659. },
  13660. "contractno": {
  13661. "description": "合同编号",
  13662. "type": "string"
  13663. },
  13664. "contractstatus": {
  13665. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  13666. "type": "integer"
  13667. },
  13668. "contracttype": {
  13669. "description": "现货合同类型 - 1:采购 -1:销售",
  13670. "type": "integer"
  13671. },
  13672. "deductamount": {
  13673. "description": "退款(非必填)",
  13674. "type": "number"
  13675. },
  13676. "deliverygoodscode": {
  13677. "description": "现货品种代码",
  13678. "type": "string"
  13679. },
  13680. "deliverygoodsid": {
  13681. "description": "现货商品ID",
  13682. "type": "integer"
  13683. },
  13684. "deliverygoodsname": {
  13685. "description": "现货品种名称",
  13686. "type": "string"
  13687. },
  13688. "enumdicname": {
  13689. "description": "单位名称",
  13690. "type": "string"
  13691. },
  13692. "goodscode": {
  13693. "description": "点价合约",
  13694. "type": "string"
  13695. },
  13696. "goodsname": {
  13697. "description": "商品名称",
  13698. "type": "string"
  13699. },
  13700. "kxtype": {
  13701. "description": "款项类型 1-收付款(PayAmount字段有值) 2-退款(DeductAmount字段有值) 3-收付款/退款(2个字段都有)",
  13702. "type": "integer"
  13703. },
  13704. "operateapplyid": {
  13705. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  13706. "type": "string"
  13707. },
  13708. "operateapplytype": {
  13709. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  13710. "type": "integer"
  13711. },
  13712. "payamount": {
  13713. "description": "收付款(非必填)",
  13714. "type": "number"
  13715. },
  13716. "pricemove": {
  13717. "description": "升贴水",
  13718. "type": "number"
  13719. },
  13720. "pricetype": {
  13721. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  13722. "type": "integer"
  13723. },
  13724. "relatedid": {
  13725. "description": "现货合同ID",
  13726. "type": "string"
  13727. },
  13728. "sellusername": {
  13729. "description": "销售方名字",
  13730. "type": "string"
  13731. },
  13732. "userid": {
  13733. "description": "用户ID",
  13734. "type": "integer"
  13735. },
  13736. "wrstandardcode": {
  13737. "description": "品类代码",
  13738. "type": "string"
  13739. },
  13740. "wrstandardid": {
  13741. "description": "品类id",
  13742. "type": "integer"
  13743. },
  13744. "wrstandardname": {
  13745. "description": "品类名称",
  13746. "type": "string"
  13747. }
  13748. }
  13749. },
  13750. "ermcp.QryGGCovertCfgRsp": {
  13751. "$ref": "#/definitions/models.ErmcpGGConvertCfg"
  13752. },
  13753. "ermcp.QryMGChangeLogRsp": {
  13754. "$ref": "#/definitions/models.ErmcpMiddleGoodsChangeLog"
  13755. },
  13756. "ermcp.QryMiddleGoodsDetailRsp": {
  13757. "$ref": "#/definitions/models.ErmcpMiddleGoodsDetail"
  13758. },
  13759. "ermcp.QryMiddleGoodsRsp": {
  13760. "$ref": "#/definitions/models.ErmcpMiddleGoodsModel"
  13761. },
  13762. "ermcp.QryOPLogRsp": {
  13763. "$ref": "#/definitions/models.ErmcpOPLogModel"
  13764. },
  13765. "ermcp.QryUserInfoRsp": {
  13766. "$ref": "#/definitions/models.ErmcpUserModel"
  13767. },
  13768. "ermcp.QryWarehouseRsp": {
  13769. "$ref": "#/definitions/models.ErmcpWareHouseInfo"
  13770. },
  13771. "ermcp.QueryErmcpTradePositionRsp": {
  13772. "type": "object",
  13773. "properties": {
  13774. "agreeunit": {
  13775. "description": "合约单位",
  13776. "type": "number"
  13777. },
  13778. "buyorsell": {
  13779. "description": "方向 - 0:买 1:卖",
  13780. "type": "integer"
  13781. },
  13782. "curpositionqty": {
  13783. "description": "持仓(总仓数量, 期末头寸)",
  13784. "type": "integer"
  13785. },
  13786. "curtdposition": {
  13787. "description": "今仓数量(期末今日头寸)",
  13788. "type": "integer"
  13789. },
  13790. "curtdpositionenabled": {
  13791. "description": "今仓可用",
  13792. "type": "integer"
  13793. },
  13794. "decimalplace": {
  13795. "description": "报价小数位",
  13796. "type": "integer"
  13797. },
  13798. "enableqty": {
  13799. "description": "可用(总仓可用)",
  13800. "type": "integer"
  13801. },
  13802. "exexchangename": {
  13803. "description": "外部交易所名称",
  13804. "type": "string"
  13805. },
  13806. "goodscode": {
  13807. "description": "商品代码(内部)",
  13808. "type": "string"
  13809. },
  13810. "goodsid": {
  13811. "description": "商品ID(自增ID SEQ_GOODS)",
  13812. "type": "integer"
  13813. },
  13814. "goodsname": {
  13815. "description": "商品名称",
  13816. "type": "string"
  13817. },
  13818. "last": {
  13819. "description": "现价",
  13820. "type": "number"
  13821. },
  13822. "marketid": {
  13823. "description": "所属市场ID",
  13824. "type": "integer"
  13825. },
  13826. "openaverageprice": {
  13827. "description": "开仓均价【头寸变化更新】 = 开仓成本 / 期末头寸 / 合约单位",
  13828. "type": "number"
  13829. },
  13830. "opencost": {
  13831. "description": "开仓成本",
  13832. "type": "number"
  13833. },
  13834. "openpl": {
  13835. "description": "逐笔浮盈【实时行情更新】(MTP:开仓盈亏、平仓盈亏) 买方向 = (最新价 - 开仓均价) * 买期末头寸 * 合约单位;卖方向 = (开仓均价 - 最新价) * 卖期末头寸 * 合约单位",
  13836. "type": "number"
  13837. },
  13838. "outgoodscode": {
  13839. "description": "商品代码(外部)",
  13840. "type": "string"
  13841. },
  13842. "positionaverageprice": {
  13843. "description": "持仓均价【头寸变化更新】= 持仓成本 / 期末头寸 / 合约单位",
  13844. "type": "number"
  13845. },
  13846. "positioncost": {
  13847. "description": "持仓成本",
  13848. "type": "number"
  13849. },
  13850. "positionpl": {
  13851. "description": "盯市浮盈【实时行情更新】(MTP:浮动盈亏、持仓盈亏) 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向 = (持仓均价 - 最新价) * 卖期末头寸 * 合约单位",
  13852. "type": "number"
  13853. },
  13854. "positionplrate": {
  13855. "description": "持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本",
  13856. "type": "number"
  13857. },
  13858. "usedmargin": {
  13859. "description": "占用保证金",
  13860. "type": "number"
  13861. }
  13862. }
  13863. },
  13864. "ermcp.RealtimeExposurePositionRsp": {
  13865. "$ref": "#/definitions/models.ErmcpExposurePostion"
  13866. },
  13867. "ermcp.RealtimeExposureRsp": {
  13868. "$ref": "#/definitions/models.ErmcpRealExposureModel"
  13869. },
  13870. "erms2.QueryArbitrageStrategyRsp": {
  13871. "type": "object",
  13872. "required": [
  13873. "asapplyid"
  13874. ],
  13875. "properties": {
  13876. "applybasis": {
  13877. "description": "申请基差",
  13878. "type": "number"
  13879. },
  13880. "asapplyid": {
  13881. "description": "策略申请ID(702+Unix秒时间戳(10位)+xxxxxx)",
  13882. "type": "string"
  13883. },
  13884. "asname": {
  13885. "description": "策略名称",
  13886. "type": "string"
  13887. },
  13888. "asno": {
  13889. "description": "策略编号",
  13890. "type": "string"
  13891. },
  13892. "basischangepl": {
  13893. "description": "基差变动损益[结算更新]",
  13894. "type": "number"
  13895. },
  13896. "biztype": {
  13897. "description": "业务类型 - 1:正向套利 -1:反向套利",
  13898. "type": "integer"
  13899. },
  13900. "closetradedate": {
  13901. "description": "完结交易日(yyyyMMdd)",
  13902. "type": "string"
  13903. },
  13904. "curbasis": {
  13905. "description": "当前基差[结算更新]",
  13906. "type": "number"
  13907. },
  13908. "deliverygoodsid": {
  13909. "description": "现货品种ID",
  13910. "type": "integer"
  13911. },
  13912. "futureavgprice": {
  13913. "description": "期货建仓均价",
  13914. "type": "number"
  13915. },
  13916. "futurecloseamount": {
  13917. "description": "期货平仓金额",
  13918. "type": "number"
  13919. },
  13920. "futurecloseqty": {
  13921. "description": "期货平仓数量",
  13922. "type": "number"
  13923. },
  13924. "futureopenamount": {
  13925. "description": "期货开仓金额",
  13926. "type": "number"
  13927. },
  13928. "futureopenqty": {
  13929. "description": "期货开仓数量",
  13930. "type": "number"
  13931. },
  13932. "futurepl": {
  13933. "description": "期货总盈亏[结算更新]",
  13934. "type": "number"
  13935. },
  13936. "futureqty": {
  13937. "description": "期货持仓数量",
  13938. "type": "number"
  13939. },
  13940. "futurequote": {
  13941. "description": "期货额度",
  13942. "type": "number"
  13943. },
  13944. "goodsgroupid": {
  13945. "description": "期货品种ID",
  13946. "type": "integer"
  13947. },
  13948. "marketid": {
  13949. "description": "市场ID",
  13950. "type": "integer"
  13951. },
  13952. "netexposure": {
  13953. "description": "单笔业务头寸净敞口 = 期货持仓数量 + 已定价现货不含税数量",
  13954. "type": "number"
  13955. },
  13956. "netexposurepl": {
  13957. "description": "净敞口损益 = TotalPL - BasisChangePL[结算更新]",
  13958. "type": "number"
  13959. },
  13960. "netexposurerate": {
  13961. "description": "净敞口比例 - 0:未结束 = (NetExposure/PriceSpotQtyNoTax) ; 已结束为0",
  13962. "type": "number"
  13963. },
  13964. "openbasis": {
  13965. "description": "建仓基差",
  13966. "type": "number"
  13967. },
  13968. "pricedspotqty": {
  13969. "description": "已定价现货数量",
  13970. "type": "number"
  13971. },
  13972. "pricedspotqtynotax": {
  13973. "description": "已定价现货不含税数量",
  13974. "type": "number"
  13975. },
  13976. "remark": {
  13977. "description": "备注",
  13978. "type": "string"
  13979. },
  13980. "spotavgprice": {
  13981. "description": "现货均价",
  13982. "type": "number"
  13983. },
  13984. "spotbuyamount": {
  13985. "description": "现货采购金额",
  13986. "type": "number"
  13987. },
  13988. "spotbuyqty": {
  13989. "description": "现货采购数量",
  13990. "type": "number"
  13991. },
  13992. "spotpl": {
  13993. "description": "现货总盈亏[结算更新]",
  13994. "type": "number"
  13995. },
  13996. "spotquota": {
  13997. "description": "现货额度",
  13998. "type": "number"
  13999. },
  14000. "spotsellamount": {
  14001. "description": "现货销售金额",
  14002. "type": "number"
  14003. },
  14004. "spotsellqty": {
  14005. "description": "现货销售数量",
  14006. "type": "number"
  14007. },
  14008. "spotusedquota": {
  14009. "description": "现货占用资金",
  14010. "type": "number"
  14011. },
  14012. "strategystatus": {
  14013. "description": "策略状态 - 0:未结束 1:已结束",
  14014. "type": "integer"
  14015. },
  14016. "totalpl": {
  14017. "description": "业务合计损益 = FuturePL + SpotPL [结算更新]",
  14018. "type": "number"
  14019. },
  14020. "tradedate": {
  14021. "description": "交易日(yyyyMMdd)",
  14022. "type": "string"
  14023. },
  14024. "updatetime": {
  14025. "description": "更新时间",
  14026. "type": "string"
  14027. },
  14028. "usedquota": {
  14029. "description": "已占用资金",
  14030. "type": "number"
  14031. },
  14032. "userid": {
  14033. "description": "所属机构",
  14034. "type": "integer"
  14035. }
  14036. }
  14037. },
  14038. "erms2.QueryInnerTradeDetailRsp": {
  14039. "type": "object",
  14040. "required": [
  14041. "asapplyid",
  14042. "buyorsell",
  14043. "goodscode",
  14044. "goodsgroupid",
  14045. "goodsgroupname",
  14046. "goodsname",
  14047. "tradeid"
  14048. ],
  14049. "properties": {
  14050. "accountid": {
  14051. "description": "账号ID",
  14052. "type": "integer"
  14053. },
  14054. "agreeunit": {
  14055. "description": "合约单位",
  14056. "type": "number"
  14057. },
  14058. "asapplyid": {
  14059. "description": "策略申请ID",
  14060. "type": "integer"
  14061. },
  14062. "asname": {
  14063. "description": "策略名称",
  14064. "type": "string"
  14065. },
  14066. "asno": {
  14067. "description": "策略编号",
  14068. "type": "string"
  14069. },
  14070. "buyorsell": {
  14071. "description": "方向 - 0:买 1:卖",
  14072. "type": "integer"
  14073. },
  14074. "channelbuildtype": {
  14075. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  14076. "type": "integer"
  14077. },
  14078. "closetype": {
  14079. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  14080. "type": "integer"
  14081. },
  14082. "decimalplace": {
  14083. "description": "报价小数位",
  14084. "type": "integer"
  14085. },
  14086. "detailtype": {
  14087. "description": "明细类型 - 1:套利对冲 2:期货换月 3:期货仓位调整",
  14088. "type": "integer"
  14089. },
  14090. "exexchangecode": {
  14091. "description": "外部交易所代码",
  14092. "type": "string"
  14093. },
  14094. "exexchangename": {
  14095. "description": "外部交易所名称",
  14096. "type": "string"
  14097. },
  14098. "goodscode": {
  14099. "description": "商品代码(合约)",
  14100. "type": "string"
  14101. },
  14102. "goodsgroupid": {
  14103. "description": "商品组ID(品种ID)",
  14104. "type": "integer"
  14105. },
  14106. "goodsgroupname": {
  14107. "description": "商品组名称(品种)",
  14108. "type": "string"
  14109. },
  14110. "goodsid": {
  14111. "description": "商品ID",
  14112. "type": "integer"
  14113. },
  14114. "goodsname": {
  14115. "description": "商品名称(合约)",
  14116. "type": "string"
  14117. },
  14118. "goodunit": {
  14119. "description": "报价单位",
  14120. "type": "string"
  14121. },
  14122. "marketid": {
  14123. "description": "市场ID",
  14124. "type": "integer"
  14125. },
  14126. "orderid": {
  14127. "description": "委托单号",
  14128. "type": "string"
  14129. },
  14130. "outgoodscode": {
  14131. "description": "商品代码(外部)",
  14132. "type": "string"
  14133. },
  14134. "relatedouttradeid": {
  14135. "description": "关联外部成交单ID",
  14136. "type": "string"
  14137. },
  14138. "remark": {
  14139. "description": "备注",
  14140. "type": "string"
  14141. },
  14142. "spotcontractid": {
  14143. "description": "现货合同ID [1:套利对冲 为合同ID,2:期货换月\\3:期货仓位调整时为0]",
  14144. "type": "integer"
  14145. },
  14146. "spotcontractno": {
  14147. "description": "现货合同编号",
  14148. "type": "string"
  14149. },
  14150. "tradeid": {
  14151. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  14152. "type": "string"
  14153. },
  14154. "tradeprice": {
  14155. "description": "成交价格",
  14156. "type": "number"
  14157. },
  14158. "tradeqty": {
  14159. "description": "成交数量",
  14160. "type": "integer"
  14161. },
  14162. "tradetime": {
  14163. "description": "成交时间",
  14164. "type": "string"
  14165. },
  14166. "updatetime": {
  14167. "description": "更新时间",
  14168. "type": "string"
  14169. }
  14170. }
  14171. },
  14172. "erms2.QuerySpotContractRsp": {
  14173. "type": "object",
  14174. "required": [
  14175. "spotcontractid"
  14176. ],
  14177. "properties": {
  14178. "accountid": {
  14179. "description": "资金账户ID",
  14180. "type": "integer"
  14181. },
  14182. "areauserid": {
  14183. "description": "所属机构",
  14184. "type": "integer"
  14185. },
  14186. "closedate": {
  14187. "description": "终止日期",
  14188. "type": "string"
  14189. },
  14190. "closeremark": {
  14191. "description": "结束备注",
  14192. "type": "string"
  14193. },
  14194. "closetradedate": {
  14195. "description": "完结交易日(yyyyMMdd)",
  14196. "type": "string"
  14197. },
  14198. "closetype": {
  14199. "description": "终止类型 - 1:违约 2:提前终止",
  14200. "type": "integer"
  14201. },
  14202. "contractamount": {
  14203. "description": "合同金额",
  14204. "type": "number"
  14205. },
  14206. "contractattachment": {
  14207. "description": "合同附件",
  14208. "type": "string"
  14209. },
  14210. "contractno": {
  14211. "description": "现货合同编号",
  14212. "type": "string"
  14213. },
  14214. "contractqty": {
  14215. "description": "合同数量(数值) (用于计算)",
  14216. "type": "number"
  14217. },
  14218. "contractqtychar": {
  14219. "description": "合同数量\\已订价数量 (用于显示)",
  14220. "type": "string"
  14221. },
  14222. "contractstatus": {
  14223. "description": "合同状态 - 0:未结束 1:已结束",
  14224. "type": "integer"
  14225. },
  14226. "contracttype": {
  14227. "description": "现货合同类型 - 1:采购合同 -1:销售合同",
  14228. "type": "integer"
  14229. },
  14230. "customeraccountid": {
  14231. "description": "客户资金账户ID",
  14232. "type": "integer"
  14233. },
  14234. "customeruserid": {
  14235. "description": "客户ID",
  14236. "type": "integer"
  14237. },
  14238. "deliverygoodsdesc": {
  14239. "description": "品种说明",
  14240. "type": "string"
  14241. },
  14242. "deliverygoodsid": {
  14243. "description": "现货品种ID",
  14244. "type": "integer"
  14245. },
  14246. "handlestatus": {
  14247. "description": "处理状态",
  14248. "type": "integer"
  14249. },
  14250. "invoiceatt": {
  14251. "description": "发票附件",
  14252. "type": "string"
  14253. },
  14254. "invoicedatetime": {
  14255. "description": "开收票更新时间",
  14256. "type": "string"
  14257. },
  14258. "invoiceopentime": {
  14259. "description": "开票时间",
  14260. "type": "string"
  14261. },
  14262. "invoiceremark": {
  14263. "description": "发票备注",
  14264. "type": "string"
  14265. },
  14266. "invoicestatus": {
  14267. "description": "开收票状态 - 0:未开票 1:已开票",
  14268. "type": "integer"
  14269. },
  14270. "lastdate": {
  14271. "description": "交货时间",
  14272. "type": "string"
  14273. },
  14274. "marketid": {
  14275. "description": "市场ID",
  14276. "type": "integer"
  14277. },
  14278. "paydatetime": {
  14279. "description": "收付款更新时间",
  14280. "type": "string"
  14281. },
  14282. "payremark": {
  14283. "description": "收付款备注",
  14284. "type": "string"
  14285. },
  14286. "paystatus": {
  14287. "description": "收付款状态 - 0:未支付 1:已收款 2:已付款",
  14288. "type": "integer"
  14289. },
  14290. "positionqty": {
  14291. "description": "头寸数量 - 合同数量去小数部分",
  14292. "type": "integer"
  14293. },
  14294. "producttype": {
  14295. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  14296. "type": "integer"
  14297. },
  14298. "relatedqty": {
  14299. "description": "已关联数量",
  14300. "type": "number"
  14301. },
  14302. "relatedstatus": {
  14303. "description": "关联完结状态 - 0:未结束 1:已结束",
  14304. "type": "integer"
  14305. },
  14306. "remark": {
  14307. "description": "备注",
  14308. "type": "string"
  14309. },
  14310. "signdate": {
  14311. "description": "签订日期",
  14312. "type": "string"
  14313. },
  14314. "spotcontractid": {
  14315. "description": "现货合同ID(701+Unix秒时间戳(10位)+xxxxxx)",
  14316. "type": "string"
  14317. },
  14318. "spotdatetime": {
  14319. "description": "收发货更新时间",
  14320. "type": "string"
  14321. },
  14322. "spotprice": {
  14323. "description": "价格",
  14324. "type": "number"
  14325. },
  14326. "spotremark": {
  14327. "description": "收发货备注",
  14328. "type": "string"
  14329. },
  14330. "spotstatus": {
  14331. "description": "收发货状态 - 0:未交收 1:已发货 2:已发货",
  14332. "type": "integer"
  14333. },
  14334. "tradedate": {
  14335. "description": "交易日(yyyyMMdd)",
  14336. "type": "string"
  14337. },
  14338. "userid": {
  14339. "description": "业务员用户ID",
  14340. "type": "integer"
  14341. },
  14342. "warehouseid": {
  14343. "description": "仓库ID",
  14344. "type": "integer"
  14345. },
  14346. "wrfactortypeid": {
  14347. "description": "仓单要素类型ID",
  14348. "type": "integer"
  14349. },
  14350. "wrstandardid": {
  14351. "description": "仓单标准ID(SEQ_WRSTANDARD)",
  14352. "type": "integer"
  14353. }
  14354. }
  14355. },
  14356. "erms3.AddErms2ASApplyReq": {
  14357. "type": "object",
  14358. "required": [
  14359. "asapplyid"
  14360. ],
  14361. "properties": {
  14362. "applybasis": {
  14363. "description": "申请基差",
  14364. "type": "number"
  14365. },
  14366. "applystatus": {
  14367. "description": "申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  14368. "type": "integer"
  14369. },
  14370. "asapplyid": {
  14371. "description": "策略申请ID(342+Unix秒时间戳(10位)+xxxxxx)",
  14372. "type": "integer"
  14373. },
  14374. "asname": {
  14375. "description": "策略名称",
  14376. "type": "string"
  14377. },
  14378. "asno": {
  14379. "description": "策略编号",
  14380. "type": "string"
  14381. },
  14382. "auditid": {
  14383. "description": "审核人",
  14384. "type": "integer"
  14385. },
  14386. "auditremark": {
  14387. "description": "审核备注",
  14388. "type": "string"
  14389. },
  14390. "audittime": {
  14391. "description": "审核时间",
  14392. "type": "string"
  14393. },
  14394. "biztype": {
  14395. "description": "业务类型 - 1:正向套利 2:反向套利",
  14396. "type": "integer"
  14397. },
  14398. "createtime": {
  14399. "description": "创建时间",
  14400. "type": "string"
  14401. },
  14402. "creatorid": {
  14403. "description": "创建人",
  14404. "type": "integer"
  14405. },
  14406. "deliverygoodsid": {
  14407. "description": "现货品种ID",
  14408. "type": "integer"
  14409. },
  14410. "futurequote": {
  14411. "description": "期货额度",
  14412. "type": "number"
  14413. },
  14414. "goodsgroupid": {
  14415. "description": "期货品种ID",
  14416. "type": "integer"
  14417. },
  14418. "marketid": {
  14419. "description": "市场ID",
  14420. "type": "integer"
  14421. },
  14422. "remark": {
  14423. "description": "备注",
  14424. "type": "string"
  14425. },
  14426. "spotquota": {
  14427. "description": "现货额度",
  14428. "type": "number"
  14429. },
  14430. "tradedate": {
  14431. "description": "交易日(yyyyMMdd)",
  14432. "type": "string"
  14433. },
  14434. "userid": {
  14435. "description": "所属机构",
  14436. "type": "integer"
  14437. }
  14438. }
  14439. },
  14440. "erms3.AddErms2SpotTradeApplyReq": {
  14441. "type": "object",
  14442. "required": [
  14443. "spottradeid"
  14444. ],
  14445. "properties": {
  14446. "applyjsondetail": {
  14447. "description": "申请明细(JSON)",
  14448. "type": "string"
  14449. },
  14450. "applystatus": {
  14451. "description": "申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  14452. "type": "integer"
  14453. },
  14454. "areauserid": {
  14455. "description": "所属机构",
  14456. "type": "integer"
  14457. },
  14458. "auditid": {
  14459. "description": "审核人",
  14460. "type": "integer"
  14461. },
  14462. "auditremark": {
  14463. "description": "审核备注",
  14464. "type": "string"
  14465. },
  14466. "audittime": {
  14467. "description": "审核时间",
  14468. "type": "string"
  14469. },
  14470. "createtime": {
  14471. "description": "创建时间",
  14472. "type": "string"
  14473. },
  14474. "creatorid": {
  14475. "description": "创建人",
  14476. "type": "integer"
  14477. },
  14478. "deliverygoodsid": {
  14479. "description": "现货品种ID",
  14480. "type": "integer"
  14481. },
  14482. "futureaccountid": {
  14483. "description": "期货资金账户",
  14484. "type": "integer"
  14485. },
  14486. "goodsgroupid": {
  14487. "description": "期货品种",
  14488. "type": "integer"
  14489. },
  14490. "marketid": {
  14491. "description": "市场ID",
  14492. "type": "integer"
  14493. },
  14494. "remark": {
  14495. "description": "备注",
  14496. "type": "string"
  14497. },
  14498. "spotaccountid": {
  14499. "description": "现货资金账户",
  14500. "type": "integer"
  14501. },
  14502. "spottradeid": {
  14503. "description": "业务ID(341+Unix秒时间戳(10位)+xxxxxx)",
  14504. "type": "integer"
  14505. },
  14506. "spottradename": {
  14507. "description": "业务名称",
  14508. "type": "string"
  14509. },
  14510. "spottradeno": {
  14511. "description": "业务编号",
  14512. "type": "string"
  14513. },
  14514. "tradedate": {
  14515. "description": "交易日(yyyyMMdd)",
  14516. "type": "string"
  14517. },
  14518. "wrstandardid": {
  14519. "description": "仓单标准ID",
  14520. "type": "integer"
  14521. }
  14522. }
  14523. },
  14524. "erms3.AddSpotContractApplyReq": {
  14525. "type": "object",
  14526. "required": [
  14527. "accountid",
  14528. "areauserid",
  14529. "contractno",
  14530. "contracttype",
  14531. "customeraccountid",
  14532. "customeruserid",
  14533. "details",
  14534. "orimargin",
  14535. "signdate"
  14536. ],
  14537. "properties": {
  14538. "accountid": {
  14539. "description": "资金账户ID",
  14540. "type": "integer"
  14541. },
  14542. "areauserid": {
  14543. "description": "所属机构",
  14544. "type": "integer"
  14545. },
  14546. "contractattachment": {
  14547. "description": "合同附件",
  14548. "type": "string"
  14549. },
  14550. "contractno": {
  14551. "description": "现货合同编号",
  14552. "type": "string"
  14553. },
  14554. "contracttype": {
  14555. "description": "现货合同类型 - 1:采购 -1:销售",
  14556. "type": "integer"
  14557. },
  14558. "creatorid": {
  14559. "description": "申请人",
  14560. "type": "integer"
  14561. },
  14562. "customeraccountid": {
  14563. "description": "客户资金账户ID",
  14564. "type": "integer"
  14565. },
  14566. "customeruserid": {
  14567. "description": "客户ID",
  14568. "type": "integer"
  14569. },
  14570. "details": {
  14571. "description": "明细",
  14572. "type": "array",
  14573. "items": {
  14574. "$ref": "#/definitions/erms3.SoptContractDetail"
  14575. }
  14576. },
  14577. "orimargin": {
  14578. "description": "初始保证金",
  14579. "type": "number"
  14580. },
  14581. "remark": {
  14582. "description": "备注",
  14583. "type": "string"
  14584. },
  14585. "signdate": {
  14586. "description": "签订日期",
  14587. "type": "string"
  14588. }
  14589. }
  14590. },
  14591. "erms3.AddSpotContractApplyRsp": {
  14592. "type": "object",
  14593. "required": [
  14594. "contractno"
  14595. ],
  14596. "properties": {
  14597. "contractno": {
  14598. "description": "现货合同编号",
  14599. "type": "string"
  14600. },
  14601. "spotcontractid": {
  14602. "description": "现货合同ID(345+Unix秒时间戳(10位)+xxxxxx)",
  14603. "type": "integer"
  14604. }
  14605. }
  14606. },
  14607. "erms3.AddUserInfoApplyReq": {
  14608. "type": "object",
  14609. "required": [
  14610. "userid"
  14611. ],
  14612. "properties": {
  14613. "accountid": {
  14614. "description": "交易系统帐号Id (加密存储)",
  14615. "type": "integer"
  14616. },
  14617. "areacode": {
  14618. "description": "机构代码",
  14619. "type": "string"
  14620. },
  14621. "areaid": {
  14622. "description": "机构Id",
  14623. "type": "integer"
  14624. },
  14625. "attachment1": {
  14626. "description": "附件1",
  14627. "type": "string"
  14628. },
  14629. "attachment2": {
  14630. "description": "附件2",
  14631. "type": "string"
  14632. },
  14633. "attachment3": {
  14634. "description": "附件3",
  14635. "type": "string"
  14636. },
  14637. "attachment4": {
  14638. "description": "附件4",
  14639. "type": "string"
  14640. },
  14641. "attachment5": {
  14642. "description": "附件5",
  14643. "type": "string"
  14644. },
  14645. "auditedby": {
  14646. "description": "审核人",
  14647. "type": "string"
  14648. },
  14649. "auditime": {
  14650. "description": "审核时间",
  14651. "type": "string"
  14652. },
  14653. "auditsrc": {
  14654. "description": "审核来源 - 1:管理端 2:终端",
  14655. "type": "integer"
  14656. },
  14657. "bankaccount": {
  14658. "description": "银行帐号 (加密存储)",
  14659. "type": "string"
  14660. },
  14661. "bankaccountname": {
  14662. "description": "收款人名称",
  14663. "type": "string"
  14664. },
  14665. "bankcardbackphotourl": {
  14666. "description": "银行卡背面照地址",
  14667. "type": "string"
  14668. },
  14669. "bankcardfrontphotourl": {
  14670. "description": "银行卡正面照地址",
  14671. "type": "string"
  14672. },
  14673. "bankid": {
  14674. "description": "银行编码",
  14675. "type": "string"
  14676. },
  14677. "bankname": {
  14678. "description": "银行名称",
  14679. "type": "string"
  14680. },
  14681. "bankpictureurl": {
  14682. "description": "银行卡正面地址",
  14683. "type": "string"
  14684. },
  14685. "biznature": {
  14686. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  14687. "type": "integer"
  14688. },
  14689. "bizscope": {
  14690. "description": "企业经营范围(企业)",
  14691. "type": "string"
  14692. },
  14693. "biztype": {
  14694. "description": "企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储",
  14695. "type": "integer"
  14696. },
  14697. "brokerid": {
  14698. "description": "经纪人ID(加密存储)",
  14699. "type": "string"
  14700. },
  14701. "cardaddress": {
  14702. "description": "证件地址 (加密存储)",
  14703. "type": "string"
  14704. },
  14705. "cardbackphotourl": {
  14706. "description": "背面证件照地址",
  14707. "type": "string"
  14708. },
  14709. "cardfrontphotourl": {
  14710. "description": "正面证件照地址",
  14711. "type": "string"
  14712. },
  14713. "cardnum": {
  14714. "description": "证件号码 (加密存储)",
  14715. "type": "string"
  14716. },
  14717. "cardtype": {
  14718. "description": "证件类型",
  14719. "type": "integer"
  14720. },
  14721. "cityid": {
  14722. "description": "市",
  14723. "type": "integer"
  14724. },
  14725. "company": {
  14726. "description": "公司(个人)",
  14727. "type": "string"
  14728. },
  14729. "contactcardbackphotourl": {
  14730. "description": "联系人证件背面图片地址",
  14731. "type": "string"
  14732. },
  14733. "contactcardfrontphotourl": {
  14734. "description": "联系人证件正面图片地址",
  14735. "type": "string"
  14736. },
  14737. "contactname": {
  14738. "description": "联系人",
  14739. "type": "string"
  14740. },
  14741. "countryid": {
  14742. "description": "国家",
  14743. "type": "integer"
  14744. },
  14745. "createtime": {
  14746. "description": "开户申请时间",
  14747. "type": "string"
  14748. },
  14749. "cusbankid": {
  14750. "description": "签约类型",
  14751. "type": "string"
  14752. },
  14753. "cusbankname": {
  14754. "description": "签约类型名称",
  14755. "type": "string"
  14756. },
  14757. "customername": {
  14758. "description": "客户名称(企业名称)",
  14759. "type": "string"
  14760. },
  14761. "districtid": {
  14762. "description": "地区",
  14763. "type": "integer"
  14764. },
  14765. "email": {
  14766. "description": "Email地址(加密存储)",
  14767. "type": "string"
  14768. },
  14769. "halfbodyphotourl": {
  14770. "description": "半身照地址",
  14771. "type": "string"
  14772. },
  14773. "headurl": {
  14774. "description": "头像地址",
  14775. "type": "string"
  14776. },
  14777. "ipaddress": {
  14778. "description": "IP地址",
  14779. "type": "string"
  14780. },
  14781. "isvalidate": {
  14782. "description": "是否有效 (删除后标记为失效) - 0:无效 1:有效",
  14783. "type": "string"
  14784. },
  14785. "legalcardbackphotourl": {
  14786. "description": "法人身份证背面照地址",
  14787. "type": "string"
  14788. },
  14789. "legalcardfrontphotourl": {
  14790. "description": "法人身份证正面照地址",
  14791. "type": "string"
  14792. },
  14793. "legalpersonname": {
  14794. "description": "法人姓名(企业)",
  14795. "type": "string"
  14796. },
  14797. "logincode": {
  14798. "description": "登录帐号 (加密存储)",
  14799. "type": "string"
  14800. },
  14801. "memberareaid": {
  14802. "description": "所属会员ID",
  14803. "type": "integer"
  14804. },
  14805. "mobile2": {
  14806. "description": "手机号码[明文-尚志]",
  14807. "type": "string"
  14808. },
  14809. "mobilephone": {
  14810. "description": "手机号码 (加密存储)",
  14811. "type": "string"
  14812. },
  14813. "modifiedby": {
  14814. "description": "修改人帐号",
  14815. "type": "integer"
  14816. },
  14817. "modifiedtime": {
  14818. "description": "修改时间",
  14819. "type": "string"
  14820. },
  14821. "nickname": {
  14822. "description": "昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)",
  14823. "type": "string"
  14824. },
  14825. "openmode": {
  14826. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)",
  14827. "type": "integer"
  14828. },
  14829. "otherurl": {
  14830. "description": "其它图片地址[使用分号分隔]",
  14831. "type": "string"
  14832. },
  14833. "postalcode": {
  14834. "description": "邮政编码",
  14835. "type": "string"
  14836. },
  14837. "provinceid": {
  14838. "description": "省",
  14839. "type": "integer"
  14840. },
  14841. "proxystatementurl": {
  14842. "description": "授权委托书",
  14843. "type": "string"
  14844. },
  14845. "qq": {
  14846. "description": "QQ(加密存储",
  14847. "type": "string"
  14848. },
  14849. "referral": {
  14850. "description": "推荐人编码",
  14851. "type": "string"
  14852. },
  14853. "remark": {
  14854. "description": "备注",
  14855. "type": "string"
  14856. },
  14857. "removebeforestatus": {
  14858. "description": "REMOVEBEFORESTATUS",
  14859. "type": "integer"
  14860. },
  14861. "sex": {
  14862. "description": "性别 - 0:女 1:男",
  14863. "type": "integer"
  14864. },
  14865. "signedstatus": {
  14866. "description": "账户一号签签约状态",
  14867. "type": "integer"
  14868. },
  14869. "signpdfurl": {
  14870. "description": "签约pdf文件",
  14871. "type": "string"
  14872. },
  14873. "subbranch": {
  14874. "description": "开户支行",
  14875. "type": "string"
  14876. },
  14877. "taxpayernum": {
  14878. "description": "纳税人识别号",
  14879. "type": "string"
  14880. },
  14881. "telphone": {
  14882. "description": "联系电话(加密存储)",
  14883. "type": "string"
  14884. },
  14885. "userid": {
  14886. "description": "用户ID(自增ID)SEQ_WSKH_USERINFO",
  14887. "type": "integer"
  14888. },
  14889. "userinfotype": {
  14890. "description": "用户信息类型 - 1:个人 2:企业",
  14891. "type": "integer"
  14892. },
  14893. "username": {
  14894. "description": "用户姓名",
  14895. "type": "string"
  14896. },
  14897. "userstate": {
  14898. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  14899. "type": "integer"
  14900. },
  14901. "usertype": {
  14902. "description": "用户类型 - 1:投资者 2:机构",
  14903. "type": "integer"
  14904. },
  14905. "videourl": {
  14906. "description": "视频地址",
  14907. "type": "string"
  14908. },
  14909. "wechat": {
  14910. "description": "微信号 (加密存储)",
  14911. "type": "string"
  14912. }
  14913. }
  14914. },
  14915. "erms3.CustomerInfo": {
  14916. "type": "object",
  14917. "required": [
  14918. "userid"
  14919. ],
  14920. "properties": {
  14921. "accountids": {
  14922. "description": "资金账户ID列表",
  14923. "type": "array",
  14924. "items": {
  14925. "type": "integer"
  14926. }
  14927. },
  14928. "customername": {
  14929. "description": "名称(企业名称)",
  14930. "type": "string"
  14931. },
  14932. "mobile": {
  14933. "description": "手机号码",
  14934. "type": "string"
  14935. },
  14936. "userid": {
  14937. "description": "用户ID",
  14938. "type": "integer"
  14939. }
  14940. }
  14941. },
  14942. "erms3.ModifyUserInfoApplyReq": {
  14943. "type": "object",
  14944. "required": [
  14945. "userid"
  14946. ],
  14947. "properties": {
  14948. "accountid": {
  14949. "description": "交易系统帐号Id (加密存储)",
  14950. "type": "integer"
  14951. },
  14952. "areacode": {
  14953. "description": "机构代码",
  14954. "type": "string"
  14955. },
  14956. "areaid": {
  14957. "description": "机构Id",
  14958. "type": "integer"
  14959. },
  14960. "attachment1": {
  14961. "description": "附件1",
  14962. "type": "string"
  14963. },
  14964. "attachment2": {
  14965. "description": "附件2",
  14966. "type": "string"
  14967. },
  14968. "attachment3": {
  14969. "description": "附件3",
  14970. "type": "string"
  14971. },
  14972. "attachment4": {
  14973. "description": "附件4",
  14974. "type": "string"
  14975. },
  14976. "attachment5": {
  14977. "description": "附件5",
  14978. "type": "string"
  14979. },
  14980. "auditedby": {
  14981. "description": "审核人",
  14982. "type": "string"
  14983. },
  14984. "auditime": {
  14985. "description": "审核时间",
  14986. "type": "string"
  14987. },
  14988. "auditsrc": {
  14989. "description": "审核来源 - 1:管理端 2:终端",
  14990. "type": "integer"
  14991. },
  14992. "bankaccount": {
  14993. "description": "银行帐号 (加密存储)",
  14994. "type": "string"
  14995. },
  14996. "bankaccountname": {
  14997. "description": "收款人名称",
  14998. "type": "string"
  14999. },
  15000. "bankcardbackphotourl": {
  15001. "description": "银行卡背面照地址",
  15002. "type": "string"
  15003. },
  15004. "bankcardfrontphotourl": {
  15005. "description": "银行卡正面照地址",
  15006. "type": "string"
  15007. },
  15008. "bankid": {
  15009. "description": "银行编码",
  15010. "type": "string"
  15011. },
  15012. "bankname": {
  15013. "description": "银行名称",
  15014. "type": "string"
  15015. },
  15016. "bankpictureurl": {
  15017. "description": "银行卡正面地址",
  15018. "type": "string"
  15019. },
  15020. "biznature": {
  15021. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  15022. "type": "integer"
  15023. },
  15024. "bizscope": {
  15025. "description": "企业经营范围(企业)",
  15026. "type": "string"
  15027. },
  15028. "biztype": {
  15029. "description": "企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储",
  15030. "type": "integer"
  15031. },
  15032. "brokerid": {
  15033. "description": "经纪人ID(加密存储)",
  15034. "type": "string"
  15035. },
  15036. "cardaddress": {
  15037. "description": "证件地址 (加密存储)",
  15038. "type": "string"
  15039. },
  15040. "cardbackphotourl": {
  15041. "description": "背面证件照地址",
  15042. "type": "string"
  15043. },
  15044. "cardfrontphotourl": {
  15045. "description": "正面证件照地址",
  15046. "type": "string"
  15047. },
  15048. "cardnum": {
  15049. "description": "证件号码 (加密存储)",
  15050. "type": "string"
  15051. },
  15052. "cardtype": {
  15053. "description": "证件类型",
  15054. "type": "integer"
  15055. },
  15056. "cityid": {
  15057. "description": "市",
  15058. "type": "integer"
  15059. },
  15060. "company": {
  15061. "description": "公司(个人)",
  15062. "type": "string"
  15063. },
  15064. "contactcardbackphotourl": {
  15065. "description": "联系人证件背面图片地址",
  15066. "type": "string"
  15067. },
  15068. "contactcardfrontphotourl": {
  15069. "description": "联系人证件正面图片地址",
  15070. "type": "string"
  15071. },
  15072. "contactname": {
  15073. "description": "联系人",
  15074. "type": "string"
  15075. },
  15076. "countryid": {
  15077. "description": "国家",
  15078. "type": "integer"
  15079. },
  15080. "createtime": {
  15081. "description": "开户申请时间",
  15082. "type": "string"
  15083. },
  15084. "cusbankid": {
  15085. "description": "签约类型",
  15086. "type": "string"
  15087. },
  15088. "cusbankname": {
  15089. "description": "签约类型名称",
  15090. "type": "string"
  15091. },
  15092. "customername": {
  15093. "description": "客户名称(企业名称)",
  15094. "type": "string"
  15095. },
  15096. "districtid": {
  15097. "description": "地区",
  15098. "type": "integer"
  15099. },
  15100. "email": {
  15101. "description": "Email地址(加密存储)",
  15102. "type": "string"
  15103. },
  15104. "halfbodyphotourl": {
  15105. "description": "半身照地址",
  15106. "type": "string"
  15107. },
  15108. "headurl": {
  15109. "description": "头像地址",
  15110. "type": "string"
  15111. },
  15112. "ipaddress": {
  15113. "description": "IP地址",
  15114. "type": "string"
  15115. },
  15116. "isvalidate": {
  15117. "description": "是否有效 (删除后标记为失效) - 0:无效 1:有效",
  15118. "type": "string"
  15119. },
  15120. "legalcardbackphotourl": {
  15121. "description": "法人身份证背面照地址",
  15122. "type": "string"
  15123. },
  15124. "legalcardfrontphotourl": {
  15125. "description": "法人身份证正面照地址",
  15126. "type": "string"
  15127. },
  15128. "legalpersonname": {
  15129. "description": "法人姓名(企业)",
  15130. "type": "string"
  15131. },
  15132. "logincode": {
  15133. "description": "登录帐号 (加密存储)",
  15134. "type": "string"
  15135. },
  15136. "memberareaid": {
  15137. "description": "所属会员ID",
  15138. "type": "integer"
  15139. },
  15140. "mobile2": {
  15141. "description": "手机号码[明文-尚志]",
  15142. "type": "string"
  15143. },
  15144. "mobilephone": {
  15145. "description": "手机号码 (加密存储)",
  15146. "type": "string"
  15147. },
  15148. "modifiedby": {
  15149. "description": "修改人帐号",
  15150. "type": "integer"
  15151. },
  15152. "modifiedtime": {
  15153. "description": "修改时间",
  15154. "type": "string"
  15155. },
  15156. "nickname": {
  15157. "description": "昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)",
  15158. "type": "string"
  15159. },
  15160. "openmode": {
  15161. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)",
  15162. "type": "integer"
  15163. },
  15164. "otherurl": {
  15165. "description": "其它图片地址[使用分号分隔]",
  15166. "type": "string"
  15167. },
  15168. "postalcode": {
  15169. "description": "邮政编码",
  15170. "type": "string"
  15171. },
  15172. "provinceid": {
  15173. "description": "省",
  15174. "type": "integer"
  15175. },
  15176. "proxystatementurl": {
  15177. "description": "授权委托书",
  15178. "type": "string"
  15179. },
  15180. "qq": {
  15181. "description": "QQ(加密存储",
  15182. "type": "string"
  15183. },
  15184. "referral": {
  15185. "description": "推荐人编码",
  15186. "type": "string"
  15187. },
  15188. "remark": {
  15189. "description": "备注",
  15190. "type": "string"
  15191. },
  15192. "removebeforestatus": {
  15193. "description": "REMOVEBEFORESTATUS",
  15194. "type": "integer"
  15195. },
  15196. "sex": {
  15197. "description": "性别 - 0:女 1:男",
  15198. "type": "integer"
  15199. },
  15200. "signedstatus": {
  15201. "description": "账户一号签签约状态",
  15202. "type": "integer"
  15203. },
  15204. "signpdfurl": {
  15205. "description": "签约pdf文件",
  15206. "type": "string"
  15207. },
  15208. "subbranch": {
  15209. "description": "开户支行",
  15210. "type": "string"
  15211. },
  15212. "taxpayernum": {
  15213. "description": "纳税人识别号",
  15214. "type": "string"
  15215. },
  15216. "telphone": {
  15217. "description": "联系电话(加密存储)",
  15218. "type": "string"
  15219. },
  15220. "userid": {
  15221. "description": "用户ID(自增ID)SEQ_WSKH_USERINFO",
  15222. "type": "integer"
  15223. },
  15224. "userinfotype": {
  15225. "description": "用户信息类型 - 1:个人 2:企业",
  15226. "type": "integer"
  15227. },
  15228. "username": {
  15229. "description": "用户姓名",
  15230. "type": "string"
  15231. },
  15232. "userstate": {
  15233. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  15234. "type": "integer"
  15235. },
  15236. "usertype": {
  15237. "description": "用户类型 - 1:投资者 2:机构",
  15238. "type": "integer"
  15239. },
  15240. "videourl": {
  15241. "description": "视频地址",
  15242. "type": "string"
  15243. },
  15244. "wechat": {
  15245. "description": "微信号 (加密存储)",
  15246. "type": "string"
  15247. }
  15248. }
  15249. },
  15250. "erms3.QryAuditContractRsp": {
  15251. "type": "object",
  15252. "required": [
  15253. "matchcustomername",
  15254. "spotcontractid"
  15255. ],
  15256. "properties": {
  15257. "accountid": {
  15258. "description": "交易员ID",
  15259. "type": "string"
  15260. },
  15261. "applystatus": {
  15262. "description": "申请状态 - 0:未审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  15263. "type": "integer"
  15264. },
  15265. "curdeliveryqty": {
  15266. "description": "未交收量",
  15267. "type": "integer"
  15268. },
  15269. "customername": {
  15270. "description": "采购方ID",
  15271. "type": "string"
  15272. },
  15273. "deliverygoodsid": {
  15274. "description": "品种ID",
  15275. "type": "string"
  15276. },
  15277. "deliveryqty": {
  15278. "description": "交收量",
  15279. "type": "integer"
  15280. },
  15281. "enumdicname": {
  15282. "description": "单位名称",
  15283. "type": "string"
  15284. },
  15285. "matchaccountid": {
  15286. "description": "业务员ID",
  15287. "type": "string"
  15288. },
  15289. "matchcustomername": {
  15290. "description": "销售方ID",
  15291. "type": "string"
  15292. },
  15293. "pricedqty": {
  15294. "description": "定价量",
  15295. "type": "number"
  15296. },
  15297. "signdate": {
  15298. "description": "签订日期",
  15299. "type": "string"
  15300. },
  15301. "spotcontractid": {
  15302. "description": "合同ID",
  15303. "type": "string"
  15304. },
  15305. "totaldqty": {
  15306. "description": "合同量",
  15307. "type": "number"
  15308. },
  15309. "unpricedqty": {
  15310. "description": "未定价量",
  15311. "type": "number"
  15312. },
  15313. "wrstandardname": {
  15314. "description": "商品名称",
  15315. "type": "string"
  15316. }
  15317. }
  15318. },
  15319. "erms3.QryPendingBizRsp": {
  15320. "$ref": "#/definitions/models.PendingAuditBizModel"
  15321. },
  15322. "erms3.QueryBusinessInfoRsp": {
  15323. "type": "object",
  15324. "properties": {
  15325. "businessid": {
  15326. "description": "业务ID.",
  15327. "type": "integer"
  15328. },
  15329. "buyamount": {
  15330. "description": "采购额.",
  15331. "type": "number"
  15332. },
  15333. "buyqty": {
  15334. "description": "采购量.",
  15335. "type": "string"
  15336. },
  15337. "futurepl": {
  15338. "description": "期货盈亏.",
  15339. "type": "number"
  15340. },
  15341. "futureqty": {
  15342. "description": "期货敞口.",
  15343. "type": "string"
  15344. },
  15345. "goodsid": {
  15346. "description": "商品名称/商品代码.",
  15347. "type": "string"
  15348. },
  15349. "hedgingqty": {
  15350. "description": "套保量.",
  15351. "type": "string"
  15352. },
  15353. "sellamount": {
  15354. "description": "销售额.",
  15355. "type": "number"
  15356. },
  15357. "sellqty": {
  15358. "description": "销售量.",
  15359. "type": "string"
  15360. },
  15361. "spotmarketvalue": {
  15362. "description": "现货市值.",
  15363. "type": "number"
  15364. },
  15365. "spotpl": {
  15366. "description": "浮动权益.",
  15367. "type": "number"
  15368. },
  15369. "spotqty": {
  15370. "description": "现货量.",
  15371. "type": "string"
  15372. },
  15373. "statu": {
  15374. "description": "状态,0-未结束 1-已结束.",
  15375. "type": "integer"
  15376. },
  15377. "totalpl": {
  15378. "description": "总盈亏.",
  15379. "type": "number"
  15380. },
  15381. "totalqty": {
  15382. "description": "总敞口.",
  15383. "type": "string"
  15384. },
  15385. "type": {
  15386. "description": "业务类型,1-期现套利,2-仓单回购,3-现货贸易.",
  15387. "type": "integer"
  15388. }
  15389. }
  15390. },
  15391. "erms3.QuerySpotContractAppleFormRsp": {
  15392. "type": "object",
  15393. "properties": {
  15394. "goodses": {
  15395. "description": "合约列表",
  15396. "type": "array",
  15397. "items": {
  15398. "$ref": "#/definitions/models.GoodsIDAndName"
  15399. }
  15400. },
  15401. "oppositeusers": {
  15402. "description": "对方账号列表",
  15403. "type": "array",
  15404. "items": {
  15405. "$ref": "#/definitions/erms3.CustomerInfo"
  15406. }
  15407. },
  15408. "ouruser": {
  15409. "description": "我方账号",
  15410. "type": "object",
  15411. "$ref": "#/definitions/erms3.CustomerInfo"
  15412. },
  15413. "warehouseinfos": {
  15414. "description": "仓库信息列表",
  15415. "type": "array",
  15416. "items": {
  15417. "$ref": "#/definitions/models.Warehouseinfo"
  15418. }
  15419. },
  15420. "wrstandards": {
  15421. "description": "仓单标准列表",
  15422. "type": "array",
  15423. "items": {
  15424. "$ref": "#/definitions/models.WRStandardInfo"
  15425. }
  15426. }
  15427. }
  15428. },
  15429. "erms3.QuerySpotContractInfoRsp": {
  15430. "type": "object",
  15431. "properties": {
  15432. "accountid": {
  15433. "description": "表示交易员ID.",
  15434. "type": "integer"
  15435. },
  15436. "curdeliveryqty": {
  15437. "description": "表示未交收量.",
  15438. "type": "number"
  15439. },
  15440. "customername": {
  15441. "description": "若合同类型为采购合同,表示采购方ID;若合同类型为销售合同,表示销售方ID.",
  15442. "type": "string"
  15443. },
  15444. "deliverygoodsid": {
  15445. "description": "表示品种ID.",
  15446. "type": "string"
  15447. },
  15448. "deliveryqty": {
  15449. "description": "表示交收量.",
  15450. "type": "number"
  15451. },
  15452. "matchaccountid": {
  15453. "description": "表示业务员ID.",
  15454. "type": "integer"
  15455. },
  15456. "matchcustomername": {
  15457. "description": "若合同类型为采购合同,表示销售方;若合同类型为销售合同,表示采购方ID.",
  15458. "type": "string"
  15459. },
  15460. "priceqty": {
  15461. "description": "表示定价量.",
  15462. "type": "number"
  15463. },
  15464. "relatedbizid": {
  15465. "description": "表示业务ID.",
  15466. "type": "string"
  15467. },
  15468. "signdate": {
  15469. "description": "表示签订日期.",
  15470. "type": "string"
  15471. },
  15472. "spotcontractid": {
  15473. "description": "合同ID",
  15474. "type": "string"
  15475. },
  15476. "status": {
  15477. "description": "表示状态,0-履约中 1-已完成.",
  15478. "type": "integer"
  15479. },
  15480. "totalqty": {
  15481. "description": "表示合同量.",
  15482. "type": "number"
  15483. },
  15484. "unpricedqty": {
  15485. "description": "表示未定价量.",
  15486. "type": "number"
  15487. },
  15488. "wrstandardname": {
  15489. "description": "表示商品ID.",
  15490. "type": "string"
  15491. }
  15492. }
  15493. },
  15494. "erms3.QueryUserInfoAppliesRsp": {
  15495. "type": "object",
  15496. "required": [
  15497. "userid"
  15498. ],
  15499. "properties": {
  15500. "biznature": {
  15501. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  15502. "type": "integer"
  15503. },
  15504. "contactname": {
  15505. "description": "联系人",
  15506. "type": "string"
  15507. },
  15508. "createtime": {
  15509. "description": "开户申请时间",
  15510. "type": "string"
  15511. },
  15512. "userid": {
  15513. "description": "用户ID(自增ID)",
  15514. "type": "integer"
  15515. },
  15516. "userinfotype": {
  15517. "description": "用户信息类型 - 1:个人 2:企业",
  15518. "type": "integer"
  15519. },
  15520. "username": {
  15521. "description": "用户姓名",
  15522. "type": "string"
  15523. },
  15524. "userstate": {
  15525. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  15526. "type": "integer"
  15527. }
  15528. }
  15529. },
  15530. "erms3.QueryUserInfosRsp": {
  15531. "type": "object",
  15532. "required": [
  15533. "userid"
  15534. ],
  15535. "properties": {
  15536. "biznature": {
  15537. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  15538. "type": "integer"
  15539. },
  15540. "contactname": {
  15541. "description": "联系人",
  15542. "type": "string"
  15543. },
  15544. "customername": {
  15545. "description": "客户名称(企业名称)",
  15546. "type": "string"
  15547. },
  15548. "userid": {
  15549. "description": "用户ID",
  15550. "type": "integer"
  15551. },
  15552. "userinfotype": {
  15553. "description": "用户信息类型 - 1:个人 2:企业",
  15554. "type": "integer"
  15555. },
  15556. "userstatus": {
  15557. "description": "用户状态 - 1:正常 2:注销",
  15558. "type": "integer"
  15559. }
  15560. }
  15561. },
  15562. "erms3.SoptContractDetail": {
  15563. "type": "object",
  15564. "required": [
  15565. "deliverygoodsid",
  15566. "producttype",
  15567. "unitname",
  15568. "warehouseid",
  15569. "wrstandardid",
  15570. "wrstandardname"
  15571. ],
  15572. "properties": {
  15573. "deliverygoodsdesc": {
  15574. "description": "现货品种说明",
  15575. "type": "string"
  15576. },
  15577. "deliverygoodsid": {
  15578. "description": "现货品种ID",
  15579. "type": "integer"
  15580. },
  15581. "deliverygoodsname": {
  15582. "description": "现货品种名称",
  15583. "type": "string"
  15584. },
  15585. "pointdesc": {
  15586. "description": "点价描述",
  15587. "type": "string"
  15588. },
  15589. "producttype": {
  15590. "description": "产品类型 1:标准仓单 2:等标 3:非标",
  15591. "type": "integer"
  15592. },
  15593. "producttypename": {
  15594. "description": "产品类型名称",
  15595. "type": "string"
  15596. },
  15597. "spotPointOrderVoList": {
  15598. "description": "点价列表",
  15599. "type": "array",
  15600. "items": {
  15601. "$ref": "#/definitions/erms3.SpotPointOrder"
  15602. }
  15603. },
  15604. "spotPriceOrderList": {
  15605. "description": "定价列表",
  15606. "type": "array",
  15607. "items": {
  15608. "$ref": "#/definitions/erms3.SpotPriceOrder"
  15609. }
  15610. },
  15611. "unitname": {
  15612. "description": "单位名称",
  15613. "type": "string"
  15614. },
  15615. "warehouseid": {
  15616. "description": "仓库ID",
  15617. "type": "integer"
  15618. },
  15619. "warehousename": {
  15620. "description": "仓库名称",
  15621. "type": "string"
  15622. },
  15623. "wrstandardid": {
  15624. "description": "交易标的ID",
  15625. "type": "integer"
  15626. },
  15627. "wrstandardname": {
  15628. "description": "交易标的名称",
  15629. "type": "string"
  15630. }
  15631. }
  15632. },
  15633. "erms3.SpotPointOrder": {
  15634. "type": "object",
  15635. "required": [
  15636. "basic",
  15637. "goodsid",
  15638. "qty"
  15639. ],
  15640. "properties": {
  15641. "basic": {
  15642. "description": "基差",
  15643. "type": "number"
  15644. },
  15645. "deliveryenddate": {
  15646. "description": "交收结束日期",
  15647. "type": "string"
  15648. },
  15649. "deliverystartdate": {
  15650. "description": "交收开始日期",
  15651. "type": "string"
  15652. },
  15653. "enddate": {
  15654. "description": "点价结束日期",
  15655. "type": "string"
  15656. },
  15657. "goodsid": {
  15658. "description": "商品ID",
  15659. "type": "integer"
  15660. },
  15661. "goodsname": {
  15662. "description": "商品名称",
  15663. "type": "string"
  15664. },
  15665. "qty": {
  15666. "description": "数量",
  15667. "type": "number"
  15668. },
  15669. "startdate": {
  15670. "description": "点价开始日期",
  15671. "type": "string"
  15672. }
  15673. }
  15674. },
  15675. "erms3.SpotPriceOrder": {
  15676. "type": "object",
  15677. "required": [
  15678. "amount",
  15679. "price",
  15680. "qty"
  15681. ],
  15682. "properties": {
  15683. "amount": {
  15684. "description": "金额",
  15685. "type": "number"
  15686. },
  15687. "deliveryenddate": {
  15688. "description": "交收结束日期",
  15689. "type": "string"
  15690. },
  15691. "deliverystartdate": {
  15692. "description": "交收开始日期",
  15693. "type": "string"
  15694. },
  15695. "price": {
  15696. "description": "价格",
  15697. "type": "number"
  15698. },
  15699. "qty": {
  15700. "description": "数量",
  15701. "type": "number"
  15702. }
  15703. }
  15704. },
  15705. "hsby.GetHsbyMyCountRsp": {
  15706. "type": "object",
  15707. "properties": {
  15708. "myCouponCount": {
  15709. "description": "我的优惠卷数量",
  15710. "type": "integer"
  15711. },
  15712. "myOrderDetailListingCount": {
  15713. "description": "我的订单求购中数量",
  15714. "type": "integer"
  15715. },
  15716. "myOrderDetailPreCount": {
  15717. "description": "我的订单抢购中数量",
  15718. "type": "integer"
  15719. },
  15720. "myPackageUnReceiveCount": {
  15721. "description": "我的包裹待收货数量",
  15722. "type": "integer"
  15723. },
  15724. "myPackageUnSendCount": {
  15725. "description": "我的包裹待发货数量",
  15726. "type": "integer"
  15727. },
  15728. "myPayOrderCount": {
  15729. "description": "我的订单待付款数量",
  15730. "type": "integer"
  15731. }
  15732. }
  15733. },
  15734. "hsby.QueryProvincesAndCitiesRsp": {
  15735. "type": "object",
  15736. "properties": {
  15737. "cities": {
  15738. "description": "市",
  15739. "type": "array",
  15740. "items": {
  15741. "$ref": "#/definitions/models.Division"
  15742. }
  15743. },
  15744. "province": {
  15745. "description": "省",
  15746. "type": "object",
  15747. "$ref": "#/definitions/models.Division"
  15748. }
  15749. }
  15750. },
  15751. "models.AreaSpotModel": {
  15752. "type": "object",
  15753. "properties": {
  15754. "areauserid": {
  15755. "description": "所属机构",
  15756. "type": "integer"
  15757. },
  15758. "decreaseqty": {
  15759. "description": "减少数量=-(销售已定价数量+采购计划数量)",
  15760. "type": "number"
  15761. },
  15762. "increaseqty": {
  15763. "description": "增加数量=销售计划数量+采购已定价数量",
  15764. "type": "number"
  15765. },
  15766. "oritoalspotqty": {
  15767. "description": "昨日数量",
  15768. "type": "number"
  15769. },
  15770. "totalspotqty": {
  15771. "description": "当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)",
  15772. "type": "number"
  15773. },
  15774. "updatetime": {
  15775. "description": "更新时间",
  15776. "type": "string"
  15777. },
  15778. "wrstandardcode": {
  15779. "description": "现货品种代码",
  15780. "type": "string"
  15781. },
  15782. "wrstandardid": {
  15783. "description": "现货商品ID",
  15784. "type": "integer"
  15785. },
  15786. "wrstandardname": {
  15787. "description": "现货品种",
  15788. "type": "string"
  15789. }
  15790. }
  15791. },
  15792. "models.Arearole": {
  15793. "type": "object",
  15794. "required": [
  15795. "roletype",
  15796. "userid"
  15797. ],
  15798. "properties": {
  15799. "createtime": {
  15800. "description": "创建时间",
  15801. "type": "string"
  15802. },
  15803. "creatorid": {
  15804. "description": "创建人ID",
  15805. "type": "integer"
  15806. },
  15807. "fromuserid": {
  15808. "description": "所属机构(组织机构)( OrgType = 1时为自己, = 2\\3时取上级机构的所属机构)",
  15809. "type": "integer"
  15810. },
  15811. "isreturnscore": {
  15812. "description": "是否返还积分 [经纪会员-辽东湾] - 0:不返还 1:返还",
  15813. "type": "integer"
  15814. },
  15815. "modifierid": {
  15816. "description": "修改人ID",
  15817. "type": "integer"
  15818. },
  15819. "modifytime": {
  15820. "description": "修改时间",
  15821. "type": "string"
  15822. },
  15823. "orgtype": {
  15824. "description": "组织机构类型 1:机构\\分支节点 2:交易员\\叶子节点 3:部门\\分支节点",
  15825. "type": "integer"
  15826. },
  15827. "outuserid": {
  15828. "description": "外部账户[场外期权做市商]",
  15829. "type": "string"
  15830. },
  15831. "parentuserid": {
  15832. "description": "上级组织机构(组织机构)",
  15833. "type": "integer"
  15834. },
  15835. "roletype": {
  15836. "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:门店",
  15837. "type": "integer"
  15838. },
  15839. "rootuserid": {
  15840. "description": "顶级组织机构用户ID(组织机构)",
  15841. "type": "integer"
  15842. },
  15843. "shoppassword": {
  15844. "description": "商城店铺登陆密码(商城店铺角色使用)",
  15845. "type": "string"
  15846. },
  15847. "sublevelpath": {
  15848. "description": "组织机构层级路径(逗号分隔,首尾加逗号)",
  15849. "type": "string"
  15850. },
  15851. "suborgtype": {
  15852. "description": "子机构类型(千海金) - 0:机构 1:代理 2:门店",
  15853. "type": "integer"
  15854. },
  15855. "tradeaccountid": {
  15856. "description": "默认交易资金账号ID(做市会员被动接单使用、商城店铺默认资金账 号、圈内会员默认资金账号) - 作废, 使用UserReckonAccount",
  15857. "type": "integer"
  15858. },
  15859. "transurl": {
  15860. "description": "物流地址(物流机构)",
  15861. "type": "string"
  15862. },
  15863. "userid": {
  15864. "description": "机构用户ID其他做市关系,都设置为 1",
  15865. "type": "integer"
  15866. }
  15867. }
  15868. },
  15869. "models.Clientfixedadconfig": {
  15870. "type": "object",
  15871. "required": [
  15872. "adsort",
  15873. "adtype"
  15874. ],
  15875. "properties": {
  15876. "adsort": {
  15877. "description": "排序",
  15878. "type": "integer"
  15879. },
  15880. "adtype": {
  15881. "description": "广告位类型 - 1:新品抢购(HSBY)",
  15882. "type": "integer"
  15883. },
  15884. "areauserid": {
  15885. "description": "所属机构ID",
  15886. "type": "integer"
  15887. },
  15888. "createdate": {
  15889. "description": "创建时间",
  15890. "type": "string"
  15891. },
  15892. "creatorid": {
  15893. "description": "创建人",
  15894. "type": "integer"
  15895. },
  15896. "imagepath": {
  15897. "description": "图片",
  15898. "type": "string"
  15899. },
  15900. "isshow": {
  15901. "description": "是否展示 - 0:不展示 1:展示",
  15902. "type": "integer"
  15903. },
  15904. "modifierid": {
  15905. "description": "操作人",
  15906. "type": "integer"
  15907. },
  15908. "recsize": {
  15909. "description": "推荐尺寸",
  15910. "type": "string"
  15911. },
  15912. "title": {
  15913. "description": "标题",
  15914. "type": "string"
  15915. },
  15916. "updatedate": {
  15917. "description": "更新时间",
  15918. "type": "string"
  15919. },
  15920. "urlcontent": {
  15921. "description": "链接(地址或商品ID)",
  15922. "type": "string"
  15923. },
  15924. "urltype": {
  15925. "description": "链接类型 - 1:直接地址 2:商品ID",
  15926. "type": "integer"
  15927. }
  15928. }
  15929. },
  15930. "models.Division": {
  15931. "type": "object",
  15932. "required": [
  15933. "autoid",
  15934. "divisioncode"
  15935. ],
  15936. "properties": {
  15937. "autoid": {
  15938. "description": "自增ID",
  15939. "type": "integer"
  15940. },
  15941. "divisioncode": {
  15942. "description": "行政代码",
  15943. "type": "string"
  15944. },
  15945. "divisionlevel": {
  15946. "description": "行政级别",
  15947. "type": "string"
  15948. },
  15949. "divisionname": {
  15950. "description": "行政名称",
  15951. "type": "string"
  15952. },
  15953. "modifierid": {
  15954. "description": "修改人",
  15955. "type": "integer"
  15956. },
  15957. "modifytime": {
  15958. "description": "修改时间",
  15959. "type": "string"
  15960. },
  15961. "parentcode": {
  15962. "description": "上级行政代码",
  15963. "type": "string"
  15964. },
  15965. "pathname": {
  15966. "description": "路径名称",
  15967. "type": "string"
  15968. },
  15969. "postcode": {
  15970. "description": "邮政编码",
  15971. "type": "string"
  15972. },
  15973. "separablename": {
  15974. "description": "可拆分的全称",
  15975. "type": "string"
  15976. },
  15977. "shortcode": {
  15978. "description": "地区简码",
  15979. "type": "string"
  15980. }
  15981. }
  15982. },
  15983. "models.Enumdicitem": {
  15984. "type": "object",
  15985. "required": [
  15986. "autoid",
  15987. "enumdiccode",
  15988. "enumdicid",
  15989. "enumitemname"
  15990. ],
  15991. "properties": {
  15992. "autoid": {
  15993. "description": "自增ID",
  15994. "type": "integer"
  15995. },
  15996. "bankmappedvalue": {
  15997. "description": "银行服务对应值",
  15998. "type": "string"
  15999. },
  16000. "enumdiccode": {
  16001. "description": "所属枚举代码",
  16002. "type": "string"
  16003. },
  16004. "enumdicid": {
  16005. "description": "所属枚举ID",
  16006. "type": "integer"
  16007. },
  16008. "enumdicname": {
  16009. "description": "枚举项名称",
  16010. "type": "string"
  16011. },
  16012. "enumitemname": {
  16013. "description": "枚举项值",
  16014. "type": "integer"
  16015. },
  16016. "enumitemstatus": {
  16017. "description": "枚举项状态 - 1.启用 2.不启用",
  16018. "type": "integer"
  16019. },
  16020. "enumitemvalue": {
  16021. "description": "通用值 - [币种通用简写]",
  16022. "type": "string"
  16023. },
  16024. "param1": {
  16025. "description": "参数1[币种:币种小数位]",
  16026. "type": "string"
  16027. },
  16028. "param2": {
  16029. "description": "参数1[币种:币种显示单位]",
  16030. "type": "string"
  16031. },
  16032. "remark": {
  16033. "description": "备注",
  16034. "type": "string"
  16035. }
  16036. }
  16037. },
  16038. "models.Ermcp3AreaSpot": {
  16039. "type": "object",
  16040. "properties": {
  16041. "areauserid": {
  16042. "description": "所属机构",
  16043. "type": "integer"
  16044. },
  16045. "decreaseqty": {
  16046. "description": "减少数量=-(销售已定价数量+采购计划数量)",
  16047. "type": "number"
  16048. },
  16049. "deliverygoodscode": {
  16050. "description": "现货品种代码",
  16051. "type": "string"
  16052. },
  16053. "deliverygoodsid": {
  16054. "description": "现货品种id",
  16055. "type": "integer"
  16056. },
  16057. "deliverygoodsname": {
  16058. "description": "现货品种名称",
  16059. "type": "string"
  16060. },
  16061. "enumdicname": {
  16062. "description": "单位名称",
  16063. "type": "string"
  16064. },
  16065. "goodsunitid": {
  16066. "description": "现货品种单位id",
  16067. "type": "integer"
  16068. },
  16069. "increaseqty": {
  16070. "description": "增加数量=销售计划数量+采购已定价数量",
  16071. "type": "number"
  16072. },
  16073. "oritoalspotqty": {
  16074. "description": "昨日数量",
  16075. "type": "number"
  16076. },
  16077. "totalspotqty": {
  16078. "description": "当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)",
  16079. "type": "number"
  16080. },
  16081. "updatetime": {
  16082. "description": "更新时间",
  16083. "type": "string"
  16084. }
  16085. }
  16086. },
  16087. "models.Ermcp3AreaSpotDetail": {
  16088. "type": "object",
  16089. "properties": {
  16090. "contracttype": {
  16091. "description": "合同类型 1-采购 -1-销售",
  16092. "type": "integer"
  16093. },
  16094. "createtime": {
  16095. "description": "创建时间",
  16096. "type": "string"
  16097. },
  16098. "deliverygoodscode": {
  16099. "description": "现货品种代码",
  16100. "type": "string"
  16101. },
  16102. "deliverygoodsid": {
  16103. "description": "现货品种id",
  16104. "type": "integer"
  16105. },
  16106. "deliverygoodsname": {
  16107. "description": "现货品种名称",
  16108. "type": "string"
  16109. },
  16110. "enumdicname": {
  16111. "description": "现货商品单位名称",
  16112. "type": "string"
  16113. },
  16114. "logtype": {
  16115. "description": "记录类型 1-套保 2-现货合同",
  16116. "type": "integer"
  16117. },
  16118. "qty": {
  16119. "description": "数量",
  16120. "type": "number"
  16121. },
  16122. "recordname": {
  16123. "description": "类型名称",
  16124. "type": "string"
  16125. },
  16126. "relatedid": {
  16127. "description": "套保计划ID/现货合同ID",
  16128. "type": "string"
  16129. },
  16130. "relatedno": {
  16131. "description": "编号",
  16132. "type": "string"
  16133. },
  16134. "strtime": {
  16135. "description": "时间",
  16136. "type": "string"
  16137. }
  16138. }
  16139. },
  16140. "models.Ermcp3AreaSpotPLReport": {
  16141. "type": "object",
  16142. "properties": {
  16143. "accountid": {
  16144. "description": "期货账户ID (作废, 默认为0)",
  16145. "type": "integer"
  16146. },
  16147. "accountname": {
  16148. "description": "机构名称",
  16149. "type": "string"
  16150. },
  16151. "actualpl": {
  16152. "description": "现货损益",
  16153. "type": "number"
  16154. },
  16155. "areauserid": {
  16156. "description": "所属机构\\交易用户ID",
  16157. "type": "integer"
  16158. },
  16159. "begindate": {
  16160. "description": "开始交易日",
  16161. "type": "string"
  16162. },
  16163. "biztype": {
  16164. "description": "业务类型 - 1:套保 2:套利",
  16165. "type": "integer"
  16166. },
  16167. "brandname": {
  16168. "description": "品牌名称",
  16169. "type": "string"
  16170. },
  16171. "curamount": {
  16172. "description": "期末额",
  16173. "type": "number"
  16174. },
  16175. "curaverageprice": {
  16176. "description": "期末均价",
  16177. "type": "number"
  16178. },
  16179. "curbuyamount": {
  16180. "description": "期末采购总额",
  16181. "type": "number"
  16182. },
  16183. "curbuyqty": {
  16184. "description": "期末采购总量",
  16185. "type": "number"
  16186. },
  16187. "curmarketvalue": {
  16188. "description": "参考市值(期末市值)",
  16189. "type": "number"
  16190. },
  16191. "curqty": {
  16192. "description": "期末量",
  16193. "type": "number"
  16194. },
  16195. "currencyid": {
  16196. "description": "结算币种ID【原值】",
  16197. "type": "integer"
  16198. },
  16199. "currencyname": {
  16200. "description": "币种名称",
  16201. "type": "string"
  16202. },
  16203. "cursellamount": {
  16204. "description": "期末销售总额",
  16205. "type": "number"
  16206. },
  16207. "cursellqty": {
  16208. "description": "期末销售总量",
  16209. "type": "number"
  16210. },
  16211. "curspotprice": {
  16212. "description": "参考市价(最新价)",
  16213. "type": "number"
  16214. },
  16215. "cycletime": {
  16216. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  16217. "type": "string"
  16218. },
  16219. "cycletype": {
  16220. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  16221. "type": "integer"
  16222. },
  16223. "deliverygoodscode": {
  16224. "description": "现货商品代码",
  16225. "type": "string"
  16226. },
  16227. "deliverygoodsid": {
  16228. "description": "现货品种ID",
  16229. "type": "integer"
  16230. },
  16231. "deliverygoodsname": {
  16232. "description": "现货商品名称",
  16233. "type": "string"
  16234. },
  16235. "enddate": {
  16236. "description": "结束交易日",
  16237. "type": "string"
  16238. },
  16239. "enumdicname": {
  16240. "description": "现货商品单位名称",
  16241. "type": "string"
  16242. },
  16243. "floatpl": {
  16244. "description": "浮动损益",
  16245. "type": "number"
  16246. },
  16247. "goodsunitid": {
  16248. "description": "现货商品单位id",
  16249. "type": "integer"
  16250. },
  16251. "oriamount": {
  16252. "description": "期初额",
  16253. "type": "number"
  16254. },
  16255. "oriaverageprice": {
  16256. "description": "期初均价",
  16257. "type": "number"
  16258. },
  16259. "oribuyamount": {
  16260. "description": "期初采购总额",
  16261. "type": "number"
  16262. },
  16263. "oribuyqty": {
  16264. "description": "期初采购总量",
  16265. "type": "number"
  16266. },
  16267. "oriqty": {
  16268. "description": "期初量",
  16269. "type": "number"
  16270. },
  16271. "orisellamount": {
  16272. "description": "期初销售总额",
  16273. "type": "number"
  16274. },
  16275. "orisellqty": {
  16276. "description": "期初销售总量",
  16277. "type": "number"
  16278. },
  16279. "reckondate": {
  16280. "description": "日照时期(yyyyMMdd)",
  16281. "type": "string"
  16282. },
  16283. "spotgoodsbrandid": {
  16284. "description": "现货品牌ID",
  16285. "type": "integer"
  16286. },
  16287. "todaybuyamount": {
  16288. "description": "今日采购额(今采购额)",
  16289. "type": "number"
  16290. },
  16291. "todaybuyaverageprice": {
  16292. "description": "今日采购均价",
  16293. "type": "number"
  16294. },
  16295. "todaybuyqty": {
  16296. "description": "今日采购量(今采购量)",
  16297. "type": "number"
  16298. },
  16299. "todayinqty": {
  16300. "description": "今日入库量(今入库量)",
  16301. "type": "number"
  16302. },
  16303. "todayoutqty": {
  16304. "description": "今日出库量(今出库量)",
  16305. "type": "number"
  16306. },
  16307. "todaysellamount": {
  16308. "description": "今日销售额(今销售额)",
  16309. "type": "number"
  16310. },
  16311. "todaysellaverageprice": {
  16312. "description": "今日销售均价",
  16313. "type": "number"
  16314. },
  16315. "todaysellqty": {
  16316. "description": "今日销售量(今销售量)",
  16317. "type": "number"
  16318. },
  16319. "unitid": {
  16320. "description": "品类单位id",
  16321. "type": "integer"
  16322. },
  16323. "unitidname": {
  16324. "description": "品类单位名称",
  16325. "type": "string"
  16326. },
  16327. "updatetime": {
  16328. "description": "更新时间",
  16329. "type": "string"
  16330. },
  16331. "wrfactortypeid": {
  16332. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  16333. "type": "integer"
  16334. },
  16335. "wrstandardcode": {
  16336. "description": "品类代码",
  16337. "type": "string"
  16338. },
  16339. "wrstandardid": {
  16340. "description": "现货品类ID",
  16341. "type": "integer"
  16342. },
  16343. "wrstandardname": {
  16344. "description": "品类名称",
  16345. "type": "string"
  16346. }
  16347. }
  16348. },
  16349. "models.Ermcp3AreaStock": {
  16350. "type": "object",
  16351. "required": [
  16352. "userid"
  16353. ],
  16354. "properties": {
  16355. "brandname": {
  16356. "description": "品牌名称",
  16357. "type": "string"
  16358. },
  16359. "curstock": {
  16360. "description": "期末库存量(今日量)",
  16361. "type": "number"
  16362. },
  16363. "deliverygoodscode": {
  16364. "description": "现货品种代码",
  16365. "type": "string"
  16366. },
  16367. "deliverygoodsid": {
  16368. "description": "现货品种id",
  16369. "type": "integer"
  16370. },
  16371. "deliverygoodsname": {
  16372. "description": "现货品种名称",
  16373. "type": "string"
  16374. },
  16375. "enumdicname": {
  16376. "description": "单位名称",
  16377. "type": "string"
  16378. },
  16379. "goodsunitid": {
  16380. "description": "现货商品单位id",
  16381. "type": "integer"
  16382. },
  16383. "oristock": {
  16384. "description": "期初库存量(昨日量)",
  16385. "type": "number"
  16386. },
  16387. "spotgoodsbrandid": {
  16388. "description": "现货品牌ID",
  16389. "type": "integer"
  16390. },
  16391. "todaybuyinqty": {
  16392. "description": "今日采购入库量",
  16393. "type": "number"
  16394. },
  16395. "todayproduceinqty": {
  16396. "description": "今日生产入库量",
  16397. "type": "number"
  16398. },
  16399. "todayproduceoutqty": {
  16400. "description": "今日生产出库量",
  16401. "type": "number"
  16402. },
  16403. "todayselloutqty": {
  16404. "description": "今日销售出库量",
  16405. "type": "number"
  16406. },
  16407. "unitid": {
  16408. "description": "单位id",
  16409. "type": "integer"
  16410. },
  16411. "updatetime": {
  16412. "description": "更新时间",
  16413. "type": "string"
  16414. },
  16415. "userid": {
  16416. "description": "机构ID",
  16417. "type": "integer"
  16418. },
  16419. "username": {
  16420. "description": "机构名称",
  16421. "type": "string"
  16422. },
  16423. "warehousecode": {
  16424. "description": "仓库代码",
  16425. "type": "string"
  16426. },
  16427. "warehouseinfoid": {
  16428. "description": "仓库ID",
  16429. "type": "string"
  16430. },
  16431. "warehousename": {
  16432. "description": "仓库名称",
  16433. "type": "string"
  16434. },
  16435. "warehousetype": {
  16436. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  16437. "type": "integer"
  16438. },
  16439. "wrstandardcode": {
  16440. "description": "品类代码",
  16441. "type": "string"
  16442. },
  16443. "wrstandardid": {
  16444. "description": "品类ID",
  16445. "type": "string"
  16446. },
  16447. "wrstandardname": {
  16448. "description": "品类名称",
  16449. "type": "string"
  16450. }
  16451. }
  16452. },
  16453. "models.Ermcp3AreaStockApply": {
  16454. "type": "object",
  16455. "properties": {
  16456. "applyid": {
  16457. "description": "申请人",
  16458. "type": "integer"
  16459. },
  16460. "applyname": {
  16461. "description": "申请人名称",
  16462. "type": "string"
  16463. },
  16464. "applyremark": {
  16465. "description": "申请备注",
  16466. "type": "string"
  16467. },
  16468. "applysrc": {
  16469. "description": "申请来源 - 1:管理端 2:终端",
  16470. "type": "integer"
  16471. },
  16472. "applystatus": {
  16473. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  16474. "type": "integer"
  16475. },
  16476. "applytime": {
  16477. "description": "申请时间",
  16478. "type": "string"
  16479. },
  16480. "auditid": {
  16481. "description": "审核人",
  16482. "type": "integer"
  16483. },
  16484. "auditname": {
  16485. "description": "审核人名称",
  16486. "type": "string"
  16487. },
  16488. "auditremark": {
  16489. "description": "审核备注",
  16490. "type": "string"
  16491. },
  16492. "auditsrc": {
  16493. "description": "审核来源 - 1:管理端 2:终端",
  16494. "type": "integer"
  16495. },
  16496. "audittime": {
  16497. "description": "审核时间",
  16498. "type": "string"
  16499. },
  16500. "audittradedate": {
  16501. "description": "审核交易日(yyyyMMdd)",
  16502. "type": "string"
  16503. },
  16504. "brandname": {
  16505. "description": "品牌名称",
  16506. "type": "string"
  16507. },
  16508. "buynickname": {
  16509. "description": "采购方昵称",
  16510. "type": "string"
  16511. },
  16512. "buyuserid": {
  16513. "description": "采购方userid",
  16514. "type": "integer"
  16515. },
  16516. "buyusername": {
  16517. "description": "采购方名称",
  16518. "type": "string"
  16519. },
  16520. "contractno": {
  16521. "description": "合同编号",
  16522. "type": "string"
  16523. },
  16524. "contractqty": {
  16525. "description": "合同量",
  16526. "type": "number"
  16527. },
  16528. "contracttype": {
  16529. "description": "现货合同类型 - 1:采购 -1:销售",
  16530. "type": "integer"
  16531. },
  16532. "deliverygoodscode": {
  16533. "description": "现货品种代码",
  16534. "type": "string"
  16535. },
  16536. "deliverygoodsid": {
  16537. "description": "现货品种id",
  16538. "type": "integer"
  16539. },
  16540. "deliverygoodsname": {
  16541. "description": "现货品种名称",
  16542. "type": "string"
  16543. },
  16544. "detailjson": {
  16545. "description": "明细数据",
  16546. "type": "string"
  16547. },
  16548. "enumdicname": {
  16549. "description": "现货商品单位名称",
  16550. "type": "string"
  16551. },
  16552. "inoutapplyid": {
  16553. "description": "申请ID(607+Unix秒时间戳(10位)+xxxxxx)",
  16554. "type": "string"
  16555. },
  16556. "inouttype": {
  16557. "description": "出入库类型 - 5:采购入库 6:销售出库 7:生产入库 8:生产出库",
  16558. "type": "integer"
  16559. },
  16560. "pricetype": {
  16561. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  16562. "type": "integer"
  16563. },
  16564. "qty": {
  16565. "description": "数量",
  16566. "type": "number"
  16567. },
  16568. "sellnickname": {
  16569. "description": "销售方昵称",
  16570. "type": "string"
  16571. },
  16572. "selluserid": {
  16573. "description": "销售方userid",
  16574. "type": "integer"
  16575. },
  16576. "sellusername": {
  16577. "description": "销售方名称",
  16578. "type": "string"
  16579. },
  16580. "spotcontractid": {
  16581. "description": "关联现货合同ID",
  16582. "type": "string"
  16583. },
  16584. "spotgoodsbrandid": {
  16585. "description": "现货品牌ID",
  16586. "type": "integer"
  16587. },
  16588. "unitid": {
  16589. "description": "单位id",
  16590. "type": "integer"
  16591. },
  16592. "userid": {
  16593. "description": "机构ID",
  16594. "type": "integer"
  16595. },
  16596. "warehousecode": {
  16597. "description": "仓库代码",
  16598. "type": "string"
  16599. },
  16600. "warehouseinfoid": {
  16601. "description": "现货仓库ID",
  16602. "type": "string"
  16603. },
  16604. "warehousename": {
  16605. "description": "仓库名称",
  16606. "type": "string"
  16607. },
  16608. "warehousetype": {
  16609. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  16610. "type": "integer"
  16611. },
  16612. "wrstandardcode": {
  16613. "description": "品类代码",
  16614. "type": "string"
  16615. },
  16616. "wrstandardid": {
  16617. "description": "品类ID",
  16618. "type": "integer"
  16619. },
  16620. "wrstandardname": {
  16621. "description": "品类名称",
  16622. "type": "string"
  16623. }
  16624. }
  16625. },
  16626. "models.Ermcp3AreaStockApplySum": {
  16627. "type": "object",
  16628. "properties": {
  16629. "brandname": {
  16630. "description": "品牌名称",
  16631. "type": "string"
  16632. },
  16633. "inouttype": {
  16634. "description": "出入库类型 - 5:采购入库 6:销售出库 7:生产入库 8:生产出库",
  16635. "type": "integer"
  16636. },
  16637. "spotcontractid": {
  16638. "description": "关联现货合同ID",
  16639. "type": "string"
  16640. },
  16641. "spotgoodsbrandid": {
  16642. "description": "品牌id",
  16643. "type": "integer"
  16644. },
  16645. "totalqty": {
  16646. "description": "总数量",
  16647. "type": "number"
  16648. },
  16649. "wrstandardid": {
  16650. "description": "品类id",
  16651. "type": "integer"
  16652. },
  16653. "wrstandardname": {
  16654. "description": "品类名称",
  16655. "type": "string"
  16656. }
  16657. }
  16658. },
  16659. "models.Ermcp3AreaStockReportEx": {
  16660. "type": "object",
  16661. "properties": {
  16662. "begindate": {
  16663. "description": "开始交易日",
  16664. "type": "string"
  16665. },
  16666. "brandname": {
  16667. "description": "品牌名称",
  16668. "type": "string"
  16669. },
  16670. "curstock": {
  16671. "description": "期末库存量",
  16672. "type": "number"
  16673. },
  16674. "cycletime": {
  16675. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  16676. "type": "string"
  16677. },
  16678. "cycletype": {
  16679. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  16680. "type": "integer"
  16681. },
  16682. "deliverygoodscode": {
  16683. "description": "现货品种代码",
  16684. "type": "string"
  16685. },
  16686. "deliverygoodsid": {
  16687. "description": "现货品种id",
  16688. "type": "integer"
  16689. },
  16690. "deliverygoodsname": {
  16691. "description": "现货品种名称",
  16692. "type": "string"
  16693. },
  16694. "diffqty": {
  16695. "description": "库存变化量 = 期末 - 期初",
  16696. "type": "number"
  16697. },
  16698. "enddate": {
  16699. "description": "结束交易日",
  16700. "type": "string"
  16701. },
  16702. "enumdicname": {
  16703. "description": "单位名称",
  16704. "type": "string"
  16705. },
  16706. "goodsunitid": {
  16707. "description": "现货单位id",
  16708. "type": "integer"
  16709. },
  16710. "oristock": {
  16711. "description": "期初库存量",
  16712. "type": "number"
  16713. },
  16714. "reckondate": {
  16715. "description": "日照时期(yyyyMMdd)",
  16716. "type": "string"
  16717. },
  16718. "spotgoodsbrandid": {
  16719. "description": "现货品牌ID",
  16720. "type": "integer"
  16721. },
  16722. "todaybuyinqty": {
  16723. "description": "今采购入库量",
  16724. "type": "number"
  16725. },
  16726. "todayproduceinqty": {
  16727. "description": "今内部入库量",
  16728. "type": "number"
  16729. },
  16730. "todayproduceoutqty": {
  16731. "description": "今内部出库量",
  16732. "type": "number"
  16733. },
  16734. "todayselloutqty": {
  16735. "description": "今销售出库量",
  16736. "type": "number"
  16737. },
  16738. "unbuyinqty": {
  16739. "description": "采购未入库量(数据库未找到相关字段?)",
  16740. "type": "number"
  16741. },
  16742. "unitid": {
  16743. "description": "品类单位id",
  16744. "type": "integer"
  16745. },
  16746. "unselloutqty": {
  16747. "description": "销售未出库量(数据库未找到相关字段?)",
  16748. "type": "number"
  16749. },
  16750. "updatetime": {
  16751. "description": "更新时间",
  16752. "type": "string"
  16753. },
  16754. "userid": {
  16755. "description": "机构ID",
  16756. "type": "integer"
  16757. },
  16758. "username": {
  16759. "description": "机构名称",
  16760. "type": "string"
  16761. },
  16762. "warehousecode": {
  16763. "description": "仓库代码",
  16764. "type": "string"
  16765. },
  16766. "warehouseinfoid": {
  16767. "description": "仓库ID",
  16768. "type": "string"
  16769. },
  16770. "warehousename": {
  16771. "description": "仓库名称",
  16772. "type": "string"
  16773. },
  16774. "warehousetype": {
  16775. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  16776. "type": "integer"
  16777. },
  16778. "wrstandardcode": {
  16779. "description": "品类代码",
  16780. "type": "string"
  16781. },
  16782. "wrstandardid": {
  16783. "description": "品类ID",
  16784. "type": "integer"
  16785. },
  16786. "wrstandardname": {
  16787. "description": "品类名称",
  16788. "type": "string"
  16789. }
  16790. }
  16791. },
  16792. "models.Ermcp3ArealSumPL": {
  16793. "type": "object",
  16794. "properties": {
  16795. "accountname": {
  16796. "description": "机构名称",
  16797. "type": "string"
  16798. },
  16799. "areauserid": {
  16800. "description": "所属机构\\交易用户ID",
  16801. "type": "integer"
  16802. },
  16803. "begindate": {
  16804. "description": "开始交易日",
  16805. "type": "string"
  16806. },
  16807. "currencyid": {
  16808. "description": "结算币种ID",
  16809. "type": "integer"
  16810. },
  16811. "currencyname": {
  16812. "description": "币种名称",
  16813. "type": "string"
  16814. },
  16815. "cycletime": {
  16816. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  16817. "type": "string"
  16818. },
  16819. "cycletype": {
  16820. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  16821. "type": "integer"
  16822. },
  16823. "enddate": {
  16824. "description": "结束交易日",
  16825. "type": "string"
  16826. },
  16827. "enumdicname": {
  16828. "description": "单位名称(套保品种)",
  16829. "type": "string"
  16830. },
  16831. "futureactualpl": {
  16832. "description": "期货损益",
  16833. "type": "number"
  16834. },
  16835. "futurefloatpl": {
  16836. "description": "期货浮动损益",
  16837. "type": "number"
  16838. },
  16839. "goodsunitid": {
  16840. "description": "套保品种单位id",
  16841. "type": "integer"
  16842. },
  16843. "middlegoodscode": {
  16844. "description": "套保品种代码",
  16845. "type": "string"
  16846. },
  16847. "middlegoodsid": {
  16848. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  16849. "type": "integer"
  16850. },
  16851. "middlegoodsname": {
  16852. "description": "套保品种名称",
  16853. "type": "string"
  16854. },
  16855. "reckondate": {
  16856. "description": "日照时期(yyyyMMdd)",
  16857. "type": "string"
  16858. },
  16859. "spotactualpl": {
  16860. "description": "现货损益",
  16861. "type": "number"
  16862. },
  16863. "spotfloatpl": {
  16864. "description": "现货浮动损益",
  16865. "type": "number"
  16866. },
  16867. "sumactualpl": {
  16868. "description": "实际损益 = (ActualPL + FutureActualPL)",
  16869. "type": "number"
  16870. },
  16871. "sumpl": {
  16872. "description": "汇总损益",
  16873. "type": "number"
  16874. },
  16875. "updatetime": {
  16876. "description": "更新时间",
  16877. "type": "string"
  16878. }
  16879. }
  16880. },
  16881. "models.Ermcp3Brand": {
  16882. "type": "object",
  16883. "properties": {
  16884. "areauserid": {
  16885. "description": "用户id",
  16886. "type": "integer"
  16887. },
  16888. "brandid": {
  16889. "description": "品牌id",
  16890. "type": "integer"
  16891. },
  16892. "brandname": {
  16893. "description": "品牌名称",
  16894. "type": "string"
  16895. },
  16896. "deliverygoodsid": {
  16897. "description": "品种ID",
  16898. "type": "integer"
  16899. }
  16900. }
  16901. },
  16902. "models.Ermcp3Contract": {
  16903. "type": "object",
  16904. "properties": {
  16905. "accountid": {
  16906. "description": "期货账户id",
  16907. "type": "string"
  16908. },
  16909. "amount": {
  16910. "description": "金额 [1:一口价、3:暂定价]",
  16911. "type": "number"
  16912. },
  16913. "attachment": {
  16914. "description": "附件",
  16915. "type": "string"
  16916. },
  16917. "auditremark": {
  16918. "description": "审核意见",
  16919. "type": "string"
  16920. },
  16921. "audittime": {
  16922. "description": "审核时间",
  16923. "type": "string"
  16924. },
  16925. "biztype": {
  16926. "description": "业务类型 1-套保 2-套利",
  16927. "type": "integer"
  16928. },
  16929. "brandname": {
  16930. "description": "品牌名称",
  16931. "type": "string"
  16932. },
  16933. "buynickname": {
  16934. "description": "销售方昵称",
  16935. "type": "string"
  16936. },
  16937. "buyuserid": {
  16938. "description": "采购方ID",
  16939. "type": "integer"
  16940. },
  16941. "buyusername": {
  16942. "description": "采购方名称",
  16943. "type": "string"
  16944. },
  16945. "contracctstatus": {
  16946. "description": "合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  16947. "type": "integer"
  16948. },
  16949. "contractmargin": {
  16950. "description": "合同保证金",
  16951. "type": "number"
  16952. },
  16953. "contractno": {
  16954. "description": "现货合同编号",
  16955. "type": "string"
  16956. },
  16957. "contracttype": {
  16958. "description": "现货合同类型 - 1:采购 -1:销售",
  16959. "type": "integer"
  16960. },
  16961. "convertfactor": {
  16962. "description": "标仓系数(品类)",
  16963. "type": "number"
  16964. },
  16965. "createtime": {
  16966. "description": "创建时间",
  16967. "type": "string"
  16968. },
  16969. "currencyid": {
  16970. "description": "币种id",
  16971. "type": "integer"
  16972. },
  16973. "currencyname": {
  16974. "description": "币种名称",
  16975. "type": "string"
  16976. },
  16977. "deliveryenddate": {
  16978. "description": "交收期(结束)",
  16979. "type": "string"
  16980. },
  16981. "deliverygoodscode": {
  16982. "description": "现货品种代码",
  16983. "type": "string"
  16984. },
  16985. "deliverygoodsid": {
  16986. "description": "现货品种ID",
  16987. "type": "integer"
  16988. },
  16989. "deliverygoodsname": {
  16990. "description": "现货品种名称",
  16991. "type": "string"
  16992. },
  16993. "deliverystartdate": {
  16994. "description": "交收期(开始)",
  16995. "type": "string"
  16996. },
  16997. "enddate": {
  16998. "description": "点价结束日期 [2:点价 3:暂定价]",
  16999. "type": "string"
  17000. },
  17001. "enumdicname": {
  17002. "description": "单位名称",
  17003. "type": "string"
  17004. },
  17005. "goodscode": {
  17006. "description": "点价合约代码",
  17007. "type": "string"
  17008. },
  17009. "goodsid": {
  17010. "description": "点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]",
  17011. "type": "integer"
  17012. },
  17013. "goodsname": {
  17014. "description": "点价商品名称",
  17015. "type": "string"
  17016. },
  17017. "margin": {
  17018. "description": "当前保证金",
  17019. "type": "number"
  17020. },
  17021. "meruserid": {
  17022. "description": "跟单员id",
  17023. "type": "integer"
  17024. },
  17025. "meruserlogincode": {
  17026. "description": "跟单员登录代码",
  17027. "type": "string"
  17028. },
  17029. "merusername": {
  17030. "description": "跟单员名称",
  17031. "type": "string"
  17032. },
  17033. "price": {
  17034. "description": "价格\\暂定价 [1:一口价、3:暂定价]",
  17035. "type": "number"
  17036. },
  17037. "pricemove": {
  17038. "description": "升贴水 [2:点价 3:暂定价]",
  17039. "type": "number"
  17040. },
  17041. "pricetype": {
  17042. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  17043. "type": "integer"
  17044. },
  17045. "producttype": {
  17046. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  17047. "type": "integer"
  17048. },
  17049. "qty": {
  17050. "description": "数量",
  17051. "type": "number"
  17052. },
  17053. "remark": {
  17054. "description": "备注",
  17055. "type": "string"
  17056. },
  17057. "saleuserid": {
  17058. "description": "业务员id",
  17059. "type": "integer"
  17060. },
  17061. "saleuserlogincode": {
  17062. "description": "业务员登录代码",
  17063. "type": "string"
  17064. },
  17065. "saleusername": {
  17066. "description": "业务员名称",
  17067. "type": "string"
  17068. },
  17069. "sellnickname": {
  17070. "description": "采购方昵称",
  17071. "type": "string"
  17072. },
  17073. "selluserid": {
  17074. "description": "销售方ID",
  17075. "type": "integer"
  17076. },
  17077. "sellusername": {
  17078. "description": "销售方名称",
  17079. "type": "string"
  17080. },
  17081. "spotcontractid": {
  17082. "description": "现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)",
  17083. "type": "string"
  17084. },
  17085. "spotgoodsbrandid": {
  17086. "description": "现货品牌ID(DGFactoryItem表的ID)",
  17087. "type": "integer"
  17088. },
  17089. "spotgoodsdesc": {
  17090. "description": "商品型号",
  17091. "type": "string"
  17092. },
  17093. "startdate": {
  17094. "description": "点价开始日期 [2:点价 3:暂定价]",
  17095. "type": "string"
  17096. },
  17097. "tradeuserid": {
  17098. "description": "交易员id",
  17099. "type": "integer"
  17100. },
  17101. "tradeuserlogincode": {
  17102. "description": "交易员登录代码",
  17103. "type": "string"
  17104. },
  17105. "tradeusername": {
  17106. "description": "交易员名称",
  17107. "type": "string"
  17108. },
  17109. "unitid": {
  17110. "description": "单位id(取品类上的单位id)",
  17111. "type": "integer"
  17112. },
  17113. "updatetime": {
  17114. "description": "更新时间",
  17115. "type": "string"
  17116. },
  17117. "userid": {
  17118. "description": "所属机构ID",
  17119. "type": "integer"
  17120. },
  17121. "wrstandardcode": {
  17122. "description": "品类代码",
  17123. "type": "string"
  17124. },
  17125. "wrstandardid": {
  17126. "description": "品类ID",
  17127. "type": "integer"
  17128. },
  17129. "wrstandardname": {
  17130. "description": "品类名称",
  17131. "type": "string"
  17132. }
  17133. }
  17134. },
  17135. "models.Ermcp3ExposureContractDetail": {
  17136. "type": "object",
  17137. "properties": {
  17138. "biztype": {
  17139. "description": "业务类型 1-套保 2-套利",
  17140. "type": "integer"
  17141. },
  17142. "brandname": {
  17143. "description": "品牌名称",
  17144. "type": "string"
  17145. },
  17146. "buyuserid": {
  17147. "description": "采购方id",
  17148. "type": "integer"
  17149. },
  17150. "buyusername": {
  17151. "description": "采购方名称",
  17152. "type": "string"
  17153. },
  17154. "contractno": {
  17155. "description": "合同编号",
  17156. "type": "string"
  17157. },
  17158. "contracttype": {
  17159. "description": "现货合同类型 - 1:采购 -1:销售",
  17160. "type": "integer"
  17161. },
  17162. "convertfactor": {
  17163. "description": "标仓系数",
  17164. "type": "number"
  17165. },
  17166. "convertratio": {
  17167. "description": "折算系数(套保品种)",
  17168. "type": "number"
  17169. },
  17170. "curqty": {
  17171. "description": "今定价量",
  17172. "type": "number"
  17173. },
  17174. "deliverygoodscode": {
  17175. "description": "现货商品代码",
  17176. "type": "string"
  17177. },
  17178. "deliverygoodsid": {
  17179. "description": "现货商品id",
  17180. "type": "integer"
  17181. },
  17182. "deliverygoodsname": {
  17183. "description": "现货商品名称",
  17184. "type": "string"
  17185. },
  17186. "diffhedgeqty": {
  17187. "description": "套保变动量",
  17188. "type": "number"
  17189. },
  17190. "diffneedhedgeqty": {
  17191. "description": "应套保变动量",
  17192. "type": "number"
  17193. },
  17194. "diffqty": {
  17195. "description": "套保品种今变动量",
  17196. "type": "number"
  17197. },
  17198. "enumdicname": {
  17199. "description": "单位名称",
  17200. "type": "string"
  17201. },
  17202. "middlegoodscode": {
  17203. "description": "套保品种代码",
  17204. "type": "string"
  17205. },
  17206. "middlegoodsid": {
  17207. "description": "套保品种id",
  17208. "type": "integer"
  17209. },
  17210. "middlegoodsname": {
  17211. "description": "套保品种名称",
  17212. "type": "string"
  17213. },
  17214. "needarbitrageratio": {
  17215. "description": "应套利比例",
  17216. "type": "number"
  17217. },
  17218. "needhedgeratio": {
  17219. "description": "应套保比例",
  17220. "type": "number"
  17221. },
  17222. "pricedqty": {
  17223. "description": "已定价量",
  17224. "type": "number"
  17225. },
  17226. "qty": {
  17227. "description": "合同量",
  17228. "type": "number"
  17229. },
  17230. "selluserid": {
  17231. "description": "销售方id",
  17232. "type": "integer"
  17233. },
  17234. "sellusername": {
  17235. "description": "销售方名称",
  17236. "type": "string"
  17237. },
  17238. "spotcontractid": {
  17239. "description": "合同id",
  17240. "type": "string"
  17241. },
  17242. "todaypricedqty": {
  17243. "description": "今定价量",
  17244. "type": "number"
  17245. },
  17246. "tradedate": {
  17247. "description": "交易日",
  17248. "type": "string"
  17249. },
  17250. "unitid": {
  17251. "description": "品类单位id",
  17252. "type": "integer"
  17253. },
  17254. "userid": {
  17255. "description": "机构id",
  17256. "type": "integer"
  17257. },
  17258. "wrstandardcode": {
  17259. "description": "品类代码",
  17260. "type": "string"
  17261. },
  17262. "wrstandardid": {
  17263. "description": "品类id",
  17264. "type": "integer"
  17265. },
  17266. "wrstandardname": {
  17267. "description": "品类名称",
  17268. "type": "string"
  17269. }
  17270. }
  17271. },
  17272. "models.Ermcp3ExposureDetail": {
  17273. "type": "object",
  17274. "properties": {
  17275. "areauserid": {
  17276. "description": "机构ID",
  17277. "type": "integer"
  17278. },
  17279. "changeQty": {
  17280. "description": "套保变动量",
  17281. "type": "number"
  17282. },
  17283. "contracttype": {
  17284. "description": "现货合同类型 - 1:采购 -1:销售",
  17285. "type": "integer"
  17286. },
  17287. "convertfactor": {
  17288. "description": "标仓系数",
  17289. "type": "number"
  17290. },
  17291. "convertratio": {
  17292. "description": "套保系数",
  17293. "type": "number"
  17294. },
  17295. "createtime": {
  17296. "description": "时间",
  17297. "type": "string"
  17298. },
  17299. "deliverygoodscode": {
  17300. "description": "现货品种代码",
  17301. "type": "string"
  17302. },
  17303. "deliverygoodsid": {
  17304. "description": "现货品种id",
  17305. "type": "integer"
  17306. },
  17307. "deliverygoodsname": {
  17308. "description": "现货品种名称",
  17309. "type": "string"
  17310. },
  17311. "enumdicname": {
  17312. "description": "现货商品单位名称",
  17313. "type": "string"
  17314. },
  17315. "logtype": {
  17316. "description": "类型 - 1:套保计划 2:现货合同",
  17317. "type": "integer"
  17318. },
  17319. "mgunitid": {
  17320. "description": "套保品种单位id",
  17321. "type": "integer"
  17322. },
  17323. "mgunitidname": {
  17324. "description": "套保品种单位名称",
  17325. "type": "string"
  17326. },
  17327. "middlegoodsId": {
  17328. "description": "套保商品id",
  17329. "type": "integer"
  17330. },
  17331. "middlegoodscode": {
  17332. "description": "套保商品代码",
  17333. "type": "string"
  17334. },
  17335. "middlegoodsname": {
  17336. "description": "套保商品名称",
  17337. "type": "string"
  17338. },
  17339. "qty": {
  17340. "description": "数量",
  17341. "type": "number"
  17342. },
  17343. "relateNo": {
  17344. "description": "现货合同/套保计划编号",
  17345. "type": "string"
  17346. }
  17347. }
  17348. },
  17349. "models.Ermcp3ExposureFutuDetail": {
  17350. "type": "object",
  17351. "properties": {
  17352. "accountid": {
  17353. "description": "交易账户id",
  17354. "type": "integer"
  17355. },
  17356. "accountname": {
  17357. "description": "交易账户",
  17358. "type": "string"
  17359. },
  17360. "begindate": {
  17361. "description": "开始交易日",
  17362. "type": "string"
  17363. },
  17364. "buyorsell": {
  17365. "description": "方向 0-买 1-卖",
  17366. "type": "integer"
  17367. },
  17368. "diffmgqty": {
  17369. "description": "套保品种今变化量",
  17370. "type": "number"
  17371. },
  17372. "diffneedqty": {
  17373. "description": "应套保总量变化量",
  17374. "type": "number"
  17375. },
  17376. "difftradeqty": {
  17377. "description": "交易品种今变化量",
  17378. "type": "number"
  17379. },
  17380. "enddate": {
  17381. "description": "结束交易日",
  17382. "type": "string"
  17383. },
  17384. "enumdicname": {
  17385. "description": "单位名称",
  17386. "type": "string"
  17387. },
  17388. "goodscode": {
  17389. "description": "商品代码",
  17390. "type": "string"
  17391. },
  17392. "goodsid": {
  17393. "description": "商品id",
  17394. "type": "integer"
  17395. },
  17396. "goodsname": {
  17397. "description": "商品名称",
  17398. "type": "string"
  17399. },
  17400. "holdqty": {
  17401. "description": "期末持仓量",
  17402. "type": "number"
  17403. },
  17404. "middlegoodscode": {
  17405. "description": "套保商品代码",
  17406. "type": "string"
  17407. },
  17408. "middlegoodsid": {
  17409. "description": "套保商品id",
  17410. "type": "integer"
  17411. },
  17412. "middlegoodsname": {
  17413. "description": "套保商品名称",
  17414. "type": "string"
  17415. },
  17416. "oriholdqty": {
  17417. "description": "期初持仓量",
  17418. "type": "number"
  17419. },
  17420. "todaycloseqty": {
  17421. "description": "今平仓量",
  17422. "type": "number"
  17423. },
  17424. "todayopenqty": {
  17425. "description": "今开仓量",
  17426. "type": "number"
  17427. },
  17428. "tradedate": {
  17429. "description": "交易日",
  17430. "type": "string"
  17431. }
  17432. }
  17433. },
  17434. "models.Ermcp3ExposureHedgeplanDetail": {
  17435. "type": "object",
  17436. "properties": {
  17437. "biztype": {
  17438. "description": "业务类型(期现用途,业务类型就是期现用途) 1-套保 2-套利",
  17439. "type": "integer"
  17440. },
  17441. "changqty": {
  17442. "description": "应套保总量变化量",
  17443. "type": "number"
  17444. },
  17445. "contracttype": {
  17446. "description": "计划类型 - 1:采购 -1:销售",
  17447. "type": "integer"
  17448. },
  17449. "convertratio": {
  17450. "description": "折算系数(套保品种)",
  17451. "type": "number"
  17452. },
  17453. "deliverygoodscode": {
  17454. "description": "现货商品代码",
  17455. "type": "string"
  17456. },
  17457. "deliverygoodsid": {
  17458. "description": "现货商品id",
  17459. "type": "integer"
  17460. },
  17461. "deliverygoodsname": {
  17462. "description": "现货商吕名称",
  17463. "type": "string"
  17464. },
  17465. "dgunitid": {
  17466. "description": "现货商品单位id",
  17467. "type": "integer"
  17468. },
  17469. "dgunitidname": {
  17470. "description": "单位名称(现货商品)",
  17471. "type": "string"
  17472. },
  17473. "diffqty": {
  17474. "description": "套保品种今变动量",
  17475. "type": "number"
  17476. },
  17477. "enumdicname": {
  17478. "description": "单位名称(品类)",
  17479. "type": "string"
  17480. },
  17481. "hedgeplanid": {
  17482. "description": "套保计划id",
  17483. "type": "string"
  17484. },
  17485. "hedgeplanno": {
  17486. "description": "套保计划名称",
  17487. "type": "string"
  17488. },
  17489. "hedgeplanstatus": {
  17490. "description": "套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  17491. "type": "integer"
  17492. },
  17493. "mgunitidname": {
  17494. "description": "单位名称(套保商品)",
  17495. "type": "string"
  17496. },
  17497. "middlegoodscode": {
  17498. "description": "套保品种代码",
  17499. "type": "string"
  17500. },
  17501. "middlegoodsid": {
  17502. "description": "套保品种id",
  17503. "type": "integer"
  17504. },
  17505. "middlegoodsname": {
  17506. "description": "套保品种名称",
  17507. "type": "string"
  17508. },
  17509. "needarbitrageratio": {
  17510. "description": "应套利比例",
  17511. "type": "number"
  17512. },
  17513. "needhedgeratio": {
  17514. "description": "应套保比例",
  17515. "type": "number"
  17516. },
  17517. "pricedqty": {
  17518. "description": "已定价量",
  17519. "type": "number"
  17520. },
  17521. "qty": {
  17522. "description": "合同量",
  17523. "type": "number"
  17524. },
  17525. "tradedate": {
  17526. "description": "交易日(登记日)",
  17527. "type": "string"
  17528. },
  17529. "unitid": {
  17530. "description": "品类单位id",
  17531. "type": "integer"
  17532. },
  17533. "userid": {
  17534. "description": "机构id",
  17535. "type": "integer"
  17536. },
  17537. "wrstandardcode": {
  17538. "description": "品类代码",
  17539. "type": "string"
  17540. },
  17541. "wrstandardid": {
  17542. "description": "品类id",
  17543. "type": "integer"
  17544. },
  17545. "wrstandardname": {
  17546. "description": "品类名称",
  17547. "type": "string"
  17548. }
  17549. }
  17550. },
  17551. "models.Ermcp3ExposureParamChLog": {
  17552. "type": "object",
  17553. "properties": {
  17554. "accountid": {
  17555. "description": "期货账户ID (作废, 默认为0)",
  17556. "type": "integer"
  17557. },
  17558. "aftervalue": {
  17559. "description": "应套保\\套利量变更后(调整后应套保总量)",
  17560. "type": "number"
  17561. },
  17562. "areauserid": {
  17563. "description": "所属机构\\交易用户ID",
  17564. "type": "integer"
  17565. },
  17566. "beforevalue": {
  17567. "description": "应套保\\套利量变更前(调整前应套保总量)",
  17568. "type": "number"
  17569. },
  17570. "begindate": {
  17571. "description": "开始交易日",
  17572. "type": "string"
  17573. },
  17574. "changelogtype": {
  17575. "description": "变更流水类型 - 1:套保比率变更 2:套利比率变更",
  17576. "type": "integer"
  17577. },
  17578. "curvalue": {
  17579. "description": "当前套保\\套利量(套保总量|套利总量)",
  17580. "type": "number"
  17581. },
  17582. "diffvalue": {
  17583. "description": "应套保总量变化量",
  17584. "type": "number"
  17585. },
  17586. "enddate": {
  17587. "description": "结束交易日",
  17588. "type": "string"
  17589. },
  17590. "logdatetime": {
  17591. "description": "流水日期",
  17592. "type": "string"
  17593. },
  17594. "logid": {
  17595. "description": "流水ID(609+Unix秒时间戳(10位)+xxxxxx)",
  17596. "type": "string"
  17597. },
  17598. "middlegoodscode": {
  17599. "description": "套保品种代码",
  17600. "type": "string"
  17601. },
  17602. "middlegoodsid": {
  17603. "description": "套保品种",
  17604. "type": "integer"
  17605. },
  17606. "middlegoodsname": {
  17607. "description": "套保品种名称",
  17608. "type": "string"
  17609. },
  17610. "paramaftervalue": {
  17611. "description": "参数变更后(调整后参数值)",
  17612. "type": "number"
  17613. },
  17614. "parambeforevalue": {
  17615. "description": "参数变更前(调整前参数值)",
  17616. "type": "number"
  17617. },
  17618. "tradedate": {
  17619. "description": "交易日(yyyyMMdd)",
  17620. "type": "string"
  17621. }
  17622. }
  17623. },
  17624. "models.Ermcp3ExpourseReport": {
  17625. "type": "object",
  17626. "properties": {
  17627. "accountid": {
  17628. "description": "期货账户ID (作废, 默认为0)",
  17629. "type": "integer"
  17630. },
  17631. "accountname": {
  17632. "description": "机构名称",
  17633. "type": "string"
  17634. },
  17635. "arbitrageqty": {
  17636. "description": "套利量",
  17637. "type": "number"
  17638. },
  17639. "areauserid": {
  17640. "description": "所属机构\\交易用户ID",
  17641. "type": "integer"
  17642. },
  17643. "begindate": {
  17644. "description": "开始交易日",
  17645. "type": "string"
  17646. },
  17647. "buyfutureqty": {
  17648. "description": "买入期货数量",
  17649. "type": "number"
  17650. },
  17651. "buyplanqty": {
  17652. "description": "采购计划数量",
  17653. "type": "number"
  17654. },
  17655. "buypricedqty": {
  17656. "description": "采购合同已定价数量",
  17657. "type": "number"
  17658. },
  17659. "cycletime": {
  17660. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  17661. "type": "string"
  17662. },
  17663. "cycletype": {
  17664. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  17665. "type": "integer"
  17666. },
  17667. "diffexposure": {
  17668. "description": "变动量(套保敞口)",
  17669. "type": "number"
  17670. },
  17671. "difffutuqty": {
  17672. "description": "变动量(期货)",
  17673. "type": "number"
  17674. },
  17675. "diffhedgeqty": {
  17676. "description": "变动量(现货应套保总量)",
  17677. "type": "number"
  17678. },
  17679. "diffmgqtya": {
  17680. "description": "套保变动量",
  17681. "type": "number"
  17682. },
  17683. "diffmgqtyb": {
  17684. "description": "套利变动量",
  17685. "type": "number"
  17686. },
  17687. "diffqty": {
  17688. "description": "变动量(总敞口)",
  17689. "type": "number"
  17690. },
  17691. "diffspotqty": {
  17692. "description": "变动量(现货)",
  17693. "type": "number"
  17694. },
  17695. "enddate": {
  17696. "description": "结束交易日",
  17697. "type": "string"
  17698. },
  17699. "enumdicname": {
  17700. "description": "单位名称",
  17701. "type": "string"
  17702. },
  17703. "hedgeqty": {
  17704. "description": "套保量",
  17705. "type": "number"
  17706. },
  17707. "mgneedhedgeratio": {
  17708. "description": "套保比例(套保品的)",
  17709. "type": "number"
  17710. },
  17711. "middlegoodsid": {
  17712. "description": "套保品种ID",
  17713. "type": "integer"
  17714. },
  17715. "middlegoodsname": {
  17716. "description": "套保商品名称",
  17717. "type": "string"
  17718. },
  17719. "middlgoodscode": {
  17720. "description": "套保商品代码",
  17721. "type": "string"
  17722. },
  17723. "needarbitrageqty": {
  17724. "description": "应套利量",
  17725. "type": "number"
  17726. },
  17727. "needarbitrageratio": {
  17728. "description": "套利比例(套保品的)",
  17729. "type": "number"
  17730. },
  17731. "needhedgeexposoure": {
  17732. "description": "应套保敞口(套保敞口)",
  17733. "type": "number"
  17734. },
  17735. "needhedgeqty": {
  17736. "description": "应套保量",
  17737. "type": "number"
  17738. },
  17739. "needhedgeratio": {
  17740. "description": "应套保敞口比例",
  17741. "type": "number"
  17742. },
  17743. "oriarbitrageqty": {
  17744. "description": "期初套利量",
  17745. "type": "number"
  17746. },
  17747. "oribuyfutureqty": {
  17748. "description": "期初买入期货数量",
  17749. "type": "number"
  17750. },
  17751. "oribuyplanqty": {
  17752. "description": "期初采购计划数量",
  17753. "type": "number"
  17754. },
  17755. "oribuypricedqty": {
  17756. "description": "期初采购合同已定价数量",
  17757. "type": "number"
  17758. },
  17759. "orihedgeqty": {
  17760. "description": "期初套保量",
  17761. "type": "number"
  17762. },
  17763. "orineedarbitrageqty": {
  17764. "description": "期初应套利量",
  17765. "type": "number"
  17766. },
  17767. "orineedhedgeexposoure": {
  17768. "description": "期初应套保敞口",
  17769. "type": "number"
  17770. },
  17771. "orineedhedgeqty": {
  17772. "description": "期初应套保量",
  17773. "type": "number"
  17774. },
  17775. "orisellfutureqty": {
  17776. "description": "期初卖出期货数量",
  17777. "type": "number"
  17778. },
  17779. "orisellplanqty": {
  17780. "description": "期初销售计划数量",
  17781. "type": "number"
  17782. },
  17783. "orisellpricedqty": {
  17784. "description": "期初销售合同已定价数量",
  17785. "type": "number"
  17786. },
  17787. "oritotalexposure": {
  17788. "description": "期初实时总敞口",
  17789. "type": "number"
  17790. },
  17791. "oritotalfutureqty": {
  17792. "description": "期初期货头寸总量",
  17793. "type": "number"
  17794. },
  17795. "oritotalneedhedgeqty": {
  17796. "description": "期初应套保总量",
  17797. "type": "number"
  17798. },
  17799. "oritotalspotqty": {
  17800. "description": "期初现货头寸总量",
  17801. "type": "number"
  17802. },
  17803. "reckondate": {
  17804. "description": "日照时期(yyyyMMdd)",
  17805. "type": "string"
  17806. },
  17807. "sellfutureqty": {
  17808. "description": "卖出期货数量",
  17809. "type": "number"
  17810. },
  17811. "sellplanqty": {
  17812. "description": "销售计划数量",
  17813. "type": "number"
  17814. },
  17815. "sellpricedqty": {
  17816. "description": "销售合同已定价数量",
  17817. "type": "number"
  17818. },
  17819. "totalexposure": {
  17820. "description": "实时总敞口(总敞口)",
  17821. "type": "number"
  17822. },
  17823. "totalfutureqty": {
  17824. "description": "期货头寸总量(期货总量)",
  17825. "type": "number"
  17826. },
  17827. "totalhedgeratio": {
  17828. "description": "敞口比例",
  17829. "type": "number"
  17830. },
  17831. "totalneedhedgeqty": {
  17832. "description": "应套保总量(现货应套保总量)",
  17833. "type": "number"
  17834. },
  17835. "totalspotqty": {
  17836. "description": "现货头寸总量",
  17837. "type": "number"
  17838. },
  17839. "unitid": {
  17840. "description": "单位id",
  17841. "type": "integer"
  17842. },
  17843. "updatetime": {
  17844. "description": "更新时间",
  17845. "type": "string"
  17846. }
  17847. }
  17848. },
  17849. "models.Ermcp3FinanceReport": {
  17850. "type": "object",
  17851. "properties": {
  17852. "accountname": {
  17853. "description": "机构名称",
  17854. "type": "string"
  17855. },
  17856. "areauserid": {
  17857. "description": "所属机构\\交易用户ID",
  17858. "type": "integer"
  17859. },
  17860. "begindate": {
  17861. "description": "开始交易日",
  17862. "type": "string"
  17863. },
  17864. "biztype": {
  17865. "description": "业务类型 - 1:套保 2:套利",
  17866. "type": "integer"
  17867. },
  17868. "brandname": {
  17869. "description": "品牌名称",
  17870. "type": "string"
  17871. },
  17872. "buypreinvoicedamount": {
  17873. "description": "采购预收票额(预收票额)",
  17874. "type": "number"
  17875. },
  17876. "buyprepaidamount": {
  17877. "description": "采购预付款额(预付货款额)",
  17878. "type": "number"
  17879. },
  17880. "buytodayinvoiceamount": {
  17881. "description": "采购今收票额(今收票额)",
  17882. "type": "number"
  17883. },
  17884. "buytodayrefundamount": {
  17885. "description": "采购今收退款额(今收退款额)",
  17886. "type": "number"
  17887. },
  17888. "buytodaysettleamount": {
  17889. "description": "采购今付款额(今付货款额)",
  17890. "type": "number"
  17891. },
  17892. "buyuninvoicedamount": {
  17893. "description": "采购应收票额(应收票额)",
  17894. "type": "number"
  17895. },
  17896. "buyunpaidamount": {
  17897. "description": "采购应付款额(应付货款额)",
  17898. "type": "number"
  17899. },
  17900. "currencyid": {
  17901. "description": "结算币种ID",
  17902. "type": "integer"
  17903. },
  17904. "currencyname": {
  17905. "description": "币种名称",
  17906. "type": "string"
  17907. },
  17908. "cycletime": {
  17909. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  17910. "type": "string"
  17911. },
  17912. "cycletype": {
  17913. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  17914. "type": "integer"
  17915. },
  17916. "deliverygoodscode": {
  17917. "description": "现货品种代码",
  17918. "type": "string"
  17919. },
  17920. "deliverygoodsid": {
  17921. "description": "现货品种ID",
  17922. "type": "integer"
  17923. },
  17924. "deliverygoodsname": {
  17925. "description": "现货品种名称",
  17926. "type": "string"
  17927. },
  17928. "enddate": {
  17929. "description": "结束交易日",
  17930. "type": "string"
  17931. },
  17932. "reckondate": {
  17933. "description": "日照时期(yyyyMMdd)",
  17934. "type": "string"
  17935. },
  17936. "sellpreinvoicedamount": {
  17937. "description": "销售预开票额(预开票额)",
  17938. "type": "number"
  17939. },
  17940. "sellprepaidamount": {
  17941. "description": "销售预收款额(预收货款额)",
  17942. "type": "number"
  17943. },
  17944. "selltodayinvoiceamount": {
  17945. "description": "销售今开票额(今开票额)",
  17946. "type": "number"
  17947. },
  17948. "selltodayrefundamount": {
  17949. "description": "销售今付退款额(今付退款额)",
  17950. "type": "number"
  17951. },
  17952. "selltodaysettleamount": {
  17953. "description": "销售今收款额(今收货款额)",
  17954. "type": "number"
  17955. },
  17956. "selluninvoicedamount": {
  17957. "description": "销售应开票额(应开票额)",
  17958. "type": "number"
  17959. },
  17960. "sellunpaidamount": {
  17961. "description": "销售应收款额(应收货款额)",
  17962. "type": "number"
  17963. },
  17964. "spotgoodsbrandid": {
  17965. "description": "现货品牌ID",
  17966. "type": "integer"
  17967. },
  17968. "todaypaysum": {
  17969. "description": "今付款合计",
  17970. "type": "number"
  17971. },
  17972. "todayreceivesum": {
  17973. "description": "今收款合计",
  17974. "type": "number"
  17975. },
  17976. "updatetime": {
  17977. "description": "更新时间",
  17978. "type": "string"
  17979. },
  17980. "wrfactortypeid": {
  17981. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  17982. "type": "integer"
  17983. },
  17984. "wrstandardcode": {
  17985. "description": "品类代码",
  17986. "type": "string"
  17987. },
  17988. "wrstandardid": {
  17989. "description": "现货商品ID",
  17990. "type": "integer"
  17991. },
  17992. "wrstandardname": {
  17993. "description": "品类名称",
  17994. "type": "string"
  17995. }
  17996. }
  17997. },
  17998. "models.Ermcp3Goods": {
  17999. "type": "object",
  18000. "properties": {
  18001. "agreeunit": {
  18002. "description": "合约单位(合约乘数)",
  18003. "type": "number"
  18004. },
  18005. "enumdicname": {
  18006. "description": "单位名称",
  18007. "type": "string"
  18008. },
  18009. "exexchangecode": {
  18010. "description": "交易所代码",
  18011. "type": "string"
  18012. },
  18013. "goodscode": {
  18014. "description": "期货商品代码",
  18015. "type": "string"
  18016. },
  18017. "goodsid": {
  18018. "description": "期货商品id",
  18019. "type": "integer"
  18020. },
  18021. "goodsname": {
  18022. "description": "期货商品名称",
  18023. "type": "string"
  18024. }
  18025. }
  18026. },
  18027. "models.Ermcp3GoodsGroup": {
  18028. "type": "object",
  18029. "required": [
  18030. "areauserid"
  18031. ],
  18032. "properties": {
  18033. "agreeunit": {
  18034. "description": "合约单位",
  18035. "type": "number"
  18036. },
  18037. "areauserid": {
  18038. "description": "所属机构id(套保品是有areauserid的,当要排除已配置商品组时需要areauserid过滤)",
  18039. "type": "integer"
  18040. },
  18041. "canshort": {
  18042. "description": "是否允许做空[通道交易] - 0:不能做空 1:可以做空",
  18043. "type": "integer"
  18044. },
  18045. "closepricemode": {
  18046. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  18047. "type": "integer"
  18048. },
  18049. "createtime": {
  18050. "description": "创建时间",
  18051. "type": "string"
  18052. },
  18053. "creatorid": {
  18054. "description": "创建人",
  18055. "type": "integer"
  18056. },
  18057. "currencyid": {
  18058. "description": "报价货币ID",
  18059. "type": "integer"
  18060. },
  18061. "decimalplace": {
  18062. "description": "报价小数位",
  18063. "type": "integer"
  18064. },
  18065. "enumdicname": {
  18066. "description": "单位名称",
  18067. "type": "string"
  18068. },
  18069. "exchangefullname": {
  18070. "description": "交易所全称",
  18071. "type": "string"
  18072. },
  18073. "excludecfg": {
  18074. "description": "排除套保品已配置期货分类下的商品组(但显示已配置商品组) 1-排除",
  18075. "type": "integer"
  18076. },
  18077. "exexchangecode": {
  18078. "description": "交易所代码",
  18079. "type": "string"
  18080. },
  18081. "exexchangeid": {
  18082. "description": "外部交易所ID[通道交易]",
  18083. "type": "integer"
  18084. },
  18085. "exexchangename": {
  18086. "description": "交易所名称",
  18087. "type": "string"
  18088. },
  18089. "goodsgroupid": {
  18090. "description": "商品组ID(自增ID)",
  18091. "type": "integer"
  18092. },
  18093. "goodsgroupname": {
  18094. "description": "商品组名称",
  18095. "type": "string"
  18096. },
  18097. "goodsgroupstatus": {
  18098. "description": "商品组状态 - 1:正常 2:注销",
  18099. "type": "integer"
  18100. },
  18101. "goodunitid": {
  18102. "description": "报价单位ID",
  18103. "type": "integer"
  18104. },
  18105. "groupcategroyid": {
  18106. "description": "品种分类ID",
  18107. "type": "integer"
  18108. },
  18109. "innerdealmode": {
  18110. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  18111. "type": "integer"
  18112. },
  18113. "marketid": {
  18114. "description": "所属市场ID",
  18115. "type": "integer"
  18116. },
  18117. "modifierid": {
  18118. "description": "修改人",
  18119. "type": "integer"
  18120. },
  18121. "modifytime": {
  18122. "description": "修改时间",
  18123. "type": "string"
  18124. },
  18125. "outerdealmode": {
  18126. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  18127. "type": "integer"
  18128. },
  18129. "outergroupcode": {
  18130. "description": "外部商品组代码[通道交易]",
  18131. "type": "string"
  18132. },
  18133. "quoteminunit": {
  18134. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  18135. "type": "integer"
  18136. },
  18137. "quotesourcegroupid": {
  18138. "description": "所属行情源分组ID[参考行情市场用\\通道交易]",
  18139. "type": "integer"
  18140. },
  18141. "syncgoodsqty": {
  18142. "description": "同步合约数[通道交易-投资管理用] - 0表示不限",
  18143. "type": "integer"
  18144. }
  18145. }
  18146. },
  18147. "models.Ermcp3GoodsGroupEx": {
  18148. "type": "object",
  18149. "properties": {
  18150. "convertratio": {
  18151. "description": "折算系数(品种系数)",
  18152. "type": "number"
  18153. },
  18154. "enumdicname": {
  18155. "description": "单位名称",
  18156. "type": "string"
  18157. },
  18158. "exexchangecode": {
  18159. "description": "交易所代码",
  18160. "type": "string"
  18161. },
  18162. "glist": {
  18163. "description": "合约列表",
  18164. "type": "array",
  18165. "items": {
  18166. "$ref": "#/definitions/models.Ermcp3Goods"
  18167. }
  18168. },
  18169. "goodsgroupid": {
  18170. "description": "商品组id",
  18171. "type": "integer"
  18172. },
  18173. "goodsgroupname": {
  18174. "description": "商品组名称",
  18175. "type": "string"
  18176. },
  18177. "goodsunitid": {
  18178. "description": "单位id",
  18179. "type": "integer"
  18180. },
  18181. "middlegoodsid": {
  18182. "description": "套保商品id",
  18183. "type": "integer"
  18184. }
  18185. }
  18186. },
  18187. "models.Ermcp3HedgePlan": {
  18188. "type": "object",
  18189. "properties": {
  18190. "accountid": {
  18191. "description": "资金账号",
  18192. "type": "integer"
  18193. },
  18194. "areauserid": {
  18195. "description": "用户ID",
  18196. "type": "integer"
  18197. },
  18198. "auditid": {
  18199. "description": "审核id",
  18200. "type": "integer"
  18201. },
  18202. "auditname": {
  18203. "description": "审核人名称",
  18204. "type": "string"
  18205. },
  18206. "auditremark": {
  18207. "description": "审核备注",
  18208. "type": "string"
  18209. },
  18210. "auditsrc": {
  18211. "description": "审核来源 1-管理端 2-终端",
  18212. "type": "integer"
  18213. },
  18214. "audittime": {
  18215. "description": "审核时间",
  18216. "type": "string"
  18217. },
  18218. "contracttype": {
  18219. "description": "计划类型 - 1:采购 -1:销售",
  18220. "type": "integer"
  18221. },
  18222. "convertfactor": {
  18223. "description": "标仓系数",
  18224. "type": "number"
  18225. },
  18226. "createtime": {
  18227. "description": "创建时间",
  18228. "type": "string"
  18229. },
  18230. "currencyid": {
  18231. "description": "币种id",
  18232. "type": "integer"
  18233. },
  18234. "currencyname": {
  18235. "description": "币种名称",
  18236. "type": "string"
  18237. },
  18238. "deliverygoodscode": {
  18239. "description": "现货品种代码",
  18240. "type": "string"
  18241. },
  18242. "deliverygoodsid": {
  18243. "description": "现货品种ID",
  18244. "type": "integer"
  18245. },
  18246. "deliverygoodsname": {
  18247. "description": "现货品种名称",
  18248. "type": "string"
  18249. },
  18250. "enumdicname": {
  18251. "description": "单位名称(现货商品)",
  18252. "type": "string"
  18253. },
  18254. "hedgeplanid": {
  18255. "description": "套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)",
  18256. "type": "string"
  18257. },
  18258. "hedgeplanno": {
  18259. "description": "套保计划编号(名称)",
  18260. "type": "string"
  18261. },
  18262. "hedgeplanstatus": {
  18263. "description": "套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  18264. "type": "integer"
  18265. },
  18266. "planqty": {
  18267. "description": "计划数量",
  18268. "type": "number"
  18269. },
  18270. "plantime": {
  18271. "description": "计划时间",
  18272. "type": "string"
  18273. },
  18274. "producttype": {
  18275. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  18276. "type": "integer"
  18277. },
  18278. "remark": {
  18279. "description": "备注",
  18280. "type": "string"
  18281. },
  18282. "spotgoodsdesc": {
  18283. "description": "商品型号",
  18284. "type": "string"
  18285. },
  18286. "taaccountname": {
  18287. "description": "资金账号名称",
  18288. "type": "string"
  18289. },
  18290. "tradeuserid": {
  18291. "description": "交易用户id",
  18292. "type": "integer"
  18293. },
  18294. "tradeusername": {
  18295. "description": "交易用户名称",
  18296. "type": "string"
  18297. },
  18298. "unitid": {
  18299. "description": "单位id(现货商品)",
  18300. "type": "integer"
  18301. },
  18302. "updatetime": {
  18303. "description": "更新时间",
  18304. "type": "string"
  18305. },
  18306. "wrstandardcode": {
  18307. "description": "品类代码",
  18308. "type": "string"
  18309. },
  18310. "wrstandardid": {
  18311. "description": "品类id",
  18312. "type": "integer"
  18313. },
  18314. "wrstandardname": {
  18315. "description": "品类名称",
  18316. "type": "string"
  18317. },
  18318. "wrunitid": {
  18319. "description": "品类单位id",
  18320. "type": "integer"
  18321. },
  18322. "wrunitidame": {
  18323. "description": "品类单位名称",
  18324. "type": "string"
  18325. }
  18326. }
  18327. },
  18328. "models.Ermcp3MiddleGoodsDetail2": {
  18329. "type": "object",
  18330. "properties": {
  18331. "convertratio": {
  18332. "description": "套保系数(折算系数)",
  18333. "type": "number"
  18334. },
  18335. "gplist": {
  18336. "description": "关联商品组列表",
  18337. "type": "array",
  18338. "items": {
  18339. "$ref": "#/definitions/models.Ermcp3GoodsGroupEx"
  18340. }
  18341. },
  18342. "mg": {
  18343. "description": "套保商品信息",
  18344. "type": "object",
  18345. "$ref": "#/definitions/models.ErmcpMiddleGoodsModel"
  18346. }
  18347. }
  18348. },
  18349. "models.Ermcp3MiddleGoodsDetailEx": {
  18350. "type": "object",
  18351. "properties": {
  18352. "dglist": {
  18353. "description": "关联的现货品种列表",
  18354. "type": "array",
  18355. "items": {
  18356. "$ref": "#/definitions/models.ErmcpDeliveryGoodsDetail2"
  18357. }
  18358. },
  18359. "gplist": {
  18360. "description": "关联商品组列表",
  18361. "type": "array",
  18362. "items": {
  18363. "$ref": "#/definitions/models.Ermcp3GoodsGroupEx"
  18364. }
  18365. },
  18366. "mg": {
  18367. "description": "套保商品信息",
  18368. "type": "object",
  18369. "$ref": "#/definitions/models.ErmcpMiddleGoodsModel"
  18370. }
  18371. }
  18372. },
  18373. "models.Ermcp3RootUserAccount": {
  18374. "type": "object",
  18375. "properties": {
  18376. "accountname": {
  18377. "description": "账户名称(机构名称)",
  18378. "type": "string"
  18379. },
  18380. "accountstatus": {
  18381. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  18382. "type": "integer"
  18383. },
  18384. "applysrc": {
  18385. "description": "申请来源 - 1:管理端 2:终端",
  18386. "type": "integer"
  18387. },
  18388. "auditremark": {
  18389. "description": "审核备注",
  18390. "type": "string"
  18391. },
  18392. "auditsrc": {
  18393. "description": "审核来源 - 1:管理端 2:终端",
  18394. "type": "integer"
  18395. },
  18396. "audittime": {
  18397. "description": "审核时间",
  18398. "type": "string"
  18399. },
  18400. "audituserid": {
  18401. "description": "审核人",
  18402. "type": "integer"
  18403. },
  18404. "broker": {
  18405. "description": "所属经纪人ID",
  18406. "type": "integer"
  18407. },
  18408. "canceltime": {
  18409. "description": "销户时间",
  18410. "type": "string"
  18411. },
  18412. "canceluserid": {
  18413. "description": "销户人",
  18414. "type": "integer"
  18415. },
  18416. "canrecommend": {
  18417. "description": "是否可推荐 - 0:不可 1;可",
  18418. "type": "integer"
  18419. },
  18420. "createtime": {
  18421. "description": "创建时间",
  18422. "type": "string"
  18423. },
  18424. "creatorid": {
  18425. "description": "创建人",
  18426. "type": "integer"
  18427. },
  18428. "hasauth": {
  18429. "description": "是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝",
  18430. "type": "integer"
  18431. },
  18432. "isanonymous": {
  18433. "description": "是否匿名下单 - 0:否 1:是",
  18434. "type": "integer"
  18435. },
  18436. "maxinvestornum": {
  18437. "description": "最大用户数(经纪会员下投资者个数)",
  18438. "type": "integer"
  18439. },
  18440. "memberuserid": {
  18441. "description": "所属会员ID",
  18442. "type": "integer"
  18443. },
  18444. "modifierid": {
  18445. "description": "修改人",
  18446. "type": "integer"
  18447. },
  18448. "modifyremark": {
  18449. "description": "变更备注",
  18450. "type": "string"
  18451. },
  18452. "modifystatus": {
  18453. "description": "变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)",
  18454. "type": "integer"
  18455. },
  18456. "modifytime": {
  18457. "description": "修改时间",
  18458. "type": "string"
  18459. },
  18460. "parenttopuser": {
  18461. "description": "上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的\"ParentTopUser\"]",
  18462. "type": "string"
  18463. },
  18464. "parentuserid": {
  18465. "description": "所属机构ID",
  18466. "type": "integer"
  18467. },
  18468. "reckonaccountid": {
  18469. "description": "默认结算资金账号ID(机构分润使用) 作废",
  18470. "type": "integer"
  18471. },
  18472. "refercount": {
  18473. "description": "推荐总人数",
  18474. "type": "integer"
  18475. },
  18476. "refereeuserid": {
  18477. "description": "推荐人ID",
  18478. "type": "integer"
  18479. },
  18480. "refernum": {
  18481. "description": "推荐码",
  18482. "type": "string"
  18483. },
  18484. "rootuserid": {
  18485. "description": "根用户ID",
  18486. "type": "integer"
  18487. },
  18488. "subaccountlevel": {
  18489. "description": "子账户层数",
  18490. "type": "integer"
  18491. },
  18492. "subarealevelpath": {
  18493. "description": "子机构层级路径(逗号分隔,首尾加逗号)",
  18494. "type": "string"
  18495. },
  18496. "userid": {
  18497. "description": "用户ID",
  18498. "type": "integer"
  18499. },
  18500. "usertype": {
  18501. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  18502. "type": "integer"
  18503. }
  18504. }
  18505. },
  18506. "models.Ermcp3SellBuyContract": {
  18507. "type": "object",
  18508. "properties": {
  18509. "accountid": {
  18510. "description": "期货账户id",
  18511. "type": "string"
  18512. },
  18513. "accountname": {
  18514. "description": "账户名称",
  18515. "type": "string"
  18516. },
  18517. "attachment": {
  18518. "description": "附件",
  18519. "type": "string"
  18520. },
  18521. "audittime": {
  18522. "description": "审核时间",
  18523. "type": "string"
  18524. },
  18525. "biztype": {
  18526. "description": "业务类型 1-套保 2-套利",
  18527. "type": "integer"
  18528. },
  18529. "brandname": {
  18530. "description": "品牌名称",
  18531. "type": "string"
  18532. },
  18533. "contracctstatus": {
  18534. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  18535. "type": "integer"
  18536. },
  18537. "contractmargin": {
  18538. "description": "合同保证金",
  18539. "type": "number"
  18540. },
  18541. "contractno": {
  18542. "description": "合同编号",
  18543. "type": "string"
  18544. },
  18545. "contracttype": {
  18546. "description": "合同类型 1-采购, -1-销售",
  18547. "type": "integer"
  18548. },
  18549. "convertfactor": {
  18550. "description": "标仓系数(品类)",
  18551. "type": "number"
  18552. },
  18553. "createtime": {
  18554. "description": "创建时间",
  18555. "type": "string"
  18556. },
  18557. "currencyid": {
  18558. "description": "币种id",
  18559. "type": "integer"
  18560. },
  18561. "currencyname": {
  18562. "description": "币种名称",
  18563. "type": "string"
  18564. },
  18565. "daikaiamount": {
  18566. "description": "应收(开)票额",
  18567. "type": "number"
  18568. },
  18569. "deliveryenddate": {
  18570. "description": "交割结束日",
  18571. "type": "string"
  18572. },
  18573. "deliverygoodscode": {
  18574. "description": "现货品种代码",
  18575. "type": "string"
  18576. },
  18577. "deliverygoodsid": {
  18578. "description": "现货商品ID",
  18579. "type": "integer"
  18580. },
  18581. "deliverygoodsname": {
  18582. "description": "现货品种名称",
  18583. "type": "string"
  18584. },
  18585. "deliverystartdate": {
  18586. "description": "交割开始日",
  18587. "type": "string"
  18588. },
  18589. "enddate": {
  18590. "description": "点价结束日",
  18591. "type": "string"
  18592. },
  18593. "enumdicname": {
  18594. "description": "单位名称",
  18595. "type": "string"
  18596. },
  18597. "goodscode": {
  18598. "description": "点价商品代码",
  18599. "type": "string"
  18600. },
  18601. "goodsid": {
  18602. "description": "点价商品ID",
  18603. "type": "integer"
  18604. },
  18605. "goodsname": {
  18606. "description": "点价商品名称",
  18607. "type": "string"
  18608. },
  18609. "invoiceamount": {
  18610. "description": "已开票额",
  18611. "type": "number"
  18612. },
  18613. "loanamount": {
  18614. "description": "贷款总额=已定价额+调整金额",
  18615. "type": "number"
  18616. },
  18617. "margin": {
  18618. "description": "保证金",
  18619. "type": "number"
  18620. },
  18621. "meruserid": {
  18622. "description": "跟单员id",
  18623. "type": "integer"
  18624. },
  18625. "meruserlogincode": {
  18626. "description": "跟单员登录代码",
  18627. "type": "string"
  18628. },
  18629. "merusername": {
  18630. "description": "跟单员名称",
  18631. "type": "string"
  18632. },
  18633. "nickname": {
  18634. "description": "账户昵称",
  18635. "type": "string"
  18636. },
  18637. "payamount": {
  18638. "description": "已收付额(收款或付款)",
  18639. "type": "number"
  18640. },
  18641. "preinvoiceamount": {
  18642. "description": "预收(开)票额",
  18643. "type": "number"
  18644. },
  18645. "prepayamount": {
  18646. "description": "预收付额",
  18647. "type": "number"
  18648. },
  18649. "price": {
  18650. "description": "价格",
  18651. "type": "number"
  18652. },
  18653. "pricedamount": {
  18654. "description": "已定价额",
  18655. "type": "number"
  18656. },
  18657. "pricedavg": {
  18658. "description": "已点均价",
  18659. "type": "number"
  18660. },
  18661. "pricedqty": {
  18662. "description": "已定价量",
  18663. "type": "number"
  18664. },
  18665. "pricemove": {
  18666. "description": "升贴水",
  18667. "type": "number"
  18668. },
  18669. "pricetype": {
  18670. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  18671. "type": "integer"
  18672. },
  18673. "producttype": {
  18674. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  18675. "type": "integer"
  18676. },
  18677. "qty": {
  18678. "description": "合同量",
  18679. "type": "number"
  18680. },
  18681. "reckonadjustamount": {
  18682. "description": "调整金额",
  18683. "type": "number"
  18684. },
  18685. "reckonedamount": {
  18686. "description": "实际已收付额(已确定额,已收付总额-已退款总额)",
  18687. "type": "number"
  18688. },
  18689. "reckonotheramount": {
  18690. "description": "其它费用",
  18691. "type": "number"
  18692. },
  18693. "reckonrealqty": {
  18694. "description": "已确定量",
  18695. "type": "number"
  18696. },
  18697. "remark": {
  18698. "description": "备注",
  18699. "type": "string"
  18700. },
  18701. "saleuserid": {
  18702. "description": "业务员id",
  18703. "type": "integer"
  18704. },
  18705. "saleuserlogincode": {
  18706. "description": "业务员登录代码",
  18707. "type": "string"
  18708. },
  18709. "saleusername": {
  18710. "description": "业务员名称",
  18711. "type": "string"
  18712. },
  18713. "spotcontractid": {
  18714. "description": "合同ID",
  18715. "type": "string"
  18716. },
  18717. "spotgoodsbrandid": {
  18718. "description": "现货品牌ID(DGFactoryItem表的ID)",
  18719. "type": "integer"
  18720. },
  18721. "spotgoodsdesc": {
  18722. "description": "商品型号(商品规格)",
  18723. "type": "string"
  18724. },
  18725. "startdate": {
  18726. "description": "点价开始日",
  18727. "type": "string"
  18728. },
  18729. "totalamount": {
  18730. "description": "合计总额",
  18731. "type": "number"
  18732. },
  18733. "tradeuserid": {
  18734. "description": "交易员id",
  18735. "type": "integer"
  18736. },
  18737. "tradeuserlogincode": {
  18738. "description": "交易员登录代码",
  18739. "type": "string"
  18740. },
  18741. "tradeusername": {
  18742. "description": "交易员名称",
  18743. "type": "string"
  18744. },
  18745. "unpayamount": {
  18746. "description": "应收付款额(应支付或应收款)",
  18747. "type": "number"
  18748. },
  18749. "unpricedqty": {
  18750. "description": "未定价量",
  18751. "type": "number"
  18752. },
  18753. "unsureqty": {
  18754. "description": "未确定量",
  18755. "type": "number"
  18756. },
  18757. "userid": {
  18758. "description": "机构ID",
  18759. "type": "integer"
  18760. },
  18761. "wrstandardcode": {
  18762. "description": "品类代码",
  18763. "type": "string"
  18764. },
  18765. "wrstandardid": {
  18766. "description": "品类ID",
  18767. "type": "integer"
  18768. },
  18769. "wrstandardname": {
  18770. "description": "品类名称",
  18771. "type": "string"
  18772. }
  18773. }
  18774. },
  18775. "models.Ermcp3SpotGoodsPrice": {
  18776. "type": "object",
  18777. "properties": {
  18778. "areauserid": {
  18779. "description": "所属机构id",
  18780. "type": "integer"
  18781. },
  18782. "brandname": {
  18783. "description": "品牌名称",
  18784. "type": "string"
  18785. },
  18786. "currencyid": {
  18787. "description": "报价货币ID",
  18788. "type": "integer"
  18789. },
  18790. "currencyname": {
  18791. "description": "币种名称",
  18792. "type": "string"
  18793. },
  18794. "deliverygoodscode": {
  18795. "description": "现货商品代码",
  18796. "type": "string"
  18797. },
  18798. "deliverygoodsid": {
  18799. "description": "现货商品id",
  18800. "type": "integer"
  18801. },
  18802. "deliverygoodsname": {
  18803. "description": "现货商品名称",
  18804. "type": "string"
  18805. },
  18806. "enumdicname": {
  18807. "description": "现货商品单位名称",
  18808. "type": "string"
  18809. },
  18810. "gbenumdicname": {
  18811. "description": "品类单位名称",
  18812. "type": "string"
  18813. },
  18814. "gmunitid": {
  18815. "description": "品类单位id",
  18816. "type": "integer"
  18817. },
  18818. "isvalid": {
  18819. "description": "是否有效 - 0:无效 1:有效",
  18820. "type": "integer"
  18821. },
  18822. "operateid": {
  18823. "description": "最后操作人",
  18824. "type": "integer"
  18825. },
  18826. "operatesrc": {
  18827. "description": "最后操作来源 - 1:管理端 2:终端",
  18828. "type": "integer"
  18829. },
  18830. "operatetime": {
  18831. "description": "最后操作时间",
  18832. "type": "string"
  18833. },
  18834. "operatorname": {
  18835. "description": "操作人名称",
  18836. "type": "string"
  18837. },
  18838. "spotgoodsbrandid": {
  18839. "description": "现货品牌ID(通用则为0, 不为0则须先有品类ID)",
  18840. "type": "integer"
  18841. },
  18842. "spotgoodsprice": {
  18843. "description": "现货价格",
  18844. "type": "number"
  18845. },
  18846. "tradedate": {
  18847. "description": "交易日(yyyyMMdd)",
  18848. "type": "string"
  18849. },
  18850. "unitid": {
  18851. "description": "现货商品单位id",
  18852. "type": "integer"
  18853. },
  18854. "wrstandardcode": {
  18855. "description": "品类代码",
  18856. "type": "string"
  18857. },
  18858. "wrstandardid": {
  18859. "description": "现货品类ID(通用则为0)",
  18860. "type": "integer"
  18861. },
  18862. "wrstandardname": {
  18863. "description": "品类名称",
  18864. "type": "string"
  18865. }
  18866. }
  18867. },
  18868. "models.Ermcp3SpotGoodsPriceLog": {
  18869. "type": "object",
  18870. "properties": {
  18871. "areauserid": {
  18872. "description": "所属机构id",
  18873. "type": "integer"
  18874. },
  18875. "brandname": {
  18876. "description": "品牌名称",
  18877. "type": "string"
  18878. },
  18879. "currencyid": {
  18880. "description": "报价货币ID",
  18881. "type": "integer"
  18882. },
  18883. "deliverygoodscode": {
  18884. "description": "现货商品代码",
  18885. "type": "string"
  18886. },
  18887. "deliverygoodsid": {
  18888. "description": "现货商品id",
  18889. "type": "integer"
  18890. },
  18891. "deliverygoodsname": {
  18892. "description": "现货商品名称",
  18893. "type": "string"
  18894. },
  18895. "enumdicname": {
  18896. "description": "现货商品单位名称",
  18897. "type": "string"
  18898. },
  18899. "gbenumdicname": {
  18900. "description": "品类单位名称",
  18901. "type": "string"
  18902. },
  18903. "gmunitid": {
  18904. "description": "品类单位id",
  18905. "type": "integer"
  18906. },
  18907. "logid": {
  18908. "description": "日志id",
  18909. "type": "integer"
  18910. },
  18911. "operateid": {
  18912. "description": "最后操作人",
  18913. "type": "integer"
  18914. },
  18915. "operatesrc": {
  18916. "description": "最后操作来源 - 1:管理端 2:终端",
  18917. "type": "integer"
  18918. },
  18919. "operatetime": {
  18920. "description": "最后操作时间",
  18921. "type": "string"
  18922. },
  18923. "operatorname": {
  18924. "description": "操作人名称",
  18925. "type": "string"
  18926. },
  18927. "spotgoodsbrandid": {
  18928. "description": "现货品牌ID(通用则为0, 不为0则须先有品类ID)",
  18929. "type": "integer"
  18930. },
  18931. "spotgoodsprice": {
  18932. "description": "现货价格",
  18933. "type": "number"
  18934. },
  18935. "tradedate": {
  18936. "description": "交易日(yyyyMMdd)",
  18937. "type": "string"
  18938. },
  18939. "unitid": {
  18940. "description": "现货商品单位id",
  18941. "type": "integer"
  18942. },
  18943. "wrstandardcode": {
  18944. "description": "品类代码",
  18945. "type": "string"
  18946. },
  18947. "wrstandardid": {
  18948. "description": "现货品类ID(通用则为0)",
  18949. "type": "integer"
  18950. },
  18951. "wrstandardname": {
  18952. "description": "品类名称",
  18953. "type": "string"
  18954. }
  18955. }
  18956. },
  18957. "models.Ermcp3TaFutuReDataReport": {
  18958. "type": "object",
  18959. "properties": {
  18960. "accountid": {
  18961. "description": "交易账户",
  18962. "type": "integer"
  18963. },
  18964. "accountname": {
  18965. "description": "交易账号名称",
  18966. "type": "string"
  18967. },
  18968. "begindate": {
  18969. "description": "开始交易日",
  18970. "type": "string"
  18971. },
  18972. "buyorsell": {
  18973. "description": "持仓方向",
  18974. "type": "integer"
  18975. },
  18976. "charge": {
  18977. "description": "手续费",
  18978. "type": "number"
  18979. },
  18980. "closeavgprice": {
  18981. "description": "平仓均价",
  18982. "type": "number"
  18983. },
  18984. "closepl": {
  18985. "description": "平仓损益",
  18986. "type": "number"
  18987. },
  18988. "currencyid": {
  18989. "description": "结算币种ID",
  18990. "type": "integer"
  18991. },
  18992. "currencyname": {
  18993. "description": "币种名称",
  18994. "type": "string"
  18995. },
  18996. "cycletime": {
  18997. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  18998. "type": "string"
  18999. },
  19000. "cycletype": {
  19001. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  19002. "type": "integer"
  19003. },
  19004. "enddate": {
  19005. "description": "结束交易日",
  19006. "type": "string"
  19007. },
  19008. "enumdicname": {
  19009. "description": "单位名称",
  19010. "type": "string"
  19011. },
  19012. "floatpl": {
  19013. "description": "浮动损益",
  19014. "type": "number"
  19015. },
  19016. "goodscode": {
  19017. "description": "交易合约代码",
  19018. "type": "string"
  19019. },
  19020. "goodsgroupid": {
  19021. "description": "交易品种",
  19022. "type": "integer"
  19023. },
  19024. "goodsgroupname": {
  19025. "description": "交易品种名称",
  19026. "type": "string"
  19027. },
  19028. "goodsgroupspotqty": {
  19029. "description": "交易品种期末量 (= 期末持仓量 * 合约乘数)",
  19030. "type": "number"
  19031. },
  19032. "goodsid": {
  19033. "description": "交易合约",
  19034. "type": "integer"
  19035. },
  19036. "goodsname": {
  19037. "description": "交易合约名称",
  19038. "type": "string"
  19039. },
  19040. "goodunitid": {
  19041. "description": "交易合约单位id",
  19042. "type": "integer"
  19043. },
  19044. "holdamount": {
  19045. "description": "期末持仓额",
  19046. "type": "number"
  19047. },
  19048. "holdqty": {
  19049. "description": "期末持仓量",
  19050. "type": "number"
  19051. },
  19052. "lastholdamount": {
  19053. "description": "当前持仓额",
  19054. "type": "number"
  19055. },
  19056. "lastprice": {
  19057. "description": "最新价",
  19058. "type": "number"
  19059. },
  19060. "middlegoodsid": {
  19061. "description": "套保品种id",
  19062. "type": "integer"
  19063. },
  19064. "middlegoodsname": {
  19065. "description": "套保商品名称",
  19066. "type": "string"
  19067. },
  19068. "middlegoodsqty": {
  19069. "description": "套保品种期末量 (=交易品种期末量 * 期货品种折算系数)",
  19070. "type": "number"
  19071. },
  19072. "middlgoodscode": {
  19073. "description": "套保商品代码",
  19074. "type": "string"
  19075. },
  19076. "openamount": {
  19077. "description": "期末开仓额",
  19078. "type": "number"
  19079. },
  19080. "openavgprice": {
  19081. "description": "开仓均价",
  19082. "type": "number"
  19083. },
  19084. "oriholdamount": {
  19085. "description": "期初持仓额",
  19086. "type": "number"
  19087. },
  19088. "oriholdqty": {
  19089. "description": "期初持仓量",
  19090. "type": "number"
  19091. },
  19092. "oriopenamount": {
  19093. "description": "期初开仓额",
  19094. "type": "number"
  19095. },
  19096. "outergroupcode": {
  19097. "description": "交易品种代码",
  19098. "type": "string"
  19099. },
  19100. "reckondate": {
  19101. "description": "日照时期(yyyyMMdd)",
  19102. "type": "string"
  19103. },
  19104. "reckonholdamount": {
  19105. "description": "结算持仓额",
  19106. "type": "number"
  19107. },
  19108. "reckonpl": {
  19109. "description": "结算损益",
  19110. "type": "number"
  19111. },
  19112. "reckonpl2": {
  19113. "description": "结算逐笔盈亏",
  19114. "type": "number"
  19115. },
  19116. "reckonprice": {
  19117. "description": "结算价",
  19118. "type": "number"
  19119. },
  19120. "relateduserid": {
  19121. "description": "账户关联用户ID",
  19122. "type": "integer"
  19123. },
  19124. "todaycloseamount": {
  19125. "description": "今平仓额",
  19126. "type": "number"
  19127. },
  19128. "todaycloseqty": {
  19129. "description": "今平仓量",
  19130. "type": "number"
  19131. },
  19132. "todaygoodsgroupspotqty": {
  19133. "description": "交易品种变化量 (=(期末持仓量 - 期初持仓量)* 合约乘数)",
  19134. "type": "number"
  19135. },
  19136. "todaymiddlegoodsqty": {
  19137. "description": "套保品种变化量 (= 交易品种变化量*期货品种折算系数)",
  19138. "type": "number"
  19139. },
  19140. "todayopenamount": {
  19141. "description": "今开仓额",
  19142. "type": "number"
  19143. },
  19144. "todayopenqty": {
  19145. "description": "今开仓量",
  19146. "type": "number"
  19147. },
  19148. "userid": {
  19149. "description": "账户所属用户ID",
  19150. "type": "integer"
  19151. }
  19152. }
  19153. },
  19154. "models.Ermcp3Wrstandard": {
  19155. "type": "object",
  19156. "properties": {
  19157. "areauserid": {
  19158. "description": "所属机构",
  19159. "type": "integer"
  19160. },
  19161. "convertfactor": {
  19162. "description": "标仓系数",
  19163. "type": "number"
  19164. },
  19165. "createtime": {
  19166. "description": "创建时间",
  19167. "type": "string"
  19168. },
  19169. "creatorid": {
  19170. "description": "创建人",
  19171. "type": "integer"
  19172. },
  19173. "deliverygoodsid": {
  19174. "description": "现货品种ID",
  19175. "type": "integer"
  19176. },
  19177. "enumdicname": {
  19178. "description": "品类单位名称",
  19179. "type": "string"
  19180. },
  19181. "isvalid": {
  19182. "description": "是否有效 0-无效(停用) 1-有效(正常)",
  19183. "type": "integer"
  19184. },
  19185. "minivalue": {
  19186. "description": "最小变动值",
  19187. "type": "integer"
  19188. },
  19189. "minivaluedp": {
  19190. "description": "最小变动值小数位",
  19191. "type": "integer"
  19192. },
  19193. "realminivalue": {
  19194. "description": "实际最小变动值",
  19195. "type": "integer"
  19196. },
  19197. "realminivaluedp": {
  19198. "description": "实际最小变动值小数位",
  19199. "type": "integer"
  19200. },
  19201. "remark": {
  19202. "description": "备注",
  19203. "type": "string"
  19204. },
  19205. "unitid": {
  19206. "description": "品类单位ID",
  19207. "type": "integer"
  19208. },
  19209. "updatetime": {
  19210. "description": "更新时间",
  19211. "type": "string"
  19212. },
  19213. "wrstandardcode": {
  19214. "description": "品类代码",
  19215. "type": "string"
  19216. },
  19217. "wrstandardid": {
  19218. "description": "品类ID(SEQ_WRSTANDARD)",
  19219. "type": "integer"
  19220. },
  19221. "wrstandardname": {
  19222. "description": "品类名称",
  19223. "type": "string"
  19224. }
  19225. }
  19226. },
  19227. "models.ErmcpAreaSpotDetailModel": {
  19228. "type": "object",
  19229. "properties": {
  19230. "contracttype": {
  19231. "description": "合同类型 1-采购 -1-销售",
  19232. "type": "integer"
  19233. },
  19234. "createtime": {
  19235. "description": "创建时间",
  19236. "type": "string"
  19237. },
  19238. "enumdicname": {
  19239. "description": "现货商品单位名称",
  19240. "type": "string"
  19241. },
  19242. "logtype": {
  19243. "description": "记录类型 1-套保 2-现货合同",
  19244. "type": "integer"
  19245. },
  19246. "qty": {
  19247. "description": "数量",
  19248. "type": "number"
  19249. },
  19250. "recordname": {
  19251. "description": "类型名称",
  19252. "type": "string"
  19253. },
  19254. "relatedid": {
  19255. "description": "套保计划ID/现货合同ID",
  19256. "type": "string"
  19257. },
  19258. "relatedno": {
  19259. "description": "编号",
  19260. "type": "string"
  19261. },
  19262. "strtime": {
  19263. "description": "时间",
  19264. "type": "string"
  19265. },
  19266. "wrstandardcode": {
  19267. "description": "现货商品代码",
  19268. "type": "string"
  19269. },
  19270. "wrstandardname": {
  19271. "description": "现货商品名称",
  19272. "type": "string"
  19273. }
  19274. }
  19275. },
  19276. "models.ErmcpAvalidGoodsGroupModel": {
  19277. "type": "object",
  19278. "properties": {
  19279. "goodsgroupid": {
  19280. "description": "期货品种id",
  19281. "type": "integer"
  19282. },
  19283. "goodsgroupname": {
  19284. "description": "期货品种名称",
  19285. "type": "string"
  19286. },
  19287. "goodunitid": {
  19288. "description": "品种单位id",
  19289. "type": "integer"
  19290. },
  19291. "goodunitname": {
  19292. "description": "品种单位名称",
  19293. "type": "string"
  19294. },
  19295. "outergroupcode": {
  19296. "description": "期货品种代码",
  19297. "type": "string"
  19298. }
  19299. }
  19300. },
  19301. "models.ErmcpBizGroupEx": {
  19302. "type": "object",
  19303. "properties": {
  19304. "acclist": {
  19305. "description": "账号列表",
  19306. "type": "array",
  19307. "items": {
  19308. "$ref": "#/definitions/models.ErmcpBizGroupTaAccount"
  19309. }
  19310. },
  19311. "bizgroupid": {
  19312. "description": "业务分组id",
  19313. "type": "integer"
  19314. },
  19315. "biztype": {
  19316. "description": "业务类型 1-套保 2-套利",
  19317. "type": "integer"
  19318. },
  19319. "wrlist": {
  19320. "description": "现货商品表",
  19321. "type": "array",
  19322. "items": {
  19323. "$ref": "#/definitions/models.ErmcpBizGroupSpotGoods"
  19324. }
  19325. }
  19326. }
  19327. },
  19328. "models.ErmcpBizGroupSpotGoods": {
  19329. "type": "object",
  19330. "properties": {
  19331. "areauserid": {
  19332. "description": "所属机构id",
  19333. "type": "integer"
  19334. },
  19335. "bizgroupid": {
  19336. "description": "分组id",
  19337. "type": "integer"
  19338. },
  19339. "biztype": {
  19340. "description": "业务类型 1-套保 2-套利",
  19341. "type": "integer"
  19342. },
  19343. "deliverygoodscode": {
  19344. "description": "现货商品代码",
  19345. "type": "string"
  19346. },
  19347. "deliverygoodsid": {
  19348. "description": "现货商品id",
  19349. "type": "integer"
  19350. },
  19351. "deliverygoodsname": {
  19352. "description": "现货商品名称",
  19353. "type": "string"
  19354. },
  19355. "unitid": {
  19356. "description": "现货商品单位id",
  19357. "type": "integer"
  19358. }
  19359. }
  19360. },
  19361. "models.ErmcpBizGroupTaAccount": {
  19362. "type": "object",
  19363. "properties": {
  19364. "accountid": {
  19365. "description": "账号id",
  19366. "type": "integer"
  19367. },
  19368. "accountname": {
  19369. "description": "账号名称",
  19370. "type": "string"
  19371. },
  19372. "areauserid": {
  19373. "description": "所属机构id",
  19374. "type": "integer"
  19375. },
  19376. "bizgroupid": {
  19377. "description": "业务分组id",
  19378. "type": "integer"
  19379. },
  19380. "ismain": {
  19381. "description": "是否主账号 1-是 0-否",
  19382. "type": "integer"
  19383. }
  19384. }
  19385. },
  19386. "models.ErmcpDGFactoryItem": {
  19387. "type": "object",
  19388. "properties": {
  19389. "areauserid": {
  19390. "description": "用户id",
  19391. "type": "integer"
  19392. },
  19393. "deliverygoodsid": {
  19394. "description": "现货品种ID",
  19395. "type": "integer"
  19396. },
  19397. "dgfactoryitemid": {
  19398. "description": "选择项ID(SEQ_DGFACTORYITEM)",
  19399. "type": "integer"
  19400. },
  19401. "dgfactoryitemtypeid": {
  19402. "description": "要素项类型",
  19403. "type": "integer"
  19404. },
  19405. "dgfactoryitemvalue": {
  19406. "description": "要素项值(类型为仓库时填写仓库名称)",
  19407. "type": "string"
  19408. },
  19409. "isvalid": {
  19410. "description": "是否有效 - 0:无效 1:有效",
  19411. "type": "integer"
  19412. },
  19413. "orderindex": {
  19414. "description": "顺序",
  19415. "type": "integer"
  19416. },
  19417. "warehouseid": {
  19418. "description": "仓库ID(类型为仓库时填写)",
  19419. "type": "integer"
  19420. }
  19421. }
  19422. },
  19423. "models.ErmcpDeliveryGoods": {
  19424. "type": "object",
  19425. "properties": {
  19426. "agreeunit": {
  19427. "description": "合约单位[散货时默认为1, 整装时默认为标准数量]",
  19428. "type": "integer"
  19429. },
  19430. "areauserid": {
  19431. "description": "所属机构",
  19432. "type": "integer"
  19433. },
  19434. "auditflag": {
  19435. "description": "交割是否需要审核 - 0:不需要 1:需要审核 默认为0",
  19436. "type": "integer"
  19437. },
  19438. "categoryid": {
  19439. "description": "类别ID(SEQ_WRCATEGORY)",
  19440. "type": "integer"
  19441. },
  19442. "deliverygoodscode": {
  19443. "description": "现货品种代码",
  19444. "type": "string"
  19445. },
  19446. "deliverygoodsid": {
  19447. "description": "现货品种ID(SEQ_DELIVERYGOODS)",
  19448. "type": "integer"
  19449. },
  19450. "deliverygoodsname": {
  19451. "description": "现货品种名称",
  19452. "type": "string"
  19453. },
  19454. "deliverygoodstype": {
  19455. "description": "现货品种类型: 1-整装不拆分 2-散装记录明细 3:整装拆分 4:散装不记录明细",
  19456. "type": "integer"
  19457. },
  19458. "dgstatus": {
  19459. "description": "品种状态 - 作废 - 0:未激活 1:正常",
  19460. "type": "integer"
  19461. },
  19462. "enumdicname": {
  19463. "description": "现货品种单位名称",
  19464. "type": "string"
  19465. },
  19466. "goodsunitid": {
  19467. "description": "现货品种单位ID",
  19468. "type": "integer"
  19469. },
  19470. "isvalid": {
  19471. "description": "是否有效 - 0:无效 1:有效",
  19472. "type": "integer"
  19473. },
  19474. "qtydecimalplace": {
  19475. "description": "成交量小数位",
  19476. "type": "integer"
  19477. },
  19478. "remark": {
  19479. "description": "备注",
  19480. "type": "string"
  19481. },
  19482. "standardqty": {
  19483. "description": "标准数量(库位数量) [标准品特有]",
  19484. "type": "integer"
  19485. },
  19486. "standardqtyrange": {
  19487. "description": "标准数量偏差范围 [标准品特有]",
  19488. "type": "integer"
  19489. }
  19490. }
  19491. },
  19492. "models.ErmcpDeliveryGoodsDetail2": {
  19493. "type": "object",
  19494. "properties": {
  19495. "convertratio": {
  19496. "description": "套保系数(折算系数)",
  19497. "type": "number"
  19498. },
  19499. "data": {
  19500. "description": "现货商品基本信息(交割品种)",
  19501. "type": "object",
  19502. "$ref": "#/definitions/models.ErmcpDeliveryGoods"
  19503. },
  19504. "gblist": {
  19505. "description": "品牌列表",
  19506. "type": "array",
  19507. "items": {
  19508. "$ref": "#/definitions/models.Ermcp3Brand"
  19509. }
  19510. },
  19511. "gmlist": {
  19512. "description": "品类列表(仓单标准)",
  19513. "type": "array",
  19514. "items": {
  19515. "$ref": "#/definitions/models.Ermcp3Wrstandard"
  19516. }
  19517. }
  19518. }
  19519. },
  19520. "models.ErmcpDeliveryGoodsDetailEx": {
  19521. "type": "object",
  19522. "properties": {
  19523. "data": {
  19524. "description": "现货商品基本信息(交割品种)",
  19525. "type": "object",
  19526. "$ref": "#/definitions/models.ErmcpDeliveryGoods"
  19527. },
  19528. "gblist": {
  19529. "description": "品牌列表",
  19530. "type": "array",
  19531. "items": {
  19532. "$ref": "#/definitions/models.Ermcp3Brand"
  19533. }
  19534. },
  19535. "gmlist": {
  19536. "description": "品类列表(仓单标准)",
  19537. "type": "array",
  19538. "items": {
  19539. "$ref": "#/definitions/models.Ermcp3Wrstandard"
  19540. }
  19541. },
  19542. "mgList": {
  19543. "description": "套保列表",
  19544. "type": "array",
  19545. "items": {
  19546. "$ref": "#/definitions/models.Ermcp3MiddleGoodsDetail2"
  19547. }
  19548. }
  19549. }
  19550. },
  19551. "models.ErmcpExposureDetailModel": {
  19552. "type": "object",
  19553. "properties": {
  19554. "areauserid": {
  19555. "description": "机构ID",
  19556. "type": "integer"
  19557. },
  19558. "changeQty": {
  19559. "description": "套保变动量",
  19560. "type": "number"
  19561. },
  19562. "contracttype": {
  19563. "description": "现货合同类型 - 1:采购 -1:销售",
  19564. "type": "integer"
  19565. },
  19566. "convertfactor": {
  19567. "description": "标仓系数",
  19568. "type": "number"
  19569. },
  19570. "convertratio": {
  19571. "description": "套保系数",
  19572. "type": "number"
  19573. },
  19574. "createtime": {
  19575. "description": "时间",
  19576. "type": "string"
  19577. },
  19578. "enumdicname": {
  19579. "description": "现货商品单位名称",
  19580. "type": "string"
  19581. },
  19582. "logtype": {
  19583. "description": "类型 - 1:套保计划 2:现货合同",
  19584. "type": "integer"
  19585. },
  19586. "middlegoodsId": {
  19587. "description": "套保商品id",
  19588. "type": "integer"
  19589. },
  19590. "middlegoodscode": {
  19591. "description": "套保商品代码",
  19592. "type": "string"
  19593. },
  19594. "middlegoodsname": {
  19595. "description": "套保商品名称",
  19596. "type": "string"
  19597. },
  19598. "qty": {
  19599. "description": "数量",
  19600. "type": "number"
  19601. },
  19602. "relateNo": {
  19603. "description": "现货合同/套保计划编号",
  19604. "type": "string"
  19605. },
  19606. "wrstandardcode": {
  19607. "description": "现货商品代码",
  19608. "type": "string"
  19609. },
  19610. "wrstandardid": {
  19611. "description": "现货商品ID",
  19612. "type": "integer"
  19613. },
  19614. "wrstandardname": {
  19615. "description": "现货商品名称",
  19616. "type": "string"
  19617. }
  19618. }
  19619. },
  19620. "models.ErmcpExposurePostion": {
  19621. "type": "object",
  19622. "properties": {
  19623. "agreeunit": {
  19624. "description": "合约单位",
  19625. "type": "string"
  19626. },
  19627. "areauserid": {
  19628. "description": "所属机构id",
  19629. "type": "integer"
  19630. },
  19631. "convertratio": {
  19632. "description": "期货品种系数(折算系数)",
  19633. "type": "number"
  19634. },
  19635. "curqty": {
  19636. "description": "当前持仓",
  19637. "type": "integer"
  19638. },
  19639. "diffhedgeqty": {
  19640. "description": "套保品种变动量=持仓变动量*期货合约单位*期货品种系数",
  19641. "type": "number"
  19642. },
  19643. "diffqty": {
  19644. "description": "持仓变动量=当前持仓-昨日持仓",
  19645. "type": "integer"
  19646. },
  19647. "goodscode": {
  19648. "description": "商品代码",
  19649. "type": "string"
  19650. },
  19651. "goodsid": {
  19652. "description": "商品id",
  19653. "type": "integer"
  19654. },
  19655. "goodsname": {
  19656. "description": "商品名称",
  19657. "type": "string"
  19658. },
  19659. "middlegoodsid": {
  19660. "description": "套保商品id",
  19661. "type": "integer"
  19662. },
  19663. "ydqty": {
  19664. "description": "昨日持仓",
  19665. "type": "integer"
  19666. }
  19667. }
  19668. },
  19669. "models.ErmcpFuturesCompany": {
  19670. "type": "object",
  19671. "properties": {
  19672. "brokerid": {
  19673. "description": "经纪公司代码",
  19674. "type": "string"
  19675. },
  19676. "channeladdress": {
  19677. "description": "对冲渠道服务地址(多个地址用逗号分隔) -- 192.168.30.10:3000,192.168.30.10:3001",
  19678. "type": "string"
  19679. },
  19680. "channelid": {
  19681. "description": "对冲渠道ID",
  19682. "type": "string"
  19683. },
  19684. "createtime": {
  19685. "description": "创建时间",
  19686. "type": "string"
  19687. },
  19688. "creatorid": {
  19689. "description": "创建人",
  19690. "type": "string"
  19691. },
  19692. "fcid": {
  19693. "description": "期货公司ID(SEQ_ERMCP_FUTURESCOMPANY)",
  19694. "type": "integer"
  19695. },
  19696. "fcname": {
  19697. "description": "期货公司名称",
  19698. "type": "string"
  19699. },
  19700. "isvalid": {
  19701. "description": "是否有效 - 0:无效 1:有效",
  19702. "type": "integer"
  19703. },
  19704. "mhpaddress": {
  19705. "description": "MHP服务地址(IP:Port)",
  19706. "type": "string"
  19707. },
  19708. "riskrulegroupid": {
  19709. "description": "风控规则组ID",
  19710. "type": "string"
  19711. },
  19712. "tradefeetmpid": {
  19713. "description": "手续费模板ID[TradeConfigTmpType为2]",
  19714. "type": "string"
  19715. },
  19716. "trademargintmpid": {
  19717. "description": "保证金模板ID [TradeConfigTmpType为1]",
  19718. "type": "string"
  19719. },
  19720. "traderatetmpid": {
  19721. "description": "汇率模板ID[TradeConfigTmpType为3]",
  19722. "type": "string"
  19723. },
  19724. "updatetime": {
  19725. "description": "更新时间",
  19726. "type": "string"
  19727. },
  19728. "updatorid": {
  19729. "description": "更新人",
  19730. "type": "string"
  19731. }
  19732. }
  19733. },
  19734. "models.ErmcpGGConvertCfg": {
  19735. "type": "object",
  19736. "properties": {
  19737. "convertratio": {
  19738. "description": "折算系数",
  19739. "type": "number"
  19740. },
  19741. "destgoodsgroupid": {
  19742. "description": "目标品种ID",
  19743. "type": "integer"
  19744. },
  19745. "dstcode": {
  19746. "description": "目录品种代码",
  19747. "type": "string"
  19748. },
  19749. "dstexchangecode": {
  19750. "description": "目标期货交易所",
  19751. "type": "string"
  19752. },
  19753. "dstname": {
  19754. "description": "目标品种名称",
  19755. "type": "string"
  19756. },
  19757. "dstunitid": {
  19758. "description": "目标品种单位ID",
  19759. "type": "integer"
  19760. },
  19761. "dstunitidname": {
  19762. "description": "目标品种单位名称",
  19763. "type": "string"
  19764. },
  19765. "modifytime": {
  19766. "description": "修改时间",
  19767. "type": "string"
  19768. },
  19769. "srccode": {
  19770. "description": "源品种代码",
  19771. "type": "string"
  19772. },
  19773. "srcexchangecode": {
  19774. "description": "源期货交易所",
  19775. "type": "string"
  19776. },
  19777. "srcgoodsgroupid": {
  19778. "description": "源品种ID",
  19779. "type": "integer"
  19780. },
  19781. "srcname": {
  19782. "description": "源品种名称",
  19783. "type": "string"
  19784. },
  19785. "srcunitid": {
  19786. "description": "源品种单位ID",
  19787. "type": "integer"
  19788. },
  19789. "srcunitidname": {
  19790. "description": "源品种单位名称",
  19791. "type": "string"
  19792. }
  19793. }
  19794. },
  19795. "models.ErmcpGoods": {
  19796. "type": "object",
  19797. "required": [
  19798. "goodscode",
  19799. "goodsid",
  19800. "goodsname",
  19801. "marketid"
  19802. ],
  19803. "properties": {
  19804. "agreeunit": {
  19805. "description": "合约单位",
  19806. "type": "number"
  19807. },
  19808. "areauserid": {
  19809. "description": "所属机构",
  19810. "type": "integer"
  19811. },
  19812. "auditaccountid": {
  19813. "description": "审核操作员账号",
  19814. "type": "integer"
  19815. },
  19816. "audittime": {
  19817. "description": "审核时间",
  19818. "type": "string"
  19819. },
  19820. "cancelaccountid": {
  19821. "description": "注销操作员账号",
  19822. "type": "integer"
  19823. },
  19824. "canceltime": {
  19825. "description": "注销时间",
  19826. "type": "string"
  19827. },
  19828. "closepricemode": {
  19829. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  19830. "type": "integer"
  19831. },
  19832. "closepriceparam": {
  19833. "description": "强平最新价浮动比例 - 方式为2时使用 (\u003c1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价",
  19834. "type": "number"
  19835. },
  19836. "createtime": {
  19837. "description": "创建时间",
  19838. "type": "string"
  19839. },
  19840. "creatorid": {
  19841. "description": "创建人",
  19842. "type": "integer"
  19843. },
  19844. "currencyid": {
  19845. "description": "报价货币ID",
  19846. "type": "integer"
  19847. },
  19848. "cutmode": {
  19849. "description": "斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓",
  19850. "type": "integer"
  19851. },
  19852. "decimalplace": {
  19853. "description": "报价小数位",
  19854. "type": "integer"
  19855. },
  19856. "delistingdate": {
  19857. "description": "商品退市时间(状态:退市) -- 已作废",
  19858. "type": "string"
  19859. },
  19860. "delistingmode": {
  19861. "description": "退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\\币币兑换)",
  19862. "type": "integer"
  19863. },
  19864. "deliveryflag": {
  19865. "description": "交割标志 - 0:不可交割 1:可交割",
  19866. "type": "integer"
  19867. },
  19868. "enumdicname": {
  19869. "description": "单位名称",
  19870. "type": "string"
  19871. },
  19872. "forceclosemode": {
  19873. "description": "定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]",
  19874. "type": "integer"
  19875. },
  19876. "forceclosevalue": {
  19877. "description": "定期强平参数 [收益权]",
  19878. "type": "integer"
  19879. },
  19880. "goodscode": {
  19881. "description": "商品代码(内部)",
  19882. "type": "string"
  19883. },
  19884. "goodscurrencyid": {
  19885. "description": "合约货币ID",
  19886. "type": "integer"
  19887. },
  19888. "goodsgroupid": {
  19889. "description": "所属商品组ID",
  19890. "type": "integer"
  19891. },
  19892. "goodsid": {
  19893. "description": "商品ID(自增ID SEQ_GOODS)",
  19894. "type": "integer"
  19895. },
  19896. "goodsname": {
  19897. "description": "商品名称",
  19898. "type": "string"
  19899. },
  19900. "goodsquotetype": {
  19901. "description": "合约报价类型: 1-直接报价 2-间接报价",
  19902. "type": "integer"
  19903. },
  19904. "goodsstatus": {
  19905. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  19906. "type": "integer"
  19907. },
  19908. "goodstradetype": {
  19909. "description": "商品交易权限类型 - 1:可建可平 3:不可建可平",
  19910. "type": "integer"
  19911. },
  19912. "goodunitid": {
  19913. "description": "报价单位ID",
  19914. "type": "integer"
  19915. },
  19916. "hasquoter": {
  19917. "description": "是否有报价商 - 0:无报价商 1:有报价商",
  19918. "type": "integer"
  19919. },
  19920. "hqprotecttime": {
  19921. "description": "行情保护时间(秒)",
  19922. "type": "integer"
  19923. },
  19924. "innerdealmode": {
  19925. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  19926. "type": "integer"
  19927. },
  19928. "isbuylimited": {
  19929. "description": "是否限制建仓量 - 0:不限制 1:限制",
  19930. "type": "integer"
  19931. },
  19932. "isvisible": {
  19933. "description": "游客是否可见 - 0:不可见 1:可见",
  19934. "type": "integer"
  19935. },
  19936. "lasttradedate": {
  19937. "description": "最后交易日期(状态:待退市)",
  19938. "type": "string"
  19939. },
  19940. "listingdate": {
  19941. "description": "交易开始日期",
  19942. "type": "string"
  19943. },
  19944. "marketid": {
  19945. "description": "所属市场ID",
  19946. "type": "integer"
  19947. },
  19948. "modifierid": {
  19949. "description": "修改人",
  19950. "type": "integer"
  19951. },
  19952. "modifystatus": {
  19953. "description": "变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核",
  19954. "type": "integer"
  19955. },
  19956. "modifytime": {
  19957. "description": "修改时间",
  19958. "type": "string"
  19959. },
  19960. "outerdealmode": {
  19961. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  19962. "type": "integer"
  19963. },
  19964. "outgoodscode": {
  19965. "description": "商品代码(外部)",
  19966. "type": "string"
  19967. },
  19968. "pictureurl": {
  19969. "description": "商品图片",
  19970. "type": "string"
  19971. },
  19972. "qtydecimalplace": {
  19973. "description": "成交量小数位",
  19974. "type": "integer"
  19975. },
  19976. "quotegear": {
  19977. "description": "行情档位(1-10)",
  19978. "type": "integer"
  19979. },
  19980. "quoteminunit": {
  19981. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  19982. "type": "integer"
  19983. },
  19984. "quoteshowtype": {
  19985. "description": "行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价",
  19986. "type": "integer"
  19987. },
  19988. "quoteshowtypeinterval": {
  19989. "description": "行情报价间隔时间(秒)(成交价时为0)",
  19990. "type": "integer"
  19991. },
  19992. "relatedgoodsid": {
  19993. "description": "关联参考商品ID",
  19994. "type": "integer"
  19995. },
  19996. "remark": {
  19997. "description": "备注",
  19998. "type": "string"
  19999. },
  20000. "trademode": {
  20001. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  20002. "type": "integer"
  20003. }
  20004. }
  20005. },
  20006. "models.ErmcpGoodsBrand": {
  20007. "type": "object",
  20008. "properties": {
  20009. "areauserid": {
  20010. "description": "所属机构",
  20011. "type": "integer"
  20012. },
  20013. "brandid": {
  20014. "description": "BrandID(SEQ_SPOTGOODSBRAND)",
  20015. "type": "integer"
  20016. },
  20017. "brandname": {
  20018. "description": "品牌名称",
  20019. "type": "string"
  20020. },
  20021. "createtime": {
  20022. "description": "创建时间",
  20023. "type": "string"
  20024. },
  20025. "creatorid": {
  20026. "description": "创建人",
  20027. "type": "integer"
  20028. },
  20029. "creatorsrc": {
  20030. "description": "创建人来源 - 1:管理端 2:终端",
  20031. "type": "integer"
  20032. },
  20033. "deliverygoodsid": {
  20034. "description": "现货品种ID",
  20035. "type": "integer"
  20036. },
  20037. "isvalid": {
  20038. "description": "是否有效 - 0:无效 1:有效",
  20039. "type": "integer"
  20040. },
  20041. "updatetime": {
  20042. "description": "更新时间",
  20043. "type": "string"
  20044. },
  20045. "updatorid": {
  20046. "description": "更新人",
  20047. "type": "integer"
  20048. },
  20049. "updatorsrc": {
  20050. "description": "更新人来源 - 1:管理端 2:终端",
  20051. "type": "integer"
  20052. },
  20053. "wrstandardid": {
  20054. "description": "现货商品ID",
  20055. "type": "integer"
  20056. }
  20057. }
  20058. },
  20059. "models.ErmcpGoodsModel": {
  20060. "type": "object",
  20061. "properties": {
  20062. "areauserid": {
  20063. "description": "所属机构",
  20064. "type": "integer"
  20065. },
  20066. "convertfactor": {
  20067. "description": "标仓系数",
  20068. "type": "number"
  20069. },
  20070. "createtime": {
  20071. "description": "创建时间",
  20072. "type": "string"
  20073. },
  20074. "creatorid": {
  20075. "description": "创建人",
  20076. "type": "integer"
  20077. },
  20078. "creatorsrc": {
  20079. "description": "创建人来源 - 1:管理端 2:终端",
  20080. "type": "integer"
  20081. },
  20082. "deliverygoodsid": {
  20083. "description": "现货品种ID",
  20084. "type": "integer"
  20085. },
  20086. "isvalid": {
  20087. "description": "是否有效 - 0:无效 1:有效",
  20088. "type": "integer"
  20089. },
  20090. "modelid": {
  20091. "description": "ModelID(SEQ_SPOTGOODSMODEL)",
  20092. "type": "integer"
  20093. },
  20094. "modelname": {
  20095. "description": "型号名称",
  20096. "type": "string"
  20097. },
  20098. "updatetime": {
  20099. "description": "更新时间",
  20100. "type": "string"
  20101. },
  20102. "updatorid": {
  20103. "description": "更新人",
  20104. "type": "integer"
  20105. },
  20106. "updatorsrc": {
  20107. "description": "更新人来源 - 1:管理端 2:终端",
  20108. "type": "integer"
  20109. },
  20110. "wrstandardid": {
  20111. "description": "现货商品ID",
  20112. "type": "integer"
  20113. }
  20114. }
  20115. },
  20116. "models.ErmcpHedgePosition": {
  20117. "type": "object",
  20118. "properties": {
  20119. "accountid": {
  20120. "description": "资金账号[外部母账户]",
  20121. "type": "integer"
  20122. },
  20123. "curbuyposition": {
  20124. "description": "期末买头寸",
  20125. "type": "integer"
  20126. },
  20127. "cursellposition": {
  20128. "description": "期末卖头寸",
  20129. "type": "integer"
  20130. },
  20131. "curtdbuyposition": {
  20132. "description": "期末今日买头寸",
  20133. "type": "integer"
  20134. },
  20135. "curtdsellposition": {
  20136. "description": "期末今日卖头寸",
  20137. "type": "integer"
  20138. },
  20139. "curydbuyposition": {
  20140. "description": "期末上日买头寸",
  20141. "type": "integer"
  20142. },
  20143. "curydsellposition": {
  20144. "description": "期末上日卖头寸",
  20145. "type": "integer"
  20146. },
  20147. "decreaseqty": {
  20148. "description": "减少数量 = (期末卖头寸 - 期初卖头寸)*-1",
  20149. "type": "integer"
  20150. },
  20151. "fretdbuyposition": {
  20152. "description": "冻结今日买头寸",
  20153. "type": "integer"
  20154. },
  20155. "fretdsellposition": {
  20156. "description": "冻结今日卖头寸",
  20157. "type": "integer"
  20158. },
  20159. "freydbuyposition": {
  20160. "description": "冻结上日买头寸",
  20161. "type": "integer"
  20162. },
  20163. "freydsellposition": {
  20164. "description": "冻结上日卖头寸",
  20165. "type": "integer"
  20166. },
  20167. "goodscode": {
  20168. "description": "商品代码",
  20169. "type": "string"
  20170. },
  20171. "goodsid": {
  20172. "description": "商品id",
  20173. "type": "integer"
  20174. },
  20175. "goodsname": {
  20176. "description": "商品名称",
  20177. "type": "string"
  20178. },
  20179. "hedgeaccountcode": {
  20180. "description": "对冲账号",
  20181. "type": "string"
  20182. },
  20183. "hedgegoodsid": {
  20184. "description": "对冲合约ID",
  20185. "type": "integer"
  20186. },
  20187. "increaseqty": {
  20188. "description": "增加数量 = 期末买头寸 - 期初买头寸",
  20189. "type": "integer"
  20190. },
  20191. "marketid": {
  20192. "description": "市场ID",
  20193. "type": "integer"
  20194. },
  20195. "relateduserid": {
  20196. "description": "关联用户id",
  20197. "type": "integer"
  20198. },
  20199. "totalcurqty": {
  20200. "description": "当前数量(净头寸) = 期末买头寸 - 期末卖头寸",
  20201. "type": "integer"
  20202. },
  20203. "totalydqty": {
  20204. "description": "昨日数量(净头寸) = 期初买头寸 - 期初卖头寸",
  20205. "type": "integer"
  20206. },
  20207. "tradedate": {
  20208. "description": "交易日(yyyyMMdd)",
  20209. "type": "string"
  20210. },
  20211. "ydbuyposition": {
  20212. "description": "期初买头寸",
  20213. "type": "integer"
  20214. },
  20215. "ydsellposition": {
  20216. "description": "期初卖头寸",
  20217. "type": "integer"
  20218. }
  20219. }
  20220. },
  20221. "models.ErmcpHedgePositionDetail": {
  20222. "type": "object",
  20223. "properties": {
  20224. "buyorsell": {
  20225. "description": "买卖方向 0-买 1-卖",
  20226. "type": "integer"
  20227. },
  20228. "channelbuildtype": {
  20229. "description": "开平方向 1-建仓 2-平仓",
  20230. "type": "integer"
  20231. },
  20232. "goodscode": {
  20233. "description": "商品代码",
  20234. "type": "string"
  20235. },
  20236. "goodsname": {
  20237. "description": "商品名称",
  20238. "type": "string"
  20239. },
  20240. "hedgegoodsid": {
  20241. "description": "商品id",
  20242. "type": "integer"
  20243. },
  20244. "tradeqty": {
  20245. "description": "数量(成交数量)",
  20246. "type": "integer"
  20247. },
  20248. "tradetime": {
  20249. "description": "时间(成交时间)",
  20250. "type": "string"
  20251. }
  20252. }
  20253. },
  20254. "models.ErmcpHisExposure": {
  20255. "type": "object",
  20256. "properties": {
  20257. "needhedgeexposoure": {
  20258. "description": "应套保敞口",
  20259. "type": "number"
  20260. },
  20261. "reckondate": {
  20262. "description": "日照时期(yyyyMMdd)",
  20263. "type": "string"
  20264. },
  20265. "totalexposure": {
  20266. "description": "总敞口",
  20267. "type": "number"
  20268. }
  20269. }
  20270. },
  20271. "models.ErmcpHisExposureS": {
  20272. "type": "object",
  20273. "properties": {
  20274. "data": {
  20275. "description": "历史敞口",
  20276. "type": "array",
  20277. "items": {
  20278. "$ref": "#/definitions/models.ErmcpHisExposure"
  20279. }
  20280. },
  20281. "enumdicname": {
  20282. "description": "单位名称",
  20283. "type": "string"
  20284. },
  20285. "middlegoodscode": {
  20286. "description": "套保品种代码",
  20287. "type": "string"
  20288. },
  20289. "middlegoodsid": {
  20290. "description": "套保品种ID",
  20291. "type": "integer"
  20292. },
  20293. "middlegoodsname": {
  20294. "description": "套保品种名称",
  20295. "type": "string"
  20296. }
  20297. }
  20298. },
  20299. "models.ErmcpLoginTaAccount": {
  20300. "type": "object",
  20301. "properties": {
  20302. "accountid": {
  20303. "description": "账号id",
  20304. "type": "integer"
  20305. },
  20306. "accountname": {
  20307. "description": "账号名称",
  20308. "type": "string"
  20309. }
  20310. }
  20311. },
  20312. "models.ErmcpLoginUser": {
  20313. "type": "object",
  20314. "properties": {
  20315. "acclist": {
  20316. "description": "关联资金账号",
  20317. "type": "array",
  20318. "items": {
  20319. "$ref": "#/definitions/models.ErmcpLoginTaAccount"
  20320. }
  20321. },
  20322. "accountname": {
  20323. "description": "用户名称",
  20324. "type": "string"
  20325. },
  20326. "clientroleid": {
  20327. "description": "角色id(usertype=2)",
  20328. "type": "integer"
  20329. },
  20330. "createtime": {
  20331. "description": "创建时间",
  20332. "type": "string"
  20333. },
  20334. "logincode": {
  20335. "description": "登录代码",
  20336. "type": "string"
  20337. },
  20338. "loginid": {
  20339. "description": "登录id(LOGINID)",
  20340. "type": "integer"
  20341. },
  20342. "loginname": {
  20343. "description": "登录名称(loginaccount表中的accountname字段)",
  20344. "type": "string"
  20345. },
  20346. "loginstatus": {
  20347. "description": "登录账户状态 - 1:正常 2:冻结 3:无效",
  20348. "type": "integer"
  20349. },
  20350. "memberuserid": {
  20351. "description": "所属会员id",
  20352. "type": "integer"
  20353. },
  20354. "mobile": {
  20355. "description": "手机号",
  20356. "type": "string"
  20357. },
  20358. "modifytime": {
  20359. "description": "修改时间",
  20360. "type": "string"
  20361. },
  20362. "password": {
  20363. "description": "密码(不可解密)",
  20364. "type": "string"
  20365. },
  20366. "rolename": {
  20367. "description": "角色名称",
  20368. "type": "string"
  20369. },
  20370. "rolestatus": {
  20371. "description": "角色状态 1-启用 2-停用",
  20372. "type": "integer"
  20373. },
  20374. "roletype": {
  20375. "description": "角色类型(逗号隔开,如22,23), 22:业务员 23:跟单员 24:交易员",
  20376. "type": "string"
  20377. },
  20378. "userid": {
  20379. "description": "用户id",
  20380. "type": "integer"
  20381. },
  20382. "usertype": {
  20383. "description": "用户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  20384. "type": "integer"
  20385. }
  20386. }
  20387. },
  20388. "models.ErmcpLoginUserEx": {
  20389. "type": "object",
  20390. "properties": {
  20391. "accountstatus": {
  20392. "description": "账户的状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  20393. "type": "integer"
  20394. },
  20395. "mobile": {
  20396. "description": "手机号",
  20397. "type": "string"
  20398. },
  20399. "querytype": {
  20400. "description": "查询类型 1-业务账户 2-交易账户 3-管理账户",
  20401. "type": "integer"
  20402. },
  20403. "roleid": {
  20404. "description": "角色id(交易账户-\u003e用户id)",
  20405. "type": "integer"
  20406. },
  20407. "rolename": {
  20408. "description": "角色名称(交易账户-\u003e用户名称)",
  20409. "type": "string"
  20410. },
  20411. "userlist": {
  20412. "description": "用户列表",
  20413. "type": "array",
  20414. "items": {
  20415. "$ref": "#/definitions/models.ErmcpLoginUser"
  20416. }
  20417. },
  20418. "usertype": {
  20419. "description": "用户类型 2-机构 7-企业成员(云平台)",
  20420. "type": "integer"
  20421. }
  20422. }
  20423. },
  20424. "models.ErmcpMiddleGoodsChangeLog": {
  20425. "type": "object",
  20426. "properties": {
  20427. "aftervalue": {
  20428. "description": "变更后",
  20429. "type": "number"
  20430. },
  20431. "applyid": {
  20432. "description": "操作人",
  20433. "type": "integer"
  20434. },
  20435. "applyname": {
  20436. "description": "操作人名称",
  20437. "type": "string"
  20438. },
  20439. "applysrc": {
  20440. "description": "操作来源 - 1:管理端 2:终端",
  20441. "type": "integer"
  20442. },
  20443. "beforevalue": {
  20444. "description": "变更前",
  20445. "type": "number"
  20446. },
  20447. "changelogtype": {
  20448. "description": "变更流水类型 - 1:套保比率变更",
  20449. "type": "integer"
  20450. },
  20451. "handlestatus": {
  20452. "description": "处理状态",
  20453. "type": "integer"
  20454. },
  20455. "logdatetime": {
  20456. "description": "流水日期",
  20457. "type": "string"
  20458. },
  20459. "logid": {
  20460. "description": "流水ID",
  20461. "type": "integer"
  20462. },
  20463. "logremark": {
  20464. "description": "流水备注",
  20465. "type": "string"
  20466. },
  20467. "middlegoodsid": {
  20468. "description": "套保品种ID",
  20469. "type": "integer"
  20470. },
  20471. "tradedate": {
  20472. "description": "交易日(yyyyMMdd)",
  20473. "type": "string"
  20474. },
  20475. "updatetime": {
  20476. "description": "更新时间",
  20477. "type": "string"
  20478. }
  20479. }
  20480. },
  20481. "models.ErmcpMiddleGoodsDetail": {
  20482. "type": "object",
  20483. "properties": {
  20484. "cvList": {
  20485. "description": "期货品种折算列表",
  20486. "type": "array",
  20487. "items": {
  20488. "$ref": "#/definitions/models.ErmcpGGConvertCfg"
  20489. }
  20490. },
  20491. "mg": {
  20492. "description": "套保品种基本信息",
  20493. "type": "object",
  20494. "$ref": "#/definitions/models.ErmcpMiddleGoodsModel"
  20495. },
  20496. "wrcList": {
  20497. "description": "现货品种列表(现货商品折算配置)",
  20498. "type": "array",
  20499. "items": {
  20500. "$ref": "#/definitions/models.WRSConverTDetail"
  20501. }
  20502. }
  20503. }
  20504. },
  20505. "models.ErmcpMiddleGoodsModel": {
  20506. "type": "object",
  20507. "properties": {
  20508. "areauserid": {
  20509. "description": "机构用户ID",
  20510. "type": "integer"
  20511. },
  20512. "createtime": {
  20513. "description": "修改时间",
  20514. "type": "string"
  20515. },
  20516. "enumdicname": {
  20517. "description": "单位名称",
  20518. "type": "string"
  20519. },
  20520. "evaluateratio": {
  20521. "description": "估价系数",
  20522. "type": "number"
  20523. },
  20524. "goodsgroupid": {
  20525. "description": "关联期货品种ID",
  20526. "type": "integer"
  20527. },
  20528. "goodsunitid": {
  20529. "description": "单位ID",
  20530. "type": "integer"
  20531. },
  20532. "isvalid": {
  20533. "description": "状态 0-无效(停用) 1-有效(正常)",
  20534. "type": "integer"
  20535. },
  20536. "middlegoodscode": {
  20537. "description": "套保品种代码",
  20538. "type": "string"
  20539. },
  20540. "middlegoodsid": {
  20541. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  20542. "type": "integer"
  20543. },
  20544. "middlegoodsname": {
  20545. "description": "套保品种名称",
  20546. "type": "string"
  20547. },
  20548. "modifytime": {
  20549. "description": "修改时间",
  20550. "type": "string"
  20551. },
  20552. "needarbitrageratio": {
  20553. "description": "套利比例",
  20554. "type": "number"
  20555. },
  20556. "needhedgeratio": {
  20557. "description": "套保比率",
  20558. "type": "number"
  20559. },
  20560. "qtydecimalplace": {
  20561. "description": "数量小数位",
  20562. "type": "integer"
  20563. },
  20564. "relatedgoodsid": {
  20565. "description": "关联交易商品ID",
  20566. "type": "integer"
  20567. },
  20568. "relatedgoodstype": {
  20569. "description": "关联商品类型 - 1:期货合约 2:现货品种",
  20570. "type": "integer"
  20571. },
  20572. "remark": {
  20573. "description": "备注",
  20574. "type": "string"
  20575. }
  20576. }
  20577. },
  20578. "models.ErmcpMiddlegoodsRelateGoods": {
  20579. "type": "object",
  20580. "properties": {
  20581. "agreeunit": {
  20582. "description": "合约乘数",
  20583. "type": "number"
  20584. },
  20585. "convertratio": {
  20586. "description": "折算系数",
  20587. "type": "number"
  20588. },
  20589. "enumdicname": {
  20590. "description": "单位名称(交易商品)",
  20591. "type": "string"
  20592. },
  20593. "goodscode": {
  20594. "description": "交易商品代码",
  20595. "type": "string"
  20596. },
  20597. "goodsgroupid": {
  20598. "description": "交易品种id",
  20599. "type": "integer"
  20600. },
  20601. "goodsid": {
  20602. "description": "商品Id",
  20603. "type": "integer"
  20604. },
  20605. "goodsname": {
  20606. "description": "交易商品名称",
  20607. "type": "string"
  20608. },
  20609. "goodunitid": {
  20610. "description": "交易商品单位id",
  20611. "type": "integer"
  20612. },
  20613. "middlegoodsid": {
  20614. "description": "套保商品id",
  20615. "type": "integer"
  20616. },
  20617. "middlegoodsname": {
  20618. "description": "套保商品名称",
  20619. "type": "string"
  20620. },
  20621. "middlegoodsswcode": {
  20622. "description": "套保商品代码",
  20623. "type": "string"
  20624. },
  20625. "needarbitrageratio": {
  20626. "description": "应套利比例",
  20627. "type": "number"
  20628. },
  20629. "needhedgeratio": {
  20630. "description": "应套保比例",
  20631. "type": "number"
  20632. }
  20633. }
  20634. },
  20635. "models.ErmcpOPLogModel": {
  20636. "type": "object",
  20637. "properties": {
  20638. "aftervalue": {
  20639. "description": "变更后",
  20640. "type": "number"
  20641. },
  20642. "applyid": {
  20643. "description": "操作人ID",
  20644. "type": "string"
  20645. },
  20646. "applyname": {
  20647. "description": "操作人名称",
  20648. "type": "string"
  20649. },
  20650. "beforevalue": {
  20651. "description": "变更前",
  20652. "type": "number"
  20653. },
  20654. "biztype": {
  20655. "description": "业务类型 - 1:套保计划 2:现货合同",
  20656. "type": "integer"
  20657. },
  20658. "contracttype": {
  20659. "description": "现货合同类型 - 1:采购 -1:销售",
  20660. "type": "integer"
  20661. },
  20662. "logvalue": {
  20663. "description": "数值",
  20664. "type": "number"
  20665. },
  20666. "operatelogtype": {
  20667. "description": "操作流水类型",
  20668. "type": "integer"
  20669. },
  20670. "operatelogtypedesc": {
  20671. "description": "操作流水类型名称",
  20672. "type": "string"
  20673. },
  20674. "relatedid": {
  20675. "description": "现货合同ID\\套保计划",
  20676. "type": "string"
  20677. },
  20678. "updatetime": {
  20679. "description": "更新时间",
  20680. "type": "string"
  20681. }
  20682. }
  20683. },
  20684. "models.ErmcpPendingAudit": {
  20685. "type": "object",
  20686. "properties": {
  20687. "areastockqty": {
  20688. "description": "待审核数量: 库存申请",
  20689. "type": "integer"
  20690. },
  20691. "businessdjqty": {
  20692. "description": "待审核数量: 点价",
  20693. "type": "integer"
  20694. },
  20695. "businessfpqty": {
  20696. "description": "待审核数量: 发票",
  20697. "type": "integer"
  20698. },
  20699. "businessjsqty": {
  20700. "description": "待审核数量: 结算",
  20701. "type": "integer"
  20702. },
  20703. "businesskxqty": {
  20704. "description": "待审核数量: 款项",
  20705. "type": "integer"
  20706. },
  20707. "hedgeplanqty": {
  20708. "description": "待审核数量: 套保计划",
  20709. "type": "integer"
  20710. },
  20711. "spotcontractqty": {
  20712. "description": "待审核数量: 现货合同",
  20713. "type": "integer"
  20714. },
  20715. "userqty": {
  20716. "description": "待审核数量: 用户",
  20717. "type": "integer"
  20718. }
  20719. }
  20720. },
  20721. "models.ErmcpRealExposureModel": {
  20722. "type": "object",
  20723. "properties": {
  20724. "AreaUserID": {
  20725. "description": "所属机构",
  20726. "type": "integer"
  20727. },
  20728. "BuyFutureQty": {
  20729. "description": "买入期货数量",
  20730. "type": "number"
  20731. },
  20732. "BuyPlanQty": {
  20733. "description": "采购计划数量",
  20734. "type": "number"
  20735. },
  20736. "BuyPricedQty": {
  20737. "description": "采购合同已定价数量",
  20738. "type": "number"
  20739. },
  20740. "MiddleGoodsCode": {
  20741. "description": "套保品种代码",
  20742. "type": "string"
  20743. },
  20744. "MiddleGoodsHedgeRatio": {
  20745. "description": "套保比例",
  20746. "type": "number"
  20747. },
  20748. "MiddleGoodsID": {
  20749. "description": "套保品种",
  20750. "type": "integer"
  20751. },
  20752. "MiddleGoodsName": {
  20753. "description": "套保品种名称",
  20754. "type": "string"
  20755. },
  20756. "NeedHedgeExposoure": {
  20757. "description": "应套保敞口(套保敞口)",
  20758. "type": "number"
  20759. },
  20760. "NeedHedgeRatio": {
  20761. "description": "应套保敞口比例",
  20762. "type": "number"
  20763. },
  20764. "OriBuyFutureQty": {
  20765. "description": "期初买入期货数量",
  20766. "type": "number"
  20767. },
  20768. "OriBuyPlanQty": {
  20769. "description": "期初采购计划数量",
  20770. "type": "number"
  20771. },
  20772. "OriBuyPricedQty": {
  20773. "description": "期初采购合同已定价数量",
  20774. "type": "number"
  20775. },
  20776. "OriSellFutureQty": {
  20777. "description": "期初卖出期货数量",
  20778. "type": "number"
  20779. },
  20780. "OriSellPlanQty": {
  20781. "description": "期初销售计划数量",
  20782. "type": "number"
  20783. },
  20784. "OriSellPricedQty": {
  20785. "description": "期初销售合同已定价数量",
  20786. "type": "number"
  20787. },
  20788. "SellFutureQty": {
  20789. "description": "卖出期货数量",
  20790. "type": "number"
  20791. },
  20792. "SellPlanQty": {
  20793. "description": "销售计划数量",
  20794. "type": "number"
  20795. },
  20796. "SellPricedQty": {
  20797. "description": "销售合同已定价数量",
  20798. "type": "number"
  20799. },
  20800. "TotalExposure": {
  20801. "description": "总敞口",
  20802. "type": "number"
  20803. },
  20804. "TotalFutureQty": {
  20805. "description": "期货总量",
  20806. "type": "number"
  20807. },
  20808. "TotalHedgeRatio": {
  20809. "description": "敞口比例",
  20810. "type": "number"
  20811. },
  20812. "TotalNeedHedgeQty": {
  20813. "description": "应套保总量(现货应套保总量)",
  20814. "type": "number"
  20815. },
  20816. "TotalSpotQty": {
  20817. "description": "现货总量",
  20818. "type": "number"
  20819. },
  20820. "arbitrageqty": {
  20821. "description": "套利量",
  20822. "type": "number"
  20823. },
  20824. "diffArbitrageQty": {
  20825. "description": "套利变动量",
  20826. "type": "number"
  20827. },
  20828. "diffExposoureQty": {
  20829. "description": "变动量(套保敞口)",
  20830. "type": "number"
  20831. },
  20832. "diffFutuQty": {
  20833. "description": "变动量(期货总量)",
  20834. "type": "number"
  20835. },
  20836. "diffHedgeQty": {
  20837. "description": "套保变动量",
  20838. "type": "number"
  20839. },
  20840. "diffQty": {
  20841. "description": "变动量(总敞口)",
  20842. "type": "number"
  20843. },
  20844. "diffSpotHedgeQty": {
  20845. "description": "变动量(现货应套保总量)",
  20846. "type": "number"
  20847. },
  20848. "diffSpotQty": {
  20849. "description": "变动量(现货总量) = 现货数量 - 期初现货数量",
  20850. "type": "number"
  20851. },
  20852. "enumdicname": {
  20853. "description": "单位名称",
  20854. "type": "string"
  20855. },
  20856. "hedgeqty": {
  20857. "description": "套保量",
  20858. "type": "number"
  20859. },
  20860. "needarbitrageqty": {
  20861. "description": "应套利量",
  20862. "type": "number"
  20863. },
  20864. "needarbitrageratio": {
  20865. "description": "套利比例",
  20866. "type": "number"
  20867. },
  20868. "needhedgeqty": {
  20869. "description": "应套保量",
  20870. "type": "number"
  20871. },
  20872. "oriTotalFutuQty": {
  20873. "description": "期初期货数量=期初买入期货数量-期初卖出期货数量",
  20874. "type": "number"
  20875. },
  20876. "oriTotalSpotQty": {
  20877. "description": "期初现货数量=(期初销售计划数量-期初销售合同已定价数量)-(期初采购计划数量-期初采购合同已定价数量)",
  20878. "type": "number"
  20879. },
  20880. "oriarbitrageqty": {
  20881. "description": "期初套利量",
  20882. "type": "number"
  20883. },
  20884. "orihedgeqty": {
  20885. "description": "期初套保量",
  20886. "type": "number"
  20887. },
  20888. "orineedhedgeexposoure": {
  20889. "description": "期初套保敞口",
  20890. "type": "number"
  20891. },
  20892. "oritotalexposure": {
  20893. "description": "期初总敞口",
  20894. "type": "number"
  20895. },
  20896. "oritotalfutureqty": {
  20897. "description": "期初期货总量",
  20898. "type": "number"
  20899. },
  20900. "oritotalneedhedgeqty": {
  20901. "description": "期初现货应套保量",
  20902. "type": "number"
  20903. }
  20904. }
  20905. },
  20906. "models.ErmcpRole": {
  20907. "type": "object",
  20908. "properties": {
  20909. "areauserid": {
  20910. "description": "所属机构",
  20911. "type": "integer"
  20912. },
  20913. "autoid": {
  20914. "description": "角色ID(自增ID)",
  20915. "type": "integer"
  20916. },
  20917. "modifierid": {
  20918. "description": "修改人(创建人)",
  20919. "type": "integer"
  20920. },
  20921. "modifiername": {
  20922. "description": "修改人名称",
  20923. "type": "string"
  20924. },
  20925. "modifytime": {
  20926. "description": "修改时间(创建时间)",
  20927. "type": "string"
  20928. },
  20929. "rolename": {
  20930. "description": "角色名称",
  20931. "type": "string"
  20932. },
  20933. "rolestatus": {
  20934. "description": "角色状态 - 1:启用 2:停用",
  20935. "type": "integer"
  20936. },
  20937. "roletype": {
  20938. "description": "角色类型 - 1- 管理端 2- 交易端",
  20939. "type": "integer"
  20940. }
  20941. }
  20942. },
  20943. "models.ErmcpRoleMenu": {
  20944. "type": "object",
  20945. "properties": {
  20946. "iconame": {
  20947. "description": "菜单图标",
  20948. "type": "string"
  20949. },
  20950. "ishadrole": {
  20951. "description": "是否有权限",
  20952. "type": "boolean"
  20953. },
  20954. "menutype": {
  20955. "description": "菜单类型 1:管理端 2:交易端 3:终端(企业云平台)",
  20956. "type": "integer"
  20957. },
  20958. "parentcode": {
  20959. "description": "上级资源代码",
  20960. "type": "string"
  20961. },
  20962. "remark": {
  20963. "description": "菜单备注",
  20964. "type": "string"
  20965. },
  20966. "resourcecode": {
  20967. "description": "菜单代码",
  20968. "type": "string"
  20969. },
  20970. "resourcelevel": {
  20971. "description": "级别",
  20972. "type": "integer"
  20973. },
  20974. "resourcename": {
  20975. "description": "菜单名称",
  20976. "type": "string"
  20977. },
  20978. "roleid": {
  20979. "description": "角色id",
  20980. "type": "integer"
  20981. },
  20982. "sort": {
  20983. "description": "排序",
  20984. "type": "integer"
  20985. },
  20986. "url": {
  20987. "description": "URL",
  20988. "type": "string"
  20989. },
  20990. "userid": {
  20991. "description": "用户id",
  20992. "type": "integer"
  20993. }
  20994. }
  20995. },
  20996. "models.ErmcpRoleMenuEx": {
  20997. "type": "object",
  20998. "properties": {
  20999. "menu": {
  21000. "description": "父级菜单",
  21001. "type": "object",
  21002. "$ref": "#/definitions/models.ErmcpRoleMenu"
  21003. },
  21004. "subMenu": {
  21005. "description": "子级菜单",
  21006. "type": "array",
  21007. "items": {
  21008. "$ref": "#/definitions/models.ErmcpRoleMenuEx"
  21009. }
  21010. }
  21011. }
  21012. },
  21013. "models.ErmcpTaAccount": {
  21014. "type": "object",
  21015. "properties": {
  21016. "accountid": {
  21017. "description": "账户id",
  21018. "type": "integer"
  21019. },
  21020. "accountname": {
  21021. "description": "账户名称",
  21022. "type": "string"
  21023. },
  21024. "currencyid": {
  21025. "description": "币种id",
  21026. "type": "integer"
  21027. },
  21028. "hedgeaccountcode": {
  21029. "description": "主账号登录代码(仅当是主账号时有值,子账号没有登录账号)",
  21030. "type": "string"
  21031. },
  21032. "ismain": {
  21033. "description": "是否主账户 0-否 1-是",
  21034. "type": "integer"
  21035. },
  21036. "parentaccountid": {
  21037. "description": "父账户id",
  21038. "type": "integer"
  21039. },
  21040. "relateduserid": {
  21041. "description": "关联userid",
  21042. "type": "integer"
  21043. },
  21044. "tradefeetmpid": {
  21045. "description": "手续费模板id",
  21046. "type": "integer"
  21047. },
  21048. "tradefeetmpname": {
  21049. "description": "手续费模板名称",
  21050. "type": "string"
  21051. },
  21052. "trademargintmpid": {
  21053. "description": "保证金模板id",
  21054. "type": "integer"
  21055. },
  21056. "trademargintmpname": {
  21057. "description": "保证金模板名称",
  21058. "type": "string"
  21059. },
  21060. "traderatetmpid": {
  21061. "description": "汇率模板id",
  21062. "type": "integer"
  21063. },
  21064. "traderatetmpname": {
  21065. "description": "汇率模板名称",
  21066. "type": "string"
  21067. },
  21068. "tradestatus": {
  21069. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  21070. "type": "integer"
  21071. },
  21072. "userid": {
  21073. "description": "用户id",
  21074. "type": "integer"
  21075. }
  21076. }
  21077. },
  21078. "models.ErmcpTaAccountEx": {
  21079. "type": "object",
  21080. "properties": {
  21081. "mainAcc": {
  21082. "description": "主账号",
  21083. "type": "object",
  21084. "$ref": "#/definitions/models.ErmcpTaAccountM"
  21085. },
  21086. "subacclist": {
  21087. "description": "子账号列表",
  21088. "type": "array",
  21089. "items": {
  21090. "$ref": "#/definitions/models.ErmcpTaAccount"
  21091. }
  21092. }
  21093. }
  21094. },
  21095. "models.ErmcpTaAccountInfo": {
  21096. "type": "object",
  21097. "properties": {
  21098. "accountid": {
  21099. "description": "资金账户ID",
  21100. "type": "integer"
  21101. },
  21102. "accountname": {
  21103. "description": "账户名称",
  21104. "type": "string"
  21105. },
  21106. "balance": {
  21107. "description": "期初余额",
  21108. "type": "number"
  21109. },
  21110. "capitalbalance": {
  21111. "description": "本金余额[外部子账户实际出入金余额]",
  21112. "type": "number"
  21113. },
  21114. "closepl": {
  21115. "description": "今日平仓盈亏",
  21116. "type": "number"
  21117. },
  21118. "creditdecrease": {
  21119. "description": "今日授信减少",
  21120. "type": "number"
  21121. },
  21122. "creditincrease": {
  21123. "description": "今日授信增加",
  21124. "type": "number"
  21125. },
  21126. "curdebt": {
  21127. "description": "期末欠款",
  21128. "type": "number"
  21129. },
  21130. "currencyid": {
  21131. "description": "货币ID",
  21132. "type": "integer"
  21133. },
  21134. "currentbalance": {
  21135. "description": "期末余额",
  21136. "type": "number"
  21137. },
  21138. "freezecharge": {
  21139. "description": "手续费冻结",
  21140. "type": "number"
  21141. },
  21142. "freezemargin": {
  21143. "description": "冻结保证金",
  21144. "type": "number"
  21145. },
  21146. "fromaccountid": {
  21147. "description": "所属上级账户",
  21148. "type": "integer"
  21149. },
  21150. "inamount": {
  21151. "description": "今日入金金额(包括三方入金)",
  21152. "type": "number"
  21153. },
  21154. "ismain": {
  21155. "description": "是否母账号 0:不是母账户 1:是母账户",
  21156. "type": "integer"
  21157. },
  21158. "mortgagecredit": {
  21159. "description": "授信金额",
  21160. "type": "number"
  21161. },
  21162. "oridebt": {
  21163. "description": "期初欠款",
  21164. "type": "number"
  21165. },
  21166. "orifreezecharge": {
  21167. "description": "期初手续费冻结",
  21168. "type": "number"
  21169. },
  21170. "orifreezemargin": {
  21171. "description": "期初冻结保证金",
  21172. "type": "number"
  21173. },
  21174. "orimortgagecredit": {
  21175. "description": "期初授信金额",
  21176. "type": "number"
  21177. },
  21178. "oriothercredit": {
  21179. "description": "期初其它授信金额",
  21180. "type": "number"
  21181. },
  21182. "oriotherfreezemargin": {
  21183. "description": "期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)",
  21184. "type": "number"
  21185. },
  21186. "orioutamountfreeze": {
  21187. "description": "期初出金冻结",
  21188. "type": "number"
  21189. },
  21190. "oriusedmargin": {
  21191. "description": "期初占用保证金",
  21192. "type": "number"
  21193. },
  21194. "othercredit": {
  21195. "description": "其它授信金额",
  21196. "type": "number"
  21197. },
  21198. "othercreditdecrease": {
  21199. "description": "今日其它授信减少",
  21200. "type": "number"
  21201. },
  21202. "othercreditincrease": {
  21203. "description": "今日其它授信增加",
  21204. "type": "number"
  21205. },
  21206. "otherfreezemargin": {
  21207. "description": "其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)",
  21208. "type": "number"
  21209. },
  21210. "outamount": {
  21211. "description": "今日出金金额(包括三方出金)",
  21212. "type": "number"
  21213. },
  21214. "outamountfreeze": {
  21215. "description": "出金冻结",
  21216. "type": "number"
  21217. },
  21218. "outthreshold": {
  21219. "description": "出金阈值",
  21220. "type": "number"
  21221. },
  21222. "parentaccountid": {
  21223. "description": "所属根账号",
  21224. "type": "integer"
  21225. },
  21226. "paycharge": {
  21227. "description": "今日手续费支出",
  21228. "type": "number"
  21229. },
  21230. "relateduserid": {
  21231. "description": "关联用户",
  21232. "type": "integer"
  21233. },
  21234. "signstatus": {
  21235. "description": "签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中",
  21236. "type": "integer"
  21237. },
  21238. "sublevelpath": {
  21239. "description": "账号层级路径(逗号分隔,首尾加逗号)",
  21240. "type": "string"
  21241. },
  21242. "taaccounttype": {
  21243. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  21244. "type": "integer"
  21245. },
  21246. "thirdinamount": {
  21247. "description": "今日三方入金",
  21248. "type": "number"
  21249. },
  21250. "thirdoutamount": {
  21251. "description": "今日三方出金",
  21252. "type": "number"
  21253. },
  21254. "tradestatus": {
  21255. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  21256. "type": "integer"
  21257. },
  21258. "transferamount": {
  21259. "description": "今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)",
  21260. "type": "number"
  21261. },
  21262. "usedmargin": {
  21263. "description": "占用保证金",
  21264. "type": "number"
  21265. },
  21266. "userid": {
  21267. "description": "用户ID",
  21268. "type": "integer"
  21269. }
  21270. }
  21271. },
  21272. "models.ErmcpTaAccountM": {
  21273. "type": "object",
  21274. "properties": {
  21275. "accountid": {
  21276. "description": "账户id",
  21277. "type": "integer"
  21278. },
  21279. "accountname": {
  21280. "description": "账户名称",
  21281. "type": "string"
  21282. },
  21283. "currencyid": {
  21284. "description": "币种id",
  21285. "type": "integer"
  21286. },
  21287. "fcid": {
  21288. "description": "期货公司id",
  21289. "type": "integer"
  21290. },
  21291. "fcname": {
  21292. "description": "期货公司代码",
  21293. "type": "string"
  21294. },
  21295. "hedgeaccountcode": {
  21296. "description": "主账号登录代码(仅当是主账号时有值,子账号没有登录账号)",
  21297. "type": "string"
  21298. },
  21299. "ismain": {
  21300. "description": "是否主账户 0-否 1-是",
  21301. "type": "integer"
  21302. },
  21303. "parentaccountid": {
  21304. "description": "父账户id",
  21305. "type": "integer"
  21306. },
  21307. "relateduserid": {
  21308. "description": "关联userid",
  21309. "type": "integer"
  21310. },
  21311. "tradefeetmpid": {
  21312. "description": "手续费模板id",
  21313. "type": "integer"
  21314. },
  21315. "tradefeetmpname": {
  21316. "description": "手续费模板名称",
  21317. "type": "string"
  21318. },
  21319. "trademargintmpid": {
  21320. "description": "保证金模板id",
  21321. "type": "integer"
  21322. },
  21323. "trademargintmpname": {
  21324. "description": "保证金模板名称",
  21325. "type": "string"
  21326. },
  21327. "traderatetmpid": {
  21328. "description": "汇率模板id",
  21329. "type": "integer"
  21330. },
  21331. "traderatetmpname": {
  21332. "description": "汇率模板名称",
  21333. "type": "string"
  21334. },
  21335. "tradestatus": {
  21336. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  21337. "type": "integer"
  21338. },
  21339. "userid": {
  21340. "description": "用户id",
  21341. "type": "integer"
  21342. }
  21343. }
  21344. },
  21345. "models.ErmcpTradeConfigTMP": {
  21346. "type": "object",
  21347. "properties": {
  21348. "areauserid": {
  21349. "description": "所属机构",
  21350. "type": "integer"
  21351. },
  21352. "basiccurrencyid": {
  21353. "description": "基本币种ID[汇率] - 目标币种",
  21354. "type": "integer"
  21355. },
  21356. "mainaccountid": {
  21357. "description": "主账户ID",
  21358. "type": "integer"
  21359. },
  21360. "modifierid": {
  21361. "description": "修改人",
  21362. "type": "integer"
  21363. },
  21364. "remark": {
  21365. "description": "备注",
  21366. "type": "string"
  21367. },
  21368. "tradeconfigtmpid": {
  21369. "description": "交易配置模板ID(SEQ_TRADECONFIGTMP)",
  21370. "type": "integer"
  21371. },
  21372. "tradeconfigtmpname": {
  21373. "description": "交易配置模板名称",
  21374. "type": "string"
  21375. },
  21376. "tradeconfigtmptype": {
  21377. "description": "交易配置模板类型 - 1:保证金 2:手续费 3:汇率",
  21378. "type": "integer"
  21379. },
  21380. "updatetime": {
  21381. "description": "更新时间",
  21382. "type": "string"
  21383. }
  21384. }
  21385. },
  21386. "models.ErmcpUserModel": {
  21387. "type": "object",
  21388. "properties": {
  21389. "address": {
  21390. "description": "通讯地址",
  21391. "type": "string"
  21392. },
  21393. "attachment1": {
  21394. "description": "附件1",
  21395. "type": "string"
  21396. },
  21397. "audittime": {
  21398. "description": "审核时间",
  21399. "type": "string"
  21400. },
  21401. "cardbackphotourl": {
  21402. "description": "证件反面图片地址",
  21403. "type": "string"
  21404. },
  21405. "cardfrontphotourl": {
  21406. "description": "证件正面图片地址",
  21407. "type": "string"
  21408. },
  21409. "cardnum": {
  21410. "description": "证件号码",
  21411. "type": "string"
  21412. },
  21413. "cardtype": {
  21414. "description": "证件类型",
  21415. "type": "integer"
  21416. },
  21417. "cardtypename": {
  21418. "description": "证件类型名称",
  21419. "type": "string"
  21420. },
  21421. "cityid": {
  21422. "description": "市",
  21423. "type": "integer"
  21424. },
  21425. "contactname": {
  21426. "description": "联系人",
  21427. "type": "string"
  21428. },
  21429. "countryid": {
  21430. "description": "国家",
  21431. "type": "integer"
  21432. },
  21433. "createtime": {
  21434. "description": "创建时间",
  21435. "type": "string"
  21436. },
  21437. "customername": {
  21438. "description": "企业名称",
  21439. "type": "string"
  21440. },
  21441. "districtid": {
  21442. "description": "区域",
  21443. "type": "integer"
  21444. },
  21445. "email": {
  21446. "description": "邮件",
  21447. "type": "string"
  21448. },
  21449. "legalpersonname": {
  21450. "description": "法人姓名(企业)",
  21451. "type": "string"
  21452. },
  21453. "memberuserid": {
  21454. "description": "所属机构ID",
  21455. "type": "integer"
  21456. },
  21457. "mobile": {
  21458. "description": "手机号码",
  21459. "type": "string"
  21460. },
  21461. "modifytime": {
  21462. "description": "修改时间",
  21463. "type": "string"
  21464. },
  21465. "nickname": {
  21466. "description": "昵称",
  21467. "type": "string"
  21468. },
  21469. "provinceid": {
  21470. "description": "省",
  21471. "type": "integer"
  21472. },
  21473. "remark": {
  21474. "description": "备注",
  21475. "type": "string"
  21476. },
  21477. "status": {
  21478. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销",
  21479. "type": "integer"
  21480. },
  21481. "statusdesc": {
  21482. "description": "账户状态中文描述",
  21483. "type": "string"
  21484. },
  21485. "taxpayernum": {
  21486. "description": "纳税人识别号",
  21487. "type": "string"
  21488. },
  21489. "telphone": {
  21490. "description": "联系电话",
  21491. "type": "string"
  21492. },
  21493. "userid": {
  21494. "description": "用户ID",
  21495. "type": "integer"
  21496. },
  21497. "userinfotype": {
  21498. "description": "客户类型",
  21499. "type": "string"
  21500. }
  21501. }
  21502. },
  21503. "models.ErmcpWareHouseInfo": {
  21504. "type": "object",
  21505. "properties": {
  21506. "address": {
  21507. "description": "详细地址",
  21508. "type": "string"
  21509. },
  21510. "areauserid": {
  21511. "description": "所属机构",
  21512. "type": "integer"
  21513. },
  21514. "autoid": {
  21515. "description": "自增ID(仓库ID)",
  21516. "type": "integer"
  21517. },
  21518. "cityid": {
  21519. "description": "市",
  21520. "type": "integer"
  21521. },
  21522. "contactname": {
  21523. "description": "联系人",
  21524. "type": "string"
  21525. },
  21526. "contactnum": {
  21527. "description": "联系电话",
  21528. "type": "string"
  21529. },
  21530. "countryid": {
  21531. "description": "国家",
  21532. "type": "integer"
  21533. },
  21534. "createtime": {
  21535. "description": "创建时间",
  21536. "type": "string"
  21537. },
  21538. "districtid": {
  21539. "description": "区",
  21540. "type": "integer"
  21541. },
  21542. "hasvideo": {
  21543. "description": "是否有视频 - 0:无 1:有",
  21544. "type": "integer"
  21545. },
  21546. "provinceid": {
  21547. "description": "省",
  21548. "type": "integer"
  21549. },
  21550. "remark": {
  21551. "description": "审核备注",
  21552. "type": "string"
  21553. },
  21554. "videourl": {
  21555. "description": "视频地址",
  21556. "type": "string"
  21557. },
  21558. "warehousecode": {
  21559. "description": "仓库代码",
  21560. "type": "string"
  21561. },
  21562. "warehousename": {
  21563. "description": "仓库名称",
  21564. "type": "string"
  21565. },
  21566. "warehousestatus": {
  21567. "description": "仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝",
  21568. "type": "integer"
  21569. },
  21570. "warehousetype": {
  21571. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  21572. "type": "integer"
  21573. }
  21574. }
  21575. },
  21576. "models.Externalexchange": {
  21577. "type": "object",
  21578. "required": [
  21579. "autoid"
  21580. ],
  21581. "properties": {
  21582. "autoid": {
  21583. "description": "AutoID - SEQ_EXTERNALEXCHANGE",
  21584. "type": "integer"
  21585. },
  21586. "exchangefullname": {
  21587. "description": "外部交易所全称",
  21588. "type": "string"
  21589. },
  21590. "exexchangecode": {
  21591. "description": "外部交易所代码",
  21592. "type": "string"
  21593. },
  21594. "exexchangename": {
  21595. "description": "外部交易所名称(简称)",
  21596. "type": "string"
  21597. },
  21598. "ismarketprice": {
  21599. "description": "是否支持市价 - 0:不支持 1:支持",
  21600. "type": "integer"
  21601. },
  21602. "quotegear": {
  21603. "description": "行情档位(1-10)",
  21604. "type": "integer"
  21605. },
  21606. "showbrokerflag": {
  21607. "description": "是否显示买卖经纪盘 - 0:不显示 1:显示",
  21608. "type": "integer"
  21609. },
  21610. "updatetime": {
  21611. "description": "更新时间",
  21612. "type": "string"
  21613. }
  21614. }
  21615. },
  21616. "models.Funcmenulist": {
  21617. "type": "object",
  21618. "required": [
  21619. "resourcecode"
  21620. ],
  21621. "properties": {
  21622. "iconame": {
  21623. "description": "菜单图标",
  21624. "type": "string"
  21625. },
  21626. "menutype": {
  21627. "description": "菜单类型 1-管理端 2-交易端 3-终端权限",
  21628. "type": "integer"
  21629. },
  21630. "parentcode": {
  21631. "description": "上级资源代码",
  21632. "type": "string"
  21633. },
  21634. "remark": {
  21635. "description": "备注",
  21636. "type": "string"
  21637. },
  21638. "resourcecode": {
  21639. "description": "资源代码",
  21640. "type": "string"
  21641. },
  21642. "resourcelevel": {
  21643. "description": "级别 1-一级 2-二级 3-三级 4-四级",
  21644. "type": "integer"
  21645. },
  21646. "resourcename": {
  21647. "description": "资源名",
  21648. "type": "string"
  21649. },
  21650. "sort": {
  21651. "description": "排序 - 一级时,是所有一级菜单的排序顺序;二级时是所属同一个一级菜单下的排序、三级时是同一个二级菜单下的排序",
  21652. "type": "integer"
  21653. },
  21654. "url": {
  21655. "description": "URL",
  21656. "type": "string"
  21657. }
  21658. }
  21659. },
  21660. "models.Goods": {
  21661. "type": "object",
  21662. "required": [
  21663. "goodscode",
  21664. "goodsid",
  21665. "goodsname",
  21666. "marketid"
  21667. ],
  21668. "properties": {
  21669. "agreeunit": {
  21670. "description": "合约单位",
  21671. "type": "number"
  21672. },
  21673. "areauserid": {
  21674. "description": "所属机构",
  21675. "type": "integer"
  21676. },
  21677. "auditaccountid": {
  21678. "description": "审核操作员账号",
  21679. "type": "integer"
  21680. },
  21681. "audittime": {
  21682. "description": "审核时间",
  21683. "type": "string"
  21684. },
  21685. "cancelaccountid": {
  21686. "description": "注销操作员账号",
  21687. "type": "integer"
  21688. },
  21689. "canceltime": {
  21690. "description": "注销时间",
  21691. "type": "string"
  21692. },
  21693. "closepricemode": {
  21694. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  21695. "type": "integer"
  21696. },
  21697. "closepriceparam": {
  21698. "description": "强平最新价浮动比例 - 方式为2时使用 (\u003c1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价",
  21699. "type": "number"
  21700. },
  21701. "createtime": {
  21702. "description": "创建时间",
  21703. "type": "string"
  21704. },
  21705. "creatorid": {
  21706. "description": "创建人",
  21707. "type": "integer"
  21708. },
  21709. "currencyid": {
  21710. "description": "报价货币ID",
  21711. "type": "integer"
  21712. },
  21713. "cutmode": {
  21714. "description": "斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓",
  21715. "type": "integer"
  21716. },
  21717. "decimalplace": {
  21718. "description": "报价小数位",
  21719. "type": "integer"
  21720. },
  21721. "delistingdate": {
  21722. "description": "商品退市时间(状态:退市) -- 已作废",
  21723. "type": "string"
  21724. },
  21725. "delistingmode": {
  21726. "description": "退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\\币币兑换)",
  21727. "type": "integer"
  21728. },
  21729. "deliveryflag": {
  21730. "description": "交割标志 - 0:不可交割 1:可交割",
  21731. "type": "integer"
  21732. },
  21733. "forceclosemode": {
  21734. "description": "定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]",
  21735. "type": "integer"
  21736. },
  21737. "forceclosevalue": {
  21738. "description": "定期强平参数 [收益权]",
  21739. "type": "integer"
  21740. },
  21741. "goodscode": {
  21742. "description": "商品代码(内部)",
  21743. "type": "string"
  21744. },
  21745. "goodscurrencyid": {
  21746. "description": "合约货币ID",
  21747. "type": "integer"
  21748. },
  21749. "goodsgroupid": {
  21750. "description": "所属商品组ID",
  21751. "type": "integer"
  21752. },
  21753. "goodsid": {
  21754. "description": "商品ID(自增ID SEQ_GOODS)",
  21755. "type": "integer"
  21756. },
  21757. "goodsname": {
  21758. "description": "商品名称",
  21759. "type": "string"
  21760. },
  21761. "goodsquotetype": {
  21762. "description": "合约报价类型: 1-直接报价 2-间接报价",
  21763. "type": "integer"
  21764. },
  21765. "goodsstatus": {
  21766. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  21767. "type": "integer"
  21768. },
  21769. "goodstradetype": {
  21770. "description": "商品交易权限类型 - 1:可建可平 3:不可建可平",
  21771. "type": "integer"
  21772. },
  21773. "goodunitid": {
  21774. "description": "报价单位ID",
  21775. "type": "integer"
  21776. },
  21777. "hasquoter": {
  21778. "description": "是否有报价商 - 0:无报价商 1:有报价商",
  21779. "type": "integer"
  21780. },
  21781. "hqprotecttime": {
  21782. "description": "行情保护时间(秒)",
  21783. "type": "integer"
  21784. },
  21785. "innerdealmode": {
  21786. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  21787. "type": "integer"
  21788. },
  21789. "isbuylimited": {
  21790. "description": "是否限制建仓量 - 0:不限制 1:限制",
  21791. "type": "integer"
  21792. },
  21793. "isvisible": {
  21794. "description": "游客是否可见 - 0:不可见 1:可见",
  21795. "type": "integer"
  21796. },
  21797. "lasttradedate": {
  21798. "description": "最后交易日期(状态:待退市)",
  21799. "type": "string"
  21800. },
  21801. "listingdate": {
  21802. "description": "交易开始日期",
  21803. "type": "string"
  21804. },
  21805. "marketid": {
  21806. "description": "所属市场ID",
  21807. "type": "integer"
  21808. },
  21809. "modifierid": {
  21810. "description": "修改人",
  21811. "type": "integer"
  21812. },
  21813. "modifystatus": {
  21814. "description": "变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核",
  21815. "type": "integer"
  21816. },
  21817. "modifytime": {
  21818. "description": "修改时间",
  21819. "type": "string"
  21820. },
  21821. "outerdealmode": {
  21822. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  21823. "type": "integer"
  21824. },
  21825. "outgoodscode": {
  21826. "description": "商品代码(外部)",
  21827. "type": "string"
  21828. },
  21829. "pictureurl": {
  21830. "description": "商品图片",
  21831. "type": "string"
  21832. },
  21833. "qtydecimalplace": {
  21834. "description": "成交量小数位",
  21835. "type": "integer"
  21836. },
  21837. "quotegear": {
  21838. "description": "行情档位(1-10)",
  21839. "type": "integer"
  21840. },
  21841. "quoteminunit": {
  21842. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  21843. "type": "integer"
  21844. },
  21845. "quoteshowtype": {
  21846. "description": "行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价",
  21847. "type": "integer"
  21848. },
  21849. "quoteshowtypeinterval": {
  21850. "description": "行情报价间隔时间(秒)(成交价时为0)",
  21851. "type": "integer"
  21852. },
  21853. "remark": {
  21854. "description": "备注",
  21855. "type": "string"
  21856. }
  21857. }
  21858. },
  21859. "models.GoodsIDAndName": {
  21860. "type": "object",
  21861. "required": [
  21862. "goodscode",
  21863. "goodsid",
  21864. "goodsname",
  21865. "marketid"
  21866. ],
  21867. "properties": {
  21868. "goodscode": {
  21869. "description": "商品代码(内部)",
  21870. "type": "string"
  21871. },
  21872. "goodsid": {
  21873. "description": "商品ID(自增ID SEQ_GOODS)",
  21874. "type": "integer"
  21875. },
  21876. "goodsname": {
  21877. "description": "商品名称",
  21878. "type": "string"
  21879. },
  21880. "marketid": {
  21881. "description": "所属市场ID",
  21882. "type": "integer"
  21883. }
  21884. }
  21885. },
  21886. "models.Goodsgroup": {
  21887. "type": "object",
  21888. "required": [
  21889. "goodsgroupid",
  21890. "goodsgroupname",
  21891. "goodsgroupstatus",
  21892. "marketid"
  21893. ],
  21894. "properties": {
  21895. "agreeunit": {
  21896. "description": "合约单位",
  21897. "type": "number"
  21898. },
  21899. "canshort": {
  21900. "description": "是否允许做空[通道交易] - 0:不能做空 1:可以做空",
  21901. "type": "integer"
  21902. },
  21903. "closepricemode": {
  21904. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  21905. "type": "integer"
  21906. },
  21907. "closepriceparam": {
  21908. "description": "强平最新价浮动比例 - 方式为2时使用",
  21909. "type": "number"
  21910. },
  21911. "createtime": {
  21912. "description": "创建时间",
  21913. "type": "string"
  21914. },
  21915. "creatorid": {
  21916. "description": "创建人",
  21917. "type": "integer"
  21918. },
  21919. "currencyid": {
  21920. "description": "报价货币ID",
  21921. "type": "integer"
  21922. },
  21923. "decimalplace": {
  21924. "description": "报价小数位",
  21925. "type": "integer"
  21926. },
  21927. "exercisetype": {
  21928. "description": "行权类型[场外期权]-1:欧式期权 2:美式期权",
  21929. "type": "integer"
  21930. },
  21931. "exexchangeid": {
  21932. "description": "外部交易所ID[通道交易]",
  21933. "type": "integer"
  21934. },
  21935. "goodsgroupid": {
  21936. "description": "商品组ID(自增ID)",
  21937. "type": "integer"
  21938. },
  21939. "goodsgroupname": {
  21940. "description": "商品组名称",
  21941. "type": "string"
  21942. },
  21943. "goodsgroupstatus": {
  21944. "description": "商品组状态 - 1:正常 2:注销",
  21945. "type": "integer"
  21946. },
  21947. "goodunitid": {
  21948. "description": "报价单位ID",
  21949. "type": "integer"
  21950. },
  21951. "innerdealmode": {
  21952. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  21953. "type": "integer"
  21954. },
  21955. "isbuylimited": {
  21956. "description": "是否限制建仓量 - 0:不限制 1:限制",
  21957. "type": "integer"
  21958. },
  21959. "marketid": {
  21960. "description": "所属市场ID",
  21961. "type": "integer"
  21962. },
  21963. "modifierid": {
  21964. "description": "修改人",
  21965. "type": "integer"
  21966. },
  21967. "modifytime": {
  21968. "description": "修改时间",
  21969. "type": "string"
  21970. },
  21971. "outerdealmode": {
  21972. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  21973. "type": "integer"
  21974. },
  21975. "outergroupcode": {
  21976. "description": "外部商品组代码[通道交易]",
  21977. "type": "string"
  21978. },
  21979. "premiumdecimalplace": {
  21980. "description": "权利金小数位[场外期权]",
  21981. "type": "integer"
  21982. },
  21983. "premiumspreadalgorithm": {
  21984. "description": "权利金点差方式[场外期权] 1:比率 2:固定",
  21985. "type": "integer"
  21986. },
  21987. "premiumspreadvalue": {
  21988. "description": "权利金点差值[场外期权]",
  21989. "type": "number"
  21990. },
  21991. "qtydecimalplace": {
  21992. "description": "成交量小数位",
  21993. "type": "integer"
  21994. },
  21995. "quotegear": {
  21996. "description": "行情档位(1-10)",
  21997. "type": "integer"
  21998. },
  21999. "quoteminunit": {
  22000. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  22001. "type": "integer"
  22002. },
  22003. "quoterid": {
  22004. "description": "报价商ID[场外期权]",
  22005. "type": "integer"
  22006. },
  22007. "quotesourcegroupid": {
  22008. "description": "所属行情源分组ID[参考行情市场用\\通道交易]",
  22009. "type": "integer"
  22010. },
  22011. "syncgoodsqty": {
  22012. "description": "同步合约数[通道交易-投资管理用] - 0表示不限",
  22013. "type": "integer"
  22014. }
  22015. }
  22016. },
  22017. "models.Goodssortbypreposition": {
  22018. "type": "object",
  22019. "required": [
  22020. "goodscode",
  22021. "tradedate"
  22022. ],
  22023. "properties": {
  22024. "goodscode": {
  22025. "description": "合约代码 - 易盛接口:合约代码=品种代码+合约代码",
  22026. "type": "string"
  22027. },
  22028. "goodsgroupcode": {
  22029. "description": "品种代码",
  22030. "type": "string"
  22031. },
  22032. "prepositionqty": {
  22033. "description": "昨持仓量",
  22034. "type": "integer"
  22035. },
  22036. "sortindex": {
  22037. "description": "排序",
  22038. "type": "integer"
  22039. },
  22040. "tradedate": {
  22041. "description": "交易日",
  22042. "type": "string"
  22043. },
  22044. "updatetime": {
  22045. "description": "更新时间",
  22046. "type": "string"
  22047. }
  22048. }
  22049. },
  22050. "models.Hedgeinnerholderdetail": {
  22051. "type": "object",
  22052. "required": [
  22053. "buyorsell",
  22054. "tradeid"
  22055. ],
  22056. "properties": {
  22057. "accountid": {
  22058. "description": "账号ID",
  22059. "type": "integer"
  22060. },
  22061. "buyorsell": {
  22062. "description": "方向 - 0:买 1:卖",
  22063. "type": "integer"
  22064. },
  22065. "freezeqty": {
  22066. "description": "冻结数量 - 按单平使用",
  22067. "type": "integer"
  22068. },
  22069. "goodsid": {
  22070. "description": "商品ID",
  22071. "type": "integer"
  22072. },
  22073. "holderamount": {
  22074. "description": "持仓金额 [商品币种]",
  22075. "type": "number"
  22076. },
  22077. "holderdays": {
  22078. "description": "剩余冻结天数",
  22079. "type": "integer"
  22080. },
  22081. "holderprice": {
  22082. "description": "持仓价格",
  22083. "type": "number"
  22084. },
  22085. "holderqty": {
  22086. "description": "持仓数量",
  22087. "type": "integer"
  22088. },
  22089. "marketid": {
  22090. "description": "市场ID",
  22091. "type": "integer"
  22092. },
  22093. "openprice": {
  22094. "description": "建仓价格",
  22095. "type": "number"
  22096. },
  22097. "openqty": {
  22098. "description": "建仓数量",
  22099. "type": "integer"
  22100. },
  22101. "parentaccountid": {
  22102. "description": "所属母账户",
  22103. "type": "integer"
  22104. },
  22105. "releaseamount": {
  22106. "description": "释放持仓金额[商品币种]",
  22107. "type": "number"
  22108. },
  22109. "tradeamount": {
  22110. "description": "成交金额[账户]",
  22111. "type": "number"
  22112. },
  22113. "tradedate": {
  22114. "description": "交易日(yyyyMMdd)",
  22115. "type": "string"
  22116. },
  22117. "tradeid": {
  22118. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  22119. "type": "string"
  22120. },
  22121. "tradetime": {
  22122. "description": "交易时间",
  22123. "type": "string"
  22124. }
  22125. }
  22126. },
  22127. "models.Hedgemarketopenlog": {
  22128. "type": "object",
  22129. "required": [
  22130. "accountid"
  22131. ],
  22132. "properties": {
  22133. "accountid": {
  22134. "description": "资金账号[外部母账户]",
  22135. "type": "integer"
  22136. },
  22137. "fcname": {
  22138. "description": "期货公司名称",
  22139. "type": "string"
  22140. },
  22141. "handlestatus": {
  22142. "description": "处理状态 - 1:登陆Mhp成功 2:登陆Mhp失败 3:登出Mhp",
  22143. "type": "integer"
  22144. },
  22145. "marketid": {
  22146. "description": "市场ID",
  22147. "type": "integer"
  22148. },
  22149. "status": {
  22150. "description": "状态 - 1:待开市 2:开市 4:手工休市 5:闭市 10:日终处理开始 11:日终处理成功 12:日终处理失败",
  22151. "type": "integer"
  22152. },
  22153. "tradedate": {
  22154. "description": "交易日(yyyyMMdd)",
  22155. "type": "string"
  22156. },
  22157. "updatetime": {
  22158. "description": "更新时间",
  22159. "type": "string"
  22160. }
  22161. }
  22162. },
  22163. "models.HsbyBuyMyPayOrder": {
  22164. "type": "object",
  22165. "required": [
  22166. "goodscode",
  22167. "goodsname",
  22168. "tradeid",
  22169. "trademode"
  22170. ],
  22171. "properties": {
  22172. "agreeunit": {
  22173. "description": "合约单位",
  22174. "type": "number"
  22175. },
  22176. "buyaccountid": {
  22177. "description": "买方账号ID[报价币种]",
  22178. "type": "integer"
  22179. },
  22180. "buyorderid": {
  22181. "description": "买方委托单号",
  22182. "type": "string"
  22183. },
  22184. "createtime": {
  22185. "description": "创建时间",
  22186. "type": "string"
  22187. },
  22188. "currencysign": {
  22189. "description": "货币符号",
  22190. "type": "string"
  22191. },
  22192. "decimalplace": {
  22193. "description": "报价小数位",
  22194. "type": "integer"
  22195. },
  22196. "goodscode": {
  22197. "description": "商品代码(内部)",
  22198. "type": "string"
  22199. },
  22200. "goodsid": {
  22201. "description": "商品ID",
  22202. "type": "integer"
  22203. },
  22204. "goodsname": {
  22205. "description": "商品名称",
  22206. "type": "string"
  22207. },
  22208. "marketid": {
  22209. "description": "市场ID",
  22210. "type": "integer"
  22211. },
  22212. "offamount": {
  22213. "description": "优惠金额",
  22214. "type": "number"
  22215. },
  22216. "originalamount": {
  22217. "description": "原金额 = TradeAmount + TradeCharge + OffAmount",
  22218. "type": "number"
  22219. },
  22220. "payamount": {
  22221. "description": "支付金额 = TradeAmount + TradeCharge",
  22222. "type": "number"
  22223. },
  22224. "payflag": {
  22225. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  22226. "type": "integer"
  22227. },
  22228. "paylimitedtime": {
  22229. "description": "支付期限",
  22230. "type": "string"
  22231. },
  22232. "paytime": {
  22233. "description": "付款时间",
  22234. "type": "string"
  22235. },
  22236. "picurls1": {
  22237. "description": "预售商品介绍图片[多张用逗号分隔]",
  22238. "type": "string"
  22239. },
  22240. "picurls2": {
  22241. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  22242. "type": "string"
  22243. },
  22244. "sellaccountid": {
  22245. "description": "卖方账号ID[报价币种]",
  22246. "type": "integer"
  22247. },
  22248. "sellorderid": {
  22249. "description": "卖方委托单号",
  22250. "type": "string"
  22251. },
  22252. "tradeamount": {
  22253. "description": "成交金额",
  22254. "type": "number"
  22255. },
  22256. "tradecharge": {
  22257. "description": "成交手续费(买方)",
  22258. "type": "number"
  22259. },
  22260. "tradedate": {
  22261. "description": "交易日(yyyyMMdd)",
  22262. "type": "string"
  22263. },
  22264. "tradeid": {
  22265. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  22266. "type": "string"
  22267. },
  22268. "trademode": {
  22269. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  22270. "type": "integer"
  22271. },
  22272. "tradeprice": {
  22273. "description": "成交价格",
  22274. "type": "number"
  22275. },
  22276. "tradeqty": {
  22277. "description": "成交数量",
  22278. "type": "integer"
  22279. },
  22280. "vendorname1": {
  22281. "description": "预售商品供应商名称",
  22282. "type": "string"
  22283. },
  22284. "vendorname2": {
  22285. "description": "挂牌商品供应商名称",
  22286. "type": "string"
  22287. }
  22288. }
  22289. },
  22290. "models.HsbyBuyMyTradeDetail": {
  22291. "type": "object",
  22292. "required": [
  22293. "accountid",
  22294. "buyorsell",
  22295. "goodscode",
  22296. "goodsid",
  22297. "goodsname",
  22298. "marketid",
  22299. "orderid",
  22300. "qty",
  22301. "time",
  22302. "trademode"
  22303. ],
  22304. "properties": {
  22305. "accountid": {
  22306. "description": "账户ID[报价币种]",
  22307. "type": "integer"
  22308. },
  22309. "agreeunit": {
  22310. "description": "合约单位",
  22311. "type": "number"
  22312. },
  22313. "amount": {
  22314. "description": "金额 = 价格 * 数量 * 合约单位",
  22315. "type": "number"
  22316. },
  22317. "buyorsell": {
  22318. "description": "买卖 - 0:买 1:卖",
  22319. "type": "integer"
  22320. },
  22321. "currencysign": {
  22322. "description": "货币符号",
  22323. "type": "string"
  22324. },
  22325. "decimalplace": {
  22326. "description": "报价小数位",
  22327. "type": "integer"
  22328. },
  22329. "goodscode": {
  22330. "description": "商品代码(内部)",
  22331. "type": "string"
  22332. },
  22333. "goodsid": {
  22334. "description": "商品ID",
  22335. "type": "integer"
  22336. },
  22337. "goodsname": {
  22338. "description": "商品名称",
  22339. "type": "string"
  22340. },
  22341. "marketid": {
  22342. "description": "市场ID",
  22343. "type": "integer"
  22344. },
  22345. "orderamount": {
  22346. "description": "委托金额",
  22347. "type": "number"
  22348. },
  22349. "orderid": {
  22350. "description": "单号(成交单号)",
  22351. "type": "string"
  22352. },
  22353. "picurls1": {
  22354. "description": "预售商品介绍图片[多张用逗号分隔]",
  22355. "type": "string"
  22356. },
  22357. "picurls2": {
  22358. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  22359. "type": "string"
  22360. },
  22361. "price": {
  22362. "description": "价格",
  22363. "type": "number"
  22364. },
  22365. "qty": {
  22366. "description": "数量",
  22367. "type": "integer"
  22368. },
  22369. "time": {
  22370. "description": "时间",
  22371. "type": "string"
  22372. },
  22373. "trademode": {
  22374. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  22375. "type": "integer"
  22376. },
  22377. "vendorname1": {
  22378. "description": "预售商品供应商名称",
  22379. "type": "string"
  22380. },
  22381. "vendorname2": {
  22382. "description": "挂牌商品供应商名称",
  22383. "type": "string"
  22384. }
  22385. }
  22386. },
  22387. "models.HsbyGoodsOrderDetail": {
  22388. "type": "object",
  22389. "required": [
  22390. "buyorsell",
  22391. "orderid",
  22392. "ordertime"
  22393. ],
  22394. "properties": {
  22395. "buyorsell": {
  22396. "description": "买卖 - 0:买 1:卖",
  22397. "type": "integer"
  22398. },
  22399. "currencysign": {
  22400. "description": "货币符号",
  22401. "type": "string"
  22402. },
  22403. "customername": {
  22404. "description": "客户名称(企业名称),已脱敏",
  22405. "type": "string"
  22406. },
  22407. "enableqty": {
  22408. "description": "可用数量",
  22409. "type": "integer"
  22410. },
  22411. "goodunit": {
  22412. "description": "报价单位",
  22413. "type": "string"
  22414. },
  22415. "orderid": {
  22416. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  22417. "type": "string"
  22418. },
  22419. "orderprice": {
  22420. "description": "委托价格",
  22421. "type": "number"
  22422. },
  22423. "ordertime": {
  22424. "description": "委托时间",
  22425. "type": "string"
  22426. }
  22427. }
  22428. },
  22429. "models.HsbyListingGoodsDetail": {
  22430. "type": "object",
  22431. "required": [
  22432. "goodscode",
  22433. "goodsid",
  22434. "goodsname",
  22435. "marketid",
  22436. "trademode"
  22437. ],
  22438. "properties": {
  22439. "agreeunit": {
  22440. "description": "合约单位",
  22441. "type": "number"
  22442. },
  22443. "buymaxqty": {
  22444. "description": "购买上限 [71] - 0为不限",
  22445. "type": "integer"
  22446. },
  22447. "currency": {
  22448. "description": "货币",
  22449. "type": "string"
  22450. },
  22451. "currencysign": {
  22452. "description": "货币符号",
  22453. "type": "string"
  22454. },
  22455. "decimalplace": {
  22456. "description": "报价小数位",
  22457. "type": "integer"
  22458. },
  22459. "desccityid": {
  22460. "description": "目的地(市)ID",
  22461. "type": "integer"
  22462. },
  22463. "descprovinceid": {
  22464. "description": "目的地(省)ID",
  22465. "type": "integer"
  22466. },
  22467. "goodscode": {
  22468. "description": "商品代码(内部)",
  22469. "type": "string"
  22470. },
  22471. "goodsdesc": {
  22472. "description": "商品详情",
  22473. "type": "string"
  22474. },
  22475. "goodsid": {
  22476. "description": "商品ID(自增ID SEQ_GOODS)",
  22477. "type": "integer"
  22478. },
  22479. "goodsname": {
  22480. "description": "商品名称",
  22481. "type": "string"
  22482. },
  22483. "goodsprice": {
  22484. "description": "商品价格",
  22485. "type": "number"
  22486. },
  22487. "hotindex": {
  22488. "description": "景点热度",
  22489. "type": "integer"
  22490. },
  22491. "last": {
  22492. "description": "现价",
  22493. "type": "number"
  22494. },
  22495. "limitdown": {
  22496. "description": "跌停价",
  22497. "type": "number"
  22498. },
  22499. "limitup": {
  22500. "description": "涨停价",
  22501. "type": "number"
  22502. },
  22503. "lotsize": {
  22504. "description": "手数最小变动单位",
  22505. "type": "integer"
  22506. },
  22507. "marketid": {
  22508. "description": "所属市场ID",
  22509. "type": "integer"
  22510. },
  22511. "picurls": {
  22512. "description": "介绍图片[多张用逗号分隔]",
  22513. "type": "string"
  22514. },
  22515. "quoteminunit": {
  22516. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  22517. "type": "integer"
  22518. },
  22519. "stepvalue": {
  22520. "description": "价格最小变动单位",
  22521. "type": "number"
  22522. },
  22523. "trademode": {
  22524. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  22525. "type": "integer"
  22526. },
  22527. "vendorattr": {
  22528. "description": "供应商附件(多张,逗号分隔)",
  22529. "type": "string"
  22530. },
  22531. "vendorname": {
  22532. "description": "供应商名称",
  22533. "type": "string"
  22534. },
  22535. "vendorphone": {
  22536. "description": "供应商客服电话",
  22537. "type": "string"
  22538. },
  22539. "videourls": {
  22540. "description": "介绍视频[多张用逗号分隔]",
  22541. "type": "string"
  22542. }
  22543. }
  22544. },
  22545. "models.HsbyMarketGoods": {
  22546. "type": "object",
  22547. "required": [
  22548. "accountid",
  22549. "buyorsell",
  22550. "goodscode",
  22551. "goodsid",
  22552. "goodsname",
  22553. "marketid",
  22554. "orderid",
  22555. "trademode"
  22556. ],
  22557. "properties": {
  22558. "accountid": {
  22559. "description": "账户ID[报价币种]",
  22560. "type": "integer"
  22561. },
  22562. "agreeunit": {
  22563. "description": "合约单位",
  22564. "type": "number"
  22565. },
  22566. "buyorsell": {
  22567. "description": "买卖 - 0:买 1:卖",
  22568. "type": "integer"
  22569. },
  22570. "categoryid": {
  22571. "description": "类别ID(WRCATEGORY)",
  22572. "type": "integer"
  22573. },
  22574. "currency": {
  22575. "description": "货币",
  22576. "type": "string"
  22577. },
  22578. "currencysign": {
  22579. "description": "货币符号",
  22580. "type": "string"
  22581. },
  22582. "customername": {
  22583. "description": "卖家名称",
  22584. "type": "string"
  22585. },
  22586. "decimalplace": {
  22587. "description": "报价小数位",
  22588. "type": "integer"
  22589. },
  22590. "goodscode": {
  22591. "description": "商品代码(内部)",
  22592. "type": "string"
  22593. },
  22594. "goodsid": {
  22595. "description": "商品ID",
  22596. "type": "integer"
  22597. },
  22598. "goodsname": {
  22599. "description": "商品名称",
  22600. "type": "string"
  22601. },
  22602. "goodsprice": {
  22603. "description": "商品价格",
  22604. "type": "number"
  22605. },
  22606. "hascoupon": {
  22607. "description": "是否可用优惠卷",
  22608. "type": "boolean"
  22609. },
  22610. "hotindex": {
  22611. "description": "景点热度",
  22612. "type": "integer"
  22613. },
  22614. "marketid": {
  22615. "description": "市场ID",
  22616. "type": "integer"
  22617. },
  22618. "orderid": {
  22619. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  22620. "type": "string"
  22621. },
  22622. "orderprice": {
  22623. "description": "委托价格",
  22624. "type": "number"
  22625. },
  22626. "orderstatus": {
  22627. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  22628. "type": "integer"
  22629. },
  22630. "picurls": {
  22631. "description": "介绍图片[多张用逗号分隔]",
  22632. "type": "string"
  22633. },
  22634. "quoteminunit": {
  22635. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  22636. "type": "integer"
  22637. },
  22638. "sellUserID": {
  22639. "description": "卖方UserID",
  22640. "type": "integer"
  22641. },
  22642. "trademode": {
  22643. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  22644. "type": "integer"
  22645. },
  22646. "videourls": {
  22647. "description": "介绍视频[多张用逗号分隔]",
  22648. "type": "string"
  22649. }
  22650. }
  22651. },
  22652. "models.HsbyMarketGoodsDetail": {
  22653. "type": "object",
  22654. "required": [
  22655. "accountid",
  22656. "buyorsell",
  22657. "goodscode",
  22658. "goodsid",
  22659. "goodsname",
  22660. "marketid",
  22661. "orderid",
  22662. "orderqty",
  22663. "trademode"
  22664. ],
  22665. "properties": {
  22666. "accountid": {
  22667. "description": "账户ID[报价币种]",
  22668. "type": "integer"
  22669. },
  22670. "agreeunit": {
  22671. "description": "合约单位",
  22672. "type": "number"
  22673. },
  22674. "buymaxqty": {
  22675. "description": "购买上限 [71] - 0为不限",
  22676. "type": "integer"
  22677. },
  22678. "buyorsell": {
  22679. "description": "买卖 - 0:买 1:卖",
  22680. "type": "integer"
  22681. },
  22682. "cancelqty": {
  22683. "description": "撤单数量",
  22684. "type": "integer"
  22685. },
  22686. "categoryid": {
  22687. "description": "类别ID(WRCATEGORY)",
  22688. "type": "integer"
  22689. },
  22690. "currency": {
  22691. "description": "货币",
  22692. "type": "string"
  22693. },
  22694. "currencysign": {
  22695. "description": "货币符号",
  22696. "type": "string"
  22697. },
  22698. "customername": {
  22699. "description": "卖家名称",
  22700. "type": "string"
  22701. },
  22702. "decimalplace": {
  22703. "description": "报价小数位",
  22704. "type": "integer"
  22705. },
  22706. "goodscode": {
  22707. "description": "商品代码(内部)",
  22708. "type": "string"
  22709. },
  22710. "goodsdesc": {
  22711. "description": "商品详情",
  22712. "type": "string"
  22713. },
  22714. "goodsid": {
  22715. "description": "商品ID",
  22716. "type": "integer"
  22717. },
  22718. "goodsname": {
  22719. "description": "商品名称",
  22720. "type": "string"
  22721. },
  22722. "goodsprice": {
  22723. "description": "商品价格",
  22724. "type": "number"
  22725. },
  22726. "hotindex": {
  22727. "description": "景点热度",
  22728. "type": "integer"
  22729. },
  22730. "lotsize": {
  22731. "description": "手数最小变动单位",
  22732. "type": "integer"
  22733. },
  22734. "marketid": {
  22735. "description": "市场ID",
  22736. "type": "integer"
  22737. },
  22738. "orderid": {
  22739. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  22740. "type": "string"
  22741. },
  22742. "orderprice": {
  22743. "description": "委托价格",
  22744. "type": "number"
  22745. },
  22746. "orderqty": {
  22747. "description": "委托数量",
  22748. "type": "integer"
  22749. },
  22750. "orderstatus": {
  22751. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  22752. "type": "integer"
  22753. },
  22754. "picurls": {
  22755. "description": "介绍图片[多张用逗号分隔]",
  22756. "type": "string"
  22757. },
  22758. "quoteminunit": {
  22759. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  22760. "type": "integer"
  22761. },
  22762. "sellUserID": {
  22763. "description": "卖方UserID",
  22764. "type": "integer"
  22765. },
  22766. "trademode": {
  22767. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  22768. "type": "integer"
  22769. },
  22770. "tradeqty": {
  22771. "description": "成交数量",
  22772. "type": "integer"
  22773. },
  22774. "vendorattr": {
  22775. "description": "供应商附件(多张,逗号分隔)",
  22776. "type": "string"
  22777. },
  22778. "vendorname": {
  22779. "description": "供应商名称",
  22780. "type": "string"
  22781. },
  22782. "vendorphone": {
  22783. "description": "供应商客服电话",
  22784. "type": "string"
  22785. },
  22786. "videourls": {
  22787. "description": "介绍视频[多张用逗号分隔]",
  22788. "type": "string"
  22789. }
  22790. }
  22791. },
  22792. "models.HsbyMarketInfo": {
  22793. "type": "object",
  22794. "required": [
  22795. "marketid",
  22796. "marketstatus",
  22797. "trademode"
  22798. ],
  22799. "properties": {
  22800. "marketid": {
  22801. "description": "市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务",
  22802. "type": "integer"
  22803. },
  22804. "marketname": {
  22805. "description": "市场名称",
  22806. "type": "string"
  22807. },
  22808. "marketstatus": {
  22809. "description": "生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销",
  22810. "type": "integer"
  22811. },
  22812. "trademode": {
  22813. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  22814. "type": "integer"
  22815. }
  22816. }
  22817. },
  22818. "models.HsbyMyGoods": {
  22819. "type": "object",
  22820. "required": [
  22821. "accountid",
  22822. "goodscode",
  22823. "goodsid",
  22824. "goodsname",
  22825. "marketid",
  22826. "trademode"
  22827. ],
  22828. "properties": {
  22829. "accountid": {
  22830. "description": "账号Id",
  22831. "type": "integer"
  22832. },
  22833. "agreeunit": {
  22834. "description": "合约单位",
  22835. "type": "number"
  22836. },
  22837. "buyaverageprice": {
  22838. "description": "持仓均价",
  22839. "type": "number"
  22840. },
  22841. "buycurholderamount": {
  22842. "description": "买当前持仓总金额[商品币种]",
  22843. "type": "number"
  22844. },
  22845. "buycurpositionqty": {
  22846. "description": "买当前持仓总数量",
  22847. "type": "integer"
  22848. },
  22849. "buymaxqty": {
  22850. "description": "购买上限 [71] - 0为不限",
  22851. "type": "integer"
  22852. },
  22853. "currencysign": {
  22854. "description": "货币符号",
  22855. "type": "string"
  22856. },
  22857. "decimalplace": {
  22858. "description": "报价小数位",
  22859. "type": "integer"
  22860. },
  22861. "enableqty": {
  22862. "description": "可用数量",
  22863. "type": "integer"
  22864. },
  22865. "goodscode": {
  22866. "description": "商品代码(内部)",
  22867. "type": "string"
  22868. },
  22869. "goodsid": {
  22870. "description": "商品Id",
  22871. "type": "integer"
  22872. },
  22873. "goodsname": {
  22874. "description": "商品名称",
  22875. "type": "string"
  22876. },
  22877. "goodsprice": {
  22878. "description": "商品价格",
  22879. "type": "number"
  22880. },
  22881. "goodsstatus": {
  22882. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  22883. "type": "integer"
  22884. },
  22885. "last": {
  22886. "description": "现价(仅使用于挂牌点选)",
  22887. "type": "number"
  22888. },
  22889. "limitdown": {
  22890. "description": "跌停价(仅使用于挂牌点选)",
  22891. "type": "number"
  22892. },
  22893. "limitup": {
  22894. "description": "涨停价(仅使用于挂牌点选)",
  22895. "type": "number"
  22896. },
  22897. "lotsize": {
  22898. "description": "手数最小变动单位",
  22899. "type": "integer"
  22900. },
  22901. "marketid": {
  22902. "description": "所属市场ID",
  22903. "type": "integer"
  22904. },
  22905. "picurls": {
  22906. "description": "介绍图片[多张用逗号分隔]",
  22907. "type": "string"
  22908. },
  22909. "quoteminunit": {
  22910. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  22911. "type": "integer"
  22912. },
  22913. "stepvalue": {
  22914. "description": "价格最小变动单位",
  22915. "type": "number"
  22916. },
  22917. "trademode": {
  22918. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  22919. "type": "integer"
  22920. }
  22921. }
  22922. },
  22923. "models.HsbyMyPackage": {
  22924. "type": "object",
  22925. "required": [
  22926. "goodscode",
  22927. "goodsname",
  22928. "takeorderid",
  22929. "trademode"
  22930. ],
  22931. "properties": {
  22932. "accountid": {
  22933. "description": "账户ID",
  22934. "type": "integer"
  22935. },
  22936. "address": {
  22937. "description": "提货人详细地址",
  22938. "type": "string"
  22939. },
  22940. "agreeunit": {
  22941. "description": "合约单位",
  22942. "type": "number"
  22943. },
  22944. "amount": {
  22945. "description": "提货金额",
  22946. "type": "number"
  22947. },
  22948. "auditer": {
  22949. "description": "审核人",
  22950. "type": "integer"
  22951. },
  22952. "audittime": {
  22953. "description": "审核时间",
  22954. "type": "string"
  22955. },
  22956. "averageprice": {
  22957. "description": "均价",
  22958. "type": "number"
  22959. },
  22960. "cardnum": {
  22961. "description": "提货人证件号码",
  22962. "type": "string"
  22963. },
  22964. "cardtypeid": {
  22965. "description": "提货人证件类型",
  22966. "type": "integer"
  22967. },
  22968. "checkremark": {
  22969. "description": "审核备注",
  22970. "type": "string"
  22971. },
  22972. "currencysign": {
  22973. "description": "货币符号",
  22974. "type": "string"
  22975. },
  22976. "decimalplace": {
  22977. "description": "报价小数位",
  22978. "type": "integer"
  22979. },
  22980. "goodscode": {
  22981. "description": "商品代码(内部)",
  22982. "type": "string"
  22983. },
  22984. "goodsid": {
  22985. "description": "商品ID",
  22986. "type": "integer"
  22987. },
  22988. "goodsname": {
  22989. "description": "商品名称",
  22990. "type": "string"
  22991. },
  22992. "handlestatus": {
  22993. "description": "处理状态",
  22994. "type": "integer"
  22995. },
  22996. "marketid": {
  22997. "description": "市场ID",
  22998. "type": "integer"
  22999. },
  23000. "phonenum": {
  23001. "description": "提货人联系方式",
  23002. "type": "string"
  23003. },
  23004. "picurls": {
  23005. "description": "介绍图片[多张用逗号分隔]",
  23006. "type": "string"
  23007. },
  23008. "qty": {
  23009. "description": "提货数量",
  23010. "type": "number"
  23011. },
  23012. "recivername": {
  23013. "description": "提货人姓名",
  23014. "type": "string"
  23015. },
  23016. "reqtime": {
  23017. "description": "更新时间",
  23018. "type": "string"
  23019. },
  23020. "takemode": {
  23021. "description": "提货方式 - 2:自提 3:配送",
  23022. "type": "integer"
  23023. },
  23024. "takeorderid": {
  23025. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  23026. "type": "string"
  23027. },
  23028. "takeorderstatus": {
  23029. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  23030. "type": "integer"
  23031. },
  23032. "takeremark": {
  23033. "description": "提货备注",
  23034. "type": "string"
  23035. },
  23036. "tradedate": {
  23037. "description": "交易日(yyyyMMdd)",
  23038. "type": "string"
  23039. },
  23040. "trademode": {
  23041. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  23042. "type": "integer"
  23043. },
  23044. "userid": {
  23045. "description": "用户ID",
  23046. "type": "integer"
  23047. },
  23048. "vendorname": {
  23049. "description": "供应商名称",
  23050. "type": "string"
  23051. }
  23052. }
  23053. },
  23054. "models.HsbyPreGoods": {
  23055. "type": "object",
  23056. "required": [
  23057. "goodscode",
  23058. "goodsid",
  23059. "goodsname",
  23060. "marketid",
  23061. "trademode"
  23062. ],
  23063. "properties": {
  23064. "agreeunit": {
  23065. "description": "合约单位",
  23066. "type": "number"
  23067. },
  23068. "currency": {
  23069. "description": "货币",
  23070. "type": "string"
  23071. },
  23072. "currencysign": {
  23073. "description": "货币符号",
  23074. "type": "string"
  23075. },
  23076. "decimalplace": {
  23077. "description": "报价小数位",
  23078. "type": "integer"
  23079. },
  23080. "desccityid": {
  23081. "description": "目的地(市)",
  23082. "type": "integer"
  23083. },
  23084. "descprovinceid": {
  23085. "description": "目的地(省)",
  23086. "type": "integer"
  23087. },
  23088. "enableqty": {
  23089. "description": "剩余数量",
  23090. "type": "integer"
  23091. },
  23092. "goodscode": {
  23093. "description": "商品代码(内部)",
  23094. "type": "string"
  23095. },
  23096. "goodsid": {
  23097. "description": "商品ID(自增ID SEQ_GOODS)",
  23098. "type": "integer"
  23099. },
  23100. "goodsname": {
  23101. "description": "商品名称",
  23102. "type": "string"
  23103. },
  23104. "goodsstatus": {
  23105. "description": "商品状态- 2:未上市 3:上市",
  23106. "type": "integer"
  23107. },
  23108. "lasttradedate": {
  23109. "description": "最后交易日期(状态:待退市)",
  23110. "type": "string"
  23111. },
  23112. "listingdate": {
  23113. "description": "交易开始日期",
  23114. "type": "string"
  23115. },
  23116. "marketid": {
  23117. "description": "所属市场ID",
  23118. "type": "integer"
  23119. },
  23120. "picurls": {
  23121. "description": "介绍图片[多张用逗号分隔]",
  23122. "type": "string"
  23123. },
  23124. "presaledqty": {
  23125. "description": "已预售量(预售结束时更新)",
  23126. "type": "integer"
  23127. },
  23128. "presaleqty": {
  23129. "description": "预售数量",
  23130. "type": "integer"
  23131. },
  23132. "quoteminunit": {
  23133. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  23134. "type": "integer"
  23135. },
  23136. "refprice": {
  23137. "description": "参考价格[一口价]",
  23138. "type": "number"
  23139. },
  23140. "relatedgoodsid": {
  23141. "description": "关联交易合约ID",
  23142. "type": "integer"
  23143. },
  23144. "trademode": {
  23145. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  23146. "type": "integer"
  23147. },
  23148. "videourls": {
  23149. "description": "介绍视频[多张用逗号分隔]",
  23150. "type": "string"
  23151. }
  23152. }
  23153. },
  23154. "models.HsbyPreGoodsDetail": {
  23155. "type": "object",
  23156. "required": [
  23157. "goodscode",
  23158. "goodsid",
  23159. "goodsname",
  23160. "marketid",
  23161. "trademode"
  23162. ],
  23163. "properties": {
  23164. "agreeunit": {
  23165. "description": "合约单位",
  23166. "type": "number"
  23167. },
  23168. "buymaxqty": {
  23169. "description": "购买上限 [71] - 0为不限",
  23170. "type": "integer"
  23171. },
  23172. "currency": {
  23173. "description": "货币",
  23174. "type": "string"
  23175. },
  23176. "currencysign": {
  23177. "description": "货币符号",
  23178. "type": "string"
  23179. },
  23180. "customername": {
  23181. "description": "发行单位",
  23182. "type": "string"
  23183. },
  23184. "decimalplace": {
  23185. "description": "报价小数位",
  23186. "type": "integer"
  23187. },
  23188. "desccityid": {
  23189. "description": "目的地(市)ID",
  23190. "type": "integer"
  23191. },
  23192. "descprovinceid": {
  23193. "description": "目的地(省)ID",
  23194. "type": "integer"
  23195. },
  23196. "enableqty": {
  23197. "description": "剩余数量",
  23198. "type": "integer"
  23199. },
  23200. "goodscode": {
  23201. "description": "商品代码(内部)",
  23202. "type": "string"
  23203. },
  23204. "goodsdesc": {
  23205. "description": "商品详情",
  23206. "type": "string"
  23207. },
  23208. "goodsid": {
  23209. "description": "商品ID(自增ID SEQ_GOODS)",
  23210. "type": "integer"
  23211. },
  23212. "goodsname": {
  23213. "description": "商品名称",
  23214. "type": "string"
  23215. },
  23216. "goodsstatus": {
  23217. "description": "商品状态- 2:未上市 3:上市",
  23218. "type": "integer"
  23219. },
  23220. "goodunit": {
  23221. "description": "报价单位",
  23222. "type": "string"
  23223. },
  23224. "lasttradedate": {
  23225. "description": "最后交易日期(状态:待退市)",
  23226. "type": "string"
  23227. },
  23228. "listingdate": {
  23229. "description": "交易开始日期",
  23230. "type": "string"
  23231. },
  23232. "lotsize": {
  23233. "description": "手数最小变动单位",
  23234. "type": "integer"
  23235. },
  23236. "marketid": {
  23237. "description": "所属市场ID",
  23238. "type": "integer"
  23239. },
  23240. "picurls": {
  23241. "description": "介绍图片[多张用逗号分隔]",
  23242. "type": "string"
  23243. },
  23244. "presaledqty": {
  23245. "description": "已预售量(预售结束时更新)",
  23246. "type": "integer"
  23247. },
  23248. "presaleqty": {
  23249. "description": "预售数量",
  23250. "type": "integer"
  23251. },
  23252. "quoteminunit": {
  23253. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  23254. "type": "integer"
  23255. },
  23256. "refprice": {
  23257. "description": "参考价格[一口价]",
  23258. "type": "number"
  23259. },
  23260. "relatedgoodsid": {
  23261. "description": "关联交易合约ID",
  23262. "type": "integer"
  23263. },
  23264. "stepvalue": {
  23265. "description": "价格最小变动单位",
  23266. "type": "number"
  23267. },
  23268. "trademode": {
  23269. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  23270. "type": "integer"
  23271. },
  23272. "vendorattr": {
  23273. "description": "供应商附件(多张,逗号分隔)",
  23274. "type": "string"
  23275. },
  23276. "vendorname": {
  23277. "description": "供应商名称",
  23278. "type": "string"
  23279. },
  23280. "vendorphone": {
  23281. "description": "供应商客服电话",
  23282. "type": "string"
  23283. },
  23284. "videourls": {
  23285. "description": "介绍视频[多张用逗号分隔]",
  23286. "type": "string"
  23287. }
  23288. }
  23289. },
  23290. "models.HsbySellCollectionOrder": {
  23291. "type": "object",
  23292. "required": [
  23293. "goodscode",
  23294. "goodsname",
  23295. "tradeid",
  23296. "trademode"
  23297. ],
  23298. "properties": {
  23299. "agreeunit": {
  23300. "description": "合约单位",
  23301. "type": "number"
  23302. },
  23303. "buyaccountid": {
  23304. "description": "买方账号ID[报价币种]",
  23305. "type": "integer"
  23306. },
  23307. "buyorderid": {
  23308. "description": "买方委托单号",
  23309. "type": "string"
  23310. },
  23311. "createtime": {
  23312. "description": "创建时间",
  23313. "type": "string"
  23314. },
  23315. "currencysign": {
  23316. "description": "货币符号",
  23317. "type": "string"
  23318. },
  23319. "decimalplace": {
  23320. "description": "报价小数位",
  23321. "type": "integer"
  23322. },
  23323. "goodscode": {
  23324. "description": "商品代码(内部)",
  23325. "type": "string"
  23326. },
  23327. "goodsid": {
  23328. "description": "商品ID",
  23329. "type": "integer"
  23330. },
  23331. "goodsname": {
  23332. "description": "商品名称",
  23333. "type": "string"
  23334. },
  23335. "marketid": {
  23336. "description": "市场ID",
  23337. "type": "integer"
  23338. },
  23339. "offamount": {
  23340. "description": "优惠金额",
  23341. "type": "number"
  23342. },
  23343. "payamount": {
  23344. "description": "支付金额 = TradeAmount + TradeCharge - OffAmount",
  23345. "type": "number"
  23346. },
  23347. "payflag": {
  23348. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  23349. "type": "integer"
  23350. },
  23351. "paylimitedtime": {
  23352. "description": "支付期限",
  23353. "type": "string"
  23354. },
  23355. "paytime": {
  23356. "description": "付款时间",
  23357. "type": "string"
  23358. },
  23359. "picurls": {
  23360. "description": "商品介绍图片[多张用逗号分隔]",
  23361. "type": "string"
  23362. },
  23363. "sellaccountid": {
  23364. "description": "卖方账号ID[报价币种]",
  23365. "type": "integer"
  23366. },
  23367. "sellorderid": {
  23368. "description": "卖方委托单号",
  23369. "type": "string"
  23370. },
  23371. "tradeamount": {
  23372. "description": "成交金额",
  23373. "type": "number"
  23374. },
  23375. "tradecharge": {
  23376. "description": "成交手续费(买方)",
  23377. "type": "number"
  23378. },
  23379. "tradedate": {
  23380. "description": "交易日(yyyyMMdd)",
  23381. "type": "string"
  23382. },
  23383. "tradeid": {
  23384. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  23385. "type": "string"
  23386. },
  23387. "trademode": {
  23388. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  23389. "type": "integer"
  23390. },
  23391. "tradeprice": {
  23392. "description": "成交价格",
  23393. "type": "number"
  23394. },
  23395. "tradeqty": {
  23396. "description": "成交数量",
  23397. "type": "integer"
  23398. }
  23399. }
  23400. },
  23401. "models.HsbySellMyDetail": {
  23402. "type": "object",
  23403. "required": [
  23404. "accountid",
  23405. "buyorsell",
  23406. "goodscode",
  23407. "goodsid",
  23408. "goodsname",
  23409. "marketid",
  23410. "orderid",
  23411. "time",
  23412. "trademode"
  23413. ],
  23414. "properties": {
  23415. "accountid": {
  23416. "description": "账户ID[报价币种]",
  23417. "type": "integer"
  23418. },
  23419. "agreeunit": {
  23420. "description": "合约单位",
  23421. "type": "number"
  23422. },
  23423. "buyorsell": {
  23424. "description": "买卖 - 0:买 1:卖",
  23425. "type": "integer"
  23426. },
  23427. "currencysign": {
  23428. "description": "货币符号",
  23429. "type": "string"
  23430. },
  23431. "decimalplace": {
  23432. "description": "报价小数位",
  23433. "type": "integer"
  23434. },
  23435. "goodscode": {
  23436. "description": "商品代码(内部)",
  23437. "type": "string"
  23438. },
  23439. "goodsid": {
  23440. "description": "商品ID",
  23441. "type": "integer"
  23442. },
  23443. "goodsname": {
  23444. "description": "商品名称",
  23445. "type": "string"
  23446. },
  23447. "marketid": {
  23448. "description": "市场ID",
  23449. "type": "integer"
  23450. },
  23451. "orderid": {
  23452. "description": "单号(发布中 - 委托单号;已完成 - 成交单号)",
  23453. "type": "string"
  23454. },
  23455. "ordertype": {
  23456. "description": "单据类型:0 - 发布中, 1 - 已完成",
  23457. "type": "integer"
  23458. },
  23459. "picurls": {
  23460. "description": "介绍图片[多张用逗号分隔]",
  23461. "type": "string"
  23462. },
  23463. "price": {
  23464. "description": "价格",
  23465. "type": "number"
  23466. },
  23467. "qty": {
  23468. "description": "数量",
  23469. "type": "integer"
  23470. },
  23471. "time": {
  23472. "description": "时间",
  23473. "type": "string"
  23474. },
  23475. "trademode": {
  23476. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  23477. "type": "integer"
  23478. },
  23479. "vendorname": {
  23480. "description": "供应商名称",
  23481. "type": "string"
  23482. }
  23483. }
  23484. },
  23485. "models.HsbyTopGoods": {
  23486. "type": "object",
  23487. "required": [
  23488. "goodscode",
  23489. "goodsid",
  23490. "goodsname",
  23491. "marketid",
  23492. "trademode"
  23493. ],
  23494. "properties": {
  23495. "agreeunit": {
  23496. "description": "合约单位",
  23497. "type": "number"
  23498. },
  23499. "currency": {
  23500. "description": "货币",
  23501. "type": "string"
  23502. },
  23503. "currencysign": {
  23504. "description": "货币符号",
  23505. "type": "string"
  23506. },
  23507. "decimalplace": {
  23508. "description": "报价小数位",
  23509. "type": "integer"
  23510. },
  23511. "desccityid": {
  23512. "description": "目的地(市)",
  23513. "type": "integer"
  23514. },
  23515. "descprovinceid": {
  23516. "description": "目的地(省)",
  23517. "type": "integer"
  23518. },
  23519. "goodscode": {
  23520. "description": "商品代码(内部)",
  23521. "type": "string"
  23522. },
  23523. "goodsid": {
  23524. "description": "商品ID(自增ID SEQ_GOODS)",
  23525. "type": "integer"
  23526. },
  23527. "goodsname": {
  23528. "description": "商品名称",
  23529. "type": "string"
  23530. },
  23531. "hotindex": {
  23532. "description": "景点热度",
  23533. "type": "integer"
  23534. },
  23535. "last": {
  23536. "description": "现价",
  23537. "type": "number"
  23538. },
  23539. "marketid": {
  23540. "description": "所属市场ID",
  23541. "type": "integer"
  23542. },
  23543. "picurls": {
  23544. "description": "介绍图片[多张用逗号分隔]",
  23545. "type": "string"
  23546. },
  23547. "quoteminunit": {
  23548. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  23549. "type": "integer"
  23550. },
  23551. "trademode": {
  23552. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  23553. "type": "integer"
  23554. },
  23555. "videourls": {
  23556. "description": "介绍视频[多张用逗号分隔]",
  23557. "type": "string"
  23558. }
  23559. }
  23560. },
  23561. "models.HybsMyBuyOrderDetail": {
  23562. "type": "object",
  23563. "required": [
  23564. "accountid",
  23565. "buyorsell",
  23566. "goodscode",
  23567. "goodsid",
  23568. "goodsname",
  23569. "marketid",
  23570. "orderid",
  23571. "orderqty",
  23572. "ordertime",
  23573. "trademode"
  23574. ],
  23575. "properties": {
  23576. "accountid": {
  23577. "description": "账户ID[报价币种]",
  23578. "type": "integer"
  23579. },
  23580. "agreeunit": {
  23581. "description": "合约单位",
  23582. "type": "number"
  23583. },
  23584. "buyorsell": {
  23585. "description": "买卖 - 0:买 1:卖",
  23586. "type": "integer"
  23587. },
  23588. "cancelqty": {
  23589. "description": "撤单数量",
  23590. "type": "integer"
  23591. },
  23592. "currencysign": {
  23593. "description": "货币符号",
  23594. "type": "string"
  23595. },
  23596. "decimalplace": {
  23597. "description": "报价小数位",
  23598. "type": "integer"
  23599. },
  23600. "goodscode": {
  23601. "description": "商品代码(内部)",
  23602. "type": "string"
  23603. },
  23604. "goodsid": {
  23605. "description": "商品ID",
  23606. "type": "integer"
  23607. },
  23608. "goodsname": {
  23609. "description": "商品名称",
  23610. "type": "string"
  23611. },
  23612. "listingselecttype": {
  23613. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  23614. "type": "integer"
  23615. },
  23616. "marketid": {
  23617. "description": "市场ID",
  23618. "type": "integer"
  23619. },
  23620. "mybuystatus": {
  23621. "description": "\"我的订单\"显示状态- 1:抢购中 2:求购中 3:已完成 4:已撤消 5:委托失败",
  23622. "type": "integer"
  23623. },
  23624. "orderamount": {
  23625. "description": "委托金额",
  23626. "type": "number"
  23627. },
  23628. "orderid": {
  23629. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  23630. "type": "string"
  23631. },
  23632. "orderprice": {
  23633. "description": "委托价格",
  23634. "type": "number"
  23635. },
  23636. "orderqty": {
  23637. "description": "委托数量",
  23638. "type": "integer"
  23639. },
  23640. "orderstatus": {
  23641. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  23642. "type": "integer"
  23643. },
  23644. "ordertime": {
  23645. "description": "委托时间",
  23646. "type": "string"
  23647. },
  23648. "picurls1": {
  23649. "description": "预售商品介绍图片[多张用逗号分隔]",
  23650. "type": "string"
  23651. },
  23652. "picurls2": {
  23653. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  23654. "type": "string"
  23655. },
  23656. "trademode": {
  23657. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  23658. "type": "integer"
  23659. },
  23660. "tradeqty": {
  23661. "description": "成交数量",
  23662. "type": "integer"
  23663. },
  23664. "vendorname1": {
  23665. "description": "预售商品供应商名称",
  23666. "type": "string"
  23667. },
  23668. "vendorname2": {
  23669. "description": "挂牌商品供应商名称",
  23670. "type": "string"
  23671. }
  23672. }
  23673. },
  23674. "models.Loginaccount": {
  23675. "type": "object",
  23676. "required": [
  23677. "loginid"
  23678. ],
  23679. "properties": {
  23680. "accountname": {
  23681. "description": "账户名称",
  23682. "type": "string"
  23683. },
  23684. "canoutin": {
  23685. "description": "是否可出入金 - 0:不可 1:可",
  23686. "type": "integer"
  23687. },
  23688. "clientroleid": {
  23689. "description": "终端角色ID",
  23690. "type": "integer"
  23691. },
  23692. "haslogined": {
  23693. "description": "是否已登录 - 0:未登录 1:已登录",
  23694. "type": "integer"
  23695. },
  23696. "hasupdatedpwd": {
  23697. "description": "是否已更改密码 - 0:未修改 1:已修改",
  23698. "type": "integer"
  23699. },
  23700. "lastloginip": {
  23701. "description": "最新登录地址",
  23702. "type": "string"
  23703. },
  23704. "lastloginmode": {
  23705. "description": "最新登录方式(客户端类型) - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  23706. "type": "integer"
  23707. },
  23708. "lastloginremark": {
  23709. "description": "最新登录描述",
  23710. "type": "string"
  23711. },
  23712. "lastlogintime": {
  23713. "description": "最新登录时间",
  23714. "type": "string"
  23715. },
  23716. "logincode": {
  23717. "description": "登录代码",
  23718. "type": "string"
  23719. },
  23720. "loginfailnum": {
  23721. "description": "连续登录失败次数(登录成功时清零)",
  23722. "type": "integer"
  23723. },
  23724. "loginid": {
  23725. "description": "登陆账号",
  23726. "type": "integer"
  23727. },
  23728. "loginport": {
  23729. "description": "最新登录端口",
  23730. "type": "integer"
  23731. },
  23732. "loginstatus": {
  23733. "description": "登录账号状态 1:正常 2:冻结(停用) 3:无效(注销)",
  23734. "type": "integer"
  23735. },
  23736. "loginusertype": {
  23737. "description": "登录账号类型 - 1:投资者 2:机构交易员",
  23738. "type": "integer"
  23739. },
  23740. "mobile": {
  23741. "description": "手机号码(加密存储)",
  23742. "type": "string"
  23743. },
  23744. "modifierid": {
  23745. "description": "修改人",
  23746. "type": "integer"
  23747. },
  23748. "modifysrc": {
  23749. "description": "审核来源 - 1:管理端 2:终端",
  23750. "type": "integer"
  23751. },
  23752. "modifytime": {
  23753. "description": "修改时间",
  23754. "type": "string"
  23755. },
  23756. "password": {
  23757. "description": "登陆密码",
  23758. "type": "string"
  23759. },
  23760. "pwdwrongcount": {
  23761. "description": "密码错误次数",
  23762. "type": "integer"
  23763. },
  23764. "relateduserid": {
  23765. "description": "关联用户ID(机构)",
  23766. "type": "integer"
  23767. },
  23768. "taaccountrighttype": {
  23769. "description": "资金账号权限类型 - 1:不选默认为所有权限 2:不选默认为无权限",
  23770. "type": "integer"
  23771. },
  23772. "unfreezetime": {
  23773. "description": "账户解冻时间",
  23774. "type": "string"
  23775. },
  23776. "userid": {
  23777. "description": "用户ID",
  23778. "type": "integer"
  23779. }
  23780. }
  23781. },
  23782. "models.MainAccountInfo": {
  23783. "type": "object",
  23784. "properties": {
  23785. "accountid": {
  23786. "description": "账号id",
  23787. "type": "integer"
  23788. },
  23789. "accountname": {
  23790. "description": "账号名称(taaccount表中的名称)",
  23791. "type": "string"
  23792. },
  23793. "appid": {
  23794. "description": "AppID",
  23795. "type": "string"
  23796. },
  23797. "authcode": {
  23798. "description": "授权码",
  23799. "type": "string"
  23800. },
  23801. "brokerid": {
  23802. "description": "经纪商id",
  23803. "type": "string"
  23804. },
  23805. "fcid": {
  23806. "description": "期货公司id",
  23807. "type": "integer"
  23808. },
  23809. "fcname": {
  23810. "description": "期货公司代码",
  23811. "type": "string"
  23812. },
  23813. "hedgeaccountcode": {
  23814. "description": "外部账号代码(主账号登录代码)",
  23815. "type": "string"
  23816. },
  23817. "hedgeaccountpwd": {
  23818. "description": "密码",
  23819. "type": "string"
  23820. },
  23821. "ismain": {
  23822. "description": "是否主账号",
  23823. "type": "integer"
  23824. },
  23825. "relateduserid": {
  23826. "description": "关联用户id",
  23827. "type": "integer"
  23828. },
  23829. "userid": {
  23830. "description": "关联用户id",
  23831. "type": "integer"
  23832. }
  23833. }
  23834. },
  23835. "models.Market": {
  23836. "type": "object",
  23837. "required": [
  23838. "marketid",
  23839. "marketstatus",
  23840. "openmethod",
  23841. "reckonpricealgorithm",
  23842. "trademode",
  23843. "tradeproperty"
  23844. ],
  23845. "properties": {
  23846. "auctionwrtype": {
  23847. "description": "竞拍仓单类型 - 1:无仓单 2:有仓单 3;有无仓单均可",
  23848. "type": "integer"
  23849. },
  23850. "canacceptquote": {
  23851. "description": "确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]",
  23852. "type": "integer"
  23853. },
  23854. "cangoodsexercise": {
  23855. "description": "[期权]是否可现货行权- 0:否 1:是",
  23856. "type": "integer"
  23857. },
  23858. "cangoodsexercisetype": {
  23859. "description": "可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]",
  23860. "type": "integer"
  23861. },
  23862. "canmanualquotestrike": {
  23863. "description": "是否可手动报行权价- 0:否 1:是 [期权]",
  23864. "type": "integer"
  23865. },
  23866. "canmutistage": {
  23867. "description": "是否可多段运行 – 0:不可 1:可 [挂牌期权]",
  23868. "type": "integer"
  23869. },
  23870. "canpreexercise": {
  23871. "description": "[期权]是否可预申报- 0:否 1:是",
  23872. "type": "integer"
  23873. },
  23874. "clearinterval": {
  23875. "description": "待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))",
  23876. "type": "integer"
  23877. },
  23878. "contracttmp": {
  23879. "description": "合同模板[荷兰式][竞价式][仓单贸易]",
  23880. "type": "string"
  23881. },
  23882. "exchareaid": {
  23883. "description": "所属交易所,可以没有",
  23884. "type": "integer"
  23885. },
  23886. "goodstype": {
  23887. "description": "商品类型 - 1:交易商品 2:仓单商品",
  23888. "type": "integer"
  23889. },
  23890. "hasrebate": {
  23891. "description": "是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏",
  23892. "type": "integer"
  23893. },
  23894. "hastradecredit": {
  23895. "description": "是否交易授信[做市收益权] - 0:不授信 1:授信",
  23896. "type": "integer"
  23897. },
  23898. "haswr": {
  23899. "description": "[竞拍]是否需要仓单 - 0:不需要 1:需要-作废",
  23900. "type": "integer"
  23901. },
  23902. "isdeductmargin": {
  23903. "description": "竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除",
  23904. "type": "integer"
  23905. },
  23906. "isrecordsource": {
  23907. "description": "是否记录成交源 - 0:不记录 1:记录 [所有权]",
  23908. "type": "integer"
  23909. },
  23910. "isreleasemargin": {
  23911. "description": "成交参与保证金是否释放[竞价式] - 0:不释放 1释放",
  23912. "type": "integer"
  23913. },
  23914. "marginformula": {
  23915. "description": "持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  23916. "type": "integer"
  23917. },
  23918. "marginformula2": {
  23919. "description": "持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  23920. "type": "integer"
  23921. },
  23922. "marketid": {
  23923. "description": "市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务",
  23924. "type": "integer"
  23925. },
  23926. "marketname": {
  23927. "description": "市场名称",
  23928. "type": "string"
  23929. },
  23930. "marketserviceid": {
  23931. "description": "市场服务ID",
  23932. "type": "integer"
  23933. },
  23934. "marketstatus": {
  23935. "description": "生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销",
  23936. "type": "integer"
  23937. },
  23938. "markettype": {
  23939. "description": "市场类型- 1:非交易服务 2:交易服务",
  23940. "type": "integer"
  23941. },
  23942. "matchermode": {
  23943. "description": "指定对手模式[仓单贸易模式专用] - 1:任意对手",
  23944. "type": "integer"
  23945. },
  23946. "openmethod": {
  23947. "description": "开盘模式 - 0 自动 1手动",
  23948. "type": "integer"
  23949. },
  23950. "otcuserid": {
  23951. "description": "场外期权做市商[场外期权]",
  23952. "type": "integer"
  23953. },
  23954. "outersynctime": {
  23955. "description": "外部同步时间点(h24:mi:ss)[场外期权]",
  23956. "type": "string"
  23957. },
  23958. "pendingflag": {
  23959. "description": "待开市时间标识[通道交易-对冲] - 0:当日 1:上日",
  23960. "type": "integer"
  23961. },
  23962. "pendingtime": {
  23963. "description": "待开市时间[通道交易-对冲](HH:mm)",
  23964. "type": "string"
  23965. },
  23966. "performancetempid": {
  23967. "description": "履约计划模板ID - 作废",
  23968. "type": "integer"
  23969. },
  23970. "premiumquotemode": {
  23971. "description": "权利金报价方式 - 1:自动 2:手动",
  23972. "type": "integer"
  23973. },
  23974. "rebateratio": {
  23975. "description": "返利比率[竞价式]",
  23976. "type": "number"
  23977. },
  23978. "reckonorder": {
  23979. "description": "结算顺序",
  23980. "type": "integer"
  23981. },
  23982. "reckonpricealgorithm": {
  23983. "description": "结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价 6.卖一价 7.买一卖一均价 8.外部结算价",
  23984. "type": "integer"
  23985. },
  23986. "reckonpriceparam": {
  23987. "description": "结算价参数",
  23988. "type": "integer"
  23989. },
  23990. "reckontime": {
  23991. "description": "结算时间[通道交易-对冲](HH:mm)",
  23992. "type": "string"
  23993. },
  23994. "roleprioritytype": {
  23995. "description": "角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]",
  23996. "type": "integer"
  23997. },
  23998. "selllistingauditflag": {
  23999. "description": "卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要",
  24000. "type": "integer"
  24001. },
  24002. "trademarkettype": {
  24003. "description": "交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场",
  24004. "type": "integer"
  24005. },
  24006. "trademode": {
  24007. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  24008. "type": "integer"
  24009. },
  24010. "tradeproperty": {
  24011. "description": "交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易 8:场外期权",
  24012. "type": "integer"
  24013. },
  24014. "tradetype": {
  24015. "description": "下单方式[通道交易] - 1:直接转单 2:净头寸下单",
  24016. "type": "integer"
  24017. }
  24018. }
  24019. },
  24020. "models.Marketrun": {
  24021. "type": "object",
  24022. "required": [
  24023. "marketid",
  24024. "nexttradedate",
  24025. "reckonflag",
  24026. "runstatus",
  24027. "tradedate",
  24028. "tradedate2"
  24029. ],
  24030. "properties": {
  24031. "afternexttradedate": {
  24032. "description": "下下交易日",
  24033. "type": "string"
  24034. },
  24035. "clearquoteflag": {
  24036. "description": "行情清盘标志- 1:未发送 2:已发送 3:已回复",
  24037. "type": "integer"
  24038. },
  24039. "lastreckondate": {
  24040. "description": "最新交易日(结算成功)",
  24041. "type": "string"
  24042. },
  24043. "machinedate": {
  24044. "description": "机器时间",
  24045. "type": "string"
  24046. },
  24047. "manualflag": {
  24048. "description": "手动开市标志- 0:否 1:是 (市场为手动时,是否触发了手动开市标志)",
  24049. "type": "integer"
  24050. },
  24051. "marketid": {
  24052. "description": "市场ID",
  24053. "type": "integer"
  24054. },
  24055. "nexttradedate": {
  24056. "description": "下一交易日",
  24057. "type": "string"
  24058. },
  24059. "pretradedate": {
  24060. "description": "上一交易日",
  24061. "type": "string"
  24062. },
  24063. "reckonflag": {
  24064. "description": "结算标识 - 0: 停止结算 1: 正常(管理端控制此字段,交易服务根据此字段判断是否做结算)",
  24065. "type": "integer"
  24066. },
  24067. "runstatus": {
  24068. "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.今日免清算",
  24069. "type": "integer"
  24070. },
  24071. "sectionid": {
  24072. "description": "时间段号[多时段时用]",
  24073. "type": "integer"
  24074. },
  24075. "tradedate": {
  24076. "description": "当前交易日(服务) 资金结算完成即变更,供交易服务使用",
  24077. "type": "string"
  24078. },
  24079. "tradedate2": {
  24080. "description": "当前交易日(行情) 在第一个市场待开市时变更为TradeDate,供行情及终端系统使用",
  24081. "type": "string"
  24082. },
  24083. "updatetime": {
  24084. "description": "更新时间",
  24085. "type": "string"
  24086. }
  24087. }
  24088. },
  24089. "models.Messageboard": {
  24090. "type": "object",
  24091. "required": [
  24092. "messageboardid"
  24093. ],
  24094. "properties": {
  24095. "contactnum": {
  24096. "description": "联系电话",
  24097. "type": "string"
  24098. },
  24099. "createtime": {
  24100. "description": "创建时间",
  24101. "type": "string"
  24102. },
  24103. "message": {
  24104. "description": "留言信息",
  24105. "type": "string"
  24106. },
  24107. "messageboardid": {
  24108. "description": "留言簿ID(SEQ_MessageBoard)",
  24109. "type": "integer"
  24110. },
  24111. "userid": {
  24112. "description": "用户ID",
  24113. "type": "integer"
  24114. }
  24115. }
  24116. },
  24117. "models.MyCoupon": {
  24118. "type": "object",
  24119. "required": [
  24120. "accountid",
  24121. "coupontypeid"
  24122. ],
  24123. "properties": {
  24124. "accountid": {
  24125. "description": "资金账户ID",
  24126. "type": "integer"
  24127. },
  24128. "areauserid": {
  24129. "description": "所属机构",
  24130. "type": "integer"
  24131. },
  24132. "conditionvalue": {
  24133. "description": "条件阈值(可为0)",
  24134. "type": "number"
  24135. },
  24136. "couponcategroy": {
  24137. "description": "种类 - 1:现金券 2:折扣券 3:折扣券(单张)",
  24138. "type": "integer"
  24139. },
  24140. "couponname": {
  24141. "description": "优惠券名称",
  24142. "type": "string"
  24143. },
  24144. "coupontypeid": {
  24145. "description": "优惠券类型ID",
  24146. "type": "string"
  24147. },
  24148. "couponvalue": {
  24149. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值]",
  24150. "type": "number"
  24151. },
  24152. "curfreezeqty": {
  24153. "description": "期末冻结数量",
  24154. "type": "integer"
  24155. },
  24156. "curqty": {
  24157. "description": "期末数量",
  24158. "type": "integer"
  24159. },
  24160. "isgeneral": {
  24161. "description": "是否通用券 - 0:否 1:是",
  24162. "type": "integer"
  24163. },
  24164. "isunusable": {
  24165. "description": "是否不可用",
  24166. "type": "boolean"
  24167. },
  24168. "limitedflag": {
  24169. "description": "是否指定商品 - 0:不限 1:限制",
  24170. "type": "integer"
  24171. },
  24172. "limitedgoodsids": {
  24173. "description": "指定商品IDs[逗号分隔,前后加逗号]",
  24174. "type": "string"
  24175. },
  24176. "orifreezeqty": {
  24177. "description": "期初冻结数量",
  24178. "type": "integer"
  24179. },
  24180. "oriqty": {
  24181. "description": "期初数量",
  24182. "type": "integer"
  24183. },
  24184. "reasontype": {
  24185. "description": "不可用原因 - 0:未确认 1:不可用于此商品 2:不可用于此卖家",
  24186. "type": "integer"
  24187. },
  24188. "todaydecrease": {
  24189. "description": "今日减少",
  24190. "type": "integer"
  24191. },
  24192. "todayincrease": {
  24193. "description": "今日增加",
  24194. "type": "integer"
  24195. },
  24196. "userid": {
  24197. "description": "用户ID",
  24198. "type": "integer"
  24199. },
  24200. "userscope": {
  24201. "description": "卖家范围(用户ID,逗号分隔,前后加逗号) [IsGeneral =0时使用]",
  24202. "type": "string"
  24203. }
  24204. }
  24205. },
  24206. "models.MyCouponHold": {
  24207. "type": "object",
  24208. "required": [
  24209. "couponholdid"
  24210. ],
  24211. "properties": {
  24212. "accountid": {
  24213. "description": "资金账户ID",
  24214. "type": "integer"
  24215. },
  24216. "conditionvalue": {
  24217. "description": "条件阈值(可为0)",
  24218. "type": "number"
  24219. },
  24220. "couponcategroy": {
  24221. "description": "种类 - 1:现金券 2:折扣券 3:折扣券(单个商品)",
  24222. "type": "integer"
  24223. },
  24224. "couponholdid": {
  24225. "description": "优惠券持仓ID(229+Unix秒时间戳(10位)+xxxxxx)",
  24226. "type": "string"
  24227. },
  24228. "couponname": {
  24229. "description": "优惠券名称",
  24230. "type": "string"
  24231. },
  24232. "coupontypeid": {
  24233. "description": "优惠券类型ID - SEQ_COUPONTYPE",
  24234. "type": "string"
  24235. },
  24236. "couponvalue": {
  24237. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值]",
  24238. "type": "number"
  24239. },
  24240. "createtime": {
  24241. "description": "创建时间",
  24242. "type": "string"
  24243. },
  24244. "enddate": {
  24245. "description": "结束日期",
  24246. "type": "string"
  24247. },
  24248. "giveapplyid": {
  24249. "description": "发放申请ID(SEQ_COUPONGIVEAPPLY)",
  24250. "type": "integer"
  24251. },
  24252. "holdstatus": {
  24253. "description": "持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期",
  24254. "type": "integer"
  24255. },
  24256. "isgeneral": {
  24257. "description": "是否通用券 - 0:否 1:是",
  24258. "type": "integer"
  24259. },
  24260. "limitedflag": {
  24261. "description": "是否指定商品 - 0:不限 1:限制",
  24262. "type": "integer"
  24263. },
  24264. "limitedgoodsids": {
  24265. "description": "指定商品IDs[逗号分隔]",
  24266. "type": "string"
  24267. },
  24268. "qty": {
  24269. "description": "数量(按1平铺)",
  24270. "type": "integer"
  24271. },
  24272. "startdate": {
  24273. "description": "开始日期",
  24274. "type": "string"
  24275. },
  24276. "userid": {
  24277. "description": "用户ID",
  24278. "type": "integer"
  24279. },
  24280. "userscope": {
  24281. "description": "卖家范围(用户ID,逗号分隔) [IsGeneral =0时使用]",
  24282. "type": "string"
  24283. }
  24284. }
  24285. },
  24286. "models.MyUsedCoupon": {
  24287. "type": "object",
  24288. "required": [
  24289. "coupontypeid",
  24290. "orderid"
  24291. ],
  24292. "properties": {
  24293. "accountid": {
  24294. "description": "资金账户ID(买方)",
  24295. "type": "integer"
  24296. },
  24297. "conditionvalue": {
  24298. "description": "条件阈值(可为0)",
  24299. "type": "number"
  24300. },
  24301. "couponcategroy": {
  24302. "description": "种类 - 1:现金券 2:折扣券",
  24303. "type": "integer"
  24304. },
  24305. "couponname": {
  24306. "description": "优惠券名称",
  24307. "type": "string"
  24308. },
  24309. "coupontypeid": {
  24310. "description": "优惠券类型ID(买方)",
  24311. "type": "string"
  24312. },
  24313. "couponvalue": {
  24314. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值(0-100)]",
  24315. "type": "number"
  24316. },
  24317. "createtime": {
  24318. "description": "创建时间",
  24319. "type": "string"
  24320. },
  24321. "goodsid": {
  24322. "description": "商品ID",
  24323. "type": "integer"
  24324. },
  24325. "handlestatus": {
  24326. "description": "处理状态",
  24327. "type": "integer"
  24328. },
  24329. "marketid": {
  24330. "description": "市场ID",
  24331. "type": "integer"
  24332. },
  24333. "offamount": {
  24334. "description": "优惠金额",
  24335. "type": "number"
  24336. },
  24337. "orderid": {
  24338. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  24339. "type": "string"
  24340. },
  24341. "sellaccountid": {
  24342. "description": "资金账户ID(卖方)",
  24343. "type": "integer"
  24344. },
  24345. "tradeamount": {
  24346. "description": "成交金额",
  24347. "type": "number"
  24348. },
  24349. "tradeid": {
  24350. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  24351. "type": "string"
  24352. },
  24353. "usedqty": {
  24354. "description": "使用数量",
  24355. "type": "integer"
  24356. }
  24357. }
  24358. },
  24359. "models.OperationPrimaryMenu": {
  24360. "type": "object",
  24361. "properties": {
  24362. "Children": {
  24363. "description": "二级功能菜单",
  24364. "type": "array",
  24365. "items": {
  24366. "$ref": "#/definitions/models.OperationSecondaryMenu"
  24367. }
  24368. },
  24369. "Key": {
  24370. "description": "菜单KEY",
  24371. "type": "string"
  24372. },
  24373. "Label": {
  24374. "description": "菜单标题",
  24375. "type": "string"
  24376. }
  24377. }
  24378. },
  24379. "models.OperationSecondaryMenu": {
  24380. "type": "object",
  24381. "properties": {
  24382. "Key": {
  24383. "description": "菜单KEY",
  24384. "type": "string"
  24385. },
  24386. "Label": {
  24387. "description": "菜单标题",
  24388. "type": "string"
  24389. },
  24390. "TabList": {
  24391. "description": "三级功能菜单",
  24392. "type": "array",
  24393. "items": {
  24394. "$ref": "#/definitions/models.OperationTabMenu"
  24395. }
  24396. }
  24397. }
  24398. },
  24399. "models.OperationTabMenu": {
  24400. "type": "object",
  24401. "properties": {
  24402. "Key": {
  24403. "description": "菜单KEY",
  24404. "type": "string"
  24405. },
  24406. "Label": {
  24407. "description": "菜单标题",
  24408. "type": "string"
  24409. }
  24410. }
  24411. },
  24412. "models.PendingAuditBizModel": {
  24413. "type": "object",
  24414. "properties": {
  24415. "accountid": {
  24416. "description": "现货账户",
  24417. "type": "string"
  24418. },
  24419. "areaname": {
  24420. "description": "所属部门",
  24421. "type": "string"
  24422. },
  24423. "bizid": {
  24424. "description": "业务ID",
  24425. "type": "string"
  24426. },
  24427. "bizname": {
  24428. "description": "业务名称",
  24429. "type": "string"
  24430. },
  24431. "status": {
  24432. "description": "状态,0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  24433. "type": "integer"
  24434. },
  24435. "type": {
  24436. "description": "业务类型,1-期现套利,2-仓单回购,3-现货贸易",
  24437. "type": "integer"
  24438. }
  24439. }
  24440. },
  24441. "models.QhjAccountOutInApply": {
  24442. "type": "object",
  24443. "properties": {
  24444. "accountcode": {
  24445. "description": "资金账号",
  24446. "type": "string"
  24447. },
  24448. "accountname": {
  24449. "description": "用户名称(名称)",
  24450. "type": "string"
  24451. },
  24452. "accountpwd": {
  24453. "description": "资金密码",
  24454. "type": "string"
  24455. },
  24456. "accountticket": {
  24457. "description": "最新账户服务流水号",
  24458. "type": "string"
  24459. },
  24460. "amount": {
  24461. "description": "金额",
  24462. "type": "number"
  24463. },
  24464. "applyremark": {
  24465. "description": "申请备注",
  24466. "type": "string"
  24467. },
  24468. "applystatus": {
  24469. "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: 复审通过,账户冻结金额检查中;",
  24470. "type": "integer"
  24471. },
  24472. "auditid": {
  24473. "description": "审核人",
  24474. "type": "integer"
  24475. },
  24476. "audittime": {
  24477. "description": "审核时间",
  24478. "type": "string"
  24479. },
  24480. "bank_apply_ticket": {
  24481. "description": "银行申请流水",
  24482. "type": "string"
  24483. },
  24484. "bankaccountname": {
  24485. "description": "银行账户名",
  24486. "type": "string"
  24487. },
  24488. "bankaccountno": {
  24489. "description": "银行卡号",
  24490. "type": "string"
  24491. },
  24492. "bankid": {
  24493. "description": "银行编号",
  24494. "type": "string"
  24495. },
  24496. "bankticket": {
  24497. "description": "银行流水",
  24498. "type": "string"
  24499. },
  24500. "branchbankid": {
  24501. "description": "银行支行号",
  24502. "type": "string"
  24503. },
  24504. "branchbankname": {
  24505. "description": "银行支行名称",
  24506. "type": "string"
  24507. },
  24508. "capamountout": {
  24509. "description": "出金(劣后本金) - 外部子账户",
  24510. "type": "number"
  24511. },
  24512. "certificatephotourl": {
  24513. "description": "凭证地址",
  24514. "type": "string"
  24515. },
  24516. "charge": {
  24517. "description": "手续费",
  24518. "type": "number"
  24519. },
  24520. "checkerrorflag": {
  24521. "description": "对账差错标志 - 1:为单边账;其它为正常出入金",
  24522. "type": "integer"
  24523. },
  24524. "currency": {
  24525. "description": "币种",
  24526. "type": "string"
  24527. },
  24528. "cusbankid": {
  24529. "description": "托管银行编号",
  24530. "type": "string"
  24531. },
  24532. "exchticket": {
  24533. "description": "银行服务流水号",
  24534. "type": "string"
  24535. },
  24536. "executetype": {
  24537. "description": "申请类型 - 1:出金 2:入金 3: 单边账调整:入金; 4:单边账调整:出金 5:外部母账户调整:入金 6:外部母账户调整:出金 7:外部子账户:入金 8:外部子账户:出金",
  24538. "type": "integer"
  24539. },
  24540. "extendinfo": {
  24541. "description": "扩展信息",
  24542. "type": "string"
  24543. },
  24544. "extoperateid": {
  24545. "description": "交易服务流水号",
  24546. "type": "integer"
  24547. },
  24548. "infamount": {
  24549. "description": "劣后金额(自有)",
  24550. "type": "number"
  24551. },
  24552. "logincode": {
  24553. "description": "登录账号(账号)",
  24554. "type": "string"
  24555. },
  24556. "netaddr": {
  24557. "description": "调转网址",
  24558. "type": "string"
  24559. },
  24560. "priamount": {
  24561. "description": "优先金额(授信)",
  24562. "type": "number"
  24563. },
  24564. "reauditid": {
  24565. "description": "复审人",
  24566. "type": "integer"
  24567. },
  24568. "reauditremark": {
  24569. "description": "复审备注",
  24570. "type": "string"
  24571. },
  24572. "reaudittime": {
  24573. "description": "复审时间",
  24574. "type": "string"
  24575. },
  24576. "relatedorderid": {
  24577. "description": "三方关联ID",
  24578. "type": "string"
  24579. },
  24580. "remark": {
  24581. "description": "备注",
  24582. "type": "string"
  24583. },
  24584. "remark2": {
  24585. "description": "备注(失败原因)",
  24586. "type": "string"
  24587. },
  24588. "soucreamount": {
  24589. "description": "原始出入金金额",
  24590. "type": "number"
  24591. },
  24592. "soucrecurrencyid": {
  24593. "description": "原始出入金币种",
  24594. "type": "integer"
  24595. },
  24596. "tradedate": {
  24597. "description": "交易日(yyyyMMdd)",
  24598. "type": "string"
  24599. },
  24600. "updatetime": {
  24601. "description": "更新时间(申请时间)",
  24602. "type": "string"
  24603. },
  24604. "userid": {
  24605. "description": "用户id",
  24606. "type": "integer"
  24607. },
  24608. "userinfotype": {
  24609. "description": "账户类型 1-个人 2-企业",
  24610. "type": "integer"
  24611. }
  24612. }
  24613. },
  24614. "models.QhjAgreementChangeLog": {
  24615. "type": "object",
  24616. "properties": {
  24617. "agreementcontent": {
  24618. "description": "协议内容",
  24619. "type": "string"
  24620. },
  24621. "agreementfrequency": {
  24622. "description": "协议频率 - 1:首次 2:每次 [登录为2, 其它为1]",
  24623. "type": "integer"
  24624. },
  24625. "agreementid": {
  24626. "description": "协议ID",
  24627. "type": "integer"
  24628. },
  24629. "agreementname": {
  24630. "description": "协议名称",
  24631. "type": "string"
  24632. },
  24633. "agreementno": {
  24634. "description": "协议编号",
  24635. "type": "string"
  24636. },
  24637. "agreementtype": {
  24638. "description": "协议类型 - 1:注册 2:登录 3:交易",
  24639. "type": "integer"
  24640. },
  24641. "agreementversion": {
  24642. "description": "协议版本号",
  24643. "type": "integer"
  24644. },
  24645. "logid": {
  24646. "description": "流水ID(SEQ_QHJ_AGREEMENTCHANGELOG)",
  24647. "type": "integer"
  24648. },
  24649. "reviserid": {
  24650. "description": "修改人",
  24651. "type": "integer"
  24652. },
  24653. "revisersrc": {
  24654. "description": "修改来源 - 1:管理端 2:终端",
  24655. "type": "integer"
  24656. },
  24657. "updatetime": {
  24658. "description": "更新时间",
  24659. "type": "string"
  24660. }
  24661. }
  24662. },
  24663. "models.QhjAgreementConfig": {
  24664. "type": "object",
  24665. "properties": {
  24666. "agreementcontent": {
  24667. "description": "协议内容",
  24668. "type": "string"
  24669. },
  24670. "agreementfrequency": {
  24671. "description": "协议频率 - 1:首次 2:每次 [登录为2, 其它为1]",
  24672. "type": "integer"
  24673. },
  24674. "agreementid": {
  24675. "description": "协议ID(SEQ_QHJ_AGREEMENTCONFIG)",
  24676. "type": "integer"
  24677. },
  24678. "agreementname": {
  24679. "description": "协议名称",
  24680. "type": "string"
  24681. },
  24682. "agreementno": {
  24683. "description": "协议编号",
  24684. "type": "string"
  24685. },
  24686. "agreementtype": {
  24687. "description": "协议类型 - 1:注册 2:登录 3:交易",
  24688. "type": "integer"
  24689. },
  24690. "agreementversion": {
  24691. "description": "协议版本号(从1开始每次修改加1)",
  24692. "type": "integer"
  24693. },
  24694. "createtime": {
  24695. "description": "创建时间",
  24696. "type": "string"
  24697. },
  24698. "creatorid": {
  24699. "description": "创建人",
  24700. "type": "integer"
  24701. },
  24702. "creatorsrc": {
  24703. "description": "创建来源 - 1:管理端 2:终端",
  24704. "type": "integer"
  24705. },
  24706. "isvalid": {
  24707. "description": "是否有效 - 是否有效 - 1:正常 2:停用 3:注销",
  24708. "type": "integer"
  24709. },
  24710. "reviserid": {
  24711. "description": "修改人",
  24712. "type": "integer"
  24713. },
  24714. "revisersrc": {
  24715. "description": "修改来源 - 1:管理端 2:终端",
  24716. "type": "integer"
  24717. },
  24718. "updatetime": {
  24719. "description": "更新时间",
  24720. "type": "string"
  24721. }
  24722. }
  24723. },
  24724. "models.QhjAreaFinanceConfig": {
  24725. "type": "object",
  24726. "properties": {
  24727. "additionalratio": {
  24728. "description": "追加款比例",
  24729. "type": "number"
  24730. },
  24731. "advanceratio": {
  24732. "description": "预付款比例",
  24733. "type": "number"
  24734. },
  24735. "alarmratio": {
  24736. "description": "告警比例",
  24737. "type": "number"
  24738. },
  24739. "consumptiondirectreward": {
  24740. "description": "消费直推奖励值",
  24741. "type": "number"
  24742. },
  24743. "consumptionenabled": {
  24744. "description": "是否启用消费奖励 - 0:不启用 1:启用",
  24745. "type": "integer"
  24746. },
  24747. "consumptionindirectreward": {
  24748. "description": "消费间推奖励值",
  24749. "type": "number"
  24750. },
  24751. "consumptionmodel": {
  24752. "description": "消费奖励方式 - 1:比率 2:固定",
  24753. "type": "integer"
  24754. },
  24755. "customerservicenum": {
  24756. "description": "客服电话",
  24757. "type": "string"
  24758. },
  24759. "dayinterestrate": {
  24760. "description": "日利率",
  24761. "type": "number"
  24762. },
  24763. "disableconsumptiontips": {
  24764. "description": "关闭消费奖励提示",
  24765. "type": "string"
  24766. },
  24767. "modifierid": {
  24768. "description": "修改人ID",
  24769. "type": "integer"
  24770. },
  24771. "modifysrc": {
  24772. "description": "审核来源 - 1:管理端 2:终端",
  24773. "type": "integer"
  24774. },
  24775. "modifytime": {
  24776. "description": "修改时间",
  24777. "type": "string"
  24778. },
  24779. "promotionvalue": {
  24780. "description": "推广奖励值(固定)",
  24781. "type": "number"
  24782. },
  24783. "scoreconfigvalue1": {
  24784. "description": "提货积分配置1",
  24785. "type": "integer"
  24786. },
  24787. "scoreconfigvalue2": {
  24788. "description": "提货积分配置2",
  24789. "type": "integer"
  24790. },
  24791. "userid": {
  24792. "description": "机构用户ID其他做市关系,都设置为 1",
  24793. "type": "integer"
  24794. },
  24795. "username": {
  24796. "description": "用户名称",
  24797. "type": "string"
  24798. }
  24799. }
  24800. },
  24801. "models.QhjBankAccountSign": {
  24802. "type": "object",
  24803. "properties": {
  24804. "accountcode": {
  24805. "description": "资金账号",
  24806. "type": "string"
  24807. },
  24808. "accountname": {
  24809. "description": "资金账号对应的账号名(UserName)",
  24810. "type": "string"
  24811. },
  24812. "accountname2": {
  24813. "description": "资金账号对应的账号名(UserName) - 密文",
  24814. "type": "string"
  24815. },
  24816. "accounttype": {
  24817. "description": "账户类型(UserType)",
  24818. "type": "integer"
  24819. },
  24820. "applicationtime": {
  24821. "description": "最后一次更新的时间",
  24822. "type": "string"
  24823. },
  24824. "applyexchticket": {
  24825. "description": "申请流水",
  24826. "type": "string"
  24827. },
  24828. "auditid": {
  24829. "description": "审核人",
  24830. "type": "integer"
  24831. },
  24832. "audittime": {
  24833. "description": "审核时间",
  24834. "type": "string"
  24835. },
  24836. "bankaccountname": {
  24837. "description": "签约银行卡账号名",
  24838. "type": "string"
  24839. },
  24840. "bankaccountname2": {
  24841. "description": "签约银行卡账号名 - 密文",
  24842. "type": "string"
  24843. },
  24844. "bankaccountno": {
  24845. "description": "银行卡号",
  24846. "type": "string"
  24847. },
  24848. "bankaccountno2": {
  24849. "description": "银行卡号 - 密文",
  24850. "type": "string"
  24851. },
  24852. "bankaccounttype": {
  24853. "description": "银行账户类型 - 1-对私; 2-对公",
  24854. "type": "integer"
  24855. },
  24856. "bankcardtype": {
  24857. "description": "银行卡类型",
  24858. "type": "integer"
  24859. },
  24860. "bankchildaccount": {
  24861. "description": "银行子账号(签约成功后,很多银行会返回对应的这个虚拟账号)",
  24862. "type": "string"
  24863. },
  24864. "bankcity": {
  24865. "description": "开户行城市",
  24866. "type": "string"
  24867. },
  24868. "bankid": {
  24869. "description": "签约银行ID",
  24870. "type": "string"
  24871. },
  24872. "bankname": {
  24873. "description": "签约银行名称",
  24874. "type": "string"
  24875. },
  24876. "bankprovince": {
  24877. "description": "开户行省份",
  24878. "type": "string"
  24879. },
  24880. "branchbankid": {
  24881. "description": "签约银行支行号",
  24882. "type": "string"
  24883. },
  24884. "branchbankname": {
  24885. "description": "签约银行支行名称",
  24886. "type": "string"
  24887. },
  24888. "cardno": {
  24889. "description": "证件号码",
  24890. "type": "string"
  24891. },
  24892. "cardno2": {
  24893. "description": "证件号码 - 密文",
  24894. "type": "string"
  24895. },
  24896. "cardtype": {
  24897. "description": "证件类型",
  24898. "type": "string"
  24899. },
  24900. "currency": {
  24901. "description": "币种",
  24902. "type": "string"
  24903. },
  24904. "cusbankid": {
  24905. "description": "托管银行编号",
  24906. "type": "string"
  24907. },
  24908. "direct": {
  24909. "description": "方向(可以判断那方先发起的签约)",
  24910. "type": "integer"
  24911. },
  24912. "exchticket": {
  24913. "description": "最后一次签约成功的流水号",
  24914. "type": "string"
  24915. },
  24916. "extendinfo": {
  24917. "description": "扩展信息(JSON字符串)",
  24918. "type": "string"
  24919. },
  24920. "mobilephone": {
  24921. "description": "手机号",
  24922. "type": "string"
  24923. },
  24924. "mobilephone2": {
  24925. "description": "手机号 - 密文",
  24926. "type": "string"
  24927. },
  24928. "netaddr": {
  24929. "description": "调转网址",
  24930. "type": "string"
  24931. },
  24932. "relateduserid": {
  24933. "description": "关联使用者userid",
  24934. "type": "integer"
  24935. },
  24936. "signstatus": {
  24937. "description": "签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中 10:审核拒绝 11:换签待审核",
  24938. "type": "integer"
  24939. },
  24940. "updatetime": {
  24941. "description": "更新时间(签解约更新时间)",
  24942. "type": "string"
  24943. }
  24944. }
  24945. },
  24946. "models.QhjBankInfo": {
  24947. "type": "object",
  24948. "properties": {
  24949. "bankid": {
  24950. "description": "银行ID",
  24951. "type": "string"
  24952. },
  24953. "bankname": {
  24954. "description": "银行名称",
  24955. "type": "string"
  24956. },
  24957. "clearbankno": {
  24958. "description": "清算系统银行编号",
  24959. "type": "string"
  24960. },
  24961. "orderindex": {
  24962. "description": "排序顺序",
  24963. "type": "integer"
  24964. },
  24965. "status": {
  24966. "description": "状态 - 0:正常 1:注销",
  24967. "type": "integer"
  24968. }
  24969. }
  24970. },
  24971. "models.QhjBrokerApply": {
  24972. "type": "object",
  24973. "properties": {
  24974. "applicantid": {
  24975. "description": "申请人",
  24976. "type": "integer"
  24977. },
  24978. "applysrc": {
  24979. "description": "申请来源 - 1:管理端 2:终端",
  24980. "type": "integer"
  24981. },
  24982. "applystatus": {
  24983. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  24984. "type": "integer"
  24985. },
  24986. "applytime": {
  24987. "description": "申请时间",
  24988. "type": "string"
  24989. },
  24990. "auditorid": {
  24991. "description": "审核人",
  24992. "type": "integer"
  24993. },
  24994. "auditremark": {
  24995. "description": "审核备注",
  24996. "type": "string"
  24997. },
  24998. "auditsrc": {
  24999. "description": "审核来源 - 1:管理端 2:终端",
  25000. "type": "integer"
  25001. },
  25002. "audittime": {
  25003. "description": "审核时间",
  25004. "type": "string"
  25005. },
  25006. "audittradedate": {
  25007. "description": "审核交易日(yyyyMMdd)",
  25008. "type": "string"
  25009. },
  25010. "brokerapplyid": {
  25011. "description": "申请ID(SEQ_BROKERAPPLY)",
  25012. "type": "integer"
  25013. },
  25014. "cardbackphotourl": {
  25015. "description": "证件背面图片地址",
  25016. "type": "string"
  25017. },
  25018. "cardfrontphotourl": {
  25019. "description": "证件正面图片地址",
  25020. "type": "string"
  25021. },
  25022. "cardnum": {
  25023. "description": "证件号码(加密存储) 注:数据库没存证件类型字段,产品说类型固定为身份证",
  25024. "type": "string"
  25025. },
  25026. "customername": {
  25027. "description": "姓名",
  25028. "type": "string"
  25029. },
  25030. "logincode": {
  25031. "description": "登录代码",
  25032. "type": "string"
  25033. },
  25034. "mobile": {
  25035. "description": "手机号码",
  25036. "type": "string"
  25037. },
  25038. "parentuserid": {
  25039. "description": "所属机构id",
  25040. "type": "integer"
  25041. },
  25042. "parentusername": {
  25043. "description": "所属机构名称",
  25044. "type": "string"
  25045. },
  25046. "refereeuserid": {
  25047. "description": "推荐人id(经纪人)",
  25048. "type": "integer"
  25049. },
  25050. "refernum": {
  25051. "description": "推荐码",
  25052. "type": "string"
  25053. },
  25054. "remark": {
  25055. "description": "备注",
  25056. "type": "string"
  25057. },
  25058. "subarealevelpath": {
  25059. "description": "层级路径",
  25060. "type": "string"
  25061. },
  25062. "tradedate": {
  25063. "description": "交易日(yyyyMMdd)",
  25064. "type": "string"
  25065. },
  25066. "userid": {
  25067. "description": "申请人用户ID",
  25068. "type": "integer"
  25069. },
  25070. "userinfotype": {
  25071. "description": "用户类型 1-个人 2-企业",
  25072. "type": "integer"
  25073. },
  25074. "username": {
  25075. "description": "用户名称",
  25076. "type": "string"
  25077. }
  25078. }
  25079. },
  25080. "models.QhjBrokerApplyEx": {
  25081. "type": "object",
  25082. "properties": {
  25083. "applylist": {
  25084. "description": "经纪人申请记录(只返回最新一条)",
  25085. "type": "array",
  25086. "items": {
  25087. "$ref": "#/definitions/models.QhjBrokerApply"
  25088. }
  25089. },
  25090. "canrecommend": {
  25091. "description": "是否经纪人 0-不是 1-是",
  25092. "type": "integer"
  25093. },
  25094. "refernum": {
  25095. "description": "推荐码",
  25096. "type": "string"
  25097. },
  25098. "userid": {
  25099. "description": "用户id",
  25100. "type": "integer"
  25101. },
  25102. "userinfotype": {
  25103. "description": "用户类型 1-个人 2-企业",
  25104. "type": "integer"
  25105. }
  25106. }
  25107. },
  25108. "models.QhjBrokerRewardLog": {
  25109. "type": "object",
  25110. "properties": {
  25111. "accountid": {
  25112. "description": "资金账号ID",
  25113. "type": "integer"
  25114. },
  25115. "createtime": {
  25116. "description": "创建时间(时间)",
  25117. "type": "string"
  25118. },
  25119. "handlestatus": {
  25120. "description": "处理状态",
  25121. "type": "integer"
  25122. },
  25123. "logid": {
  25124. "description": "奖励流水ID(912+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  25125. "type": "string"
  25126. },
  25127. "marketid": {
  25128. "description": "市场ID",
  25129. "type": "integer"
  25130. },
  25131. "mmaccountid": {
  25132. "description": "做市商资金账号ID",
  25133. "type": "string"
  25134. },
  25135. "mmuserid": {
  25136. "description": "做市商用户ID",
  25137. "type": "string"
  25138. },
  25139. "rewardamount": {
  25140. "description": "奖励金额",
  25141. "type": "number"
  25142. },
  25143. "rewardmodel": {
  25144. "description": "消费奖励方式 - 1:比率 2:固定",
  25145. "type": "integer"
  25146. },
  25147. "rewardtype": {
  25148. "description": "奖励类型 - 1:推广 2:消费1级 3:消费2级",
  25149. "type": "integer"
  25150. },
  25151. "rewardvalue": {
  25152. "description": "配置奖励值",
  25153. "type": "number"
  25154. },
  25155. "srcamount": {
  25156. "description": "成交金额 [消费奖励] (金额)",
  25157. "type": "number"
  25158. },
  25159. "srcgoodsid": {
  25160. "description": "来源商品ID [消费奖励]",
  25161. "type": "string"
  25162. },
  25163. "srctime": {
  25164. "description": "来源时间 (成交时间) [消费奖励]",
  25165. "type": "string"
  25166. },
  25167. "srctradeid": {
  25168. "description": "来源成交单ID [消费奖励] - 排除提货成交",
  25169. "type": "string"
  25170. },
  25171. "srcuserid": {
  25172. "description": "来源用户ID(推广账户)",
  25173. "type": "string"
  25174. },
  25175. "srcusername": {
  25176. "description": "推广账户名称",
  25177. "type": "string"
  25178. },
  25179. "tradedate": {
  25180. "description": "交易日(yyyyMMdd)",
  25181. "type": "string"
  25182. },
  25183. "userid": {
  25184. "description": "经纪人用户ID",
  25185. "type": "integer"
  25186. }
  25187. }
  25188. },
  25189. "models.QhjContract": {
  25190. "type": "object",
  25191. "properties": {
  25192. "contractconfirmtime": {
  25193. "description": "合同确认时间(时间)",
  25194. "type": "string"
  25195. },
  25196. "currisklevel": {
  25197. "description": "风险级别 - 1:正常 2:追加货款 3:支付尾款",
  25198. "type": "integer"
  25199. },
  25200. "decimalplace": {
  25201. "description": "商品报价小数位",
  25202. "type": "integer"
  25203. },
  25204. "enumdicname": {
  25205. "description": "单位名称",
  25206. "type": "string"
  25207. },
  25208. "goodscode": {
  25209. "description": "商品代码",
  25210. "type": "string"
  25211. },
  25212. "goodsid": {
  25213. "description": "商品ID [5:融资单]",
  25214. "type": "integer"
  25215. },
  25216. "goodsname": {
  25217. "description": "商品名称",
  25218. "type": "string"
  25219. },
  25220. "goodunitid": {
  25221. "description": "商品单位id",
  25222. "type": "integer"
  25223. },
  25224. "initmargin": {
  25225. "description": "初始保证金(首付款)",
  25226. "type": "number"
  25227. },
  25228. "lenderamount": {
  25229. "description": "贷款金额(总额|订单总额)",
  25230. "type": "number"
  25231. },
  25232. "marginratio": {
  25233. "description": "保证金比率(首付比例)",
  25234. "type": "number"
  25235. },
  25236. "payamount": {
  25237. "description": "已付(已付货款)",
  25238. "type": "number"
  25239. },
  25240. "reckonrecovermargin": {
  25241. "description": "结算应追缴保底金(结算时到过风险率时临时存储) - [仓单回购\\仓单质押]",
  25242. "type": "number"
  25243. },
  25244. "recoveredmargin": {
  25245. "description": "已追缴保证金",
  25246. "type": "number"
  25247. },
  25248. "remainamount": {
  25249. "description": "合同剩余金额(融资额)",
  25250. "type": "number"
  25251. },
  25252. "scfcontractid": {
  25253. "description": "SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)",
  25254. "type": "string"
  25255. },
  25256. "scfcontractstatus": {
  25257. "description": "合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束 9:违约结束 10:已注销 11:已关闭 99:未提交",
  25258. "type": "integer"
  25259. },
  25260. "scfcontracttype": {
  25261. "description": "合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单",
  25262. "type": "integer"
  25263. },
  25264. "totalinterest": {
  25265. "description": "已计总利息(利息)",
  25266. "type": "number"
  25267. },
  25268. "tradeprice": {
  25269. "description": "成交价格(成本价格)",
  25270. "type": "number"
  25271. },
  25272. "userid": {
  25273. "description": "用户ID",
  25274. "type": "integer"
  25275. },
  25276. "username": {
  25277. "description": "用户名称",
  25278. "type": "string"
  25279. },
  25280. "wrqty": {
  25281. "description": "仓单数量(数量)",
  25282. "type": "number"
  25283. }
  25284. }
  25285. },
  25286. "models.QhjContractLog": {
  25287. "type": "object",
  25288. "properties": {
  25289. "amount": {
  25290. "description": "支付金额",
  25291. "type": "number"
  25292. },
  25293. "amounttype": {
  25294. "description": "资金类型 - 1:首付款 2:尾款 3:利息 4:追加款",
  25295. "type": "integer"
  25296. },
  25297. "logid": {
  25298. "description": "LogID(315+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  25299. "type": "string"
  25300. },
  25301. "remainamount": {
  25302. "description": "剩余货款",
  25303. "type": "number"
  25304. },
  25305. "scfcontractid": {
  25306. "description": "SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)",
  25307. "type": "integer"
  25308. },
  25309. "updatetime": {
  25310. "description": "更新时间",
  25311. "type": "string"
  25312. }
  25313. }
  25314. },
  25315. "models.QhjCusBankSignBankEx": {
  25316. "type": "object",
  25317. "properties": {
  25318. "banklst": {
  25319. "description": "银行列表",
  25320. "type": "array",
  25321. "items": {
  25322. "$ref": "#/definitions/models.QhjBankInfo"
  25323. }
  25324. },
  25325. "canallot": {
  25326. "description": "是否支持跨行调拨 - 0:不支持 1:支持",
  25327. "type": "integer"
  25328. },
  25329. "canallotquery": {
  25330. "description": "是否支持跨行调拨查询 - 0:不支持 1:支持",
  25331. "type": "integer"
  25332. },
  25333. "canbindcard": {
  25334. "description": "是否可绑卡与解卡 - 0:不可 1:可以",
  25335. "type": "integer"
  25336. },
  25337. "caninamount": {
  25338. "description": "是否可入金 - 0:不可 1:可以",
  25339. "type": "integer"
  25340. },
  25341. "caninamount2": {
  25342. "description": "是否可入金(网银端) - 0:不可 1:可以",
  25343. "type": "integer"
  25344. },
  25345. "canmodifybankcard": {
  25346. "description": "是否可修改银行卡号 - 0:不可 1:可以",
  25347. "type": "integer"
  25348. },
  25349. "canmodifyphone": {
  25350. "description": "是否可修改手机号 - 0:不可 1:可以",
  25351. "type": "integer"
  25352. },
  25353. "canmodifysigninfo": {
  25354. "description": "是否可修改签约信息 - 0:不可 1:可以",
  25355. "type": "integer"
  25356. },
  25357. "canoutamount": {
  25358. "description": "是否可出金 - 0:不可 1:可以",
  25359. "type": "integer"
  25360. },
  25361. "canoutamount2": {
  25362. "description": "是否可出金(网银端) - 0:不可 1:可以",
  25363. "type": "integer"
  25364. },
  25365. "canrelease": {
  25366. "description": "是否可解约 - 0:不可 1:可以",
  25367. "type": "integer"
  25368. },
  25369. "canrelease2": {
  25370. "description": "是否可解约(网银端) - 0:不可 1:可以",
  25371. "type": "integer"
  25372. },
  25373. "cansign": {
  25374. "description": "是否可签约 - 0:不可 1:可以",
  25375. "type": "integer"
  25376. },
  25377. "cansign2": {
  25378. "description": "是否可签约(网银端) - 0:不可 1:可以",
  25379. "type": "integer"
  25380. },
  25381. "currency": {
  25382. "description": "币种",
  25383. "type": "string"
  25384. },
  25385. "cusbankid": {
  25386. "description": "托管银行编号(对应清算中心TRAN_NO)",
  25387. "type": "string"
  25388. },
  25389. "cusbankname": {
  25390. "description": "银行业务名称",
  25391. "type": "string"
  25392. },
  25393. "cusbankshortname": {
  25394. "description": "银行业务简称",
  25395. "type": "string"
  25396. },
  25397. "exchbankid": {
  25398. "description": "交易所开户银行ID",
  25399. "type": "string"
  25400. },
  25401. "exchpaybankaccname": {
  25402. "description": "交易所支出结算账户户名",
  25403. "type": "string"
  25404. },
  25405. "exchpaybankaccno": {
  25406. "description": "交易所支出结算账户",
  25407. "type": "string"
  25408. },
  25409. "isneedcheck": {
  25410. "description": "是否需要对账 - 0:需要 1:不需要 [不需要界面配置]",
  25411. "type": "integer"
  25412. },
  25413. "isneedclear": {
  25414. "description": "是否需要清算 - 0:不需要 1:需要",
  25415. "type": "integer"
  25416. },
  25417. "lastcheckstatus": {
  25418. "description": "最后对账状态 - 对账状态 - 1:未对账 2:对账成功 3:对账失败",
  25419. "type": "integer"
  25420. },
  25421. "lastchecktime": {
  25422. "description": "最后对账时间",
  25423. "type": "string"
  25424. },
  25425. "lastclearstatus": {
  25426. "description": "最后清算状态 - 1:未清算 2:清算成功 3:清算失败 4:清算部分成功",
  25427. "type": "integer"
  25428. },
  25429. "lastcleartime": {
  25430. "description": "最后清算时间",
  25431. "type": "string"
  25432. },
  25433. "lastsignintime": {
  25434. "description": "最后签到时间",
  25435. "type": "string"
  25436. },
  25437. "lastsignouttime": {
  25438. "description": "最后签退时间",
  25439. "type": "string"
  25440. },
  25441. "riskinfo": {
  25442. "description": "签约风险提示书",
  25443. "type": "string"
  25444. },
  25445. "signstatus": {
  25446. "description": "当前签到/签退状态 - 1:签到 2:签退",
  25447. "type": "integer"
  25448. },
  25449. "tradedate": {
  25450. "description": "交易日(yyyyMMdd)",
  25451. "type": "string"
  25452. },
  25453. "updatetime": {
  25454. "description": "当前签到/签退更新时间",
  25455. "type": "string"
  25456. }
  25457. }
  25458. },
  25459. "models.QhjCustomer": {
  25460. "type": "object",
  25461. "properties": {
  25462. "address": {
  25463. "description": "通讯地址",
  25464. "type": "string"
  25465. },
  25466. "attachment1": {
  25467. "description": "附件1",
  25468. "type": "string"
  25469. },
  25470. "audittime": {
  25471. "description": "审核时间",
  25472. "type": "string"
  25473. },
  25474. "cardbackphotourl": {
  25475. "description": "证件反面图片地址",
  25476. "type": "string"
  25477. },
  25478. "cardfrontphotourl": {
  25479. "description": "证件正面图片地址",
  25480. "type": "string"
  25481. },
  25482. "cardnum": {
  25483. "description": "证件号码",
  25484. "type": "string"
  25485. },
  25486. "cardtype": {
  25487. "description": "证件类型",
  25488. "type": "integer"
  25489. },
  25490. "cardtypename": {
  25491. "description": "证件类型名称",
  25492. "type": "string"
  25493. },
  25494. "cityid": {
  25495. "description": "市",
  25496. "type": "integer"
  25497. },
  25498. "cityname": {
  25499. "description": "城市名称",
  25500. "type": "string"
  25501. },
  25502. "contactname": {
  25503. "description": "联系人",
  25504. "type": "string"
  25505. },
  25506. "countryid": {
  25507. "description": "国家",
  25508. "type": "integer"
  25509. },
  25510. "countryname": {
  25511. "description": "国家名称",
  25512. "type": "string"
  25513. },
  25514. "createtime": {
  25515. "description": "创建时间",
  25516. "type": "string"
  25517. },
  25518. "customername": {
  25519. "description": "客户名称",
  25520. "type": "string"
  25521. },
  25522. "districtid": {
  25523. "description": "区域",
  25524. "type": "integer"
  25525. },
  25526. "districtname": {
  25527. "description": "地区名称",
  25528. "type": "string"
  25529. },
  25530. "email": {
  25531. "description": "邮件",
  25532. "type": "string"
  25533. },
  25534. "legalpersonname": {
  25535. "description": "法人姓名(企业)",
  25536. "type": "string"
  25537. },
  25538. "logincode": {
  25539. "description": "登录账号(代码)",
  25540. "type": "string"
  25541. },
  25542. "memberuserid": {
  25543. "description": "所属机构ID(所属会员)",
  25544. "type": "integer"
  25545. },
  25546. "memberusername": {
  25547. "description": "所属会员名称",
  25548. "type": "string"
  25549. },
  25550. "mobile": {
  25551. "description": "手机号码",
  25552. "type": "string"
  25553. },
  25554. "modifytime": {
  25555. "description": "修改时间",
  25556. "type": "string"
  25557. },
  25558. "nickname": {
  25559. "description": "昵称",
  25560. "type": "string"
  25561. },
  25562. "parentuserid": {
  25563. "description": "上级机构(所属机构)",
  25564. "type": "integer"
  25565. },
  25566. "parentusername": {
  25567. "description": "所属机构名称",
  25568. "type": "string"
  25569. },
  25570. "provinceid": {
  25571. "description": "省",
  25572. "type": "integer"
  25573. },
  25574. "provincename": {
  25575. "description": "省名称",
  25576. "type": "string"
  25577. },
  25578. "proxystatementurl": {
  25579. "description": "授权委托书",
  25580. "type": "string"
  25581. },
  25582. "remark": {
  25583. "description": "备注",
  25584. "type": "string"
  25585. },
  25586. "status": {
  25587. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销",
  25588. "type": "integer"
  25589. },
  25590. "statusdesc": {
  25591. "description": "账户状态中文描述",
  25592. "type": "string"
  25593. },
  25594. "taxpayernum": {
  25595. "description": "纳税人识别号",
  25596. "type": "string"
  25597. },
  25598. "telphone": {
  25599. "description": "联系电话",
  25600. "type": "string"
  25601. },
  25602. "userid": {
  25603. "description": "用户ID",
  25604. "type": "integer"
  25605. },
  25606. "userinfotype": {
  25607. "description": "客户类型 1-个人 2-企业",
  25608. "type": "integer"
  25609. },
  25610. "username": {
  25611. "description": "用户名称",
  25612. "type": "string"
  25613. }
  25614. }
  25615. },
  25616. "models.QhjCustomerSignLog": {
  25617. "type": "object",
  25618. "properties": {
  25619. "agreementcontent": {
  25620. "description": "协议内容",
  25621. "type": "string"
  25622. },
  25623. "agreementid": {
  25624. "description": "协议ID",
  25625. "type": "integer"
  25626. },
  25627. "agreementname": {
  25628. "description": "协议名称",
  25629. "type": "string"
  25630. },
  25631. "agreementno": {
  25632. "description": "协议编号",
  25633. "type": "string"
  25634. },
  25635. "agreementtype": {
  25636. "description": "协议类型 - 1:注册 2:登录 3:交易",
  25637. "type": "integer"
  25638. },
  25639. "agreementversion": {
  25640. "description": "协议版本号",
  25641. "type": "integer"
  25642. },
  25643. "createtime": {
  25644. "description": "创建时间",
  25645. "type": "string"
  25646. },
  25647. "goodscode": {
  25648. "description": "商品代码",
  25649. "type": "string"
  25650. },
  25651. "goodsid": {
  25652. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  25653. "type": "integer"
  25654. },
  25655. "goodsname": {
  25656. "description": "商品名称",
  25657. "type": "string"
  25658. },
  25659. "logid": {
  25660. "description": "流水ID(SEQ_QHJ_CUSTOMERSIGNLOG)",
  25661. "type": "integer"
  25662. },
  25663. "nodetype": {
  25664. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  25665. "type": "integer"
  25666. },
  25667. "signadressurl": {
  25668. "description": "签约文件地址",
  25669. "type": "string"
  25670. },
  25671. "signtimestamp": {
  25672. "description": "签约状态时间戳",
  25673. "type": "string"
  25674. },
  25675. "userid": {
  25676. "description": "客户ID",
  25677. "type": "integer"
  25678. },
  25679. "username": {
  25680. "description": "客户名称",
  25681. "type": "string"
  25682. }
  25683. }
  25684. },
  25685. "models.QhjCustomerSignStatus": {
  25686. "type": "object",
  25687. "properties": {
  25688. "createtime": {
  25689. "description": "创建时间",
  25690. "type": "string"
  25691. },
  25692. "goodscode": {
  25693. "description": "商品代码",
  25694. "type": "string"
  25695. },
  25696. "goodsid": {
  25697. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  25698. "type": "integer"
  25699. },
  25700. "goodsname": {
  25701. "description": "商品名称",
  25702. "type": "string"
  25703. },
  25704. "nodetype": {
  25705. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出 99:首次交易",
  25706. "type": "integer"
  25707. },
  25708. "signtimestamp": {
  25709. "description": "签约状态时间戳",
  25710. "type": "string"
  25711. },
  25712. "tradedate": {
  25713. "description": "创建交易日(yyyyMMdd)",
  25714. "type": "string"
  25715. },
  25716. "updatetime": {
  25717. "description": "更新时间",
  25718. "type": "string"
  25719. },
  25720. "userid": {
  25721. "description": "客户ID",
  25722. "type": "integer"
  25723. },
  25724. "username": {
  25725. "description": "客户名称",
  25726. "type": "string"
  25727. }
  25728. }
  25729. },
  25730. "models.QhjMgrAccountOutInApply": {
  25731. "type": "object",
  25732. "properties": {
  25733. "accountcode": {
  25734. "description": "资金账号",
  25735. "type": "string"
  25736. },
  25737. "accountname": {
  25738. "description": "用户名称(名称)",
  25739. "type": "string"
  25740. },
  25741. "accountpwd": {
  25742. "description": "资金密码",
  25743. "type": "string"
  25744. },
  25745. "accountticket": {
  25746. "description": "最新账户服务流水号",
  25747. "type": "string"
  25748. },
  25749. "amount": {
  25750. "description": "金额",
  25751. "type": "number"
  25752. },
  25753. "applyremark": {
  25754. "description": "申请备注",
  25755. "type": "string"
  25756. },
  25757. "applystatus": {
  25758. "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: 复审通过,账户冻结金额检查中;",
  25759. "type": "integer"
  25760. },
  25761. "auditid": {
  25762. "description": "审核人",
  25763. "type": "integer"
  25764. },
  25765. "audittime": {
  25766. "description": "审核时间",
  25767. "type": "string"
  25768. },
  25769. "bank_apply_ticket": {
  25770. "description": "银行申请流水",
  25771. "type": "string"
  25772. },
  25773. "bankaccountname": {
  25774. "description": "银行账户名",
  25775. "type": "string"
  25776. },
  25777. "bankaccountno": {
  25778. "description": "银行卡号",
  25779. "type": "string"
  25780. },
  25781. "bankid": {
  25782. "description": "银行编号",
  25783. "type": "string"
  25784. },
  25785. "bankname": {
  25786. "description": "银行名称",
  25787. "type": "string"
  25788. },
  25789. "bankticket": {
  25790. "description": "银行流水",
  25791. "type": "string"
  25792. },
  25793. "branchbankid": {
  25794. "description": "银行支行号",
  25795. "type": "string"
  25796. },
  25797. "branchbankname": {
  25798. "description": "银行支行名称",
  25799. "type": "string"
  25800. },
  25801. "capamountout": {
  25802. "description": "出金(劣后本金) - 外部子账户",
  25803. "type": "number"
  25804. },
  25805. "certificatephotourl": {
  25806. "description": "凭证地址",
  25807. "type": "string"
  25808. },
  25809. "charge": {
  25810. "description": "手续费",
  25811. "type": "number"
  25812. },
  25813. "checkerrorflag": {
  25814. "description": "对账差错标志 - 1:为单边账;其它为正常出入金",
  25815. "type": "integer"
  25816. },
  25817. "currency": {
  25818. "description": "币种",
  25819. "type": "string"
  25820. },
  25821. "cusbankid": {
  25822. "description": "托管银行编号",
  25823. "type": "string"
  25824. },
  25825. "exchticket": {
  25826. "description": "银行服务流水号",
  25827. "type": "string"
  25828. },
  25829. "executetype": {
  25830. "description": "申请类型 - 1:出金 2:入金 3: 单边账调整:入金; 4:单边账调整:出金 5:外部母账户调整:入金 6:外部母账户调整:出金 7:外部子账户:入金 8:外部子账户:出金",
  25831. "type": "integer"
  25832. },
  25833. "extendinfo": {
  25834. "description": "扩展信息",
  25835. "type": "string"
  25836. },
  25837. "extoperateid": {
  25838. "description": "交易服务流水号",
  25839. "type": "integer"
  25840. },
  25841. "infamount": {
  25842. "description": "劣后金额(自有)",
  25843. "type": "number"
  25844. },
  25845. "logincode": {
  25846. "description": "登录账号(账号)",
  25847. "type": "string"
  25848. },
  25849. "netaddr": {
  25850. "description": "调转网址",
  25851. "type": "string"
  25852. },
  25853. "priamount": {
  25854. "description": "优先金额(授信)",
  25855. "type": "number"
  25856. },
  25857. "reauditid": {
  25858. "description": "复审人",
  25859. "type": "integer"
  25860. },
  25861. "reauditremark": {
  25862. "description": "复审备注",
  25863. "type": "string"
  25864. },
  25865. "reaudittime": {
  25866. "description": "复审时间",
  25867. "type": "string"
  25868. },
  25869. "relatedorderid": {
  25870. "description": "三方关联ID",
  25871. "type": "string"
  25872. },
  25873. "remark": {
  25874. "description": "备注",
  25875. "type": "string"
  25876. },
  25877. "remark2": {
  25878. "description": "备注(失败原因)",
  25879. "type": "string"
  25880. },
  25881. "soucreamount": {
  25882. "description": "原始出入金金额",
  25883. "type": "number"
  25884. },
  25885. "soucrecurrencyid": {
  25886. "description": "原始出入金币种",
  25887. "type": "integer"
  25888. },
  25889. "tradedate": {
  25890. "description": "交易日(yyyyMMdd)",
  25891. "type": "string"
  25892. },
  25893. "updatetime": {
  25894. "description": "更新时间(申请时间)",
  25895. "type": "string"
  25896. },
  25897. "userid": {
  25898. "description": "用户id",
  25899. "type": "integer"
  25900. },
  25901. "userinfotype": {
  25902. "description": "账户类型 1-个人 2-企业",
  25903. "type": "integer"
  25904. }
  25905. }
  25906. },
  25907. "models.QhjMgrBrokerApply": {
  25908. "type": "object",
  25909. "properties": {
  25910. "applicantid": {
  25911. "description": "申请人",
  25912. "type": "integer"
  25913. },
  25914. "applysrc": {
  25915. "description": "申请来源 - 1:管理端 2:终端",
  25916. "type": "integer"
  25917. },
  25918. "applystatus": {
  25919. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  25920. "type": "integer"
  25921. },
  25922. "applytime": {
  25923. "description": "申请时间",
  25924. "type": "string"
  25925. },
  25926. "auditorid": {
  25927. "description": "审核人",
  25928. "type": "integer"
  25929. },
  25930. "auditremark": {
  25931. "description": "审核备注",
  25932. "type": "string"
  25933. },
  25934. "auditsrc": {
  25935. "description": "审核来源 - 1:管理端 2:终端",
  25936. "type": "integer"
  25937. },
  25938. "audittime": {
  25939. "description": "审核时间",
  25940. "type": "string"
  25941. },
  25942. "audittradedate": {
  25943. "description": "审核交易日(yyyyMMdd)",
  25944. "type": "string"
  25945. },
  25946. "brokerapplyid": {
  25947. "description": "申请ID(SEQ_BROKERAPPLY)",
  25948. "type": "integer"
  25949. },
  25950. "cardbackphotourl": {
  25951. "description": "证件背面图片地址",
  25952. "type": "string"
  25953. },
  25954. "cardfrontphotourl": {
  25955. "description": "证件正面图片地址",
  25956. "type": "string"
  25957. },
  25958. "cardnum": {
  25959. "description": "证件号码(加密存储) 注:数据库没存证件类型字段,产品说类型固定为身份证",
  25960. "type": "string"
  25961. },
  25962. "customername": {
  25963. "description": "姓名",
  25964. "type": "string"
  25965. },
  25966. "filterstatus": {
  25967. "description": "筛选条件",
  25968. "type": "string"
  25969. },
  25970. "logincode": {
  25971. "description": "登录代码",
  25972. "type": "string"
  25973. },
  25974. "mobile": {
  25975. "description": "手机号码",
  25976. "type": "string"
  25977. },
  25978. "parentuserid": {
  25979. "description": "所属机构id",
  25980. "type": "integer"
  25981. },
  25982. "parentusername": {
  25983. "description": "所属机构名称",
  25984. "type": "string"
  25985. },
  25986. "refereeuserid": {
  25987. "description": "推荐人id(经纪人)",
  25988. "type": "integer"
  25989. },
  25990. "refernum": {
  25991. "description": "推荐码",
  25992. "type": "string"
  25993. },
  25994. "remark": {
  25995. "description": "备注",
  25996. "type": "string"
  25997. },
  25998. "subarealevelpath": {
  25999. "description": "层级路径",
  26000. "type": "string"
  26001. },
  26002. "tradedate": {
  26003. "description": "交易日(yyyyMMdd)",
  26004. "type": "string"
  26005. },
  26006. "userid": {
  26007. "description": "申请人用户ID",
  26008. "type": "integer"
  26009. },
  26010. "userinfotype": {
  26011. "description": "用户类型 1-个人 2-企业",
  26012. "type": "integer"
  26013. },
  26014. "username": {
  26015. "description": "用户名称",
  26016. "type": "string"
  26017. }
  26018. }
  26019. },
  26020. "models.QhjMgrBrokerRewardReport": {
  26021. "type": "object",
  26022. "properties": {
  26023. "createtime": {
  26024. "description": "创建时间(注册时间)",
  26025. "type": "string"
  26026. },
  26027. "cycletime": {
  26028. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD) 全(0)【原值】",
  26029. "type": "string"
  26030. },
  26031. "cycletype": {
  26032. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  26033. "type": "integer"
  26034. },
  26035. "directtotalnum": {
  26036. "description": "直推总人数【期末】",
  26037. "type": "integer"
  26038. },
  26039. "indirecttotalnum": {
  26040. "description": "间推总人数【期末】",
  26041. "type": "integer"
  26042. },
  26043. "mobile": {
  26044. "description": "电话号码",
  26045. "type": "string"
  26046. },
  26047. "refereeuserid": {
  26048. "description": "推荐人id(经纪人id)",
  26049. "type": "integer"
  26050. },
  26051. "refereeusername": {
  26052. "description": "推荐人名称(经纪人) 上级经纪人名称",
  26053. "type": "string"
  26054. },
  26055. "refernum": {
  26056. "description": "推荐码",
  26057. "type": "string"
  26058. },
  26059. "subarealevelpath": {
  26060. "description": "用户层级路径",
  26061. "type": "string"
  26062. },
  26063. "todayrewardamount": {
  26064. "description": "奖励总金额【汇总】",
  26065. "type": "number"
  26066. },
  26067. "updatetime": {
  26068. "description": "更新时间",
  26069. "type": "string"
  26070. },
  26071. "userid": {
  26072. "description": "经纪人用户ID",
  26073. "type": "integer"
  26074. },
  26075. "userinfotype": {
  26076. "description": "用户类型 1-个人 2-企业",
  26077. "type": "integer"
  26078. },
  26079. "username": {
  26080. "description": "用户名称",
  26081. "type": "string"
  26082. }
  26083. }
  26084. },
  26085. "models.QhjMgrContract": {
  26086. "type": "object",
  26087. "properties": {
  26088. "contractconfirmtime": {
  26089. "description": "合同确认时间(时间)",
  26090. "type": "string"
  26091. },
  26092. "currisklevel": {
  26093. "description": "风险级别 - 1:正常 2:追加货款 3:支付尾款",
  26094. "type": "integer"
  26095. },
  26096. "decimalplace": {
  26097. "description": "商品报价小数位",
  26098. "type": "integer"
  26099. },
  26100. "enumdicname": {
  26101. "description": "单位名称",
  26102. "type": "string"
  26103. },
  26104. "goodscode": {
  26105. "description": "商品代码",
  26106. "type": "string"
  26107. },
  26108. "goodsid": {
  26109. "description": "商品ID [5:融资单]",
  26110. "type": "integer"
  26111. },
  26112. "goodsname": {
  26113. "description": "商品名称",
  26114. "type": "string"
  26115. },
  26116. "goodunitid": {
  26117. "description": "商品单位id",
  26118. "type": "integer"
  26119. },
  26120. "initmargin": {
  26121. "description": "初始保证金(首付款)",
  26122. "type": "number"
  26123. },
  26124. "lenderamount": {
  26125. "description": "贷款金额(总额|订单总额)",
  26126. "type": "number"
  26127. },
  26128. "logincode": {
  26129. "description": "账号(登录代码)",
  26130. "type": "string"
  26131. },
  26132. "marginratio": {
  26133. "description": "保证金比率(首付比例)",
  26134. "type": "number"
  26135. },
  26136. "mobile": {
  26137. "description": "电话号码(用户资料里的电话)",
  26138. "type": "string"
  26139. },
  26140. "payamount": {
  26141. "description": "已付(已付货款)",
  26142. "type": "number"
  26143. },
  26144. "reckonrecovermargin": {
  26145. "description": "结算应追缴保底金(结算时到过风险率时临时存储) - [仓单回购\\仓单质押]",
  26146. "type": "number"
  26147. },
  26148. "recoveredmargin": {
  26149. "description": "已追缴保证金",
  26150. "type": "number"
  26151. },
  26152. "remainamount": {
  26153. "description": "合同剩余金额(融资额)",
  26154. "type": "number"
  26155. },
  26156. "scfcontractid": {
  26157. "description": "SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)",
  26158. "type": "string"
  26159. },
  26160. "scfcontractstatus": {
  26161. "description": "合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束 9:违约结束 10:已注销 11:已关闭 99:未提交",
  26162. "type": "integer"
  26163. },
  26164. "scfcontracttype": {
  26165. "description": "合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单",
  26166. "type": "integer"
  26167. },
  26168. "totalinterest": {
  26169. "description": "已计总利息(利息)",
  26170. "type": "number"
  26171. },
  26172. "tradedate": {
  26173. "description": "交易日",
  26174. "type": "string"
  26175. },
  26176. "tradeprice": {
  26177. "description": "成交价格(成本价格)",
  26178. "type": "number"
  26179. },
  26180. "userid": {
  26181. "description": "用户ID",
  26182. "type": "integer"
  26183. },
  26184. "userinfotype": {
  26185. "description": "用户类型 1-个人 2-企业",
  26186. "type": "integer"
  26187. },
  26188. "username": {
  26189. "description": "用户名称",
  26190. "type": "string"
  26191. },
  26192. "wrqty": {
  26193. "description": "仓单数量(数量)",
  26194. "type": "number"
  26195. }
  26196. }
  26197. },
  26198. "models.QhjMgrCustomer": {
  26199. "type": "object",
  26200. "properties": {
  26201. "address": {
  26202. "description": "通讯地址",
  26203. "type": "string"
  26204. },
  26205. "attachment1": {
  26206. "description": "附件1",
  26207. "type": "string"
  26208. },
  26209. "audittime": {
  26210. "description": "审核时间",
  26211. "type": "string"
  26212. },
  26213. "cardbackphotourl": {
  26214. "description": "证件反面图片地址",
  26215. "type": "string"
  26216. },
  26217. "cardfrontphotourl": {
  26218. "description": "证件正面图片地址",
  26219. "type": "string"
  26220. },
  26221. "cardnum": {
  26222. "description": "证件号码",
  26223. "type": "string"
  26224. },
  26225. "cardtype": {
  26226. "description": "证件类型",
  26227. "type": "integer"
  26228. },
  26229. "cardtypename": {
  26230. "description": "证件类型名称",
  26231. "type": "string"
  26232. },
  26233. "cityid": {
  26234. "description": "市",
  26235. "type": "integer"
  26236. },
  26237. "cityname": {
  26238. "description": "城市名称",
  26239. "type": "string"
  26240. },
  26241. "contactname": {
  26242. "description": "联系人",
  26243. "type": "string"
  26244. },
  26245. "countryid": {
  26246. "description": "国家",
  26247. "type": "integer"
  26248. },
  26249. "countryname": {
  26250. "description": "国家名称",
  26251. "type": "string"
  26252. },
  26253. "createtime": {
  26254. "description": "创建时间",
  26255. "type": "string"
  26256. },
  26257. "customername": {
  26258. "description": "客户名称",
  26259. "type": "string"
  26260. },
  26261. "districtid": {
  26262. "description": "区域",
  26263. "type": "integer"
  26264. },
  26265. "districtname": {
  26266. "description": "地区名称",
  26267. "type": "string"
  26268. },
  26269. "email": {
  26270. "description": "邮件",
  26271. "type": "string"
  26272. },
  26273. "legalpersonname": {
  26274. "description": "法人姓名(企业)",
  26275. "type": "string"
  26276. },
  26277. "logincode": {
  26278. "description": "登录账号(代码)",
  26279. "type": "string"
  26280. },
  26281. "memberuserid": {
  26282. "description": "所属机构ID(所属会员)",
  26283. "type": "integer"
  26284. },
  26285. "memberusername": {
  26286. "description": "所属会员名称",
  26287. "type": "string"
  26288. },
  26289. "mobile": {
  26290. "description": "手机号码",
  26291. "type": "string"
  26292. },
  26293. "modifytime": {
  26294. "description": "修改时间",
  26295. "type": "string"
  26296. },
  26297. "nickname": {
  26298. "description": "昵称",
  26299. "type": "string"
  26300. },
  26301. "parentuserid": {
  26302. "description": "上级机构(所属机构)",
  26303. "type": "integer"
  26304. },
  26305. "parentusername": {
  26306. "description": "所属机构名称",
  26307. "type": "string"
  26308. },
  26309. "provinceid": {
  26310. "description": "省",
  26311. "type": "integer"
  26312. },
  26313. "provincename": {
  26314. "description": "省名称",
  26315. "type": "string"
  26316. },
  26317. "proxystatementurl": {
  26318. "description": "授权委托书",
  26319. "type": "string"
  26320. },
  26321. "querytype": {
  26322. "description": "查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用",
  26323. "type": "integer"
  26324. },
  26325. "remark": {
  26326. "description": "备注",
  26327. "type": "string"
  26328. },
  26329. "status": {
  26330. "description": "开户状态(网上开户表wskh_userinfo) 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过 ; 账户状态(正式表useraccount) 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  26331. "type": "integer"
  26332. },
  26333. "statusdesc": {
  26334. "description": "账户状态中文描述",
  26335. "type": "string"
  26336. },
  26337. "taxpayernum": {
  26338. "description": "纳税人识别号",
  26339. "type": "string"
  26340. },
  26341. "telphone": {
  26342. "description": "联系电话",
  26343. "type": "string"
  26344. },
  26345. "userid": {
  26346. "description": "用户ID",
  26347. "type": "integer"
  26348. },
  26349. "userinfotype": {
  26350. "description": "客户类型 1-个人 2-企业",
  26351. "type": "integer"
  26352. },
  26353. "username": {
  26354. "description": "用户名称",
  26355. "type": "string"
  26356. }
  26357. }
  26358. },
  26359. "models.QhjMgrPickGoods": {
  26360. "type": "object",
  26361. "properties": {
  26362. "enumdicname": {
  26363. "description": "单位名称(提货商品)",
  26364. "type": "string"
  26365. },
  26366. "goodsid": {
  26367. "description": "商品id",
  26368. "type": "integer"
  26369. },
  26370. "imageaddress": {
  26371. "description": "图片",
  26372. "type": "string"
  26373. },
  26374. "modifierid": {
  26375. "description": "修改人",
  26376. "type": "integer"
  26377. },
  26378. "modifiername": {
  26379. "description": "修改人名称",
  26380. "type": "string"
  26381. },
  26382. "modifysrc": {
  26383. "description": "修改来源 - 1:管理端 2:终端",
  26384. "type": "integer"
  26385. },
  26386. "pickupgoodsagreeunit": {
  26387. "description": "合约乘数",
  26388. "type": "number"
  26389. },
  26390. "pickupgoodsdesc": {
  26391. "description": "描述",
  26392. "type": "string"
  26393. },
  26394. "pickupgoodsid": {
  26395. "description": "提货商品ID",
  26396. "type": "string"
  26397. },
  26398. "pickupgoodsname": {
  26399. "description": "提货商品名称",
  26400. "type": "string"
  26401. },
  26402. "pickupgoodsstatus": {
  26403. "description": "状态 - 1:正常 2:停用 3:注销",
  26404. "type": "integer"
  26405. },
  26406. "pickupgoodsunitid": {
  26407. "description": "单位ID",
  26408. "type": "integer"
  26409. },
  26410. "pickupratio": {
  26411. "description": "提货系数",
  26412. "type": "number"
  26413. },
  26414. "preparedays": {
  26415. "description": "备货期(天)",
  26416. "type": "integer"
  26417. },
  26418. "remark": {
  26419. "description": "备注",
  26420. "type": "string"
  26421. },
  26422. "updatetime": {
  26423. "description": "更新时间",
  26424. "type": "string"
  26425. }
  26426. }
  26427. },
  26428. "models.QhjMgrPositionRsp": {
  26429. "type": "object",
  26430. "properties": {
  26431. "accountid": {
  26432. "description": "账号Id",
  26433. "type": "integer"
  26434. },
  26435. "accountname": {
  26436. "description": "用户名称",
  26437. "type": "string"
  26438. },
  26439. "agreeunit": {
  26440. "description": "合约乘数",
  26441. "type": "number"
  26442. },
  26443. "averageprice": {
  26444. "description": "均价",
  26445. "type": "number"
  26446. },
  26447. "avialqty": {
  26448. "description": "可用数量",
  26449. "type": "number"
  26450. },
  26451. "decimalplace": {
  26452. "description": "报价小数位",
  26453. "type": "integer"
  26454. },
  26455. "enumdicname": {
  26456. "description": "单位名称(商品)",
  26457. "type": "string"
  26458. },
  26459. "frozenqty": {
  26460. "description": "冻结数量",
  26461. "type": "number"
  26462. },
  26463. "goodscode": {
  26464. "description": "商品代码(内部)",
  26465. "type": "string"
  26466. },
  26467. "goodsid": {
  26468. "description": "商品Id",
  26469. "type": "integer"
  26470. },
  26471. "goodsname": {
  26472. "description": "商品名称",
  26473. "type": "string"
  26474. },
  26475. "goodunitid": {
  26476. "description": "报价单位ID",
  26477. "type": "integer"
  26478. },
  26479. "holderamount": {
  26480. "description": "金额",
  26481. "type": "number"
  26482. },
  26483. "holderqty": {
  26484. "description": "持有数量",
  26485. "type": "number"
  26486. },
  26487. "holdertype": {
  26488. "description": "持仓类别 - 1:单边持仓 2:双边持仓",
  26489. "type": "integer"
  26490. },
  26491. "logincode": {
  26492. "description": "登录代码(账户)",
  26493. "type": "string"
  26494. },
  26495. "marketid": {
  26496. "description": "市场id",
  26497. "type": "integer"
  26498. },
  26499. "qtydecimalplace": {
  26500. "description": "成交量小数位",
  26501. "type": "integer"
  26502. },
  26503. "trademode": {
  26504. "description": "交易模式",
  26505. "type": "integer"
  26506. },
  26507. "userid": {
  26508. "description": "用户id",
  26509. "type": "integer"
  26510. },
  26511. "userinfotype": {
  26512. "description": "账户类型 1-个人 2-企业",
  26513. "type": "integer"
  26514. }
  26515. }
  26516. },
  26517. "models.QhjMgrSubArea": {
  26518. "type": "object",
  26519. "properties": {
  26520. "accountname": {
  26521. "description": "账户名称(机构名称)",
  26522. "type": "string"
  26523. },
  26524. "memberuserid": {
  26525. "description": "所属会员ID",
  26526. "type": "integer"
  26527. },
  26528. "parenttopuser": {
  26529. "description": "上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的\"ParentTopUser\"]",
  26530. "type": "string"
  26531. },
  26532. "parentuserid": {
  26533. "description": "所属机构ID",
  26534. "type": "integer"
  26535. },
  26536. "rootuserid": {
  26537. "description": "根用户ID",
  26538. "type": "string"
  26539. },
  26540. "subaccountlevel": {
  26541. "description": "子账户层数",
  26542. "type": "integer"
  26543. },
  26544. "subarealevelpath": {
  26545. "description": "子机构层级路径(逗号分隔,首尾加逗号)",
  26546. "type": "string"
  26547. },
  26548. "userid": {
  26549. "description": "用户ID",
  26550. "type": "integer"
  26551. },
  26552. "usertype": {
  26553. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  26554. "type": "integer"
  26555. }
  26556. }
  26557. },
  26558. "models.QhjMgrTradeDetailRsp": {
  26559. "type": "object",
  26560. "properties": {
  26561. "accountid": {
  26562. "description": "资金账号",
  26563. "type": "integer"
  26564. },
  26565. "accountname": {
  26566. "description": "用户名称",
  26567. "type": "string"
  26568. },
  26569. "agreeunit": {
  26570. "description": "合约乘数",
  26571. "type": "number"
  26572. },
  26573. "buyorsell": {
  26574. "description": "成交类型(方向) 0:买 1:卖",
  26575. "type": "integer"
  26576. },
  26577. "decimalplace": {
  26578. "description": "报价小数位",
  26579. "type": "integer"
  26580. },
  26581. "enumdicname": {
  26582. "description": "单位名称(商品)",
  26583. "type": "string"
  26584. },
  26585. "goodscode": {
  26586. "description": "商品代码(内部)",
  26587. "type": "string"
  26588. },
  26589. "goodsid": {
  26590. "description": "商品id",
  26591. "type": "integer"
  26592. },
  26593. "goodsname": {
  26594. "description": "商品名称",
  26595. "type": "string"
  26596. },
  26597. "goodunitid": {
  26598. "description": "报价单位ID",
  26599. "type": "integer"
  26600. },
  26601. "logincode": {
  26602. "description": "登录代码(账户)",
  26603. "type": "string"
  26604. },
  26605. "marketid": {
  26606. "description": "市场id",
  26607. "type": "integer"
  26608. },
  26609. "orderid": {
  26610. "description": "关联委托单号",
  26611. "type": "string"
  26612. },
  26613. "qtydecimalplace": {
  26614. "description": "成交量小数位",
  26615. "type": "integer"
  26616. },
  26617. "tradeamount": {
  26618. "description": "金额",
  26619. "type": "number"
  26620. },
  26621. "tradedate": {
  26622. "description": "交易日",
  26623. "type": "string"
  26624. },
  26625. "tradeid": {
  26626. "description": "成交单号",
  26627. "type": "string"
  26628. },
  26629. "trademode": {
  26630. "description": "交易模式",
  26631. "type": "integer"
  26632. },
  26633. "tradeprice": {
  26634. "description": "价格",
  26635. "type": "number"
  26636. },
  26637. "tradeqty": {
  26638. "description": "数量",
  26639. "type": "number"
  26640. },
  26641. "tradetime": {
  26642. "description": "成交时间",
  26643. "type": "string"
  26644. },
  26645. "userid": {
  26646. "description": "用户id",
  26647. "type": "integer"
  26648. },
  26649. "userinfotype": {
  26650. "description": "账户类型 1-个人 2-企业",
  26651. "type": "integer"
  26652. }
  26653. }
  26654. },
  26655. "models.QhjMgrTradeOrderDetailRsp": {
  26656. "type": "object",
  26657. "properties": {
  26658. "accountid": {
  26659. "description": "资金账号",
  26660. "type": "integer"
  26661. },
  26662. "accountname": {
  26663. "description": "用户名称",
  26664. "type": "string"
  26665. },
  26666. "agreeunit": {
  26667. "description": "合约乘数",
  26668. "type": "number"
  26669. },
  26670. "amount": {
  26671. "description": "金额",
  26672. "type": "number"
  26673. },
  26674. "decimalplace": {
  26675. "description": "报价小数位",
  26676. "type": "integer"
  26677. },
  26678. "enumdicname": {
  26679. "description": "单位名称(商品)",
  26680. "type": "string"
  26681. },
  26682. "goodscode": {
  26683. "description": "商品代码(内部)",
  26684. "type": "string"
  26685. },
  26686. "goodsid": {
  26687. "description": "商品id",
  26688. "type": "integer"
  26689. },
  26690. "goodsname": {
  26691. "description": "商品名称",
  26692. "type": "string"
  26693. },
  26694. "goodunitid": {
  26695. "description": "报价单位ID",
  26696. "type": "integer"
  26697. },
  26698. "logincode": {
  26699. "description": "登录代码(账户)",
  26700. "type": "string"
  26701. },
  26702. "marketid": {
  26703. "description": "市场id",
  26704. "type": "integer"
  26705. },
  26706. "orderid": {
  26707. "description": "关联委托单号",
  26708. "type": "string"
  26709. },
  26710. "orderprice": {
  26711. "description": "价格",
  26712. "type": "number"
  26713. },
  26714. "orderqty": {
  26715. "description": "数量",
  26716. "type": "number"
  26717. },
  26718. "orderstatus": {
  26719. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  26720. "type": "integer"
  26721. },
  26722. "ordertime": {
  26723. "description": "委托时间",
  26724. "type": "string"
  26725. },
  26726. "qtydecimalplace": {
  26727. "description": "成交量小数位",
  26728. "type": "integer"
  26729. },
  26730. "tradedate": {
  26731. "description": "交易日",
  26732. "type": "string"
  26733. },
  26734. "trademode": {
  26735. "description": "交易模式",
  26736. "type": "integer"
  26737. },
  26738. "userid": {
  26739. "description": "用户id",
  26740. "type": "integer"
  26741. },
  26742. "userinfotype": {
  26743. "description": "账户类型 1-个人 2-企业",
  26744. "type": "integer"
  26745. }
  26746. }
  26747. },
  26748. "models.QhjMgrTradePayOrder": {
  26749. "type": "object",
  26750. "properties": {
  26751. "accountname": {
  26752. "description": "用户名称",
  26753. "type": "string"
  26754. },
  26755. "advanceratio": {
  26756. "description": "首付比率",
  26757. "type": "number"
  26758. },
  26759. "agreeunit": {
  26760. "description": "合约乘数",
  26761. "type": "number"
  26762. },
  26763. "buyaccountid": {
  26764. "description": "买方账号ID[报价币种]",
  26765. "type": "integer"
  26766. },
  26767. "buyorderid": {
  26768. "description": "买方委托单号(关联单号)",
  26769. "type": "string"
  26770. },
  26771. "createtime": {
  26772. "description": "创建时间",
  26773. "type": "string"
  26774. },
  26775. "decimalplace": {
  26776. "description": "报价小数位",
  26777. "type": "integer"
  26778. },
  26779. "enumdicname": {
  26780. "description": "单位名称(商品)",
  26781. "type": "string"
  26782. },
  26783. "goodscode": {
  26784. "description": "商品代码(内部)",
  26785. "type": "string"
  26786. },
  26787. "goodsid": {
  26788. "description": "商品ID",
  26789. "type": "integer"
  26790. },
  26791. "goodsname": {
  26792. "description": "商品名称",
  26793. "type": "string"
  26794. },
  26795. "goodunitid": {
  26796. "description": "报价单位ID",
  26797. "type": "integer"
  26798. },
  26799. "logincode": {
  26800. "description": "登录代码(账户)",
  26801. "type": "string"
  26802. },
  26803. "marketid": {
  26804. "description": "市场id",
  26805. "type": "integer"
  26806. },
  26807. "offamount": {
  26808. "description": "优惠金额",
  26809. "type": "number"
  26810. },
  26811. "operatetype": {
  26812. "description": "买委托操作类型 - 1:正常下单 16:融资买入",
  26813. "type": "integer"
  26814. },
  26815. "payamount": {
  26816. "description": "支付金额(金额)",
  26817. "type": "number"
  26818. },
  26819. "payflag": {
  26820. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  26821. "type": "integer"
  26822. },
  26823. "paylimitedtime": {
  26824. "description": "支付期限",
  26825. "type": "string"
  26826. },
  26827. "paytime": {
  26828. "description": "付款时间",
  26829. "type": "string"
  26830. },
  26831. "qtydecimalplace": {
  26832. "description": "成交量小数位",
  26833. "type": "integer"
  26834. },
  26835. "sellaccountid": {
  26836. "description": "卖方账号ID[报价币种]",
  26837. "type": "integer"
  26838. },
  26839. "sellorderid": {
  26840. "description": "卖方委托单号",
  26841. "type": "string"
  26842. },
  26843. "tradeamount": {
  26844. "description": "成交金额(优惠后金额)",
  26845. "type": "number"
  26846. },
  26847. "tradecharge": {
  26848. "description": "成交手续费(买方)",
  26849. "type": "number"
  26850. },
  26851. "tradedate": {
  26852. "description": "交易日(yyyyMMdd)",
  26853. "type": "string"
  26854. },
  26855. "tradeid": {
  26856. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  26857. "type": "string"
  26858. },
  26859. "trademode": {
  26860. "description": "交易模式",
  26861. "type": "integer"
  26862. },
  26863. "tradeprice": {
  26864. "description": "成交价格(价格)",
  26865. "type": "number"
  26866. },
  26867. "tradeqty": {
  26868. "description": "成交数量(数量)",
  26869. "type": "number"
  26870. },
  26871. "tradetime": {
  26872. "description": "成交时间",
  26873. "type": "string"
  26874. },
  26875. "userid": {
  26876. "description": "用户id",
  26877. "type": "integer"
  26878. },
  26879. "userinfotype": {
  26880. "description": "账户类型 1-个人 2-企业",
  26881. "type": "integer"
  26882. }
  26883. }
  26884. },
  26885. "models.QhjMyTeamEx": {
  26886. "type": "object",
  26887. "properties": {
  26888. "accountname": {
  26889. "description": "用户名称",
  26890. "type": "string"
  26891. },
  26892. "accountstatus": {
  26893. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  26894. "type": "integer"
  26895. },
  26896. "createtime": {
  26897. "description": "创建时间",
  26898. "type": "string"
  26899. },
  26900. "mobile": {
  26901. "description": "手机号码",
  26902. "type": "string"
  26903. },
  26904. "refereeuserid": {
  26905. "description": "推荐人id",
  26906. "type": "integer"
  26907. },
  26908. "refernum": {
  26909. "description": "推荐码",
  26910. "type": "string"
  26911. },
  26912. "subList": {
  26913. "type": "array",
  26914. "items": {
  26915. "$ref": "#/definitions/models.QhjMyTeamEx"
  26916. }
  26917. },
  26918. "userid": {
  26919. "description": "用户id",
  26920. "type": "integer"
  26921. },
  26922. "userinfotype": {
  26923. "description": "用户类型 1-个人 2-企业",
  26924. "type": "integer"
  26925. }
  26926. }
  26927. },
  26928. "models.QhjNodeAgreementConfig": {
  26929. "type": "object",
  26930. "properties": {
  26931. "agreementcontent": {
  26932. "description": "协议内容",
  26933. "type": "string"
  26934. },
  26935. "agreementid": {
  26936. "description": "协议ID",
  26937. "type": "integer"
  26938. },
  26939. "agreementname": {
  26940. "description": "协议名称",
  26941. "type": "string"
  26942. },
  26943. "agreementno": {
  26944. "description": "协议编号",
  26945. "type": "string"
  26946. },
  26947. "agreementtype": {
  26948. "description": "协议类型 - 1:注册 2:登录 3:交易",
  26949. "type": "integer"
  26950. },
  26951. "agreementversion": {
  26952. "description": "协议版本号",
  26953. "type": "integer"
  26954. },
  26955. "configid": {
  26956. "description": "配置(SEQ_QHJ_NODEAGREEMENTCONFIG)",
  26957. "type": "integer"
  26958. },
  26959. "createtime": {
  26960. "description": "创建时间",
  26961. "type": "string"
  26962. },
  26963. "goodsid": {
  26964. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  26965. "type": "integer"
  26966. },
  26967. "nodetype": {
  26968. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  26969. "type": "integer"
  26970. }
  26971. }
  26972. },
  26973. "models.QhjParentAreaList": {
  26974. "type": "object",
  26975. "properties": {
  26976. "accountname": {
  26977. "description": "账户名称(机构名称)",
  26978. "type": "string"
  26979. },
  26980. "userid": {
  26981. "description": "用户ID",
  26982. "type": "integer"
  26983. },
  26984. "usertype": {
  26985. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  26986. "type": "integer"
  26987. }
  26988. }
  26989. },
  26990. "models.QhjPayOrder": {
  26991. "type": "object",
  26992. "properties": {
  26993. "advanceratio": {
  26994. "description": "首付比率",
  26995. "type": "number"
  26996. },
  26997. "buyaccountid": {
  26998. "description": "买方账号ID[报价币种]",
  26999. "type": "integer"
  27000. },
  27001. "buyorderid": {
  27002. "description": "买方委托单号",
  27003. "type": "string"
  27004. },
  27005. "createtime": {
  27006. "description": "创建时间",
  27007. "type": "string"
  27008. },
  27009. "decimalplace": {
  27010. "description": "商品报价小数位",
  27011. "type": "integer"
  27012. },
  27013. "enumdicname": {
  27014. "description": "单位名称",
  27015. "type": "string"
  27016. },
  27017. "goodscode": {
  27018. "description": "商品代码",
  27019. "type": "string"
  27020. },
  27021. "goodsid": {
  27022. "description": "商品ID",
  27023. "type": "integer"
  27024. },
  27025. "goodsname": {
  27026. "description": "商品名称",
  27027. "type": "string"
  27028. },
  27029. "goodunitid": {
  27030. "description": "商品单位id",
  27031. "type": "integer"
  27032. },
  27033. "marketid": {
  27034. "description": "市场ID",
  27035. "type": "integer"
  27036. },
  27037. "offamount": {
  27038. "description": "优惠金额",
  27039. "type": "number"
  27040. },
  27041. "operatetype": {
  27042. "description": "买委托操作类型 - 1:正常下单 16:融资买入",
  27043. "type": "integer"
  27044. },
  27045. "payamount": {
  27046. "description": "支付金额",
  27047. "type": "number"
  27048. },
  27049. "payflag": {
  27050. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  27051. "type": "integer"
  27052. },
  27053. "paylimitedtime": {
  27054. "description": "支付期限",
  27055. "type": "string"
  27056. },
  27057. "paytime": {
  27058. "description": "付款时间",
  27059. "type": "string"
  27060. },
  27061. "qtydecimalplace": {
  27062. "description": "成交量小数位",
  27063. "type": "integer"
  27064. },
  27065. "sellaccountid": {
  27066. "description": "卖方账号ID[报价币种]",
  27067. "type": "integer"
  27068. },
  27069. "sellorderid": {
  27070. "description": "卖方委托单号",
  27071. "type": "string"
  27072. },
  27073. "tradeamount": {
  27074. "description": "成交金额(优惠后金额)",
  27075. "type": "number"
  27076. },
  27077. "tradecharge": {
  27078. "description": "成交手续费(买方)",
  27079. "type": "number"
  27080. },
  27081. "tradedate": {
  27082. "description": "交易日(yyyyMMdd)",
  27083. "type": "string"
  27084. },
  27085. "tradeid": {
  27086. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  27087. "type": "string"
  27088. },
  27089. "tradeprice": {
  27090. "description": "成交价格",
  27091. "type": "number"
  27092. },
  27093. "tradeqty": {
  27094. "description": "成交数量",
  27095. "type": "number"
  27096. }
  27097. }
  27098. },
  27099. "models.QhjPickArea": {
  27100. "type": "object",
  27101. "properties": {
  27102. "address": {
  27103. "description": "详细地址",
  27104. "type": "string"
  27105. },
  27106. "cityid": {
  27107. "description": "市",
  27108. "type": "integer"
  27109. },
  27110. "cityname": {
  27111. "description": "城市名称",
  27112. "type": "string"
  27113. },
  27114. "countryid": {
  27115. "description": "国家",
  27116. "type": "integer"
  27117. },
  27118. "countryname": {
  27119. "description": "国家名称",
  27120. "type": "string"
  27121. },
  27122. "districtid": {
  27123. "description": "地区",
  27124. "type": "integer"
  27125. },
  27126. "districtname": {
  27127. "description": "地区名称",
  27128. "type": "string"
  27129. },
  27130. "fromuserid": {
  27131. "description": "所属机构(组织机构)( OrgType = 1时为自己, = 2\\3时取上级机构的所属机构)",
  27132. "type": "integer"
  27133. },
  27134. "fromusername": {
  27135. "description": "所属机构名称",
  27136. "type": "string"
  27137. },
  27138. "provinceid": {
  27139. "description": "省",
  27140. "type": "integer"
  27141. },
  27142. "provincename": {
  27143. "description": "省名称",
  27144. "type": "string"
  27145. },
  27146. "suborgtype": {
  27147. "description": "子机构类型(千海金) - 0:机构 1:代理 2:门店",
  27148. "type": "integer"
  27149. },
  27150. "userid": {
  27151. "description": "机构用户ID 其他做市关系,都设置为 1",
  27152. "type": "integer"
  27153. },
  27154. "username": {
  27155. "description": "机构用户名称(门店门称)",
  27156. "type": "string"
  27157. }
  27158. }
  27159. },
  27160. "models.QhjPickGoods": {
  27161. "type": "object",
  27162. "properties": {
  27163. "enumdicname": {
  27164. "description": "单位名称(提货商品)",
  27165. "type": "string"
  27166. },
  27167. "goodsid": {
  27168. "description": "商品id",
  27169. "type": "integer"
  27170. },
  27171. "imageaddress": {
  27172. "description": "图片",
  27173. "type": "string"
  27174. },
  27175. "modifierid": {
  27176. "description": "修改人",
  27177. "type": "integer"
  27178. },
  27179. "modifiername": {
  27180. "description": "修改人名称",
  27181. "type": "string"
  27182. },
  27183. "modifysrc": {
  27184. "description": "修改来源 - 1:管理端 2:终端",
  27185. "type": "integer"
  27186. },
  27187. "pickupgoodsagreeunit": {
  27188. "description": "合约乘数",
  27189. "type": "number"
  27190. },
  27191. "pickupgoodsdesc": {
  27192. "description": "描述",
  27193. "type": "string"
  27194. },
  27195. "pickupgoodsid": {
  27196. "description": "提货商品ID",
  27197. "type": "string"
  27198. },
  27199. "pickupgoodsname": {
  27200. "description": "提货商品名称",
  27201. "type": "string"
  27202. },
  27203. "pickupgoodsstatus": {
  27204. "description": "状态 - 1:正常 2:停用 3:注销",
  27205. "type": "integer"
  27206. },
  27207. "pickupgoodsunitid": {
  27208. "description": "单位ID",
  27209. "type": "integer"
  27210. },
  27211. "pickupratio": {
  27212. "description": "提货系数",
  27213. "type": "number"
  27214. },
  27215. "preparedays": {
  27216. "description": "备货期(天)",
  27217. "type": "integer"
  27218. },
  27219. "remark": {
  27220. "description": "备注",
  27221. "type": "string"
  27222. },
  27223. "updatetime": {
  27224. "description": "更新时间",
  27225. "type": "string"
  27226. }
  27227. }
  27228. },
  27229. "models.QhjRSTriggerLog": {
  27230. "type": "object",
  27231. "properties": {
  27232. "accountid": {
  27233. "description": "用户资金账户",
  27234. "type": "integer"
  27235. },
  27236. "accountname": {
  27237. "description": "账号名称(ACCOUNTID对应的名称)",
  27238. "type": "string"
  27239. },
  27240. "currencyid": {
  27241. "description": "币种id",
  27242. "type": "integer"
  27243. },
  27244. "currencyname": {
  27245. "description": "币种名称",
  27246. "type": "string"
  27247. },
  27248. "decimalplace": {
  27249. "description": "商品报价小数位",
  27250. "type": "integer"
  27251. },
  27252. "enumdicname": {
  27253. "description": "单位名称",
  27254. "type": "string"
  27255. },
  27256. "goodscode": {
  27257. "description": "定投商品代码",
  27258. "type": "string"
  27259. },
  27260. "goodsid": {
  27261. "description": "定投商品ID",
  27262. "type": "integer"
  27263. },
  27264. "goodsname": {
  27265. "description": "定投商品名称",
  27266. "type": "string"
  27267. },
  27268. "goodunitid": {
  27269. "description": "定投商品单位id",
  27270. "type": "integer"
  27271. },
  27272. "logid": {
  27273. "description": "LogID(SEQ_QHJ_RSTRIGGERLOG)",
  27274. "type": "string"
  27275. },
  27276. "logincode": {
  27277. "description": "账号(登录代码)",
  27278. "type": "string"
  27279. },
  27280. "qtydecimalplace": {
  27281. "description": "成交量小数位",
  27282. "type": "integer"
  27283. },
  27284. "regularlycycle": {
  27285. "description": "定投频率 - 1:每周 2:每月",
  27286. "type": "integer"
  27287. },
  27288. "regularlycyclevalue": {
  27289. "description": "定投频率值 - 每周几(0-6) 或 每月几号(\u003c=28)",
  27290. "type": "string"
  27291. },
  27292. "regularlymode": {
  27293. "description": "定投方式 - 1:按数量 2:按金额",
  27294. "type": "integer"
  27295. },
  27296. "regularlymodevalue": {
  27297. "description": "定投方式值 - 数量或金额",
  27298. "type": "number"
  27299. },
  27300. "regularlystrategyid": {
  27301. "description": "定投策略ID",
  27302. "type": "integer"
  27303. },
  27304. "retcode": {
  27305. "description": "错误码",
  27306. "type": "string"
  27307. },
  27308. "tradeid": {
  27309. "description": "成交单ID",
  27310. "type": "string"
  27311. },
  27312. "triggeramount": {
  27313. "description": "触发金额",
  27314. "type": "number"
  27315. },
  27316. "triggerqty": {
  27317. "description": "触发数量",
  27318. "type": "number"
  27319. },
  27320. "triggerstatus": {
  27321. "description": "触发状态 - 1:成功 2:失败",
  27322. "type": "integer"
  27323. },
  27324. "triggertime": {
  27325. "description": "触发时间",
  27326. "type": "string"
  27327. },
  27328. "triggertradedate": {
  27329. "description": "触发交易日",
  27330. "type": "string"
  27331. },
  27332. "userid": {
  27333. "description": "所属用户ID",
  27334. "type": "integer"
  27335. },
  27336. "userinfotype": {
  27337. "description": "用户类型 1-个人 2-企业",
  27338. "type": "integer"
  27339. },
  27340. "username": {
  27341. "description": "用户名称(userid对应的名称)",
  27342. "type": "string"
  27343. }
  27344. }
  27345. },
  27346. "models.QhjRStrategy": {
  27347. "type": "object",
  27348. "properties": {
  27349. "accountid": {
  27350. "description": "用户资金账户",
  27351. "type": "integer"
  27352. },
  27353. "accountname": {
  27354. "description": "账号名称(ACCOUNTID对应的名称)",
  27355. "type": "string"
  27356. },
  27357. "currencyid": {
  27358. "description": "币种id",
  27359. "type": "integer"
  27360. },
  27361. "currencyname": {
  27362. "description": "币种名称",
  27363. "type": "string"
  27364. },
  27365. "decimalplace": {
  27366. "description": "商品报价小数位",
  27367. "type": "integer"
  27368. },
  27369. "enumdicname": {
  27370. "description": "单位名称",
  27371. "type": "string"
  27372. },
  27373. "goodscode": {
  27374. "description": "定投商品代码",
  27375. "type": "string"
  27376. },
  27377. "goodsid": {
  27378. "description": "定投商品ID",
  27379. "type": "integer"
  27380. },
  27381. "goodsname": {
  27382. "description": "定投商品名称",
  27383. "type": "string"
  27384. },
  27385. "goodunitid": {
  27386. "description": "定投商品单位id",
  27387. "type": "integer"
  27388. },
  27389. "lasteffecttradedate": {
  27390. "description": "最新生效交易日",
  27391. "type": "string"
  27392. },
  27393. "laststoptradedate": {
  27394. "description": "最新暂停交易日",
  27395. "type": "string"
  27396. },
  27397. "lasttriggertradedate": {
  27398. "description": "最新触发交易日",
  27399. "type": "string"
  27400. },
  27401. "logincode": {
  27402. "description": "账号(登录代码)",
  27403. "type": "string"
  27404. },
  27405. "nexttriggeramount": {
  27406. "description": "下次触发金额",
  27407. "type": "number"
  27408. },
  27409. "nexttriggerdate": {
  27410. "description": "下次触发日期",
  27411. "type": "string"
  27412. },
  27413. "nexttriggerqty": {
  27414. "description": "下次触发数量 [按小数位放大值]",
  27415. "type": "number"
  27416. },
  27417. "qtydecimalplace": {
  27418. "description": "成交量小数位",
  27419. "type": "integer"
  27420. },
  27421. "regularlycycle": {
  27422. "description": "定投频率 - 1:每周 2:每月",
  27423. "type": "integer"
  27424. },
  27425. "regularlycyclevalue": {
  27426. "description": "定投频率值 - 每周几(0-6) 或 每月几号(\u003c=28)",
  27427. "type": "string"
  27428. },
  27429. "regularlymode": {
  27430. "description": "定投方式 - 1:按数量 2:按金额",
  27431. "type": "integer"
  27432. },
  27433. "regularlymodevalue": {
  27434. "description": "定投方式值 - 数量或金额",
  27435. "type": "number"
  27436. },
  27437. "regularlystrategyid": {
  27438. "description": "定投策略ID (SEQ_QHJ_REGULARLYSTRATEGY)",
  27439. "type": "integer"
  27440. },
  27441. "regularlystrategystatus": {
  27442. "description": "策略状态 - 1:正常 2:暂停 3:终止",
  27443. "type": "integer"
  27444. },
  27445. "remark": {
  27446. "description": "备注",
  27447. "type": "string"
  27448. },
  27449. "triggersuccesstimes": {
  27450. "description": "累计定投成功次数",
  27451. "type": "string"
  27452. },
  27453. "triggertotalamount": {
  27454. "description": "累计定投金额(成功)",
  27455. "type": "number"
  27456. },
  27457. "triggertotalqty": {
  27458. "description": "累计定投数量(成功) [按小数位放大值]",
  27459. "type": "number"
  27460. },
  27461. "triggertotaltimes": {
  27462. "description": "累计定投总次数",
  27463. "type": "string"
  27464. },
  27465. "updatesrc": {
  27466. "description": "更新来源 - 1:管理端 2:终端",
  27467. "type": "integer"
  27468. },
  27469. "updatetime": {
  27470. "description": "更新时间",
  27471. "type": "string"
  27472. },
  27473. "updatorid": {
  27474. "description": "更新人",
  27475. "type": "string"
  27476. },
  27477. "userid": {
  27478. "description": "所属用户ID",
  27479. "type": "integer"
  27480. },
  27481. "userinfotype": {
  27482. "description": "用户类型 1-个人 2-企业",
  27483. "type": "integer"
  27484. },
  27485. "username": {
  27486. "description": "用户名称(userid对应的名称)",
  27487. "type": "string"
  27488. }
  27489. }
  27490. },
  27491. "models.QhjReckonPriceLog": {
  27492. "type": "object",
  27493. "properties": {
  27494. "decimalplace": {
  27495. "description": "商品报价小数位",
  27496. "type": "integer"
  27497. },
  27498. "goodscode": {
  27499. "description": "商品代码",
  27500. "type": "string"
  27501. },
  27502. "goodsid": {
  27503. "description": "商品ID",
  27504. "type": "integer"
  27505. },
  27506. "goodsname": {
  27507. "description": "商品名称",
  27508. "type": "string"
  27509. },
  27510. "lastreckonprice": {
  27511. "description": "上日结算价",
  27512. "type": "number"
  27513. },
  27514. "nextdnlimitprice": {
  27515. "description": "下个交易日跌停价",
  27516. "type": "number"
  27517. },
  27518. "nexttrade": {
  27519. "description": "下个交易日",
  27520. "type": "string"
  27521. },
  27522. "nextuplimitprice": {
  27523. "description": "下个交易日涨停价",
  27524. "type": "number"
  27525. },
  27526. "reckonprice": {
  27527. "description": "今日结算价(定投价)",
  27528. "type": "number"
  27529. },
  27530. "reckontime": {
  27531. "description": "结算时间",
  27532. "type": "string"
  27533. },
  27534. "totalholderqty": {
  27535. "description": "总持仓数",
  27536. "type": "integer"
  27537. },
  27538. "totalstock": {
  27539. "description": "总库存",
  27540. "type": "integer"
  27541. },
  27542. "tradedate": {
  27543. "description": "交易日",
  27544. "type": "string"
  27545. },
  27546. "updowncount": {
  27547. "description": "连续涨(跌)停天数 (涨跌停标志变为0时值归0,变成涨停或是跌停时值为1,连续涨停天数+1,连续跌停天数+1)",
  27548. "type": "integer"
  27549. },
  27550. "updownflag": {
  27551. "description": "连续涨跌停标志 - 0:无涨跌停 -1:跌停 1:涨停",
  27552. "type": "integer"
  27553. },
  27554. "updownrate": {
  27555. "description": "今日涨跌幅",
  27556. "type": "number"
  27557. },
  27558. "updownrate_2d": {
  27559. "description": "连续两日涨跌幅",
  27560. "type": "number"
  27561. },
  27562. "updownrate_3d": {
  27563. "description": "连续三日涨跌幅",
  27564. "type": "number"
  27565. }
  27566. }
  27567. },
  27568. "models.QhjScoreLog": {
  27569. "type": "object",
  27570. "properties": {
  27571. "accountid": {
  27572. "description": "账户ID",
  27573. "type": "integer"
  27574. },
  27575. "createtime": {
  27576. "description": "创建时间(时间)",
  27577. "type": "string"
  27578. },
  27579. "goodsid": {
  27580. "description": "商品ID",
  27581. "type": "integer"
  27582. },
  27583. "hasuploaded": {
  27584. "description": "是否已同步(千海金) 0:未同步 1;已同步",
  27585. "type": "integer"
  27586. },
  27587. "logid": {
  27588. "description": "流水ID(211+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  27589. "type": "string"
  27590. },
  27591. "marketid": {
  27592. "description": "市场ID",
  27593. "type": "integer"
  27594. },
  27595. "relatedamount": {
  27596. "description": "关联金额",
  27597. "type": "number"
  27598. },
  27599. "relatedorderid": {
  27600. "description": "关联单号(ScoreType=1为Trade_GoodsPickup)",
  27601. "type": "string"
  27602. },
  27603. "scoreconfigvalue1": {
  27604. "description": "积分配置1",
  27605. "type": "integer"
  27606. },
  27607. "scoreconfigvalue2": {
  27608. "description": "积分配置1",
  27609. "type": "integer"
  27610. },
  27611. "scoretype": {
  27612. "description": "积分类型 - 1:提货积分",
  27613. "type": "integer"
  27614. },
  27615. "scorevalue": {
  27616. "description": "积分",
  27617. "type": "number"
  27618. },
  27619. "tradedate": {
  27620. "description": "交易日(yyyyMMdd)",
  27621. "type": "string"
  27622. },
  27623. "uploadedtime": {
  27624. "description": "同步时间",
  27625. "type": "string"
  27626. },
  27627. "userid": {
  27628. "description": "用户ID",
  27629. "type": "integer"
  27630. }
  27631. }
  27632. },
  27633. "models.QhjSiteColumnDetail": {
  27634. "type": "object",
  27635. "properties": {
  27636. "author": {
  27637. "description": "作者",
  27638. "type": "string"
  27639. },
  27640. "brief": {
  27641. "description": "简介",
  27642. "type": "string"
  27643. },
  27644. "columnid": {
  27645. "description": "所属栏目",
  27646. "type": "integer"
  27647. },
  27648. "context": {
  27649. "description": "内容",
  27650. "type": "string"
  27651. },
  27652. "coverimage": {
  27653. "description": "封面图片",
  27654. "type": "string"
  27655. },
  27656. "creaedate": {
  27657. "description": "创建时间",
  27658. "type": "string"
  27659. },
  27660. "creatorid": {
  27661. "description": "创建人",
  27662. "type": "integer"
  27663. },
  27664. "hits": {
  27665. "description": "点击数",
  27666. "type": "integer"
  27667. },
  27668. "id": {
  27669. "description": "ID(SEQ_SITE_COLUMNDETAIL)",
  27670. "type": "integer"
  27671. },
  27672. "isshow": {
  27673. "description": "是否展示 - 0:不展示 1:展示",
  27674. "type": "integer"
  27675. },
  27676. "istop": {
  27677. "description": "是否置顶 - 0:不置 1:置顶",
  27678. "type": "integer"
  27679. },
  27680. "modifierid": {
  27681. "description": "操作人",
  27682. "type": "integer"
  27683. },
  27684. "publishdate": {
  27685. "description": "发布日期",
  27686. "type": "string"
  27687. },
  27688. "status": {
  27689. "description": "状态 - 1:暂存 10:待审核 20:审核通过 30:审核拒绝",
  27690. "type": "integer"
  27691. },
  27692. "title": {
  27693. "description": "标题",
  27694. "type": "string"
  27695. },
  27696. "updatedate": {
  27697. "description": "修改时间",
  27698. "type": "string"
  27699. },
  27700. "userid": {
  27701. "description": "用户ID(默认为0, 核心为为机构用户ID)",
  27702. "type": "integer"
  27703. },
  27704. "username": {
  27705. "description": "用户名称",
  27706. "type": "string"
  27707. }
  27708. }
  27709. },
  27710. "models.QhjTeamOrder": {
  27711. "type": "object",
  27712. "properties": {
  27713. "accountid": {
  27714. "description": "账户ID[报价币种]",
  27715. "type": "integer"
  27716. },
  27717. "accountname": {
  27718. "description": "账户名称",
  27719. "type": "string"
  27720. },
  27721. "agreeunit": {
  27722. "description": "合约乘数",
  27723. "type": "number"
  27724. },
  27725. "buyorsell": {
  27726. "description": "方向 - 0:买 1:卖",
  27727. "type": "integer"
  27728. },
  27729. "decimalplace": {
  27730. "description": "报价小数位",
  27731. "type": "integer"
  27732. },
  27733. "enumdicname": {
  27734. "description": "单位名称",
  27735. "type": "string"
  27736. },
  27737. "goodscode": {
  27738. "description": "商品代码(内部)",
  27739. "type": "string"
  27740. },
  27741. "goodsid": {
  27742. "description": "商品ID",
  27743. "type": "integer"
  27744. },
  27745. "goodsname": {
  27746. "description": "商品名称",
  27747. "type": "string"
  27748. },
  27749. "goodunitid": {
  27750. "description": "报价单位ID",
  27751. "type": "integer"
  27752. },
  27753. "marketid": {
  27754. "description": "市场ID",
  27755. "type": "integer"
  27756. },
  27757. "marketname": {
  27758. "description": "市场名称",
  27759. "type": "string"
  27760. },
  27761. "qtydecimalplace": {
  27762. "description": "成交量小数位",
  27763. "type": "integer"
  27764. },
  27765. "refereeuserid": {
  27766. "description": "推荐人ID",
  27767. "type": "integer"
  27768. },
  27769. "tradeamount": {
  27770. "description": "成交金额[账户币种,用于所有权]",
  27771. "type": "number"
  27772. },
  27773. "tradedate": {
  27774. "description": "交易日(yyyyMMdd)",
  27775. "type": "string"
  27776. },
  27777. "trademode": {
  27778. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  27779. "type": "integer"
  27780. },
  27781. "tradeprice": {
  27782. "description": "成交价格",
  27783. "type": "number"
  27784. },
  27785. "tradeqty": {
  27786. "description": "成交数量",
  27787. "type": "number"
  27788. },
  27789. "tradetime": {
  27790. "description": "成交时间",
  27791. "type": "string"
  27792. },
  27793. "userid": {
  27794. "description": "用户ID",
  27795. "type": "integer"
  27796. }
  27797. }
  27798. },
  27799. "models.QhjTradeGoodsPickup": {
  27800. "type": "object",
  27801. "properties": {
  27802. "accountid": {
  27803. "description": "账户ID",
  27804. "type": "integer"
  27805. },
  27806. "address": {
  27807. "description": "提货人详细地址",
  27808. "type": "string"
  27809. },
  27810. "amount": {
  27811. "description": "提货金额",
  27812. "type": "number"
  27813. },
  27814. "artradedate": {
  27815. "description": "自动收货交易日(yyyyMMdd)",
  27816. "type": "string"
  27817. },
  27818. "auditer": {
  27819. "description": "审核人",
  27820. "type": "integer"
  27821. },
  27822. "auditsrc": {
  27823. "description": "更新来源 - 1:管理端 2:终端",
  27824. "type": "integer"
  27825. },
  27826. "audittime": {
  27827. "description": "审核时间(发货时间 | 备货完成时间 都是这个字段)",
  27828. "type": "string"
  27829. },
  27830. "audittradedate": {
  27831. "description": "审核交易日(yyyyMMdd)",
  27832. "type": "string"
  27833. },
  27834. "cardnum": {
  27835. "description": "提货人证件号码",
  27836. "type": "string"
  27837. },
  27838. "cardtypeid": {
  27839. "description": "提货人证件类型",
  27840. "type": "integer"
  27841. },
  27842. "checkremark": {
  27843. "description": "审核备注",
  27844. "type": "string"
  27845. },
  27846. "cityid": {
  27847. "description": "市",
  27848. "type": "integer"
  27849. },
  27850. "cityname": {
  27851. "description": "城市名称",
  27852. "type": "string"
  27853. },
  27854. "confirmtime": {
  27855. "description": "取货时间 或 收货时间",
  27856. "type": "string"
  27857. },
  27858. "countryid": {
  27859. "description": "国家",
  27860. "type": "integer"
  27861. },
  27862. "countryname": {
  27863. "description": "国家名称",
  27864. "type": "string"
  27865. },
  27866. "decimalplace": {
  27867. "description": "商品报价小数位",
  27868. "type": "integer"
  27869. },
  27870. "districtid": {
  27871. "description": "地区",
  27872. "type": "integer"
  27873. },
  27874. "districtname": {
  27875. "description": "地区名称",
  27876. "type": "string"
  27877. },
  27878. "enumdicname": {
  27879. "description": "单位名称(提货商品)",
  27880. "type": "string"
  27881. },
  27882. "expresscompany": {
  27883. "description": "物流公司",
  27884. "type": "string"
  27885. },
  27886. "expressnum": {
  27887. "description": "物流单号",
  27888. "type": "string"
  27889. },
  27890. "goodsagreeunit": {
  27891. "description": "交易商品乘数",
  27892. "type": "number"
  27893. },
  27894. "goodscode": {
  27895. "description": "商品代码",
  27896. "type": "string"
  27897. },
  27898. "goodsid": {
  27899. "description": "商品ID",
  27900. "type": "integer"
  27901. },
  27902. "goodsname": {
  27903. "description": "商品名称",
  27904. "type": "string"
  27905. },
  27906. "goodsqty": {
  27907. "description": "交易商品手数(69模式按成交量小数位放大取整)",
  27908. "type": "number"
  27909. },
  27910. "handlestatus": {
  27911. "description": "处理状态",
  27912. "type": "integer"
  27913. },
  27914. "logincode": {
  27915. "description": "账号(登录代码, 有可能为空)",
  27916. "type": "string"
  27917. },
  27918. "marketid": {
  27919. "description": "市场ID",
  27920. "type": "integer"
  27921. },
  27922. "phonenum": {
  27923. "description": "提货人联系方式",
  27924. "type": "string"
  27925. },
  27926. "pickupgoodsagreeunit": {
  27927. "description": "提货商品合约乘数",
  27928. "type": "number"
  27929. },
  27930. "pickupgoodsid": {
  27931. "description": "提货商品ID",
  27932. "type": "string"
  27933. },
  27934. "pickupgoodsname": {
  27935. "description": "提货商品名称",
  27936. "type": "string"
  27937. },
  27938. "pickupgoodsqty": {
  27939. "description": "提货商品手数(数量)",
  27940. "type": "number"
  27941. },
  27942. "pickupgoodsunitid": {
  27943. "description": "单位ID(提货商品)",
  27944. "type": "integer"
  27945. },
  27946. "pickupratio": {
  27947. "description": "提货系数",
  27948. "type": "number"
  27949. },
  27950. "preparedays": {
  27951. "description": "备货期(天)-提货单明细表",
  27952. "type": "integer"
  27953. },
  27954. "provinceid": {
  27955. "description": "省",
  27956. "type": "integer"
  27957. },
  27958. "provincename": {
  27959. "description": "省名称",
  27960. "type": "string"
  27961. },
  27962. "qty": {
  27963. "description": "交易商品总手数(交易商品 - 69模式按成交量放大) - 明细表的交易商品手数汇总",
  27964. "type": "number"
  27965. },
  27966. "qtydecimalplace": {
  27967. "description": "商品数量小数位",
  27968. "type": "integer"
  27969. },
  27970. "recivername": {
  27971. "description": "提货人姓名",
  27972. "type": "string"
  27973. },
  27974. "reqtime": {
  27975. "description": "提货申请时间",
  27976. "type": "string"
  27977. },
  27978. "storeuserid": {
  27979. "description": "门店用户ID (千海金)",
  27980. "type": "integer"
  27981. },
  27982. "storeusername": {
  27983. "description": "门店用户名称",
  27984. "type": "string"
  27985. },
  27986. "takemode": {
  27987. "description": "提货方式 - 2:自提 3:配送(邮寄)",
  27988. "type": "integer"
  27989. },
  27990. "takeorderid": {
  27991. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  27992. "type": "string"
  27993. },
  27994. "takeorderstatus": {
  27995. "description": "提货状态 - 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄) 7:已拒绝 8:已撤销",
  27996. "type": "integer"
  27997. },
  27998. "takeremark": {
  27999. "description": "提货备注",
  28000. "type": "string"
  28001. },
  28002. "tradedate": {
  28003. "description": "交易日(yyyyMMdd)",
  28004. "type": "string"
  28005. },
  28006. "updatetime": {
  28007. "description": "更新时间",
  28008. "type": "string"
  28009. },
  28010. "userid": {
  28011. "description": "用户ID",
  28012. "type": "integer"
  28013. },
  28014. "userinfotype": {
  28015. "description": "客户类型 1-个人 2-企业",
  28016. "type": "integer"
  28017. },
  28018. "username": {
  28019. "description": "用户名称",
  28020. "type": "string"
  28021. }
  28022. }
  28023. },
  28024. "models.QhjUserNodeCfgAndStatus": {
  28025. "type": "object",
  28026. "properties": {
  28027. "agreementcontent": {
  28028. "description": "协议内容",
  28029. "type": "string"
  28030. },
  28031. "agreementid": {
  28032. "description": "协议ID",
  28033. "type": "integer"
  28034. },
  28035. "agreementname": {
  28036. "description": "协议名称",
  28037. "type": "string"
  28038. },
  28039. "agreementno": {
  28040. "description": "协议编号",
  28041. "type": "string"
  28042. },
  28043. "agreementtype": {
  28044. "description": "协议类型 - 1:注册 2:登录 3:交易",
  28045. "type": "integer"
  28046. },
  28047. "agreementversion": {
  28048. "description": "协议版本号",
  28049. "type": "integer"
  28050. },
  28051. "configid": {
  28052. "description": "配置(SEQ_QHJ_NODEAGREEMENTCONFIG)",
  28053. "type": "integer"
  28054. },
  28055. "createtime": {
  28056. "description": "创建时间",
  28057. "type": "string"
  28058. },
  28059. "goodsid": {
  28060. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  28061. "type": "integer"
  28062. },
  28063. "nodetype": {
  28064. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  28065. "type": "integer"
  28066. },
  28067. "signtimestamp": {
  28068. "description": "签约状态时间戳(最近一次)",
  28069. "type": "string"
  28070. },
  28071. "tradedate": {
  28072. "description": "签约交易日(yyyyMMdd)",
  28073. "type": "string"
  28074. },
  28075. "userid": {
  28076. "description": "客户ID",
  28077. "type": "integer"
  28078. }
  28079. }
  28080. },
  28081. "models.Qhjgoodsex": {
  28082. "type": "object",
  28083. "properties": {
  28084. "canfinance": {
  28085. "description": "是否支持融资 - 0:不支持 1:支持【69:铂金宝】",
  28086. "type": "integer"
  28087. },
  28088. "canregularlybuy": {
  28089. "description": "是否支持定投 - 0:不支持 1:支持【69:铂金宝】",
  28090. "type": "integer"
  28091. },
  28092. "defaulttradeuserid": {
  28093. "description": "默认交易用户ID",
  28094. "type": "integer"
  28095. },
  28096. "deliverygoodsid": {
  28097. "description": "现货品种ID",
  28098. "type": "integer"
  28099. },
  28100. "goodsid": {
  28101. "description": "商品ID(自增ID SEQ_GOODS)",
  28102. "type": "integer"
  28103. },
  28104. "minamount": {
  28105. "description": "最小购买金额",
  28106. "type": "number"
  28107. },
  28108. "regularlybuyminamount": {
  28109. "description": "定投最小金额",
  28110. "type": "number"
  28111. },
  28112. "regularlybuyminqty": {
  28113. "description": "定投最小数量",
  28114. "type": "number"
  28115. },
  28116. "spotgoodsbrandid": {
  28117. "description": "现货品牌ID - 存“DGFactoryItem”表\"DGFactoryItemID\"",
  28118. "type": "integer"
  28119. },
  28120. "visibilityforenterprise": {
  28121. "description": "企业客户是否可见 - 0:不可见 1:可见",
  28122. "type": "integer"
  28123. },
  28124. "visibilityforpersonal": {
  28125. "description": "个人客户是否可见 - 0:不可见 1:可见",
  28126. "type": "integer"
  28127. },
  28128. "wrstandardid": {
  28129. "description": "现货商品ID",
  28130. "type": "integer"
  28131. }
  28132. }
  28133. },
  28134. "models.QueryErrorInfosRsp": {
  28135. "type": "object",
  28136. "required": [
  28137. "errorid"
  28138. ],
  28139. "properties": {
  28140. "description": {
  28141. "description": "异常描述",
  28142. "type": "string"
  28143. },
  28144. "errorcode": {
  28145. "description": "异常代码",
  28146. "type": "string"
  28147. },
  28148. "errorid": {
  28149. "description": "异常ID",
  28150. "type": "integer"
  28151. },
  28152. "modulecode": {
  28153. "description": "所属模块",
  28154. "type": "string"
  28155. },
  28156. "operatecode": {
  28157. "description": "所属操作",
  28158. "type": "string"
  28159. },
  28160. "rownumber": {
  28161. "description": "行号",
  28162. "type": "string"
  28163. }
  28164. }
  28165. },
  28166. "models.QueryHedgeOrderDetailRsp": {
  28167. "type": "object",
  28168. "properties": {
  28169. "accountid": {
  28170. "description": "账户ID",
  28171. "type": "integer"
  28172. },
  28173. "buyorsell": {
  28174. "description": "买卖 - 0:买 1:卖",
  28175. "type": "integer"
  28176. },
  28177. "cancellogincode": {
  28178. "description": "撤单人",
  28179. "type": "string"
  28180. },
  28181. "channelbuildtype": {
  28182. "description": "开平标志 - 0:无 1:建仓 2:平仓",
  28183. "type": "integer"
  28184. },
  28185. "channelinnerorderstatus": {
  28186. "description": "委托状态 - 1:委托请求 2:冻结成功 3:委托失败 4:委托部成部失败 5:委托成功 6:全部撤销 7:部成部撤 8:部成部撤部失败 9:全部成交",
  28187. "type": "integer"
  28188. },
  28189. "channeloperatetype": {
  28190. "description": "操作类型 - 1:正常委托 2:斩仓委托 3:强平委托",
  28191. "type": "integer"
  28192. },
  28193. "closetype": {
  28194. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  28195. "type": "integer"
  28196. },
  28197. "curexchangerate": {
  28198. "description": "当前汇率",
  28199. "type": "number"
  28200. },
  28201. "exchangefullname": {
  28202. "description": "外部交易所全称",
  28203. "type": "string"
  28204. },
  28205. "goodscode": {
  28206. "description": "商品代码(内部)",
  28207. "type": "string"
  28208. },
  28209. "goodsid": {
  28210. "description": "商品ID",
  28211. "type": "integer"
  28212. },
  28213. "goodsname": {
  28214. "description": "商品名称",
  28215. "type": "string"
  28216. },
  28217. "marketid": {
  28218. "description": "市场ID",
  28219. "type": "integer"
  28220. },
  28221. "openfreezemargin": {
  28222. "description": "冻结保证金(冻结交易金额)",
  28223. "type": "number"
  28224. },
  28225. "orderid": {
  28226. "description": "委托单号(107+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  28227. "type": "string"
  28228. },
  28229. "orderlogincode": {
  28230. "description": "委托人",
  28231. "type": "string"
  28232. },
  28233. "orderprice": {
  28234. "description": "委托价格(账户)",
  28235. "type": "number"
  28236. },
  28237. "orderqty": {
  28238. "description": "委托数量",
  28239. "type": "integer"
  28240. },
  28241. "ordertime": {
  28242. "description": "委托时间",
  28243. "type": "string"
  28244. },
  28245. "pricemode": {
  28246. "description": "取价方式 - 1:市价 2: 限价",
  28247. "type": "integer"
  28248. },
  28249. "tradedate": {
  28250. "description": "交易日(yyyyMMdd)",
  28251. "type": "string"
  28252. },
  28253. "tradeqty": {
  28254. "description": "成交数量",
  28255. "type": "integer"
  28256. }
  28257. }
  28258. },
  28259. "models.QueryHedgeTradeDetailRsp": {
  28260. "type": "object",
  28261. "properties": {
  28262. "accountid": {
  28263. "description": "账号ID",
  28264. "type": "integer"
  28265. },
  28266. "buyorsell": {
  28267. "description": "方向 - 0:买 1:卖",
  28268. "type": "integer"
  28269. },
  28270. "channelbuildtype": {
  28271. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  28272. "type": "integer"
  28273. },
  28274. "closecharge": {
  28275. "description": "平仓手续费(账户)",
  28276. "type": "number"
  28277. },
  28278. "closecharge2": {
  28279. "description": "平仓手续费(商品)",
  28280. "type": "number"
  28281. },
  28282. "closepl": {
  28283. "description": "平仓盈亏(账户)",
  28284. "type": "number"
  28285. },
  28286. "closepl2": {
  28287. "description": "平仓盈亏(商品)",
  28288. "type": "number"
  28289. },
  28290. "closepl3": {
  28291. "description": "平仓盈亏(账户)(逐笔)",
  28292. "type": "number"
  28293. },
  28294. "closepl4": {
  28295. "description": "平仓盈亏(商品)(逐笔)",
  28296. "type": "number"
  28297. },
  28298. "closetype": {
  28299. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  28300. "type": "integer"
  28301. },
  28302. "curexchangerate": {
  28303. "description": "当前汇率",
  28304. "type": "number"
  28305. },
  28306. "exchangefullname": {
  28307. "description": "外部交易所全称",
  28308. "type": "string"
  28309. },
  28310. "goodscode": {
  28311. "description": "商品代码(内部)",
  28312. "type": "string"
  28313. },
  28314. "goodsid": {
  28315. "description": "商品ID",
  28316. "type": "integer"
  28317. },
  28318. "goodsname": {
  28319. "description": "商品名称",
  28320. "type": "string"
  28321. },
  28322. "marketid": {
  28323. "description": "市场ID",
  28324. "type": "integer"
  28325. },
  28326. "opencharge": {
  28327. "description": "建仓手续费(账户)",
  28328. "type": "number"
  28329. },
  28330. "opencharge2": {
  28331. "description": "建仓手续费(商品)",
  28332. "type": "number"
  28333. },
  28334. "orderid": {
  28335. "description": "委托单号",
  28336. "type": "string"
  28337. },
  28338. "orderlogincode": {
  28339. "description": "委托人",
  28340. "type": "string"
  28341. },
  28342. "tradeamount": {
  28343. "description": "成交金额(账户)",
  28344. "type": "number"
  28345. },
  28346. "tradedate": {
  28347. "description": "交易日(yyyyMMdd)",
  28348. "type": "string"
  28349. },
  28350. "tradeid": {
  28351. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  28352. "type": "string"
  28353. },
  28354. "tradeprice": {
  28355. "description": "成交价格",
  28356. "type": "number"
  28357. },
  28358. "tradeqty": {
  28359. "description": "成交数量",
  28360. "type": "integer"
  28361. },
  28362. "tradetime": {
  28363. "description": "成交时间",
  28364. "type": "string"
  28365. },
  28366. "tradetype": {
  28367. "description": "成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交",
  28368. "type": "integer"
  28369. }
  28370. }
  28371. },
  28372. "models.QuotePrimaryMenu": {
  28373. "type": "object",
  28374. "properties": {
  28375. "Index": {
  28376. "description": "序号",
  28377. "type": "integer"
  28378. },
  28379. "Key": {
  28380. "description": "键名",
  28381. "type": "string"
  28382. },
  28383. "Name": {
  28384. "description": "菜单名称",
  28385. "type": "string"
  28386. },
  28387. "SubMenus": {
  28388. "description": "子菜单",
  28389. "type": "array",
  28390. "items": {
  28391. "$ref": "#/definitions/models.QuoteSecondaryMenu"
  28392. }
  28393. },
  28394. "SubTitleType": {
  28395. "description": "子菜单标题模式:0-市场名称;1-外部交易所名称",
  28396. "type": "integer"
  28397. },
  28398. "TradeModes": {
  28399. "description": "包含市场交易类型",
  28400. "type": "string"
  28401. }
  28402. }
  28403. },
  28404. "models.QuoteSecondaryMenu": {
  28405. "type": "object",
  28406. "properties": {
  28407. "ExExchangeCode": {
  28408. "description": "外部交易所代码",
  28409. "type": "string"
  28410. },
  28411. "ExExchangeID": {
  28412. "description": "外部交易所ID",
  28413. "type": "integer"
  28414. },
  28415. "GoodsGroupIDs": {
  28416. "description": "商品组ID列表",
  28417. "type": "array",
  28418. "items": {
  28419. "type": "integer"
  28420. }
  28421. },
  28422. "Index": {
  28423. "description": "序号",
  28424. "type": "integer"
  28425. },
  28426. "MarketID": {
  28427. "description": "市场ID",
  28428. "type": "integer"
  28429. },
  28430. "MenuTitle": {
  28431. "description": "菜单标题(市场名称或外部交易所名称)",
  28432. "type": "string"
  28433. },
  28434. "TradeMode": {
  28435. "description": "交易模式",
  28436. "type": "integer"
  28437. }
  28438. }
  28439. },
  28440. "models.RoleMenu": {
  28441. "type": "object",
  28442. "properties": {
  28443. "hasright": {
  28444. "description": "是否有权限 0-没有权限 1-有权限",
  28445. "type": "integer"
  28446. },
  28447. "iconame": {
  28448. "description": "菜单图标",
  28449. "type": "string"
  28450. },
  28451. "menutype": {
  28452. "description": "菜单类型 1:管理端 2:交易端 3:终端(企业云平台)",
  28453. "type": "integer"
  28454. },
  28455. "parentcode": {
  28456. "description": "上级资源代码",
  28457. "type": "string"
  28458. },
  28459. "remark": {
  28460. "description": "菜单备注",
  28461. "type": "string"
  28462. },
  28463. "resourcecode": {
  28464. "description": "菜单代码",
  28465. "type": "string"
  28466. },
  28467. "resourcelevel": {
  28468. "description": "级别",
  28469. "type": "integer"
  28470. },
  28471. "resourcename": {
  28472. "description": "菜单名称",
  28473. "type": "string"
  28474. },
  28475. "roleid": {
  28476. "description": "角色id",
  28477. "type": "integer"
  28478. },
  28479. "sort": {
  28480. "description": "排序",
  28481. "type": "integer"
  28482. },
  28483. "subMenu": {
  28484. "description": "子级菜单(结构同上层一样, swag解析不出来)",
  28485. "type": "array",
  28486. "items": {
  28487. "$ref": "#/definitions/models.RoleMenu"
  28488. }
  28489. },
  28490. "url": {
  28491. "description": "URL",
  28492. "type": "string"
  28493. },
  28494. "userid": {
  28495. "description": "用户id",
  28496. "type": "integer"
  28497. }
  28498. }
  28499. },
  28500. "models.SearchGoods": {
  28501. "type": "object",
  28502. "required": [
  28503. "goodscode",
  28504. "goodsid",
  28505. "goodsname",
  28506. "marketid",
  28507. "trademode"
  28508. ],
  28509. "properties": {
  28510. "goodscode": {
  28511. "description": "商品代码(内部)",
  28512. "type": "string"
  28513. },
  28514. "goodsid": {
  28515. "description": "商品ID(自增ID SEQ_GOODS)",
  28516. "type": "integer"
  28517. },
  28518. "goodsname": {
  28519. "description": "商品名称",
  28520. "type": "string"
  28521. },
  28522. "marketid": {
  28523. "description": "所属市场ID",
  28524. "type": "integer"
  28525. },
  28526. "marketname": {
  28527. "description": "市场名称",
  28528. "type": "string"
  28529. },
  28530. "trademode": {
  28531. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  28532. "type": "integer"
  28533. }
  28534. }
  28535. },
  28536. "models.Systemparam": {
  28537. "type": "object",
  28538. "required": [
  28539. "paramcode"
  28540. ],
  28541. "properties": {
  28542. "loginid": {
  28543. "description": "更新用户账号,登录账号",
  28544. "type": "string"
  28545. },
  28546. "modifyflag": {
  28547. "description": "修改标志0 不允许修改 1 允许修改",
  28548. "type": "integer"
  28549. },
  28550. "paramcode": {
  28551. "description": "参数代码",
  28552. "type": "string"
  28553. },
  28554. "paramname": {
  28555. "description": "参数名",
  28556. "type": "string"
  28557. },
  28558. "paramtype": {
  28559. "description": "参数类型 0-通用 1-管理端 2-终端 3-后台 4-商城",
  28560. "type": "integer"
  28561. },
  28562. "paramvalue": {
  28563. "description": "参数值",
  28564. "type": "string"
  28565. },
  28566. "paramvalue2": {
  28567. "description": "参数值(CLOB)",
  28568. "type": "string"
  28569. },
  28570. "regexpress": {
  28571. "description": "正则表达式",
  28572. "type": "string"
  28573. },
  28574. "remark": {
  28575. "description": "备注",
  28576. "type": "string"
  28577. },
  28578. "serverip": {
  28579. "description": "限制服务器IP,备份参数,现在界面不用显示0.0.0.0则无限制,是通用参数192.168.0.211 指定服务器的参数配置",
  28580. "type": "string"
  28581. },
  28582. "showflag": {
  28583. "description": "是否显示0 不显示 1 显示",
  28584. "type": "integer"
  28585. },
  28586. "updatetime": {
  28587. "description": "更新时间",
  28588. "type": "string"
  28589. },
  28590. "userid": {
  28591. "description": "更新用户ID",
  28592. "type": "integer"
  28593. }
  28594. }
  28595. },
  28596. "models.Szdz3convertconfig": {
  28597. "type": "object",
  28598. "required": [
  28599. "converttype",
  28600. "innergoodsid",
  28601. "outergoodscode"
  28602. ],
  28603. "properties": {
  28604. "canin": {
  28605. "description": "是否可转入 - 0:不可 1:可 [5:花生米转交易]",
  28606. "type": "integer"
  28607. },
  28608. "canout": {
  28609. "description": "是否可转出 - 0:不可 1:可 [5:花生米转交易]",
  28610. "type": "integer"
  28611. },
  28612. "converttype": {
  28613. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)",
  28614. "type": "integer"
  28615. },
  28616. "createtime": {
  28617. "description": "创建时间",
  28618. "type": "string"
  28619. },
  28620. "creatorid": {
  28621. "description": "创建人",
  28622. "type": "integer"
  28623. },
  28624. "daymaxvalue": {
  28625. "description": "当日最大转入限制",
  28626. "type": "number"
  28627. },
  28628. "freezedays": {
  28629. "description": "冻结天数 [5:花生米转交易]",
  28630. "type": "integer"
  28631. },
  28632. "innergoodsid": {
  28633. "description": "内部商品ID[交易]",
  28634. "type": "integer"
  28635. },
  28636. "inratio": {
  28637. "description": "目标值",
  28638. "type": "integer"
  28639. },
  28640. "modifierid": {
  28641. "description": "修改人",
  28642. "type": "integer"
  28643. },
  28644. "modifytime": {
  28645. "description": "修改时间",
  28646. "type": "string"
  28647. },
  28648. "outergoodscode": {
  28649. "description": "外部商品代码[JD\\PD]",
  28650. "type": "string"
  28651. },
  28652. "outratio": {
  28653. "description": "源值",
  28654. "type": "integer"
  28655. },
  28656. "pddecimalplace": {
  28657. "description": "PD小数位",
  28658. "type": "integer"
  28659. },
  28660. "timemaxvalue": {
  28661. "description": "单次最大转入限制",
  28662. "type": "number"
  28663. },
  28664. "timeminvalue": {
  28665. "description": "单次最小转入限制",
  28666. "type": "number"
  28667. }
  28668. }
  28669. },
  28670. "models.Szdz3searchwhitelist": {
  28671. "type": "object",
  28672. "required": [
  28673. "userid"
  28674. ],
  28675. "properties": {
  28676. "createtime": {
  28677. "description": "创建时间",
  28678. "type": "string"
  28679. },
  28680. "creatorid": {
  28681. "description": "创建人",
  28682. "type": "integer"
  28683. },
  28684. "modifierid": {
  28685. "description": "修改人",
  28686. "type": "integer"
  28687. },
  28688. "modifytime": {
  28689. "description": "修改时间",
  28690. "type": "string"
  28691. },
  28692. "userid": {
  28693. "description": "用户ID",
  28694. "type": "integer"
  28695. }
  28696. }
  28697. },
  28698. "models.Taaccount": {
  28699. "type": "object",
  28700. "required": [
  28701. "accountid",
  28702. "userid"
  28703. ],
  28704. "properties": {
  28705. "accountflag": {
  28706. "description": "账户标识 - 0\\1 (默认为0, 当上级账户与本账户的关联用户均为自己时更新为1)",
  28707. "type": "integer"
  28708. },
  28709. "accountid": {
  28710. "description": "资金账户ID",
  28711. "type": "integer"
  28712. },
  28713. "accountname": {
  28714. "description": "账户名称",
  28715. "type": "string"
  28716. },
  28717. "balance": {
  28718. "description": "期初余额",
  28719. "type": "number"
  28720. },
  28721. "capitalbalance": {
  28722. "description": "本金余额[外部子账户实际出入金余额]",
  28723. "type": "number"
  28724. },
  28725. "changeflag": {
  28726. "description": "变动标志(当前账户资金有任何变动更新为1系统结算时更新0;供清算时使用) 0:无变动 1:有变动",
  28727. "type": "integer"
  28728. },
  28729. "changetime": {
  28730. "description": "账户状态变更时间",
  28731. "type": "string"
  28732. },
  28733. "closepl": {
  28734. "description": "今日平仓盈亏",
  28735. "type": "number"
  28736. },
  28737. "creditdecrease": {
  28738. "description": "今日授信减少",
  28739. "type": "number"
  28740. },
  28741. "creditincrease": {
  28742. "description": "今日授信增加",
  28743. "type": "number"
  28744. },
  28745. "curamount": {
  28746. "description": "总市值(从持仓中统计)",
  28747. "type": "number"
  28748. },
  28749. "currencyid": {
  28750. "description": "货币ID",
  28751. "type": "integer"
  28752. },
  28753. "currentbalance": {
  28754. "description": "期末余额",
  28755. "type": "number"
  28756. },
  28757. "freezecharge": {
  28758. "description": "手续费冻结",
  28759. "type": "number"
  28760. },
  28761. "freezemargin": {
  28762. "description": "冻结保证金",
  28763. "type": "number"
  28764. },
  28765. "fromaccountid": {
  28766. "description": "所属上级账户",
  28767. "type": "integer"
  28768. },
  28769. "inamount": {
  28770. "description": "今日入金金额(包括三方入金)",
  28771. "type": "number"
  28772. },
  28773. "ismain": {
  28774. "description": "是否母账号 0:不是母账户 1:是母账户",
  28775. "type": "integer"
  28776. },
  28777. "ismarketaccount": {
  28778. "description": "是否机构接单账号 0:不是 1:是",
  28779. "type": "integer"
  28780. },
  28781. "isreckonaccount": {
  28782. "description": "是否机构分润账号 0:不是 1:是",
  28783. "type": "integer"
  28784. },
  28785. "mortgagecredit": {
  28786. "description": "授信金额",
  28787. "type": "number"
  28788. },
  28789. "orifreezecharge": {
  28790. "description": "期初手续费冻结",
  28791. "type": "number"
  28792. },
  28793. "orifreezemargin": {
  28794. "description": "期初冻结保证金",
  28795. "type": "number"
  28796. },
  28797. "orimortgagecredit": {
  28798. "description": "期初授信金额",
  28799. "type": "number"
  28800. },
  28801. "oriothercredit": {
  28802. "description": "期初其它授信金额",
  28803. "type": "number"
  28804. },
  28805. "oriotherfreezemargin": {
  28806. "description": "期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)",
  28807. "type": "number"
  28808. },
  28809. "orioutamountfreeze": {
  28810. "description": "期初出金冻结",
  28811. "type": "number"
  28812. },
  28813. "oriusedmargin": {
  28814. "description": "期初占用保证金",
  28815. "type": "number"
  28816. },
  28817. "othercredit": {
  28818. "description": "其它授信金额",
  28819. "type": "number"
  28820. },
  28821. "othercreditdecrease": {
  28822. "description": "今日其它授信减少",
  28823. "type": "number"
  28824. },
  28825. "othercreditincrease": {
  28826. "description": "今日其它授信增加",
  28827. "type": "number"
  28828. },
  28829. "otherfreezemargin": {
  28830. "description": "其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)",
  28831. "type": "number"
  28832. },
  28833. "otherincome": {
  28834. "description": "其他收入(交割收款 申购收款 全款卖出 商城卖出 买家退货 会员手续费收入)",
  28835. "type": "number"
  28836. },
  28837. "otherpay": {
  28838. "description": "其他支出(交割付款 申购付款 全款买入 商城买入 卖家退货)",
  28839. "type": "number"
  28840. },
  28841. "outamount": {
  28842. "description": "今日出金金额(包括三方出金)",
  28843. "type": "number"
  28844. },
  28845. "outamountfreeze": {
  28846. "description": "出金冻结",
  28847. "type": "number"
  28848. },
  28849. "outthreshold": {
  28850. "description": "出金阈值",
  28851. "type": "number"
  28852. },
  28853. "parentaccountid": {
  28854. "description": "所属根账号",
  28855. "type": "integer"
  28856. },
  28857. "paycharge": {
  28858. "description": "今日手续费支出",
  28859. "type": "number"
  28860. },
  28861. "relatedaccountstatus": {
  28862. "description": "关联用户交易权限状态 - 1:正常(可交易) 2:受限(可平仓,不可建仓) 3:冻结(不可交易)",
  28863. "type": "integer"
  28864. },
  28865. "relateduserid": {
  28866. "description": "关联用户",
  28867. "type": "integer"
  28868. },
  28869. "remainamount": {
  28870. "description": "融资额(从融资合同中统计)",
  28871. "type": "number"
  28872. },
  28873. "serivcegroup": {
  28874. "description": "服务分组",
  28875. "type": "integer"
  28876. },
  28877. "signstatus": {
  28878. "description": "签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中",
  28879. "type": "integer"
  28880. },
  28881. "sublevelpath": {
  28882. "description": "账号层级路径(逗号分隔,首尾加逗号)",
  28883. "type": "string"
  28884. },
  28885. "taaccounttype": {
  28886. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  28887. "type": "integer"
  28888. },
  28889. "thirdinamount": {
  28890. "description": "今日三方入金",
  28891. "type": "number"
  28892. },
  28893. "thirdoutamount": {
  28894. "description": "今日三方出金",
  28895. "type": "number"
  28896. },
  28897. "tradestatus": {
  28898. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  28899. "type": "integer"
  28900. },
  28901. "tradestatuschangetime": {
  28902. "description": "激活时间",
  28903. "type": "string"
  28904. },
  28905. "transferamount": {
  28906. "description": "今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)",
  28907. "type": "number"
  28908. },
  28909. "usedmargin": {
  28910. "description": "占用保证金",
  28911. "type": "number"
  28912. },
  28913. "userid": {
  28914. "description": "用户ID",
  28915. "type": "integer"
  28916. }
  28917. }
  28918. },
  28919. "models.Tablecolumnconfig": {
  28920. "type": "object",
  28921. "required": [
  28922. "autoid"
  28923. ],
  28924. "properties": {
  28925. "aligntype": {
  28926. "description": "对齐方式 - 1:居中对齐 2:左对齐 3:右对齐",
  28927. "type": "integer"
  28928. },
  28929. "autoid": {
  28930. "description": "AutoID",
  28931. "type": "integer"
  28932. },
  28933. "columnfield": {
  28934. "description": "列字段",
  28935. "type": "string"
  28936. },
  28937. "columntitle": {
  28938. "description": "列Title",
  28939. "type": "string"
  28940. },
  28941. "columnwidth": {
  28942. "description": "列宽",
  28943. "type": "string"
  28944. },
  28945. "formatterstring": {
  28946. "description": "格式化字符",
  28947. "type": "string"
  28948. },
  28949. "formattertype": {
  28950. "description": "格式化类型",
  28951. "type": "string"
  28952. },
  28953. "groupname": {
  28954. "description": "表头分组名称",
  28955. "type": "string"
  28956. },
  28957. "isshow": {
  28958. "description": "是否显示 - 0:不显示 1:显示",
  28959. "type": "integer"
  28960. },
  28961. "needsummary": {
  28962. "description": "是否需要汇总 - 0:不需要 1:需要",
  28963. "type": "integer"
  28964. },
  28965. "orderindex": {
  28966. "description": "顺序",
  28967. "type": "integer"
  28968. },
  28969. "remark": {
  28970. "description": "备注",
  28971. "type": "string"
  28972. },
  28973. "summarytype": {
  28974. "description": "汇总类型 - 1:加总 2:最后一个",
  28975. "type": "integer"
  28976. },
  28977. "tablekey": {
  28978. "description": "列表Key",
  28979. "type": "string"
  28980. }
  28981. }
  28982. },
  28983. "models.UserCollectConfig": {
  28984. "type": "object",
  28985. "properties": {
  28986. "accountstatus": {
  28987. "description": "账户状态 - 1:正常 2:停用 3:注销",
  28988. "type": "integer"
  28989. },
  28990. "collectaccountname": {
  28991. "description": "收款人账户名称",
  28992. "type": "string"
  28993. },
  28994. "collectaccountno": {
  28995. "description": "收款人账户",
  28996. "type": "string"
  28997. },
  28998. "collectbankname": {
  28999. "description": "收款人开户行",
  29000. "type": "string"
  29001. },
  29002. "collectbranchbankname": {
  29003. "description": "收款人开户支行",
  29004. "type": "string"
  29005. },
  29006. "collectconfigid": {
  29007. "description": "收款账户配置ID(SEQ_USERCOLLECTCONFIG)",
  29008. "type": "string"
  29009. },
  29010. "remark": {
  29011. "description": "备注",
  29012. "type": "string"
  29013. },
  29014. "userid": {
  29015. "description": "收款人用户ID",
  29016. "type": "integer"
  29017. }
  29018. }
  29019. },
  29020. "models.UserReceiveInfo": {
  29021. "type": "object",
  29022. "properties": {
  29023. "address": {
  29024. "description": "提货人详细地址",
  29025. "type": "string"
  29026. },
  29027. "autoid": {
  29028. "description": "AutoID",
  29029. "type": "integer"
  29030. },
  29031. "cardnum": {
  29032. "description": "证件号码(加密存储)",
  29033. "type": "string"
  29034. },
  29035. "cardtypeid": {
  29036. "description": "证件类型",
  29037. "type": "integer"
  29038. },
  29039. "cityid": {
  29040. "description": "市",
  29041. "type": "integer"
  29042. },
  29043. "cityname": {
  29044. "description": "城市名称",
  29045. "type": "string"
  29046. },
  29047. "countryid": {
  29048. "description": "国家",
  29049. "type": "integer"
  29050. },
  29051. "countryname": {
  29052. "description": "国家名称",
  29053. "type": "string"
  29054. },
  29055. "districtid": {
  29056. "description": "地区",
  29057. "type": "integer"
  29058. },
  29059. "districtname": {
  29060. "description": "地区名称",
  29061. "type": "string"
  29062. },
  29063. "hasencrypt": {
  29064. "description": "数据是否已加密 - 0:未加密 1:已加密",
  29065. "type": "integer"
  29066. },
  29067. "isdefault": {
  29068. "description": "是否默认地址 - 0:否 1:是",
  29069. "type": "integer"
  29070. },
  29071. "phonenum": {
  29072. "description": "提货人联系方式(加密存储)",
  29073. "type": "string"
  29074. },
  29075. "provinceid": {
  29076. "description": "省",
  29077. "type": "integer"
  29078. },
  29079. "provincename": {
  29080. "description": "省名称",
  29081. "type": "string"
  29082. },
  29083. "receivername": {
  29084. "description": "提货人姓名",
  29085. "type": "string"
  29086. },
  29087. "takeremark": {
  29088. "description": "提货备注",
  29089. "type": "string"
  29090. },
  29091. "userid": {
  29092. "description": "用户ID",
  29093. "type": "integer"
  29094. }
  29095. }
  29096. },
  29097. "models.Useraccount": {
  29098. "type": "object",
  29099. "required": [
  29100. "userid"
  29101. ],
  29102. "properties": {
  29103. "accountname": {
  29104. "description": "账户名称(机构名称)",
  29105. "type": "string"
  29106. },
  29107. "accountstatus": {
  29108. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  29109. "type": "integer"
  29110. },
  29111. "applysrc": {
  29112. "description": "申请来源 - 1:管理端 2:终端",
  29113. "type": "integer"
  29114. },
  29115. "auditremark": {
  29116. "description": "审核备注",
  29117. "type": "string"
  29118. },
  29119. "auditsrc": {
  29120. "description": "审核来源 - 1:管理端 2:终端",
  29121. "type": "integer"
  29122. },
  29123. "audittime": {
  29124. "description": "审核时间",
  29125. "type": "string"
  29126. },
  29127. "audituserid": {
  29128. "description": "审核人",
  29129. "type": "integer"
  29130. },
  29131. "broker": {
  29132. "description": "所属经纪人ID",
  29133. "type": "integer"
  29134. },
  29135. "canceltime": {
  29136. "description": "销户时间",
  29137. "type": "string"
  29138. },
  29139. "canceluserid": {
  29140. "description": "销户人",
  29141. "type": "integer"
  29142. },
  29143. "canrecommend": {
  29144. "description": "是否可推荐 - 0:不可 1;可",
  29145. "type": "integer"
  29146. },
  29147. "createtime": {
  29148. "description": "创建时间",
  29149. "type": "string"
  29150. },
  29151. "creatorid": {
  29152. "description": "创建人",
  29153. "type": "integer"
  29154. },
  29155. "hasauth": {
  29156. "description": "是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝",
  29157. "type": "integer"
  29158. },
  29159. "isanonymous": {
  29160. "description": "是否匿名下单 - 0:否 1:是",
  29161. "type": "integer"
  29162. },
  29163. "maxinvestornum": {
  29164. "description": "最大用户数(经纪会员下投资者个数)",
  29165. "type": "integer"
  29166. },
  29167. "memberuserid": {
  29168. "description": "所属会员ID",
  29169. "type": "integer"
  29170. },
  29171. "modifierid": {
  29172. "description": "修改人",
  29173. "type": "integer"
  29174. },
  29175. "modifyremark": {
  29176. "description": "变更备注",
  29177. "type": "string"
  29178. },
  29179. "modifystatus": {
  29180. "description": "变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)",
  29181. "type": "integer"
  29182. },
  29183. "modifytime": {
  29184. "description": "修改时间",
  29185. "type": "string"
  29186. },
  29187. "parenttopuser": {
  29188. "description": "上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的\"ParentTopUser\"]",
  29189. "type": "string"
  29190. },
  29191. "parentuserid": {
  29192. "description": "所属机构ID",
  29193. "type": "integer"
  29194. },
  29195. "reckonaccountid": {
  29196. "description": "默认结算资金账号ID(机构分润使用) 作废",
  29197. "type": "integer"
  29198. },
  29199. "refercount": {
  29200. "description": "推荐总人数",
  29201. "type": "integer"
  29202. },
  29203. "refereeuserid": {
  29204. "description": "推荐人ID",
  29205. "type": "integer"
  29206. },
  29207. "refernum": {
  29208. "description": "推荐码",
  29209. "type": "string"
  29210. },
  29211. "rootuserid": {
  29212. "description": "根用户ID",
  29213. "type": "integer"
  29214. },
  29215. "subaccountlevel": {
  29216. "description": "子账户层数",
  29217. "type": "integer"
  29218. },
  29219. "subarealevelpath": {
  29220. "description": "子机构层级路径(逗号分隔,首尾加逗号)",
  29221. "type": "string"
  29222. },
  29223. "userid": {
  29224. "description": "用户ID",
  29225. "type": "integer"
  29226. },
  29227. "usertype": {
  29228. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  29229. "type": "integer"
  29230. }
  29231. }
  29232. },
  29233. "models.Userfavoritegoods": {
  29234. "type": "object",
  29235. "required": [
  29236. "goodsid"
  29237. ],
  29238. "properties": {
  29239. "goodsid": {
  29240. "description": "商品ID",
  29241. "type": "integer"
  29242. }
  29243. }
  29244. },
  29245. "models.Userinfo": {
  29246. "type": "object",
  29247. "required": [
  29248. "userid"
  29249. ],
  29250. "properties": {
  29251. "address": {
  29252. "description": "地址",
  29253. "type": "string"
  29254. },
  29255. "attachment1": {
  29256. "description": "附件1",
  29257. "type": "string"
  29258. },
  29259. "attachment2": {
  29260. "description": "附件2",
  29261. "type": "string"
  29262. },
  29263. "bankaccount": {
  29264. "description": "银行帐号 (加密存储)",
  29265. "type": "string"
  29266. },
  29267. "bankaccountname": {
  29268. "description": "收款人名称",
  29269. "type": "string"
  29270. },
  29271. "bankcardfrontphotourl": {
  29272. "description": "银行卡正面照地址",
  29273. "type": "string"
  29274. },
  29275. "bankid": {
  29276. "description": "银行编码",
  29277. "type": "string"
  29278. },
  29279. "bankname": {
  29280. "description": "银行名称",
  29281. "type": "string"
  29282. },
  29283. "biznature": {
  29284. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  29285. "type": "integer"
  29286. },
  29287. "bizscope": {
  29288. "description": "企业经营范围(企业)",
  29289. "type": "string"
  29290. },
  29291. "cardbackphotourl": {
  29292. "description": "证件背面图片地址",
  29293. "type": "string"
  29294. },
  29295. "cardfrontphotourl": {
  29296. "description": "证件正面图片地址",
  29297. "type": "string"
  29298. },
  29299. "cardnum": {
  29300. "description": "证件号码(加密存储)",
  29301. "type": "string"
  29302. },
  29303. "cardtypeid": {
  29304. "description": "证件类型ID",
  29305. "type": "integer"
  29306. },
  29307. "cityid": {
  29308. "description": "市",
  29309. "type": "integer"
  29310. },
  29311. "company": {
  29312. "description": "公司(个人)",
  29313. "type": "string"
  29314. },
  29315. "contactname": {
  29316. "description": "联系人",
  29317. "type": "string"
  29318. },
  29319. "countryid": {
  29320. "description": "国家",
  29321. "type": "integer"
  29322. },
  29323. "createtime": {
  29324. "description": "创建时间",
  29325. "type": "string"
  29326. },
  29327. "creatorid": {
  29328. "description": "创建人",
  29329. "type": "integer"
  29330. },
  29331. "customername": {
  29332. "description": "客户名称(企业名称)",
  29333. "type": "string"
  29334. },
  29335. "districtid": {
  29336. "description": "地区",
  29337. "type": "integer"
  29338. },
  29339. "email": {
  29340. "description": "邮件(加密存储)",
  29341. "type": "string"
  29342. },
  29343. "fax": {
  29344. "description": "传真(加密存储)",
  29345. "type": "string"
  29346. },
  29347. "halfbodyphotourl": {
  29348. "description": "半身照地址",
  29349. "type": "string"
  29350. },
  29351. "hasencrypt": {
  29352. "description": "数据是否已加密 - 0:未加密 1:已加密",
  29353. "type": "integer"
  29354. },
  29355. "headurl": {
  29356. "description": "头像地址",
  29357. "type": "string"
  29358. },
  29359. "legalcardbackphotourl": {
  29360. "description": "法人身份证背面照地址",
  29361. "type": "string"
  29362. },
  29363. "legalcardfrontphotourl": {
  29364. "description": "法人身份证正面照地址",
  29365. "type": "string"
  29366. },
  29367. "legalpersonname": {
  29368. "description": "法人姓名(企业)",
  29369. "type": "string"
  29370. },
  29371. "mobile": {
  29372. "description": "手机号码(加密存储)",
  29373. "type": "string"
  29374. },
  29375. "mobile2": {
  29376. "description": "手机号码[明文-尚志]",
  29377. "type": "string"
  29378. },
  29379. "modifierid": {
  29380. "description": "修改人",
  29381. "type": "integer"
  29382. },
  29383. "modifiertime": {
  29384. "description": "修改时间",
  29385. "type": "string"
  29386. },
  29387. "needinvoice": {
  29388. "description": "是否需要发票 - 0:不需要 1:需要",
  29389. "type": "integer"
  29390. },
  29391. "nickname": {
  29392. "description": "昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)",
  29393. "type": "string"
  29394. },
  29395. "openmode": {
  29396. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户",
  29397. "type": "integer"
  29398. },
  29399. "otherurl": {
  29400. "description": "其它图片地址[使用分号分隔]",
  29401. "type": "string"
  29402. },
  29403. "postalcode": {
  29404. "description": "邮政编码",
  29405. "type": "string"
  29406. },
  29407. "provinceid": {
  29408. "description": "省",
  29409. "type": "integer"
  29410. },
  29411. "qq": {
  29412. "description": "QQ(加密存储",
  29413. "type": "string"
  29414. },
  29415. "remark": {
  29416. "description": "备注",
  29417. "type": "string"
  29418. },
  29419. "sex": {
  29420. "description": "用户性别 0: 女 1: 男",
  29421. "type": "integer"
  29422. },
  29423. "signpdfurl": {
  29424. "description": "签约pdf文件",
  29425. "type": "string"
  29426. },
  29427. "telphone": {
  29428. "description": "联系电话(加密存储)",
  29429. "type": "string"
  29430. },
  29431. "userid": {
  29432. "description": "用户ID",
  29433. "type": "integer"
  29434. },
  29435. "userinfotype": {
  29436. "description": "用户信息类型 - 1:个人 2:企业",
  29437. "type": "integer"
  29438. },
  29439. "userstatus": {
  29440. "description": "用户状态 - 1:正常 2:注销",
  29441. "type": "integer"
  29442. },
  29443. "usertype": {
  29444. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户",
  29445. "type": "integer"
  29446. },
  29447. "wechat": {
  29448. "description": "微信(加密存储)",
  29449. "type": "string"
  29450. },
  29451. "wskhinfo": {
  29452. "description": "开户申请信息(JSON)",
  29453. "type": "string"
  29454. }
  29455. }
  29456. },
  29457. "models.WRSConverTDetail": {
  29458. "type": "object",
  29459. "properties": {
  29460. "convertratio": {
  29461. "description": "套保系数",
  29462. "type": "number"
  29463. },
  29464. "deliverygoodscode": {
  29465. "description": "现货商品代码",
  29466. "type": "string"
  29467. },
  29468. "deliverygoodsid": {
  29469. "description": "现货品种ID",
  29470. "type": "integer"
  29471. },
  29472. "deliverygoodsname": {
  29473. "description": "现货商品名称",
  29474. "type": "string"
  29475. },
  29476. "enumdicname": {
  29477. "description": "单位名称",
  29478. "type": "string"
  29479. },
  29480. "goodsunitid": {
  29481. "description": "套保品种单位id",
  29482. "type": "integer"
  29483. },
  29484. "middlegoodscode": {
  29485. "description": "套保品种代码",
  29486. "type": "string"
  29487. },
  29488. "middlegoodsid": {
  29489. "description": "套保品种ID",
  29490. "type": "integer"
  29491. },
  29492. "middlegoodsname": {
  29493. "description": "套保品种名称",
  29494. "type": "string"
  29495. },
  29496. "modifytime": {
  29497. "description": "修改时间",
  29498. "type": "string"
  29499. },
  29500. "wrstandardid": {
  29501. "description": "品类ID",
  29502. "type": "integer"
  29503. }
  29504. }
  29505. },
  29506. "models.WRStandardInfo": {
  29507. "type": "object",
  29508. "required": [
  29509. "wrstandardid"
  29510. ],
  29511. "properties": {
  29512. "areauserid": {
  29513. "description": "所属机构",
  29514. "type": "integer"
  29515. },
  29516. "convertfactor": {
  29517. "description": "标仓系数",
  29518. "type": "number"
  29519. },
  29520. "createtime": {
  29521. "description": "创建时间",
  29522. "type": "string"
  29523. },
  29524. "creatorid": {
  29525. "description": "创建人",
  29526. "type": "integer"
  29527. },
  29528. "deliverygoodsid": {
  29529. "description": "品种ID",
  29530. "type": "integer"
  29531. },
  29532. "deliverygoodsname": {
  29533. "description": "交割商品名称",
  29534. "type": "string"
  29535. },
  29536. "factoryitemjson": {
  29537. "description": "要素项定义Json[{\"DGFactoryItemTypeID\": ,\"ItemTypeMode\": ,\"FactoryItemIDs\": },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem-\u003eDGFactoryItemTypeIDItemTypeMode - 要素项类型模式 --DGFactoryItem-\u003eItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem-\u003eDGFactoryItemID, 逗号分隔",
  29538. "type": "string"
  29539. },
  29540. "isvalid": {
  29541. "description": "是否有效 - 0:无效 1:有效",
  29542. "type": "integer"
  29543. },
  29544. "minivalue": {
  29545. "description": "最小变动值",
  29546. "type": "integer"
  29547. },
  29548. "minivaluedp": {
  29549. "description": "最小变动值小数位",
  29550. "type": "integer"
  29551. },
  29552. "realminivalue": {
  29553. "description": "实际最小变动值",
  29554. "type": "integer"
  29555. },
  29556. "realminivaluedp": {
  29557. "description": "实际最小变动值小数位",
  29558. "type": "integer"
  29559. },
  29560. "remark": {
  29561. "description": "备注",
  29562. "type": "string"
  29563. },
  29564. "unitid": {
  29565. "description": "单位ID",
  29566. "type": "integer"
  29567. },
  29568. "unitname": {
  29569. "description": "单位",
  29570. "type": "string"
  29571. },
  29572. "updatetime": {
  29573. "description": "更新时间",
  29574. "type": "string"
  29575. },
  29576. "updatorid": {
  29577. "description": "更新人",
  29578. "type": "integer"
  29579. },
  29580. "wrsstatus": {
  29581. "description": "状态 - 作废 - 0:未激活 1:正常",
  29582. "type": "integer"
  29583. },
  29584. "wrstandardcode": {
  29585. "description": "现货品类代码",
  29586. "type": "string"
  29587. },
  29588. "wrstandardid": {
  29589. "description": "现货品类ID(SEQ_WRSTANDARD)",
  29590. "type": "integer"
  29591. },
  29592. "wrstandardname": {
  29593. "description": "现货品类名称",
  29594. "type": "string"
  29595. }
  29596. }
  29597. },
  29598. "models.Warehouseinfo": {
  29599. "type": "object",
  29600. "required": [
  29601. "autoid",
  29602. "warehousecode"
  29603. ],
  29604. "properties": {
  29605. "address": {
  29606. "description": "详细地址",
  29607. "type": "string"
  29608. },
  29609. "areauserid": {
  29610. "description": "所属机构",
  29611. "type": "integer"
  29612. },
  29613. "autoid": {
  29614. "description": "自增ID",
  29615. "type": "integer"
  29616. },
  29617. "cityid": {
  29618. "description": "市",
  29619. "type": "integer"
  29620. },
  29621. "contactname": {
  29622. "description": "联系人",
  29623. "type": "string"
  29624. },
  29625. "contactnum": {
  29626. "description": "联系电话",
  29627. "type": "string"
  29628. },
  29629. "countryid": {
  29630. "description": "国家",
  29631. "type": "integer"
  29632. },
  29633. "createtime": {
  29634. "description": "创建时间",
  29635. "type": "string"
  29636. },
  29637. "districtid": {
  29638. "description": "区",
  29639. "type": "integer"
  29640. },
  29641. "hasvideo": {
  29642. "description": "是否有视频 - 0:无 1:有",
  29643. "type": "integer"
  29644. },
  29645. "provinceid": {
  29646. "description": "省",
  29647. "type": "integer"
  29648. },
  29649. "remark": {
  29650. "description": "审核备注",
  29651. "type": "string"
  29652. },
  29653. "videourl": {
  29654. "description": "视频地址",
  29655. "type": "string"
  29656. },
  29657. "warehousecode": {
  29658. "description": "仓库代码",
  29659. "type": "string"
  29660. },
  29661. "warehousename": {
  29662. "description": "仓库名称",
  29663. "type": "string"
  29664. },
  29665. "warehousestatus": {
  29666. "description": "仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝",
  29667. "type": "integer"
  29668. },
  29669. "warehousetype": {
  29670. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  29671. "type": "integer"
  29672. }
  29673. }
  29674. },
  29675. "models.WrFAProductDetail": {
  29676. "type": "object",
  29677. "properties": {
  29678. "accountid": {
  29679. "description": "资金账号",
  29680. "type": "integer"
  29681. },
  29682. "areauserid": {
  29683. "description": "金融机构ID",
  29684. "type": "integer"
  29685. },
  29686. "financingdays": {
  29687. "description": "天数(天)",
  29688. "type": "integer"
  29689. },
  29690. "interestminlen": {
  29691. "description": "最小起息天数",
  29692. "type": "integer"
  29693. },
  29694. "interestrate": {
  29695. "description": "利率",
  29696. "type": "number"
  29697. },
  29698. "interestratemode": {
  29699. "description": "利率方式 - 1:年利率 2:日利率",
  29700. "type": "integer"
  29701. },
  29702. "interestsettlemode": {
  29703. "description": "结息方式 - 1:按日结息 3:按月结息",
  29704. "type": "integer"
  29705. },
  29706. "interestsettlevalue": {
  29707. "description": "结息方式值",
  29708. "type": "integer"
  29709. },
  29710. "isautoloan": {
  29711. "description": "是否自动放款 0-手动 1-自动 (当为自动放款时,显示\"放款快\")",
  29712. "type": "integer"
  29713. },
  29714. "marginratio": {
  29715. "description": "保证金比率质押率 - [仓单质押]",
  29716. "type": "number"
  29717. },
  29718. "productdetailid": {
  29719. "description": "产品组合ID(SEQ_FINANCEAREAPRODUCTDETAIL)",
  29720. "type": "integer"
  29721. },
  29722. "productid": {
  29723. "description": "金融产品ID",
  29724. "type": "integer"
  29725. },
  29726. "productname": {
  29727. "description": "产品名称",
  29728. "type": "string"
  29729. },
  29730. "updatetime": {
  29731. "description": "更新时间",
  29732. "type": "string"
  29733. },
  29734. "username": {
  29735. "description": "融出方",
  29736. "type": "string"
  29737. },
  29738. "wrfactortypeid": {
  29739. "description": "仓单要素ID",
  29740. "type": "string"
  29741. }
  29742. }
  29743. },
  29744. "models.WrFactorTypeInfo": {
  29745. "type": "object",
  29746. "properties": {
  29747. "deliverygoodscode": {
  29748. "description": "品种代码",
  29749. "type": "string"
  29750. },
  29751. "deliverygoodsname": {
  29752. "description": "品种名称",
  29753. "type": "string"
  29754. },
  29755. "dgfactoryitemid": {
  29756. "description": "选择项id",
  29757. "type": "integer"
  29758. },
  29759. "dgfactoryitemtypeid": {
  29760. "description": "要素选择项ID (1-仓库 2-品牌)",
  29761. "type": "integer"
  29762. },
  29763. "dgfactoryitemvalue": {
  29764. "description": "要素项值",
  29765. "type": "string"
  29766. },
  29767. "itemtypename": {
  29768. "description": "要素项名称",
  29769. "type": "string"
  29770. },
  29771. "optioncompare": {
  29772. "description": "选择比较串",
  29773. "type": "string"
  29774. },
  29775. "warehouseid": {
  29776. "description": "仓库id",
  29777. "type": "integer"
  29778. },
  29779. "wrfactortypeid": {
  29780. "description": "仓单要素ID",
  29781. "type": "string"
  29782. },
  29783. "wrfactortypename": {
  29784. "description": "要素名称",
  29785. "type": "string"
  29786. },
  29787. "wrfactortypename2": {
  29788. "description": "要素名称(不含仓库)",
  29789. "type": "string"
  29790. },
  29791. "wrstandardcode": {
  29792. "description": "品类代码",
  29793. "type": "string"
  29794. },
  29795. "wrstandardid": {
  29796. "description": "品类id",
  29797. "type": "integer"
  29798. },
  29799. "wrstandardname": {
  29800. "description": "品类名称",
  29801. "type": "string"
  29802. }
  29803. }
  29804. },
  29805. "models.WrFilterItem": {
  29806. "type": "object",
  29807. "properties": {
  29808. "itemcode": {
  29809. "description": "代码",
  29810. "type": "string"
  29811. },
  29812. "itemid": {
  29813. "description": "项id",
  29814. "type": "integer"
  29815. },
  29816. "itemname": {
  29817. "description": "名称",
  29818. "type": "string"
  29819. },
  29820. "itemtype": {
  29821. "description": "类型 1-品种 2-品类(商品) 3-仓库",
  29822. "type": "integer"
  29823. }
  29824. }
  29825. },
  29826. "models.WrFtDeliveryGoods": {
  29827. "type": "object",
  29828. "properties": {
  29829. "deliverygoodscode": {
  29830. "description": "品种代码",
  29831. "type": "string"
  29832. },
  29833. "deliverygoodsid": {
  29834. "description": "品种ID",
  29835. "type": "integer"
  29836. },
  29837. "deliverygoodsname": {
  29838. "description": "品种名称",
  29839. "type": "string"
  29840. },
  29841. "wdlst": {
  29842. "description": "商品列表",
  29843. "type": "array",
  29844. "items": {
  29845. "$ref": "#/definitions/models.WrFtWrstandard"
  29846. }
  29847. }
  29848. }
  29849. },
  29850. "models.WrFtWrstandard": {
  29851. "type": "object",
  29852. "properties": {
  29853. "wrstandardcode": {
  29854. "description": "现货商品代码",
  29855. "type": "string"
  29856. },
  29857. "wrstandardid": {
  29858. "description": "现货商品ID",
  29859. "type": "integer"
  29860. },
  29861. "wrstandardname": {
  29862. "description": "商品名称",
  29863. "type": "string"
  29864. }
  29865. }
  29866. },
  29867. "models.WrGoodsInfo": {
  29868. "type": "object",
  29869. "properties": {
  29870. "haswr": {
  29871. "description": "0:仓单预售 1:仓单贸易",
  29872. "type": "integer"
  29873. },
  29874. "lstitem": {
  29875. "description": "商品信息项",
  29876. "type": "array",
  29877. "items": {
  29878. "$ref": "#/definitions/models.WrTypeItem"
  29879. }
  29880. },
  29881. "lststep": {
  29882. "description": "履约规则",
  29883. "type": "array",
  29884. "items": {
  29885. "$ref": "#/definitions/models.WrGoodsPerformanceStep"
  29886. }
  29887. },
  29888. "marketid": {
  29889. "description": "市场id",
  29890. "type": "integer"
  29891. }
  29892. }
  29893. },
  29894. "models.WrGoodsPerformanceStep": {
  29895. "type": "object",
  29896. "properties": {
  29897. "autoid": {
  29898. "description": "AutoID",
  29899. "type": "integer"
  29900. },
  29901. "isauto": {
  29902. "description": "是否自动 - 0:不自动 1:自动",
  29903. "type": "integer"
  29904. },
  29905. "remark": {
  29906. "description": "备注",
  29907. "type": "string"
  29908. },
  29909. "stepdate": {
  29910. "description": "天数信息(T+N)",
  29911. "type": "string"
  29912. },
  29913. "stepdays": {
  29914. "description": "距离上一步天数",
  29915. "type": "integer"
  29916. },
  29917. "stepindex": {
  29918. "description": "步骤序号",
  29919. "type": "integer"
  29920. },
  29921. "stepinfo": {
  29922. "description": "步骤信息(步骤名称+步骤值)",
  29923. "type": "string"
  29924. },
  29925. "steptypeid": {
  29926. "description": "履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“",
  29927. "type": "integer"
  29928. },
  29929. "steptypename": {
  29930. "description": "步骤名称",
  29931. "type": "string"
  29932. },
  29933. "stepvalue": {
  29934. "description": "步骤值",
  29935. "type": "number"
  29936. },
  29937. "templateid": {
  29938. "description": "履约计划模板ID",
  29939. "type": "integer"
  29940. }
  29941. }
  29942. },
  29943. "models.WrHoldLB": {
  29944. "type": "object",
  29945. "properties": {
  29946. "accountid": {
  29947. "description": "持有人帐户ID",
  29948. "type": "integer"
  29949. },
  29950. "createtime": {
  29951. "description": "创建时间(过户时间)",
  29952. "type": "string"
  29953. },
  29954. "deliverygoodscode": {
  29955. "description": "品种代码",
  29956. "type": "string"
  29957. },
  29958. "deliverygoodsid": {
  29959. "description": "品种ID",
  29960. "type": "integer"
  29961. },
  29962. "deliverygoodsname": {
  29963. "description": "品种名称",
  29964. "type": "string"
  29965. },
  29966. "enableqty": {
  29967. "description": "可用数量",
  29968. "type": "number"
  29969. },
  29970. "enumdicname": {
  29971. "description": "单位名称",
  29972. "type": "string"
  29973. },
  29974. "freezerqty": {
  29975. "description": "冻结数量",
  29976. "type": "number"
  29977. },
  29978. "ladingbillid": {
  29979. "description": "提单ID(208+Unix秒时间戳(10位)+xxxxxx)",
  29980. "type": "string"
  29981. },
  29982. "minivalue": {
  29983. "description": "现货商品最小变动值",
  29984. "type": "integer"
  29985. },
  29986. "optioncompare": {
  29987. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  29988. "type": "string"
  29989. },
  29990. "parentsubnum": {
  29991. "description": "拆分父子单号",
  29992. "type": "integer"
  29993. },
  29994. "pledgeqty": {
  29995. "description": "质押数量",
  29996. "type": "number"
  29997. },
  29998. "qty": {
  29999. "description": "数量",
  30000. "type": "number"
  30001. },
  30002. "subnum": {
  30003. "description": "提单子单号",
  30004. "type": "integer"
  30005. },
  30006. "tradedate": {
  30007. "description": "交易日(yyyyMMdd)",
  30008. "type": "string"
  30009. },
  30010. "userid": {
  30011. "description": "持有人ID",
  30012. "type": "integer"
  30013. },
  30014. "warehouseid": {
  30015. "description": "仓库ID",
  30016. "type": "integer"
  30017. },
  30018. "warehousename": {
  30019. "description": "仓库名称",
  30020. "type": "string"
  30021. },
  30022. "wrfactortypeid": {
  30023. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  30024. "type": "string"
  30025. },
  30026. "wrfactortypename": {
  30027. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  30028. "type": "string"
  30029. },
  30030. "wrholdeno": {
  30031. "description": "仓单编号",
  30032. "type": "string"
  30033. },
  30034. "wrid": {
  30035. "description": "仓单变更ID",
  30036. "type": "string"
  30037. },
  30038. "wrstandardcode": {
  30039. "description": "现货商品代码",
  30040. "type": "string"
  30041. },
  30042. "wrstandardid": {
  30043. "description": "现货商品ID",
  30044. "type": "integer"
  30045. },
  30046. "wrstandardname": {
  30047. "description": "商品名称",
  30048. "type": "string"
  30049. },
  30050. "wrtypename": {
  30051. "description": "商品",
  30052. "type": "string"
  30053. }
  30054. }
  30055. },
  30056. "models.WrMarketTradeConfig": {
  30057. "type": "object",
  30058. "properties": {
  30059. "buychargealgorithm": {
  30060. "description": "买方手续费收取方式 1:比率 2:固定",
  30061. "type": "integer"
  30062. },
  30063. "buychargealgorithm2": {
  30064. "description": "回购买方手续费收取方式 1:比率 2:固定 --77:现货商城",
  30065. "type": "integer"
  30066. },
  30067. "buychargealgorithmvalue": {
  30068. "description": "买方手续费设置值(交易所部分)",
  30069. "type": "number"
  30070. },
  30071. "buychargealgorithmvalue2": {
  30072. "description": "买方手续费设置值(会员部分)",
  30073. "type": "number"
  30074. },
  30075. "buychargealgorithmvalue3": {
  30076. "description": "回购买方手续费设置值(交易所部分) --77:现货商城",
  30077. "type": "number"
  30078. },
  30079. "buychargealgorithmvalue4": {
  30080. "description": "回购买方手续费设置值(会员部分) --77:现货商城",
  30081. "type": "number"
  30082. },
  30083. "buyfirstmarginalgorithm": {
  30084. "description": "买方出价保证金方式 - 1:比率 2:固定 - [竞拍]",
  30085. "type": "integer"
  30086. },
  30087. "buyfirstmarginvalue": {
  30088. "description": "买方出价保证金设置值 - [竞拍]",
  30089. "type": "number"
  30090. },
  30091. "buymarginalgorithm": {
  30092. "description": "买方保证金方式 - 1:比率 2:固定",
  30093. "type": "integer"
  30094. },
  30095. "buymarginvalue": {
  30096. "description": "买方保证金设置值",
  30097. "type": "number"
  30098. },
  30099. "buyreleaseratio": {
  30100. "description": "买方释放比率[2:分步履约]",
  30101. "type": "number"
  30102. },
  30103. "executemode": {
  30104. "description": "执行方式[2:分步履约] - 1:顺序执行 2:交叉执行",
  30105. "type": "integer"
  30106. },
  30107. "executeside": {
  30108. "description": "执行方[2:分步履约] - 1:买方 2:卖方",
  30109. "type": "integer"
  30110. },
  30111. "failedchargealgorithm": {
  30112. "description": "流拍手续费收取方式 1:比率 2:固定",
  30113. "type": "integer"
  30114. },
  30115. "failedchargevalue": {
  30116. "description": "流拍手续费设置值",
  30117. "type": "number"
  30118. },
  30119. "failedchargevalue2": {
  30120. "description": "流拍卖方手续费设置值",
  30121. "type": "number"
  30122. },
  30123. "holddays": {
  30124. "description": "合同期限[2:分步履约]",
  30125. "type": "integer"
  30126. },
  30127. "marketid": {
  30128. "description": "市场ID-仓单贸易、竞拍、预售",
  30129. "type": "integer"
  30130. },
  30131. "minqty": {
  30132. "description": "最小执行量[2:分步履约]",
  30133. "type": "number"
  30134. },
  30135. "modifierid": {
  30136. "description": "修改人",
  30137. "type": "integer"
  30138. },
  30139. "performancetempid": {
  30140. "description": "履约计划模板ID(有仓单) - 根据交货模式:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式: 立即执行(-1)",
  30141. "type": "integer"
  30142. },
  30143. "performancetempid2": {
  30144. "description": "履约计划模板ID(无仓单) - 根据交货模式:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式: 立即执行",
  30145. "type": "integer"
  30146. },
  30147. "performanceway": {
  30148. "description": "交货模式 - 1:履约计划 2:分步履约 3:分步提货[文昌]",
  30149. "type": "integer"
  30150. },
  30151. "sellchargealgorithm": {
  30152. "description": "卖方手续费收取方式 1:比率 2:固定",
  30153. "type": "integer"
  30154. },
  30155. "sellchargealgorithm2": {
  30156. "description": "回购卖方手续费收取方式 1:比率 2:固定 --77:现货商城",
  30157. "type": "integer"
  30158. },
  30159. "sellchargealgorithmvalue": {
  30160. "description": "卖方手续费设置值(交易所部分)",
  30161. "type": "number"
  30162. },
  30163. "sellchargealgorithmvalue2": {
  30164. "description": "卖方手续费设置值(会员部分)",
  30165. "type": "number"
  30166. },
  30167. "sellchargealgorithmvalue3": {
  30168. "description": "回购卖方手续费设置值(交易所部分) --77:现货商城",
  30169. "type": "number"
  30170. },
  30171. "sellchargealgorithmvalue4": {
  30172. "description": "回购卖方手续费设置值(会员部分) --77:现货商城",
  30173. "type": "number"
  30174. },
  30175. "sellmarginalgorithm": {
  30176. "description": "卖方保证金方式 - 1:比率 2:固定",
  30177. "type": "integer"
  30178. },
  30179. "sellmarginvalue": {
  30180. "description": "卖方保证金设置值",
  30181. "type": "number"
  30182. },
  30183. "sellmarginvalue2": {
  30184. "description": "卖方保证金设置值(无仓单)",
  30185. "type": "number"
  30186. },
  30187. "sellreleaseratio": {
  30188. "description": "卖方释放比率[2:分步履约]",
  30189. "type": "number"
  30190. },
  30191. "updatetime": {
  30192. "description": "更新时间",
  30193. "type": "string"
  30194. }
  30195. }
  30196. },
  30197. "models.WrOrderDetail": {
  30198. "type": "object",
  30199. "properties": {
  30200. "buyorsell": {
  30201. "description": "买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)",
  30202. "type": "integer"
  30203. },
  30204. "cancelqty": {
  30205. "description": "撤销数量",
  30206. "type": "number"
  30207. },
  30208. "deliverygoodscode": {
  30209. "description": "品种代码",
  30210. "type": "string"
  30211. },
  30212. "deliverygoodsid": {
  30213. "description": "品种ID",
  30214. "type": "integer"
  30215. },
  30216. "deliverygoodsname": {
  30217. "description": "品种名称",
  30218. "type": "string"
  30219. },
  30220. "deliverymonth": {
  30221. "description": "交收月",
  30222. "type": "string"
  30223. },
  30224. "enumdicname": {
  30225. "description": "单位名称",
  30226. "type": "string"
  30227. },
  30228. "fixedprice": {
  30229. "description": "固定价格 - [挂牌]",
  30230. "type": "number"
  30231. },
  30232. "futupricemove": {
  30233. "description": "期货升贴水",
  30234. "type": "number"
  30235. },
  30236. "futushow": {
  30237. "description": "期货合约/升贴水",
  30238. "type": "string"
  30239. },
  30240. "goodscode": {
  30241. "description": "期货合约",
  30242. "type": "string"
  30243. },
  30244. "goodsid": {
  30245. "description": "期货商品id",
  30246. "type": "integer"
  30247. },
  30248. "goodsname": {
  30249. "description": "商品名称",
  30250. "type": "string"
  30251. },
  30252. "haswr": {
  30253. "description": "是否有仓单-卖方 - 0:无仓单 1:有仓单",
  30254. "type": "integer"
  30255. },
  30256. "marketid": {
  30257. "description": "市场ID",
  30258. "type": "integer"
  30259. },
  30260. "minivalue": {
  30261. "description": "现货商品最小变动值",
  30262. "type": "integer"
  30263. },
  30264. "optioncompare": {
  30265. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  30266. "type": "string"
  30267. },
  30268. "orderqty": {
  30269. "description": "委托数量",
  30270. "type": "number"
  30271. },
  30272. "ordertime": {
  30273. "description": "委托时间(挂牌时间)",
  30274. "type": "string"
  30275. },
  30276. "pricemove": {
  30277. "description": "升贴水(浮动价时填写) - [挂牌]",
  30278. "type": "number"
  30279. },
  30280. "tradedate": {
  30281. "description": "交易日(yyyyMMdd)",
  30282. "type": "string"
  30283. },
  30284. "tradeprice": {
  30285. "description": "成交价格 - [摘牌] (浮动价 ((商品1价格*商品1价格系数+升贴水)* 商品1重量系数 + 商品2价格*商品2价格系数+商品2升贴水)* 商品2重量系数 ...)* 委托单价格系数 + 委托单升贴水)",
  30286. "type": "number"
  30287. },
  30288. "tradeqty": {
  30289. "description": "成交数量",
  30290. "type": "number"
  30291. },
  30292. "userid": {
  30293. "description": "用户ID",
  30294. "type": "integer"
  30295. },
  30296. "warehouseid": {
  30297. "description": "仓库ID",
  30298. "type": "integer"
  30299. },
  30300. "warehousename": {
  30301. "description": "仓库名称",
  30302. "type": "string"
  30303. },
  30304. "wrfactortypeid": {
  30305. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  30306. "type": "string"
  30307. },
  30308. "wrfactortypename": {
  30309. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  30310. "type": "string"
  30311. },
  30312. "wrpricetype": {
  30313. "description": "价格方式 - 1:固定价 2-浮动价 - [挂牌]",
  30314. "type": "integer"
  30315. },
  30316. "wrstandardcode": {
  30317. "description": "现货商品代码",
  30318. "type": "string"
  30319. },
  30320. "wrstandardid": {
  30321. "description": "现货商品ID",
  30322. "type": "integer"
  30323. },
  30324. "wrstandardname": {
  30325. "description": "商品名称",
  30326. "type": "string"
  30327. },
  30328. "wrtradeorderid": {
  30329. "description": "仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  30330. "type": "string"
  30331. },
  30332. "wrtradeorderstatus": {
  30333. "description": "委托状态 - 1:委托请求 2:待冻结 3:委托成功 4:委托失败 5:配对成功 6:已撤 7:已成 8:成交失败 9:委托拒绝 10:挂牌部分成交 11:仓单生成失败 12:首付扣款失败 13:履约失败 14:撤单解冻贷款失败 15:部成部撤",
  30334. "type": "integer"
  30335. },
  30336. "wrtradetype": {
  30337. "description": "仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)",
  30338. "type": "integer"
  30339. },
  30340. "wrtypename": {
  30341. "description": "商品",
  30342. "type": "string"
  30343. }
  30344. }
  30345. },
  30346. "models.WrOrderQuote": {
  30347. "type": "object",
  30348. "properties": {
  30349. "buyprice": {
  30350. "description": "买价",
  30351. "type": "number"
  30352. },
  30353. "buypricemove": {
  30354. "description": "买升贴水(基差)",
  30355. "type": "number"
  30356. },
  30357. "buyqty": {
  30358. "description": "买量",
  30359. "type": "number"
  30360. },
  30361. "deliverygoodscode": {
  30362. "description": "品种代码",
  30363. "type": "string"
  30364. },
  30365. "deliverygoodsid": {
  30366. "description": "品种id",
  30367. "type": "integer"
  30368. },
  30369. "deliverygoodsname": {
  30370. "description": "品种名称",
  30371. "type": "string"
  30372. },
  30373. "deliverymonth": {
  30374. "description": "交收月",
  30375. "type": "string"
  30376. },
  30377. "enumdicname": {
  30378. "description": "单位名称",
  30379. "type": "string"
  30380. },
  30381. "goodscode": {
  30382. "description": "商品合约(浮动价列表才有)",
  30383. "type": "string"
  30384. },
  30385. "goodsid": {
  30386. "description": "商品id(浮动价列表才有)",
  30387. "type": "integer"
  30388. },
  30389. "minivalue": {
  30390. "description": "现货商品最小变动值",
  30391. "type": "integer"
  30392. },
  30393. "sellprice": {
  30394. "description": "卖价",
  30395. "type": "number"
  30396. },
  30397. "sellpricemove": {
  30398. "description": "卖升贴水(基差)",
  30399. "type": "number"
  30400. },
  30401. "sellqty": {
  30402. "description": "卖量",
  30403. "type": "number"
  30404. },
  30405. "warehousecode": {
  30406. "description": "仓库代码",
  30407. "type": "string"
  30408. },
  30409. "warehouseid": {
  30410. "description": "仓库id",
  30411. "type": "integer"
  30412. },
  30413. "warehousename": {
  30414. "description": "仓库名称",
  30415. "type": "string"
  30416. },
  30417. "wrfactortypeid": {
  30418. "description": "仓单要素id",
  30419. "type": "string"
  30420. },
  30421. "wrfactortypename": {
  30422. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  30423. "type": "string"
  30424. },
  30425. "wrgoodsname": {
  30426. "description": "商品(商品名称+仓库要素名称 拼接)",
  30427. "type": "string"
  30428. },
  30429. "wrstandardcode": {
  30430. "description": "商品代码",
  30431. "type": "string"
  30432. },
  30433. "wrstandardid": {
  30434. "description": "商品id",
  30435. "type": "integer"
  30436. },
  30437. "wrstandardname": {
  30438. "description": "商品名称",
  30439. "type": "string"
  30440. }
  30441. }
  30442. },
  30443. "models.WrOrderQuoteDetail": {
  30444. "type": "object",
  30445. "properties": {
  30446. "buyorsell": {
  30447. "description": "买卖 - 0:买 1:卖",
  30448. "type": "integer"
  30449. },
  30450. "deliverymonth": {
  30451. "description": "交收月",
  30452. "type": "string"
  30453. },
  30454. "enumdicname": {
  30455. "description": "单位名称",
  30456. "type": "string"
  30457. },
  30458. "fixedprice": {
  30459. "description": "买(卖)价",
  30460. "type": "number"
  30461. },
  30462. "minivalue": {
  30463. "description": "现货商品最小变动值",
  30464. "type": "integer"
  30465. },
  30466. "orderqty": {
  30467. "description": "买(卖)量(=委托量-成交量)",
  30468. "type": "number"
  30469. },
  30470. "ordertime": {
  30471. "description": "委托时间",
  30472. "type": "string"
  30473. },
  30474. "pricemove": {
  30475. "description": "买(卖)升贴水- 基差",
  30476. "type": "number"
  30477. },
  30478. "userid": {
  30479. "description": "购买方(销售方)用户ID",
  30480. "type": "integer"
  30481. },
  30482. "username": {
  30483. "description": "购买方(销售方)",
  30484. "type": "string"
  30485. },
  30486. "wrtradeorderid": {
  30487. "description": "仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  30488. "type": "string"
  30489. }
  30490. }
  30491. },
  30492. "models.WrPerformancePlan": {
  30493. "type": "object",
  30494. "required": [
  30495. "userid"
  30496. ],
  30497. "properties": {
  30498. "amount": {
  30499. "description": "履约金额(总金额)",
  30500. "type": "number"
  30501. },
  30502. "buyaccountid": {
  30503. "description": "买方账号",
  30504. "type": "integer"
  30505. },
  30506. "buyerfreezeamount": {
  30507. "description": "履约冻结(买履约)",
  30508. "type": "number"
  30509. },
  30510. "buyerfreezeamountremain": {
  30511. "description": "履约冻结剩余(买履约)",
  30512. "type": "number"
  30513. },
  30514. "buyorsell": {
  30515. "description": "买卖方向 0-买 1-卖",
  30516. "type": "integer"
  30517. },
  30518. "buypaidamount": {
  30519. "description": "买方已冻/已扣金额 (已付金额)",
  30520. "type": "number"
  30521. },
  30522. "buyusername": {
  30523. "description": "买方名字",
  30524. "type": "string"
  30525. },
  30526. "contractid": {
  30527. "description": "合同ID",
  30528. "type": "integer"
  30529. },
  30530. "createtime": {
  30531. "description": "创建时间",
  30532. "type": "string"
  30533. },
  30534. "creatorid": {
  30535. "description": "创建人",
  30536. "type": "integer"
  30537. },
  30538. "curstepdeadline": {
  30539. "description": "当前步骤到期时间",
  30540. "type": "string"
  30541. },
  30542. "curstepid": {
  30543. "description": "当前步骤ID",
  30544. "type": "string"
  30545. },
  30546. "curstepname": {
  30547. "description": "当前步骤名称",
  30548. "type": "string"
  30549. },
  30550. "deliverygoodscode": {
  30551. "description": "品种代码",
  30552. "type": "string"
  30553. },
  30554. "deliverygoodsid": {
  30555. "description": "品种ID",
  30556. "type": "integer"
  30557. },
  30558. "deliverygoodsname": {
  30559. "description": "品种名称",
  30560. "type": "string"
  30561. },
  30562. "enumdicname": {
  30563. "description": "单位名称",
  30564. "type": "string"
  30565. },
  30566. "expressfee": {
  30567. "description": "运费",
  30568. "type": "number"
  30569. },
  30570. "expressfeeconfirmed": {
  30571. "description": "是否确认运费 - 0:无 1:买方确认 2:卖方确认",
  30572. "type": "integer"
  30573. },
  30574. "hasovershort": {
  30575. "description": "是否确认溢短 - 0:没有 1:买方确认 2:卖方确认",
  30576. "type": "integer"
  30577. },
  30578. "haswr": {
  30579. "description": "类型 0-仓单预售 1-仓单贸易",
  30580. "type": "integer"
  30581. },
  30582. "marketid": {
  30583. "description": "市场ID",
  30584. "type": "integer"
  30585. },
  30586. "middleaccountid": {
  30587. "description": "中间商资金账号ID",
  30588. "type": "integer"
  30589. },
  30590. "middleuserid": {
  30591. "description": "中间商用户ID",
  30592. "type": "integer"
  30593. },
  30594. "minivalue": {
  30595. "description": "现货商品最小变动值",
  30596. "type": "integer"
  30597. },
  30598. "optioncompare": {
  30599. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  30600. "type": "string"
  30601. },
  30602. "overshortamount": {
  30603. "description": "溢短金额",
  30604. "type": "number"
  30605. },
  30606. "overshortqty": {
  30607. "description": "溢短数量",
  30608. "type": "number"
  30609. },
  30610. "paymenttype": {
  30611. "description": "付款方式 - 1:冻结 2:扣款",
  30612. "type": "integer"
  30613. },
  30614. "performanceplanid": {
  30615. "description": "履约计划ID(130+yyMMddHHmmss+xxxx)",
  30616. "type": "string"
  30617. },
  30618. "performancestatus": {
  30619. "description": "履约状态 - 1:初始化 2:正常 3:处理错误 4:违约待处理 5:违约处理中 6:完成 7.违约已完成 8:释放冻结失败 9:超时待处理 10:超时关闭",
  30620. "type": "integer"
  30621. },
  30622. "performancetype": {
  30623. "description": "履约类型 - 0:通用 1:交割 2:仓单贸易 3:预售集采 4:竞拍-降价式 (无仓单) 5:挂牌期权 6:竞拍-降价式 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式 10:法币C2C 11:报价系统 12:挂牌系统",
  30624. "type": "integer"
  30625. },
  30626. "qty": {
  30627. "description": "履约数量",
  30628. "type": "number"
  30629. },
  30630. "relatedorderid": {
  30631. "description": "关联单号(履约类型的关联单号)",
  30632. "type": "string"
  30633. },
  30634. "remark": {
  30635. "description": "备注",
  30636. "type": "string"
  30637. },
  30638. "sellaccountid": {
  30639. "description": "卖方账号",
  30640. "type": "integer"
  30641. },
  30642. "sellerfreezeamount": {
  30643. "description": "履约冻结(卖履约)",
  30644. "type": "number"
  30645. },
  30646. "sellerfreezeamountremain": {
  30647. "description": "履约冻结剩余(卖履约)",
  30648. "type": "number"
  30649. },
  30650. "sellreceivedamount": {
  30651. "description": "卖方已收金额",
  30652. "type": "number"
  30653. },
  30654. "sellusername": {
  30655. "description": "卖方名字",
  30656. "type": "string"
  30657. },
  30658. "shipremark": {
  30659. "description": "发货备注[物流单号]",
  30660. "type": "string"
  30661. },
  30662. "starttime": {
  30663. "description": "开始时间",
  30664. "type": "string"
  30665. },
  30666. "steptypeid": {
  30667. "description": "履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“",
  30668. "type": "integer"
  30669. },
  30670. "unpaidamount": {
  30671. "description": "剩余款(待支付金额)",
  30672. "type": "number"
  30673. },
  30674. "userid": {
  30675. "description": "用户id",
  30676. "type": "integer"
  30677. },
  30678. "warehouseid": {
  30679. "description": "仓库ID",
  30680. "type": "integer"
  30681. },
  30682. "warehousename": {
  30683. "description": "仓库名称",
  30684. "type": "string"
  30685. },
  30686. "wrfactortypeid": {
  30687. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  30688. "type": "string"
  30689. },
  30690. "wrfactortypename": {
  30691. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  30692. "type": "string"
  30693. },
  30694. "wrstandardcode": {
  30695. "description": "现货商品代码",
  30696. "type": "string"
  30697. },
  30698. "wrstandardid": {
  30699. "description": "现货商品ID",
  30700. "type": "integer"
  30701. },
  30702. "wrstandardname": {
  30703. "description": "商品名称",
  30704. "type": "string"
  30705. },
  30706. "wrtransferuserid": {
  30707. "description": "仓单受让用户",
  30708. "type": "integer"
  30709. },
  30710. "wrtypename": {
  30711. "description": "商品",
  30712. "type": "string"
  30713. }
  30714. }
  30715. },
  30716. "models.WrPerformancePlanStep": {
  30717. "type": "object",
  30718. "properties": {
  30719. "delaydays": {
  30720. "description": "延期申请天数",
  30721. "type": "integer"
  30722. },
  30723. "deliverygoodscode": {
  30724. "description": "品种代码",
  30725. "type": "string"
  30726. },
  30727. "deliverygoodsid": {
  30728. "description": "品种ID",
  30729. "type": "integer"
  30730. },
  30731. "deliverygoodsname": {
  30732. "description": "品种名称",
  30733. "type": "string"
  30734. },
  30735. "endtime": {
  30736. "description": "结束日期",
  30737. "type": "string"
  30738. },
  30739. "enumdicname": {
  30740. "description": "单位名称",
  30741. "type": "string"
  30742. },
  30743. "executeside": {
  30744. "description": "步骤执行方 - 1:买方 2:卖方",
  30745. "type": "integer"
  30746. },
  30747. "handlestatus": {
  30748. "description": "处理状态 - 1:开始 2:结束 3:冻结请求 4:冻结返回成功 5:冻结返回失败 6:扣款请求 7:扣款返回成功 8:扣款返回失败 9:仓单转移请求 10:仓单转移返回成功 11:仓单转移返回失败 12:加钱请求 13:加钱返回成功 14:加钱返回失败 15:解冻仓单头寸请求 16:解冻仓单头寸返回成功 17:解冻仓单头寸返回失败 18:解冻库位请求 19:解冻库位返回成功 20:解冻库位返回失败",
  30749. "type": "integer"
  30750. },
  30751. "isauto": {
  30752. "description": "是否自动 - 0:不自动 1:自动",
  30753. "type": "integer"
  30754. },
  30755. "islastreceivestep": {
  30756. "description": "是否最后收款步骤 - 0:不是 1:是 (暂时不用,由服务自己判断是否为最后一步付款或收款)",
  30757. "type": "integer"
  30758. },
  30759. "minivalue": {
  30760. "description": "现货商品最小变动值",
  30761. "type": "integer"
  30762. },
  30763. "optioncompare": {
  30764. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  30765. "type": "string"
  30766. },
  30767. "overdays": {
  30768. "description": "超期天数 = 当前时间(数据库时间) - 结束日期",
  30769. "type": "integer"
  30770. },
  30771. "performancestepid": {
  30772. "description": "履约步骤ID(131+Unix秒时间戳(10位)+xxxxxx)",
  30773. "type": "string"
  30774. },
  30775. "planid": {
  30776. "description": "所属履约计划ID",
  30777. "type": "string"
  30778. },
  30779. "realamount": {
  30780. "description": "实际完成金额",
  30781. "type": "number"
  30782. },
  30783. "relatedorderid": {
  30784. "description": "关联单号",
  30785. "type": "string"
  30786. },
  30787. "remaindays": {
  30788. "description": "剩余天数",
  30789. "type": "integer"
  30790. },
  30791. "remark": {
  30792. "description": "错误备注",
  30793. "type": "string"
  30794. },
  30795. "starttime": {
  30796. "description": "开始日期",
  30797. "type": "string"
  30798. },
  30799. "stepamount": {
  30800. "description": "步骤金额",
  30801. "type": "number"
  30802. },
  30803. "stepdays": {
  30804. "description": "距离上一步天数(分钟)",
  30805. "type": "integer"
  30806. },
  30807. "stepindex": {
  30808. "description": "步骤序号",
  30809. "type": "integer"
  30810. },
  30811. "steplanchtype": {
  30812. "description": "步骤启动类型 - 1:系统自动 2:手动",
  30813. "type": "integer"
  30814. },
  30815. "stepremark": {
  30816. "description": "步骤备注",
  30817. "type": "string"
  30818. },
  30819. "stepstatus": {
  30820. "description": "步骤状态 - 1:待开始 2:进行中 3:已完成 4:延期(进行中) 5:失败 6:自动完成 7:超时关闭",
  30821. "type": "integer"
  30822. },
  30823. "steptypeid": {
  30824. "description": "履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“",
  30825. "type": "integer"
  30826. },
  30827. "steptypename": {
  30828. "description": "步骤名称",
  30829. "type": "string"
  30830. },
  30831. "stepvalue": {
  30832. "description": "步骤值",
  30833. "type": "number"
  30834. },
  30835. "warehouseid": {
  30836. "description": "仓库ID",
  30837. "type": "integer"
  30838. },
  30839. "warehousename": {
  30840. "description": "仓库名称",
  30841. "type": "string"
  30842. },
  30843. "wrfactortypeid": {
  30844. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  30845. "type": "string"
  30846. },
  30847. "wrfactortypename": {
  30848. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  30849. "type": "string"
  30850. },
  30851. "wrstandardcode": {
  30852. "description": "现货商品代码",
  30853. "type": "string"
  30854. },
  30855. "wrstandardid": {
  30856. "description": "现货商品ID",
  30857. "type": "integer"
  30858. },
  30859. "wrstandardname": {
  30860. "description": "商品名称",
  30861. "type": "string"
  30862. },
  30863. "wrtypename": {
  30864. "description": "商品",
  30865. "type": "string"
  30866. }
  30867. }
  30868. },
  30869. "models.WrPosition": {
  30870. "type": "object",
  30871. "properties": {
  30872. "accountid": {
  30873. "description": "帐户ID",
  30874. "type": "integer"
  30875. },
  30876. "buyexcuteqty": {
  30877. "description": "采购履约中数量",
  30878. "type": "number"
  30879. },
  30880. "creditcurqty": {
  30881. "description": "授信当前数量(预售仓单:预售当前量)",
  30882. "type": "number"
  30883. },
  30884. "creditenableqty": {
  30885. "description": "授信可用数量(预售仓单: 可用数量)",
  30886. "type": "number"
  30887. },
  30888. "creditfreezeqty": {
  30889. "description": "授信冻结数量(预售仓单: 当前数量)",
  30890. "type": "number"
  30891. },
  30892. "credittotalqty": {
  30893. "description": "授信总数量(预售仓单:预售总量)",
  30894. "type": "number"
  30895. },
  30896. "credittradeqty": {
  30897. "description": "授信成交数量(预售仓单:成交总量)",
  30898. "type": "number"
  30899. },
  30900. "deliverygoodscode": {
  30901. "description": "品种代码",
  30902. "type": "string"
  30903. },
  30904. "deliverygoodsid": {
  30905. "description": "品种ID",
  30906. "type": "integer"
  30907. },
  30908. "deliverygoodsname": {
  30909. "description": "品种名称",
  30910. "type": "string"
  30911. },
  30912. "enalbeqty": {
  30913. "description": "可用数量",
  30914. "type": "number"
  30915. },
  30916. "enumdicname": {
  30917. "description": "单位名称",
  30918. "type": "string"
  30919. },
  30920. "freezeqty": {
  30921. "description": "总冻结数量",
  30922. "type": "number"
  30923. },
  30924. "haswr": {
  30925. "description": "是否有仓单-卖方 - 0:无仓单 1:有仓单",
  30926. "type": "integer"
  30927. },
  30928. "minivalue": {
  30929. "description": "现货商品最小变动值",
  30930. "type": "integer"
  30931. },
  30932. "modifytime": {
  30933. "description": "修改时间(过户时间)",
  30934. "type": "string"
  30935. },
  30936. "optioncompare": {
  30937. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  30938. "type": "string"
  30939. },
  30940. "pledgeqty": {
  30941. "description": "质押数量",
  30942. "type": "number"
  30943. },
  30944. "querytype": {
  30945. "description": "查询类型 1-现货汇总 2-库存汇总(订单汇总)",
  30946. "type": "integer"
  30947. },
  30948. "sellexcuteqty": {
  30949. "description": "销售履约中数量",
  30950. "type": "number"
  30951. },
  30952. "totalqty": {
  30953. "description": "总数量(库存数量)",
  30954. "type": "number"
  30955. },
  30956. "warehouseid": {
  30957. "description": "仓库ID",
  30958. "type": "integer"
  30959. },
  30960. "warehousename": {
  30961. "description": "仓库名称",
  30962. "type": "string"
  30963. },
  30964. "wrfactortypeid": {
  30965. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  30966. "type": "string"
  30967. },
  30968. "wrfactortypename": {
  30969. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  30970. "type": "string"
  30971. },
  30972. "wrpositionid": {
  30973. "description": "仓单头寸ID(201+Unix秒时间戳(10位)+xxxxxx)",
  30974. "type": "string"
  30975. },
  30976. "wrpositionno": {
  30977. "description": "仓单编号",
  30978. "type": "string"
  30979. },
  30980. "wrstandardcode": {
  30981. "description": "现货商品代码",
  30982. "type": "string"
  30983. },
  30984. "wrstandardid": {
  30985. "description": "现货商品ID",
  30986. "type": "integer"
  30987. },
  30988. "wrstandardname": {
  30989. "description": "商品名称",
  30990. "type": "string"
  30991. },
  30992. "wrtypename": {
  30993. "description": "商品",
  30994. "type": "string"
  30995. },
  30996. "wruserid": {
  30997. "description": "持有人ID",
  30998. "type": "integer"
  30999. }
  31000. }
  31001. },
  31002. "models.WrSpecialMatchOrder": {
  31003. "type": "object",
  31004. "properties": {
  31005. "amount": {
  31006. "description": "金额 = 数量 * 价格",
  31007. "type": "number"
  31008. },
  31009. "buyorsell": {
  31010. "description": "买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)",
  31011. "type": "integer"
  31012. },
  31013. "cancelqty": {
  31014. "description": "撤销数量",
  31015. "type": "number"
  31016. },
  31017. "deliverygoodscode": {
  31018. "description": "品种代码",
  31019. "type": "string"
  31020. },
  31021. "deliverygoodsid": {
  31022. "description": "品种ID",
  31023. "type": "integer"
  31024. },
  31025. "deliverygoodsname": {
  31026. "description": "品种名称",
  31027. "type": "string"
  31028. },
  31029. "enumdicname": {
  31030. "description": "单位名称",
  31031. "type": "string"
  31032. },
  31033. "fixedprice": {
  31034. "description": "固定价格(价格)",
  31035. "type": "number"
  31036. },
  31037. "haswr": {
  31038. "description": "是否有仓单-卖方 - 0:无仓单 1:有仓单",
  31039. "type": "integer"
  31040. },
  31041. "marketid": {
  31042. "description": "市场ID",
  31043. "type": "integer"
  31044. },
  31045. "matchuserid": {
  31046. "description": "指定方资金账号(字段名为userid,实际存的是accountid by:邓工)",
  31047. "type": "integer"
  31048. },
  31049. "matchusername": {
  31050. "description": "指定方",
  31051. "type": "string"
  31052. },
  31053. "minivalue": {
  31054. "description": "现货商品最小变动值",
  31055. "type": "integer"
  31056. },
  31057. "optioncompare": {
  31058. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  31059. "type": "string"
  31060. },
  31061. "orderqty": {
  31062. "description": "委托数量",
  31063. "type": "number"
  31064. },
  31065. "ordertime": {
  31066. "description": "委托时间",
  31067. "type": "string"
  31068. },
  31069. "pricemove": {
  31070. "description": "升贴水(浮动价时填写) - [挂牌]",
  31071. "type": "number"
  31072. },
  31073. "tradedate": {
  31074. "description": "交易日(yyyyMMdd)",
  31075. "type": "string"
  31076. },
  31077. "tradeprice": {
  31078. "description": "成交价格",
  31079. "type": "number"
  31080. },
  31081. "tradeqty": {
  31082. "description": "成交数量",
  31083. "type": "number"
  31084. },
  31085. "userid": {
  31086. "description": "用户ID",
  31087. "type": "integer"
  31088. },
  31089. "username": {
  31090. "description": "发起方",
  31091. "type": "string"
  31092. },
  31093. "warehouseid": {
  31094. "description": "仓库ID",
  31095. "type": "integer"
  31096. },
  31097. "warehousename": {
  31098. "description": "仓库名称",
  31099. "type": "string"
  31100. },
  31101. "wrfactortypeid": {
  31102. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  31103. "type": "string"
  31104. },
  31105. "wrfactortypename": {
  31106. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  31107. "type": "string"
  31108. },
  31109. "wrpricetype": {
  31110. "description": "价格方式 - 1:固定价 2-浮动价 - [挂牌]",
  31111. "type": "integer"
  31112. },
  31113. "wrstandardcode": {
  31114. "description": "现货商品代码",
  31115. "type": "string"
  31116. },
  31117. "wrstandardid": {
  31118. "description": "现货商品ID",
  31119. "type": "integer"
  31120. },
  31121. "wrstandardname": {
  31122. "description": "商品名称",
  31123. "type": "string"
  31124. },
  31125. "wrtradeorderid": {
  31126. "description": "仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  31127. "type": "string"
  31128. },
  31129. "wrtradeorderstatus": {
  31130. "description": "委托状态 - 1:委托请求 2:待冻结 3:委托成功 4:委托失败 5:配对成功 6:已撤 7:已成 8:成交失败 9:委托拒绝 10:挂牌部分成交 11:仓单生成失败 12:首付扣款失败 13:履约失败 14:撤单解冻贷款失败 15:部成部撤",
  31131. "type": "integer"
  31132. },
  31133. "wrtradetype": {
  31134. "description": "仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)",
  31135. "type": "integer"
  31136. },
  31137. "wrtypename": {
  31138. "description": "商品",
  31139. "type": "string"
  31140. }
  31141. }
  31142. },
  31143. "models.WrStandardFactoryItem": {
  31144. "type": "object",
  31145. "properties": {
  31146. "dgfactoryitemid": {
  31147. "description": "选择项id",
  31148. "type": "integer"
  31149. },
  31150. "dgfactoryitemvalue": {
  31151. "description": "要素项值",
  31152. "type": "string"
  31153. }
  31154. }
  31155. },
  31156. "models.WrStandardFactoryItemEx": {
  31157. "type": "object",
  31158. "properties": {
  31159. "dgfactoryitemtypeid": {
  31160. "description": "要素项类型id(1-999:预留为特殊类型 1:仓库 2:品牌)",
  31161. "type": "integer"
  31162. },
  31163. "itemlst": {
  31164. "description": "要素项列表",
  31165. "type": "array",
  31166. "items": {
  31167. "$ref": "#/definitions/models.WrStandardFactoryItem"
  31168. }
  31169. },
  31170. "itemtypename": {
  31171. "description": "要素项类型名称",
  31172. "type": "string"
  31173. },
  31174. "wrstandardid": {
  31175. "description": "品类",
  31176. "type": "integer"
  31177. }
  31178. }
  31179. },
  31180. "models.WrTradeDetail": {
  31181. "type": "object",
  31182. "properties": {
  31183. "accountid": {
  31184. "description": "资金账号",
  31185. "type": "integer"
  31186. },
  31187. "buyorsell": {
  31188. "description": "买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)",
  31189. "type": "integer"
  31190. },
  31191. "deliverygoodscode": {
  31192. "description": "品种代码",
  31193. "type": "string"
  31194. },
  31195. "deliverygoodsid": {
  31196. "description": "品种ID",
  31197. "type": "integer"
  31198. },
  31199. "deliverygoodsname": {
  31200. "description": "品种名称",
  31201. "type": "string"
  31202. },
  31203. "deliverymonth": {
  31204. "description": "交收月",
  31205. "type": "string"
  31206. },
  31207. "enumdicname": {
  31208. "description": "单位名称",
  31209. "type": "string"
  31210. },
  31211. "haswr": {
  31212. "description": "是否有仓单-卖方 - 0:无仓单 1:有仓单",
  31213. "type": "integer"
  31214. },
  31215. "marketid": {
  31216. "description": "市场ID",
  31217. "type": "integer"
  31218. },
  31219. "matchaccountid": {
  31220. "description": "对手账号",
  31221. "type": "integer"
  31222. },
  31223. "matchusername": {
  31224. "description": "对手方",
  31225. "type": "string"
  31226. },
  31227. "minivalue": {
  31228. "description": "现货商品最小变动值",
  31229. "type": "integer"
  31230. },
  31231. "optioncompare": {
  31232. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  31233. "type": "string"
  31234. },
  31235. "tradedate": {
  31236. "description": "交易日(yyyyMMdd)",
  31237. "type": "string"
  31238. },
  31239. "tradeprice": {
  31240. "description": "成交价格",
  31241. "type": "number"
  31242. },
  31243. "tradeqty": {
  31244. "description": "成交数量",
  31245. "type": "number"
  31246. },
  31247. "tradetime": {
  31248. "description": "成交时间",
  31249. "type": "string"
  31250. },
  31251. "userid": {
  31252. "description": "用户ID",
  31253. "type": "integer"
  31254. },
  31255. "warehouseid": {
  31256. "description": "仓库ID",
  31257. "type": "integer"
  31258. },
  31259. "warehousename": {
  31260. "description": "仓库名称",
  31261. "type": "string"
  31262. },
  31263. "wrfactortypeid": {
  31264. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  31265. "type": "string"
  31266. },
  31267. "wrfactortypename": {
  31268. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  31269. "type": "string"
  31270. },
  31271. "wrstandardcode": {
  31272. "description": "现货商品代码",
  31273. "type": "string"
  31274. },
  31275. "wrstandardid": {
  31276. "description": "现货商品ID",
  31277. "type": "integer"
  31278. },
  31279. "wrstandardname": {
  31280. "description": "商品名称",
  31281. "type": "string"
  31282. },
  31283. "wrtradedetailid": {
  31284. "description": "仓单贸易成交单ID(321+Unix秒时间戳(10位)+xxxxxx)",
  31285. "type": "string"
  31286. },
  31287. "wrtradetype": {
  31288. "description": "仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)",
  31289. "type": "integer"
  31290. },
  31291. "wrtypename": {
  31292. "description": "商品",
  31293. "type": "string"
  31294. }
  31295. }
  31296. },
  31297. "models.WrTypeItem": {
  31298. "type": "object",
  31299. "properties": {
  31300. "name": {
  31301. "description": "名称",
  31302. "type": "string"
  31303. },
  31304. "value": {
  31305. "description": "值",
  31306. "type": "string"
  31307. }
  31308. }
  31309. },
  31310. "order.QueryHisTradeDetailRsp": {
  31311. "type": "object",
  31312. "required": [
  31313. "accountid",
  31314. "buyorsell",
  31315. "goodsid",
  31316. "histradedate",
  31317. "marketid",
  31318. "memberuserid",
  31319. "orderid",
  31320. "tradeamount",
  31321. "tradedate",
  31322. "tradeid",
  31323. "tradeprice",
  31324. "tradeqty",
  31325. "tradetime"
  31326. ],
  31327. "properties": {
  31328. "accountid": {
  31329. "description": "账户ID[报价币种]",
  31330. "type": "integer"
  31331. },
  31332. "advanceratio": {
  31333. "description": "首付比率",
  31334. "type": "number"
  31335. },
  31336. "buildtype": {
  31337. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  31338. "type": "integer"
  31339. },
  31340. "buyorsell": {
  31341. "description": "方向 - 0:买 1:卖",
  31342. "type": "integer"
  31343. },
  31344. "charge": {
  31345. "description": "手续费",
  31346. "type": "number"
  31347. },
  31348. "closecharge": {
  31349. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  31350. "type": "number"
  31351. },
  31352. "closeexchagechargevalue": {
  31353. "description": "平仓交易所手续费设置值",
  31354. "type": "number"
  31355. },
  31356. "closefeealgorithm": {
  31357. "description": "平仓手续费收取方式 1:比率 2:固定",
  31358. "type": "integer"
  31359. },
  31360. "closememberchargevalue": {
  31361. "description": "平仓会员手续费设置值",
  31362. "type": "number"
  31363. },
  31364. "closepl": {
  31365. "description": "平仓盈亏",
  31366. "type": "number"
  31367. },
  31368. "closepl2": {
  31369. "description": "平仓盈亏[逐笔]",
  31370. "type": "number"
  31371. },
  31372. "closeqty": {
  31373. "description": "平仓数量(先建后平操作 需要记录)",
  31374. "type": "number"
  31375. },
  31376. "creditamount": {
  31377. "description": "授信金额",
  31378. "type": "number"
  31379. },
  31380. "decimalplace": {
  31381. "description": "商品报价小数位",
  31382. "type": "integer"
  31383. },
  31384. "enumdicname": {
  31385. "description": "单位名称",
  31386. "type": "string"
  31387. },
  31388. "gcaccountid": {
  31389. "description": "账户ID[合约币种]",
  31390. "type": "integer"
  31391. },
  31392. "goodscode": {
  31393. "description": "商品代码",
  31394. "type": "string"
  31395. },
  31396. "goodsid": {
  31397. "description": "商品ID",
  31398. "type": "integer"
  31399. },
  31400. "goodsname": {
  31401. "description": "商品名称",
  31402. "type": "string"
  31403. },
  31404. "goodunitid": {
  31405. "description": "商品单位id",
  31406. "type": "integer"
  31407. },
  31408. "histradedate": {
  31409. "description": "历史交易日",
  31410. "type": "string"
  31411. },
  31412. "intclosepl": {
  31413. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  31414. "type": "integer"
  31415. },
  31416. "isconfirmexercise": {
  31417. "description": "是否确认行权- 0:否 1:是",
  31418. "type": "integer"
  31419. },
  31420. "ismain": {
  31421. "description": "是否主单 - 0:不是 1:是",
  31422. "type": "integer"
  31423. },
  31424. "ispreexercise": {
  31425. "description": "是否预申报- 0:否 1:是",
  31426. "type": "integer"
  31427. },
  31428. "isreckoned": {
  31429. "description": "是否结算 - 0:未结算 1:已结算",
  31430. "type": "integer"
  31431. },
  31432. "isvaliddata": {
  31433. "description": "是否有效 - 0:无效 1:有效",
  31434. "type": "integer"
  31435. },
  31436. "listingselecttype": {
  31437. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  31438. "type": "integer"
  31439. },
  31440. "marketid": {
  31441. "description": "市场ID",
  31442. "type": "integer"
  31443. },
  31444. "marketname": {
  31445. "description": "市场名称",
  31446. "type": "string"
  31447. },
  31448. "matchaccountid": {
  31449. "description": "对手账号id",
  31450. "type": "integer"
  31451. },
  31452. "memberuserid": {
  31453. "description": "会员id 个人投资者 需要填写",
  31454. "type": "integer"
  31455. },
  31456. "opencharge": {
  31457. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  31458. "type": "number"
  31459. },
  31460. "openexchagechargevalue": {
  31461. "description": "建仓交易所手续费设置值",
  31462. "type": "number"
  31463. },
  31464. "openfeealgorithm": {
  31465. "description": "建仓手续费收取方式 1:比率 2:固定",
  31466. "type": "integer"
  31467. },
  31468. "openmemberchargevalue": {
  31469. "description": "建仓会员手续费设置值",
  31470. "type": "number"
  31471. },
  31472. "openqty": {
  31473. "description": "开仓数量(先建后平操作 需要记录)",
  31474. "type": "number"
  31475. },
  31476. "optiontype": {
  31477. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  31478. "type": "integer"
  31479. },
  31480. "orderid": {
  31481. "description": "委托单号",
  31482. "type": "string"
  31483. },
  31484. "payamount": {
  31485. "description": "支付金额(付款金额)",
  31486. "type": "number"
  31487. },
  31488. "performanceplanid": {
  31489. "description": "履约计划ID[期权]",
  31490. "type": "integer"
  31491. },
  31492. "performancestatus": {
  31493. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  31494. "type": "integer"
  31495. },
  31496. "preexerciseprice": {
  31497. "description": "预申报价格",
  31498. "type": "number"
  31499. },
  31500. "premium": {
  31501. "description": "权利金 - [持仓单的权利金]",
  31502. "type": "number"
  31503. },
  31504. "qtydecimalplace": {
  31505. "description": "商品报价小数位",
  31506. "type": "integer"
  31507. },
  31508. "recvamount": {
  31509. "description": "到账金额 = 成交金额 - 手续费",
  31510. "type": "number"
  31511. },
  31512. "relatedouttradeid": {
  31513. "description": "关联外部成交单ID",
  31514. "type": "integer"
  31515. },
  31516. "status": {
  31517. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  31518. "type": "integer"
  31519. },
  31520. "totalamount": {
  31521. "description": "订单总额 = 成交金额 + 手续费",
  31522. "type": "number"
  31523. },
  31524. "tradeamount": {
  31525. "description": "成交金额[账户币种,用于所有权]",
  31526. "type": "number"
  31527. },
  31528. "tradedate": {
  31529. "description": "交易日(yyyyMMdd)",
  31530. "type": "string"
  31531. },
  31532. "tradeid": {
  31533. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  31534. "type": "string"
  31535. },
  31536. "trademode": {
  31537. "description": "交易模式",
  31538. "type": "integer"
  31539. },
  31540. "tradeprice": {
  31541. "description": "成交价格",
  31542. "type": "number"
  31543. },
  31544. "tradeproperty": {
  31545. "description": "交易属性",
  31546. "type": "integer"
  31547. },
  31548. "tradeqty": {
  31549. "description": "成交数量",
  31550. "type": "number"
  31551. },
  31552. "tradetime": {
  31553. "description": "成交时间",
  31554. "type": "string"
  31555. },
  31556. "tradetype": {
  31557. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  31558. "type": "integer"
  31559. }
  31560. }
  31561. },
  31562. "order.QueryHisTradeOrderDetailRsp": {
  31563. "type": "object",
  31564. "required": [
  31565. "accountid",
  31566. "buildtype",
  31567. "buyorsell",
  31568. "goodsid",
  31569. "histradedate",
  31570. "marketid",
  31571. "memberuserid",
  31572. "operatetype",
  31573. "orderid",
  31574. "orderqty",
  31575. "ordertime",
  31576. "pricemode",
  31577. "tradedate",
  31578. "validtype"
  31579. ],
  31580. "properties": {
  31581. "accountid": {
  31582. "description": "账户ID[报价币种]",
  31583. "type": "integer"
  31584. },
  31585. "buildtype": {
  31586. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  31587. "type": "integer"
  31588. },
  31589. "buyorsell": {
  31590. "description": "买卖 - 0:买 1:卖",
  31591. "type": "integer"
  31592. },
  31593. "cancelorderid": {
  31594. "description": "撤单单号(撤单时填写)",
  31595. "type": "string"
  31596. },
  31597. "cancelqty": {
  31598. "description": "撤单数量",
  31599. "type": "number"
  31600. },
  31601. "clientordertime": {
  31602. "description": "客户端委托时间",
  31603. "type": "string"
  31604. },
  31605. "clientticket": {
  31606. "description": "客户端流水号",
  31607. "type": "string"
  31608. },
  31609. "clienttype": {
  31610. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  31611. "type": "integer"
  31612. },
  31613. "closeexchagechargevalue": {
  31614. "description": "平仓交易所手续费设置值",
  31615. "type": "number"
  31616. },
  31617. "closefeealgorithm": {
  31618. "description": "平仓手续费收取方式 1:比率 2:固定",
  31619. "type": "integer"
  31620. },
  31621. "closefreezecharge": {
  31622. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  31623. "type": "number"
  31624. },
  31625. "closememberchargevalue": {
  31626. "description": "平仓会员手续费设置值",
  31627. "type": "number"
  31628. },
  31629. "closeqty": {
  31630. "description": "平仓数量(先建后平操作 需要记录)",
  31631. "type": "number"
  31632. },
  31633. "closetradeqty": {
  31634. "description": "平仓成交数量(先建后平操作,需要记录)",
  31635. "type": "number"
  31636. },
  31637. "closeunfreezecharge": {
  31638. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  31639. "type": "number"
  31640. },
  31641. "decimalplace": {
  31642. "description": "商品报价小数位",
  31643. "type": "integer"
  31644. },
  31645. "delistingtype": {
  31646. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  31647. "type": "integer"
  31648. },
  31649. "enumdicname": {
  31650. "description": "单位名称",
  31651. "type": "string"
  31652. },
  31653. "freezecharge": {
  31654. "description": "冻结手续费",
  31655. "type": "number"
  31656. },
  31657. "freezemargin": {
  31658. "description": "冻结保证金(冻结交易金额)",
  31659. "type": "number"
  31660. },
  31661. "gcaccountid": {
  31662. "description": "账户ID[合约币种]",
  31663. "type": "integer"
  31664. },
  31665. "goodscode": {
  31666. "description": "商品代码",
  31667. "type": "string"
  31668. },
  31669. "goodsid": {
  31670. "description": "商品ID",
  31671. "type": "integer"
  31672. },
  31673. "goodsname": {
  31674. "description": "商品名称",
  31675. "type": "string"
  31676. },
  31677. "goodunitid": {
  31678. "description": "商品单位id",
  31679. "type": "integer"
  31680. },
  31681. "histradedate": {
  31682. "description": "历史交易日",
  31683. "type": "string"
  31684. },
  31685. "isconfirmexercise": {
  31686. "description": "是否确认行权- 0:否 1:是",
  31687. "type": "integer"
  31688. },
  31689. "ispreexercise": {
  31690. "description": "是否预申报- 0:否 1:是",
  31691. "type": "integer"
  31692. },
  31693. "isvaliddata": {
  31694. "description": "是否有效 - 0:无效 1:有效",
  31695. "type": "integer"
  31696. },
  31697. "listingselecttype": {
  31698. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  31699. "type": "integer"
  31700. },
  31701. "marginalgorithm": {
  31702. "description": "保证金收取方式 1:比率 2:固定",
  31703. "type": "integer"
  31704. },
  31705. "marginvalue": {
  31706. "description": "即市保证金设置值",
  31707. "type": "number"
  31708. },
  31709. "marketid": {
  31710. "description": "市场ID",
  31711. "type": "integer"
  31712. },
  31713. "marketmaxsub": {
  31714. "description": "市价最大偏移范围",
  31715. "type": "number"
  31716. },
  31717. "marketname": {
  31718. "description": "市场名称",
  31719. "type": "string"
  31720. },
  31721. "memberuserid": {
  31722. "description": "所属会员UserID",
  31723. "type": "integer"
  31724. },
  31725. "openexchagechargevalue": {
  31726. "description": "建仓交易所手续费设置值",
  31727. "type": "number"
  31728. },
  31729. "openfeealgorithm": {
  31730. "description": "建仓手续费收取方式 1:比率 2:固定",
  31731. "type": "integer"
  31732. },
  31733. "openfreezecharge": {
  31734. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  31735. "type": "number"
  31736. },
  31737. "openmemberchargevalue": {
  31738. "description": "建仓会员手续费设置值",
  31739. "type": "number"
  31740. },
  31741. "openqty": {
  31742. "description": "开仓数量(先建后平操作,需要记录)",
  31743. "type": "number"
  31744. },
  31745. "opentradeqty": {
  31746. "description": "开仓成交数量(先建后平操作,需要记录)",
  31747. "type": "number"
  31748. },
  31749. "openunfreezecharge": {
  31750. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  31751. "type": "number"
  31752. },
  31753. "operatetype": {
  31754. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  31755. "type": "integer"
  31756. },
  31757. "operatorid": {
  31758. "description": "登录账号(LoginID)",
  31759. "type": "integer"
  31760. },
  31761. "optiontype": {
  31762. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  31763. "type": "integer"
  31764. },
  31765. "orderid": {
  31766. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  31767. "type": "string"
  31768. },
  31769. "orderprice": {
  31770. "description": "委托价格",
  31771. "type": "number"
  31772. },
  31773. "orderqty": {
  31774. "description": "委托数量",
  31775. "type": "number"
  31776. },
  31777. "ordersrc": {
  31778. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  31779. "type": "integer"
  31780. },
  31781. "orderstatus": {
  31782. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  31783. "type": "integer"
  31784. },
  31785. "ordertime": {
  31786. "description": "委托时间",
  31787. "type": "string"
  31788. },
  31789. "preexerciseprice": {
  31790. "description": "预申报价格",
  31791. "type": "number"
  31792. },
  31793. "premium": {
  31794. "description": "权利金",
  31795. "type": "number"
  31796. },
  31797. "preorderid": {
  31798. "description": "关联预埋单号(止盈止损单时填写)",
  31799. "type": "string"
  31800. },
  31801. "pricemode": {
  31802. "description": "取价方式 - 1:市价 2: 限价",
  31803. "type": "integer"
  31804. },
  31805. "qtydecimalplace": {
  31806. "description": "成交量小数位",
  31807. "type": "integer"
  31808. },
  31809. "quoteid": {
  31810. "description": "报价单ID",
  31811. "type": "integer"
  31812. },
  31813. "relatedid": {
  31814. "description": "关联单号(交割单)",
  31815. "type": "string"
  31816. },
  31817. "retcode": {
  31818. "description": "错误代码",
  31819. "type": "integer"
  31820. },
  31821. "sessionid": {
  31822. "description": "会话ID",
  31823. "type": "integer"
  31824. },
  31825. "tradedate": {
  31826. "description": "交易日(yyyyMMdd)",
  31827. "type": "string"
  31828. },
  31829. "trademode": {
  31830. "description": "交易模式",
  31831. "type": "integer"
  31832. },
  31833. "tradeproperty": {
  31834. "description": "交易属性",
  31835. "type": "integer"
  31836. },
  31837. "tradeqty": {
  31838. "description": "成交数量",
  31839. "type": "number"
  31840. },
  31841. "unfreezecharge": {
  31842. "description": "解冻手续费",
  31843. "type": "number"
  31844. },
  31845. "unfreezemargin": {
  31846. "description": "解冻保证金",
  31847. "type": "number"
  31848. },
  31849. "updatetime": {
  31850. "description": "更新时间",
  31851. "type": "string"
  31852. },
  31853. "uuid": {
  31854. "description": "发起端唯一id",
  31855. "type": "string"
  31856. },
  31857. "validtime": {
  31858. "description": "有效期限",
  31859. "type": "string"
  31860. },
  31861. "validtype": {
  31862. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  31863. "type": "integer"
  31864. },
  31865. "volumetype": {
  31866. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  31867. "type": "integer"
  31868. }
  31869. }
  31870. },
  31871. "order.QueryTradeDetailRsp": {
  31872. "type": "object",
  31873. "required": [
  31874. "accountid",
  31875. "buyorsell",
  31876. "goodsid",
  31877. "marketid",
  31878. "memberuserid",
  31879. "orderid",
  31880. "tradeamount",
  31881. "tradedate",
  31882. "tradeid",
  31883. "tradeprice",
  31884. "tradeqty",
  31885. "tradetime"
  31886. ],
  31887. "properties": {
  31888. "accountid": {
  31889. "description": "账户ID[报价币种]",
  31890. "type": "integer"
  31891. },
  31892. "advanceratio": {
  31893. "description": "首付比率",
  31894. "type": "number"
  31895. },
  31896. "buildtype": {
  31897. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  31898. "type": "integer"
  31899. },
  31900. "buyorsell": {
  31901. "description": "方向 - 0:买 1:卖",
  31902. "type": "integer"
  31903. },
  31904. "charge": {
  31905. "description": "手续费",
  31906. "type": "number"
  31907. },
  31908. "closecharge": {
  31909. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  31910. "type": "number"
  31911. },
  31912. "closeexchagechargevalue": {
  31913. "description": "平仓交易所手续费设置值",
  31914. "type": "number"
  31915. },
  31916. "closefeealgorithm": {
  31917. "description": "平仓手续费收取方式 1:比率 2:固定",
  31918. "type": "integer"
  31919. },
  31920. "closememberchargevalue": {
  31921. "description": "平仓会员手续费设置值",
  31922. "type": "number"
  31923. },
  31924. "closepl": {
  31925. "description": "平仓盈亏",
  31926. "type": "number"
  31927. },
  31928. "closepl2": {
  31929. "description": "平仓盈亏[逐笔]",
  31930. "type": "number"
  31931. },
  31932. "closeqty": {
  31933. "description": "平仓数量(先建后平操作 需要记录)",
  31934. "type": "number"
  31935. },
  31936. "creditamount": {
  31937. "description": "授信金额",
  31938. "type": "number"
  31939. },
  31940. "decimalplace": {
  31941. "description": "商品报价小数位",
  31942. "type": "integer"
  31943. },
  31944. "enumdicname": {
  31945. "description": "单位名称",
  31946. "type": "string"
  31947. },
  31948. "gcaccountid": {
  31949. "description": "账户ID[合约币种]",
  31950. "type": "integer"
  31951. },
  31952. "goodscode": {
  31953. "description": "商品代码",
  31954. "type": "string"
  31955. },
  31956. "goodsid": {
  31957. "description": "商品ID",
  31958. "type": "integer"
  31959. },
  31960. "goodsname": {
  31961. "description": "商品名称",
  31962. "type": "string"
  31963. },
  31964. "goodunitid": {
  31965. "description": "商品单位id",
  31966. "type": "integer"
  31967. },
  31968. "intclosepl": {
  31969. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  31970. "type": "integer"
  31971. },
  31972. "isconfirmexercise": {
  31973. "description": "是否确认行权- 0:否 1:是",
  31974. "type": "integer"
  31975. },
  31976. "ismain": {
  31977. "description": "是否主单 - 0:不是 1:是",
  31978. "type": "integer"
  31979. },
  31980. "ispreexercise": {
  31981. "description": "是否预申报- 0:否 1:是",
  31982. "type": "integer"
  31983. },
  31984. "isreckoned": {
  31985. "description": "是否结算 - 0:未结算 1:已结算",
  31986. "type": "integer"
  31987. },
  31988. "listingselecttype": {
  31989. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  31990. "type": "integer"
  31991. },
  31992. "marketid": {
  31993. "description": "市场ID",
  31994. "type": "integer"
  31995. },
  31996. "marketname": {
  31997. "description": "市场名称",
  31998. "type": "string"
  31999. },
  32000. "matchaccountid": {
  32001. "description": "对手账号id",
  32002. "type": "integer"
  32003. },
  32004. "memberuserid": {
  32005. "description": "会员id 个人投资者 需要填写",
  32006. "type": "integer"
  32007. },
  32008. "opencharge": {
  32009. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  32010. "type": "number"
  32011. },
  32012. "openexchagechargevalue": {
  32013. "description": "建仓交易所手续费设置值",
  32014. "type": "number"
  32015. },
  32016. "openfeealgorithm": {
  32017. "description": "建仓手续费收取方式 1:比率 2:固定",
  32018. "type": "integer"
  32019. },
  32020. "openmemberchargevalue": {
  32021. "description": "建仓会员手续费设置值",
  32022. "type": "number"
  32023. },
  32024. "openqty": {
  32025. "description": "开仓数量(先建后平操作 需要记录)",
  32026. "type": "number"
  32027. },
  32028. "optiontype": {
  32029. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  32030. "type": "integer"
  32031. },
  32032. "orderid": {
  32033. "description": "委托单号",
  32034. "type": "string"
  32035. },
  32036. "payamount": {
  32037. "description": "支付金额(付款金额)",
  32038. "type": "number"
  32039. },
  32040. "performanceplanid": {
  32041. "description": "履约计划ID[期权]",
  32042. "type": "integer"
  32043. },
  32044. "performancestatus": {
  32045. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  32046. "type": "integer"
  32047. },
  32048. "preexerciseprice": {
  32049. "description": "预申报价格",
  32050. "type": "number"
  32051. },
  32052. "premium": {
  32053. "description": "权利金 - [持仓单的权利金]",
  32054. "type": "number"
  32055. },
  32056. "qtydecimalplace": {
  32057. "description": "商品报价小数位",
  32058. "type": "integer"
  32059. },
  32060. "recvamount": {
  32061. "description": "到账金额 = 成交金额 - 手续费",
  32062. "type": "number"
  32063. },
  32064. "relatedouttradeid": {
  32065. "description": "关联外部成交单ID",
  32066. "type": "integer"
  32067. },
  32068. "status": {
  32069. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  32070. "type": "integer"
  32071. },
  32072. "totalamount": {
  32073. "description": "订单总额 = 成交金额 + 手续费",
  32074. "type": "number"
  32075. },
  32076. "tradeamount": {
  32077. "description": "成交金额[账户币种,用于所有权]",
  32078. "type": "number"
  32079. },
  32080. "tradedate": {
  32081. "description": "交易日(yyyyMMdd)",
  32082. "type": "string"
  32083. },
  32084. "tradeid": {
  32085. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  32086. "type": "string"
  32087. },
  32088. "trademode": {
  32089. "description": "交易模式",
  32090. "type": "integer"
  32091. },
  32092. "tradeprice": {
  32093. "description": "成交价格",
  32094. "type": "number"
  32095. },
  32096. "tradeproperty": {
  32097. "description": "交易属性",
  32098. "type": "integer"
  32099. },
  32100. "tradeqty": {
  32101. "description": "成交数量",
  32102. "type": "number"
  32103. },
  32104. "tradetime": {
  32105. "description": "成交时间",
  32106. "type": "string"
  32107. },
  32108. "tradetype": {
  32109. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  32110. "type": "integer"
  32111. }
  32112. }
  32113. },
  32114. "order.QueryTradeOrderDetailRsp": {
  32115. "type": "object",
  32116. "required": [
  32117. "accountid",
  32118. "buildtype",
  32119. "buyorsell",
  32120. "goodsid",
  32121. "marketid",
  32122. "operatetype",
  32123. "orderqty",
  32124. "ordertime",
  32125. "pricemode",
  32126. "tradedate",
  32127. "validtype"
  32128. ],
  32129. "properties": {
  32130. "accountid": {
  32131. "description": "账户ID[报价币种]",
  32132. "type": "integer"
  32133. },
  32134. "buildtype": {
  32135. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  32136. "type": "integer"
  32137. },
  32138. "buyorsell": {
  32139. "description": "买卖 - 0:买 1:卖",
  32140. "type": "integer"
  32141. },
  32142. "cancelorderid": {
  32143. "description": "撤单单号(撤单时填写)",
  32144. "type": "string"
  32145. },
  32146. "cancelqty": {
  32147. "description": "撤单数量",
  32148. "type": "number"
  32149. },
  32150. "clienttype": {
  32151. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  32152. "type": "integer"
  32153. },
  32154. "closefreezecharge": {
  32155. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  32156. "type": "number"
  32157. },
  32158. "closeqty": {
  32159. "description": "平仓数量(先建后平操作 需要记录)",
  32160. "type": "number"
  32161. },
  32162. "closetradeqty": {
  32163. "description": "平仓成交数量(先建后平操作,需要记录)",
  32164. "type": "number"
  32165. },
  32166. "closeunfreezecharge": {
  32167. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  32168. "type": "number"
  32169. },
  32170. "decimalplace": {
  32171. "description": "商品报价小数位",
  32172. "type": "integer"
  32173. },
  32174. "delistingtype": {
  32175. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  32176. "type": "integer"
  32177. },
  32178. "enableqty": {
  32179. "description": "可用数量 = 委托数量 - 成交数量 - 撤单数量",
  32180. "type": "number"
  32181. },
  32182. "enumdicname": {
  32183. "description": "单位名称",
  32184. "type": "string"
  32185. },
  32186. "freezecharge": {
  32187. "description": "冻结手续费",
  32188. "type": "number"
  32189. },
  32190. "freezemargin": {
  32191. "description": "冻结保证金(冻结交易金额)",
  32192. "type": "number"
  32193. },
  32194. "goodscode": {
  32195. "description": "商品代码",
  32196. "type": "string"
  32197. },
  32198. "goodsid": {
  32199. "description": "商品ID",
  32200. "type": "integer"
  32201. },
  32202. "goodsname": {
  32203. "description": "商品名称",
  32204. "type": "string"
  32205. },
  32206. "goodunitid": {
  32207. "description": "商品单位id",
  32208. "type": "integer"
  32209. },
  32210. "listingselecttype": {
  32211. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  32212. "type": "integer"
  32213. },
  32214. "marketid": {
  32215. "description": "市场ID",
  32216. "type": "integer"
  32217. },
  32218. "marketname": {
  32219. "description": "市场名称",
  32220. "type": "string"
  32221. },
  32222. "openfreezecharge": {
  32223. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  32224. "type": "number"
  32225. },
  32226. "openqty": {
  32227. "description": "开仓数量(先建后平操作,需要记录)",
  32228. "type": "number"
  32229. },
  32230. "opentradeqty": {
  32231. "description": "开仓成交数量(先建后平操作,需要记录)",
  32232. "type": "number"
  32233. },
  32234. "openunfreezecharge": {
  32235. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  32236. "type": "number"
  32237. },
  32238. "operatetype": {
  32239. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  32240. "type": "integer"
  32241. },
  32242. "operatorid": {
  32243. "description": "登录账号(LoginID)",
  32244. "type": "integer"
  32245. },
  32246. "orderid": {
  32247. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  32248. "type": "string"
  32249. },
  32250. "orderprice": {
  32251. "description": "委托价格",
  32252. "type": "number"
  32253. },
  32254. "orderqty": {
  32255. "description": "委托数量",
  32256. "type": "number"
  32257. },
  32258. "ordersrc": {
  32259. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  32260. "type": "integer"
  32261. },
  32262. "orderstatus": {
  32263. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  32264. "type": "integer"
  32265. },
  32266. "ordertime": {
  32267. "description": "委托时间",
  32268. "type": "string"
  32269. },
  32270. "preorderid": {
  32271. "description": "关联预埋单号(止盈止损单时填写)",
  32272. "type": "string"
  32273. },
  32274. "pricemode": {
  32275. "description": "取价方式 - 1:市价 2: 限价",
  32276. "type": "integer"
  32277. },
  32278. "qtydecimalplace": {
  32279. "description": "商品报价小数位",
  32280. "type": "integer"
  32281. },
  32282. "relatedid": {
  32283. "description": "关联单号(交割单)",
  32284. "type": "string"
  32285. },
  32286. "tradedate": {
  32287. "description": "交易日(yyyyMMdd)",
  32288. "type": "string"
  32289. },
  32290. "trademode": {
  32291. "description": "交易模式",
  32292. "type": "integer"
  32293. },
  32294. "tradeqty": {
  32295. "description": "成交数量",
  32296. "type": "number"
  32297. },
  32298. "unfreezecharge": {
  32299. "description": "解冻手续费",
  32300. "type": "number"
  32301. },
  32302. "unfreezemargin": {
  32303. "description": "解冻保证金",
  32304. "type": "number"
  32305. },
  32306. "validtime": {
  32307. "description": "有效期限",
  32308. "type": "string"
  32309. },
  32310. "validtype": {
  32311. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  32312. "type": "integer"
  32313. },
  32314. "volumetype": {
  32315. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  32316. "type": "integer"
  32317. }
  32318. }
  32319. },
  32320. "order.QueryTradePositionRsp": {
  32321. "type": "object",
  32322. "required": [
  32323. "goodsid"
  32324. ],
  32325. "properties": {
  32326. "accountid": {
  32327. "description": "资金账户",
  32328. "type": "integer"
  32329. },
  32330. "agreeunit": {
  32331. "description": "合约单位",
  32332. "type": "number"
  32333. },
  32334. "averageprice": {
  32335. "description": "持仓均价",
  32336. "type": "number"
  32337. },
  32338. "buyorsell": {
  32339. "description": "方向 - 0:买 1:卖",
  32340. "type": "integer"
  32341. },
  32342. "closetotalqty": {
  32343. "description": "平仓总数量",
  32344. "type": "number"
  32345. },
  32346. "curholderamount": {
  32347. "description": "当前持仓总金额[商品币种]",
  32348. "type": "number"
  32349. },
  32350. "curpositionqty": {
  32351. "description": "当前持仓总数量",
  32352. "type": "number"
  32353. },
  32354. "currencyid": {
  32355. "description": "报价货币ID",
  32356. "type": "integer"
  32357. },
  32358. "curtdposition": {
  32359. "description": "期末今日头寸",
  32360. "type": "number"
  32361. },
  32362. "decimalplace": {
  32363. "description": "报价小数位",
  32364. "type": "integer"
  32365. },
  32366. "enableqty": {
  32367. "description": "可用量",
  32368. "type": "number"
  32369. },
  32370. "fretdposition": {
  32371. "description": "冻结今日头寸",
  32372. "type": "number"
  32373. },
  32374. "frozenqty": {
  32375. "description": "持仓冻结数量",
  32376. "type": "number"
  32377. },
  32378. "goodscode": {
  32379. "description": "商品代码",
  32380. "type": "string"
  32381. },
  32382. "goodsid": {
  32383. "description": "商品Id",
  32384. "type": "integer"
  32385. },
  32386. "goodsname": {
  32387. "description": "商品名称",
  32388. "type": "string"
  32389. },
  32390. "goodunit": {
  32391. "description": "报价单位",
  32392. "type": "string"
  32393. },
  32394. "goodunitid": {
  32395. "description": "报价单位ID",
  32396. "type": "integer"
  32397. },
  32398. "holderamount": {
  32399. "description": "期初持仓总金额[商品币种]",
  32400. "type": "number"
  32401. },
  32402. "lastprice": {
  32403. "description": "最新价",
  32404. "type": "number"
  32405. },
  32406. "marketamount": {
  32407. "description": "市值",
  32408. "type": "number"
  32409. },
  32410. "marketid": {
  32411. "description": "所属市场ID",
  32412. "type": "integer"
  32413. },
  32414. "openreqqty": {
  32415. "description": "开仓申请数量(用于比较最大持仓数量)",
  32416. "type": "number"
  32417. },
  32418. "opentotalqty": {
  32419. "description": "开仓总数量",
  32420. "type": "number"
  32421. },
  32422. "otherfrozenqty": {
  32423. "description": "持仓其他冻结数量(交割冻结)",
  32424. "type": "number"
  32425. },
  32426. "positionpl": {
  32427. "description": "持仓盈亏 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向 = (持仓均价 - 最新价) * 卖期末头寸 * 合约单位",
  32428. "type": "number"
  32429. },
  32430. "positionplrate": {
  32431. "description": "持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本",
  32432. "type": "number"
  32433. },
  32434. "positionqty": {
  32435. "description": "期初持仓数量",
  32436. "type": "number"
  32437. },
  32438. "qtydecimalplace": {
  32439. "description": "成交量小数位",
  32440. "type": "integer"
  32441. },
  32442. "tnqty": {
  32443. "description": "T+N冻结总量",
  32444. "type": "number"
  32445. },
  32446. "tnusedqty": {
  32447. "description": "T+N使用量(可以使用T+N的冻结数量)",
  32448. "type": "number"
  32449. },
  32450. "trademode": {
  32451. "description": "交易模式",
  32452. "type": "integer"
  32453. },
  32454. "usedmargin": {
  32455. "description": "占用保证金[商品币种]",
  32456. "type": "number"
  32457. }
  32458. }
  32459. },
  32460. "quote.HistoryData": {
  32461. "type": "object",
  32462. "properties": {
  32463. "c": {
  32464. "description": "收盘价",
  32465. "type": "number"
  32466. },
  32467. "f": {
  32468. "description": "是否补充数据",
  32469. "type": "boolean"
  32470. },
  32471. "h": {
  32472. "description": "最高价",
  32473. "type": "number"
  32474. },
  32475. "hv": {
  32476. "description": "持仓量",
  32477. "type": "integer"
  32478. },
  32479. "l": {
  32480. "description": "最低价",
  32481. "type": "number"
  32482. },
  32483. "o": {
  32484. "description": "开盘价",
  32485. "type": "number"
  32486. },
  32487. "s": {
  32488. "description": "结算价,日线周期(包括)以上才有",
  32489. "type": "number"
  32490. },
  32491. "ts": {
  32492. "description": "时间",
  32493. "type": "string"
  32494. },
  32495. "tt": {
  32496. "description": "总金额",
  32497. "type": "number"
  32498. },
  32499. "tv": {
  32500. "description": "总量",
  32501. "type": "integer"
  32502. }
  32503. }
  32504. },
  32505. "quote.HistoryTikData": {
  32506. "type": "object",
  32507. "properties": {
  32508. "AV": {
  32509. "description": "卖量",
  32510. "type": "integer"
  32511. },
  32512. "Ask": {
  32513. "description": "卖价",
  32514. "type": "number"
  32515. },
  32516. "BV": {
  32517. "description": "买量",
  32518. "type": "integer"
  32519. },
  32520. "Bid": {
  32521. "description": "买价",
  32522. "type": "number"
  32523. },
  32524. "HI": {
  32525. "description": "单笔持仓",
  32526. "type": "integer"
  32527. },
  32528. "HV": {
  32529. "description": "持仓量",
  32530. "type": "integer"
  32531. },
  32532. "PE": {
  32533. "description": "现价",
  32534. "type": "number"
  32535. },
  32536. "TDR": {
  32537. "description": "交易方向,0:买 1:卖",
  32538. "type": "integer"
  32539. },
  32540. "TK": {
  32541. "description": "交易类型",
  32542. "type": "integer"
  32543. },
  32544. "TS": {
  32545. "description": "行情时间文本",
  32546. "type": "string"
  32547. },
  32548. "TT": {
  32549. "description": "现金额",
  32550. "type": "number"
  32551. },
  32552. "Vol": {
  32553. "description": "现量",
  32554. "type": "integer"
  32555. }
  32556. }
  32557. },
  32558. "quote.QueryQuoteDayRsp": {
  32559. "type": "object",
  32560. "properties": {
  32561. "ask": {
  32562. "description": "卖1",
  32563. "type": "number"
  32564. },
  32565. "ask10": {
  32566. "description": "卖10",
  32567. "type": "number"
  32568. },
  32569. "ask2": {
  32570. "description": "卖2",
  32571. "type": "number"
  32572. },
  32573. "ask3": {
  32574. "description": "卖3",
  32575. "type": "number"
  32576. },
  32577. "ask4": {
  32578. "description": "卖4",
  32579. "type": "number"
  32580. },
  32581. "ask5": {
  32582. "description": "卖5",
  32583. "type": "number"
  32584. },
  32585. "ask6": {
  32586. "description": "卖6",
  32587. "type": "number"
  32588. },
  32589. "ask7": {
  32590. "description": "卖7",
  32591. "type": "number"
  32592. },
  32593. "ask8": {
  32594. "description": "卖8",
  32595. "type": "number"
  32596. },
  32597. "ask9": {
  32598. "description": "卖9",
  32599. "type": "number"
  32600. },
  32601. "askorderid": {
  32602. "description": "卖单号1",
  32603. "type": "integer"
  32604. },
  32605. "askorderid2": {
  32606. "description": "卖单号2",
  32607. "type": "integer"
  32608. },
  32609. "askorderid3": {
  32610. "description": "卖单号3",
  32611. "type": "integer"
  32612. },
  32613. "askorderid4": {
  32614. "description": "卖单号4",
  32615. "type": "integer"
  32616. },
  32617. "askorderid5": {
  32618. "description": "卖单号5",
  32619. "type": "integer"
  32620. },
  32621. "askordervolume": {
  32622. "description": "卖单量1",
  32623. "type": "integer"
  32624. },
  32625. "askordervolume10": {
  32626. "description": "卖单量10",
  32627. "type": "integer"
  32628. },
  32629. "askordervolume2": {
  32630. "description": "卖单量2",
  32631. "type": "integer"
  32632. },
  32633. "askordervolume3": {
  32634. "description": "卖单量3",
  32635. "type": "integer"
  32636. },
  32637. "askordervolume4": {
  32638. "description": "卖单量4",
  32639. "type": "integer"
  32640. },
  32641. "askordervolume5": {
  32642. "description": "卖单量5",
  32643. "type": "integer"
  32644. },
  32645. "askordervolume6": {
  32646. "description": "卖单量6",
  32647. "type": "integer"
  32648. },
  32649. "askordervolume7": {
  32650. "description": "卖单量7",
  32651. "type": "integer"
  32652. },
  32653. "askordervolume8": {
  32654. "description": "卖单量8",
  32655. "type": "integer"
  32656. },
  32657. "askordervolume9": {
  32658. "description": "卖单量9",
  32659. "type": "integer"
  32660. },
  32661. "askqueueinfo": {
  32662. "description": "大利市卖港股用",
  32663. "type": "string"
  32664. },
  32665. "askvolume": {
  32666. "description": "卖量1",
  32667. "type": "integer"
  32668. },
  32669. "askvolume10": {
  32670. "description": "卖量10",
  32671. "type": "integer"
  32672. },
  32673. "askvolume2": {
  32674. "description": "卖量2",
  32675. "type": "integer"
  32676. },
  32677. "askvolume3": {
  32678. "description": "卖量3",
  32679. "type": "integer"
  32680. },
  32681. "askvolume4": {
  32682. "description": "卖量4",
  32683. "type": "integer"
  32684. },
  32685. "askvolume5": {
  32686. "description": "卖量5",
  32687. "type": "integer"
  32688. },
  32689. "askvolume6": {
  32690. "description": "卖量6",
  32691. "type": "integer"
  32692. },
  32693. "askvolume7": {
  32694. "description": "卖量7",
  32695. "type": "integer"
  32696. },
  32697. "askvolume8": {
  32698. "description": "卖量8",
  32699. "type": "integer"
  32700. },
  32701. "askvolume9": {
  32702. "description": "卖量9",
  32703. "type": "integer"
  32704. },
  32705. "averageprice": {
  32706. "description": "均价",
  32707. "type": "number"
  32708. },
  32709. "bid": {
  32710. "description": "买1",
  32711. "type": "number"
  32712. },
  32713. "bid10": {
  32714. "description": "买10",
  32715. "type": "number"
  32716. },
  32717. "bid2": {
  32718. "description": "买2",
  32719. "type": "number"
  32720. },
  32721. "bid3": {
  32722. "description": "买3",
  32723. "type": "number"
  32724. },
  32725. "bid4": {
  32726. "description": "买4",
  32727. "type": "number"
  32728. },
  32729. "bid5": {
  32730. "description": "买5",
  32731. "type": "number"
  32732. },
  32733. "bid6": {
  32734. "description": "买6",
  32735. "type": "number"
  32736. },
  32737. "bid7": {
  32738. "description": "买7",
  32739. "type": "number"
  32740. },
  32741. "bid8": {
  32742. "description": "买8",
  32743. "type": "number"
  32744. },
  32745. "bid9": {
  32746. "description": "买9",
  32747. "type": "number"
  32748. },
  32749. "bidorderid": {
  32750. "description": "买单号1",
  32751. "type": "integer"
  32752. },
  32753. "bidorderid2": {
  32754. "description": "买单号2",
  32755. "type": "integer"
  32756. },
  32757. "bidorderid3": {
  32758. "description": "买单号3",
  32759. "type": "integer"
  32760. },
  32761. "bidorderid4": {
  32762. "description": "买单号4",
  32763. "type": "integer"
  32764. },
  32765. "bidorderid5": {
  32766. "description": "买单号5",
  32767. "type": "integer"
  32768. },
  32769. "bidordervolume": {
  32770. "description": "买单量1",
  32771. "type": "integer"
  32772. },
  32773. "bidordervolume10": {
  32774. "description": "买单量10",
  32775. "type": "integer"
  32776. },
  32777. "bidordervolume2": {
  32778. "description": "买单量2",
  32779. "type": "integer"
  32780. },
  32781. "bidordervolume3": {
  32782. "description": "买单量3",
  32783. "type": "integer"
  32784. },
  32785. "bidordervolume4": {
  32786. "description": "买单量4",
  32787. "type": "integer"
  32788. },
  32789. "bidordervolume5": {
  32790. "description": "买单量5",
  32791. "type": "integer"
  32792. },
  32793. "bidordervolume6": {
  32794. "description": "买单量6",
  32795. "type": "integer"
  32796. },
  32797. "bidordervolume7": {
  32798. "description": "买单量7",
  32799. "type": "integer"
  32800. },
  32801. "bidordervolume8": {
  32802. "description": "买单量8",
  32803. "type": "integer"
  32804. },
  32805. "bidordervolume9": {
  32806. "description": "买单量9",
  32807. "type": "integer"
  32808. },
  32809. "bidqueueinfo": {
  32810. "description": "大利市买港股用",
  32811. "type": "string"
  32812. },
  32813. "bidvolume": {
  32814. "description": "买量1",
  32815. "type": "integer"
  32816. },
  32817. "bidvolume10": {
  32818. "description": "买量10",
  32819. "type": "integer"
  32820. },
  32821. "bidvolume2": {
  32822. "description": "买量2",
  32823. "type": "integer"
  32824. },
  32825. "bidvolume3": {
  32826. "description": "买量3",
  32827. "type": "integer"
  32828. },
  32829. "bidvolume4": {
  32830. "description": "买量4",
  32831. "type": "integer"
  32832. },
  32833. "bidvolume5": {
  32834. "description": "买量5",
  32835. "type": "integer"
  32836. },
  32837. "bidvolume6": {
  32838. "description": "买量6",
  32839. "type": "integer"
  32840. },
  32841. "bidvolume7": {
  32842. "description": "买量7",
  32843. "type": "integer"
  32844. },
  32845. "bidvolume8": {
  32846. "description": "买量8",
  32847. "type": "integer"
  32848. },
  32849. "bidvolume9": {
  32850. "description": "买量9",
  32851. "type": "integer"
  32852. },
  32853. "calloptionpremiums": {
  32854. "description": "认购期权1",
  32855. "type": "integer"
  32856. },
  32857. "calloptionpremiums2": {
  32858. "description": "认购期权2",
  32859. "type": "integer"
  32860. },
  32861. "calloptionpremiums3": {
  32862. "description": "认购期权3",
  32863. "type": "integer"
  32864. },
  32865. "calloptionpremiums4": {
  32866. "description": "认购期权4",
  32867. "type": "integer"
  32868. },
  32869. "calloptionpremiums5": {
  32870. "description": "认购期权5",
  32871. "type": "integer"
  32872. },
  32873. "cleartime": {
  32874. "description": "清盘时间",
  32875. "type": "integer"
  32876. },
  32877. "exchangecode": {
  32878. "description": "交易所代码",
  32879. "type": "integer"
  32880. },
  32881. "exchangedate": {
  32882. "description": "交易日",
  32883. "type": "integer"
  32884. },
  32885. "goodscode": {
  32886. "description": "商品代码",
  32887. "type": "string"
  32888. },
  32889. "grepmarketprice": {
  32890. "description": "暗盘价 港股专用",
  32891. "type": "number"
  32892. },
  32893. "highest": {
  32894. "description": "最高价",
  32895. "type": "number"
  32896. },
  32897. "holdincrement": {
  32898. "description": "单笔持仓",
  32899. "type": "integer"
  32900. },
  32901. "holdvolume": {
  32902. "description": "持仓",
  32903. "type": "integer"
  32904. },
  32905. "iep": {
  32906. "description": "平衡价 港股专用",
  32907. "type": "number"
  32908. },
  32909. "iev": {
  32910. "description": "平衡量 港股专用",
  32911. "type": "number"
  32912. },
  32913. "inventory": {
  32914. "description": "库存",
  32915. "type": "integer"
  32916. },
  32917. "iscleared": {
  32918. "description": "是否清盘标志",
  32919. "type": "integer"
  32920. },
  32921. "issettled": {
  32922. "description": "是否结算标志",
  32923. "type": "integer"
  32924. },
  32925. "last": {
  32926. "description": "最新价",
  32927. "type": "number"
  32928. },
  32929. "lastlot": {
  32930. "description": "最新成交手数",
  32931. "type": "integer"
  32932. },
  32933. "lasttime": {
  32934. "description": "行情时间(只有现价变化行情时间才变化)",
  32935. "type": "string"
  32936. },
  32937. "lastturnover": {
  32938. "description": "最新成交金额",
  32939. "type": "number"
  32940. },
  32941. "lastvolume": {
  32942. "description": "最新成交量",
  32943. "type": "integer"
  32944. },
  32945. "limitdown": {
  32946. "description": "跌停价",
  32947. "type": "number"
  32948. },
  32949. "limitup": {
  32950. "description": "涨停价",
  32951. "type": "number"
  32952. },
  32953. "lowest": {
  32954. "description": "最低价",
  32955. "type": "number"
  32956. },
  32957. "nontotalholdervolume": {
  32958. "description": "非交易持仓量",
  32959. "type": "integer"
  32960. },
  32961. "nontotallot": {
  32962. "description": "非交易总手数",
  32963. "type": "integer"
  32964. },
  32965. "nontotalturnover": {
  32966. "description": "非交易总金额",
  32967. "type": "integer"
  32968. },
  32969. "nontotalvolume": {
  32970. "description": "非交易总量",
  32971. "type": "integer"
  32972. },
  32973. "opened": {
  32974. "description": "开盘价",
  32975. "type": "number"
  32976. },
  32977. "opentime": {
  32978. "description": "开盘时间",
  32979. "type": "string"
  32980. },
  32981. "orderid": {
  32982. "description": "序号",
  32983. "type": "integer"
  32984. },
  32985. "preclose": {
  32986. "description": "昨收",
  32987. "type": "number"
  32988. },
  32989. "preholdvolume": {
  32990. "description": "昨持仓",
  32991. "type": "integer"
  32992. },
  32993. "presettle": {
  32994. "description": "昨结价",
  32995. "type": "number"
  32996. },
  32997. "publictradetype": {
  32998. "description": "公共交易标志类型 港股专用",
  32999. "type": "string"
  33000. },
  33001. "putoptionpremiums": {
  33002. "description": "认沽期权1",
  33003. "type": "integer"
  33004. },
  33005. "putoptionpremiums2": {
  33006. "description": "认沽期权2",
  33007. "type": "integer"
  33008. },
  33009. "putoptionpremiums3": {
  33010. "description": "认沽期权3",
  33011. "type": "integer"
  33012. },
  33013. "putoptionpremiums4": {
  33014. "description": "认沽期权4",
  33015. "type": "integer"
  33016. },
  33017. "putoptionpremiums5": {
  33018. "description": "认沽期权5",
  33019. "type": "integer"
  33020. },
  33021. "settle": {
  33022. "description": "结算价",
  33023. "type": "number"
  33024. },
  33025. "strikeprice": {
  33026. "description": "发行价",
  33027. "type": "number"
  33028. },
  33029. "totalaskvolume": {
  33030. "description": "内盘",
  33031. "type": "integer"
  33032. },
  33033. "totalbidvolume": {
  33034. "description": "外盘",
  33035. "type": "integer"
  33036. },
  33037. "totallot": {
  33038. "description": "总手数",
  33039. "type": "integer"
  33040. },
  33041. "totalturnover": {
  33042. "description": "总金额",
  33043. "type": "number"
  33044. },
  33045. "totalvolume": {
  33046. "description": "总量",
  33047. "type": "integer"
  33048. },
  33049. "utclasttime": {
  33050. "description": "utc的行情时间",
  33051. "type": "string"
  33052. }
  33053. }
  33054. },
  33055. "quote.QueryTSDataRsp": {
  33056. "type": "object",
  33057. "properties": {
  33058. "Count": {
  33059. "description": "交易日应有数据个数",
  33060. "type": "integer"
  33061. },
  33062. "decimalPlace": {
  33063. "description": "小数位",
  33064. "type": "integer"
  33065. },
  33066. "endTime": {
  33067. "description": "结束时间",
  33068. "type": "string"
  33069. },
  33070. "goodsCode": {
  33071. "description": "商品代码",
  33072. "type": "string"
  33073. },
  33074. "historyDatas": {
  33075. "description": "历史数据",
  33076. "type": "array",
  33077. "items": {
  33078. "$ref": "#/definitions/quote.HistoryData"
  33079. }
  33080. },
  33081. "outGoodsCode": {
  33082. "description": "外部商品代码",
  33083. "type": "string"
  33084. },
  33085. "preSettle": {
  33086. "description": "昨结价",
  33087. "type": "number"
  33088. },
  33089. "runSteps": {
  33090. "description": "交易日开休市计划",
  33091. "type": "array",
  33092. "items": {
  33093. "$ref": "#/definitions/quote.TSDataRunStep"
  33094. }
  33095. },
  33096. "startTime": {
  33097. "description": "开始时间",
  33098. "type": "string"
  33099. },
  33100. "tradeDate": {
  33101. "description": "交易日",
  33102. "type": "string"
  33103. }
  33104. }
  33105. },
  33106. "quote.TSDataRunStep": {
  33107. "type": "object",
  33108. "properties": {
  33109. "end": {
  33110. "description": "真实结束时间",
  33111. "type": "string"
  33112. },
  33113. "endflag": {
  33114. "description": "结束日标识 - (-1:上日 0:当日 1:次日 )",
  33115. "type": "integer"
  33116. },
  33117. "endtime": {
  33118. "description": "结束时间(HH:mm)",
  33119. "type": "string"
  33120. },
  33121. "endweekday": {
  33122. "description": "结束周几",
  33123. "type": "integer"
  33124. },
  33125. "groupid": {
  33126. "description": "分组ID",
  33127. "type": "integer"
  33128. },
  33129. "runstep": {
  33130. "description": "运行阶段 - 2:连续交易",
  33131. "type": "integer"
  33132. },
  33133. "sectionid": {
  33134. "description": "从 1 开始 往下编 [0为系统清盘、结算时间] SectionId = 0时,开始时间=清盘时间 开始周几= 清盘周几, 结束时间=结算时间 结束周几=结算周几",
  33135. "type": "integer"
  33136. },
  33137. "start": {
  33138. "description": "真实开始时间",
  33139. "type": "string"
  33140. },
  33141. "startflag": {
  33142. "description": "开始日标识 - (-1:上日 0:当日 1:次日 )",
  33143. "type": "integer"
  33144. },
  33145. "starttime": {
  33146. "description": "起始时间(HH:mm)",
  33147. "type": "string"
  33148. },
  33149. "startweekday": {
  33150. "description": "起始周几",
  33151. "type": "integer"
  33152. },
  33153. "tradeweekday": {
  33154. "description": "交易日归属 - 0:星期天、1:星期一、2:星期二、3:星期三、4:星期四、5:星期五、6:星期六",
  33155. "type": "integer"
  33156. }
  33157. }
  33158. },
  33159. "szdz.QueryConvertLogRsp": {
  33160. "type": "object",
  33161. "required": [
  33162. "logid"
  33163. ],
  33164. "properties": {
  33165. "accountid": {
  33166. "description": "资金账户ID",
  33167. "type": "integer"
  33168. },
  33169. "clientticket": {
  33170. "description": "客户端流水号",
  33171. "type": "string"
  33172. },
  33173. "converttype": {
  33174. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍",
  33175. "type": "integer"
  33176. },
  33177. "createtime": {
  33178. "description": "记账时间",
  33179. "type": "string"
  33180. },
  33181. "daymaxvalue": {
  33182. "description": "配置当日最大转入限制",
  33183. "type": "number"
  33184. },
  33185. "daymaxvalue2": {
  33186. "description": "配置当日最大转入限制(转入)",
  33187. "type": "number"
  33188. },
  33189. "goodscode": {
  33190. "description": "商品代码",
  33191. "type": "string"
  33192. },
  33193. "goodsname": {
  33194. "description": "商品名称",
  33195. "type": "string"
  33196. },
  33197. "handlestatus": {
  33198. "description": "处理状态",
  33199. "type": "integer"
  33200. },
  33201. "innergoodsid": {
  33202. "description": "内部商品ID",
  33203. "type": "integer"
  33204. },
  33205. "inratio": {
  33206. "description": "配置转入比值",
  33207. "type": "integer"
  33208. },
  33209. "invalue": {
  33210. "description": "目标值",
  33211. "type": "number"
  33212. },
  33213. "logid": {
  33214. "description": "LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  33215. "type": "integer"
  33216. },
  33217. "mobile": {
  33218. "description": "手机号码(加密存储)",
  33219. "type": "string"
  33220. },
  33221. "outergoodscode": {
  33222. "description": "外部商品代码[JD\\PD]",
  33223. "type": "string"
  33224. },
  33225. "outratio": {
  33226. "description": "配置转出比值",
  33227. "type": "integer"
  33228. },
  33229. "outvalue": {
  33230. "description": "源值",
  33231. "type": "number"
  33232. },
  33233. "pddecimalplace": {
  33234. "description": "PD小数位",
  33235. "type": "integer"
  33236. },
  33237. "qty": {
  33238. "description": "数量",
  33239. "type": "string"
  33240. },
  33241. "remark": {
  33242. "description": "备注",
  33243. "type": "string"
  33244. },
  33245. "sessionid": {
  33246. "description": "会话ID",
  33247. "type": "integer"
  33248. },
  33249. "timemaxvalue": {
  33250. "description": "配置单次最大转入限制",
  33251. "type": "number"
  33252. },
  33253. "timemaxvalue2": {
  33254. "description": "配置单次最大转入限制(转入)",
  33255. "type": "number"
  33256. },
  33257. "timeminvalue": {
  33258. "description": "配置单次最小数量限制",
  33259. "type": "number"
  33260. },
  33261. "timeminvalue2": {
  33262. "description": "配置单次最小数量限制(转入)",
  33263. "type": "number"
  33264. },
  33265. "tradedate": {
  33266. "description": "交易日(yyyyMMdd)",
  33267. "type": "string"
  33268. },
  33269. "userid": {
  33270. "description": "用户ID",
  33271. "type": "integer"
  33272. }
  33273. }
  33274. },
  33275. "szdz.QueryGoodsPickupRsp": {
  33276. "type": "object",
  33277. "required": [
  33278. "takeorderid"
  33279. ],
  33280. "properties": {
  33281. "accountid": {
  33282. "description": "账户ID",
  33283. "type": "integer"
  33284. },
  33285. "address": {
  33286. "description": "提货人详细地址",
  33287. "type": "string"
  33288. },
  33289. "auditer": {
  33290. "description": "审核人",
  33291. "type": "integer"
  33292. },
  33293. "audittime": {
  33294. "description": "审核时间",
  33295. "type": "string"
  33296. },
  33297. "cardnum": {
  33298. "description": "提货人证件号码",
  33299. "type": "string"
  33300. },
  33301. "cardtypeid": {
  33302. "description": "提货人证件类型",
  33303. "type": "integer"
  33304. },
  33305. "checkremark": {
  33306. "description": "审核备注",
  33307. "type": "string"
  33308. },
  33309. "goodscode": {
  33310. "description": "商品代码",
  33311. "type": "string"
  33312. },
  33313. "goodsid": {
  33314. "description": "商品ID",
  33315. "type": "integer"
  33316. },
  33317. "goodsname": {
  33318. "description": "商品名称",
  33319. "type": "string"
  33320. },
  33321. "handlestatus": {
  33322. "description": "处理状态",
  33323. "type": "integer"
  33324. },
  33325. "marketid": {
  33326. "description": "市场ID",
  33327. "type": "integer"
  33328. },
  33329. "phonenum": {
  33330. "description": "提货人联系方式",
  33331. "type": "string"
  33332. },
  33333. "qty": {
  33334. "description": "提货数量",
  33335. "type": "number"
  33336. },
  33337. "recivername": {
  33338. "description": "提货人姓名",
  33339. "type": "string"
  33340. },
  33341. "reqtime": {
  33342. "description": "更新时间",
  33343. "type": "string"
  33344. },
  33345. "takemode": {
  33346. "description": "提货方式 - 2:自提 3:配送",
  33347. "type": "integer"
  33348. },
  33349. "takeorderid": {
  33350. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  33351. "type": "string"
  33352. },
  33353. "takeorderstatus": {
  33354. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  33355. "type": "integer"
  33356. },
  33357. "takeremark": {
  33358. "description": "提货备注",
  33359. "type": "string"
  33360. },
  33361. "tradedate": {
  33362. "description": "交易日(yyyyMMdd)",
  33363. "type": "string"
  33364. },
  33365. "userid": {
  33366. "description": "用户ID",
  33367. "type": "integer"
  33368. }
  33369. }
  33370. },
  33371. "szdz.QueryRecieptOrderRsp": {
  33372. "type": "object",
  33373. "required": [
  33374. "ordertime"
  33375. ],
  33376. "properties": {
  33377. "accountName": {
  33378. "description": "所属账号名称(已脱敏)",
  33379. "type": "string"
  33380. },
  33381. "accountid": {
  33382. "description": "资金账号",
  33383. "type": "integer"
  33384. },
  33385. "buyorsell": {
  33386. "description": "方向 - 0:买 1:卖",
  33387. "type": "integer"
  33388. },
  33389. "enableqty": {
  33390. "description": "可摘数量",
  33391. "type": "integer"
  33392. },
  33393. "goodscode": {
  33394. "description": "商品代码",
  33395. "type": "string"
  33396. },
  33397. "goodsid": {
  33398. "description": "商品ID",
  33399. "type": "integer"
  33400. },
  33401. "goodsname": {
  33402. "description": "商品名称",
  33403. "type": "string"
  33404. },
  33405. "orderid": {
  33406. "description": "委托单号",
  33407. "type": "string"
  33408. },
  33409. "orderprice": {
  33410. "description": "委托价格",
  33411. "type": "number"
  33412. },
  33413. "ordertime": {
  33414. "description": "委托时间",
  33415. "type": "string"
  33416. },
  33417. "tradedate": {
  33418. "description": "交易日(yyyyMMdd)",
  33419. "type": "string"
  33420. }
  33421. }
  33422. },
  33423. "szdz.QuerySZDZTradePositionRsp": {
  33424. "type": "object",
  33425. "properties": {
  33426. "accountid": {
  33427. "description": "账号Id",
  33428. "type": "integer"
  33429. },
  33430. "agreeunit": {
  33431. "description": "合约单位",
  33432. "type": "number"
  33433. },
  33434. "averageprice": {
  33435. "description": "持仓均价",
  33436. "type": "number"
  33437. },
  33438. "buyorsell": {
  33439. "description": "方向 - 0:买 1:卖",
  33440. "type": "integer"
  33441. },
  33442. "closetotalqty": {
  33443. "description": "平仓总数量",
  33444. "type": "integer"
  33445. },
  33446. "curholderamount": {
  33447. "description": "当前持仓总金额",
  33448. "type": "number"
  33449. },
  33450. "curpositionqty": {
  33451. "description": "当前持仓总数量",
  33452. "type": "integer"
  33453. },
  33454. "currencyid": {
  33455. "description": "报价货币ID",
  33456. "type": "integer"
  33457. },
  33458. "curtdposition": {
  33459. "description": "期末今日头寸",
  33460. "type": "integer"
  33461. },
  33462. "decimalplace": {
  33463. "description": "报价小数位",
  33464. "type": "integer"
  33465. },
  33466. "enableqty": {
  33467. "description": "可用量",
  33468. "type": "integer"
  33469. },
  33470. "fretdposition": {
  33471. "description": "冻结今日头寸",
  33472. "type": "integer"
  33473. },
  33474. "frozenqty": {
  33475. "description": "持仓冻结数量",
  33476. "type": "integer"
  33477. },
  33478. "goodscode": {
  33479. "description": "商品代码(内部)",
  33480. "type": "string"
  33481. },
  33482. "goodsid": {
  33483. "description": "商品Id",
  33484. "type": "integer"
  33485. },
  33486. "goodsname": {
  33487. "description": "商品名称",
  33488. "type": "string"
  33489. },
  33490. "goodunit": {
  33491. "description": "报价单位",
  33492. "type": "string"
  33493. },
  33494. "goodunitid": {
  33495. "description": "报价单位ID",
  33496. "type": "integer"
  33497. },
  33498. "holderamount": {
  33499. "description": "期初持仓总金额",
  33500. "type": "number"
  33501. },
  33502. "marketid": {
  33503. "description": "市场ID",
  33504. "type": "integer"
  33505. },
  33506. "openreqqty": {
  33507. "description": "开仓申请数量",
  33508. "type": "integer"
  33509. },
  33510. "opentotalqty": {
  33511. "description": "开仓总数量",
  33512. "type": "integer"
  33513. },
  33514. "otherfrozenqty": {
  33515. "description": "持仓其他冻结数量(交割冻结)",
  33516. "type": "integer"
  33517. },
  33518. "positionqty": {
  33519. "description": "期初持仓数量",
  33520. "type": "integer"
  33521. },
  33522. "szdz3freezqty": {
  33523. "description": "尚志大宗转换冻结总数量",
  33524. "type": "integer"
  33525. },
  33526. "tnqty": {
  33527. "description": "T+N冻结总量",
  33528. "type": "integer"
  33529. },
  33530. "tnusedqty": {
  33531. "description": "T+N使用量",
  33532. "type": "integer"
  33533. },
  33534. "trademode": {
  33535. "description": "交易模式",
  33536. "type": "integer"
  33537. },
  33538. "usedmargin": {
  33539. "description": "占用保证金",
  33540. "type": "number"
  33541. }
  33542. }
  33543. },
  33544. "taaccount.QueryAmountLogRsp": {
  33545. "type": "object",
  33546. "required": [
  33547. "accountid",
  33548. "amount",
  33549. "amountadjusttype",
  33550. "autoid",
  33551. "balance",
  33552. "createtime",
  33553. "currentbalance",
  33554. "operatetype"
  33555. ],
  33556. "properties": {
  33557. "OPERATETYPENAME": {
  33558. "description": "资金操作类型名称",
  33559. "type": "string"
  33560. },
  33561. "accountid": {
  33562. "description": "资金账户ID",
  33563. "type": "integer"
  33564. },
  33565. "agoodscode": {
  33566. "description": "竞拍商品代码",
  33567. "type": "string"
  33568. },
  33569. "agoodsname": {
  33570. "description": "竞拍商品名称",
  33571. "type": "string"
  33572. },
  33573. "amount": {
  33574. "description": "资金金额",
  33575. "type": "number"
  33576. },
  33577. "amountadjusttype": {
  33578. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  33579. "type": "integer"
  33580. },
  33581. "autoid": {
  33582. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  33583. "type": "integer"
  33584. },
  33585. "balance": {
  33586. "description": "期初余额",
  33587. "type": "number"
  33588. },
  33589. "businesscode": {
  33590. "description": "业务编号",
  33591. "type": "integer"
  33592. },
  33593. "createtime": {
  33594. "description": "发生时间",
  33595. "type": "string"
  33596. },
  33597. "currencyid": {
  33598. "description": "币种ID",
  33599. "type": "integer"
  33600. },
  33601. "currentbalance": {
  33602. "description": "期末余额(变动后金额)",
  33603. "type": "number"
  33604. },
  33605. "dgoodscode": {
  33606. "description": "交割商品代码",
  33607. "type": "string"
  33608. },
  33609. "dgoodsname": {
  33610. "description": "交割商品名称",
  33611. "type": "string"
  33612. },
  33613. "goodscode": {
  33614. "description": "商品代码",
  33615. "type": "string"
  33616. },
  33617. "goodsid": {
  33618. "description": "商品ID",
  33619. "type": "integer"
  33620. },
  33621. "goodsname": {
  33622. "description": "商品名称",
  33623. "type": "string"
  33624. },
  33625. "marketid": {
  33626. "description": "市场ID",
  33627. "type": "integer"
  33628. },
  33629. "marketname": {
  33630. "description": "市场名称",
  33631. "type": "string"
  33632. },
  33633. "moneyticket": {
  33634. "description": "资金流水号:银行端流水号",
  33635. "type": "integer"
  33636. },
  33637. "operatetype": {
  33638. "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:营销收款",
  33639. "type": "integer"
  33640. },
  33641. "relationorderid": {
  33642. "description": "关联单号",
  33643. "type": "string"
  33644. },
  33645. "remark": {
  33646. "description": "备注",
  33647. "type": "string"
  33648. },
  33649. "trademode": {
  33650. "description": "交易模式",
  33651. "type": "integer"
  33652. }
  33653. }
  33654. },
  33655. "taaccount.QueryHisAmountLogRsp": {
  33656. "type": "object",
  33657. "required": [
  33658. "accountid",
  33659. "amount",
  33660. "amountadjusttype",
  33661. "autoid",
  33662. "balance",
  33663. "createtime",
  33664. "currentbalance",
  33665. "histradedate",
  33666. "operatetype"
  33667. ],
  33668. "properties": {
  33669. "OPERATETYPENAME": {
  33670. "description": "资金操作类型名称",
  33671. "type": "string"
  33672. },
  33673. "accountid": {
  33674. "description": "资金账户ID",
  33675. "type": "integer"
  33676. },
  33677. "agoodscode": {
  33678. "description": "竞拍商品代码",
  33679. "type": "string"
  33680. },
  33681. "agoodsname": {
  33682. "description": "竞拍商品名称",
  33683. "type": "string"
  33684. },
  33685. "amount": {
  33686. "description": "资金金额",
  33687. "type": "number"
  33688. },
  33689. "amountadjusttype": {
  33690. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  33691. "type": "integer"
  33692. },
  33693. "autoid": {
  33694. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  33695. "type": "integer"
  33696. },
  33697. "balance": {
  33698. "description": "期初余额",
  33699. "type": "number"
  33700. },
  33701. "businesscode": {
  33702. "description": "业务编号",
  33703. "type": "integer"
  33704. },
  33705. "createtime": {
  33706. "description": "发生时间",
  33707. "type": "string"
  33708. },
  33709. "currencyid": {
  33710. "description": "币种ID",
  33711. "type": "integer"
  33712. },
  33713. "currentbalance": {
  33714. "description": "期末余额(变动后金额)",
  33715. "type": "number"
  33716. },
  33717. "dgoodscode": {
  33718. "description": "交割商品代码",
  33719. "type": "string"
  33720. },
  33721. "dgoodsname": {
  33722. "description": "交割商品名称",
  33723. "type": "string"
  33724. },
  33725. "goodscode": {
  33726. "description": "商品代码",
  33727. "type": "string"
  33728. },
  33729. "goodsid": {
  33730. "description": "商品ID",
  33731. "type": "integer"
  33732. },
  33733. "goodsname": {
  33734. "description": "商品名称",
  33735. "type": "string"
  33736. },
  33737. "histradedate": {
  33738. "description": "历史交易日",
  33739. "type": "string"
  33740. },
  33741. "isvaliddata": {
  33742. "description": "是否有效 - 0:无效 1:有效",
  33743. "type": "integer"
  33744. },
  33745. "marketid": {
  33746. "description": "市场ID",
  33747. "type": "integer"
  33748. },
  33749. "marketname": {
  33750. "description": "市场名称",
  33751. "type": "string"
  33752. },
  33753. "moneyticket": {
  33754. "description": "资金流水号:银行端流水号",
  33755. "type": "integer"
  33756. },
  33757. "operatetype": {
  33758. "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:营销收款",
  33759. "type": "integer"
  33760. },
  33761. "relationorderid": {
  33762. "description": "关联单号",
  33763. "type": "string"
  33764. },
  33765. "remark": {
  33766. "description": "备注",
  33767. "type": "string"
  33768. },
  33769. "trademode": {
  33770. "description": "交易模式",
  33771. "type": "integer"
  33772. }
  33773. }
  33774. },
  33775. "trade.QueryRecieptOrderRsp": {
  33776. "type": "object",
  33777. "required": [
  33778. "ordertime"
  33779. ],
  33780. "properties": {
  33781. "accountName": {
  33782. "description": "所属账号名称(已脱敏)",
  33783. "type": "string"
  33784. },
  33785. "accountid": {
  33786. "description": "资金账号",
  33787. "type": "integer"
  33788. },
  33789. "buyorsell": {
  33790. "description": "方向 - 0:买 1:卖",
  33791. "type": "integer"
  33792. },
  33793. "enableqty": {
  33794. "description": "可摘数量",
  33795. "type": "integer"
  33796. },
  33797. "goodscode": {
  33798. "description": "商品代码",
  33799. "type": "string"
  33800. },
  33801. "goodsid": {
  33802. "description": "商品ID",
  33803. "type": "integer"
  33804. },
  33805. "goodsname": {
  33806. "description": "商品名称",
  33807. "type": "string"
  33808. },
  33809. "orderid": {
  33810. "description": "委托单号",
  33811. "type": "string"
  33812. },
  33813. "orderprice": {
  33814. "description": "委托价格",
  33815. "type": "number"
  33816. },
  33817. "ordertime": {
  33818. "description": "委托时间",
  33819. "type": "string"
  33820. },
  33821. "tradedate": {
  33822. "description": "交易日(yyyyMMdd)",
  33823. "type": "string"
  33824. }
  33825. }
  33826. },
  33827. "user.LoginQueryRsp": {
  33828. "type": "object",
  33829. "properties": {
  33830. "areaRoles": {
  33831. "description": "所属角色信息",
  33832. "type": "array",
  33833. "items": {
  33834. "$ref": "#/definitions/models.Arearole"
  33835. }
  33836. },
  33837. "externalExchanges": {
  33838. "description": "外部交易所",
  33839. "type": "array",
  33840. "items": {
  33841. "$ref": "#/definitions/models.Externalexchange"
  33842. }
  33843. },
  33844. "goodsgroups": {
  33845. "description": "商品组",
  33846. "type": "array",
  33847. "items": {
  33848. "$ref": "#/definitions/models.Goodsgroup"
  33849. }
  33850. },
  33851. "loginAccount": {
  33852. "description": "登录账号",
  33853. "type": "object",
  33854. "$ref": "#/definitions/models.Loginaccount"
  33855. },
  33856. "markets": {
  33857. "description": "市场",
  33858. "type": "array",
  33859. "items": {
  33860. "$ref": "#/definitions/models.Market"
  33861. }
  33862. },
  33863. "systemParams": {
  33864. "description": "系统参数",
  33865. "type": "array",
  33866. "items": {
  33867. "$ref": "#/definitions/models.Systemparam"
  33868. }
  33869. },
  33870. "userAccount": {
  33871. "description": "用户账号",
  33872. "type": "object",
  33873. "$ref": "#/definitions/models.Useraccount"
  33874. },
  33875. "userInfo": {
  33876. "description": "用户信息",
  33877. "type": "object",
  33878. "$ref": "#/definitions/models.Userinfo"
  33879. },
  33880. "username": {
  33881. "description": "用户姓名",
  33882. "type": "string"
  33883. }
  33884. }
  33885. }
  33886. },
  33887. "securityDefinitions": {
  33888. "ApiKeyAuth": {
  33889. "type": "apiKey",
  33890. "name": "Authorization",
  33891. "in": "header"
  33892. }
  33893. }
  33894. }`
  33895. type swaggerInfo struct {
  33896. Version string
  33897. Host string
  33898. BasePath string
  33899. Schemes []string
  33900. Title string
  33901. Description string
  33902. }
  33903. // SwaggerInfo holds exported Swagger Info so clients can modify it
  33904. var SwaggerInfo = swaggerInfo{
  33905. Version: "1.0",
  33906. Host: "",
  33907. BasePath: "/api",
  33908. Schemes: []string{},
  33909. Title: "MTP2.0 查询服务 API",
  33910. Description: "新的查询服务,替代原通用查询服务。游客Token:c886a057f3d820d4dbc41473686c7c2d",
  33911. }
  33912. type s struct{}
  33913. func (s *s) ReadDoc() string {
  33914. sInfo := SwaggerInfo
  33915. sInfo.Description = strings.Replace(sInfo.Description, "\n", "\\n", -1)
  33916. t, err := template.New("swagger_info").Funcs(template.FuncMap{
  33917. "marshal": func(v interface{}) string {
  33918. a, _ := json.Marshal(v)
  33919. return string(a)
  33920. },
  33921. }).Parse(doc)
  33922. if err != nil {
  33923. return doc
  33924. }
  33925. var tpl bytes.Buffer
  33926. if err := t.Execute(&tpl, sInfo); err != nil {
  33927. return doc
  33928. }
  33929. return tpl.String()
  33930. }
  33931. func init() {
  33932. swag.Register(swag.Name, &s{})
  33933. }