docs.go 1.2 MB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402640364046405640664076408640964106411641264136414641564166417641864196420642164226423642464256426642764286429643064316432643364346435643664376438643964406441644264436444644564466447644864496450645164526453645464556456645764586459646064616462646364646465646664676468646964706471647264736474647564766477647864796480648164826483648464856486648764886489649064916492649364946495649664976498649965006501650265036504650565066507650865096510651165126513651465156516651765186519652065216522652365246525652665276528652965306531653265336534653565366537653865396540654165426543654465456546654765486549655065516552655365546555655665576558655965606561656265636564656565666567656865696570657165726573657465756576657765786579658065816582658365846585658665876588658965906591659265936594659565966597659865996600660166026603660466056606660766086609661066116612661366146615661666176618661966206621662266236624662566266627662866296630663166326633663466356636663766386639664066416642664366446645664666476648664966506651665266536654665566566657665866596660666166626663666466656666666766686669667066716672667366746675667666776678667966806681668266836684668566866687668866896690669166926693669466956696669766986699670067016702670367046705670667076708670967106711671267136714671567166717671867196720672167226723672467256726672767286729673067316732673367346735673667376738673967406741674267436744674567466747674867496750675167526753675467556756675767586759676067616762676367646765676667676768676967706771677267736774677567766777677867796780678167826783678467856786678767886789679067916792679367946795679667976798679968006801680268036804680568066807680868096810681168126813681468156816681768186819682068216822682368246825682668276828682968306831683268336834683568366837683868396840684168426843684468456846684768486849685068516852685368546855685668576858685968606861686268636864686568666867686868696870687168726873687468756876687768786879688068816882688368846885688668876888688968906891689268936894689568966897689868996900690169026903690469056906690769086909691069116912691369146915691669176918691969206921692269236924692569266927692869296930693169326933693469356936693769386939694069416942694369446945694669476948694969506951695269536954695569566957695869596960696169626963696469656966696769686969697069716972697369746975697669776978697969806981698269836984698569866987698869896990699169926993699469956996699769986999700070017002700370047005700670077008700970107011701270137014701570167017701870197020702170227023702470257026702770287029703070317032703370347035703670377038703970407041704270437044704570467047704870497050705170527053705470557056705770587059706070617062706370647065706670677068706970707071707270737074707570767077707870797080708170827083708470857086708770887089709070917092709370947095709670977098709971007101710271037104710571067107710871097110711171127113711471157116711771187119712071217122712371247125712671277128712971307131713271337134713571367137713871397140714171427143714471457146714771487149715071517152715371547155715671577158715971607161716271637164716571667167716871697170717171727173717471757176717771787179718071817182718371847185718671877188718971907191719271937194719571967197719871997200720172027203720472057206720772087209721072117212721372147215721672177218721972207221722272237224722572267227722872297230723172327233723472357236723772387239724072417242724372447245724672477248724972507251725272537254725572567257725872597260726172627263726472657266726772687269727072717272727372747275727672777278727972807281728272837284728572867287728872897290729172927293729472957296729772987299730073017302730373047305730673077308730973107311731273137314731573167317731873197320732173227323732473257326732773287329733073317332733373347335733673377338733973407341734273437344734573467347734873497350735173527353735473557356735773587359736073617362736373647365736673677368736973707371737273737374737573767377737873797380738173827383738473857386738773887389739073917392739373947395739673977398739974007401740274037404740574067407740874097410741174127413741474157416741774187419742074217422742374247425742674277428742974307431743274337434743574367437743874397440744174427443744474457446744774487449745074517452745374547455745674577458745974607461746274637464746574667467746874697470747174727473747474757476747774787479748074817482748374847485748674877488748974907491749274937494749574967497749874997500750175027503750475057506750775087509751075117512751375147515751675177518751975207521752275237524752575267527752875297530753175327533753475357536753775387539754075417542754375447545754675477548754975507551755275537554755575567557755875597560756175627563756475657566756775687569757075717572757375747575757675777578757975807581758275837584758575867587758875897590759175927593759475957596759775987599760076017602760376047605760676077608760976107611761276137614761576167617761876197620762176227623762476257626762776287629763076317632763376347635763676377638763976407641764276437644764576467647764876497650765176527653765476557656765776587659766076617662766376647665766676677668766976707671767276737674767576767677767876797680768176827683768476857686768776887689769076917692769376947695769676977698769977007701770277037704770577067707770877097710771177127713771477157716771777187719772077217722772377247725772677277728772977307731773277337734773577367737773877397740774177427743774477457746774777487749775077517752775377547755775677577758775977607761776277637764776577667767776877697770777177727773777477757776777777787779778077817782778377847785778677877788778977907791779277937794779577967797779877997800780178027803780478057806780778087809781078117812781378147815781678177818781978207821782278237824782578267827782878297830783178327833783478357836783778387839784078417842784378447845784678477848784978507851785278537854785578567857785878597860786178627863786478657866786778687869787078717872787378747875787678777878787978807881788278837884788578867887788878897890789178927893789478957896789778987899790079017902790379047905790679077908790979107911791279137914791579167917791879197920792179227923792479257926792779287929793079317932793379347935793679377938793979407941794279437944794579467947794879497950795179527953795479557956795779587959796079617962796379647965796679677968796979707971797279737974797579767977797879797980798179827983798479857986798779887989799079917992799379947995799679977998799980008001800280038004800580068007800880098010801180128013801480158016801780188019802080218022802380248025802680278028802980308031803280338034803580368037803880398040804180428043804480458046804780488049805080518052805380548055805680578058805980608061806280638064806580668067806880698070807180728073807480758076807780788079808080818082808380848085808680878088808980908091809280938094809580968097809880998100810181028103810481058106810781088109811081118112811381148115811681178118811981208121812281238124812581268127812881298130813181328133813481358136813781388139814081418142814381448145814681478148814981508151815281538154815581568157815881598160816181628163816481658166816781688169817081718172817381748175817681778178817981808181818281838184818581868187818881898190819181928193819481958196819781988199820082018202820382048205820682078208820982108211821282138214821582168217821882198220822182228223822482258226822782288229823082318232823382348235823682378238823982408241824282438244824582468247824882498250825182528253825482558256825782588259826082618262826382648265826682678268826982708271827282738274827582768277827882798280828182828283828482858286828782888289829082918292829382948295829682978298829983008301830283038304830583068307830883098310831183128313831483158316831783188319832083218322832383248325832683278328832983308331833283338334833583368337833883398340834183428343834483458346834783488349835083518352835383548355835683578358835983608361836283638364836583668367836883698370837183728373837483758376837783788379838083818382838383848385838683878388838983908391839283938394839583968397839883998400840184028403840484058406840784088409841084118412841384148415841684178418841984208421842284238424842584268427842884298430843184328433843484358436843784388439844084418442844384448445844684478448844984508451845284538454845584568457845884598460846184628463846484658466846784688469847084718472847384748475847684778478847984808481848284838484848584868487848884898490849184928493849484958496849784988499850085018502850385048505850685078508850985108511851285138514851585168517851885198520852185228523852485258526852785288529853085318532853385348535853685378538853985408541854285438544854585468547854885498550855185528553855485558556855785588559856085618562856385648565856685678568856985708571857285738574857585768577857885798580858185828583858485858586858785888589859085918592859385948595859685978598859986008601860286038604860586068607860886098610861186128613861486158616861786188619862086218622862386248625862686278628862986308631863286338634863586368637863886398640864186428643864486458646864786488649865086518652865386548655865686578658865986608661866286638664866586668667866886698670867186728673867486758676867786788679868086818682868386848685868686878688868986908691869286938694869586968697869886998700870187028703870487058706870787088709871087118712871387148715871687178718871987208721872287238724872587268727872887298730873187328733873487358736873787388739874087418742874387448745874687478748874987508751875287538754875587568757875887598760876187628763876487658766876787688769877087718772877387748775877687778778877987808781878287838784878587868787878887898790879187928793879487958796879787988799880088018802880388048805880688078808880988108811881288138814881588168817881888198820882188228823882488258826882788288829883088318832883388348835883688378838883988408841884288438844884588468847884888498850885188528853885488558856885788588859886088618862886388648865886688678868886988708871887288738874887588768877887888798880888188828883888488858886888788888889889088918892889388948895889688978898889989008901890289038904890589068907890889098910891189128913891489158916891789188919892089218922892389248925892689278928892989308931893289338934893589368937893889398940894189428943894489458946894789488949895089518952895389548955895689578958895989608961896289638964896589668967896889698970897189728973897489758976897789788979898089818982898389848985898689878988898989908991899289938994899589968997899889999000900190029003900490059006900790089009901090119012901390149015901690179018901990209021902290239024902590269027902890299030903190329033903490359036903790389039904090419042904390449045904690479048904990509051905290539054905590569057905890599060906190629063906490659066906790689069907090719072907390749075907690779078907990809081908290839084908590869087908890899090909190929093909490959096909790989099910091019102910391049105910691079108910991109111911291139114911591169117911891199120912191229123912491259126912791289129913091319132913391349135913691379138913991409141914291439144914591469147914891499150915191529153915491559156915791589159916091619162916391649165916691679168916991709171917291739174917591769177917891799180918191829183918491859186918791889189919091919192919391949195919691979198919992009201920292039204920592069207920892099210921192129213921492159216921792189219922092219222922392249225922692279228922992309231923292339234923592369237923892399240924192429243924492459246924792489249925092519252925392549255925692579258925992609261926292639264926592669267926892699270927192729273927492759276927792789279928092819282928392849285928692879288928992909291929292939294929592969297929892999300930193029303930493059306930793089309931093119312931393149315931693179318931993209321932293239324932593269327932893299330933193329333933493359336933793389339934093419342934393449345934693479348934993509351935293539354935593569357935893599360936193629363936493659366936793689369937093719372937393749375937693779378937993809381938293839384938593869387938893899390939193929393939493959396939793989399940094019402940394049405940694079408940994109411941294139414941594169417941894199420942194229423942494259426942794289429943094319432943394349435943694379438943994409441944294439444944594469447944894499450945194529453945494559456945794589459946094619462946394649465946694679468946994709471947294739474947594769477947894799480948194829483948494859486948794889489949094919492949394949495949694979498949995009501950295039504950595069507950895099510951195129513951495159516951795189519952095219522952395249525952695279528952995309531953295339534953595369537953895399540954195429543954495459546954795489549955095519552955395549555955695579558955995609561956295639564956595669567956895699570957195729573957495759576957795789579958095819582958395849585958695879588958995909591959295939594959595969597959895999600960196029603960496059606960796089609961096119612961396149615961696179618961996209621962296239624962596269627962896299630963196329633963496359636963796389639964096419642964396449645964696479648964996509651965296539654965596569657965896599660966196629663966496659666966796689669967096719672967396749675967696779678967996809681968296839684968596869687968896899690969196929693969496959696969796989699970097019702970397049705970697079708970997109711971297139714971597169717971897199720972197229723972497259726972797289729973097319732973397349735973697379738973997409741974297439744974597469747974897499750975197529753975497559756975797589759976097619762976397649765976697679768976997709771977297739774977597769777977897799780978197829783978497859786978797889789979097919792979397949795979697979798979998009801980298039804980598069807980898099810981198129813981498159816981798189819982098219822982398249825982698279828982998309831983298339834983598369837983898399840984198429843984498459846984798489849985098519852985398549855985698579858985998609861986298639864986598669867986898699870987198729873987498759876987798789879988098819882988398849885988698879888988998909891989298939894989598969897989898999900990199029903990499059906990799089909991099119912991399149915991699179918991999209921992299239924992599269927992899299930993199329933993499359936993799389939994099419942994399449945994699479948994999509951995299539954995599569957995899599960996199629963996499659966996799689969997099719972997399749975997699779978997999809981998299839984998599869987998899899990999199929993999499959996999799989999100001000110002100031000410005100061000710008100091001010011100121001310014100151001610017100181001910020100211002210023100241002510026100271002810029100301003110032100331003410035100361003710038100391004010041100421004310044100451004610047100481004910050100511005210053100541005510056100571005810059100601006110062100631006410065100661006710068100691007010071100721007310074100751007610077100781007910080100811008210083100841008510086100871008810089100901009110092100931009410095100961009710098100991010010101101021010310104101051010610107101081010910110101111011210113101141011510116101171011810119101201012110122101231012410125101261012710128101291013010131101321013310134101351013610137101381013910140101411014210143101441014510146101471014810149101501015110152101531015410155101561015710158101591016010161101621016310164101651016610167101681016910170101711017210173101741017510176101771017810179101801018110182101831018410185101861018710188101891019010191101921019310194101951019610197101981019910200102011020210203102041020510206102071020810209102101021110212102131021410215102161021710218102191022010221102221022310224102251022610227102281022910230102311023210233102341023510236102371023810239102401024110242102431024410245102461024710248102491025010251102521025310254102551025610257102581025910260102611026210263102641026510266102671026810269102701027110272102731027410275102761027710278102791028010281102821028310284102851028610287102881028910290102911029210293102941029510296102971029810299103001030110302103031030410305103061030710308103091031010311103121031310314103151031610317103181031910320103211032210323103241032510326103271032810329103301033110332103331033410335103361033710338103391034010341103421034310344103451034610347103481034910350103511035210353103541035510356103571035810359103601036110362103631036410365103661036710368103691037010371103721037310374103751037610377103781037910380103811038210383103841038510386103871038810389103901039110392103931039410395103961039710398103991040010401104021040310404104051040610407104081040910410104111041210413104141041510416104171041810419104201042110422104231042410425104261042710428104291043010431104321043310434104351043610437104381043910440104411044210443104441044510446104471044810449104501045110452104531045410455104561045710458104591046010461104621046310464104651046610467104681046910470104711047210473104741047510476104771047810479104801048110482104831048410485104861048710488104891049010491104921049310494104951049610497104981049910500105011050210503105041050510506105071050810509105101051110512105131051410515105161051710518105191052010521105221052310524105251052610527105281052910530105311053210533105341053510536105371053810539105401054110542105431054410545105461054710548105491055010551105521055310554105551055610557105581055910560105611056210563105641056510566105671056810569105701057110572105731057410575105761057710578105791058010581105821058310584105851058610587105881058910590105911059210593105941059510596105971059810599106001060110602106031060410605106061060710608106091061010611106121061310614106151061610617106181061910620106211062210623106241062510626106271062810629106301063110632106331063410635106361063710638106391064010641106421064310644106451064610647106481064910650106511065210653106541065510656106571065810659106601066110662106631066410665106661066710668106691067010671106721067310674106751067610677106781067910680106811068210683106841068510686106871068810689106901069110692106931069410695106961069710698106991070010701107021070310704107051070610707107081070910710107111071210713107141071510716107171071810719107201072110722107231072410725107261072710728107291073010731107321073310734107351073610737107381073910740107411074210743107441074510746107471074810749107501075110752107531075410755107561075710758107591076010761107621076310764107651076610767107681076910770107711077210773107741077510776107771077810779107801078110782107831078410785107861078710788107891079010791107921079310794107951079610797107981079910800108011080210803108041080510806108071080810809108101081110812108131081410815108161081710818108191082010821108221082310824108251082610827108281082910830108311083210833108341083510836108371083810839108401084110842108431084410845108461084710848108491085010851108521085310854108551085610857108581085910860108611086210863108641086510866108671086810869108701087110872108731087410875108761087710878108791088010881108821088310884108851088610887108881088910890108911089210893108941089510896108971089810899109001090110902109031090410905109061090710908109091091010911109121091310914109151091610917109181091910920109211092210923109241092510926109271092810929109301093110932109331093410935109361093710938109391094010941109421094310944109451094610947109481094910950109511095210953109541095510956109571095810959109601096110962109631096410965109661096710968109691097010971109721097310974109751097610977109781097910980109811098210983109841098510986109871098810989109901099110992109931099410995109961099710998109991100011001110021100311004110051100611007110081100911010110111101211013110141101511016110171101811019110201102111022110231102411025110261102711028110291103011031110321103311034110351103611037110381103911040110411104211043110441104511046110471104811049110501105111052110531105411055110561105711058110591106011061110621106311064110651106611067110681106911070110711107211073110741107511076110771107811079110801108111082110831108411085110861108711088110891109011091110921109311094110951109611097110981109911100111011110211103111041110511106111071110811109111101111111112111131111411115111161111711118111191112011121111221112311124111251112611127111281112911130111311113211133111341113511136111371113811139111401114111142111431114411145111461114711148111491115011151111521115311154111551115611157111581115911160111611116211163111641116511166111671116811169111701117111172111731117411175111761117711178111791118011181111821118311184111851118611187111881118911190111911119211193111941119511196111971119811199112001120111202112031120411205112061120711208112091121011211112121121311214112151121611217112181121911220112211122211223112241122511226112271122811229112301123111232112331123411235112361123711238112391124011241112421124311244112451124611247112481124911250112511125211253112541125511256112571125811259112601126111262112631126411265112661126711268112691127011271112721127311274112751127611277112781127911280112811128211283112841128511286112871128811289112901129111292112931129411295112961129711298112991130011301113021130311304113051130611307113081130911310113111131211313113141131511316113171131811319113201132111322113231132411325113261132711328113291133011331113321133311334113351133611337113381133911340113411134211343113441134511346113471134811349113501135111352113531135411355113561135711358113591136011361113621136311364113651136611367113681136911370113711137211373113741137511376113771137811379113801138111382113831138411385113861138711388113891139011391113921139311394113951139611397113981139911400114011140211403114041140511406114071140811409114101141111412114131141411415114161141711418114191142011421114221142311424114251142611427114281142911430114311143211433114341143511436114371143811439114401144111442114431144411445114461144711448114491145011451114521145311454114551145611457114581145911460114611146211463114641146511466114671146811469114701147111472114731147411475114761147711478114791148011481114821148311484114851148611487114881148911490114911149211493114941149511496114971149811499115001150111502115031150411505115061150711508115091151011511115121151311514115151151611517115181151911520115211152211523115241152511526115271152811529115301153111532115331153411535115361153711538115391154011541115421154311544115451154611547115481154911550115511155211553115541155511556115571155811559115601156111562115631156411565115661156711568115691157011571115721157311574115751157611577115781157911580115811158211583115841158511586115871158811589115901159111592115931159411595115961159711598115991160011601116021160311604116051160611607116081160911610116111161211613116141161511616116171161811619116201162111622116231162411625116261162711628116291163011631116321163311634116351163611637116381163911640116411164211643116441164511646116471164811649116501165111652116531165411655116561165711658116591166011661116621166311664116651166611667116681166911670116711167211673116741167511676116771167811679116801168111682116831168411685116861168711688116891169011691116921169311694116951169611697116981169911700117011170211703117041170511706117071170811709117101171111712117131171411715117161171711718117191172011721117221172311724117251172611727117281172911730117311173211733117341173511736117371173811739117401174111742117431174411745117461174711748117491175011751117521175311754117551175611757117581175911760117611176211763117641176511766117671176811769117701177111772117731177411775117761177711778117791178011781117821178311784117851178611787117881178911790117911179211793117941179511796117971179811799118001180111802118031180411805118061180711808118091181011811118121181311814118151181611817118181181911820118211182211823118241182511826118271182811829118301183111832118331183411835118361183711838118391184011841118421184311844118451184611847118481184911850118511185211853118541185511856118571185811859118601186111862118631186411865118661186711868118691187011871118721187311874118751187611877118781187911880118811188211883118841188511886118871188811889118901189111892118931189411895118961189711898118991190011901119021190311904119051190611907119081190911910119111191211913119141191511916119171191811919119201192111922119231192411925119261192711928119291193011931119321193311934119351193611937119381193911940119411194211943119441194511946119471194811949119501195111952119531195411955119561195711958119591196011961119621196311964119651196611967119681196911970119711197211973119741197511976119771197811979119801198111982119831198411985119861198711988119891199011991119921199311994119951199611997119981199912000120011200212003120041200512006120071200812009120101201112012120131201412015120161201712018120191202012021120221202312024120251202612027120281202912030120311203212033120341203512036120371203812039120401204112042120431204412045120461204712048120491205012051120521205312054120551205612057120581205912060120611206212063120641206512066120671206812069120701207112072120731207412075120761207712078120791208012081120821208312084120851208612087120881208912090120911209212093120941209512096120971209812099121001210112102121031210412105121061210712108121091211012111121121211312114121151211612117121181211912120121211212212123121241212512126121271212812129121301213112132121331213412135121361213712138121391214012141121421214312144121451214612147121481214912150121511215212153121541215512156121571215812159121601216112162121631216412165121661216712168121691217012171121721217312174121751217612177121781217912180121811218212183121841218512186121871218812189121901219112192121931219412195121961219712198121991220012201122021220312204122051220612207122081220912210122111221212213122141221512216122171221812219122201222112222122231222412225122261222712228122291223012231122321223312234122351223612237122381223912240122411224212243122441224512246122471224812249122501225112252122531225412255122561225712258122591226012261122621226312264122651226612267122681226912270122711227212273122741227512276122771227812279122801228112282122831228412285122861228712288122891229012291122921229312294122951229612297122981229912300123011230212303123041230512306123071230812309123101231112312123131231412315123161231712318123191232012321123221232312324123251232612327123281232912330123311233212333123341233512336123371233812339123401234112342123431234412345123461234712348123491235012351123521235312354123551235612357123581235912360123611236212363123641236512366123671236812369123701237112372123731237412375123761237712378123791238012381123821238312384123851238612387123881238912390123911239212393123941239512396123971239812399124001240112402124031240412405124061240712408124091241012411124121241312414124151241612417124181241912420124211242212423124241242512426124271242812429124301243112432124331243412435124361243712438124391244012441124421244312444124451244612447124481244912450124511245212453124541245512456124571245812459124601246112462124631246412465124661246712468124691247012471124721247312474124751247612477124781247912480124811248212483124841248512486124871248812489124901249112492124931249412495124961249712498124991250012501125021250312504125051250612507125081250912510125111251212513125141251512516125171251812519125201252112522125231252412525125261252712528125291253012531125321253312534125351253612537125381253912540125411254212543125441254512546125471254812549125501255112552125531255412555125561255712558125591256012561125621256312564125651256612567125681256912570125711257212573125741257512576125771257812579125801258112582125831258412585125861258712588125891259012591125921259312594125951259612597125981259912600126011260212603126041260512606126071260812609126101261112612126131261412615126161261712618126191262012621126221262312624126251262612627126281262912630126311263212633126341263512636126371263812639126401264112642126431264412645126461264712648126491265012651126521265312654126551265612657126581265912660126611266212663126641266512666126671266812669126701267112672126731267412675126761267712678126791268012681126821268312684126851268612687126881268912690126911269212693126941269512696126971269812699127001270112702127031270412705127061270712708127091271012711127121271312714127151271612717127181271912720127211272212723127241272512726127271272812729127301273112732127331273412735127361273712738127391274012741127421274312744127451274612747127481274912750127511275212753127541275512756127571275812759127601276112762127631276412765127661276712768127691277012771127721277312774127751277612777127781277912780127811278212783127841278512786127871278812789127901279112792127931279412795127961279712798127991280012801128021280312804128051280612807128081280912810128111281212813128141281512816128171281812819128201282112822128231282412825128261282712828128291283012831128321283312834128351283612837128381283912840128411284212843128441284512846128471284812849128501285112852128531285412855128561285712858128591286012861128621286312864128651286612867128681286912870128711287212873128741287512876128771287812879128801288112882128831288412885128861288712888128891289012891128921289312894128951289612897128981289912900129011290212903129041290512906129071290812909129101291112912129131291412915129161291712918129191292012921129221292312924129251292612927129281292912930129311293212933129341293512936129371293812939129401294112942129431294412945129461294712948129491295012951129521295312954129551295612957129581295912960129611296212963129641296512966129671296812969129701297112972129731297412975129761297712978129791298012981129821298312984129851298612987129881298912990129911299212993129941299512996129971299812999130001300113002130031300413005130061300713008130091301013011130121301313014130151301613017130181301913020130211302213023130241302513026130271302813029130301303113032130331303413035130361303713038130391304013041130421304313044130451304613047130481304913050130511305213053130541305513056130571305813059130601306113062130631306413065130661306713068130691307013071130721307313074130751307613077130781307913080130811308213083130841308513086130871308813089130901309113092130931309413095130961309713098130991310013101131021310313104131051310613107131081310913110131111311213113131141311513116131171311813119131201312113122131231312413125131261312713128131291313013131131321313313134131351313613137131381313913140131411314213143131441314513146131471314813149131501315113152131531315413155131561315713158131591316013161131621316313164131651316613167131681316913170131711317213173131741317513176131771317813179131801318113182131831318413185131861318713188131891319013191131921319313194131951319613197131981319913200132011320213203132041320513206132071320813209132101321113212132131321413215132161321713218132191322013221132221322313224132251322613227132281322913230132311323213233132341323513236132371323813239132401324113242132431324413245132461324713248132491325013251132521325313254132551325613257132581325913260132611326213263132641326513266132671326813269132701327113272132731327413275132761327713278132791328013281132821328313284132851328613287132881328913290132911329213293132941329513296132971329813299133001330113302133031330413305133061330713308133091331013311133121331313314133151331613317133181331913320133211332213323133241332513326133271332813329133301333113332133331333413335133361333713338133391334013341133421334313344133451334613347133481334913350133511335213353133541335513356133571335813359133601336113362133631336413365133661336713368133691337013371133721337313374133751337613377133781337913380133811338213383133841338513386133871338813389133901339113392133931339413395133961339713398133991340013401134021340313404134051340613407134081340913410134111341213413134141341513416134171341813419134201342113422134231342413425134261342713428134291343013431134321343313434134351343613437134381343913440134411344213443134441344513446134471344813449134501345113452134531345413455134561345713458134591346013461134621346313464134651346613467134681346913470134711347213473134741347513476134771347813479134801348113482134831348413485134861348713488134891349013491134921349313494134951349613497134981349913500135011350213503135041350513506135071350813509135101351113512135131351413515135161351713518135191352013521135221352313524135251352613527135281352913530135311353213533135341353513536135371353813539135401354113542135431354413545135461354713548135491355013551135521355313554135551355613557135581355913560135611356213563135641356513566135671356813569135701357113572135731357413575135761357713578135791358013581135821358313584135851358613587135881358913590135911359213593135941359513596135971359813599136001360113602136031360413605136061360713608136091361013611136121361313614136151361613617136181361913620136211362213623136241362513626136271362813629136301363113632136331363413635136361363713638136391364013641136421364313644136451364613647136481364913650136511365213653136541365513656136571365813659136601366113662136631366413665136661366713668136691367013671136721367313674136751367613677136781367913680136811368213683136841368513686136871368813689136901369113692136931369413695136961369713698136991370013701137021370313704137051370613707137081370913710137111371213713137141371513716137171371813719137201372113722137231372413725137261372713728137291373013731137321373313734137351373613737137381373913740137411374213743137441374513746137471374813749137501375113752137531375413755137561375713758137591376013761137621376313764137651376613767137681376913770137711377213773137741377513776137771377813779137801378113782137831378413785137861378713788137891379013791137921379313794137951379613797137981379913800138011380213803138041380513806138071380813809138101381113812138131381413815138161381713818138191382013821138221382313824138251382613827138281382913830138311383213833138341383513836138371383813839138401384113842138431384413845138461384713848138491385013851138521385313854138551385613857138581385913860138611386213863138641386513866138671386813869138701387113872138731387413875138761387713878138791388013881138821388313884138851388613887138881388913890138911389213893138941389513896138971389813899139001390113902139031390413905139061390713908139091391013911139121391313914139151391613917139181391913920139211392213923139241392513926139271392813929139301393113932139331393413935139361393713938139391394013941139421394313944139451394613947139481394913950139511395213953139541395513956139571395813959139601396113962139631396413965139661396713968139691397013971139721397313974139751397613977139781397913980139811398213983139841398513986139871398813989139901399113992139931399413995139961399713998139991400014001140021400314004140051400614007140081400914010140111401214013140141401514016140171401814019140201402114022140231402414025140261402714028140291403014031140321403314034140351403614037140381403914040140411404214043140441404514046140471404814049140501405114052140531405414055140561405714058140591406014061140621406314064140651406614067140681406914070140711407214073140741407514076140771407814079140801408114082140831408414085140861408714088140891409014091140921409314094140951409614097140981409914100141011410214103141041410514106141071410814109141101411114112141131411414115141161411714118141191412014121141221412314124141251412614127141281412914130141311413214133141341413514136141371413814139141401414114142141431414414145141461414714148141491415014151141521415314154141551415614157141581415914160141611416214163141641416514166141671416814169141701417114172141731417414175141761417714178141791418014181141821418314184141851418614187141881418914190141911419214193141941419514196141971419814199142001420114202142031420414205142061420714208142091421014211142121421314214142151421614217142181421914220142211422214223142241422514226142271422814229142301423114232142331423414235142361423714238142391424014241142421424314244142451424614247142481424914250142511425214253142541425514256142571425814259142601426114262142631426414265142661426714268142691427014271142721427314274142751427614277142781427914280142811428214283142841428514286142871428814289142901429114292142931429414295142961429714298142991430014301143021430314304143051430614307143081430914310143111431214313143141431514316143171431814319143201432114322143231432414325143261432714328143291433014331143321433314334143351433614337143381433914340143411434214343143441434514346143471434814349143501435114352143531435414355143561435714358143591436014361143621436314364143651436614367143681436914370143711437214373143741437514376143771437814379143801438114382143831438414385143861438714388143891439014391143921439314394143951439614397143981439914400144011440214403144041440514406144071440814409144101441114412144131441414415144161441714418144191442014421144221442314424144251442614427144281442914430144311443214433144341443514436144371443814439144401444114442144431444414445144461444714448144491445014451144521445314454144551445614457144581445914460144611446214463144641446514466144671446814469144701447114472144731447414475144761447714478144791448014481144821448314484144851448614487144881448914490144911449214493144941449514496144971449814499145001450114502145031450414505145061450714508145091451014511145121451314514145151451614517145181451914520145211452214523145241452514526145271452814529145301453114532145331453414535145361453714538145391454014541145421454314544145451454614547145481454914550145511455214553145541455514556145571455814559145601456114562145631456414565145661456714568145691457014571145721457314574145751457614577145781457914580145811458214583145841458514586145871458814589145901459114592145931459414595145961459714598145991460014601146021460314604146051460614607146081460914610146111461214613146141461514616146171461814619146201462114622146231462414625146261462714628146291463014631146321463314634146351463614637146381463914640146411464214643146441464514646146471464814649146501465114652146531465414655146561465714658146591466014661146621466314664146651466614667146681466914670146711467214673146741467514676146771467814679146801468114682146831468414685146861468714688146891469014691146921469314694146951469614697146981469914700147011470214703147041470514706147071470814709147101471114712147131471414715147161471714718147191472014721147221472314724147251472614727147281472914730147311473214733147341473514736147371473814739147401474114742147431474414745147461474714748147491475014751147521475314754147551475614757147581475914760147611476214763147641476514766147671476814769147701477114772147731477414775147761477714778147791478014781147821478314784147851478614787147881478914790147911479214793147941479514796147971479814799148001480114802148031480414805148061480714808148091481014811148121481314814148151481614817148181481914820148211482214823148241482514826148271482814829148301483114832148331483414835148361483714838148391484014841148421484314844148451484614847148481484914850148511485214853148541485514856148571485814859148601486114862148631486414865148661486714868148691487014871148721487314874148751487614877148781487914880148811488214883148841488514886148871488814889148901489114892148931489414895148961489714898148991490014901149021490314904149051490614907149081490914910149111491214913149141491514916149171491814919149201492114922149231492414925149261492714928149291493014931149321493314934149351493614937149381493914940149411494214943149441494514946149471494814949149501495114952149531495414955149561495714958149591496014961149621496314964149651496614967149681496914970149711497214973149741497514976149771497814979149801498114982149831498414985149861498714988149891499014991149921499314994149951499614997149981499915000150011500215003150041500515006150071500815009150101501115012150131501415015150161501715018150191502015021150221502315024150251502615027150281502915030150311503215033150341503515036150371503815039150401504115042150431504415045150461504715048150491505015051150521505315054150551505615057150581505915060150611506215063150641506515066150671506815069150701507115072150731507415075150761507715078150791508015081150821508315084150851508615087150881508915090150911509215093150941509515096150971509815099151001510115102151031510415105151061510715108151091511015111151121511315114151151511615117151181511915120151211512215123151241512515126151271512815129151301513115132151331513415135151361513715138151391514015141151421514315144151451514615147151481514915150151511515215153151541515515156151571515815159151601516115162151631516415165151661516715168151691517015171151721517315174151751517615177151781517915180151811518215183151841518515186151871518815189151901519115192151931519415195151961519715198151991520015201152021520315204152051520615207152081520915210152111521215213152141521515216152171521815219152201522115222152231522415225152261522715228152291523015231152321523315234152351523615237152381523915240152411524215243152441524515246152471524815249152501525115252152531525415255152561525715258152591526015261152621526315264152651526615267152681526915270152711527215273152741527515276152771527815279152801528115282152831528415285152861528715288152891529015291152921529315294152951529615297152981529915300153011530215303153041530515306153071530815309153101531115312153131531415315153161531715318153191532015321153221532315324153251532615327153281532915330153311533215333153341533515336153371533815339153401534115342153431534415345153461534715348153491535015351153521535315354153551535615357153581535915360153611536215363153641536515366153671536815369153701537115372153731537415375153761537715378153791538015381153821538315384153851538615387153881538915390153911539215393153941539515396153971539815399154001540115402154031540415405154061540715408154091541015411154121541315414154151541615417154181541915420154211542215423154241542515426154271542815429154301543115432154331543415435154361543715438154391544015441154421544315444154451544615447154481544915450154511545215453154541545515456154571545815459154601546115462154631546415465154661546715468154691547015471154721547315474154751547615477154781547915480154811548215483154841548515486154871548815489154901549115492154931549415495154961549715498154991550015501155021550315504155051550615507155081550915510155111551215513155141551515516155171551815519155201552115522155231552415525155261552715528155291553015531155321553315534155351553615537155381553915540155411554215543155441554515546155471554815549155501555115552155531555415555155561555715558155591556015561155621556315564155651556615567155681556915570155711557215573155741557515576155771557815579155801558115582155831558415585155861558715588155891559015591155921559315594155951559615597155981559915600156011560215603156041560515606156071560815609156101561115612156131561415615156161561715618156191562015621156221562315624156251562615627156281562915630156311563215633156341563515636156371563815639156401564115642156431564415645156461564715648156491565015651156521565315654156551565615657156581565915660156611566215663156641566515666156671566815669156701567115672156731567415675156761567715678156791568015681156821568315684156851568615687156881568915690156911569215693156941569515696156971569815699157001570115702157031570415705157061570715708157091571015711157121571315714157151571615717157181571915720157211572215723157241572515726157271572815729157301573115732157331573415735157361573715738157391574015741157421574315744157451574615747157481574915750157511575215753157541575515756157571575815759157601576115762157631576415765157661576715768157691577015771157721577315774157751577615777157781577915780157811578215783157841578515786157871578815789157901579115792157931579415795157961579715798157991580015801158021580315804158051580615807158081580915810158111581215813158141581515816158171581815819158201582115822158231582415825158261582715828158291583015831158321583315834158351583615837158381583915840158411584215843158441584515846158471584815849158501585115852158531585415855158561585715858158591586015861158621586315864158651586615867158681586915870158711587215873158741587515876158771587815879158801588115882158831588415885158861588715888158891589015891158921589315894158951589615897158981589915900159011590215903159041590515906159071590815909159101591115912159131591415915159161591715918159191592015921159221592315924159251592615927159281592915930159311593215933159341593515936159371593815939159401594115942159431594415945159461594715948159491595015951159521595315954159551595615957159581595915960159611596215963159641596515966159671596815969159701597115972159731597415975159761597715978159791598015981159821598315984159851598615987159881598915990159911599215993159941599515996159971599815999160001600116002160031600416005160061600716008160091601016011160121601316014160151601616017160181601916020160211602216023160241602516026160271602816029160301603116032160331603416035160361603716038160391604016041160421604316044160451604616047160481604916050160511605216053160541605516056160571605816059160601606116062160631606416065160661606716068160691607016071160721607316074160751607616077160781607916080160811608216083160841608516086160871608816089160901609116092160931609416095160961609716098160991610016101161021610316104161051610616107161081610916110161111611216113161141611516116161171611816119161201612116122161231612416125161261612716128161291613016131161321613316134161351613616137161381613916140161411614216143161441614516146161471614816149161501615116152161531615416155161561615716158161591616016161161621616316164161651616616167161681616916170161711617216173161741617516176161771617816179161801618116182161831618416185161861618716188161891619016191161921619316194161951619616197161981619916200162011620216203162041620516206162071620816209162101621116212162131621416215162161621716218162191622016221162221622316224162251622616227162281622916230162311623216233162341623516236162371623816239162401624116242162431624416245162461624716248162491625016251162521625316254162551625616257162581625916260162611626216263162641626516266162671626816269162701627116272162731627416275162761627716278162791628016281162821628316284162851628616287162881628916290162911629216293162941629516296162971629816299163001630116302163031630416305163061630716308163091631016311163121631316314163151631616317163181631916320163211632216323163241632516326163271632816329163301633116332163331633416335163361633716338163391634016341163421634316344163451634616347163481634916350163511635216353163541635516356163571635816359163601636116362163631636416365163661636716368163691637016371163721637316374163751637616377163781637916380163811638216383163841638516386163871638816389163901639116392163931639416395163961639716398163991640016401164021640316404164051640616407164081640916410164111641216413164141641516416164171641816419164201642116422164231642416425164261642716428164291643016431164321643316434164351643616437164381643916440164411644216443164441644516446164471644816449164501645116452164531645416455164561645716458164591646016461164621646316464164651646616467164681646916470164711647216473164741647516476164771647816479164801648116482164831648416485164861648716488164891649016491164921649316494164951649616497164981649916500165011650216503165041650516506165071650816509165101651116512165131651416515165161651716518165191652016521165221652316524165251652616527165281652916530165311653216533165341653516536165371653816539165401654116542165431654416545165461654716548165491655016551165521655316554165551655616557165581655916560165611656216563165641656516566165671656816569165701657116572165731657416575165761657716578165791658016581165821658316584165851658616587165881658916590165911659216593165941659516596165971659816599166001660116602166031660416605166061660716608166091661016611166121661316614166151661616617166181661916620166211662216623166241662516626166271662816629166301663116632166331663416635166361663716638166391664016641166421664316644166451664616647166481664916650166511665216653166541665516656166571665816659166601666116662166631666416665166661666716668166691667016671166721667316674166751667616677166781667916680166811668216683166841668516686166871668816689166901669116692166931669416695166961669716698166991670016701167021670316704167051670616707167081670916710167111671216713167141671516716167171671816719167201672116722167231672416725167261672716728167291673016731167321673316734167351673616737167381673916740167411674216743167441674516746167471674816749167501675116752167531675416755167561675716758167591676016761167621676316764167651676616767167681676916770167711677216773167741677516776167771677816779167801678116782167831678416785167861678716788167891679016791167921679316794167951679616797167981679916800168011680216803168041680516806168071680816809168101681116812168131681416815168161681716818168191682016821168221682316824168251682616827168281682916830168311683216833168341683516836168371683816839168401684116842168431684416845168461684716848168491685016851168521685316854168551685616857168581685916860168611686216863168641686516866168671686816869168701687116872168731687416875168761687716878168791688016881168821688316884168851688616887168881688916890168911689216893168941689516896168971689816899169001690116902169031690416905169061690716908169091691016911169121691316914169151691616917169181691916920169211692216923169241692516926169271692816929169301693116932169331693416935169361693716938169391694016941169421694316944169451694616947169481694916950169511695216953169541695516956169571695816959169601696116962169631696416965169661696716968169691697016971169721697316974169751697616977169781697916980169811698216983169841698516986169871698816989169901699116992169931699416995169961699716998169991700017001170021700317004170051700617007170081700917010170111701217013170141701517016170171701817019170201702117022170231702417025170261702717028170291703017031170321703317034170351703617037170381703917040170411704217043170441704517046170471704817049170501705117052170531705417055170561705717058170591706017061170621706317064170651706617067170681706917070170711707217073170741707517076170771707817079170801708117082170831708417085170861708717088170891709017091170921709317094170951709617097170981709917100171011710217103171041710517106171071710817109171101711117112171131711417115171161711717118171191712017121171221712317124171251712617127171281712917130171311713217133171341713517136171371713817139171401714117142171431714417145171461714717148171491715017151171521715317154171551715617157171581715917160171611716217163171641716517166171671716817169171701717117172171731717417175171761717717178171791718017181171821718317184171851718617187171881718917190171911719217193171941719517196171971719817199172001720117202172031720417205172061720717208172091721017211172121721317214172151721617217172181721917220172211722217223172241722517226172271722817229172301723117232172331723417235172361723717238172391724017241172421724317244172451724617247172481724917250172511725217253172541725517256172571725817259172601726117262172631726417265172661726717268172691727017271172721727317274172751727617277172781727917280172811728217283172841728517286172871728817289172901729117292172931729417295172961729717298172991730017301173021730317304173051730617307173081730917310173111731217313173141731517316173171731817319173201732117322173231732417325173261732717328173291733017331173321733317334173351733617337173381733917340173411734217343173441734517346173471734817349173501735117352173531735417355173561735717358173591736017361173621736317364173651736617367173681736917370173711737217373173741737517376173771737817379173801738117382173831738417385173861738717388173891739017391173921739317394173951739617397173981739917400174011740217403174041740517406174071740817409174101741117412174131741417415174161741717418174191742017421174221742317424174251742617427174281742917430174311743217433174341743517436174371743817439174401744117442174431744417445174461744717448174491745017451174521745317454174551745617457174581745917460174611746217463174641746517466174671746817469174701747117472174731747417475174761747717478174791748017481174821748317484174851748617487174881748917490174911749217493174941749517496174971749817499175001750117502175031750417505175061750717508175091751017511175121751317514175151751617517175181751917520175211752217523175241752517526175271752817529175301753117532175331753417535175361753717538175391754017541175421754317544175451754617547175481754917550175511755217553175541755517556175571755817559175601756117562175631756417565175661756717568175691757017571175721757317574175751757617577175781757917580175811758217583175841758517586175871758817589175901759117592175931759417595175961759717598175991760017601176021760317604176051760617607176081760917610176111761217613176141761517616176171761817619176201762117622176231762417625176261762717628176291763017631176321763317634176351763617637176381763917640176411764217643176441764517646176471764817649176501765117652176531765417655176561765717658176591766017661176621766317664176651766617667176681766917670176711767217673176741767517676176771767817679176801768117682176831768417685176861768717688176891769017691176921769317694176951769617697176981769917700177011770217703177041770517706177071770817709177101771117712177131771417715177161771717718177191772017721177221772317724177251772617727177281772917730177311773217733177341773517736177371773817739177401774117742177431774417745177461774717748177491775017751177521775317754177551775617757177581775917760177611776217763177641776517766177671776817769177701777117772177731777417775177761777717778177791778017781177821778317784177851778617787177881778917790177911779217793177941779517796177971779817799178001780117802178031780417805178061780717808178091781017811178121781317814178151781617817178181781917820178211782217823178241782517826178271782817829178301783117832178331783417835178361783717838178391784017841178421784317844178451784617847178481784917850178511785217853178541785517856178571785817859178601786117862178631786417865178661786717868178691787017871178721787317874178751787617877178781787917880178811788217883178841788517886178871788817889178901789117892178931789417895178961789717898178991790017901179021790317904179051790617907179081790917910179111791217913179141791517916179171791817919179201792117922179231792417925179261792717928179291793017931179321793317934179351793617937179381793917940179411794217943179441794517946179471794817949179501795117952179531795417955179561795717958179591796017961179621796317964179651796617967179681796917970179711797217973179741797517976179771797817979179801798117982179831798417985179861798717988179891799017991179921799317994179951799617997179981799918000180011800218003180041800518006180071800818009180101801118012180131801418015180161801718018180191802018021180221802318024180251802618027180281802918030180311803218033180341803518036180371803818039180401804118042180431804418045180461804718048180491805018051180521805318054180551805618057180581805918060180611806218063180641806518066180671806818069180701807118072180731807418075180761807718078180791808018081180821808318084180851808618087180881808918090180911809218093180941809518096180971809818099181001810118102181031810418105181061810718108181091811018111181121811318114181151811618117181181811918120181211812218123181241812518126181271812818129181301813118132181331813418135181361813718138181391814018141181421814318144181451814618147181481814918150181511815218153181541815518156181571815818159181601816118162181631816418165181661816718168181691817018171181721817318174181751817618177181781817918180181811818218183181841818518186181871818818189181901819118192181931819418195181961819718198181991820018201182021820318204182051820618207182081820918210182111821218213182141821518216182171821818219182201822118222182231822418225182261822718228182291823018231182321823318234182351823618237182381823918240182411824218243182441824518246182471824818249182501825118252182531825418255182561825718258182591826018261182621826318264182651826618267182681826918270182711827218273182741827518276182771827818279182801828118282182831828418285182861828718288182891829018291182921829318294182951829618297182981829918300183011830218303183041830518306183071830818309183101831118312183131831418315183161831718318183191832018321183221832318324183251832618327183281832918330183311833218333183341833518336183371833818339183401834118342183431834418345183461834718348183491835018351183521835318354183551835618357183581835918360183611836218363183641836518366183671836818369183701837118372183731837418375183761837718378183791838018381183821838318384183851838618387183881838918390183911839218393183941839518396183971839818399184001840118402184031840418405184061840718408184091841018411184121841318414184151841618417184181841918420184211842218423184241842518426184271842818429184301843118432184331843418435184361843718438184391844018441184421844318444184451844618447184481844918450184511845218453184541845518456184571845818459184601846118462184631846418465184661846718468184691847018471184721847318474184751847618477184781847918480184811848218483184841848518486184871848818489184901849118492184931849418495184961849718498184991850018501185021850318504185051850618507185081850918510185111851218513185141851518516185171851818519185201852118522185231852418525185261852718528185291853018531185321853318534185351853618537185381853918540185411854218543185441854518546185471854818549185501855118552185531855418555185561855718558185591856018561185621856318564185651856618567185681856918570185711857218573185741857518576185771857818579185801858118582185831858418585185861858718588185891859018591185921859318594185951859618597185981859918600186011860218603186041860518606186071860818609186101861118612186131861418615186161861718618186191862018621186221862318624186251862618627186281862918630186311863218633186341863518636186371863818639186401864118642186431864418645186461864718648186491865018651186521865318654186551865618657186581865918660186611866218663186641866518666186671866818669186701867118672186731867418675186761867718678186791868018681186821868318684186851868618687186881868918690186911869218693186941869518696186971869818699187001870118702187031870418705187061870718708187091871018711187121871318714187151871618717187181871918720187211872218723187241872518726187271872818729187301873118732187331873418735187361873718738187391874018741187421874318744187451874618747187481874918750187511875218753187541875518756187571875818759187601876118762187631876418765187661876718768187691877018771187721877318774187751877618777187781877918780187811878218783187841878518786187871878818789187901879118792187931879418795187961879718798187991880018801188021880318804188051880618807188081880918810188111881218813188141881518816188171881818819188201882118822188231882418825188261882718828188291883018831188321883318834188351883618837188381883918840188411884218843188441884518846188471884818849188501885118852188531885418855188561885718858188591886018861188621886318864188651886618867188681886918870188711887218873188741887518876188771887818879188801888118882188831888418885188861888718888188891889018891188921889318894188951889618897188981889918900189011890218903189041890518906189071890818909189101891118912189131891418915189161891718918189191892018921189221892318924189251892618927189281892918930189311893218933189341893518936189371893818939189401894118942189431894418945189461894718948189491895018951189521895318954189551895618957189581895918960189611896218963189641896518966189671896818969189701897118972189731897418975189761897718978189791898018981189821898318984189851898618987189881898918990189911899218993189941899518996189971899818999190001900119002190031900419005190061900719008190091901019011190121901319014190151901619017190181901919020190211902219023190241902519026190271902819029190301903119032190331903419035190361903719038190391904019041190421904319044190451904619047190481904919050190511905219053190541905519056190571905819059190601906119062190631906419065190661906719068190691907019071190721907319074190751907619077190781907919080190811908219083190841908519086190871908819089190901909119092190931909419095190961909719098190991910019101191021910319104191051910619107191081910919110191111911219113191141911519116191171911819119191201912119122191231912419125191261912719128191291913019131191321913319134191351913619137191381913919140191411914219143191441914519146191471914819149191501915119152191531915419155191561915719158191591916019161191621916319164191651916619167191681916919170191711917219173191741917519176191771917819179191801918119182191831918419185191861918719188191891919019191191921919319194191951919619197191981919919200192011920219203192041920519206192071920819209192101921119212192131921419215192161921719218192191922019221192221922319224192251922619227192281922919230192311923219233192341923519236192371923819239192401924119242192431924419245192461924719248192491925019251192521925319254192551925619257192581925919260192611926219263192641926519266192671926819269192701927119272192731927419275192761927719278192791928019281192821928319284192851928619287192881928919290192911929219293192941929519296192971929819299193001930119302193031930419305193061930719308193091931019311193121931319314193151931619317193181931919320193211932219323193241932519326193271932819329193301933119332193331933419335193361933719338193391934019341193421934319344193451934619347193481934919350193511935219353193541935519356193571935819359193601936119362193631936419365193661936719368193691937019371193721937319374193751937619377193781937919380193811938219383193841938519386193871938819389193901939119392193931939419395193961939719398193991940019401194021940319404194051940619407194081940919410194111941219413194141941519416194171941819419194201942119422194231942419425194261942719428194291943019431194321943319434194351943619437194381943919440194411944219443194441944519446194471944819449194501945119452194531945419455194561945719458194591946019461194621946319464194651946619467194681946919470194711947219473194741947519476194771947819479194801948119482194831948419485194861948719488194891949019491194921949319494194951949619497194981949919500195011950219503195041950519506195071950819509195101951119512195131951419515195161951719518195191952019521195221952319524195251952619527195281952919530195311953219533195341953519536195371953819539195401954119542195431954419545195461954719548195491955019551195521955319554195551955619557195581955919560195611956219563195641956519566195671956819569195701957119572195731957419575195761957719578195791958019581195821958319584195851958619587195881958919590195911959219593195941959519596195971959819599196001960119602196031960419605196061960719608196091961019611196121961319614196151961619617196181961919620196211962219623196241962519626196271962819629196301963119632196331963419635196361963719638196391964019641196421964319644196451964619647196481964919650196511965219653196541965519656196571965819659196601966119662196631966419665196661966719668196691967019671196721967319674196751967619677196781967919680196811968219683196841968519686196871968819689196901969119692196931969419695196961969719698196991970019701197021970319704197051970619707197081970919710197111971219713197141971519716197171971819719197201972119722197231972419725197261972719728197291973019731197321973319734197351973619737197381973919740197411974219743197441974519746197471974819749197501975119752197531975419755197561975719758197591976019761197621976319764197651976619767197681976919770197711977219773197741977519776197771977819779197801978119782197831978419785197861978719788197891979019791197921979319794197951979619797197981979919800198011980219803198041980519806198071980819809198101981119812198131981419815198161981719818198191982019821198221982319824198251982619827198281982919830198311983219833198341983519836198371983819839198401984119842198431984419845198461984719848198491985019851198521985319854198551985619857198581985919860198611986219863198641986519866198671986819869198701987119872198731987419875198761987719878198791988019881198821988319884198851988619887198881988919890198911989219893198941989519896198971989819899199001990119902199031990419905199061990719908199091991019911199121991319914199151991619917199181991919920199211992219923199241992519926199271992819929199301993119932199331993419935199361993719938199391994019941199421994319944199451994619947199481994919950199511995219953199541995519956199571995819959199601996119962199631996419965199661996719968199691997019971199721997319974199751997619977199781997919980199811998219983199841998519986199871998819989199901999119992199931999419995199961999719998199992000020001200022000320004200052000620007200082000920010200112001220013200142001520016200172001820019200202002120022200232002420025200262002720028200292003020031200322003320034200352003620037200382003920040200412004220043200442004520046200472004820049200502005120052200532005420055200562005720058200592006020061200622006320064200652006620067200682006920070200712007220073200742007520076200772007820079200802008120082200832008420085200862008720088200892009020091200922009320094200952009620097200982009920100201012010220103201042010520106201072010820109201102011120112201132011420115201162011720118201192012020121201222012320124201252012620127201282012920130201312013220133201342013520136201372013820139201402014120142201432014420145201462014720148201492015020151201522015320154201552015620157201582015920160201612016220163201642016520166201672016820169201702017120172201732017420175201762017720178201792018020181201822018320184201852018620187201882018920190201912019220193201942019520196201972019820199202002020120202202032020420205202062020720208202092021020211202122021320214202152021620217202182021920220202212022220223202242022520226202272022820229202302023120232202332023420235202362023720238202392024020241202422024320244202452024620247202482024920250202512025220253202542025520256202572025820259202602026120262202632026420265202662026720268202692027020271202722027320274202752027620277202782027920280202812028220283202842028520286202872028820289202902029120292202932029420295202962029720298202992030020301203022030320304203052030620307203082030920310203112031220313203142031520316203172031820319203202032120322203232032420325203262032720328203292033020331203322033320334203352033620337203382033920340203412034220343203442034520346203472034820349203502035120352203532035420355203562035720358203592036020361203622036320364203652036620367203682036920370203712037220373203742037520376203772037820379203802038120382203832038420385203862038720388203892039020391203922039320394203952039620397203982039920400204012040220403204042040520406204072040820409204102041120412204132041420415204162041720418204192042020421204222042320424204252042620427204282042920430204312043220433204342043520436204372043820439204402044120442204432044420445204462044720448204492045020451204522045320454204552045620457204582045920460204612046220463204642046520466204672046820469204702047120472204732047420475204762047720478204792048020481204822048320484204852048620487204882048920490204912049220493204942049520496204972049820499205002050120502205032050420505205062050720508205092051020511205122051320514205152051620517205182051920520205212052220523205242052520526205272052820529205302053120532205332053420535205362053720538205392054020541205422054320544205452054620547205482054920550205512055220553205542055520556205572055820559205602056120562205632056420565205662056720568205692057020571205722057320574205752057620577205782057920580205812058220583205842058520586205872058820589205902059120592205932059420595205962059720598205992060020601206022060320604206052060620607206082060920610206112061220613206142061520616206172061820619206202062120622206232062420625206262062720628206292063020631206322063320634206352063620637206382063920640206412064220643206442064520646206472064820649206502065120652206532065420655206562065720658206592066020661206622066320664206652066620667206682066920670206712067220673206742067520676206772067820679206802068120682206832068420685206862068720688206892069020691206922069320694206952069620697206982069920700207012070220703207042070520706207072070820709207102071120712207132071420715207162071720718207192072020721207222072320724207252072620727207282072920730207312073220733207342073520736207372073820739207402074120742207432074420745207462074720748207492075020751207522075320754207552075620757207582075920760207612076220763207642076520766207672076820769207702077120772207732077420775207762077720778207792078020781207822078320784207852078620787207882078920790207912079220793207942079520796207972079820799208002080120802208032080420805208062080720808208092081020811208122081320814208152081620817208182081920820208212082220823208242082520826208272082820829208302083120832208332083420835208362083720838208392084020841208422084320844208452084620847208482084920850208512085220853208542085520856208572085820859208602086120862208632086420865208662086720868208692087020871208722087320874208752087620877208782087920880208812088220883208842088520886208872088820889208902089120892208932089420895208962089720898208992090020901209022090320904209052090620907209082090920910209112091220913209142091520916209172091820919209202092120922209232092420925209262092720928209292093020931209322093320934209352093620937209382093920940209412094220943209442094520946209472094820949209502095120952209532095420955209562095720958209592096020961209622096320964209652096620967209682096920970209712097220973209742097520976209772097820979209802098120982209832098420985209862098720988209892099020991209922099320994209952099620997209982099921000210012100221003210042100521006210072100821009210102101121012210132101421015210162101721018210192102021021210222102321024210252102621027210282102921030210312103221033210342103521036210372103821039210402104121042210432104421045210462104721048210492105021051210522105321054210552105621057210582105921060210612106221063210642106521066210672106821069210702107121072210732107421075210762107721078210792108021081210822108321084210852108621087210882108921090210912109221093210942109521096210972109821099211002110121102211032110421105211062110721108211092111021111211122111321114211152111621117211182111921120211212112221123211242112521126211272112821129211302113121132211332113421135211362113721138211392114021141211422114321144211452114621147211482114921150211512115221153211542115521156211572115821159211602116121162211632116421165211662116721168211692117021171211722117321174211752117621177211782117921180211812118221183211842118521186211872118821189211902119121192211932119421195211962119721198211992120021201212022120321204212052120621207212082120921210212112121221213212142121521216212172121821219212202122121222212232122421225212262122721228212292123021231212322123321234212352123621237212382123921240212412124221243212442124521246212472124821249212502125121252212532125421255212562125721258212592126021261212622126321264212652126621267212682126921270212712127221273212742127521276212772127821279212802128121282212832128421285212862128721288212892129021291212922129321294212952129621297212982129921300213012130221303213042130521306213072130821309213102131121312213132131421315213162131721318213192132021321213222132321324213252132621327213282132921330213312133221333213342133521336213372133821339213402134121342213432134421345213462134721348213492135021351213522135321354213552135621357213582135921360213612136221363213642136521366213672136821369213702137121372213732137421375213762137721378213792138021381213822138321384213852138621387213882138921390213912139221393213942139521396213972139821399214002140121402214032140421405214062140721408214092141021411214122141321414214152141621417214182141921420214212142221423214242142521426214272142821429214302143121432214332143421435214362143721438214392144021441214422144321444214452144621447214482144921450214512145221453214542145521456214572145821459214602146121462214632146421465214662146721468214692147021471214722147321474214752147621477214782147921480214812148221483214842148521486214872148821489214902149121492214932149421495214962149721498214992150021501215022150321504215052150621507215082150921510215112151221513215142151521516215172151821519215202152121522215232152421525215262152721528215292153021531215322153321534215352153621537215382153921540215412154221543215442154521546215472154821549215502155121552215532155421555215562155721558215592156021561215622156321564215652156621567215682156921570215712157221573215742157521576215772157821579215802158121582215832158421585215862158721588215892159021591215922159321594215952159621597215982159921600216012160221603216042160521606216072160821609216102161121612216132161421615216162161721618216192162021621216222162321624216252162621627216282162921630216312163221633216342163521636216372163821639216402164121642216432164421645216462164721648216492165021651216522165321654216552165621657216582165921660216612166221663216642166521666216672166821669216702167121672216732167421675216762167721678216792168021681216822168321684216852168621687216882168921690216912169221693216942169521696216972169821699217002170121702217032170421705217062170721708217092171021711217122171321714217152171621717217182171921720217212172221723217242172521726217272172821729217302173121732217332173421735217362173721738217392174021741217422174321744217452174621747217482174921750217512175221753217542175521756217572175821759217602176121762217632176421765217662176721768217692177021771217722177321774217752177621777217782177921780217812178221783217842178521786217872178821789217902179121792217932179421795217962179721798217992180021801218022180321804218052180621807218082180921810218112181221813218142181521816218172181821819218202182121822218232182421825218262182721828218292183021831218322183321834218352183621837218382183921840218412184221843218442184521846218472184821849218502185121852218532185421855218562185721858218592186021861218622186321864218652186621867218682186921870218712187221873218742187521876218772187821879218802188121882218832188421885218862188721888218892189021891218922189321894218952189621897218982189921900219012190221903219042190521906219072190821909219102191121912219132191421915219162191721918219192192021921219222192321924219252192621927219282192921930219312193221933219342193521936219372193821939219402194121942219432194421945219462194721948219492195021951219522195321954219552195621957219582195921960219612196221963219642196521966219672196821969219702197121972219732197421975219762197721978219792198021981219822198321984219852198621987219882198921990219912199221993219942199521996219972199821999220002200122002220032200422005220062200722008220092201022011220122201322014220152201622017220182201922020220212202222023220242202522026220272202822029220302203122032220332203422035220362203722038220392204022041220422204322044220452204622047220482204922050220512205222053220542205522056220572205822059220602206122062220632206422065220662206722068220692207022071220722207322074220752207622077220782207922080220812208222083220842208522086220872208822089220902209122092220932209422095220962209722098220992210022101221022210322104221052210622107221082210922110221112211222113221142211522116221172211822119221202212122122221232212422125221262212722128221292213022131221322213322134221352213622137221382213922140221412214222143221442214522146221472214822149221502215122152221532215422155221562215722158221592216022161221622216322164221652216622167221682216922170221712217222173221742217522176221772217822179221802218122182221832218422185221862218722188221892219022191221922219322194221952219622197221982219922200222012220222203222042220522206222072220822209222102221122212222132221422215222162221722218222192222022221222222222322224222252222622227222282222922230222312223222233222342223522236222372223822239222402224122242222432224422245222462224722248222492225022251222522225322254222552225622257222582225922260222612226222263222642226522266222672226822269222702227122272222732227422275222762227722278222792228022281222822228322284222852228622287222882228922290222912229222293222942229522296222972229822299223002230122302223032230422305223062230722308223092231022311223122231322314223152231622317223182231922320223212232222323223242232522326223272232822329223302233122332223332233422335223362233722338223392234022341223422234322344223452234622347223482234922350223512235222353223542235522356223572235822359223602236122362223632236422365223662236722368223692237022371223722237322374223752237622377223782237922380223812238222383223842238522386223872238822389223902239122392223932239422395223962239722398223992240022401224022240322404224052240622407224082240922410224112241222413224142241522416224172241822419224202242122422224232242422425224262242722428224292243022431224322243322434224352243622437224382243922440224412244222443224442244522446224472244822449224502245122452224532245422455224562245722458224592246022461224622246322464224652246622467224682246922470224712247222473224742247522476224772247822479224802248122482224832248422485224862248722488224892249022491224922249322494224952249622497224982249922500225012250222503225042250522506225072250822509225102251122512225132251422515225162251722518225192252022521225222252322524225252252622527225282252922530225312253222533225342253522536225372253822539225402254122542225432254422545225462254722548225492255022551225522255322554225552255622557225582255922560225612256222563225642256522566225672256822569225702257122572225732257422575225762257722578225792258022581225822258322584225852258622587225882258922590225912259222593225942259522596225972259822599226002260122602226032260422605226062260722608226092261022611226122261322614226152261622617226182261922620226212262222623226242262522626226272262822629226302263122632226332263422635226362263722638226392264022641226422264322644226452264622647226482264922650226512265222653226542265522656226572265822659226602266122662226632266422665226662266722668226692267022671226722267322674226752267622677226782267922680226812268222683226842268522686226872268822689226902269122692226932269422695226962269722698226992270022701227022270322704227052270622707227082270922710227112271222713227142271522716227172271822719227202272122722227232272422725227262272722728227292273022731227322273322734227352273622737227382273922740227412274222743227442274522746227472274822749227502275122752227532275422755227562275722758227592276022761227622276322764227652276622767227682276922770227712277222773227742277522776227772277822779227802278122782227832278422785227862278722788227892279022791227922279322794227952279622797227982279922800228012280222803228042280522806228072280822809228102281122812228132281422815228162281722818228192282022821228222282322824228252282622827228282282922830228312283222833228342283522836228372283822839228402284122842228432284422845228462284722848228492285022851228522285322854228552285622857228582285922860228612286222863228642286522866228672286822869228702287122872228732287422875228762287722878228792288022881228822288322884228852288622887228882288922890228912289222893228942289522896228972289822899229002290122902229032290422905229062290722908229092291022911229122291322914229152291622917229182291922920229212292222923229242292522926229272292822929229302293122932229332293422935229362293722938229392294022941229422294322944229452294622947229482294922950229512295222953229542295522956229572295822959229602296122962229632296422965229662296722968229692297022971229722297322974229752297622977229782297922980229812298222983229842298522986229872298822989229902299122992229932299422995229962299722998229992300023001230022300323004230052300623007230082300923010230112301223013230142301523016230172301823019230202302123022230232302423025230262302723028230292303023031230322303323034230352303623037230382303923040230412304223043230442304523046230472304823049230502305123052230532305423055230562305723058230592306023061230622306323064230652306623067230682306923070230712307223073230742307523076230772307823079230802308123082230832308423085230862308723088230892309023091230922309323094230952309623097230982309923100231012310223103231042310523106231072310823109231102311123112231132311423115231162311723118231192312023121231222312323124231252312623127231282312923130231312313223133231342313523136231372313823139231402314123142231432314423145231462314723148231492315023151231522315323154231552315623157231582315923160231612316223163231642316523166231672316823169231702317123172231732317423175231762317723178231792318023181231822318323184231852318623187231882318923190231912319223193231942319523196231972319823199232002320123202232032320423205232062320723208232092321023211232122321323214232152321623217232182321923220232212322223223232242322523226232272322823229232302323123232232332323423235232362323723238232392324023241232422324323244232452324623247232482324923250232512325223253232542325523256232572325823259232602326123262232632326423265232662326723268232692327023271232722327323274232752327623277232782327923280232812328223283232842328523286232872328823289232902329123292232932329423295232962329723298232992330023301233022330323304233052330623307233082330923310233112331223313233142331523316233172331823319233202332123322233232332423325233262332723328233292333023331233322333323334233352333623337233382333923340233412334223343233442334523346233472334823349233502335123352233532335423355233562335723358233592336023361233622336323364233652336623367233682336923370233712337223373233742337523376233772337823379233802338123382233832338423385233862338723388233892339023391233922339323394233952339623397233982339923400234012340223403234042340523406234072340823409234102341123412234132341423415234162341723418234192342023421234222342323424234252342623427234282342923430234312343223433234342343523436234372343823439234402344123442234432344423445234462344723448234492345023451234522345323454234552345623457234582345923460234612346223463234642346523466234672346823469234702347123472234732347423475234762347723478234792348023481234822348323484234852348623487234882348923490234912349223493234942349523496234972349823499235002350123502235032350423505235062350723508235092351023511235122351323514235152351623517235182351923520235212352223523235242352523526235272352823529235302353123532235332353423535235362353723538235392354023541235422354323544235452354623547235482354923550235512355223553235542355523556235572355823559235602356123562235632356423565235662356723568235692357023571235722357323574235752357623577235782357923580235812358223583235842358523586235872358823589235902359123592235932359423595235962359723598235992360023601236022360323604236052360623607236082360923610236112361223613236142361523616236172361823619236202362123622236232362423625236262362723628236292363023631236322363323634236352363623637236382363923640236412364223643236442364523646236472364823649236502365123652236532365423655236562365723658236592366023661236622366323664236652366623667236682366923670236712367223673236742367523676236772367823679236802368123682236832368423685236862368723688236892369023691236922369323694236952369623697236982369923700237012370223703237042370523706237072370823709237102371123712237132371423715237162371723718237192372023721237222372323724237252372623727237282372923730237312373223733237342373523736237372373823739237402374123742237432374423745237462374723748237492375023751237522375323754237552375623757237582375923760237612376223763237642376523766237672376823769237702377123772237732377423775237762377723778237792378023781237822378323784237852378623787237882378923790237912379223793237942379523796237972379823799238002380123802238032380423805238062380723808238092381023811238122381323814238152381623817238182381923820238212382223823238242382523826238272382823829238302383123832238332383423835238362383723838238392384023841238422384323844238452384623847238482384923850238512385223853238542385523856238572385823859238602386123862238632386423865238662386723868238692387023871238722387323874238752387623877238782387923880238812388223883238842388523886238872388823889238902389123892238932389423895238962389723898238992390023901239022390323904239052390623907239082390923910239112391223913239142391523916239172391823919239202392123922239232392423925239262392723928239292393023931239322393323934239352393623937239382393923940239412394223943239442394523946239472394823949239502395123952239532395423955239562395723958239592396023961239622396323964239652396623967239682396923970239712397223973239742397523976239772397823979239802398123982239832398423985239862398723988239892399023991239922399323994239952399623997239982399924000240012400224003240042400524006240072400824009240102401124012240132401424015240162401724018240192402024021240222402324024240252402624027240282402924030240312403224033240342403524036240372403824039240402404124042240432404424045240462404724048240492405024051240522405324054240552405624057240582405924060240612406224063240642406524066240672406824069240702407124072240732407424075240762407724078240792408024081240822408324084240852408624087240882408924090240912409224093240942409524096240972409824099241002410124102241032410424105241062410724108241092411024111241122411324114241152411624117241182411924120241212412224123241242412524126241272412824129241302413124132241332413424135241362413724138241392414024141241422414324144241452414624147241482414924150241512415224153241542415524156241572415824159241602416124162241632416424165241662416724168241692417024171241722417324174241752417624177241782417924180241812418224183241842418524186241872418824189241902419124192241932419424195241962419724198241992420024201242022420324204242052420624207242082420924210242112421224213242142421524216242172421824219242202422124222242232422424225242262422724228242292423024231242322423324234242352423624237242382423924240242412424224243242442424524246242472424824249242502425124252242532425424255242562425724258242592426024261242622426324264242652426624267242682426924270242712427224273242742427524276242772427824279242802428124282242832428424285242862428724288242892429024291242922429324294242952429624297242982429924300243012430224303243042430524306243072430824309243102431124312243132431424315243162431724318243192432024321243222432324324243252432624327243282432924330243312433224333243342433524336243372433824339243402434124342243432434424345243462434724348243492435024351243522435324354243552435624357243582435924360243612436224363243642436524366243672436824369243702437124372243732437424375243762437724378243792438024381243822438324384243852438624387243882438924390243912439224393243942439524396243972439824399244002440124402244032440424405244062440724408244092441024411244122441324414244152441624417244182441924420244212442224423244242442524426244272442824429244302443124432244332443424435244362443724438244392444024441244422444324444244452444624447244482444924450244512445224453244542445524456244572445824459244602446124462244632446424465244662446724468244692447024471244722447324474244752447624477244782447924480244812448224483244842448524486244872448824489244902449124492244932449424495244962449724498244992450024501245022450324504245052450624507245082450924510245112451224513245142451524516245172451824519245202452124522245232452424525245262452724528245292453024531245322453324534245352453624537245382453924540245412454224543245442454524546245472454824549245502455124552245532455424555245562455724558245592456024561245622456324564245652456624567245682456924570245712457224573245742457524576245772457824579245802458124582245832458424585245862458724588245892459024591245922459324594245952459624597245982459924600246012460224603246042460524606246072460824609246102461124612246132461424615246162461724618246192462024621246222462324624246252462624627246282462924630246312463224633246342463524636246372463824639246402464124642246432464424645246462464724648246492465024651246522465324654246552465624657246582465924660246612466224663246642466524666246672466824669246702467124672246732467424675246762467724678246792468024681246822468324684246852468624687246882468924690246912469224693246942469524696246972469824699247002470124702247032470424705247062470724708247092471024711247122471324714247152471624717247182471924720247212472224723247242472524726247272472824729247302473124732247332473424735247362473724738247392474024741247422474324744247452474624747247482474924750247512475224753247542475524756247572475824759247602476124762247632476424765247662476724768247692477024771247722477324774247752477624777247782477924780247812478224783247842478524786247872478824789247902479124792247932479424795247962479724798247992480024801248022480324804248052480624807248082480924810248112481224813248142481524816248172481824819248202482124822248232482424825248262482724828248292483024831248322483324834248352483624837248382483924840248412484224843248442484524846248472484824849248502485124852248532485424855248562485724858248592486024861248622486324864248652486624867248682486924870248712487224873248742487524876248772487824879248802488124882248832488424885248862488724888248892489024891248922489324894248952489624897248982489924900249012490224903249042490524906249072490824909249102491124912249132491424915249162491724918249192492024921249222492324924249252492624927249282492924930249312493224933249342493524936249372493824939249402494124942249432494424945249462494724948249492495024951249522495324954249552495624957249582495924960249612496224963249642496524966249672496824969249702497124972249732497424975249762497724978249792498024981249822498324984249852498624987249882498924990249912499224993249942499524996249972499824999250002500125002250032500425005250062500725008250092501025011250122501325014250152501625017250182501925020250212502225023250242502525026250272502825029250302503125032250332503425035250362503725038250392504025041250422504325044250452504625047250482504925050250512505225053250542505525056250572505825059250602506125062250632506425065250662506725068250692507025071250722507325074250752507625077250782507925080250812508225083250842508525086250872508825089250902509125092250932509425095250962509725098250992510025101251022510325104251052510625107251082510925110251112511225113251142511525116251172511825119251202512125122251232512425125251262512725128251292513025131251322513325134251352513625137251382513925140251412514225143251442514525146251472514825149251502515125152251532515425155251562515725158251592516025161251622516325164251652516625167251682516925170251712517225173251742517525176251772517825179251802518125182251832518425185251862518725188251892519025191251922519325194251952519625197251982519925200252012520225203252042520525206252072520825209252102521125212252132521425215252162521725218252192522025221252222522325224252252522625227252282522925230252312523225233252342523525236252372523825239252402524125242252432524425245252462524725248252492525025251252522525325254252552525625257252582525925260252612526225263252642526525266252672526825269252702527125272252732527425275252762527725278252792528025281252822528325284252852528625287252882528925290252912529225293252942529525296252972529825299253002530125302253032530425305253062530725308253092531025311253122531325314253152531625317253182531925320253212532225323253242532525326253272532825329253302533125332253332533425335253362533725338253392534025341253422534325344253452534625347253482534925350253512535225353253542535525356253572535825359253602536125362253632536425365253662536725368253692537025371253722537325374253752537625377253782537925380253812538225383253842538525386253872538825389253902539125392253932539425395253962539725398253992540025401254022540325404254052540625407254082540925410254112541225413254142541525416254172541825419254202542125422254232542425425254262542725428254292543025431254322543325434254352543625437254382543925440254412544225443254442544525446254472544825449254502545125452254532545425455254562545725458254592546025461254622546325464254652546625467254682546925470254712547225473254742547525476254772547825479254802548125482254832548425485254862548725488254892549025491254922549325494254952549625497254982549925500255012550225503255042550525506255072550825509255102551125512255132551425515255162551725518255192552025521255222552325524255252552625527255282552925530255312553225533255342553525536255372553825539255402554125542255432554425545255462554725548255492555025551255522555325554255552555625557255582555925560255612556225563255642556525566255672556825569255702557125572255732557425575255762557725578255792558025581255822558325584255852558625587255882558925590255912559225593255942559525596255972559825599256002560125602256032560425605256062560725608256092561025611256122561325614256152561625617256182561925620256212562225623256242562525626256272562825629256302563125632256332563425635256362563725638256392564025641256422564325644256452564625647256482564925650256512565225653256542565525656256572565825659256602566125662256632566425665256662566725668256692567025671256722567325674256752567625677256782567925680256812568225683256842568525686256872568825689256902569125692256932569425695256962569725698256992570025701257022570325704257052570625707257082570925710257112571225713257142571525716257172571825719257202572125722257232572425725257262572725728257292573025731257322573325734257352573625737257382573925740257412574225743257442574525746257472574825749257502575125752257532575425755257562575725758257592576025761257622576325764257652576625767257682576925770257712577225773257742577525776257772577825779257802578125782257832578425785257862578725788257892579025791257922579325794257952579625797257982579925800258012580225803258042580525806258072580825809258102581125812258132581425815258162581725818258192582025821258222582325824258252582625827258282582925830258312583225833258342583525836258372583825839258402584125842258432584425845258462584725848258492585025851258522585325854258552585625857258582585925860258612586225863258642586525866258672586825869258702587125872258732587425875258762587725878258792588025881258822588325884258852588625887258882588925890258912589225893258942589525896258972589825899259002590125902259032590425905259062590725908259092591025911259122591325914259152591625917259182591925920259212592225923259242592525926259272592825929259302593125932259332593425935259362593725938259392594025941259422594325944259452594625947259482594925950259512595225953259542595525956259572595825959259602596125962259632596425965259662596725968259692597025971259722597325974259752597625977259782597925980259812598225983259842598525986259872598825989259902599125992259932599425995259962599725998259992600026001260022600326004260052600626007260082600926010260112601226013260142601526016260172601826019260202602126022260232602426025260262602726028260292603026031260322603326034260352603626037260382603926040260412604226043260442604526046260472604826049260502605126052260532605426055260562605726058260592606026061260622606326064260652606626067260682606926070260712607226073260742607526076260772607826079260802608126082260832608426085260862608726088260892609026091260922609326094260952609626097260982609926100261012610226103261042610526106261072610826109261102611126112261132611426115261162611726118261192612026121261222612326124261252612626127261282612926130261312613226133261342613526136261372613826139261402614126142261432614426145261462614726148261492615026151261522615326154261552615626157261582615926160261612616226163261642616526166261672616826169261702617126172261732617426175261762617726178261792618026181261822618326184261852618626187261882618926190261912619226193261942619526196261972619826199262002620126202262032620426205262062620726208262092621026211262122621326214262152621626217262182621926220262212622226223262242622526226262272622826229262302623126232262332623426235262362623726238262392624026241262422624326244262452624626247262482624926250262512625226253262542625526256262572625826259262602626126262262632626426265262662626726268262692627026271262722627326274262752627626277262782627926280262812628226283262842628526286262872628826289262902629126292262932629426295262962629726298262992630026301263022630326304263052630626307263082630926310263112631226313263142631526316263172631826319263202632126322263232632426325263262632726328263292633026331263322633326334263352633626337263382633926340263412634226343263442634526346263472634826349263502635126352263532635426355263562635726358263592636026361263622636326364263652636626367263682636926370263712637226373263742637526376263772637826379263802638126382263832638426385263862638726388263892639026391263922639326394263952639626397263982639926400264012640226403264042640526406264072640826409264102641126412264132641426415264162641726418264192642026421264222642326424264252642626427264282642926430264312643226433264342643526436264372643826439264402644126442264432644426445264462644726448264492645026451264522645326454264552645626457264582645926460264612646226463264642646526466264672646826469264702647126472264732647426475264762647726478264792648026481264822648326484264852648626487264882648926490264912649226493264942649526496264972649826499265002650126502265032650426505265062650726508265092651026511265122651326514265152651626517265182651926520265212652226523265242652526526265272652826529265302653126532265332653426535265362653726538265392654026541265422654326544265452654626547265482654926550265512655226553265542655526556265572655826559265602656126562265632656426565265662656726568265692657026571265722657326574265752657626577265782657926580265812658226583265842658526586265872658826589265902659126592265932659426595265962659726598265992660026601266022660326604266052660626607266082660926610266112661226613266142661526616266172661826619266202662126622266232662426625266262662726628266292663026631266322663326634266352663626637266382663926640266412664226643266442664526646266472664826649266502665126652266532665426655266562665726658266592666026661266622666326664266652666626667266682666926670266712667226673266742667526676266772667826679266802668126682266832668426685266862668726688266892669026691266922669326694266952669626697266982669926700267012670226703267042670526706267072670826709267102671126712267132671426715267162671726718267192672026721267222672326724267252672626727267282672926730267312673226733267342673526736267372673826739267402674126742267432674426745267462674726748267492675026751267522675326754267552675626757267582675926760267612676226763267642676526766267672676826769267702677126772267732677426775267762677726778267792678026781267822678326784267852678626787267882678926790267912679226793267942679526796267972679826799268002680126802268032680426805268062680726808268092681026811268122681326814268152681626817268182681926820268212682226823268242682526826268272682826829268302683126832268332683426835268362683726838268392684026841268422684326844268452684626847268482684926850268512685226853268542685526856268572685826859268602686126862268632686426865268662686726868268692687026871268722687326874268752687626877268782687926880268812688226883268842688526886268872688826889268902689126892268932689426895268962689726898268992690026901269022690326904269052690626907269082690926910269112691226913269142691526916269172691826919269202692126922269232692426925269262692726928269292693026931269322693326934269352693626937269382693926940269412694226943269442694526946269472694826949269502695126952269532695426955269562695726958269592696026961269622696326964269652696626967269682696926970269712697226973269742697526976269772697826979269802698126982269832698426985269862698726988269892699026991269922699326994269952699626997269982699927000270012700227003270042700527006270072700827009270102701127012270132701427015270162701727018270192702027021270222702327024270252702627027270282702927030270312703227033270342703527036270372703827039270402704127042270432704427045270462704727048270492705027051270522705327054270552705627057270582705927060270612706227063270642706527066270672706827069270702707127072270732707427075270762707727078270792708027081270822708327084270852708627087270882708927090270912709227093270942709527096270972709827099271002710127102271032710427105271062710727108271092711027111271122711327114271152711627117271182711927120271212712227123271242712527126271272712827129271302713127132271332713427135271362713727138271392714027141271422714327144271452714627147271482714927150271512715227153271542715527156271572715827159271602716127162271632716427165271662716727168271692717027171271722717327174271752717627177271782717927180271812718227183271842718527186271872718827189271902719127192271932719427195271962719727198271992720027201272022720327204272052720627207272082720927210272112721227213272142721527216272172721827219272202722127222272232722427225272262722727228272292723027231272322723327234272352723627237272382723927240272412724227243272442724527246272472724827249272502725127252272532725427255272562725727258272592726027261272622726327264272652726627267272682726927270272712727227273272742727527276272772727827279272802728127282272832728427285272862728727288272892729027291272922729327294272952729627297272982729927300273012730227303273042730527306273072730827309273102731127312273132731427315273162731727318273192732027321273222732327324273252732627327273282732927330273312733227333273342733527336273372733827339273402734127342273432734427345273462734727348273492735027351273522735327354273552735627357273582735927360273612736227363273642736527366273672736827369273702737127372273732737427375273762737727378273792738027381273822738327384273852738627387273882738927390273912739227393273942739527396273972739827399274002740127402274032740427405274062740727408274092741027411274122741327414274152741627417274182741927420274212742227423274242742527426274272742827429274302743127432274332743427435274362743727438274392744027441274422744327444274452744627447274482744927450274512745227453274542745527456274572745827459274602746127462274632746427465274662746727468274692747027471274722747327474274752747627477274782747927480274812748227483274842748527486274872748827489274902749127492274932749427495274962749727498274992750027501275022750327504275052750627507275082750927510275112751227513275142751527516275172751827519275202752127522275232752427525275262752727528275292753027531275322753327534275352753627537275382753927540275412754227543275442754527546275472754827549275502755127552275532755427555275562755727558275592756027561275622756327564275652756627567275682756927570275712757227573275742757527576275772757827579275802758127582275832758427585275862758727588275892759027591275922759327594275952759627597275982759927600276012760227603276042760527606276072760827609276102761127612276132761427615276162761727618276192762027621276222762327624276252762627627276282762927630276312763227633276342763527636276372763827639276402764127642276432764427645276462764727648276492765027651276522765327654276552765627657276582765927660276612766227663276642766527666276672766827669276702767127672276732767427675276762767727678276792768027681276822768327684276852768627687276882768927690276912769227693276942769527696276972769827699277002770127702277032770427705277062770727708277092771027711277122771327714277152771627717277182771927720277212772227723277242772527726277272772827729277302773127732277332773427735277362773727738277392774027741277422774327744277452774627747277482774927750277512775227753277542775527756277572775827759277602776127762277632776427765277662776727768277692777027771277722777327774277752777627777277782777927780277812778227783277842778527786277872778827789277902779127792277932779427795277962779727798277992780027801278022780327804278052780627807278082780927810278112781227813278142781527816278172781827819278202782127822278232782427825278262782727828278292783027831278322783327834278352783627837278382783927840278412784227843278442784527846278472784827849278502785127852278532785427855278562785727858278592786027861278622786327864278652786627867278682786927870278712787227873278742787527876278772787827879278802788127882278832788427885278862788727888278892789027891278922789327894278952789627897278982789927900279012790227903279042790527906279072790827909279102791127912279132791427915279162791727918279192792027921279222792327924279252792627927279282792927930279312793227933279342793527936279372793827939279402794127942279432794427945279462794727948279492795027951279522795327954279552795627957279582795927960279612796227963279642796527966279672796827969279702797127972279732797427975279762797727978279792798027981279822798327984279852798627987279882798927990279912799227993279942799527996279972799827999280002800128002280032800428005280062800728008280092801028011280122801328014280152801628017280182801928020280212802228023280242802528026280272802828029280302803128032280332803428035280362803728038280392804028041280422804328044280452804628047280482804928050280512805228053280542805528056280572805828059280602806128062280632806428065280662806728068280692807028071280722807328074280752807628077280782807928080280812808228083280842808528086280872808828089280902809128092280932809428095280962809728098280992810028101281022810328104281052810628107281082810928110281112811228113281142811528116281172811828119281202812128122281232812428125281262812728128281292813028131281322813328134281352813628137281382813928140281412814228143281442814528146281472814828149281502815128152281532815428155281562815728158281592816028161281622816328164281652816628167281682816928170281712817228173281742817528176281772817828179281802818128182281832818428185281862818728188281892819028191281922819328194281952819628197281982819928200282012820228203282042820528206282072820828209282102821128212282132821428215282162821728218282192822028221282222822328224282252822628227282282822928230282312823228233282342823528236282372823828239282402824128242282432824428245282462824728248282492825028251282522825328254282552825628257282582825928260282612826228263282642826528266282672826828269282702827128272282732827428275282762827728278282792828028281282822828328284282852828628287282882828928290282912829228293282942829528296282972829828299283002830128302283032830428305283062830728308283092831028311283122831328314283152831628317283182831928320283212832228323283242832528326283272832828329283302833128332283332833428335283362833728338283392834028341283422834328344283452834628347283482834928350283512835228353283542835528356283572835828359283602836128362283632836428365283662836728368283692837028371283722837328374283752837628377283782837928380283812838228383283842838528386283872838828389283902839128392283932839428395283962839728398283992840028401284022840328404284052840628407284082840928410284112841228413284142841528416284172841828419284202842128422284232842428425284262842728428284292843028431284322843328434284352843628437284382843928440284412844228443284442844528446284472844828449284502845128452284532845428455284562845728458284592846028461284622846328464284652846628467284682846928470284712847228473284742847528476284772847828479284802848128482284832848428485284862848728488284892849028491284922849328494284952849628497284982849928500285012850228503285042850528506285072850828509285102851128512285132851428515285162851728518285192852028521285222852328524285252852628527285282852928530285312853228533285342853528536285372853828539285402854128542285432854428545285462854728548285492855028551285522855328554285552855628557285582855928560285612856228563285642856528566285672856828569285702857128572285732857428575285762857728578285792858028581285822858328584285852858628587285882858928590285912859228593285942859528596285972859828599286002860128602286032860428605286062860728608286092861028611286122861328614286152861628617286182861928620286212862228623286242862528626286272862828629286302863128632286332863428635286362863728638286392864028641286422864328644286452864628647286482864928650286512865228653286542865528656286572865828659286602866128662286632866428665286662866728668286692867028671286722867328674286752867628677286782867928680286812868228683286842868528686286872868828689286902869128692286932869428695286962869728698286992870028701287022870328704287052870628707287082870928710287112871228713287142871528716287172871828719287202872128722287232872428725287262872728728287292873028731287322873328734287352873628737287382873928740287412874228743287442874528746287472874828749287502875128752287532875428755287562875728758287592876028761287622876328764287652876628767287682876928770287712877228773287742877528776287772877828779287802878128782287832878428785287862878728788287892879028791287922879328794287952879628797287982879928800288012880228803288042880528806288072880828809288102881128812288132881428815288162881728818288192882028821288222882328824288252882628827288282882928830288312883228833288342883528836288372883828839288402884128842288432884428845288462884728848288492885028851288522885328854288552885628857288582885928860288612886228863288642886528866288672886828869288702887128872288732887428875288762887728878288792888028881288822888328884288852888628887288882888928890288912889228893288942889528896288972889828899289002890128902289032890428905289062890728908289092891028911289122891328914289152891628917289182891928920289212892228923289242892528926289272892828929289302893128932289332893428935289362893728938289392894028941289422894328944289452894628947289482894928950289512895228953289542895528956289572895828959289602896128962289632896428965289662896728968289692897028971289722897328974289752897628977289782897928980289812898228983289842898528986289872898828989289902899128992289932899428995289962899728998289992900029001290022900329004290052900629007290082900929010290112901229013290142901529016290172901829019290202902129022290232902429025290262902729028290292903029031290322903329034290352903629037290382903929040290412904229043290442904529046290472904829049290502905129052290532905429055290562905729058290592906029061290622906329064290652906629067290682906929070290712907229073290742907529076290772907829079290802908129082290832908429085290862908729088290892909029091290922909329094290952909629097290982909929100291012910229103291042910529106291072910829109291102911129112291132911429115291162911729118291192912029121291222912329124291252912629127291282912929130291312913229133291342913529136291372913829139291402914129142291432914429145291462914729148291492915029151291522915329154291552915629157291582915929160291612916229163291642916529166291672916829169291702917129172291732917429175291762917729178291792918029181291822918329184291852918629187291882918929190291912919229193291942919529196291972919829199292002920129202292032920429205292062920729208292092921029211292122921329214292152921629217292182921929220292212922229223292242922529226292272922829229292302923129232292332923429235292362923729238292392924029241292422924329244292452924629247292482924929250292512925229253292542925529256292572925829259292602926129262292632926429265292662926729268292692927029271292722927329274292752927629277292782927929280292812928229283292842928529286292872928829289292902929129292292932929429295292962929729298292992930029301293022930329304293052930629307293082930929310293112931229313293142931529316293172931829319293202932129322293232932429325293262932729328293292933029331293322933329334293352933629337293382933929340293412934229343293442934529346293472934829349293502935129352293532935429355293562935729358293592936029361293622936329364293652936629367293682936929370293712937229373293742937529376293772937829379293802938129382293832938429385293862938729388293892939029391293922939329394293952939629397293982939929400294012940229403294042940529406294072940829409294102941129412294132941429415294162941729418294192942029421294222942329424294252942629427294282942929430294312943229433294342943529436294372943829439294402944129442294432944429445294462944729448294492945029451294522945329454294552945629457294582945929460294612946229463294642946529466294672946829469294702947129472294732947429475294762947729478294792948029481294822948329484294852948629487294882948929490294912949229493294942949529496294972949829499295002950129502295032950429505295062950729508295092951029511295122951329514295152951629517295182951929520295212952229523295242952529526295272952829529295302953129532295332953429535295362953729538295392954029541295422954329544295452954629547295482954929550295512955229553295542955529556295572955829559295602956129562295632956429565295662956729568295692957029571295722957329574295752957629577295782957929580295812958229583295842958529586295872958829589295902959129592295932959429595295962959729598295992960029601296022960329604296052960629607296082960929610296112961229613296142961529616296172961829619296202962129622296232962429625296262962729628296292963029631296322963329634296352963629637296382963929640296412964229643296442964529646296472964829649296502965129652296532965429655296562965729658296592966029661296622966329664296652966629667296682966929670296712967229673296742967529676296772967829679296802968129682296832968429685296862968729688296892969029691296922969329694296952969629697296982969929700297012970229703297042970529706297072970829709297102971129712297132971429715297162971729718297192972029721297222972329724297252972629727297282972929730297312973229733297342973529736297372973829739297402974129742297432974429745297462974729748297492975029751297522975329754297552975629757297582975929760297612976229763297642976529766297672976829769297702977129772297732977429775297762977729778297792978029781297822978329784297852978629787297882978929790297912979229793297942979529796297972979829799298002980129802298032980429805298062980729808298092981029811298122981329814298152981629817298182981929820298212982229823298242982529826298272982829829298302983129832298332983429835298362983729838298392984029841298422984329844298452984629847298482984929850298512985229853298542985529856298572985829859298602986129862298632986429865298662986729868298692987029871298722987329874298752987629877298782987929880298812988229883298842988529886298872988829889298902989129892298932989429895298962989729898298992990029901299022990329904299052990629907299082990929910299112991229913299142991529916299172991829919299202992129922299232992429925299262992729928299292993029931299322993329934299352993629937299382993929940299412994229943299442994529946299472994829949299502995129952299532995429955299562995729958299592996029961299622996329964299652996629967299682996929970299712997229973299742997529976299772997829979299802998129982299832998429985299862998729988299892999029991299922999329994299952999629997299982999930000300013000230003300043000530006300073000830009300103001130012300133001430015300163001730018300193002030021300223002330024300253002630027300283002930030300313003230033300343003530036300373003830039300403004130042300433004430045300463004730048300493005030051300523005330054300553005630057300583005930060300613006230063300643006530066300673006830069300703007130072300733007430075300763007730078300793008030081300823008330084300853008630087300883008930090300913009230093300943009530096300973009830099301003010130102301033010430105301063010730108301093011030111301123011330114301153011630117301183011930120301213012230123301243012530126301273012830129301303013130132301333013430135301363013730138301393014030141301423014330144301453014630147301483014930150301513015230153301543015530156301573015830159301603016130162301633016430165301663016730168301693017030171301723017330174301753017630177301783017930180301813018230183301843018530186301873018830189301903019130192301933019430195301963019730198301993020030201302023020330204302053020630207302083020930210302113021230213302143021530216302173021830219302203022130222302233022430225302263022730228302293023030231302323023330234302353023630237302383023930240302413024230243302443024530246302473024830249302503025130252302533025430255302563025730258302593026030261302623026330264302653026630267302683026930270302713027230273302743027530276302773027830279302803028130282302833028430285302863028730288302893029030291302923029330294302953029630297302983029930300303013030230303303043030530306303073030830309303103031130312303133031430315303163031730318303193032030321303223032330324303253032630327303283032930330303313033230333303343033530336303373033830339303403034130342303433034430345303463034730348303493035030351303523035330354303553035630357303583035930360303613036230363303643036530366303673036830369303703037130372303733037430375303763037730378303793038030381303823038330384303853038630387303883038930390303913039230393303943039530396303973039830399304003040130402304033040430405304063040730408304093041030411304123041330414304153041630417304183041930420304213042230423304243042530426304273042830429304303043130432304333043430435304363043730438304393044030441304423044330444304453044630447304483044930450304513045230453304543045530456304573045830459304603046130462304633046430465304663046730468304693047030471304723047330474304753047630477304783047930480304813048230483304843048530486304873048830489304903049130492304933049430495304963049730498304993050030501305023050330504305053050630507305083050930510305113051230513305143051530516305173051830519305203052130522305233052430525305263052730528305293053030531305323053330534305353053630537305383053930540305413054230543305443054530546305473054830549305503055130552305533055430555305563055730558305593056030561305623056330564305653056630567305683056930570305713057230573305743057530576305773057830579305803058130582305833058430585305863058730588305893059030591305923059330594305953059630597305983059930600306013060230603306043060530606306073060830609306103061130612306133061430615306163061730618306193062030621306223062330624306253062630627306283062930630306313063230633306343063530636306373063830639306403064130642306433064430645306463064730648306493065030651306523065330654306553065630657306583065930660306613066230663306643066530666306673066830669306703067130672306733067430675306763067730678306793068030681306823068330684306853068630687306883068930690306913069230693306943069530696306973069830699307003070130702307033070430705307063070730708307093071030711307123071330714307153071630717307183071930720307213072230723307243072530726307273072830729307303073130732307333073430735307363073730738307393074030741307423074330744307453074630747307483074930750307513075230753307543075530756307573075830759307603076130762307633076430765307663076730768307693077030771307723077330774307753077630777307783077930780307813078230783307843078530786307873078830789307903079130792307933079430795307963079730798307993080030801308023080330804308053080630807308083080930810308113081230813308143081530816308173081830819308203082130822308233082430825308263082730828308293083030831308323083330834308353083630837308383083930840308413084230843308443084530846308473084830849308503085130852308533085430855308563085730858308593086030861308623086330864308653086630867308683086930870308713087230873308743087530876308773087830879308803088130882308833088430885308863088730888308893089030891308923089330894308953089630897308983089930900309013090230903309043090530906309073090830909309103091130912309133091430915309163091730918309193092030921309223092330924309253092630927309283092930930309313093230933309343093530936309373093830939309403094130942309433094430945309463094730948309493095030951309523095330954309553095630957309583095930960309613096230963309643096530966309673096830969309703097130972309733097430975309763097730978309793098030981309823098330984309853098630987309883098930990309913099230993309943099530996309973099830999310003100131002310033100431005310063100731008310093101031011310123101331014310153101631017310183101931020310213102231023310243102531026310273102831029310303103131032310333103431035310363103731038310393104031041310423104331044310453104631047310483104931050310513105231053310543105531056310573105831059310603106131062310633106431065310663106731068310693107031071310723107331074310753107631077310783107931080310813108231083310843108531086310873108831089310903109131092310933109431095310963109731098310993110031101311023110331104311053110631107311083110931110311113111231113311143111531116311173111831119311203112131122311233112431125311263112731128311293113031131311323113331134311353113631137311383113931140311413114231143311443114531146311473114831149311503115131152311533115431155311563115731158311593116031161311623116331164311653116631167311683116931170311713117231173311743117531176311773117831179311803118131182311833118431185311863118731188311893119031191311923119331194311953119631197311983119931200312013120231203312043120531206312073120831209312103121131212312133121431215312163121731218312193122031221312223122331224312253122631227312283122931230312313123231233312343123531236312373123831239312403124131242312433124431245312463124731248312493125031251312523125331254312553125631257312583125931260312613126231263312643126531266312673126831269312703127131272312733127431275312763127731278312793128031281312823128331284312853128631287312883128931290312913129231293312943129531296312973129831299313003130131302313033130431305313063130731308313093131031311313123131331314313153131631317313183131931320313213132231323313243132531326313273132831329313303133131332313333133431335313363133731338313393134031341313423134331344313453134631347313483134931350313513135231353313543135531356313573135831359313603136131362313633136431365313663136731368313693137031371313723137331374313753137631377313783137931380313813138231383313843138531386313873138831389313903139131392313933139431395313963139731398313993140031401314023140331404314053140631407314083140931410314113141231413314143141531416314173141831419314203142131422314233142431425314263142731428314293143031431314323143331434314353143631437314383143931440314413144231443314443144531446314473144831449314503145131452314533145431455314563145731458314593146031461314623146331464314653146631467314683146931470314713147231473314743147531476314773147831479314803148131482314833148431485314863148731488314893149031491314923149331494314953149631497314983149931500315013150231503315043150531506315073150831509315103151131512315133151431515315163151731518315193152031521315223152331524315253152631527315283152931530315313153231533315343153531536315373153831539315403154131542315433154431545315463154731548315493155031551315523155331554315553155631557315583155931560315613156231563315643156531566315673156831569315703157131572315733157431575315763157731578315793158031581315823158331584315853158631587315883158931590315913159231593315943159531596315973159831599316003160131602316033160431605316063160731608316093161031611316123161331614316153161631617316183161931620316213162231623316243162531626316273162831629316303163131632316333163431635316363163731638316393164031641316423164331644316453164631647316483164931650316513165231653316543165531656316573165831659316603166131662316633166431665316663166731668316693167031671316723167331674316753167631677316783167931680316813168231683316843168531686316873168831689316903169131692316933169431695316963169731698316993170031701317023170331704317053170631707317083170931710317113171231713317143171531716317173171831719317203172131722317233172431725317263172731728317293173031731317323173331734317353173631737317383173931740317413174231743317443174531746317473174831749317503175131752317533175431755317563175731758317593176031761317623176331764317653176631767317683176931770317713177231773317743177531776317773177831779317803178131782317833178431785317863178731788317893179031791317923179331794317953179631797317983179931800318013180231803318043180531806318073180831809318103181131812318133181431815318163181731818318193182031821318223182331824318253182631827318283182931830318313183231833318343183531836318373183831839318403184131842318433184431845318463184731848318493185031851318523185331854318553185631857318583185931860318613186231863318643186531866318673186831869318703187131872318733187431875318763187731878318793188031881318823188331884318853188631887318883188931890318913189231893318943189531896318973189831899319003190131902319033190431905319063190731908319093191031911319123191331914319153191631917319183191931920319213192231923319243192531926319273192831929319303193131932319333193431935319363193731938319393194031941319423194331944319453194631947319483194931950319513195231953319543195531956319573195831959319603196131962319633196431965319663196731968319693197031971319723197331974319753197631977319783197931980319813198231983319843198531986319873198831989319903199131992319933199431995319963199731998319993200032001320023200332004320053200632007320083200932010320113201232013320143201532016320173201832019320203202132022320233202432025320263202732028320293203032031320323203332034320353203632037320383203932040320413204232043320443204532046320473204832049320503205132052320533205432055320563205732058320593206032061320623206332064320653206632067320683206932070320713207232073320743207532076320773207832079320803208132082320833208432085320863208732088320893209032091320923209332094320953209632097320983209932100321013210232103321043210532106321073210832109321103211132112321133211432115321163211732118321193212032121321223212332124321253212632127321283212932130321313213232133321343213532136321373213832139321403214132142321433214432145321463214732148321493215032151321523215332154321553215632157321583215932160321613216232163321643216532166321673216832169321703217132172321733217432175321763217732178321793218032181321823218332184321853218632187321883218932190321913219232193321943219532196321973219832199322003220132202322033220432205322063220732208322093221032211322123221332214322153221632217322183221932220322213222232223322243222532226322273222832229322303223132232322333223432235322363223732238322393224032241322423224332244322453224632247322483224932250322513225232253322543225532256322573225832259322603226132262322633226432265322663226732268322693227032271322723227332274322753227632277322783227932280322813228232283322843228532286322873228832289322903229132292322933229432295322963229732298322993230032301323023230332304323053230632307323083230932310323113231232313323143231532316323173231832319323203232132322323233232432325323263232732328323293233032331323323233332334323353233632337323383233932340323413234232343323443234532346323473234832349323503235132352323533235432355323563235732358323593236032361323623236332364323653236632367323683236932370323713237232373323743237532376323773237832379323803238132382323833238432385323863238732388323893239032391323923239332394323953239632397323983239932400324013240232403324043240532406324073240832409324103241132412324133241432415324163241732418324193242032421324223242332424324253242632427324283242932430324313243232433324343243532436324373243832439324403244132442324433244432445324463244732448324493245032451324523245332454324553245632457324583245932460324613246232463324643246532466324673246832469324703247132472324733247432475324763247732478324793248032481324823248332484324853248632487324883248932490324913249232493324943249532496324973249832499325003250132502325033250432505325063250732508325093251032511325123251332514325153251632517325183251932520325213252232523325243252532526325273252832529325303253132532325333253432535325363253732538325393254032541325423254332544325453254632547325483254932550325513255232553325543255532556325573255832559325603256132562325633256432565325663256732568325693257032571325723257332574325753257632577325783257932580325813258232583325843258532586325873258832589325903259132592325933259432595325963259732598325993260032601326023260332604326053260632607326083260932610326113261232613326143261532616326173261832619326203262132622326233262432625326263262732628326293263032631326323263332634326353263632637326383263932640326413264232643326443264532646326473264832649326503265132652326533265432655326563265732658326593266032661326623266332664326653266632667326683266932670326713267232673326743267532676326773267832679326803268132682326833268432685326863268732688326893269032691326923269332694326953269632697326983269932700327013270232703327043270532706327073270832709327103271132712327133271432715327163271732718327193272032721327223272332724327253272632727327283272932730327313273232733327343273532736327373273832739327403274132742327433274432745327463274732748327493275032751327523275332754327553275632757327583275932760327613276232763327643276532766327673276832769327703277132772327733277432775327763277732778327793278032781327823278332784327853278632787327883278932790327913279232793327943279532796327973279832799328003280132802328033280432805328063280732808328093281032811328123281332814328153281632817328183281932820328213282232823328243282532826328273282832829328303283132832328333283432835328363283732838328393284032841328423284332844328453284632847328483284932850328513285232853328543285532856328573285832859328603286132862328633286432865328663286732868328693287032871328723287332874328753287632877328783287932880328813288232883328843288532886328873288832889328903289132892328933289432895328963289732898328993290032901329023290332904329053290632907329083290932910329113291232913329143291532916329173291832919329203292132922329233292432925329263292732928329293293032931329323293332934329353293632937329383293932940329413294232943329443294532946329473294832949329503295132952329533295432955329563295732958329593296032961329623296332964329653296632967329683296932970329713297232973329743297532976329773297832979329803298132982329833298432985329863298732988329893299032991329923299332994329953299632997329983299933000330013300233003330043300533006330073300833009330103301133012330133301433015330163301733018330193302033021330223302333024330253302633027330283302933030330313303233033330343303533036330373303833039330403304133042330433304433045330463304733048330493305033051330523305333054330553305633057330583305933060330613306233063330643306533066330673306833069330703307133072330733307433075330763307733078330793308033081330823308333084330853308633087330883308933090330913309233093330943309533096330973309833099331003310133102331033310433105331063310733108331093311033111331123311333114331153311633117331183311933120331213312233123331243312533126331273312833129331303313133132331333313433135331363313733138331393314033141331423314333144331453314633147331483314933150331513315233153331543315533156331573315833159331603316133162331633316433165331663316733168331693317033171331723317333174331753317633177331783317933180331813318233183331843318533186331873318833189331903319133192331933319433195331963319733198331993320033201332023320333204332053320633207332083320933210332113321233213332143321533216332173321833219332203322133222332233322433225332263322733228332293323033231332323323333234332353323633237332383323933240332413324233243332443324533246332473324833249332503325133252332533325433255332563325733258332593326033261332623326333264332653326633267332683326933270332713327233273332743327533276332773327833279332803328133282332833328433285332863328733288332893329033291332923329333294332953329633297332983329933300333013330233303333043330533306333073330833309333103331133312333133331433315333163331733318333193332033321333223332333324333253332633327333283332933330333313333233333333343333533336333373333833339333403334133342333433334433345333463334733348333493335033351333523335333354333553335633357333583335933360333613336233363333643336533366333673336833369333703337133372333733337433375333763337733378333793338033381333823338333384333853338633387333883338933390333913339233393333943339533396333973339833399334003340133402334033340433405334063340733408334093341033411334123341333414334153341633417334183341933420334213342233423334243342533426334273342833429334303343133432334333343433435334363343733438334393344033441334423344333444334453344633447334483344933450334513345233453334543345533456334573345833459334603346133462334633346433465334663346733468334693347033471334723347333474334753347633477334783347933480334813348233483334843348533486334873348833489334903349133492334933349433495334963349733498334993350033501335023350333504335053350633507335083350933510335113351233513335143351533516335173351833519335203352133522335233352433525335263352733528335293353033531335323353333534335353353633537335383353933540335413354233543335443354533546335473354833549335503355133552335533355433555335563355733558335593356033561335623356333564335653356633567335683356933570335713357233573335743357533576335773357833579335803358133582335833358433585335863358733588335893359033591335923359333594335953359633597335983359933600336013360233603336043360533606336073360833609336103361133612336133361433615336163361733618336193362033621336223362333624336253362633627336283362933630336313363233633336343363533636336373363833639336403364133642336433364433645336463364733648336493365033651336523365333654336553365633657336583365933660336613366233663336643366533666336673366833669336703367133672336733367433675336763367733678336793368033681336823368333684336853368633687336883368933690336913369233693336943369533696336973369833699337003370133702337033370433705337063370733708337093371033711337123371333714337153371633717337183371933720337213372233723337243372533726337273372833729337303373133732337333373433735337363373733738337393374033741337423374333744337453374633747337483374933750337513375233753337543375533756337573375833759337603376133762337633376433765337663376733768337693377033771337723377333774337753377633777337783377933780337813378233783337843378533786337873378833789337903379133792337933379433795337963379733798337993380033801338023380333804338053380633807338083380933810338113381233813338143381533816338173381833819338203382133822338233382433825338263382733828338293383033831338323383333834338353383633837338383383933840338413384233843338443384533846338473384833849338503385133852338533385433855338563385733858338593386033861338623386333864338653386633867338683386933870338713387233873338743387533876338773387833879338803388133882338833388433885338863388733888338893389033891338923389333894338953389633897338983389933900339013390233903339043390533906339073390833909339103391133912339133391433915339163391733918339193392033921339223392333924339253392633927339283392933930339313393233933339343393533936339373393833939339403394133942339433394433945339463394733948339493395033951339523395333954339553395633957339583395933960339613396233963339643396533966339673396833969339703397133972339733397433975339763397733978339793398033981339823398333984339853398633987339883398933990339913399233993339943399533996339973399833999340003400134002340033400434005340063400734008340093401034011340123401334014340153401634017340183401934020340213402234023340243402534026340273402834029340303403134032340333403434035340363403734038340393404034041340423404334044340453404634047340483404934050340513405234053340543405534056340573405834059340603406134062340633406434065340663406734068340693407034071340723407334074340753407634077340783407934080340813408234083340843408534086340873408834089340903409134092340933409434095340963409734098340993410034101341023410334104341053410634107341083410934110341113411234113341143411534116341173411834119341203412134122341233412434125341263412734128341293413034131341323413334134341353413634137341383413934140341413414234143341443414534146341473414834149341503415134152341533415434155341563415734158341593416034161341623416334164341653416634167341683416934170341713417234173341743417534176341773417834179341803418134182341833418434185341863418734188341893419034191341923419334194341953419634197341983419934200342013420234203342043420534206342073420834209342103421134212342133421434215342163421734218342193422034221342223422334224342253422634227342283422934230342313423234233342343423534236342373423834239342403424134242342433424434245342463424734248342493425034251342523425334254342553425634257342583425934260342613426234263342643426534266342673426834269342703427134272342733427434275342763427734278342793428034281342823428334284342853428634287342883428934290342913429234293342943429534296342973429834299343003430134302343033430434305343063430734308343093431034311343123431334314343153431634317343183431934320343213432234323343243432534326343273432834329343303433134332343333433434335343363433734338343393434034341343423434334344343453434634347343483434934350343513435234353343543435534356343573435834359343603436134362343633436434365343663436734368343693437034371343723437334374343753437634377343783437934380343813438234383343843438534386343873438834389343903439134392343933439434395343963439734398343993440034401344023440334404344053440634407344083440934410344113441234413344143441534416344173441834419344203442134422344233442434425344263442734428344293443034431344323443334434344353443634437344383443934440344413444234443344443444534446344473444834449344503445134452344533445434455344563445734458344593446034461344623446334464344653446634467344683446934470344713447234473344743447534476344773447834479344803448134482344833448434485344863448734488344893449034491344923449334494344953449634497344983449934500345013450234503345043450534506345073450834509345103451134512345133451434515345163451734518345193452034521345223452334524345253452634527345283452934530345313453234533345343453534536345373453834539345403454134542345433454434545345463454734548345493455034551345523455334554345553455634557345583455934560345613456234563345643456534566345673456834569345703457134572345733457434575345763457734578345793458034581345823458334584345853458634587345883458934590345913459234593345943459534596345973459834599346003460134602346033460434605346063460734608346093461034611346123461334614346153461634617346183461934620346213462234623346243462534626346273462834629346303463134632346333463434635346363463734638346393464034641346423464334644346453464634647346483464934650346513465234653346543465534656346573465834659346603466134662346633466434665346663466734668346693467034671346723467334674346753467634677346783467934680346813468234683346843468534686346873468834689346903469134692346933469434695346963469734698346993470034701347023470334704347053470634707347083470934710347113471234713347143471534716347173471834719347203472134722347233472434725347263472734728347293473034731347323473334734347353473634737347383473934740347413474234743347443474534746347473474834749347503475134752347533475434755347563475734758347593476034761347623476334764347653476634767347683476934770347713477234773347743477534776347773477834779347803478134782347833478434785347863478734788347893479034791347923479334794347953479634797347983479934800348013480234803348043480534806348073480834809348103481134812348133481434815348163481734818348193482034821348223482334824348253482634827348283482934830348313483234833348343483534836348373483834839348403484134842348433484434845348463484734848348493485034851348523485334854348553485634857348583485934860348613486234863348643486534866348673486834869348703487134872348733487434875348763487734878348793488034881348823488334884348853488634887348883488934890348913489234893348943489534896348973489834899349003490134902349033490434905349063490734908349093491034911349123491334914349153491634917349183491934920349213492234923349243492534926349273492834929349303493134932349333493434935349363493734938349393494034941349423494334944349453494634947349483494934950349513495234953349543495534956349573495834959349603496134962349633496434965349663496734968349693497034971349723497334974349753497634977349783497934980349813498234983349843498534986349873498834989349903499134992349933499434995349963499734998349993500035001350023500335004350053500635007350083500935010350113501235013350143501535016350173501835019350203502135022350233502435025350263502735028350293503035031350323503335034350353503635037350383503935040350413504235043350443504535046350473504835049350503505135052350533505435055350563505735058350593506035061350623506335064350653506635067350683506935070350713507235073350743507535076350773507835079350803508135082350833508435085350863508735088350893509035091350923509335094350953509635097350983509935100351013510235103351043510535106351073510835109351103511135112351133511435115351163511735118351193512035121351223512335124351253512635127351283512935130351313513235133351343513535136351373513835139351403514135142351433514435145351463514735148351493515035151351523515335154351553515635157351583515935160351613516235163351643516535166351673516835169351703517135172351733517435175351763517735178351793518035181351823518335184351853518635187351883518935190351913519235193351943519535196351973519835199352003520135202352033520435205352063520735208352093521035211352123521335214352153521635217352183521935220352213522235223352243522535226352273522835229352303523135232352333523435235352363523735238352393524035241352423524335244352453524635247352483524935250352513525235253352543525535256352573525835259352603526135262352633526435265352663526735268352693527035271352723527335274352753527635277352783527935280352813528235283352843528535286352873528835289352903529135292352933529435295352963529735298352993530035301353023530335304
  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:PCWEB 1:Mobile,不传默认返回PC端数据",
  427. "name": "clientType",
  428. "in": "query"
  429. },
  430. {
  431. "type": "string",
  432. "description": "分支名称,ermcp:风管云平台 pingan:平安期货,不传默认返回风管云平台",
  433. "name": "name",
  434. "in": "query"
  435. }
  436. ],
  437. "responses": {
  438. "200": {
  439. "description": "OK",
  440. "schema": {
  441. "type": "array",
  442. "items": {
  443. "$ref": "#/definitions/common.ClientMenu"
  444. }
  445. }
  446. },
  447. "500": {
  448. "description": "Internal Server Error",
  449. "schema": {
  450. "$ref": "#/definitions/app.Response"
  451. }
  452. }
  453. }
  454. }
  455. },
  456. "/Common/GetDivisions": {
  457. "get": {
  458. "produces": [
  459. "application/json"
  460. ],
  461. "tags": [
  462. "通用服务"
  463. ],
  464. "summary": "查询区域信息",
  465. "responses": {
  466. "200": {
  467. "description": "OK",
  468. "schema": {
  469. "$ref": "#/definitions/models.Division"
  470. }
  471. },
  472. "500": {
  473. "description": "Internal Server Error",
  474. "schema": {
  475. "$ref": "#/definitions/app.Response"
  476. }
  477. }
  478. }
  479. }
  480. },
  481. "/Common/GetServerTime": {
  482. "get": {
  483. "produces": [
  484. "application/json"
  485. ],
  486. "tags": [
  487. "通用服务"
  488. ],
  489. "summary": "获取服务器时间",
  490. "responses": {
  491. "200": {
  492. "description": "OK",
  493. "schema": {
  494. "$ref": "#/definitions/app.Response"
  495. }
  496. },
  497. "500": {
  498. "description": "Internal Server Error",
  499. "schema": {
  500. "$ref": "#/definitions/app.Response"
  501. }
  502. }
  503. }
  504. }
  505. },
  506. "/Common/NoticeReaded": {
  507. "post": {
  508. "security": [
  509. {
  510. "ApiKeyAuth": []
  511. }
  512. ],
  513. "produces": [
  514. "application/json"
  515. ],
  516. "tags": [
  517. "通用服务"
  518. ],
  519. "summary": "通知公告设置已读请求",
  520. "parameters": [
  521. {
  522. "type": "integer",
  523. "description": "登录账号",
  524. "name": "loginID",
  525. "in": "query",
  526. "required": true
  527. },
  528. {
  529. "type": "integer",
  530. "description": "通知公告ID",
  531. "name": "noticeID",
  532. "in": "query",
  533. "required": true
  534. }
  535. ],
  536. "responses": {
  537. "200": {
  538. "description": "OK",
  539. "schema": {
  540. "$ref": "#/definitions/app.Response"
  541. }
  542. },
  543. "500": {
  544. "description": "Internal Server Error",
  545. "schema": {
  546. "$ref": "#/definitions/app.Response"
  547. }
  548. }
  549. }
  550. }
  551. },
  552. "/Common/QueryErrorInfos": {
  553. "get": {
  554. "description": "如果传入rowNumber,则返回此rowNumber后的数据",
  555. "produces": [
  556. "application/json"
  557. ],
  558. "tags": [
  559. "通用服务"
  560. ],
  561. "summary": "获取数据库错误信息",
  562. "parameters": [
  563. {
  564. "type": "string",
  565. "description": "起始行号前索引",
  566. "name": "rowNumber",
  567. "in": "query"
  568. }
  569. ],
  570. "responses": {
  571. "200": {
  572. "description": "OK",
  573. "schema": {
  574. "$ref": "#/definitions/models.QueryErrorInfosRsp"
  575. }
  576. },
  577. "500": {
  578. "description": "Internal Server Error",
  579. "schema": {
  580. "$ref": "#/definitions/app.Response"
  581. }
  582. }
  583. }
  584. }
  585. },
  586. "/Common/QueryImageConfigs": {
  587. "get": {
  588. "produces": [
  589. "application/json"
  590. ],
  591. "tags": [
  592. "通用服务"
  593. ],
  594. "summary": "查询轮播图配置信息",
  595. "parameters": [
  596. {
  597. "type": "integer",
  598. "description": "用户id",
  599. "name": "userId",
  600. "in": "query"
  601. },
  602. {
  603. "type": "integer",
  604. "description": "类型 - 1:App首页轮播 2:我的",
  605. "name": "imageType",
  606. "in": "query"
  607. }
  608. ],
  609. "responses": {
  610. "200": {
  611. "description": "OK",
  612. "schema": {
  613. "$ref": "#/definitions/common.QueryImageConfigsRsp"
  614. }
  615. },
  616. "500": {
  617. "description": "Internal Server Error",
  618. "schema": {
  619. "$ref": "#/definitions/app.Response"
  620. }
  621. }
  622. }
  623. }
  624. },
  625. "/Common/QueryNotice": {
  626. "get": {
  627. "security": [
  628. {
  629. "ApiKeyAuth": []
  630. }
  631. ],
  632. "produces": [
  633. "application/json"
  634. ],
  635. "tags": [
  636. "通用服务"
  637. ],
  638. "summary": "通知公告系统消息查询",
  639. "parameters": [
  640. {
  641. "type": "integer",
  642. "description": "页码",
  643. "name": "page",
  644. "in": "query"
  645. },
  646. {
  647. "type": "integer",
  648. "description": "每页条数",
  649. "name": "pagesize",
  650. "in": "query"
  651. },
  652. {
  653. "type": "integer",
  654. "description": "登录账号",
  655. "name": "loginID",
  656. "in": "query",
  657. "required": true
  658. },
  659. {
  660. "type": "integer",
  661. "description": "消息类型 - 1:公告通知 2:系统消息",
  662. "name": "msgType",
  663. "in": "query"
  664. },
  665. {
  666. "type": "boolean",
  667. "description": "是否只获取未读信息",
  668. "name": "onlyUnRead",
  669. "in": "query"
  670. },
  671. {
  672. "type": "integer",
  673. "description": "自增ID,传入后会返回这个ID后面的记录",
  674. "name": "lastID",
  675. "in": "query"
  676. }
  677. ],
  678. "responses": {
  679. "200": {
  680. "description": "OK",
  681. "schema": {
  682. "$ref": "#/definitions/common.QueryNoticeRsp"
  683. }
  684. },
  685. "500": {
  686. "description": "Internal Server Error",
  687. "schema": {
  688. "$ref": "#/definitions/app.Response"
  689. }
  690. }
  691. }
  692. }
  693. },
  694. "/Common/QueryProvincesAndCities": {
  695. "get": {
  696. "produces": [
  697. "application/json"
  698. ],
  699. "tags": [
  700. "通用服务"
  701. ],
  702. "summary": "查询省市信息(不包括区)",
  703. "parameters": [
  704. {
  705. "type": "integer",
  706. "description": "省ID",
  707. "name": "provinceID",
  708. "in": "query"
  709. }
  710. ],
  711. "responses": {
  712. "200": {
  713. "description": "OK",
  714. "schema": {
  715. "$ref": "#/definitions/common.QueryProvincesAndCitiesRsp"
  716. }
  717. },
  718. "500": {
  719. "description": "Internal Server Error",
  720. "schema": {
  721. "$ref": "#/definitions/app.Response"
  722. }
  723. }
  724. }
  725. }
  726. },
  727. "/Common/QueryTableDefine": {
  728. "get": {
  729. "produces": [
  730. "application/json"
  731. ],
  732. "tags": [
  733. "通用服务"
  734. ],
  735. "summary": "查询交易端列表头信息",
  736. "parameters": [
  737. {
  738. "type": "string",
  739. "description": "表key",
  740. "name": "tableKey",
  741. "in": "query"
  742. },
  743. {
  744. "type": "integer",
  745. "description": "列表类型 - 1:管理端 2:H5终端 3:移动终端",
  746. "name": "tableType",
  747. "in": "query"
  748. }
  749. ],
  750. "responses": {
  751. "200": {
  752. "description": "OK",
  753. "schema": {
  754. "$ref": "#/definitions/common.QueryTableDefineRsp"
  755. }
  756. },
  757. "500": {
  758. "description": "Internal Server Error",
  759. "schema": {
  760. "$ref": "#/definitions/app.Response"
  761. }
  762. }
  763. }
  764. }
  765. },
  766. "/Common/QueryTraderMenu": {
  767. "get": {
  768. "produces": [
  769. "application/json"
  770. ],
  771. "tags": [
  772. "通用服务"
  773. ],
  774. "summary": "查询交易端菜单",
  775. "parameters": [
  776. {
  777. "type": "integer",
  778. "description": "登录账号",
  779. "name": "loginid",
  780. "in": "query",
  781. "required": true
  782. }
  783. ],
  784. "responses": {
  785. "200": {
  786. "description": "OK",
  787. "schema": {
  788. "$ref": "#/definitions/common.QueryTraderMenuRsp"
  789. }
  790. },
  791. "500": {
  792. "description": "Internal Server Error",
  793. "schema": {
  794. "$ref": "#/definitions/app.Response"
  795. }
  796. }
  797. }
  798. }
  799. },
  800. "/Delivery/QueryDeliveryRelation": {
  801. "get": {
  802. "security": [
  803. {
  804. "ApiKeyAuth": []
  805. }
  806. ],
  807. "produces": [
  808. "application/json"
  809. ],
  810. "tags": [
  811. "交割服务"
  812. ],
  813. "summary": "查询商品交割关系表",
  814. "parameters": [
  815. {
  816. "type": "integer",
  817. "description": "商品ID",
  818. "name": "goodsid",
  819. "in": "query"
  820. },
  821. {
  822. "type": "integer",
  823. "description": "品种ID",
  824. "name": "deliverygoodsid",
  825. "in": "query"
  826. },
  827. {
  828. "type": "integer",
  829. "description": "市场ID",
  830. "name": "marketid",
  831. "in": "query"
  832. }
  833. ],
  834. "responses": {
  835. "200": {
  836. "description": "OK",
  837. "schema": {
  838. "$ref": "#/definitions/delivery.QueryDeliveryRelationRsp"
  839. }
  840. },
  841. "500": {
  842. "description": "Internal Server Error",
  843. "schema": {
  844. "$ref": "#/definitions/app.Response"
  845. }
  846. }
  847. }
  848. }
  849. },
  850. "/Ermcp/GetErmcpGoods": {
  851. "get": {
  852. "security": [
  853. {
  854. "ApiKeyAuth": []
  855. }
  856. ],
  857. "produces": [
  858. "application/json"
  859. ],
  860. "tags": [
  861. "企业风险管理(app)"
  862. ],
  863. "summary": "查询企业风管期货商品信息",
  864. "parameters": [
  865. {
  866. "type": "string",
  867. "description": "最后修改时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  868. "name": "lastUpdateTime",
  869. "in": "query"
  870. }
  871. ],
  872. "responses": {
  873. "200": {
  874. "description": "OK",
  875. "schema": {
  876. "$ref": "#/definitions/models.ErmcpGoods"
  877. }
  878. },
  879. "500": {
  880. "description": "Internal Server Error",
  881. "schema": {
  882. "$ref": "#/definitions/app.Response"
  883. }
  884. }
  885. }
  886. }
  887. },
  888. "/Ermcp/GetErmcpGoodsSortByPosition": {
  889. "get": {
  890. "security": [
  891. {
  892. "ApiKeyAuth": []
  893. }
  894. ],
  895. "produces": [
  896. "application/json"
  897. ],
  898. "tags": [
  899. "企业风险管理(app)"
  900. ],
  901. "summary": "查询企业风管期货主力、次主力商品信息",
  902. "parameters": [
  903. {
  904. "type": "string",
  905. "description": "主力: 1; 次主力: 2; 主力+次主力:1,2",
  906. "name": "sortIndex",
  907. "in": "query"
  908. }
  909. ],
  910. "responses": {
  911. "200": {
  912. "description": "OK",
  913. "schema": {
  914. "$ref": "#/definitions/models.Goodssortbypreposition"
  915. }
  916. },
  917. "500": {
  918. "description": "Internal Server Error",
  919. "schema": {
  920. "$ref": "#/definitions/app.Response"
  921. }
  922. }
  923. }
  924. }
  925. },
  926. "/Ermcp/GetErmcpOutAccountStatus": {
  927. "get": {
  928. "security": [
  929. {
  930. "ApiKeyAuth": []
  931. }
  932. ],
  933. "produces": [
  934. "application/json"
  935. ],
  936. "tags": [
  937. "企业风险管理(app)"
  938. ],
  939. "summary": "获取目标登录账号当前对冲账号在线状态",
  940. "parameters": [
  941. {
  942. "type": "integer",
  943. "description": "登录账号",
  944. "name": "loginID",
  945. "in": "query",
  946. "required": true
  947. }
  948. ],
  949. "responses": {
  950. "200": {
  951. "description": "OK",
  952. "schema": {
  953. "$ref": "#/definitions/models.Hedgemarketopenlog"
  954. }
  955. },
  956. "500": {
  957. "description": "Internal Server Error",
  958. "schema": {
  959. "$ref": "#/definitions/app.Response"
  960. }
  961. }
  962. }
  963. }
  964. },
  965. "/Ermcp/GetErmcpRoleFuncMenuLists": {
  966. "get": {
  967. "security": [
  968. {
  969. "ApiKeyAuth": []
  970. }
  971. ],
  972. "produces": [
  973. "application/json"
  974. ],
  975. "tags": [
  976. "企业风险管理(app)"
  977. ],
  978. "summary": "获取企业风管终端权限",
  979. "parameters": [
  980. {
  981. "type": "integer",
  982. "description": "登录账号",
  983. "name": "loginID",
  984. "in": "query",
  985. "required": true
  986. }
  987. ],
  988. "responses": {
  989. "200": {
  990. "description": "OK",
  991. "schema": {
  992. "$ref": "#/definitions/models.Funcmenulist"
  993. }
  994. },
  995. "500": {
  996. "description": "Internal Server Error",
  997. "schema": {
  998. "$ref": "#/definitions/app.Response"
  999. }
  1000. }
  1001. }
  1002. }
  1003. },
  1004. "/Ermcp/QueryAccMgrBizGroupSet": {
  1005. "get": {
  1006. "security": [
  1007. {
  1008. "ApiKeyAuth": []
  1009. }
  1010. ],
  1011. "produces": [
  1012. "application/json"
  1013. ],
  1014. "tags": [
  1015. "企业风险管理(app)"
  1016. ],
  1017. "summary": "查询业务类型分组(账户管理/账户设置)",
  1018. "parameters": [
  1019. {
  1020. "type": "integer",
  1021. "description": "用户ID",
  1022. "name": "userid",
  1023. "in": "query",
  1024. "required": true
  1025. },
  1026. {
  1027. "type": "integer",
  1028. "description": "现货商品id",
  1029. "name": "deliverygoodsid",
  1030. "in": "query"
  1031. }
  1032. ],
  1033. "responses": {
  1034. "200": {
  1035. "description": "OK",
  1036. "schema": {
  1037. "type": "array",
  1038. "items": {
  1039. "$ref": "#/definitions/models.ErmcpBizGroupEx"
  1040. }
  1041. }
  1042. },
  1043. "500": {
  1044. "description": "Internal Server Error",
  1045. "schema": {
  1046. "$ref": "#/definitions/app.Response"
  1047. }
  1048. }
  1049. }
  1050. }
  1051. },
  1052. "/Ermcp/QueryAccMgrLoginUser": {
  1053. "get": {
  1054. "security": [
  1055. {
  1056. "ApiKeyAuth": []
  1057. }
  1058. ],
  1059. "produces": [
  1060. "application/json"
  1061. ],
  1062. "tags": [
  1063. "企业风险管理(app)"
  1064. ],
  1065. "summary": "查询账户管理登录账号(账户管理/登录账号)",
  1066. "parameters": [
  1067. {
  1068. "type": "integer",
  1069. "description": "用户ID",
  1070. "name": "userid",
  1071. "in": "query",
  1072. "required": true
  1073. },
  1074. {
  1075. "type": "integer",
  1076. "description": "用户类型 2-机构 7-企业成员",
  1077. "name": "usertype",
  1078. "in": "query"
  1079. },
  1080. {
  1081. "type": "integer",
  1082. "description": "查询类型 1-业务账户 2-交易账户 3-管理账户",
  1083. "name": "querytype",
  1084. "in": "query",
  1085. "required": true
  1086. }
  1087. ],
  1088. "responses": {
  1089. "200": {
  1090. "description": "OK",
  1091. "schema": {
  1092. "type": "array",
  1093. "items": {
  1094. "$ref": "#/definitions/models.ErmcpLoginUserEx"
  1095. }
  1096. }
  1097. },
  1098. "500": {
  1099. "description": "Internal Server Error",
  1100. "schema": {
  1101. "$ref": "#/definitions/app.Response"
  1102. }
  1103. }
  1104. }
  1105. }
  1106. },
  1107. "/Ermcp/QueryAccMgrMainAccountInfo": {
  1108. "get": {
  1109. "security": [
  1110. {
  1111. "ApiKeyAuth": []
  1112. }
  1113. ],
  1114. "produces": [
  1115. "application/json"
  1116. ],
  1117. "tags": [
  1118. "企业风险管理(app)"
  1119. ],
  1120. "summary": "查询账户管理主账号详情(账户管理/期货主账号详情)",
  1121. "parameters": [
  1122. {
  1123. "type": "integer",
  1124. "description": "用户ID",
  1125. "name": "userid",
  1126. "in": "query"
  1127. },
  1128. {
  1129. "type": "integer",
  1130. "description": "主账号id",
  1131. "name": "accountid",
  1132. "in": "query"
  1133. }
  1134. ],
  1135. "responses": {
  1136. "200": {
  1137. "description": "OK",
  1138. "schema": {
  1139. "type": "array",
  1140. "items": {
  1141. "$ref": "#/definitions/models.MainAccountInfo"
  1142. }
  1143. }
  1144. },
  1145. "500": {
  1146. "description": "Internal Server Error",
  1147. "schema": {
  1148. "$ref": "#/definitions/app.Response"
  1149. }
  1150. }
  1151. }
  1152. }
  1153. },
  1154. "/Ermcp/QueryAccMgrRole": {
  1155. "get": {
  1156. "security": [
  1157. {
  1158. "ApiKeyAuth": []
  1159. }
  1160. ],
  1161. "produces": [
  1162. "application/json"
  1163. ],
  1164. "tags": [
  1165. "企业风险管理(app)"
  1166. ],
  1167. "summary": "查询账户管理角色设置(账户管理/角色设置)",
  1168. "parameters": [
  1169. {
  1170. "type": "integer",
  1171. "description": "用户ID",
  1172. "name": "userid",
  1173. "in": "query",
  1174. "required": true
  1175. }
  1176. ],
  1177. "responses": {
  1178. "200": {
  1179. "description": "OK",
  1180. "schema": {
  1181. "type": "array",
  1182. "items": {
  1183. "$ref": "#/definitions/models.ErmcpRole"
  1184. }
  1185. }
  1186. },
  1187. "500": {
  1188. "description": "Internal Server Error",
  1189. "schema": {
  1190. "$ref": "#/definitions/app.Response"
  1191. }
  1192. }
  1193. }
  1194. }
  1195. },
  1196. "/Ermcp/QueryAccMgrRoleMenu": {
  1197. "get": {
  1198. "security": [
  1199. {
  1200. "ApiKeyAuth": []
  1201. }
  1202. ],
  1203. "produces": [
  1204. "application/json"
  1205. ],
  1206. "tags": [
  1207. "企业风险管理(app)"
  1208. ],
  1209. "summary": "查询账户管理角色详情(账户管理/角色设置/角色详情)",
  1210. "parameters": [
  1211. {
  1212. "type": "integer",
  1213. "description": "用户ID",
  1214. "name": "userid",
  1215. "in": "query",
  1216. "required": true
  1217. },
  1218. {
  1219. "type": "string",
  1220. "description": "角色id(可多个,逗号隔开)",
  1221. "name": "roleid",
  1222. "in": "query"
  1223. },
  1224. {
  1225. "type": "integer",
  1226. "description": "菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 4:仓单贸易 ps:新加的参数,为了兼容以前,不传则默认查3",
  1227. "name": "menutype",
  1228. "in": "query"
  1229. }
  1230. ],
  1231. "responses": {
  1232. "200": {
  1233. "description": "OK",
  1234. "schema": {
  1235. "type": "array",
  1236. "items": {
  1237. "$ref": "#/definitions/models.ErmcpRoleMenuEx"
  1238. }
  1239. }
  1240. },
  1241. "500": {
  1242. "description": "Internal Server Error",
  1243. "schema": {
  1244. "$ref": "#/definitions/app.Response"
  1245. }
  1246. }
  1247. }
  1248. }
  1249. },
  1250. "/Ermcp/QueryAccMgrTaAccountInfo": {
  1251. "get": {
  1252. "security": [
  1253. {
  1254. "ApiKeyAuth": []
  1255. }
  1256. ],
  1257. "produces": [
  1258. "application/json"
  1259. ],
  1260. "tags": [
  1261. "企业风险管理(app)"
  1262. ],
  1263. "summary": "查询账户管理授信(账户管理/账户设置/授信)",
  1264. "parameters": [
  1265. {
  1266. "type": "integer",
  1267. "description": "用户ID",
  1268. "name": "userid",
  1269. "in": "query",
  1270. "required": true
  1271. },
  1272. {
  1273. "type": "integer",
  1274. "description": "账号id",
  1275. "name": "accountid",
  1276. "in": "query"
  1277. }
  1278. ],
  1279. "responses": {
  1280. "200": {
  1281. "description": "OK",
  1282. "schema": {
  1283. "type": "array",
  1284. "items": {
  1285. "$ref": "#/definitions/models.ErmcpTaAccountInfo"
  1286. }
  1287. }
  1288. },
  1289. "500": {
  1290. "description": "Internal Server Error",
  1291. "schema": {
  1292. "$ref": "#/definitions/app.Response"
  1293. }
  1294. }
  1295. }
  1296. }
  1297. },
  1298. "/Ermcp/QueryAccMgrTaaccount": {
  1299. "get": {
  1300. "security": [
  1301. {
  1302. "ApiKeyAuth": []
  1303. }
  1304. ],
  1305. "produces": [
  1306. "application/json"
  1307. ],
  1308. "tags": [
  1309. "企业风险管理(app)"
  1310. ],
  1311. "summary": "查询账户管理期货账号(账户管理/期货账号)",
  1312. "parameters": [
  1313. {
  1314. "type": "integer",
  1315. "description": "用户ID",
  1316. "name": "userid",
  1317. "in": "query",
  1318. "required": true
  1319. }
  1320. ],
  1321. "responses": {
  1322. "200": {
  1323. "description": "OK",
  1324. "schema": {
  1325. "type": "array",
  1326. "items": {
  1327. "$ref": "#/definitions/models.ErmcpTaAccountEx"
  1328. }
  1329. }
  1330. },
  1331. "500": {
  1332. "description": "Internal Server Error",
  1333. "schema": {
  1334. "$ref": "#/definitions/app.Response"
  1335. }
  1336. }
  1337. }
  1338. }
  1339. },
  1340. "/Ermcp/QueryAvaildGoodsGroup": {
  1341. "get": {
  1342. "security": [
  1343. {
  1344. "ApiKeyAuth": []
  1345. }
  1346. ],
  1347. "produces": [
  1348. "application/json"
  1349. ],
  1350. "tags": [
  1351. "企业风险管理(app)"
  1352. ],
  1353. "summary": "查询可配置期货品种(菜单:商品信息/现货商品/新增现货商品/新增套保品种)",
  1354. "parameters": [
  1355. {
  1356. "type": "integer",
  1357. "description": "所属机构ID",
  1358. "name": "userid",
  1359. "in": "query",
  1360. "required": true
  1361. }
  1362. ],
  1363. "responses": {
  1364. "200": {
  1365. "description": "OK",
  1366. "schema": {
  1367. "type": "array",
  1368. "items": {
  1369. "$ref": "#/definitions/ermcp.QryAvalidGPRsp"
  1370. }
  1371. }
  1372. },
  1373. "500": {
  1374. "description": "Internal Server Error",
  1375. "schema": {
  1376. "$ref": "#/definitions/app.Response"
  1377. }
  1378. }
  1379. }
  1380. }
  1381. },
  1382. "/Ermcp/QueryBusinessDj": {
  1383. "get": {
  1384. "security": [
  1385. {
  1386. "ApiKeyAuth": []
  1387. }
  1388. ],
  1389. "produces": [
  1390. "application/json"
  1391. ],
  1392. "tags": [
  1393. "企业风险管理(app)"
  1394. ],
  1395. "summary": "查询业务管理(点价)(对应菜单:业务管理/点价)",
  1396. "parameters": [
  1397. {
  1398. "type": "integer",
  1399. "description": "用户ID",
  1400. "name": "UserId",
  1401. "in": "query",
  1402. "required": true
  1403. },
  1404. {
  1405. "type": "integer",
  1406. "description": "用户类型 2-机构 7-企业成员",
  1407. "name": "usertype",
  1408. "in": "query"
  1409. },
  1410. {
  1411. "type": "string",
  1412. "description": "现货合同ID, 不填则查所有",
  1413. "name": "relatedid",
  1414. "in": "query"
  1415. },
  1416. {
  1417. "type": "string",
  1418. "description": "申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  1419. "name": "applystatus",
  1420. "in": "query"
  1421. }
  1422. ],
  1423. "responses": {
  1424. "200": {
  1425. "description": "OK",
  1426. "schema": {
  1427. "type": "array",
  1428. "items": {
  1429. "$ref": "#/definitions/ermcp.QryBusinessDjRsp"
  1430. }
  1431. }
  1432. },
  1433. "500": {
  1434. "description": "Internal Server Error",
  1435. "schema": {
  1436. "$ref": "#/definitions/app.Response"
  1437. }
  1438. }
  1439. }
  1440. }
  1441. },
  1442. "/Ermcp/QueryBusinessFp": {
  1443. "get": {
  1444. "security": [
  1445. {
  1446. "ApiKeyAuth": []
  1447. }
  1448. ],
  1449. "produces": [
  1450. "application/json"
  1451. ],
  1452. "tags": [
  1453. "企业风险管理(app)"
  1454. ],
  1455. "summary": "查询财务管理(发票)(对应菜单:财务管理/发票)",
  1456. "parameters": [
  1457. {
  1458. "type": "integer",
  1459. "description": "用户ID",
  1460. "name": "UserId",
  1461. "in": "query",
  1462. "required": true
  1463. },
  1464. {
  1465. "type": "integer",
  1466. "description": "用户类型 2-机构 7-企业成员",
  1467. "name": "usertype",
  1468. "in": "query"
  1469. },
  1470. {
  1471. "type": "string",
  1472. "description": "现货合同ID, 不填则查所有",
  1473. "name": "relatedid",
  1474. "in": "query"
  1475. },
  1476. {
  1477. "type": "string",
  1478. "description": "申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  1479. "name": "applystatus",
  1480. "in": "query"
  1481. }
  1482. ],
  1483. "responses": {
  1484. "200": {
  1485. "description": "OK",
  1486. "schema": {
  1487. "type": "array",
  1488. "items": {
  1489. "$ref": "#/definitions/ermcp.QryBussinessFpRsp"
  1490. }
  1491. }
  1492. },
  1493. "500": {
  1494. "description": "Internal Server Error",
  1495. "schema": {
  1496. "$ref": "#/definitions/app.Response"
  1497. }
  1498. }
  1499. }
  1500. }
  1501. },
  1502. "/Ermcp/QueryBusinessJs": {
  1503. "get": {
  1504. "security": [
  1505. {
  1506. "ApiKeyAuth": []
  1507. }
  1508. ],
  1509. "produces": [
  1510. "application/json"
  1511. ],
  1512. "tags": [
  1513. "企业风险管理(app)"
  1514. ],
  1515. "summary": "查询业务管理(结算)(对应菜单:业务管理/结算)",
  1516. "parameters": [
  1517. {
  1518. "type": "integer",
  1519. "description": "用户ID",
  1520. "name": "UserId",
  1521. "in": "query",
  1522. "required": true
  1523. },
  1524. {
  1525. "type": "integer",
  1526. "description": "用户类型 2-机构 7-企业成员",
  1527. "name": "usertype",
  1528. "in": "query"
  1529. },
  1530. {
  1531. "type": "string",
  1532. "description": "现货合同ID, 不填则查所有",
  1533. "name": "relatedid",
  1534. "in": "query"
  1535. },
  1536. {
  1537. "type": "string",
  1538. "description": "操作申请id",
  1539. "name": "operateapplyid",
  1540. "in": "query"
  1541. },
  1542. {
  1543. "type": "string",
  1544. "description": "申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  1545. "name": "applystatus",
  1546. "in": "query"
  1547. }
  1548. ],
  1549. "responses": {
  1550. "200": {
  1551. "description": "OK",
  1552. "schema": {
  1553. "type": "array",
  1554. "items": {
  1555. "$ref": "#/definitions/ermcp.QryBussinessJsRsp"
  1556. }
  1557. }
  1558. },
  1559. "500": {
  1560. "description": "Internal Server Error",
  1561. "schema": {
  1562. "$ref": "#/definitions/app.Response"
  1563. }
  1564. }
  1565. }
  1566. }
  1567. },
  1568. "/Ermcp/QueryBusinessJsEx": {
  1569. "get": {
  1570. "security": [
  1571. {
  1572. "ApiKeyAuth": []
  1573. }
  1574. ],
  1575. "produces": [
  1576. "application/json"
  1577. ],
  1578. "tags": [
  1579. "企业风险管理(app)"
  1580. ],
  1581. "summary": "查询业务管理(结算)(对应菜单:业务管理/结算[拆分记录])",
  1582. "parameters": [
  1583. {
  1584. "type": "integer",
  1585. "description": "用户ID",
  1586. "name": "UserId",
  1587. "in": "query",
  1588. "required": true
  1589. },
  1590. {
  1591. "type": "integer",
  1592. "description": "用户类型 2-机构 7-企业成员",
  1593. "name": "usertype",
  1594. "in": "query"
  1595. },
  1596. {
  1597. "type": "string",
  1598. "description": "现货合同ID, 不填则查所有",
  1599. "name": "relatedid",
  1600. "in": "query"
  1601. },
  1602. {
  1603. "type": "string",
  1604. "description": "申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  1605. "name": "applystatus",
  1606. "in": "query"
  1607. }
  1608. ],
  1609. "responses": {
  1610. "200": {
  1611. "description": "OK",
  1612. "schema": {
  1613. "type": "array",
  1614. "items": {
  1615. "$ref": "#/definitions/ermcp.QryBussinessJsExRsp"
  1616. }
  1617. }
  1618. },
  1619. "500": {
  1620. "description": "Internal Server Error",
  1621. "schema": {
  1622. "$ref": "#/definitions/app.Response"
  1623. }
  1624. }
  1625. }
  1626. }
  1627. },
  1628. "/Ermcp/QueryBusinessKx": {
  1629. "get": {
  1630. "security": [
  1631. {
  1632. "ApiKeyAuth": []
  1633. }
  1634. ],
  1635. "produces": [
  1636. "application/json"
  1637. ],
  1638. "tags": [
  1639. "企业风险管理(app)"
  1640. ],
  1641. "summary": "查询财务管理(款项)(对应菜单:财务管理/款项)",
  1642. "parameters": [
  1643. {
  1644. "type": "integer",
  1645. "description": "用户ID",
  1646. "name": "UserId",
  1647. "in": "query",
  1648. "required": true
  1649. },
  1650. {
  1651. "type": "integer",
  1652. "description": "用户类型 2-机构 7-企业成员",
  1653. "name": "usertype",
  1654. "in": "query"
  1655. },
  1656. {
  1657. "type": "string",
  1658. "description": "现货合同ID, 不填则查所有",
  1659. "name": "relatedid",
  1660. "in": "query"
  1661. },
  1662. {
  1663. "type": "string",
  1664. "description": "申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  1665. "name": "applystatus",
  1666. "in": "query"
  1667. }
  1668. ],
  1669. "responses": {
  1670. "200": {
  1671. "description": "OK",
  1672. "schema": {
  1673. "type": "array",
  1674. "items": {
  1675. "$ref": "#/definitions/ermcp.QryBussinessKxRsp"
  1676. }
  1677. }
  1678. },
  1679. "500": {
  1680. "description": "Internal Server Error",
  1681. "schema": {
  1682. "$ref": "#/definitions/app.Response"
  1683. }
  1684. }
  1685. }
  1686. }
  1687. },
  1688. "/Ermcp/QueryChangeLog": {
  1689. "get": {
  1690. "security": [
  1691. {
  1692. "ApiKeyAuth": []
  1693. }
  1694. ],
  1695. "produces": [
  1696. "application/json"
  1697. ],
  1698. "tags": [
  1699. "企业风险管理(app)"
  1700. ],
  1701. "summary": "查询变更记录",
  1702. "parameters": [
  1703. {
  1704. "type": "string",
  1705. "description": "合同ID",
  1706. "name": "RelatedId",
  1707. "in": "query",
  1708. "required": true
  1709. }
  1710. ],
  1711. "responses": {
  1712. "200": {
  1713. "description": "OK",
  1714. "schema": {
  1715. "type": "array",
  1716. "items": {
  1717. "$ref": "#/definitions/ermcp.QryOPLogRsp"
  1718. }
  1719. }
  1720. },
  1721. "500": {
  1722. "description": "Internal Server Error",
  1723. "schema": {
  1724. "$ref": "#/definitions/app.Response"
  1725. }
  1726. }
  1727. }
  1728. }
  1729. },
  1730. "/Ermcp/QueryErmcpHisOrderDetails": {
  1731. "get": {
  1732. "security": [
  1733. {
  1734. "ApiKeyAuth": []
  1735. }
  1736. ],
  1737. "produces": [
  1738. "application/json"
  1739. ],
  1740. "tags": [
  1741. "企业风险管理(app)"
  1742. ],
  1743. "summary": "获取企业风管期货历史委托单信息",
  1744. "parameters": [
  1745. {
  1746. "type": "integer",
  1747. "description": "资金账户ID",
  1748. "name": "accountID",
  1749. "in": "query",
  1750. "required": true
  1751. },
  1752. {
  1753. "type": "string",
  1754. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  1755. "name": "startDate",
  1756. "in": "query"
  1757. },
  1758. {
  1759. "type": "string",
  1760. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  1761. "name": "endDate",
  1762. "in": "query"
  1763. }
  1764. ],
  1765. "responses": {
  1766. "200": {
  1767. "description": "OK",
  1768. "schema": {
  1769. "$ref": "#/definitions/models.QueryHedgeOrderDetailRsp"
  1770. }
  1771. },
  1772. "500": {
  1773. "description": "Internal Server Error",
  1774. "schema": {
  1775. "$ref": "#/definitions/app.Response"
  1776. }
  1777. }
  1778. }
  1779. }
  1780. },
  1781. "/Ermcp/QueryErmcpHisTradeDetails": {
  1782. "get": {
  1783. "security": [
  1784. {
  1785. "ApiKeyAuth": []
  1786. }
  1787. ],
  1788. "produces": [
  1789. "application/json"
  1790. ],
  1791. "tags": [
  1792. "企业风险管理(app)"
  1793. ],
  1794. "summary": "获取企业风管期货历史成交单信息",
  1795. "parameters": [
  1796. {
  1797. "type": "integer",
  1798. "description": "资金账户ID",
  1799. "name": "accountID",
  1800. "in": "query",
  1801. "required": true
  1802. },
  1803. {
  1804. "type": "integer",
  1805. "description": "商品ID",
  1806. "name": "goodsID",
  1807. "in": "query"
  1808. },
  1809. {
  1810. "type": "integer",
  1811. "description": "买卖方向,0:买 1:卖",
  1812. "name": "buyOrSell",
  1813. "in": "query"
  1814. },
  1815. {
  1816. "type": "integer",
  1817. "description": "关联委托单号",
  1818. "name": "orderID",
  1819. "in": "query"
  1820. },
  1821. {
  1822. "type": "string",
  1823. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  1824. "name": "startDate",
  1825. "in": "query"
  1826. },
  1827. {
  1828. "type": "string",
  1829. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  1830. "name": "endDate",
  1831. "in": "query"
  1832. }
  1833. ],
  1834. "responses": {
  1835. "200": {
  1836. "description": "OK",
  1837. "schema": {
  1838. "$ref": "#/definitions/models.QueryHedgeTradeDetailRsp"
  1839. }
  1840. },
  1841. "500": {
  1842. "description": "Internal Server Error",
  1843. "schema": {
  1844. "$ref": "#/definitions/app.Response"
  1845. }
  1846. }
  1847. }
  1848. }
  1849. },
  1850. "/Ermcp/QueryErmcpInnerHolderDetails": {
  1851. "get": {
  1852. "security": [
  1853. {
  1854. "ApiKeyAuth": []
  1855. }
  1856. ],
  1857. "produces": [
  1858. "application/json"
  1859. ],
  1860. "tags": [
  1861. "企业风险管理(app)"
  1862. ],
  1863. "summary": "获取企业风管期货内部持仓单信息",
  1864. "parameters": [
  1865. {
  1866. "type": "integer",
  1867. "description": "资金账户ID",
  1868. "name": "accountID",
  1869. "in": "query",
  1870. "required": true
  1871. },
  1872. {
  1873. "type": "integer",
  1874. "description": "商品ID",
  1875. "name": "goodsID",
  1876. "in": "query"
  1877. },
  1878. {
  1879. "type": "integer",
  1880. "description": "买卖方向,0:买 1:卖",
  1881. "name": "buyOrSell",
  1882. "in": "query"
  1883. }
  1884. ],
  1885. "responses": {
  1886. "200": {
  1887. "description": "OK",
  1888. "schema": {
  1889. "$ref": "#/definitions/models.Hedgeinnerholderdetail"
  1890. }
  1891. },
  1892. "500": {
  1893. "description": "Internal Server Error",
  1894. "schema": {
  1895. "$ref": "#/definitions/app.Response"
  1896. }
  1897. }
  1898. }
  1899. }
  1900. },
  1901. "/Ermcp/QueryErmcpOrderDetails": {
  1902. "get": {
  1903. "security": [
  1904. {
  1905. "ApiKeyAuth": []
  1906. }
  1907. ],
  1908. "produces": [
  1909. "application/json"
  1910. ],
  1911. "tags": [
  1912. "企业风险管理(app)"
  1913. ],
  1914. "summary": "获取企业风管期货委托单信息",
  1915. "parameters": [
  1916. {
  1917. "type": "integer",
  1918. "description": "资金账户ID",
  1919. "name": "accountID",
  1920. "in": "query",
  1921. "required": true
  1922. }
  1923. ],
  1924. "responses": {
  1925. "200": {
  1926. "description": "OK",
  1927. "schema": {
  1928. "$ref": "#/definitions/models.QueryHedgeOrderDetailRsp"
  1929. }
  1930. },
  1931. "500": {
  1932. "description": "Internal Server Error",
  1933. "schema": {
  1934. "$ref": "#/definitions/app.Response"
  1935. }
  1936. }
  1937. }
  1938. }
  1939. },
  1940. "/Ermcp/QueryErmcpTradeDetails": {
  1941. "get": {
  1942. "security": [
  1943. {
  1944. "ApiKeyAuth": []
  1945. }
  1946. ],
  1947. "produces": [
  1948. "application/json"
  1949. ],
  1950. "tags": [
  1951. "企业风险管理(app)"
  1952. ],
  1953. "summary": "获取企业风管期货成交单信息",
  1954. "parameters": [
  1955. {
  1956. "type": "integer",
  1957. "description": "资金账户ID",
  1958. "name": "accountID",
  1959. "in": "query",
  1960. "required": true
  1961. },
  1962. {
  1963. "type": "integer",
  1964. "description": "商品ID",
  1965. "name": "goodsID",
  1966. "in": "query"
  1967. },
  1968. {
  1969. "type": "integer",
  1970. "description": "买卖方向,0:买 1:卖",
  1971. "name": "buyOrSell",
  1972. "in": "query"
  1973. },
  1974. {
  1975. "type": "integer",
  1976. "description": "关联委托单号",
  1977. "name": "orderID",
  1978. "in": "query"
  1979. }
  1980. ],
  1981. "responses": {
  1982. "200": {
  1983. "description": "OK",
  1984. "schema": {
  1985. "$ref": "#/definitions/models.QueryHedgeTradeDetailRsp"
  1986. }
  1987. },
  1988. "500": {
  1989. "description": "Internal Server Error",
  1990. "schema": {
  1991. "$ref": "#/definitions/app.Response"
  1992. }
  1993. }
  1994. }
  1995. }
  1996. },
  1997. "/Ermcp/QueryErmcpTradePosition": {
  1998. "get": {
  1999. "security": [
  2000. {
  2001. "ApiKeyAuth": []
  2002. }
  2003. ],
  2004. "description": "本接口只使用于通道交易相关头寸查询;子账户持仓头寸占用保证金为0;",
  2005. "produces": [
  2006. "application/json"
  2007. ],
  2008. "tags": [
  2009. "企业风险管理(app)"
  2010. ],
  2011. "summary": "获取企业风管期货持仓头寸信息",
  2012. "parameters": [
  2013. {
  2014. "type": "integer",
  2015. "description": "资金账户ID",
  2016. "name": "accountID",
  2017. "in": "query",
  2018. "required": true
  2019. },
  2020. {
  2021. "type": "integer",
  2022. "description": "所属市场ID",
  2023. "name": "marketID",
  2024. "in": "query"
  2025. }
  2026. ],
  2027. "responses": {
  2028. "200": {
  2029. "description": "OK",
  2030. "schema": {
  2031. "$ref": "#/definitions/ermcp.QueryErmcpTradePositionRsp"
  2032. }
  2033. },
  2034. "500": {
  2035. "description": "Internal Server Error",
  2036. "schema": {
  2037. "$ref": "#/definitions/app.Response"
  2038. }
  2039. }
  2040. }
  2041. }
  2042. },
  2043. "/Ermcp/QueryExposureDetail": {
  2044. "get": {
  2045. "security": [
  2046. {
  2047. "ApiKeyAuth": []
  2048. }
  2049. ],
  2050. "produces": [
  2051. "application/json"
  2052. ],
  2053. "tags": [
  2054. "企业风险管理(app)"
  2055. ],
  2056. "summary": "查询敞口现货明细",
  2057. "parameters": [
  2058. {
  2059. "type": "integer",
  2060. "description": "所属机构ID",
  2061. "name": "areaUserId",
  2062. "in": "query",
  2063. "required": true
  2064. },
  2065. {
  2066. "type": "integer",
  2067. "description": "套保商品",
  2068. "name": "middleGoodsId",
  2069. "in": "query",
  2070. "required": true
  2071. }
  2072. ],
  2073. "responses": {
  2074. "200": {
  2075. "description": "OK",
  2076. "schema": {
  2077. "type": "array",
  2078. "items": {
  2079. "$ref": "#/definitions/ermcp.ExposureDetailRsp"
  2080. }
  2081. }
  2082. },
  2083. "500": {
  2084. "description": "Internal Server Error",
  2085. "schema": {
  2086. "$ref": "#/definitions/app.Response"
  2087. }
  2088. }
  2089. }
  2090. }
  2091. },
  2092. "/Ermcp/QueryExposureGoods": {
  2093. "get": {
  2094. "security": [
  2095. {
  2096. "ApiKeyAuth": []
  2097. }
  2098. ],
  2099. "produces": [
  2100. "application/json"
  2101. ],
  2102. "tags": [
  2103. "企业风险管理(app)"
  2104. ],
  2105. "summary": "查询敞口主力合约",
  2106. "parameters": [
  2107. {
  2108. "type": "integer",
  2109. "description": "套保商品id",
  2110. "name": "middlegoodsid",
  2111. "in": "query",
  2112. "required": true
  2113. }
  2114. ],
  2115. "responses": {
  2116. "200": {
  2117. "description": "OK",
  2118. "schema": {
  2119. "type": "array",
  2120. "items": {
  2121. "$ref": "#/definitions/models.ErmcpMiddlegoodsRelateGoods"
  2122. }
  2123. }
  2124. },
  2125. "500": {
  2126. "description": "Internal Server Error",
  2127. "schema": {
  2128. "$ref": "#/definitions/app.Response"
  2129. }
  2130. }
  2131. }
  2132. }
  2133. },
  2134. "/Ermcp/QueryExposureHedgePosition": {
  2135. "get": {
  2136. "security": [
  2137. {
  2138. "ApiKeyAuth": []
  2139. }
  2140. ],
  2141. "produces": [
  2142. "application/json"
  2143. ],
  2144. "tags": [
  2145. "企业风险管理(app)"
  2146. ],
  2147. "summary": "查询敞口期货头寸(菜单:敞口/期货头寸)",
  2148. "parameters": [
  2149. {
  2150. "type": "integer",
  2151. "description": "用户id",
  2152. "name": "userid",
  2153. "in": "query",
  2154. "required": true
  2155. }
  2156. ],
  2157. "responses": {
  2158. "200": {
  2159. "description": "OK",
  2160. "schema": {
  2161. "type": "array",
  2162. "items": {
  2163. "$ref": "#/definitions/ermcp.ExposureHedgePositionRsp"
  2164. }
  2165. }
  2166. },
  2167. "500": {
  2168. "description": "Internal Server Error",
  2169. "schema": {
  2170. "$ref": "#/definitions/app.Response"
  2171. }
  2172. }
  2173. }
  2174. }
  2175. },
  2176. "/Ermcp/QueryExposureHedgePositionDetail": {
  2177. "get": {
  2178. "security": [
  2179. {
  2180. "ApiKeyAuth": []
  2181. }
  2182. ],
  2183. "produces": [
  2184. "application/json"
  2185. ],
  2186. "tags": [
  2187. "企业风险管理(app)"
  2188. ],
  2189. "summary": "查询敞口期货头寸期货明细(菜单:敞口/期货头寸/期货明细)",
  2190. "parameters": [
  2191. {
  2192. "type": "integer",
  2193. "description": "所属机构ID",
  2194. "name": "userid",
  2195. "in": "query",
  2196. "required": true
  2197. },
  2198. {
  2199. "type": "integer",
  2200. "description": "商品id",
  2201. "name": "goodsId",
  2202. "in": "query",
  2203. "required": true
  2204. }
  2205. ],
  2206. "responses": {
  2207. "200": {
  2208. "description": "OK",
  2209. "schema": {
  2210. "type": "array",
  2211. "items": {
  2212. "$ref": "#/definitions/ermcp.ExposureHedgePosDetailRsp"
  2213. }
  2214. }
  2215. },
  2216. "500": {
  2217. "description": "Internal Server Error",
  2218. "schema": {
  2219. "$ref": "#/definitions/app.Response"
  2220. }
  2221. }
  2222. }
  2223. }
  2224. },
  2225. "/Ermcp/QueryExposureSpot": {
  2226. "get": {
  2227. "security": [
  2228. {
  2229. "ApiKeyAuth": []
  2230. }
  2231. ],
  2232. "produces": [
  2233. "application/json"
  2234. ],
  2235. "tags": [
  2236. "企业风险管理(app)"
  2237. ],
  2238. "summary": "查询敞口现货头寸(敞口/现货头寸)",
  2239. "parameters": [
  2240. {
  2241. "type": "integer",
  2242. "description": "所属机构ID",
  2243. "name": "areaUserId",
  2244. "in": "query",
  2245. "required": true
  2246. }
  2247. ],
  2248. "responses": {
  2249. "200": {
  2250. "description": "OK",
  2251. "schema": {
  2252. "type": "array",
  2253. "items": {
  2254. "$ref": "#/definitions/ermcp.ExposureSpotRsp"
  2255. }
  2256. }
  2257. },
  2258. "500": {
  2259. "description": "Internal Server Error",
  2260. "schema": {
  2261. "$ref": "#/definitions/app.Response"
  2262. }
  2263. }
  2264. }
  2265. }
  2266. },
  2267. "/Ermcp/QueryExposureSpotDetail": {
  2268. "get": {
  2269. "security": [
  2270. {
  2271. "ApiKeyAuth": []
  2272. }
  2273. ],
  2274. "produces": [
  2275. "application/json"
  2276. ],
  2277. "tags": [
  2278. "企业风险管理(app)"
  2279. ],
  2280. "summary": "查询敞口现货头寸明细(敞口/现货头寸/现货明细)",
  2281. "parameters": [
  2282. {
  2283. "type": "integer",
  2284. "description": "所属机构ID",
  2285. "name": "areaUserId",
  2286. "in": "query",
  2287. "required": true
  2288. },
  2289. {
  2290. "type": "integer",
  2291. "description": "现货品种ID",
  2292. "name": "wrstandardId",
  2293. "in": "query",
  2294. "required": true
  2295. }
  2296. ],
  2297. "responses": {
  2298. "200": {
  2299. "description": "OK",
  2300. "schema": {
  2301. "type": "array",
  2302. "items": {
  2303. "$ref": "#/definitions/ermcp.ExposureSpotDetailRsp"
  2304. }
  2305. }
  2306. },
  2307. "500": {
  2308. "description": "Internal Server Error",
  2309. "schema": {
  2310. "$ref": "#/definitions/app.Response"
  2311. }
  2312. }
  2313. }
  2314. }
  2315. },
  2316. "/Ermcp/QueryFuturesCompany": {
  2317. "get": {
  2318. "security": [
  2319. {
  2320. "ApiKeyAuth": []
  2321. }
  2322. ],
  2323. "produces": [
  2324. "application/json"
  2325. ],
  2326. "tags": [
  2327. "企业风险管理(app)"
  2328. ],
  2329. "summary": "查询期货公司",
  2330. "responses": {
  2331. "200": {
  2332. "description": "OK",
  2333. "schema": {
  2334. "type": "array",
  2335. "items": {
  2336. "$ref": "#/definitions/models.ErmcpFuturesCompany"
  2337. }
  2338. }
  2339. },
  2340. "500": {
  2341. "description": "Internal Server Error",
  2342. "schema": {
  2343. "$ref": "#/definitions/app.Response"
  2344. }
  2345. }
  2346. }
  2347. }
  2348. },
  2349. "/Ermcp/QueryGGConvertConfig": {
  2350. "get": {
  2351. "security": [
  2352. {
  2353. "ApiKeyAuth": []
  2354. }
  2355. ],
  2356. "produces": [
  2357. "application/json"
  2358. ],
  2359. "tags": [
  2360. "企业风险管理(app)"
  2361. ],
  2362. "summary": "查询期货品种配置(菜单:商品信息/期货品种)",
  2363. "parameters": [
  2364. {
  2365. "type": "integer",
  2366. "description": "品种id(不填则查所有)",
  2367. "name": "goodsgroupid",
  2368. "in": "query"
  2369. }
  2370. ],
  2371. "responses": {
  2372. "200": {
  2373. "description": "OK",
  2374. "schema": {
  2375. "type": "array",
  2376. "items": {
  2377. "$ref": "#/definitions/ermcp.QryGGCovertCfgRsp"
  2378. }
  2379. }
  2380. },
  2381. "500": {
  2382. "description": "Internal Server Error",
  2383. "schema": {
  2384. "$ref": "#/definitions/app.Response"
  2385. }
  2386. }
  2387. }
  2388. }
  2389. },
  2390. "/Ermcp/QueryGoodsBrand": {
  2391. "get": {
  2392. "security": [
  2393. {
  2394. "ApiKeyAuth": []
  2395. }
  2396. ],
  2397. "produces": [
  2398. "application/json"
  2399. ],
  2400. "tags": [
  2401. "企业风险管理(app)"
  2402. ],
  2403. "summary": "查询商品品牌",
  2404. "parameters": [
  2405. {
  2406. "type": "integer",
  2407. "description": "用户ID",
  2408. "name": "userid",
  2409. "in": "query",
  2410. "required": true
  2411. },
  2412. {
  2413. "type": "integer",
  2414. "description": "现货商品ID",
  2415. "name": "wrstandardid",
  2416. "in": "query"
  2417. }
  2418. ],
  2419. "responses": {
  2420. "200": {
  2421. "description": "OK",
  2422. "schema": {
  2423. "type": "array",
  2424. "items": {
  2425. "$ref": "#/definitions/models.ErmcpGoodsBrand"
  2426. }
  2427. }
  2428. },
  2429. "500": {
  2430. "description": "Internal Server Error",
  2431. "schema": {
  2432. "$ref": "#/definitions/app.Response"
  2433. }
  2434. }
  2435. }
  2436. }
  2437. },
  2438. "/Ermcp/QueryGoodsModel": {
  2439. "get": {
  2440. "security": [
  2441. {
  2442. "ApiKeyAuth": []
  2443. }
  2444. ],
  2445. "produces": [
  2446. "application/json"
  2447. ],
  2448. "tags": [
  2449. "企业风险管理(app)"
  2450. ],
  2451. "summary": "查询商品型号",
  2452. "parameters": [
  2453. {
  2454. "type": "integer",
  2455. "description": "用户ID",
  2456. "name": "userid",
  2457. "in": "query",
  2458. "required": true
  2459. }
  2460. ],
  2461. "responses": {
  2462. "200": {
  2463. "description": "OK",
  2464. "schema": {
  2465. "type": "array",
  2466. "items": {
  2467. "$ref": "#/definitions/models.ErmcpGoodsModel"
  2468. }
  2469. }
  2470. },
  2471. "500": {
  2472. "description": "Internal Server Error",
  2473. "schema": {
  2474. "$ref": "#/definitions/app.Response"
  2475. }
  2476. }
  2477. }
  2478. }
  2479. },
  2480. "/Ermcp/QueryHisExposure": {
  2481. "get": {
  2482. "security": [
  2483. {
  2484. "ApiKeyAuth": []
  2485. }
  2486. ],
  2487. "produces": [
  2488. "application/json"
  2489. ],
  2490. "tags": [
  2491. "企业风险管理(app)"
  2492. ],
  2493. "summary": "查询历史敞口(菜单:敞口/历史敞口)",
  2494. "parameters": [
  2495. {
  2496. "type": "integer",
  2497. "description": "用户id",
  2498. "name": "userid",
  2499. "in": "query",
  2500. "required": true
  2501. },
  2502. {
  2503. "type": "integer",
  2504. "description": "每个品种记录数",
  2505. "name": "lastNum",
  2506. "in": "query",
  2507. "required": true
  2508. }
  2509. ],
  2510. "responses": {
  2511. "200": {
  2512. "description": "OK",
  2513. "schema": {
  2514. "type": "array",
  2515. "items": {
  2516. "$ref": "#/definitions/ermcp.HisExposureRsp"
  2517. }
  2518. }
  2519. },
  2520. "500": {
  2521. "description": "Internal Server Error",
  2522. "schema": {
  2523. "$ref": "#/definitions/app.Response"
  2524. }
  2525. }
  2526. }
  2527. }
  2528. },
  2529. "/Ermcp/QueryMiddleGoods": {
  2530. "get": {
  2531. "security": [
  2532. {
  2533. "ApiKeyAuth": []
  2534. }
  2535. ],
  2536. "produces": [
  2537. "application/json"
  2538. ],
  2539. "tags": [
  2540. "企业风险管理(app)"
  2541. ],
  2542. "summary": "查询套保品种(菜单:套保品种)",
  2543. "parameters": [
  2544. {
  2545. "type": "integer",
  2546. "description": "所属机构ID",
  2547. "name": "userid",
  2548. "in": "query",
  2549. "required": true
  2550. },
  2551. {
  2552. "type": "integer",
  2553. "description": "状态 0-停用 1-正常",
  2554. "name": "status",
  2555. "in": "query",
  2556. "required": true
  2557. }
  2558. ],
  2559. "responses": {
  2560. "200": {
  2561. "description": "OK",
  2562. "schema": {
  2563. "type": "array",
  2564. "items": {
  2565. "$ref": "#/definitions/ermcp.QryMiddleGoodsRsp"
  2566. }
  2567. }
  2568. },
  2569. "500": {
  2570. "description": "Internal Server Error",
  2571. "schema": {
  2572. "$ref": "#/definitions/app.Response"
  2573. }
  2574. }
  2575. }
  2576. }
  2577. },
  2578. "/Ermcp/QueryMiddleGoodsChangeLog": {
  2579. "get": {
  2580. "security": [
  2581. {
  2582. "ApiKeyAuth": []
  2583. }
  2584. ],
  2585. "produces": [
  2586. "application/json"
  2587. ],
  2588. "tags": [
  2589. "企业风险管理(app)"
  2590. ],
  2591. "summary": "查询套保品种变更记录(菜单:套保品种/商品详情/变更记录)",
  2592. "parameters": [
  2593. {
  2594. "type": "integer",
  2595. "description": "所属机构ID",
  2596. "name": "userid",
  2597. "in": "query",
  2598. "required": true
  2599. },
  2600. {
  2601. "type": "integer",
  2602. "description": "套保品种id",
  2603. "name": "middlegoodsid",
  2604. "in": "query",
  2605. "required": true
  2606. }
  2607. ],
  2608. "responses": {
  2609. "200": {
  2610. "description": "OK",
  2611. "schema": {
  2612. "type": "array",
  2613. "items": {
  2614. "$ref": "#/definitions/ermcp.QryMGChangeLogRsp"
  2615. }
  2616. }
  2617. },
  2618. "500": {
  2619. "description": "Internal Server Error",
  2620. "schema": {
  2621. "$ref": "#/definitions/app.Response"
  2622. }
  2623. }
  2624. }
  2625. }
  2626. },
  2627. "/Ermcp/QueryMiddleGoodsDetail": {
  2628. "get": {
  2629. "security": [
  2630. {
  2631. "ApiKeyAuth": []
  2632. }
  2633. ],
  2634. "produces": [
  2635. "application/json"
  2636. ],
  2637. "tags": [
  2638. "企业风险管理(app)"
  2639. ],
  2640. "summary": "查询套保品种详情(菜单:套保品种/商品详情)",
  2641. "parameters": [
  2642. {
  2643. "type": "integer",
  2644. "description": "所属机构ID",
  2645. "name": "userid",
  2646. "in": "query",
  2647. "required": true
  2648. },
  2649. {
  2650. "type": "integer",
  2651. "description": "套保品种id",
  2652. "name": "middlegoodsid",
  2653. "in": "query"
  2654. }
  2655. ],
  2656. "responses": {
  2657. "200": {
  2658. "description": "OK",
  2659. "schema": {
  2660. "type": "array",
  2661. "items": {
  2662. "$ref": "#/definitions/ermcp.QryMiddleGoodsDetailRsp"
  2663. }
  2664. }
  2665. },
  2666. "500": {
  2667. "description": "Internal Server Error",
  2668. "schema": {
  2669. "$ref": "#/definitions/app.Response"
  2670. }
  2671. }
  2672. }
  2673. }
  2674. },
  2675. "/Ermcp/QueryPendingAuditInfo": {
  2676. "get": {
  2677. "security": [
  2678. {
  2679. "ApiKeyAuth": []
  2680. }
  2681. ],
  2682. "produces": [
  2683. "application/json"
  2684. ],
  2685. "tags": [
  2686. "企业风险管理(app)"
  2687. ],
  2688. "summary": "查询待审核数量信息(首页/菜单按钮小红点)",
  2689. "parameters": [
  2690. {
  2691. "type": "integer",
  2692. "description": "用户ID",
  2693. "name": "UserId",
  2694. "in": "query",
  2695. "required": true
  2696. }
  2697. ],
  2698. "responses": {
  2699. "200": {
  2700. "description": "OK",
  2701. "schema": {
  2702. "type": "array",
  2703. "items": {
  2704. "$ref": "#/definitions/ermcp.PendingAuditCntRsp"
  2705. }
  2706. }
  2707. },
  2708. "500": {
  2709. "description": "Internal Server Error",
  2710. "schema": {
  2711. "$ref": "#/definitions/app.Response"
  2712. }
  2713. }
  2714. }
  2715. }
  2716. },
  2717. "/Ermcp/QueryRealtimeExposure": {
  2718. "get": {
  2719. "security": [
  2720. {
  2721. "ApiKeyAuth": []
  2722. }
  2723. ],
  2724. "produces": [
  2725. "application/json"
  2726. ],
  2727. "tags": [
  2728. "企业风险管理(app)"
  2729. ],
  2730. "summary": "查询实时敞口",
  2731. "parameters": [
  2732. {
  2733. "type": "integer",
  2734. "description": "所属机构ID",
  2735. "name": "userid",
  2736. "in": "query",
  2737. "required": true
  2738. }
  2739. ],
  2740. "responses": {
  2741. "200": {
  2742. "description": "OK",
  2743. "schema": {
  2744. "type": "array",
  2745. "items": {
  2746. "$ref": "#/definitions/ermcp.RealtimeExposureRsp"
  2747. }
  2748. }
  2749. },
  2750. "500": {
  2751. "description": "Internal Server Error",
  2752. "schema": {
  2753. "$ref": "#/definitions/app.Response"
  2754. }
  2755. }
  2756. }
  2757. }
  2758. },
  2759. "/Ermcp/QueryRealtimeExposurePosition": {
  2760. "get": {
  2761. "security": [
  2762. {
  2763. "ApiKeyAuth": []
  2764. }
  2765. ],
  2766. "produces": [
  2767. "application/json"
  2768. ],
  2769. "tags": [
  2770. "企业风险管理(app)"
  2771. ],
  2772. "summary": "查询实时敞口期货头寸明细(菜单:实时敞口/期货明细)",
  2773. "parameters": [
  2774. {
  2775. "type": "integer",
  2776. "description": "用户id",
  2777. "name": "userid",
  2778. "in": "query",
  2779. "required": true
  2780. },
  2781. {
  2782. "type": "integer",
  2783. "description": "套保商品ID",
  2784. "name": "middleGoodsId",
  2785. "in": "query",
  2786. "required": true
  2787. }
  2788. ],
  2789. "responses": {
  2790. "200": {
  2791. "description": "OK",
  2792. "schema": {
  2793. "type": "array",
  2794. "items": {
  2795. "$ref": "#/definitions/ermcp.RealtimeExposurePositionRsp"
  2796. }
  2797. }
  2798. },
  2799. "500": {
  2800. "description": "Internal Server Error",
  2801. "schema": {
  2802. "$ref": "#/definitions/app.Response"
  2803. }
  2804. }
  2805. }
  2806. }
  2807. },
  2808. "/Ermcp/QueryRoleMenu": {
  2809. "get": {
  2810. "security": [
  2811. {
  2812. "ApiKeyAuth": []
  2813. }
  2814. ],
  2815. "produces": [
  2816. "application/json"
  2817. ],
  2818. "tags": [
  2819. "企业风险管理(app)"
  2820. ],
  2821. "summary": "查询角色菜单和权限",
  2822. "parameters": [
  2823. {
  2824. "type": "integer",
  2825. "description": "登录ID",
  2826. "name": "loginid",
  2827. "in": "query",
  2828. "required": true
  2829. },
  2830. {
  2831. "type": "integer",
  2832. "description": "菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 4:仓单贸易",
  2833. "name": "menutype",
  2834. "in": "query"
  2835. }
  2836. ],
  2837. "responses": {
  2838. "200": {
  2839. "description": "OK",
  2840. "schema": {
  2841. "type": "array",
  2842. "items": {
  2843. "$ref": "#/definitions/models.RoleMenu"
  2844. }
  2845. }
  2846. },
  2847. "500": {
  2848. "description": "Internal Server Error",
  2849. "schema": {
  2850. "$ref": "#/definitions/app.Response"
  2851. }
  2852. }
  2853. }
  2854. }
  2855. },
  2856. "/Ermcp/QueryTradeConfigTMP": {
  2857. "get": {
  2858. "security": [
  2859. {
  2860. "ApiKeyAuth": []
  2861. }
  2862. ],
  2863. "produces": [
  2864. "application/json"
  2865. ],
  2866. "tags": [
  2867. "企业风险管理(app)"
  2868. ],
  2869. "summary": "查询交易模板配置",
  2870. "parameters": [
  2871. {
  2872. "type": "integer",
  2873. "description": "所属机构id",
  2874. "name": "areauserid",
  2875. "in": "query"
  2876. }
  2877. ],
  2878. "responses": {
  2879. "200": {
  2880. "description": "OK",
  2881. "schema": {
  2882. "type": "array",
  2883. "items": {
  2884. "$ref": "#/definitions/models.ErmcpTradeConfigTMP"
  2885. }
  2886. }
  2887. },
  2888. "500": {
  2889. "description": "Internal Server Error",
  2890. "schema": {
  2891. "$ref": "#/definitions/app.Response"
  2892. }
  2893. }
  2894. }
  2895. }
  2896. },
  2897. "/Ermcp/QueryUserInfo": {
  2898. "get": {
  2899. "security": [
  2900. {
  2901. "ApiKeyAuth": []
  2902. }
  2903. ],
  2904. "produces": [
  2905. "application/json"
  2906. ],
  2907. "tags": [
  2908. "企业风险管理(app)"
  2909. ],
  2910. "summary": "查询客户资料",
  2911. "parameters": [
  2912. {
  2913. "type": "integer",
  2914. "description": "所属机构用户ID",
  2915. "name": "MemberUserID",
  2916. "in": "query",
  2917. "required": true
  2918. },
  2919. {
  2920. "type": "integer",
  2921. "description": "查询类型(1:未提交 2:待审核 3:正常 4:停用)",
  2922. "name": "queryType",
  2923. "in": "query",
  2924. "required": true
  2925. }
  2926. ],
  2927. "responses": {
  2928. "200": {
  2929. "description": "OK",
  2930. "schema": {
  2931. "type": "array",
  2932. "items": {
  2933. "$ref": "#/definitions/ermcp.QryUserInfoRsp"
  2934. }
  2935. }
  2936. },
  2937. "500": {
  2938. "description": "Internal Server Error",
  2939. "schema": {
  2940. "$ref": "#/definitions/app.Response"
  2941. }
  2942. }
  2943. }
  2944. }
  2945. },
  2946. "/Ermcp/QueryWarehouseInfo": {
  2947. "get": {
  2948. "security": [
  2949. {
  2950. "ApiKeyAuth": []
  2951. }
  2952. ],
  2953. "produces": [
  2954. "application/json"
  2955. ],
  2956. "tags": [
  2957. "企业风险管理(app)"
  2958. ],
  2959. "summary": "查询仓库信息",
  2960. "parameters": [
  2961. {
  2962. "type": "integer",
  2963. "description": "用户ID",
  2964. "name": "userid",
  2965. "in": "query",
  2966. "required": true
  2967. },
  2968. {
  2969. "type": "string",
  2970. "description": "仓库状态(可多项,逗号隔开) 1:正常 2:注销 3:待审核 4:审核拒绝",
  2971. "name": "status",
  2972. "in": "query"
  2973. }
  2974. ],
  2975. "responses": {
  2976. "200": {
  2977. "description": "OK",
  2978. "schema": {
  2979. "type": "array",
  2980. "items": {
  2981. "$ref": "#/definitions/ermcp.QryWarehouseRsp"
  2982. }
  2983. }
  2984. },
  2985. "500": {
  2986. "description": "Internal Server Error",
  2987. "schema": {
  2988. "$ref": "#/definitions/app.Response"
  2989. }
  2990. }
  2991. }
  2992. }
  2993. },
  2994. "/Ermcp3/QryAreaExpourseContractDetail": {
  2995. "get": {
  2996. "security": [
  2997. {
  2998. "ApiKeyAuth": []
  2999. }
  3000. ],
  3001. "produces": [
  3002. "application/json"
  3003. ],
  3004. "tags": [
  3005. "企业风险管理v3(app)"
  3006. ],
  3007. "summary": "查询敞口合同明细(敞口报表/现货合同明细)",
  3008. "parameters": [
  3009. {
  3010. "type": "integer",
  3011. "description": "用户ID",
  3012. "name": "userid",
  3013. "in": "query",
  3014. "required": true
  3015. },
  3016. {
  3017. "type": "integer",
  3018. "description": "套保商品id",
  3019. "name": "middlegoodsid",
  3020. "in": "query",
  3021. "required": true
  3022. },
  3023. {
  3024. "type": "integer",
  3025. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3026. "name": "cycletype",
  3027. "in": "query",
  3028. "required": true
  3029. },
  3030. {
  3031. "type": "string",
  3032. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3033. "name": "cycletime",
  3034. "in": "query",
  3035. "required": true
  3036. }
  3037. ],
  3038. "responses": {
  3039. "200": {
  3040. "description": "OK",
  3041. "schema": {
  3042. "type": "array",
  3043. "items": {
  3044. "$ref": "#/definitions/models.Ermcp3ExposureContractDetail"
  3045. }
  3046. }
  3047. },
  3048. "500": {
  3049. "description": "Internal Server Error",
  3050. "schema": {
  3051. "$ref": "#/definitions/app.Response"
  3052. }
  3053. }
  3054. }
  3055. }
  3056. },
  3057. "/Ermcp3/QryAreaExpourseFutuDetail": {
  3058. "get": {
  3059. "security": [
  3060. {
  3061. "ApiKeyAuth": []
  3062. }
  3063. ],
  3064. "produces": [
  3065. "application/json"
  3066. ],
  3067. "tags": [
  3068. "企业风险管理v3(app)"
  3069. ],
  3070. "summary": "查询敞口期货明细(敞口报表/期货明细)",
  3071. "parameters": [
  3072. {
  3073. "type": "integer",
  3074. "description": "用户ID",
  3075. "name": "userid",
  3076. "in": "query",
  3077. "required": true
  3078. },
  3079. {
  3080. "type": "integer",
  3081. "description": "套保商品id",
  3082. "name": "middlegoodsid",
  3083. "in": "query",
  3084. "required": true
  3085. },
  3086. {
  3087. "type": "integer",
  3088. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3089. "name": "cycletype",
  3090. "in": "query",
  3091. "required": true
  3092. },
  3093. {
  3094. "type": "string",
  3095. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3096. "name": "cycletime",
  3097. "in": "query",
  3098. "required": true
  3099. }
  3100. ],
  3101. "responses": {
  3102. "200": {
  3103. "description": "OK",
  3104. "schema": {
  3105. "type": "array",
  3106. "items": {
  3107. "$ref": "#/definitions/models.Ermcp3ExposureFutuDetail"
  3108. }
  3109. }
  3110. },
  3111. "500": {
  3112. "description": "Internal Server Error",
  3113. "schema": {
  3114. "$ref": "#/definitions/app.Response"
  3115. }
  3116. }
  3117. }
  3118. }
  3119. },
  3120. "/Ermcp3/QryAreaExpourseHedgeplanDetail": {
  3121. "get": {
  3122. "security": [
  3123. {
  3124. "ApiKeyAuth": []
  3125. }
  3126. ],
  3127. "produces": [
  3128. "application/json"
  3129. ],
  3130. "tags": [
  3131. "企业风险管理v3(app)"
  3132. ],
  3133. "summary": "查询敞口套保计划明细(敞口报表/套保计划明细)",
  3134. "parameters": [
  3135. {
  3136. "type": "integer",
  3137. "description": "用户ID",
  3138. "name": "userid",
  3139. "in": "query",
  3140. "required": true
  3141. },
  3142. {
  3143. "type": "integer",
  3144. "description": "套保商品id",
  3145. "name": "middlegoodsid",
  3146. "in": "query",
  3147. "required": true
  3148. },
  3149. {
  3150. "type": "integer",
  3151. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3152. "name": "cycletype",
  3153. "in": "query",
  3154. "required": true
  3155. },
  3156. {
  3157. "type": "string",
  3158. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3159. "name": "cycletime",
  3160. "in": "query",
  3161. "required": true
  3162. }
  3163. ],
  3164. "responses": {
  3165. "200": {
  3166. "description": "OK",
  3167. "schema": {
  3168. "type": "array",
  3169. "items": {
  3170. "$ref": "#/definitions/models.Ermcp3ExposureHedgeplanDetail"
  3171. }
  3172. }
  3173. },
  3174. "500": {
  3175. "description": "Internal Server Error",
  3176. "schema": {
  3177. "$ref": "#/definitions/app.Response"
  3178. }
  3179. }
  3180. }
  3181. }
  3182. },
  3183. "/Ermcp3/QryAreaExpourseParamChLogDetail": {
  3184. "get": {
  3185. "security": [
  3186. {
  3187. "ApiKeyAuth": []
  3188. }
  3189. ],
  3190. "produces": [
  3191. "application/json"
  3192. ],
  3193. "tags": [
  3194. "企业风险管理v3(app)"
  3195. ],
  3196. "summary": "查询敞口参数调整明细(敞口报表/参数调整明细)",
  3197. "parameters": [
  3198. {
  3199. "type": "integer",
  3200. "description": "用户ID",
  3201. "name": "userid",
  3202. "in": "query",
  3203. "required": true
  3204. },
  3205. {
  3206. "type": "integer",
  3207. "description": "套保商品id",
  3208. "name": "middlegoodsid",
  3209. "in": "query",
  3210. "required": true
  3211. },
  3212. {
  3213. "type": "integer",
  3214. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3215. "name": "cycletype",
  3216. "in": "query",
  3217. "required": true
  3218. },
  3219. {
  3220. "type": "string",
  3221. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3222. "name": "cycletime",
  3223. "in": "query",
  3224. "required": true
  3225. }
  3226. ],
  3227. "responses": {
  3228. "200": {
  3229. "description": "OK",
  3230. "schema": {
  3231. "type": "array",
  3232. "items": {
  3233. "$ref": "#/definitions/models.Ermcp3ExposureParamChLog"
  3234. }
  3235. }
  3236. },
  3237. "500": {
  3238. "description": "Internal Server Error",
  3239. "schema": {
  3240. "$ref": "#/definitions/app.Response"
  3241. }
  3242. }
  3243. }
  3244. }
  3245. },
  3246. "/Ermcp3/QryAreaExpourseReport": {
  3247. "get": {
  3248. "security": [
  3249. {
  3250. "ApiKeyAuth": []
  3251. }
  3252. ],
  3253. "produces": [
  3254. "application/json"
  3255. ],
  3256. "tags": [
  3257. "企业风险管理v3(app)"
  3258. ],
  3259. "summary": "查询敞口报表",
  3260. "parameters": [
  3261. {
  3262. "type": "integer",
  3263. "description": "用户ID",
  3264. "name": "userid",
  3265. "in": "query",
  3266. "required": true
  3267. },
  3268. {
  3269. "type": "integer",
  3270. "description": "查询类型 1-报表, 这个接口只查报表;明细的字段完全不同,另有接口",
  3271. "name": "querytype",
  3272. "in": "query",
  3273. "required": true
  3274. },
  3275. {
  3276. "type": "integer",
  3277. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3278. "name": "cycletype",
  3279. "in": "query",
  3280. "required": true
  3281. },
  3282. {
  3283. "type": "string",
  3284. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3285. "name": "cycletime",
  3286. "in": "query",
  3287. "required": true
  3288. }
  3289. ],
  3290. "responses": {
  3291. "200": {
  3292. "description": "OK",
  3293. "schema": {
  3294. "type": "array",
  3295. "items": {
  3296. "$ref": "#/definitions/models.Ermcp3ExpourseReport"
  3297. }
  3298. }
  3299. },
  3300. "500": {
  3301. "description": "Internal Server Error",
  3302. "schema": {
  3303. "$ref": "#/definitions/app.Response"
  3304. }
  3305. }
  3306. }
  3307. }
  3308. },
  3309. "/Ermcp3/QryAreaSpotplReport": {
  3310. "get": {
  3311. "security": [
  3312. {
  3313. "ApiKeyAuth": []
  3314. }
  3315. ],
  3316. "produces": [
  3317. "application/json"
  3318. ],
  3319. "tags": [
  3320. "企业风险管理v3(app)"
  3321. ],
  3322. "summary": "查询现货报表",
  3323. "parameters": [
  3324. {
  3325. "type": "integer",
  3326. "description": "用户ID",
  3327. "name": "userid",
  3328. "in": "query",
  3329. "required": true
  3330. },
  3331. {
  3332. "type": "integer",
  3333. "description": "查询类型 1-报表 2-报表明细",
  3334. "name": "querytype",
  3335. "in": "query",
  3336. "required": true
  3337. },
  3338. {
  3339. "type": "integer",
  3340. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3341. "name": "cycletype",
  3342. "in": "query",
  3343. "required": true
  3344. },
  3345. {
  3346. "type": "string",
  3347. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3348. "name": "cycletime",
  3349. "in": "query",
  3350. "required": true
  3351. },
  3352. {
  3353. "type": "integer",
  3354. "description": "现货品种id(明细必填)",
  3355. "name": "deliverygoodsid",
  3356. "in": "query"
  3357. },
  3358. {
  3359. "type": "integer",
  3360. "description": "币种id(明细必填)",
  3361. "name": "currencyid",
  3362. "in": "query"
  3363. }
  3364. ],
  3365. "responses": {
  3366. "200": {
  3367. "description": "OK",
  3368. "schema": {
  3369. "type": "array",
  3370. "items": {
  3371. "$ref": "#/definitions/models.Ermcp3AreaSpotPLReport"
  3372. }
  3373. }
  3374. },
  3375. "500": {
  3376. "description": "Internal Server Error",
  3377. "schema": {
  3378. "$ref": "#/definitions/app.Response"
  3379. }
  3380. }
  3381. }
  3382. }
  3383. },
  3384. "/Ermcp3/QryAreaStockReport": {
  3385. "get": {
  3386. "security": [
  3387. {
  3388. "ApiKeyAuth": []
  3389. }
  3390. ],
  3391. "produces": [
  3392. "application/json"
  3393. ],
  3394. "tags": [
  3395. "企业风险管理v3(app)"
  3396. ],
  3397. "summary": "查询库存报表",
  3398. "parameters": [
  3399. {
  3400. "type": "integer",
  3401. "description": "用户ID",
  3402. "name": "userid",
  3403. "in": "query",
  3404. "required": true
  3405. },
  3406. {
  3407. "type": "integer",
  3408. "description": "查询类型 1-报表 2-报表明细",
  3409. "name": "querytype",
  3410. "in": "query",
  3411. "required": true
  3412. },
  3413. {
  3414. "type": "integer",
  3415. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3416. "name": "cycletype",
  3417. "in": "query",
  3418. "required": true
  3419. },
  3420. {
  3421. "type": "string",
  3422. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3423. "name": "cycletime",
  3424. "in": "query",
  3425. "required": true
  3426. },
  3427. {
  3428. "type": "string",
  3429. "description": "汇总维度(逗号隔开) 1-品种 2-品类 3-品牌 4-仓库",
  3430. "name": "sumfields",
  3431. "in": "query"
  3432. },
  3433. {
  3434. "type": "integer",
  3435. "description": "品种ID",
  3436. "name": "deliverygoodsid",
  3437. "in": "query"
  3438. },
  3439. {
  3440. "type": "integer",
  3441. "description": "品类ID",
  3442. "name": "wrstandardid",
  3443. "in": "query"
  3444. },
  3445. {
  3446. "type": "integer",
  3447. "description": "品牌ID",
  3448. "name": "spotgoodsbrandid",
  3449. "in": "query"
  3450. },
  3451. {
  3452. "type": "integer",
  3453. "description": "仓库ID",
  3454. "name": "warehouseinfoid",
  3455. "in": "query"
  3456. }
  3457. ],
  3458. "responses": {
  3459. "200": {
  3460. "description": "OK",
  3461. "schema": {
  3462. "type": "array",
  3463. "items": {
  3464. "$ref": "#/definitions/models.Ermcp3AreaStockReportEx"
  3465. }
  3466. }
  3467. },
  3468. "500": {
  3469. "description": "Internal Server Error",
  3470. "schema": {
  3471. "$ref": "#/definitions/app.Response"
  3472. }
  3473. }
  3474. }
  3475. }
  3476. },
  3477. "/Ermcp3/QryAreaSumPL": {
  3478. "get": {
  3479. "security": [
  3480. {
  3481. "ApiKeyAuth": []
  3482. }
  3483. ],
  3484. "produces": [
  3485. "application/json"
  3486. ],
  3487. "tags": [
  3488. "企业风险管理v3(app)"
  3489. ],
  3490. "summary": "查询汇总损益表",
  3491. "parameters": [
  3492. {
  3493. "type": "integer",
  3494. "description": "用户ID",
  3495. "name": "userid",
  3496. "in": "query",
  3497. "required": true
  3498. },
  3499. {
  3500. "type": "integer",
  3501. "description": "查询类型 1-报表 2-报表明细",
  3502. "name": "querytype",
  3503. "in": "query",
  3504. "required": true
  3505. },
  3506. {
  3507. "type": "integer",
  3508. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3509. "name": "cycletype",
  3510. "in": "query",
  3511. "required": true
  3512. },
  3513. {
  3514. "type": "string",
  3515. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3516. "name": "cycletime",
  3517. "in": "query",
  3518. "required": true
  3519. },
  3520. {
  3521. "type": "integer",
  3522. "description": "币种id(明细必填)",
  3523. "name": "currencyid",
  3524. "in": "query"
  3525. }
  3526. ],
  3527. "responses": {
  3528. "200": {
  3529. "description": "OK",
  3530. "schema": {
  3531. "type": "array",
  3532. "items": {
  3533. "$ref": "#/definitions/models.Ermcp3ArealSumPL"
  3534. }
  3535. }
  3536. },
  3537. "500": {
  3538. "description": "Internal Server Error",
  3539. "schema": {
  3540. "$ref": "#/definitions/app.Response"
  3541. }
  3542. }
  3543. }
  3544. }
  3545. },
  3546. "/Ermcp3/QryFinanceReport": {
  3547. "get": {
  3548. "security": [
  3549. {
  3550. "ApiKeyAuth": []
  3551. }
  3552. ],
  3553. "produces": [
  3554. "application/json"
  3555. ],
  3556. "tags": [
  3557. "企业风险管理v3(app)"
  3558. ],
  3559. "summary": "查询财务报表",
  3560. "parameters": [
  3561. {
  3562. "type": "integer",
  3563. "description": "用户ID",
  3564. "name": "userid",
  3565. "in": "query",
  3566. "required": true
  3567. },
  3568. {
  3569. "type": "integer",
  3570. "description": "查询类型 1-报表 2-报表明细",
  3571. "name": "querytype",
  3572. "in": "query",
  3573. "required": true
  3574. },
  3575. {
  3576. "type": "integer",
  3577. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3578. "name": "cycletype",
  3579. "in": "query",
  3580. "required": true
  3581. },
  3582. {
  3583. "type": "string",
  3584. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3585. "name": "cycletime",
  3586. "in": "query",
  3587. "required": true
  3588. },
  3589. {
  3590. "type": "integer",
  3591. "description": "币种id(报表明细必填)",
  3592. "name": "currencyid",
  3593. "in": "query"
  3594. },
  3595. {
  3596. "type": "string",
  3597. "description": "汇总维度(逗号隔开) 1-品种 2-品类 3-品牌",
  3598. "name": "sumfields",
  3599. "in": "query"
  3600. }
  3601. ],
  3602. "responses": {
  3603. "200": {
  3604. "description": "OK",
  3605. "schema": {
  3606. "type": "array",
  3607. "items": {
  3608. "$ref": "#/definitions/models.Ermcp3FinanceReport"
  3609. }
  3610. }
  3611. },
  3612. "500": {
  3613. "description": "Internal Server Error",
  3614. "schema": {
  3615. "$ref": "#/definitions/app.Response"
  3616. }
  3617. }
  3618. }
  3619. }
  3620. },
  3621. "/Ermcp3/QryTaFutureDataReport": {
  3622. "get": {
  3623. "security": [
  3624. {
  3625. "ApiKeyAuth": []
  3626. }
  3627. ],
  3628. "produces": [
  3629. "application/json"
  3630. ],
  3631. "tags": [
  3632. "企业风险管理v3(app)"
  3633. ],
  3634. "summary": "查询期货报表",
  3635. "parameters": [
  3636. {
  3637. "type": "integer",
  3638. "description": "用户ID",
  3639. "name": "userid",
  3640. "in": "query",
  3641. "required": true
  3642. },
  3643. {
  3644. "type": "integer",
  3645. "description": "查询类型 1-报表 2-报表明细",
  3646. "name": "querytype",
  3647. "in": "query",
  3648. "required": true
  3649. },
  3650. {
  3651. "type": "integer",
  3652. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3653. "name": "cycletype",
  3654. "in": "query",
  3655. "required": true
  3656. },
  3657. {
  3658. "type": "string",
  3659. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3660. "name": "cycletime",
  3661. "in": "query",
  3662. "required": true
  3663. },
  3664. {
  3665. "type": "integer",
  3666. "description": "币种id(查明细必填)",
  3667. "name": "currencyid",
  3668. "in": "query"
  3669. },
  3670. {
  3671. "type": "integer",
  3672. "description": "品种id(查明细必填)",
  3673. "name": "goodsgroupid",
  3674. "in": "query"
  3675. },
  3676. {
  3677. "type": "integer",
  3678. "description": "商品id(查明细必填)",
  3679. "name": "goodsid",
  3680. "in": "query"
  3681. },
  3682. {
  3683. "type": "integer",
  3684. "description": "买卖方向(查明细必填)",
  3685. "name": "buyorsell",
  3686. "in": "query"
  3687. }
  3688. ],
  3689. "responses": {
  3690. "200": {
  3691. "description": "OK",
  3692. "schema": {
  3693. "type": "array",
  3694. "items": {
  3695. "$ref": "#/definitions/models.Ermcp3TaFutuReDataReport"
  3696. }
  3697. }
  3698. },
  3699. "500": {
  3700. "description": "Internal Server Error",
  3701. "schema": {
  3702. "$ref": "#/definitions/app.Response"
  3703. }
  3704. }
  3705. }
  3706. }
  3707. },
  3708. "/Ermcp3/QueryAreaStock": {
  3709. "get": {
  3710. "security": [
  3711. {
  3712. "ApiKeyAuth": []
  3713. }
  3714. ],
  3715. "produces": [
  3716. "application/json"
  3717. ],
  3718. "tags": [
  3719. "企业风险管理v3(app)"
  3720. ],
  3721. "summary": "查询机构库存(库存管理/当前库存)",
  3722. "parameters": [
  3723. {
  3724. "type": "integer",
  3725. "description": "用户ID",
  3726. "name": "userid",
  3727. "in": "query",
  3728. "required": true
  3729. }
  3730. ],
  3731. "responses": {
  3732. "200": {
  3733. "description": "OK",
  3734. "schema": {
  3735. "type": "array",
  3736. "items": {
  3737. "$ref": "#/definitions/models.Ermcp3AreaStock"
  3738. }
  3739. }
  3740. },
  3741. "500": {
  3742. "description": "Internal Server Error",
  3743. "schema": {
  3744. "$ref": "#/definitions/app.Response"
  3745. }
  3746. }
  3747. }
  3748. }
  3749. },
  3750. "/Ermcp3/QueryAreaStockApply": {
  3751. "get": {
  3752. "security": [
  3753. {
  3754. "ApiKeyAuth": []
  3755. }
  3756. ],
  3757. "produces": [
  3758. "application/json"
  3759. ],
  3760. "tags": [
  3761. "企业风险管理v3(app)"
  3762. ],
  3763. "summary": "查询库存申请(出入库记录|库存审核)",
  3764. "parameters": [
  3765. {
  3766. "type": "integer",
  3767. "description": "用户ID",
  3768. "name": "userid",
  3769. "in": "query",
  3770. "required": true
  3771. },
  3772. {
  3773. "type": "integer",
  3774. "description": "用户类型 2-机构 7-企业成员",
  3775. "name": "usertype",
  3776. "in": "query"
  3777. },
  3778. {
  3779. "type": "integer",
  3780. "description": "现货商品ID",
  3781. "name": "deliverygoodsid",
  3782. "in": "query"
  3783. },
  3784. {
  3785. "type": "string",
  3786. "description": "出入库类型(可多项,逗号隔开) 5:采购入库 6:销售出库 7:生产入库 8:生产出库",
  3787. "name": "inouttype",
  3788. "in": "query"
  3789. },
  3790. {
  3791. "type": "integer",
  3792. "description": "合同ID",
  3793. "name": "spotcontractid",
  3794. "in": "query"
  3795. },
  3796. {
  3797. "type": "integer",
  3798. "description": "品类ID",
  3799. "name": "wrstandardid",
  3800. "in": "query"
  3801. },
  3802. {
  3803. "type": "integer",
  3804. "description": "品牌ID",
  3805. "name": "spotgoodsbrandid",
  3806. "in": "query"
  3807. },
  3808. {
  3809. "type": "integer",
  3810. "description": "仓库ID",
  3811. "name": "warehouseinfoid",
  3812. "in": "query"
  3813. },
  3814. {
  3815. "type": "string",
  3816. "description": "申请状态(可多项,逗号隔开)1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  3817. "name": "applystatus",
  3818. "in": "query"
  3819. }
  3820. ],
  3821. "responses": {
  3822. "200": {
  3823. "description": "OK",
  3824. "schema": {
  3825. "type": "array",
  3826. "items": {
  3827. "$ref": "#/definitions/models.Ermcp3AreaStockApply"
  3828. }
  3829. }
  3830. },
  3831. "500": {
  3832. "description": "Internal Server Error",
  3833. "schema": {
  3834. "$ref": "#/definitions/app.Response"
  3835. }
  3836. }
  3837. }
  3838. }
  3839. },
  3840. "/Ermcp3/QueryAreaStockApplySum": {
  3841. "get": {
  3842. "security": [
  3843. {
  3844. "ApiKeyAuth": []
  3845. }
  3846. ],
  3847. "produces": [
  3848. "application/json"
  3849. ],
  3850. "tags": [
  3851. "企业风险管理v3(app)"
  3852. ],
  3853. "summary": "查询已登记出入库信息(入库登记/已入库信息 | 出库登记/已出库信息)",
  3854. "parameters": [
  3855. {
  3856. "type": "integer",
  3857. "description": "合同ID",
  3858. "name": "spotcontractid",
  3859. "in": "query",
  3860. "required": true
  3861. }
  3862. ],
  3863. "responses": {
  3864. "200": {
  3865. "description": "OK",
  3866. "schema": {
  3867. "type": "array",
  3868. "items": {
  3869. "$ref": "#/definitions/models.Ermcp3AreaStockApplySum"
  3870. }
  3871. }
  3872. },
  3873. "500": {
  3874. "description": "Internal Server Error",
  3875. "schema": {
  3876. "$ref": "#/definitions/app.Response"
  3877. }
  3878. }
  3879. }
  3880. }
  3881. },
  3882. "/Ermcp3/QueryDGFactoryItem": {
  3883. "get": {
  3884. "security": [
  3885. {
  3886. "ApiKeyAuth": []
  3887. }
  3888. ],
  3889. "produces": [
  3890. "application/json"
  3891. ],
  3892. "tags": [
  3893. "企业风险管理v3(app)"
  3894. ],
  3895. "summary": "查询品种要素定义项",
  3896. "parameters": [
  3897. {
  3898. "type": "integer",
  3899. "description": "用户id",
  3900. "name": "userid",
  3901. "in": "query"
  3902. },
  3903. {
  3904. "type": "integer",
  3905. "description": "用户类型 2-机构 7-企业成员",
  3906. "name": "usertype",
  3907. "in": "query"
  3908. },
  3909. {
  3910. "type": "integer",
  3911. "description": "选择项ID(SEQ_DGFACTORYITEM)",
  3912. "name": "dgfactoryitemid",
  3913. "in": "query"
  3914. },
  3915. {
  3916. "type": "integer",
  3917. "description": "现货品种ID",
  3918. "name": "deliverygoodsid",
  3919. "in": "query"
  3920. },
  3921. {
  3922. "type": "integer",
  3923. "description": "要素项类型",
  3924. "name": "dgfactoryitemtypeid",
  3925. "in": "query"
  3926. },
  3927. {
  3928. "type": "integer",
  3929. "description": "顺序",
  3930. "name": "orderindex",
  3931. "in": "query"
  3932. }
  3933. ],
  3934. "responses": {
  3935. "200": {
  3936. "description": "OK",
  3937. "schema": {
  3938. "type": "array",
  3939. "items": {
  3940. "$ref": "#/definitions/models.ErmcpDGFactoryItem"
  3941. }
  3942. }
  3943. },
  3944. "500": {
  3945. "description": "Internal Server Error",
  3946. "schema": {
  3947. "$ref": "#/definitions/app.Response"
  3948. }
  3949. }
  3950. }
  3951. }
  3952. },
  3953. "/Ermcp3/QueryDeliveryGoods": {
  3954. "get": {
  3955. "security": [
  3956. {
  3957. "ApiKeyAuth": []
  3958. }
  3959. ],
  3960. "produces": [
  3961. "application/json"
  3962. ],
  3963. "tags": [
  3964. "企业风险管理v3(app)"
  3965. ],
  3966. "summary": "查询现货商品",
  3967. "parameters": [
  3968. {
  3969. "type": "integer",
  3970. "description": "用户id",
  3971. "name": "userid",
  3972. "in": "query",
  3973. "required": true
  3974. },
  3975. {
  3976. "type": "integer",
  3977. "description": "用户类型 2-机构 7-企业成员",
  3978. "name": "usertype",
  3979. "in": "query"
  3980. },
  3981. {
  3982. "type": "integer",
  3983. "description": "排除已配置的业务类型商品 1-套保 2-套利",
  3984. "name": "excludecfg",
  3985. "in": "query"
  3986. }
  3987. ],
  3988. "responses": {
  3989. "200": {
  3990. "description": "OK",
  3991. "schema": {
  3992. "type": "array",
  3993. "items": {
  3994. "$ref": "#/definitions/models.ErmcpDeliveryGoods"
  3995. }
  3996. }
  3997. },
  3998. "500": {
  3999. "description": "Internal Server Error",
  4000. "schema": {
  4001. "$ref": "#/definitions/app.Response"
  4002. }
  4003. }
  4004. }
  4005. }
  4006. },
  4007. "/Ermcp3/QueryDeliveryGoodsDetail": {
  4008. "get": {
  4009. "security": [
  4010. {
  4011. "ApiKeyAuth": []
  4012. }
  4013. ],
  4014. "produces": [
  4015. "application/json"
  4016. ],
  4017. "tags": [
  4018. "企业风险管理v3(app)"
  4019. ],
  4020. "summary": "查询现货商品详情",
  4021. "parameters": [
  4022. {
  4023. "type": "integer",
  4024. "description": "用户id",
  4025. "name": "userid",
  4026. "in": "query",
  4027. "required": true
  4028. },
  4029. {
  4030. "type": "integer",
  4031. "description": "用户类型 2-机构 7-企业成员",
  4032. "name": "usertype",
  4033. "in": "query"
  4034. },
  4035. {
  4036. "type": "integer",
  4037. "description": "现货商品id",
  4038. "name": "deliverygoodsid",
  4039. "in": "query"
  4040. }
  4041. ],
  4042. "responses": {
  4043. "200": {
  4044. "description": "OK",
  4045. "schema": {
  4046. "type": "array",
  4047. "items": {
  4048. "$ref": "#/definitions/models.ErmcpDeliveryGoodsDetailEx"
  4049. }
  4050. }
  4051. },
  4052. "500": {
  4053. "description": "Internal Server Error",
  4054. "schema": {
  4055. "$ref": "#/definitions/app.Response"
  4056. }
  4057. }
  4058. }
  4059. }
  4060. },
  4061. "/Ermcp3/QueryExposureDetail": {
  4062. "get": {
  4063. "security": [
  4064. {
  4065. "ApiKeyAuth": []
  4066. }
  4067. ],
  4068. "produces": [
  4069. "application/json"
  4070. ],
  4071. "tags": [
  4072. "企业风险管理v3(app)"
  4073. ],
  4074. "summary": "查询敞口现货明细",
  4075. "parameters": [
  4076. {
  4077. "type": "integer",
  4078. "description": "用户id",
  4079. "name": "userid",
  4080. "in": "query",
  4081. "required": true
  4082. },
  4083. {
  4084. "type": "integer",
  4085. "description": "用户类型 2-机构 7-企业成员",
  4086. "name": "usertype",
  4087. "in": "query"
  4088. },
  4089. {
  4090. "type": "integer",
  4091. "description": "套保商品",
  4092. "name": "middlegoodsid",
  4093. "in": "query",
  4094. "required": true
  4095. }
  4096. ],
  4097. "responses": {
  4098. "200": {
  4099. "description": "OK",
  4100. "schema": {
  4101. "type": "array",
  4102. "items": {
  4103. "$ref": "#/definitions/models.Ermcp3ExposureDetail"
  4104. }
  4105. }
  4106. },
  4107. "500": {
  4108. "description": "Internal Server Error",
  4109. "schema": {
  4110. "$ref": "#/definitions/app.Response"
  4111. }
  4112. }
  4113. }
  4114. }
  4115. },
  4116. "/Ermcp3/QueryExposureSpot": {
  4117. "get": {
  4118. "security": [
  4119. {
  4120. "ApiKeyAuth": []
  4121. }
  4122. ],
  4123. "produces": [
  4124. "application/json"
  4125. ],
  4126. "tags": [
  4127. "企业风险管理v3(app)"
  4128. ],
  4129. "summary": "查询敞口现货头寸(敞口/现货头寸)",
  4130. "parameters": [
  4131. {
  4132. "type": "integer",
  4133. "description": "用户id",
  4134. "name": "userid",
  4135. "in": "query",
  4136. "required": true
  4137. },
  4138. {
  4139. "type": "integer",
  4140. "description": "用户类型 2-机构 7-企业成员",
  4141. "name": "usertype",
  4142. "in": "query"
  4143. }
  4144. ],
  4145. "responses": {
  4146. "200": {
  4147. "description": "OK",
  4148. "schema": {
  4149. "type": "array",
  4150. "items": {
  4151. "$ref": "#/definitions/models.Ermcp3AreaSpot"
  4152. }
  4153. }
  4154. },
  4155. "500": {
  4156. "description": "Internal Server Error",
  4157. "schema": {
  4158. "$ref": "#/definitions/app.Response"
  4159. }
  4160. }
  4161. }
  4162. }
  4163. },
  4164. "/Ermcp3/QueryExposureSpotDetail": {
  4165. "get": {
  4166. "security": [
  4167. {
  4168. "ApiKeyAuth": []
  4169. }
  4170. ],
  4171. "produces": [
  4172. "application/json"
  4173. ],
  4174. "tags": [
  4175. "企业风险管理v3(app)"
  4176. ],
  4177. "summary": "查询敞口现货头寸明细(敞口/现货头寸/现货明细)",
  4178. "parameters": [
  4179. {
  4180. "type": "integer",
  4181. "description": "用户id",
  4182. "name": "userid",
  4183. "in": "query",
  4184. "required": true
  4185. },
  4186. {
  4187. "type": "integer",
  4188. "description": "用户类型 2-机构 7-企业成员",
  4189. "name": "usertype",
  4190. "in": "query"
  4191. },
  4192. {
  4193. "type": "integer",
  4194. "description": "现货品种ID",
  4195. "name": "deliverygoodsid",
  4196. "in": "query",
  4197. "required": true
  4198. }
  4199. ],
  4200. "responses": {
  4201. "200": {
  4202. "description": "OK",
  4203. "schema": {
  4204. "type": "array",
  4205. "items": {
  4206. "$ref": "#/definitions/models.Ermcp3AreaSpotDetail"
  4207. }
  4208. }
  4209. },
  4210. "500": {
  4211. "description": "Internal Server Error",
  4212. "schema": {
  4213. "$ref": "#/definitions/app.Response"
  4214. }
  4215. }
  4216. }
  4217. }
  4218. },
  4219. "/Ermcp3/QueryGoodsGroup": {
  4220. "get": {
  4221. "security": [
  4222. {
  4223. "ApiKeyAuth": []
  4224. }
  4225. ],
  4226. "produces": [
  4227. "application/json"
  4228. ],
  4229. "tags": [
  4230. "企业风险管理v3(app)"
  4231. ],
  4232. "summary": "查询期货商品组",
  4233. "parameters": [
  4234. {
  4235. "type": "integer",
  4236. "description": "用户id",
  4237. "name": "userid",
  4238. "in": "query",
  4239. "required": true
  4240. },
  4241. {
  4242. "type": "integer",
  4243. "description": "用户类型 2-机构 7-企业成员",
  4244. "name": "usertype",
  4245. "in": "query"
  4246. },
  4247. {
  4248. "type": "integer",
  4249. "description": "排除套保品中已关联的商品组 1-排除",
  4250. "name": "excludecfg",
  4251. "in": "query"
  4252. }
  4253. ],
  4254. "responses": {
  4255. "200": {
  4256. "description": "OK",
  4257. "schema": {
  4258. "type": "array",
  4259. "items": {
  4260. "$ref": "#/definitions/models.Ermcp3GoodsGroup"
  4261. }
  4262. }
  4263. },
  4264. "500": {
  4265. "description": "Internal Server Error",
  4266. "schema": {
  4267. "$ref": "#/definitions/app.Response"
  4268. }
  4269. }
  4270. }
  4271. }
  4272. },
  4273. "/Ermcp3/QueryGoodsWrstandard": {
  4274. "get": {
  4275. "security": [
  4276. {
  4277. "ApiKeyAuth": []
  4278. }
  4279. ],
  4280. "produces": [
  4281. "application/json"
  4282. ],
  4283. "tags": [
  4284. "企业风险管理v3(app)"
  4285. ],
  4286. "summary": "查询商品品类",
  4287. "parameters": [
  4288. {
  4289. "type": "integer",
  4290. "description": "用户id",
  4291. "name": "userid",
  4292. "in": "query",
  4293. "required": true
  4294. },
  4295. {
  4296. "type": "integer",
  4297. "description": "用户类型 2-机构 7-企业成员",
  4298. "name": "usertype",
  4299. "in": "query"
  4300. },
  4301. {
  4302. "type": "integer",
  4303. "description": "现货商品id",
  4304. "name": "deliverygoodsid",
  4305. "in": "query"
  4306. }
  4307. ],
  4308. "responses": {
  4309. "200": {
  4310. "description": "OK",
  4311. "schema": {
  4312. "type": "array",
  4313. "items": {
  4314. "$ref": "#/definitions/models.Ermcp3Wrstandard"
  4315. }
  4316. }
  4317. },
  4318. "500": {
  4319. "description": "Internal Server Error",
  4320. "schema": {
  4321. "$ref": "#/definitions/app.Response"
  4322. }
  4323. }
  4324. }
  4325. }
  4326. },
  4327. "/Ermcp3/QueryGoodsbrand": {
  4328. "get": {
  4329. "security": [
  4330. {
  4331. "ApiKeyAuth": []
  4332. }
  4333. ],
  4334. "produces": [
  4335. "application/json"
  4336. ],
  4337. "tags": [
  4338. "企业风险管理v3(app)"
  4339. ],
  4340. "summary": "查询商品品牌",
  4341. "parameters": [
  4342. {
  4343. "type": "integer",
  4344. "description": "用户id",
  4345. "name": "userid",
  4346. "in": "query",
  4347. "required": true
  4348. },
  4349. {
  4350. "type": "integer",
  4351. "description": "用户类型 2-机构 7-企业成员",
  4352. "name": "usertype",
  4353. "in": "query"
  4354. }
  4355. ],
  4356. "responses": {
  4357. "200": {
  4358. "description": "OK",
  4359. "schema": {
  4360. "type": "array",
  4361. "items": {
  4362. "$ref": "#/definitions/models.Ermcp3Brand"
  4363. }
  4364. }
  4365. },
  4366. "500": {
  4367. "description": "Internal Server Error",
  4368. "schema": {
  4369. "$ref": "#/definitions/app.Response"
  4370. }
  4371. }
  4372. }
  4373. }
  4374. },
  4375. "/Ermcp3/QueryHedgePlan": {
  4376. "get": {
  4377. "security": [
  4378. {
  4379. "ApiKeyAuth": []
  4380. }
  4381. ],
  4382. "produces": [
  4383. "application/json"
  4384. ],
  4385. "tags": [
  4386. "企业风险管理v3(app)"
  4387. ],
  4388. "summary": "查询套保计划",
  4389. "parameters": [
  4390. {
  4391. "type": "integer",
  4392. "description": "用户ID",
  4393. "name": "userid",
  4394. "in": "query",
  4395. "required": true
  4396. },
  4397. {
  4398. "type": "integer",
  4399. "description": "用户类型 2-机构 7-企业成员",
  4400. "name": "usertype",
  4401. "in": "query"
  4402. },
  4403. {
  4404. "type": "string",
  4405. "description": "套保计划状态(允许多个,逗号隔开) - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  4406. "name": "hedgeplanstatus",
  4407. "in": "query",
  4408. "required": true
  4409. }
  4410. ],
  4411. "responses": {
  4412. "200": {
  4413. "description": "OK",
  4414. "schema": {
  4415. "type": "array",
  4416. "items": {
  4417. "$ref": "#/definitions/models.Ermcp3HedgePlan"
  4418. }
  4419. }
  4420. },
  4421. "500": {
  4422. "description": "Internal Server Error",
  4423. "schema": {
  4424. "$ref": "#/definitions/app.Response"
  4425. }
  4426. }
  4427. }
  4428. }
  4429. },
  4430. "/Ermcp3/QueryMiddleGoodsDetail": {
  4431. "get": {
  4432. "security": [
  4433. {
  4434. "ApiKeyAuth": []
  4435. }
  4436. ],
  4437. "produces": [
  4438. "application/json"
  4439. ],
  4440. "tags": [
  4441. "企业风险管理v3(app)"
  4442. ],
  4443. "summary": "查询套保品种详情(套保品种/商品详情)",
  4444. "parameters": [
  4445. {
  4446. "type": "integer",
  4447. "description": "用户id",
  4448. "name": "userid",
  4449. "in": "query",
  4450. "required": true
  4451. },
  4452. {
  4453. "type": "integer",
  4454. "description": "用户类型 2-机构 7-企业成员",
  4455. "name": "usertype",
  4456. "in": "query"
  4457. },
  4458. {
  4459. "type": "integer",
  4460. "description": "套保品种id",
  4461. "name": "middlegoodsid",
  4462. "in": "query"
  4463. }
  4464. ],
  4465. "responses": {
  4466. "200": {
  4467. "description": "OK",
  4468. "schema": {
  4469. "type": "array",
  4470. "items": {
  4471. "$ref": "#/definitions/models.Ermcp3MiddleGoodsDetailEx"
  4472. }
  4473. }
  4474. },
  4475. "500": {
  4476. "description": "Internal Server Error",
  4477. "schema": {
  4478. "$ref": "#/definitions/app.Response"
  4479. }
  4480. }
  4481. }
  4482. }
  4483. },
  4484. "/Ermcp3/QueryRootUserAccount": {
  4485. "get": {
  4486. "security": [
  4487. {
  4488. "ApiKeyAuth": []
  4489. }
  4490. ],
  4491. "produces": [
  4492. "application/json"
  4493. ],
  4494. "tags": [
  4495. "企业风险管理v3(app)"
  4496. ],
  4497. "summary": "查询顶级用户信息",
  4498. "parameters": [
  4499. {
  4500. "type": "integer",
  4501. "description": "用户ID",
  4502. "name": "userid",
  4503. "in": "query",
  4504. "required": true
  4505. }
  4506. ],
  4507. "responses": {
  4508. "200": {
  4509. "description": "OK",
  4510. "schema": {
  4511. "type": "array",
  4512. "items": {
  4513. "$ref": "#/definitions/models.Ermcp3RootUserAccount"
  4514. }
  4515. }
  4516. },
  4517. "500": {
  4518. "description": "Internal Server Error",
  4519. "schema": {
  4520. "$ref": "#/definitions/app.Response"
  4521. }
  4522. }
  4523. }
  4524. }
  4525. },
  4526. "/Ermcp3/QuerySpotContract": {
  4527. "get": {
  4528. "security": [
  4529. {
  4530. "ApiKeyAuth": []
  4531. }
  4532. ],
  4533. "produces": [
  4534. "application/json"
  4535. ],
  4536. "tags": [
  4537. "企业风险管理v3(app)"
  4538. ],
  4539. "summary": "查询现货合同",
  4540. "parameters": [
  4541. {
  4542. "type": "integer",
  4543. "description": "用户id",
  4544. "name": "userid",
  4545. "in": "query",
  4546. "required": true
  4547. },
  4548. {
  4549. "type": "integer",
  4550. "description": "用户类型 2-机构 7-企业成员",
  4551. "name": "usertype",
  4552. "in": "query"
  4553. },
  4554. {
  4555. "type": "integer",
  4556. "description": "查询类型 1-未提交 2-待审核 3-履约中 4-已完成",
  4557. "name": "querytype",
  4558. "in": "query",
  4559. "required": true
  4560. },
  4561. {
  4562. "type": "string",
  4563. "description": "合同ID(SpotContractId)",
  4564. "name": "contractid",
  4565. "in": "query"
  4566. }
  4567. ],
  4568. "responses": {
  4569. "200": {
  4570. "description": "OK",
  4571. "schema": {
  4572. "type": "array",
  4573. "items": {
  4574. "$ref": "#/definitions/models.Ermcp3Contract"
  4575. }
  4576. }
  4577. },
  4578. "500": {
  4579. "description": "Internal Server Error",
  4580. "schema": {
  4581. "$ref": "#/definitions/app.Response"
  4582. }
  4583. }
  4584. }
  4585. }
  4586. },
  4587. "/Ermcp3/QuerySpotContractBS": {
  4588. "get": {
  4589. "security": [
  4590. {
  4591. "ApiKeyAuth": []
  4592. }
  4593. ],
  4594. "produces": [
  4595. "application/json"
  4596. ],
  4597. "tags": [
  4598. "企业风险管理v3(app)"
  4599. ],
  4600. "summary": "查询合同(采购/销售)",
  4601. "parameters": [
  4602. {
  4603. "type": "integer",
  4604. "description": "用户id",
  4605. "name": "userid",
  4606. "in": "query",
  4607. "required": true
  4608. },
  4609. {
  4610. "type": "integer",
  4611. "description": "用户类型 2-机构 7-企业成员",
  4612. "name": "usertype",
  4613. "in": "query"
  4614. },
  4615. {
  4616. "type": "integer",
  4617. "description": "合同类型 1-采购, -1-销售",
  4618. "name": "contracttype",
  4619. "in": "query",
  4620. "required": true
  4621. },
  4622. {
  4623. "type": "integer",
  4624. "description": "查询类型 1-全部 2-待点价 3-履约结算 4-已完成",
  4625. "name": "querytype",
  4626. "in": "query",
  4627. "required": true
  4628. },
  4629. {
  4630. "type": "string",
  4631. "description": "合同ID(SpotContractId)",
  4632. "name": "contractid",
  4633. "in": "query"
  4634. }
  4635. ],
  4636. "responses": {
  4637. "200": {
  4638. "description": "OK",
  4639. "schema": {
  4640. "type": "array",
  4641. "items": {
  4642. "$ref": "#/definitions/models.Ermcp3SellBuyContract"
  4643. }
  4644. }
  4645. },
  4646. "500": {
  4647. "description": "Internal Server Error",
  4648. "schema": {
  4649. "$ref": "#/definitions/app.Response"
  4650. }
  4651. }
  4652. }
  4653. }
  4654. },
  4655. "/Ermcp3/QuerySpotGoodsPrice": {
  4656. "get": {
  4657. "security": [
  4658. {
  4659. "ApiKeyAuth": []
  4660. }
  4661. ],
  4662. "produces": [
  4663. "application/json"
  4664. ],
  4665. "tags": [
  4666. "企业风险管理v3(app)"
  4667. ],
  4668. "summary": "查询现货市价(现货市价)",
  4669. "parameters": [
  4670. {
  4671. "type": "integer",
  4672. "description": "用户ID",
  4673. "name": "userid",
  4674. "in": "query",
  4675. "required": true
  4676. }
  4677. ],
  4678. "responses": {
  4679. "200": {
  4680. "description": "OK",
  4681. "schema": {
  4682. "type": "array",
  4683. "items": {
  4684. "$ref": "#/definitions/models.Ermcp3SpotGoodsPrice"
  4685. }
  4686. }
  4687. },
  4688. "500": {
  4689. "description": "Internal Server Error",
  4690. "schema": {
  4691. "$ref": "#/definitions/app.Response"
  4692. }
  4693. }
  4694. }
  4695. }
  4696. },
  4697. "/Ermcp3/QuerySpotGoodsPriceLog": {
  4698. "get": {
  4699. "security": [
  4700. {
  4701. "ApiKeyAuth": []
  4702. }
  4703. ],
  4704. "produces": [
  4705. "application/json"
  4706. ],
  4707. "tags": [
  4708. "企业风险管理v3(app)"
  4709. ],
  4710. "summary": "查询现货市价详情(现货市价/详情)",
  4711. "parameters": [
  4712. {
  4713. "type": "integer",
  4714. "description": "用户ID",
  4715. "name": "userid",
  4716. "in": "query",
  4717. "required": true
  4718. },
  4719. {
  4720. "type": "integer",
  4721. "description": "现货商品ID",
  4722. "name": "deliverygoodsid",
  4723. "in": "query",
  4724. "required": true
  4725. },
  4726. {
  4727. "type": "integer",
  4728. "description": "品牌ID",
  4729. "name": "brandid",
  4730. "in": "query"
  4731. },
  4732. {
  4733. "type": "integer",
  4734. "description": "品类ID",
  4735. "name": "wrstandardid",
  4736. "in": "query"
  4737. }
  4738. ],
  4739. "responses": {
  4740. "200": {
  4741. "description": "OK",
  4742. "schema": {
  4743. "type": "array",
  4744. "items": {
  4745. "$ref": "#/definitions/models.Ermcp3SpotGoodsPriceLog"
  4746. }
  4747. }
  4748. },
  4749. "500": {
  4750. "description": "Internal Server Error",
  4751. "schema": {
  4752. "$ref": "#/definitions/app.Response"
  4753. }
  4754. }
  4755. }
  4756. }
  4757. },
  4758. "/Erms2/QueryArbitrageStrategy": {
  4759. "get": {
  4760. "security": [
  4761. {
  4762. "ApiKeyAuth": []
  4763. }
  4764. ],
  4765. "produces": [
  4766. "application/json"
  4767. ],
  4768. "tags": [
  4769. "风险管理"
  4770. ],
  4771. "summary": "查询期现套利策略表信息(指定资金账户、未结束的)",
  4772. "parameters": [
  4773. {
  4774. "type": "integer",
  4775. "description": "账户ID",
  4776. "name": "userid",
  4777. "in": "query",
  4778. "required": true
  4779. },
  4780. {
  4781. "type": "string",
  4782. "description": "商品组ID(品种ID)",
  4783. "name": "goodsgroupid",
  4784. "in": "query"
  4785. }
  4786. ],
  4787. "responses": {
  4788. "200": {
  4789. "description": "OK",
  4790. "schema": {
  4791. "$ref": "#/definitions/erms2.QueryArbitrageStrategyRsp"
  4792. }
  4793. },
  4794. "500": {
  4795. "description": "Internal Server Error",
  4796. "schema": {
  4797. "$ref": "#/definitions/app.Response"
  4798. }
  4799. }
  4800. }
  4801. }
  4802. },
  4803. "/Erms2/QueryInnerTradeDetail": {
  4804. "get": {
  4805. "security": [
  4806. {
  4807. "ApiKeyAuth": []
  4808. }
  4809. ],
  4810. "produces": [
  4811. "application/json"
  4812. ],
  4813. "tags": [
  4814. "风险管理"
  4815. ],
  4816. "summary": "查询内部成交单信息",
  4817. "parameters": [
  4818. {
  4819. "type": "integer",
  4820. "description": "资金账户",
  4821. "name": "accountid",
  4822. "in": "query",
  4823. "required": true
  4824. }
  4825. ],
  4826. "responses": {
  4827. "200": {
  4828. "description": "OK",
  4829. "schema": {
  4830. "$ref": "#/definitions/erms2.QueryInnerTradeDetailRsp"
  4831. }
  4832. },
  4833. "500": {
  4834. "description": "Internal Server Error",
  4835. "schema": {
  4836. "$ref": "#/definitions/app.Response"
  4837. }
  4838. }
  4839. }
  4840. }
  4841. },
  4842. "/Erms2/QuerySpotContract": {
  4843. "get": {
  4844. "security": [
  4845. {
  4846. "ApiKeyAuth": []
  4847. }
  4848. ],
  4849. "produces": [
  4850. "application/json"
  4851. ],
  4852. "tags": [
  4853. "风险管理"
  4854. ],
  4855. "summary": "查询现货合同表信息(指定策略ID、未结束的)",
  4856. "parameters": [
  4857. {
  4858. "type": "integer",
  4859. "description": "策略申请ID",
  4860. "name": "asapplyid",
  4861. "in": "query",
  4862. "required": true
  4863. },
  4864. {
  4865. "type": "integer",
  4866. "description": "现货合同ID",
  4867. "name": "spotcontractid",
  4868. "in": "query"
  4869. }
  4870. ],
  4871. "responses": {
  4872. "200": {
  4873. "description": "OK",
  4874. "schema": {
  4875. "$ref": "#/definitions/erms2.QuerySpotContractRsp"
  4876. }
  4877. },
  4878. "500": {
  4879. "description": "Internal Server Error",
  4880. "schema": {
  4881. "$ref": "#/definitions/app.Response"
  4882. }
  4883. }
  4884. }
  4885. }
  4886. },
  4887. "/Erms3/AddErms2ASApply": {
  4888. "post": {
  4889. "security": [
  4890. {
  4891. "ApiKeyAuth": []
  4892. }
  4893. ],
  4894. "produces": [
  4895. "application/json"
  4896. ],
  4897. "tags": [
  4898. "风险管理v3"
  4899. ],
  4900. "summary": "新增期现套利业务申请",
  4901. "parameters": [
  4902. {
  4903. "description": "申请参数",
  4904. "name": "jsonBody",
  4905. "in": "body",
  4906. "required": true,
  4907. "schema": {
  4908. "$ref": "#/definitions/erms3.AddErms2ASApplyReq"
  4909. }
  4910. }
  4911. ],
  4912. "responses": {
  4913. "200": {
  4914. "description": "OK",
  4915. "schema": {
  4916. "$ref": "#/definitions/app.Response"
  4917. }
  4918. },
  4919. "500": {
  4920. "description": "Internal Server Error",
  4921. "schema": {
  4922. "$ref": "#/definitions/app.Response"
  4923. }
  4924. }
  4925. }
  4926. }
  4927. },
  4928. "/Erms3/AddErms2SpotTradeApply": {
  4929. "post": {
  4930. "security": [
  4931. {
  4932. "ApiKeyAuth": []
  4933. }
  4934. ],
  4935. "produces": [
  4936. "application/json"
  4937. ],
  4938. "tags": [
  4939. "风险管理v3"
  4940. ],
  4941. "summary": "新增现货贸易业务申请",
  4942. "parameters": [
  4943. {
  4944. "description": "申请参数",
  4945. "name": "jsonBody",
  4946. "in": "body",
  4947. "required": true,
  4948. "schema": {
  4949. "$ref": "#/definitions/erms3.AddErms2SpotTradeApplyReq"
  4950. }
  4951. }
  4952. ],
  4953. "responses": {
  4954. "200": {
  4955. "description": "OK",
  4956. "schema": {
  4957. "$ref": "#/definitions/app.Response"
  4958. }
  4959. },
  4960. "500": {
  4961. "description": "Internal Server Error",
  4962. "schema": {
  4963. "$ref": "#/definitions/app.Response"
  4964. }
  4965. }
  4966. }
  4967. }
  4968. },
  4969. "/Erms3/AddSpotContractApply": {
  4970. "post": {
  4971. "security": [
  4972. {
  4973. "ApiKeyAuth": []
  4974. }
  4975. ],
  4976. "produces": [
  4977. "application/json"
  4978. ],
  4979. "tags": [
  4980. "风险管理v3"
  4981. ],
  4982. "summary": "新增现货合同申请",
  4983. "parameters": [
  4984. {
  4985. "description": "申请参数",
  4986. "name": "jsonBody",
  4987. "in": "body",
  4988. "required": true,
  4989. "schema": {
  4990. "$ref": "#/definitions/erms3.AddSpotContractApplyReq"
  4991. }
  4992. }
  4993. ],
  4994. "responses": {
  4995. "200": {
  4996. "description": "OK",
  4997. "schema": {
  4998. "$ref": "#/definitions/erms3.AddSpotContractApplyRsp"
  4999. }
  5000. },
  5001. "500": {
  5002. "description": "Internal Server Error",
  5003. "schema": {
  5004. "$ref": "#/definitions/app.Response"
  5005. }
  5006. }
  5007. }
  5008. }
  5009. },
  5010. "/Erms3/AddUserInfoApply": {
  5011. "post": {
  5012. "security": [
  5013. {
  5014. "ApiKeyAuth": []
  5015. }
  5016. ],
  5017. "produces": [
  5018. "application/json"
  5019. ],
  5020. "tags": [
  5021. "风险管理v3"
  5022. ],
  5023. "summary": "新增客户申请",
  5024. "parameters": [
  5025. {
  5026. "description": "用户信息",
  5027. "name": "jsonBody",
  5028. "in": "body",
  5029. "required": true,
  5030. "schema": {
  5031. "$ref": "#/definitions/erms3.AddUserInfoApplyReq"
  5032. }
  5033. }
  5034. ],
  5035. "responses": {
  5036. "200": {
  5037. "description": "OK",
  5038. "schema": {
  5039. "$ref": "#/definitions/app.Response"
  5040. }
  5041. },
  5042. "500": {
  5043. "description": "Internal Server Error",
  5044. "schema": {
  5045. "$ref": "#/definitions/app.Response"
  5046. }
  5047. }
  5048. }
  5049. }
  5050. },
  5051. "/Erms3/DeleteUserInfoApply": {
  5052. "get": {
  5053. "security": [
  5054. {
  5055. "ApiKeyAuth": []
  5056. }
  5057. ],
  5058. "description": "只可删除 UserState = 1 (未提交)状态的申请信息",
  5059. "produces": [
  5060. "application/json"
  5061. ],
  5062. "tags": [
  5063. "风险管理v3"
  5064. ],
  5065. "summary": "删除客户申请",
  5066. "parameters": [
  5067. {
  5068. "type": "integer",
  5069. "description": "用户ID",
  5070. "name": "userID",
  5071. "in": "query",
  5072. "required": true
  5073. }
  5074. ],
  5075. "responses": {
  5076. "200": {
  5077. "description": "OK",
  5078. "schema": {
  5079. "$ref": "#/definitions/app.Response"
  5080. }
  5081. },
  5082. "500": {
  5083. "description": "Internal Server Error",
  5084. "schema": {
  5085. "$ref": "#/definitions/app.Response"
  5086. }
  5087. }
  5088. }
  5089. }
  5090. },
  5091. "/Erms3/ModifyUserInfoApply": {
  5092. "post": {
  5093. "security": [
  5094. {
  5095. "ApiKeyAuth": []
  5096. }
  5097. ],
  5098. "description": "保存草稿(撤回)- { \"userid\": int, \"userstate\": 1 } 提交审核 - { \"userid\": int, \"userstate\": 2 }",
  5099. "produces": [
  5100. "application/json"
  5101. ],
  5102. "tags": [
  5103. "风险管理v3"
  5104. ],
  5105. "summary": "修改客户申请",
  5106. "parameters": [
  5107. {
  5108. "description": "用户信息",
  5109. "name": "jsonBody",
  5110. "in": "body",
  5111. "required": true,
  5112. "schema": {
  5113. "$ref": "#/definitions/erms3.ModifyUserInfoApplyReq"
  5114. }
  5115. }
  5116. ],
  5117. "responses": {
  5118. "200": {
  5119. "description": "OK",
  5120. "schema": {
  5121. "$ref": "#/definitions/app.Response"
  5122. }
  5123. },
  5124. "500": {
  5125. "description": "Internal Server Error",
  5126. "schema": {
  5127. "$ref": "#/definitions/app.Response"
  5128. }
  5129. }
  5130. }
  5131. }
  5132. },
  5133. "/Erms3/QueryBusinessInfo": {
  5134. "get": {
  5135. "security": [
  5136. {
  5137. "ApiKeyAuth": []
  5138. }
  5139. ],
  5140. "produces": [
  5141. "application/json"
  5142. ],
  5143. "tags": [
  5144. "风险管理v3"
  5145. ],
  5146. "summary": "查询业务表单数据",
  5147. "parameters": [
  5148. {
  5149. "type": "string",
  5150. "description": "资金账号ID列表,用逗号分隔",
  5151. "name": "accountids",
  5152. "in": "query",
  5153. "required": true
  5154. },
  5155. {
  5156. "type": "integer",
  5157. "description": "状态,0为未结束 1为已结束",
  5158. "name": "status",
  5159. "in": "query",
  5160. "required": true
  5161. }
  5162. ],
  5163. "responses": {
  5164. "200": {
  5165. "description": "OK",
  5166. "schema": {
  5167. "type": "array",
  5168. "items": {
  5169. "$ref": "#/definitions/erms3.QueryBusinessInfoRsp"
  5170. }
  5171. }
  5172. },
  5173. "500": {
  5174. "description": "Internal Server Error",
  5175. "schema": {
  5176. "$ref": "#/definitions/app.Response"
  5177. }
  5178. }
  5179. }
  5180. }
  5181. },
  5182. "/Erms3/QueryPendingAuditContract": {
  5183. "get": {
  5184. "security": [
  5185. {
  5186. "ApiKeyAuth": []
  5187. }
  5188. ],
  5189. "produces": [
  5190. "application/json"
  5191. ],
  5192. "tags": [
  5193. "风险管理v3"
  5194. ],
  5195. "summary": "查询待审核合同",
  5196. "parameters": [
  5197. {
  5198. "type": "string",
  5199. "description": "资金账号ID列表,逗号隔开",
  5200. "name": "accountids",
  5201. "in": "query",
  5202. "required": true
  5203. },
  5204. {
  5205. "type": "integer",
  5206. "description": "合同类型 1-采购 -1-销售",
  5207. "name": "contracttype",
  5208. "in": "query",
  5209. "required": true
  5210. },
  5211. {
  5212. "type": "integer",
  5213. "description": "合同模式 1-普通 2-回购",
  5214. "name": "contractmode",
  5215. "in": "query",
  5216. "required": true
  5217. }
  5218. ],
  5219. "responses": {
  5220. "200": {
  5221. "description": "OK",
  5222. "schema": {
  5223. "type": "array",
  5224. "items": {
  5225. "$ref": "#/definitions/erms3.QryAuditContractRsp"
  5226. }
  5227. }
  5228. },
  5229. "500": {
  5230. "description": "Internal Server Error",
  5231. "schema": {
  5232. "$ref": "#/definitions/app.Response"
  5233. }
  5234. }
  5235. }
  5236. }
  5237. },
  5238. "/Erms3/QueryPendingBusiness": {
  5239. "get": {
  5240. "security": [
  5241. {
  5242. "ApiKeyAuth": []
  5243. }
  5244. ],
  5245. "produces": [
  5246. "application/json"
  5247. ],
  5248. "tags": [
  5249. "风险管理v3"
  5250. ],
  5251. "summary": "查询待审核基差贸易业务",
  5252. "parameters": [
  5253. {
  5254. "type": "string",
  5255. "description": "资金账号ID列表,逗号隔开",
  5256. "name": "accountids",
  5257. "in": "query",
  5258. "required": true
  5259. }
  5260. ],
  5261. "responses": {
  5262. "200": {
  5263. "description": "OK",
  5264. "schema": {
  5265. "type": "array",
  5266. "items": {
  5267. "$ref": "#/definitions/erms3.QryPendingBizRsp"
  5268. }
  5269. }
  5270. },
  5271. "500": {
  5272. "description": "Internal Server Error",
  5273. "schema": {
  5274. "$ref": "#/definitions/app.Response"
  5275. }
  5276. }
  5277. }
  5278. }
  5279. },
  5280. "/Erms3/QuerySpotContractAppleForm": {
  5281. "get": {
  5282. "security": [
  5283. {
  5284. "ApiKeyAuth": []
  5285. }
  5286. ],
  5287. "produces": [
  5288. "application/json"
  5289. ],
  5290. "tags": [
  5291. "风险管理v3"
  5292. ],
  5293. "summary": "查询合同申请表单数据",
  5294. "parameters": [
  5295. {
  5296. "type": "integer",
  5297. "description": "登录账号",
  5298. "name": "loginID",
  5299. "in": "query",
  5300. "required": true
  5301. }
  5302. ],
  5303. "responses": {
  5304. "200": {
  5305. "description": "OK",
  5306. "schema": {
  5307. "$ref": "#/definitions/erms3.QuerySpotContractAppleFormRsp"
  5308. }
  5309. },
  5310. "500": {
  5311. "description": "Internal Server Error",
  5312. "schema": {
  5313. "$ref": "#/definitions/app.Response"
  5314. }
  5315. }
  5316. }
  5317. }
  5318. },
  5319. "/Erms3/QuerySpotContractDetail": {
  5320. "get": {
  5321. "security": [
  5322. {
  5323. "ApiKeyAuth": []
  5324. }
  5325. ],
  5326. "produces": [
  5327. "application/json"
  5328. ],
  5329. "tags": [
  5330. "风险管理v3"
  5331. ],
  5332. "summary": "查询合同详细信息",
  5333. "parameters": [
  5334. {
  5335. "type": "string",
  5336. "description": "资金账号ID列表,用逗号分隔",
  5337. "name": "accountids",
  5338. "in": "query",
  5339. "required": true
  5340. },
  5341. {
  5342. "type": "integer",
  5343. "description": "合同类型,1为采购合同 -1为销售合同",
  5344. "name": "contracttype",
  5345. "in": "query",
  5346. "required": true
  5347. },
  5348. {
  5349. "type": "integer",
  5350. "description": "合同模式,1为普通合同 2为回购销售合同",
  5351. "name": "contractmode",
  5352. "in": "query",
  5353. "required": true
  5354. },
  5355. {
  5356. "type": "integer",
  5357. "description": "状态,0为履约中 1为已完成",
  5358. "name": "status",
  5359. "in": "query",
  5360. "required": true
  5361. }
  5362. ],
  5363. "responses": {
  5364. "200": {
  5365. "description": "OK",
  5366. "schema": {
  5367. "type": "array",
  5368. "items": {
  5369. "$ref": "#/definitions/erms3.QuerySpotContractInfoRsp"
  5370. }
  5371. }
  5372. },
  5373. "500": {
  5374. "description": "Internal Server Error",
  5375. "schema": {
  5376. "$ref": "#/definitions/app.Response"
  5377. }
  5378. }
  5379. }
  5380. }
  5381. },
  5382. "/Erms3/QueryUserInfoApplies": {
  5383. "get": {
  5384. "security": [
  5385. {
  5386. "ApiKeyAuth": []
  5387. }
  5388. ],
  5389. "produces": [
  5390. "application/json"
  5391. ],
  5392. "tags": [
  5393. "风险管理v3"
  5394. ],
  5395. "summary": "客户申请信息查询",
  5396. "parameters": [
  5397. {
  5398. "type": "integer",
  5399. "description": "页码",
  5400. "name": "page",
  5401. "in": "query"
  5402. },
  5403. {
  5404. "type": "integer",
  5405. "description": "每页条数",
  5406. "name": "pagesize",
  5407. "in": "query"
  5408. },
  5409. {
  5410. "type": "string",
  5411. "description": "客户名称,支持模糊查询",
  5412. "name": "userName",
  5413. "in": "query"
  5414. }
  5415. ],
  5416. "responses": {
  5417. "200": {
  5418. "description": "OK",
  5419. "schema": {
  5420. "$ref": "#/definitions/erms3.QueryUserInfoAppliesRsp"
  5421. }
  5422. },
  5423. "500": {
  5424. "description": "Internal Server Error",
  5425. "schema": {
  5426. "$ref": "#/definitions/app.Response"
  5427. }
  5428. }
  5429. }
  5430. }
  5431. },
  5432. "/Erms3/QueryUserInfos": {
  5433. "get": {
  5434. "security": [
  5435. {
  5436. "ApiKeyAuth": []
  5437. }
  5438. ],
  5439. "produces": [
  5440. "application/json"
  5441. ],
  5442. "tags": [
  5443. "风险管理v3"
  5444. ],
  5445. "summary": "客户信息查询",
  5446. "parameters": [
  5447. {
  5448. "type": "integer",
  5449. "description": "页码",
  5450. "name": "page",
  5451. "in": "query"
  5452. },
  5453. {
  5454. "type": "integer",
  5455. "description": "每页条数",
  5456. "name": "pagesize",
  5457. "in": "query"
  5458. },
  5459. {
  5460. "type": "string",
  5461. "description": "客户名称,支持模糊查询",
  5462. "name": "userName",
  5463. "in": "query"
  5464. }
  5465. ],
  5466. "responses": {
  5467. "200": {
  5468. "description": "OK",
  5469. "schema": {
  5470. "$ref": "#/definitions/erms3.QueryUserInfosRsp"
  5471. }
  5472. },
  5473. "500": {
  5474. "description": "Internal Server Error",
  5475. "schema": {
  5476. "$ref": "#/definitions/app.Response"
  5477. }
  5478. }
  5479. }
  5480. }
  5481. },
  5482. "/HSBY/GetHsbyMyCount": {
  5483. "get": {
  5484. "security": [
  5485. {
  5486. "ApiKeyAuth": []
  5487. }
  5488. ],
  5489. "description": "说明: 不包括已完成的数量。",
  5490. "produces": [
  5491. "application/json"
  5492. ],
  5493. "tags": [
  5494. "定制【海商报业】"
  5495. ],
  5496. "summary": "获取我的订单与包裹数量",
  5497. "parameters": [
  5498. {
  5499. "type": "string",
  5500. "description": "资金账户列表,格式:1,2,3",
  5501. "name": "accountIDs",
  5502. "in": "query",
  5503. "required": true
  5504. }
  5505. ],
  5506. "responses": {
  5507. "200": {
  5508. "description": "OK",
  5509. "schema": {
  5510. "$ref": "#/definitions/hsby.GetHsbyMyCountRsp"
  5511. }
  5512. },
  5513. "500": {
  5514. "description": "Internal Server Error",
  5515. "schema": {
  5516. "$ref": "#/definitions/app.Response"
  5517. }
  5518. }
  5519. }
  5520. }
  5521. },
  5522. "/HSBY/QueryClientFixedADConfigs": {
  5523. "get": {
  5524. "security": [
  5525. {
  5526. "ApiKeyAuth": []
  5527. }
  5528. ],
  5529. "produces": [
  5530. "application/json"
  5531. ],
  5532. "tags": [
  5533. "定制【海商报业】"
  5534. ],
  5535. "summary": "获取终端固定广告配置",
  5536. "responses": {
  5537. "200": {
  5538. "description": "OK",
  5539. "schema": {
  5540. "$ref": "#/definitions/models.Clientfixedadconfig"
  5541. }
  5542. },
  5543. "500": {
  5544. "description": "Internal Server Error",
  5545. "schema": {
  5546. "$ref": "#/definitions/app.Response"
  5547. }
  5548. }
  5549. }
  5550. }
  5551. },
  5552. "/HSBY/QueryHsbyBuyMyTradeDetail": {
  5553. "get": {
  5554. "security": [
  5555. {
  5556. "ApiKeyAuth": []
  5557. }
  5558. ],
  5559. "produces": [
  5560. "application/json"
  5561. ],
  5562. "tags": [
  5563. "定制【海商报业】"
  5564. ],
  5565. "summary": "查询\"我的订单 - 已完成\"单据信息",
  5566. "parameters": [
  5567. {
  5568. "type": "integer",
  5569. "description": "页码",
  5570. "name": "page",
  5571. "in": "query"
  5572. },
  5573. {
  5574. "type": "integer",
  5575. "description": "每页条数",
  5576. "name": "pagesize",
  5577. "in": "query"
  5578. },
  5579. {
  5580. "type": "string",
  5581. "description": "资金账户列表,格式:1,2,3",
  5582. "name": "accountIDs",
  5583. "in": "query",
  5584. "required": true
  5585. }
  5586. ],
  5587. "responses": {
  5588. "200": {
  5589. "description": "OK",
  5590. "schema": {
  5591. "$ref": "#/definitions/models.HsbyBuyMyTradeDetail"
  5592. }
  5593. },
  5594. "500": {
  5595. "description": "Internal Server Error",
  5596. "schema": {
  5597. "$ref": "#/definitions/app.Response"
  5598. }
  5599. }
  5600. }
  5601. }
  5602. },
  5603. "/HSBY/QueryHsbyGoodsOrderDetails": {
  5604. "get": {
  5605. "security": [
  5606. {
  5607. "ApiKeyAuth": []
  5608. }
  5609. ],
  5610. "description": "说明:查询结果已按委托价格和委托时间排序",
  5611. "produces": [
  5612. "application/json"
  5613. ],
  5614. "tags": [
  5615. "定制【海商报业】"
  5616. ],
  5617. "summary": "查询二级市场(挂牌点选)商品对应的挂牌委托单信息",
  5618. "parameters": [
  5619. {
  5620. "type": "integer",
  5621. "description": "商品ID",
  5622. "name": "goodsID",
  5623. "in": "query",
  5624. "required": true
  5625. },
  5626. {
  5627. "type": "string",
  5628. "description": "摘牌方资金账户列表,格式:1,2,3。主要用于过滤自己的挂牌单",
  5629. "name": "accountIDs",
  5630. "in": "query"
  5631. },
  5632. {
  5633. "type": "integer",
  5634. "description": "挂牌委托单方向(对手单方向),0:买 1:卖",
  5635. "name": "buyOrSell",
  5636. "in": "query"
  5637. },
  5638. {
  5639. "type": "number",
  5640. "description": " 参考价格。对手单买方向委托单则价格大于等于(站在摘牌人的角度,摘牌方面是卖,我的闲置下单);对手单卖方向委托单则价格小于等于(站在摘牌人的角度,摘牌方面是买,热门商品下单)",
  5641. "name": "price",
  5642. "in": "query"
  5643. },
  5644. {
  5645. "type": "integer",
  5646. "description": "档位,不传则默认为3档",
  5647. "name": "speed",
  5648. "in": "query"
  5649. }
  5650. ],
  5651. "responses": {
  5652. "200": {
  5653. "description": "OK",
  5654. "schema": {
  5655. "$ref": "#/definitions/models.HsbyGoodsOrderDetail"
  5656. }
  5657. },
  5658. "500": {
  5659. "description": "Internal Server Error",
  5660. "schema": {
  5661. "$ref": "#/definitions/app.Response"
  5662. }
  5663. }
  5664. }
  5665. }
  5666. },
  5667. "/HSBY/QueryHsbyListingGoodsDetail": {
  5668. "get": {
  5669. "security": [
  5670. {
  5671. "ApiKeyAuth": []
  5672. }
  5673. ],
  5674. "description": "说明:“我的商品”详情中,二级(挂牌点选)和三级(商城)的商品详情都使用此接口",
  5675. "produces": [
  5676. "application/json"
  5677. ],
  5678. "tags": [
  5679. "定制【海商报业】"
  5680. ],
  5681. "summary": "查询二级市场(挂牌点选)商品信息详情",
  5682. "parameters": [
  5683. {
  5684. "type": "integer",
  5685. "description": "商品ID",
  5686. "name": "goodsID",
  5687. "in": "query",
  5688. "required": true
  5689. },
  5690. {
  5691. "type": "integer",
  5692. "description": "资金账户,主要用于获取交易规则。不传则获取通用规则。",
  5693. "name": "accountID",
  5694. "in": "query"
  5695. }
  5696. ],
  5697. "responses": {
  5698. "200": {
  5699. "description": "OK",
  5700. "schema": {
  5701. "$ref": "#/definitions/models.HsbyListingGoodsDetail"
  5702. }
  5703. },
  5704. "500": {
  5705. "description": "Internal Server Error",
  5706. "schema": {
  5707. "$ref": "#/definitions/app.Response"
  5708. }
  5709. }
  5710. }
  5711. }
  5712. },
  5713. "/HSBY/QueryHsbyMarketGoodsDetail": {
  5714. "get": {
  5715. "security": [
  5716. {
  5717. "ApiKeyAuth": []
  5718. }
  5719. ],
  5720. "produces": [
  5721. "application/json"
  5722. ],
  5723. "tags": [
  5724. "定制【海商报业】"
  5725. ],
  5726. "summary": "查询三级市场(商城)商品信息详情",
  5727. "parameters": [
  5728. {
  5729. "type": "integer",
  5730. "description": "委托单号",
  5731. "name": "orderID",
  5732. "in": "query",
  5733. "required": true
  5734. },
  5735. {
  5736. "type": "integer",
  5737. "description": "资金账户,主要用于判断商品最大开仓手数;如未登录可不传。",
  5738. "name": "accountID",
  5739. "in": "query"
  5740. }
  5741. ],
  5742. "responses": {
  5743. "200": {
  5744. "description": "OK",
  5745. "schema": {
  5746. "$ref": "#/definitions/models.HsbyMarketGoodsDetail"
  5747. }
  5748. },
  5749. "500": {
  5750. "description": "Internal Server Error",
  5751. "schema": {
  5752. "$ref": "#/definitions/app.Response"
  5753. }
  5754. }
  5755. }
  5756. }
  5757. },
  5758. "/HSBY/QueryHsbyMarketGoodses": {
  5759. "get": {
  5760. "security": [
  5761. {
  5762. "ApiKeyAuth": []
  5763. }
  5764. ],
  5765. "produces": [
  5766. "application/json"
  5767. ],
  5768. "tags": [
  5769. "定制【海商报业】"
  5770. ],
  5771. "summary": "查询特卖商品列表(三级商城)",
  5772. "parameters": [
  5773. {
  5774. "type": "integer",
  5775. "description": "页码",
  5776. "name": "page",
  5777. "in": "query"
  5778. },
  5779. {
  5780. "type": "integer",
  5781. "description": "每页条数",
  5782. "name": "pagesize",
  5783. "in": "query"
  5784. },
  5785. {
  5786. "type": "string",
  5787. "description": "市场ID列表,格式:1,2,3",
  5788. "name": "marketIDs",
  5789. "in": "query",
  5790. "required": true
  5791. },
  5792. {
  5793. "type": "integer",
  5794. "description": "资金账户,用于判断商品是否有可用的优惠卷;同时只显示此账户所属机构下的商城委托单。",
  5795. "name": "accountID",
  5796. "in": "query",
  5797. "required": true
  5798. },
  5799. {
  5800. "type": "integer",
  5801. "description": "类别ID",
  5802. "name": "categoryID",
  5803. "in": "query"
  5804. },
  5805. {
  5806. "type": "string",
  5807. "description": "商品ID列表,格式:1,2,3。主要用于商品搜索。",
  5808. "name": "goodsIDs",
  5809. "in": "query"
  5810. },
  5811. {
  5812. "type": "integer",
  5813. "description": "优惠券类型ID,主要用于显示优惠卷对应的商品列表。",
  5814. "name": "couponTypeID",
  5815. "in": "query"
  5816. }
  5817. ],
  5818. "responses": {
  5819. "200": {
  5820. "description": "OK",
  5821. "schema": {
  5822. "$ref": "#/definitions/models.HsbyMarketGoods"
  5823. }
  5824. },
  5825. "500": {
  5826. "description": "Internal Server Error",
  5827. "schema": {
  5828. "$ref": "#/definitions/app.Response"
  5829. }
  5830. }
  5831. }
  5832. }
  5833. },
  5834. "/HSBY/QueryHsbyMarkets": {
  5835. "get": {
  5836. "security": [
  5837. {
  5838. "ApiKeyAuth": []
  5839. }
  5840. ],
  5841. "produces": [
  5842. "application/json"
  5843. ],
  5844. "tags": [
  5845. "定制【海商报业】"
  5846. ],
  5847. "summary": "查询海商报业相关市场信息",
  5848. "responses": {
  5849. "200": {
  5850. "description": "OK",
  5851. "schema": {
  5852. "$ref": "#/definitions/models.HsbyMarketInfo"
  5853. }
  5854. },
  5855. "500": {
  5856. "description": "Internal Server Error",
  5857. "schema": {
  5858. "$ref": "#/definitions/app.Response"
  5859. }
  5860. }
  5861. }
  5862. }
  5863. },
  5864. "/HSBY/QueryHsbyMyBuyOrderDetails": {
  5865. "get": {
  5866. "security": [
  5867. {
  5868. "ApiKeyAuth": []
  5869. }
  5870. ],
  5871. "description": "说明: myBuyStatus: 1,2 - 待成交;3 - 已提交;4 - 已撤消;5 - 委托失败",
  5872. "produces": [
  5873. "application/json"
  5874. ],
  5875. "tags": [
  5876. "定制【海商报业】"
  5877. ],
  5878. "summary": "查询“我的订单”信息",
  5879. "parameters": [
  5880. {
  5881. "type": "string",
  5882. "description": "资金账户列表,格式:1,2,3",
  5883. "name": "accountIDs",
  5884. "in": "query",
  5885. "required": true
  5886. }
  5887. ],
  5888. "responses": {
  5889. "200": {
  5890. "description": "OK",
  5891. "schema": {
  5892. "$ref": "#/definitions/models.HybsMyBuyOrderDetail"
  5893. }
  5894. },
  5895. "500": {
  5896. "description": "Internal Server Error",
  5897. "schema": {
  5898. "$ref": "#/definitions/app.Response"
  5899. }
  5900. }
  5901. }
  5902. }
  5903. },
  5904. "/HSBY/QueryHsbyMyGoods": {
  5905. "get": {
  5906. "security": [
  5907. {
  5908. "ApiKeyAuth": []
  5909. }
  5910. ],
  5911. "description": "说明: 挂牌点选(tradeMode = 16)价格取last; 商城(tradeMode = 70)价格取goodsprice",
  5912. "produces": [
  5913. "application/json"
  5914. ],
  5915. "tags": [
  5916. "定制【海商报业】"
  5917. ],
  5918. "summary": "查询“我的商品”信息",
  5919. "parameters": [
  5920. {
  5921. "type": "string",
  5922. "description": "资金账户列表,格式:1,2,3",
  5923. "name": "accountIDs",
  5924. "in": "query",
  5925. "required": true
  5926. }
  5927. ],
  5928. "responses": {
  5929. "200": {
  5930. "description": "OK",
  5931. "schema": {
  5932. "$ref": "#/definitions/models.HsbyMyGoods"
  5933. }
  5934. },
  5935. "500": {
  5936. "description": "Internal Server Error",
  5937. "schema": {
  5938. "$ref": "#/definitions/app.Response"
  5939. }
  5940. }
  5941. }
  5942. }
  5943. },
  5944. "/HSBY/QueryHsbyMyPackages": {
  5945. "get": {
  5946. "security": [
  5947. {
  5948. "ApiKeyAuth": []
  5949. }
  5950. ],
  5951. "produces": [
  5952. "application/json"
  5953. ],
  5954. "tags": [
  5955. "定制【海商报业】"
  5956. ],
  5957. "summary": "查询我的包裹信息",
  5958. "parameters": [
  5959. {
  5960. "type": "string",
  5961. "description": "资金账户列表,格式:1,2,3",
  5962. "name": "accountIDs",
  5963. "in": "query",
  5964. "required": true
  5965. },
  5966. {
  5967. "type": "integer",
  5968. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  5969. "name": "takeOrderStatus",
  5970. "in": "query"
  5971. }
  5972. ],
  5973. "responses": {
  5974. "200": {
  5975. "description": "OK",
  5976. "schema": {
  5977. "$ref": "#/definitions/models.HsbyMyPackage"
  5978. }
  5979. },
  5980. "500": {
  5981. "description": "Internal Server Error",
  5982. "schema": {
  5983. "$ref": "#/definitions/app.Response"
  5984. }
  5985. }
  5986. }
  5987. }
  5988. },
  5989. "/HSBY/QueryHsbyPreGoodsDetail": {
  5990. "get": {
  5991. "security": [
  5992. {
  5993. "ApiKeyAuth": []
  5994. }
  5995. ],
  5996. "produces": [
  5997. "application/json"
  5998. ],
  5999. "tags": [
  6000. "定制【海商报业】"
  6001. ],
  6002. "summary": "查询一级市场(预售)商品信息详情",
  6003. "parameters": [
  6004. {
  6005. "type": "integer",
  6006. "description": "商品ID",
  6007. "name": "goodsID",
  6008. "in": "query",
  6009. "required": true
  6010. },
  6011. {
  6012. "type": "integer",
  6013. "description": "资金账户,主要用于获取预售商品购买上限",
  6014. "name": "accountID",
  6015. "in": "query"
  6016. }
  6017. ],
  6018. "responses": {
  6019. "200": {
  6020. "description": "OK",
  6021. "schema": {
  6022. "$ref": "#/definitions/models.HsbyPreGoodsDetail"
  6023. }
  6024. },
  6025. "500": {
  6026. "description": "Internal Server Error",
  6027. "schema": {
  6028. "$ref": "#/definitions/app.Response"
  6029. }
  6030. }
  6031. }
  6032. }
  6033. },
  6034. "/HSBY/QueryHsbyPreGoodses": {
  6035. "get": {
  6036. "security": [
  6037. {
  6038. "ApiKeyAuth": []
  6039. }
  6040. ],
  6041. "description": "说明:结果已先显示已开始商品(按结束时间顺序排),再显示未开始商品(按开始时间顺序排)",
  6042. "produces": [
  6043. "application/json"
  6044. ],
  6045. "tags": [
  6046. "定制【海商报业】"
  6047. ],
  6048. "summary": "查询新品上市商品列表(一级市场预售)",
  6049. "parameters": [
  6050. {
  6051. "type": "integer",
  6052. "description": "页码",
  6053. "name": "page",
  6054. "in": "query"
  6055. },
  6056. {
  6057. "type": "integer",
  6058. "description": "每页条数",
  6059. "name": "pagesize",
  6060. "in": "query"
  6061. },
  6062. {
  6063. "type": "string",
  6064. "description": "市场ID列表,格式:1,2,3",
  6065. "name": "marketIDs",
  6066. "in": "query",
  6067. "required": true
  6068. },
  6069. {
  6070. "type": "integer",
  6071. "description": "目的地(省)ID",
  6072. "name": "descProvinceID",
  6073. "in": "query"
  6074. },
  6075. {
  6076. "type": "integer",
  6077. "description": "目的地(市)ID",
  6078. "name": "descCityID",
  6079. "in": "query"
  6080. }
  6081. ],
  6082. "responses": {
  6083. "200": {
  6084. "description": "OK",
  6085. "schema": {
  6086. "$ref": "#/definitions/models.HsbyPreGoods"
  6087. }
  6088. },
  6089. "500": {
  6090. "description": "Internal Server Error",
  6091. "schema": {
  6092. "$ref": "#/definitions/app.Response"
  6093. }
  6094. }
  6095. }
  6096. }
  6097. },
  6098. "/HSBY/QueryHsbySellMyDetails": {
  6099. "get": {
  6100. "security": [
  6101. {
  6102. "ApiKeyAuth": []
  6103. }
  6104. ],
  6105. "description": "说明:发布中 - 二级市场卖挂,3:委托成功、7:部分成交; 已完成 - 二级市场成交单,包括历史数据。查询结果已按时间从近到远排序",
  6106. "produces": [
  6107. "application/json"
  6108. ],
  6109. "tags": [
  6110. "定制【海商报业】"
  6111. ],
  6112. "summary": "查询\"我的闲置\"单据信息",
  6113. "parameters": [
  6114. {
  6115. "type": "integer",
  6116. "description": "页码",
  6117. "name": "page",
  6118. "in": "query"
  6119. },
  6120. {
  6121. "type": "integer",
  6122. "description": "每页条数",
  6123. "name": "pagesize",
  6124. "in": "query"
  6125. },
  6126. {
  6127. "type": "string",
  6128. "description": "资金账户列表,格式:1,2,3",
  6129. "name": "accountIDs",
  6130. "in": "query",
  6131. "required": true
  6132. },
  6133. {
  6134. "type": "integer",
  6135. "description": "单据类型:0 - 发布中(默认), 1 - 已完成",
  6136. "name": "orderType",
  6137. "in": "query"
  6138. }
  6139. ],
  6140. "responses": {
  6141. "200": {
  6142. "description": "OK",
  6143. "schema": {
  6144. "$ref": "#/definitions/models.HsbySellMyDetail"
  6145. }
  6146. },
  6147. "500": {
  6148. "description": "Internal Server Error",
  6149. "schema": {
  6150. "$ref": "#/definitions/app.Response"
  6151. }
  6152. }
  6153. }
  6154. }
  6155. },
  6156. "/HSBY/QueryHsbyTopGoodses": {
  6157. "get": {
  6158. "security": [
  6159. {
  6160. "ApiKeyAuth": []
  6161. }
  6162. ],
  6163. "description": "说明:查询结果已按Hotindex(景点热度)从大到小排序",
  6164. "produces": [
  6165. "application/json"
  6166. ],
  6167. "tags": [
  6168. "定制【海商报业】"
  6169. ],
  6170. "summary": "查询热卖商品列表(二级市场挂牌点选)",
  6171. "parameters": [
  6172. {
  6173. "type": "integer",
  6174. "description": "页码",
  6175. "name": "page",
  6176. "in": "query"
  6177. },
  6178. {
  6179. "type": "integer",
  6180. "description": "每页条数",
  6181. "name": "pagesize",
  6182. "in": "query"
  6183. },
  6184. {
  6185. "type": "string",
  6186. "description": "市场ID列表,格式:1,2,3",
  6187. "name": "marketIDs",
  6188. "in": "query",
  6189. "required": true
  6190. },
  6191. {
  6192. "type": "integer",
  6193. "description": "目的地(省)ID",
  6194. "name": "descProvinceID",
  6195. "in": "query"
  6196. },
  6197. {
  6198. "type": "integer",
  6199. "description": "目的地(市)ID",
  6200. "name": "descCityID",
  6201. "in": "query"
  6202. }
  6203. ],
  6204. "responses": {
  6205. "200": {
  6206. "description": "OK",
  6207. "schema": {
  6208. "$ref": "#/definitions/models.HsbyTopGoods"
  6209. }
  6210. },
  6211. "500": {
  6212. "description": "Internal Server Error",
  6213. "schema": {
  6214. "$ref": "#/definitions/app.Response"
  6215. }
  6216. }
  6217. }
  6218. }
  6219. },
  6220. "/HSBY/QueryHsbyVisitorMarketGoodsDetail": {
  6221. "get": {
  6222. "security": [
  6223. {
  6224. "ApiKeyAuth": []
  6225. }
  6226. ],
  6227. "description": "说明:使用于未登录状态查询商城商品详情,登录后请使用QueryHsbyMarketGoodsDetail接口进行查询。",
  6228. "produces": [
  6229. "application/json"
  6230. ],
  6231. "tags": [
  6232. "定制【海商报业】"
  6233. ],
  6234. "summary": "查询游客三级市场(商城)商品信息详情",
  6235. "parameters": [
  6236. {
  6237. "type": "integer",
  6238. "description": "商品ID",
  6239. "name": "goodsID",
  6240. "in": "query",
  6241. "required": true
  6242. }
  6243. ],
  6244. "responses": {
  6245. "200": {
  6246. "description": "OK",
  6247. "schema": {
  6248. "$ref": "#/definitions/models.HsbyMarketGoodsDetail"
  6249. }
  6250. },
  6251. "500": {
  6252. "description": "Internal Server Error",
  6253. "schema": {
  6254. "$ref": "#/definitions/app.Response"
  6255. }
  6256. }
  6257. }
  6258. }
  6259. },
  6260. "/HSBY/QueryHsbyVisitorMarketGoodses": {
  6261. "get": {
  6262. "security": [
  6263. {
  6264. "ApiKeyAuth": []
  6265. }
  6266. ],
  6267. "description": "说明:使用于未登录状态查询商城商品列表,登录后请使用QueryHsbyMarketGoodses接口进行查询。",
  6268. "produces": [
  6269. "application/json"
  6270. ],
  6271. "tags": [
  6272. "定制【海商报业】"
  6273. ],
  6274. "summary": "查询游客特卖商品列表(三级商城)",
  6275. "parameters": [
  6276. {
  6277. "type": "integer",
  6278. "description": "页码",
  6279. "name": "page",
  6280. "in": "query"
  6281. },
  6282. {
  6283. "type": "integer",
  6284. "description": "每页条数",
  6285. "name": "pagesize",
  6286. "in": "query"
  6287. },
  6288. {
  6289. "type": "string",
  6290. "description": "市场ID列表,格式:1,2,3",
  6291. "name": "marketIDs",
  6292. "in": "query",
  6293. "required": true
  6294. },
  6295. {
  6296. "type": "integer",
  6297. "description": "类别ID",
  6298. "name": "categoryID",
  6299. "in": "query"
  6300. },
  6301. {
  6302. "type": "string",
  6303. "description": "商品ID列表,格式:1,2,3。主要用于商品搜索。",
  6304. "name": "goodsIDs",
  6305. "in": "query"
  6306. }
  6307. ],
  6308. "responses": {
  6309. "200": {
  6310. "description": "OK",
  6311. "schema": {
  6312. "$ref": "#/definitions/models.HsbyMarketGoods"
  6313. }
  6314. },
  6315. "500": {
  6316. "description": "Internal Server Error",
  6317. "schema": {
  6318. "$ref": "#/definitions/app.Response"
  6319. }
  6320. }
  6321. }
  6322. }
  6323. },
  6324. "/HSBY/QueryMyCollectionOrders": {
  6325. "get": {
  6326. "security": [
  6327. {
  6328. "ApiKeyAuth": []
  6329. }
  6330. ],
  6331. "produces": [
  6332. "application/json"
  6333. ],
  6334. "tags": [
  6335. "定制【海商报业】"
  6336. ],
  6337. "summary": "我的闲置中收款信息查询",
  6338. "parameters": [
  6339. {
  6340. "type": "integer",
  6341. "description": "页码",
  6342. "name": "page",
  6343. "in": "query"
  6344. },
  6345. {
  6346. "type": "integer",
  6347. "description": "每页条数",
  6348. "name": "pagesize",
  6349. "in": "query"
  6350. },
  6351. {
  6352. "type": "string",
  6353. "description": "资金账户,格式:1,2,3",
  6354. "name": "accountIDs",
  6355. "in": "query",
  6356. "required": true
  6357. }
  6358. ],
  6359. "responses": {
  6360. "200": {
  6361. "description": "OK",
  6362. "schema": {
  6363. "$ref": "#/definitions/models.HsbySellCollectionOrder"
  6364. }
  6365. },
  6366. "500": {
  6367. "description": "Internal Server Error",
  6368. "schema": {
  6369. "$ref": "#/definitions/app.Response"
  6370. }
  6371. }
  6372. }
  6373. }
  6374. },
  6375. "/HSBY/QueryMyCouponHolds": {
  6376. "get": {
  6377. "security": [
  6378. {
  6379. "ApiKeyAuth": []
  6380. }
  6381. ],
  6382. "description": "说明:当holdStatus传入4(已过期)后,会从历史表中查询已过期的优惠卷数据。",
  6383. "produces": [
  6384. "application/json"
  6385. ],
  6386. "tags": [
  6387. "定制【海商报业】"
  6388. ],
  6389. "summary": "我的优惠卷持仓查询",
  6390. "parameters": [
  6391. {
  6392. "type": "string",
  6393. "description": "资金账户列表,格式:1,2,3",
  6394. "name": "accountIDs",
  6395. "in": "query",
  6396. "required": true
  6397. },
  6398. {
  6399. "type": "string",
  6400. "description": "持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期,格式:1,2,3",
  6401. "name": "holdStatus",
  6402. "in": "query"
  6403. }
  6404. ],
  6405. "responses": {
  6406. "200": {
  6407. "description": "OK",
  6408. "schema": {
  6409. "$ref": "#/definitions/models.MyCouponHold"
  6410. }
  6411. },
  6412. "500": {
  6413. "description": "Internal Server Error",
  6414. "schema": {
  6415. "$ref": "#/definitions/app.Response"
  6416. }
  6417. }
  6418. }
  6419. }
  6420. },
  6421. "/HSBY/QueryMyCoupons": {
  6422. "get": {
  6423. "security": [
  6424. {
  6425. "ApiKeyAuth": []
  6426. }
  6427. ],
  6428. "produces": [
  6429. "application/json"
  6430. ],
  6431. "tags": [
  6432. "定制【海商报业】"
  6433. ],
  6434. "summary": "我的优惠卷查询",
  6435. "parameters": [
  6436. {
  6437. "type": "string",
  6438. "description": "资金账户列表,格式:1,2,3",
  6439. "name": "accountIDs",
  6440. "in": "query",
  6441. "required": true
  6442. },
  6443. {
  6444. "type": "integer",
  6445. "description": "商品ID, 一般与sellUserID配套传入",
  6446. "name": "goodsID",
  6447. "in": "query"
  6448. },
  6449. {
  6450. "type": "integer",
  6451. "description": "卖方UserID",
  6452. "name": "sellUserID",
  6453. "in": "query"
  6454. }
  6455. ],
  6456. "responses": {
  6457. "200": {
  6458. "description": "OK",
  6459. "schema": {
  6460. "$ref": "#/definitions/models.MyCoupon"
  6461. }
  6462. },
  6463. "500": {
  6464. "description": "Internal Server Error",
  6465. "schema": {
  6466. "$ref": "#/definitions/app.Response"
  6467. }
  6468. }
  6469. }
  6470. }
  6471. },
  6472. "/HSBY/QueryMyPayOrders": {
  6473. "get": {
  6474. "security": [
  6475. {
  6476. "ApiKeyAuth": []
  6477. }
  6478. ],
  6479. "produces": [
  6480. "application/json"
  6481. ],
  6482. "tags": [
  6483. "定制【海商报业】"
  6484. ],
  6485. "summary": "获取我的订单中待付款信息",
  6486. "parameters": [
  6487. {
  6488. "type": "integer",
  6489. "description": "页码",
  6490. "name": "page",
  6491. "in": "query"
  6492. },
  6493. {
  6494. "type": "integer",
  6495. "description": "每页条数",
  6496. "name": "pagesize",
  6497. "in": "query"
  6498. },
  6499. {
  6500. "type": "string",
  6501. "description": "资金账户列表,格式:1,2,3",
  6502. "name": "accountIDs",
  6503. "in": "query",
  6504. "required": true
  6505. },
  6506. {
  6507. "type": "integer",
  6508. "description": "买方委托单号",
  6509. "name": "buyOrderID",
  6510. "in": "query"
  6511. },
  6512. {
  6513. "type": "integer",
  6514. "description": "卖方委托单号",
  6515. "name": "sellOrderID",
  6516. "in": "query"
  6517. }
  6518. ],
  6519. "responses": {
  6520. "200": {
  6521. "description": "OK",
  6522. "schema": {
  6523. "$ref": "#/definitions/models.HsbyBuyMyPayOrder"
  6524. }
  6525. },
  6526. "500": {
  6527. "description": "Internal Server Error",
  6528. "schema": {
  6529. "$ref": "#/definitions/app.Response"
  6530. }
  6531. }
  6532. }
  6533. }
  6534. },
  6535. "/HSBY/QueryMyUsedCoupon": {
  6536. "get": {
  6537. "security": [
  6538. {
  6539. "ApiKeyAuth": []
  6540. }
  6541. ],
  6542. "produces": [
  6543. "application/json"
  6544. ],
  6545. "tags": [
  6546. "定制【海商报业】"
  6547. ],
  6548. "summary": "已使用优惠卷查询",
  6549. "parameters": [
  6550. {
  6551. "type": "string",
  6552. "description": "资金账户列表,格式:1,2,3",
  6553. "name": "accountIDs",
  6554. "in": "query",
  6555. "required": true
  6556. }
  6557. ],
  6558. "responses": {
  6559. "200": {
  6560. "description": "OK",
  6561. "schema": {
  6562. "$ref": "#/definitions/models.MyUsedCoupon"
  6563. }
  6564. },
  6565. "500": {
  6566. "description": "Internal Server Error",
  6567. "schema": {
  6568. "$ref": "#/definitions/app.Response"
  6569. }
  6570. }
  6571. }
  6572. }
  6573. },
  6574. "/HSBY/QueryProvincesAndCities": {
  6575. "get": {
  6576. "security": [
  6577. {
  6578. "ApiKeyAuth": []
  6579. }
  6580. ],
  6581. "description": "查询结果只包括二级市场商品已关连的省市信息。",
  6582. "produces": [
  6583. "application/json"
  6584. ],
  6585. "tags": [
  6586. "定制【海商报业】"
  6587. ],
  6588. "summary": "查询省市信息(不包括区)",
  6589. "parameters": [
  6590. {
  6591. "type": "integer",
  6592. "description": "省ID",
  6593. "name": "provinceID",
  6594. "in": "query"
  6595. }
  6596. ],
  6597. "responses": {
  6598. "200": {
  6599. "description": "OK",
  6600. "schema": {
  6601. "$ref": "#/definitions/hsby.QueryProvincesAndCitiesRsp"
  6602. }
  6603. },
  6604. "500": {
  6605. "description": "Internal Server Error",
  6606. "schema": {
  6607. "$ref": "#/definitions/app.Response"
  6608. }
  6609. }
  6610. }
  6611. }
  6612. },
  6613. "/HSBY/SetHsbyMyPackagesStatus": {
  6614. "post": {
  6615. "security": [
  6616. {
  6617. "ApiKeyAuth": []
  6618. }
  6619. ],
  6620. "produces": [
  6621. "application/json"
  6622. ],
  6623. "tags": [
  6624. "定制【海商报业】"
  6625. ],
  6626. "summary": "设置我的包裹已收货状态",
  6627. "parameters": [
  6628. {
  6629. "type": "string",
  6630. "description": "提货单号",
  6631. "name": "takeOrderID",
  6632. "in": "query",
  6633. "required": true
  6634. },
  6635. {
  6636. "type": "integer",
  6637. "description": "资金账号",
  6638. "name": "accountID",
  6639. "in": "query",
  6640. "required": true
  6641. }
  6642. ],
  6643. "responses": {
  6644. "200": {
  6645. "description": "OK",
  6646. "schema": {
  6647. "$ref": "#/definitions/app.Response"
  6648. }
  6649. },
  6650. "500": {
  6651. "description": "Internal Server Error",
  6652. "schema": {
  6653. "$ref": "#/definitions/app.Response"
  6654. }
  6655. }
  6656. }
  6657. }
  6658. },
  6659. "/Market/GetAllExExchanges": {
  6660. "get": {
  6661. "security": [
  6662. {
  6663. "ApiKeyAuth": []
  6664. }
  6665. ],
  6666. "produces": [
  6667. "application/json"
  6668. ],
  6669. "tags": [
  6670. "通用市场"
  6671. ],
  6672. "summary": "获取所有外部交易所信息",
  6673. "responses": {
  6674. "200": {
  6675. "description": "OK",
  6676. "schema": {
  6677. "$ref": "#/definitions/models.Goods"
  6678. }
  6679. },
  6680. "500": {
  6681. "description": "Internal Server Error",
  6682. "schema": {
  6683. "$ref": "#/definitions/app.Response"
  6684. }
  6685. }
  6686. }
  6687. }
  6688. },
  6689. "/Market/QueryGoodsesByLoginID": {
  6690. "get": {
  6691. "security": [
  6692. {
  6693. "ApiKeyAuth": []
  6694. }
  6695. ],
  6696. "produces": [
  6697. "application/json"
  6698. ],
  6699. "tags": [
  6700. "通用市场"
  6701. ],
  6702. "summary": "获取登录账号有权限的商品信息",
  6703. "parameters": [
  6704. {
  6705. "type": "integer",
  6706. "description": "登录账号",
  6707. "name": "loginID",
  6708. "in": "query",
  6709. "required": true
  6710. },
  6711. {
  6712. "type": "string",
  6713. "description": "市场ID列表,格式:1,2,3",
  6714. "name": "marketIDs",
  6715. "in": "query"
  6716. }
  6717. ],
  6718. "responses": {
  6719. "200": {
  6720. "description": "OK",
  6721. "schema": {
  6722. "$ref": "#/definitions/models.Goods"
  6723. }
  6724. },
  6725. "500": {
  6726. "description": "Internal Server Error",
  6727. "schema": {
  6728. "$ref": "#/definitions/app.Response"
  6729. }
  6730. }
  6731. }
  6732. }
  6733. },
  6734. "/Market/QueryMarketRun": {
  6735. "get": {
  6736. "security": [
  6737. {
  6738. "ApiKeyAuth": []
  6739. }
  6740. ],
  6741. "produces": [
  6742. "application/json"
  6743. ],
  6744. "tags": [
  6745. "通用市场"
  6746. ],
  6747. "summary": "查询市场运行信息",
  6748. "parameters": [
  6749. {
  6750. "type": "integer",
  6751. "description": "市场ID,不传返回所有",
  6752. "name": "marketID",
  6753. "in": "query"
  6754. }
  6755. ],
  6756. "responses": {
  6757. "200": {
  6758. "description": "OK",
  6759. "schema": {
  6760. "$ref": "#/definitions/models.Marketrun"
  6761. }
  6762. },
  6763. "500": {
  6764. "description": "Internal Server Error",
  6765. "schema": {
  6766. "$ref": "#/definitions/app.Response"
  6767. }
  6768. }
  6769. }
  6770. }
  6771. },
  6772. "/Market/QueryMarketsByLoginID": {
  6773. "get": {
  6774. "security": [
  6775. {
  6776. "ApiKeyAuth": []
  6777. }
  6778. ],
  6779. "produces": [
  6780. "application/json"
  6781. ],
  6782. "tags": [
  6783. "通用市场"
  6784. ],
  6785. "summary": "获取登录账号有权限的市场信息",
  6786. "parameters": [
  6787. {
  6788. "type": "integer",
  6789. "description": "登录账号",
  6790. "name": "loginID",
  6791. "in": "query",
  6792. "required": true
  6793. }
  6794. ],
  6795. "responses": {
  6796. "200": {
  6797. "description": "OK",
  6798. "schema": {
  6799. "$ref": "#/definitions/models.Market"
  6800. }
  6801. },
  6802. "500": {
  6803. "description": "Internal Server Error",
  6804. "schema": {
  6805. "$ref": "#/definitions/app.Response"
  6806. }
  6807. }
  6808. }
  6809. }
  6810. },
  6811. "/Order/QueryHisTradeDetail": {
  6812. "get": {
  6813. "security": [
  6814. {
  6815. "ApiKeyAuth": []
  6816. }
  6817. ],
  6818. "produces": [
  6819. "application/json"
  6820. ],
  6821. "tags": [
  6822. "通用单据"
  6823. ],
  6824. "summary": "历史成交单查询(合约市场)",
  6825. "parameters": [
  6826. {
  6827. "type": "string",
  6828. "description": "资金账户 - 格式:1,2,3",
  6829. "name": "accountID",
  6830. "in": "query",
  6831. "required": true
  6832. },
  6833. {
  6834. "type": "integer",
  6835. "description": "成交单号",
  6836. "name": "tradeID",
  6837. "in": "query"
  6838. },
  6839. {
  6840. "type": "integer",
  6841. "description": "委托单号",
  6842. "name": "orderID",
  6843. "in": "query"
  6844. },
  6845. {
  6846. "type": "integer",
  6847. "description": "商品ID",
  6848. "name": "goodsID",
  6849. "in": "query"
  6850. },
  6851. {
  6852. "type": "string",
  6853. "description": "交易模式 - 格式:1,2,3",
  6854. "name": "tradeMode",
  6855. "in": "query"
  6856. },
  6857. {
  6858. "type": "integer",
  6859. "description": "委托单据类型",
  6860. "name": "buildType",
  6861. "in": "query"
  6862. },
  6863. {
  6864. "type": "string",
  6865. "description": "成交类别 - 格式:1,2,3",
  6866. "name": "tradeType",
  6867. "in": "query"
  6868. },
  6869. {
  6870. "type": "string",
  6871. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  6872. "name": "startDate",
  6873. "in": "query"
  6874. },
  6875. {
  6876. "type": "string",
  6877. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  6878. "name": "endDate",
  6879. "in": "query"
  6880. }
  6881. ],
  6882. "responses": {
  6883. "200": {
  6884. "description": "OK",
  6885. "schema": {
  6886. "$ref": "#/definitions/order.QueryHisTradeDetailRsp"
  6887. }
  6888. },
  6889. "500": {
  6890. "description": "Internal Server Error",
  6891. "schema": {
  6892. "$ref": "#/definitions/app.Response"
  6893. }
  6894. }
  6895. }
  6896. }
  6897. },
  6898. "/Order/QueryHisTradeOrderDetail": {
  6899. "get": {
  6900. "security": [
  6901. {
  6902. "ApiKeyAuth": []
  6903. }
  6904. ],
  6905. "produces": [
  6906. "application/json"
  6907. ],
  6908. "tags": [
  6909. "通用单据"
  6910. ],
  6911. "summary": "历史委托单查询请求(合约市场)",
  6912. "parameters": [
  6913. {
  6914. "type": "string",
  6915. "description": "资金账户 - 格式:1,2,3",
  6916. "name": "accountID",
  6917. "in": "query",
  6918. "required": true
  6919. },
  6920. {
  6921. "type": "string",
  6922. "description": "交易模式 - 格式:1,2,3",
  6923. "name": "tradeMode",
  6924. "in": "query"
  6925. },
  6926. {
  6927. "type": "string",
  6928. "description": "委托状态 - 格式:1,2,3",
  6929. "name": "orderStatus",
  6930. "in": "query"
  6931. },
  6932. {
  6933. "type": "integer",
  6934. "description": "委托单号",
  6935. "name": "orderID",
  6936. "in": "query"
  6937. },
  6938. {
  6939. "type": "string",
  6940. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  6941. "name": "startDate",
  6942. "in": "query"
  6943. },
  6944. {
  6945. "type": "string",
  6946. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  6947. "name": "endDate",
  6948. "in": "query"
  6949. }
  6950. ],
  6951. "responses": {
  6952. "200": {
  6953. "description": "OK",
  6954. "schema": {
  6955. "$ref": "#/definitions/order.QueryHisTradeOrderDetailRsp"
  6956. }
  6957. },
  6958. "500": {
  6959. "description": "Internal Server Error",
  6960. "schema": {
  6961. "$ref": "#/definitions/app.Response"
  6962. }
  6963. }
  6964. }
  6965. }
  6966. },
  6967. "/Order/QueryTradeDetail": {
  6968. "get": {
  6969. "security": [
  6970. {
  6971. "ApiKeyAuth": []
  6972. }
  6973. ],
  6974. "produces": [
  6975. "application/json"
  6976. ],
  6977. "tags": [
  6978. "通用单据"
  6979. ],
  6980. "summary": "成交单查询(合约市场)",
  6981. "parameters": [
  6982. {
  6983. "type": "string",
  6984. "description": "资金账户 - 格式:1,2,3",
  6985. "name": "accountID",
  6986. "in": "query",
  6987. "required": true
  6988. },
  6989. {
  6990. "type": "integer",
  6991. "description": "成交单号",
  6992. "name": "tradeID",
  6993. "in": "query"
  6994. },
  6995. {
  6996. "type": "integer",
  6997. "description": "委托单号",
  6998. "name": "orderID",
  6999. "in": "query"
  7000. },
  7001. {
  7002. "type": "string",
  7003. "description": "交易模式 - 格式:1,2,3",
  7004. "name": "tradeMode",
  7005. "in": "query"
  7006. },
  7007. {
  7008. "type": "integer",
  7009. "description": "委托单据类型",
  7010. "name": "buildType",
  7011. "in": "query"
  7012. },
  7013. {
  7014. "type": "string",
  7015. "description": "成交类别 - 格式:1,2,3",
  7016. "name": "tradeType",
  7017. "in": "query"
  7018. },
  7019. {
  7020. "type": "integer",
  7021. "description": "商品ID",
  7022. "name": "goodsID",
  7023. "in": "query"
  7024. }
  7025. ],
  7026. "responses": {
  7027. "200": {
  7028. "description": "OK",
  7029. "schema": {
  7030. "$ref": "#/definitions/order.QueryTradeDetailRsp"
  7031. }
  7032. },
  7033. "500": {
  7034. "description": "Internal Server Error",
  7035. "schema": {
  7036. "$ref": "#/definitions/app.Response"
  7037. }
  7038. }
  7039. }
  7040. }
  7041. },
  7042. "/Order/QueryTradeOrderDetail": {
  7043. "get": {
  7044. "security": [
  7045. {
  7046. "ApiKeyAuth": []
  7047. }
  7048. ],
  7049. "produces": [
  7050. "application/json"
  7051. ],
  7052. "tags": [
  7053. "通用单据"
  7054. ],
  7055. "summary": "委托单查询请求(合约市场)",
  7056. "parameters": [
  7057. {
  7058. "type": "string",
  7059. "description": "资金账户 - 格式:1,2,3",
  7060. "name": "accountID",
  7061. "in": "query",
  7062. "required": true
  7063. },
  7064. {
  7065. "type": "string",
  7066. "description": "交易模式 - 格式:1,2,3",
  7067. "name": "tradeMode",
  7068. "in": "query"
  7069. },
  7070. {
  7071. "type": "string",
  7072. "description": "委托状态 - 格式:1,2,3",
  7073. "name": "orderStatus",
  7074. "in": "query"
  7075. },
  7076. {
  7077. "type": "integer",
  7078. "description": "委托单号",
  7079. "name": "orderID",
  7080. "in": "query"
  7081. }
  7082. ],
  7083. "responses": {
  7084. "200": {
  7085. "description": "OK",
  7086. "schema": {
  7087. "$ref": "#/definitions/order.QueryTradeOrderDetailRsp"
  7088. }
  7089. },
  7090. "500": {
  7091. "description": "Internal Server Error",
  7092. "schema": {
  7093. "$ref": "#/definitions/app.Response"
  7094. }
  7095. }
  7096. }
  7097. }
  7098. },
  7099. "/Order/QueryTradePosition": {
  7100. "get": {
  7101. "security": [
  7102. {
  7103. "ApiKeyAuth": []
  7104. }
  7105. ],
  7106. "produces": [
  7107. "application/json"
  7108. ],
  7109. "tags": [
  7110. "通用单据"
  7111. ],
  7112. "summary": "持仓汇总查询(合约市场)",
  7113. "parameters": [
  7114. {
  7115. "type": "string",
  7116. "description": "资金账户 - 格式:1,2,3",
  7117. "name": "accountID",
  7118. "in": "query",
  7119. "required": true
  7120. },
  7121. {
  7122. "type": "string",
  7123. "description": "交易模式 - 格式:1,2,3",
  7124. "name": "tradeMode",
  7125. "in": "query"
  7126. }
  7127. ],
  7128. "responses": {
  7129. "200": {
  7130. "description": "OK",
  7131. "schema": {
  7132. "$ref": "#/definitions/order.QueryTradePositionRsp"
  7133. }
  7134. },
  7135. "500": {
  7136. "description": "Internal Server Error",
  7137. "schema": {
  7138. "$ref": "#/definitions/app.Response"
  7139. }
  7140. }
  7141. }
  7142. }
  7143. },
  7144. "/Qhj/QueryAccountInOutApply": {
  7145. "get": {
  7146. "security": [
  7147. {
  7148. "ApiKeyAuth": []
  7149. }
  7150. ],
  7151. "produces": [
  7152. "application/json"
  7153. ],
  7154. "tags": [
  7155. "大连千海金"
  7156. ],
  7157. "summary": "查询充值提现",
  7158. "parameters": [
  7159. {
  7160. "type": "integer",
  7161. "description": "用户ID",
  7162. "name": "userid",
  7163. "in": "query",
  7164. "required": true
  7165. },
  7166. {
  7167. "type": "string",
  7168. "description": "申请起始日期(格式yyyymmdd)",
  7169. "name": "begindate",
  7170. "in": "query"
  7171. },
  7172. {
  7173. "type": "string",
  7174. "description": "申请截止日期(格式yyyymmdd)",
  7175. "name": "enddate",
  7176. "in": "query"
  7177. },
  7178. {
  7179. "type": "string",
  7180. "description": "模糊搜索名称",
  7181. "name": "likename",
  7182. "in": "query"
  7183. }
  7184. ],
  7185. "responses": {
  7186. "200": {
  7187. "description": "OK",
  7188. "schema": {
  7189. "type": "array",
  7190. "items": {
  7191. "$ref": "#/definitions/models.QhjAccountOutInApply"
  7192. }
  7193. }
  7194. },
  7195. "500": {
  7196. "description": "Internal Server Error",
  7197. "schema": {
  7198. "$ref": "#/definitions/app.Response"
  7199. }
  7200. }
  7201. }
  7202. }
  7203. },
  7204. "/Qhj/QueryAreaFinanceConfig": {
  7205. "get": {
  7206. "security": [
  7207. {
  7208. "ApiKeyAuth": []
  7209. }
  7210. ],
  7211. "produces": [
  7212. "application/json"
  7213. ],
  7214. "tags": [
  7215. "大连千海金"
  7216. ],
  7217. "summary": "查询企业配置表",
  7218. "parameters": [
  7219. {
  7220. "type": "integer",
  7221. "description": "机构用户ID 其他做市关系,都设置为 1",
  7222. "name": "userid",
  7223. "in": "query"
  7224. }
  7225. ],
  7226. "responses": {
  7227. "200": {
  7228. "description": "OK",
  7229. "schema": {
  7230. "type": "array",
  7231. "items": {
  7232. "$ref": "#/definitions/models.QhjAreaFinanceConfig"
  7233. }
  7234. }
  7235. },
  7236. "500": {
  7237. "description": "Internal Server Error",
  7238. "schema": {
  7239. "$ref": "#/definitions/app.Response"
  7240. }
  7241. }
  7242. }
  7243. }
  7244. },
  7245. "/Qhj/QueryBankAccountSign": {
  7246. "get": {
  7247. "security": [
  7248. {
  7249. "ApiKeyAuth": []
  7250. }
  7251. ],
  7252. "produces": [
  7253. "application/json"
  7254. ],
  7255. "tags": [
  7256. "大连千海金"
  7257. ],
  7258. "summary": "查询签约银行信息(提现账户管理)",
  7259. "parameters": [
  7260. {
  7261. "type": "integer",
  7262. "description": "用户ID",
  7263. "name": "userid",
  7264. "in": "query",
  7265. "required": true
  7266. }
  7267. ],
  7268. "responses": {
  7269. "200": {
  7270. "description": "OK",
  7271. "schema": {
  7272. "type": "array",
  7273. "items": {
  7274. "$ref": "#/definitions/models.QhjBankAccountSign"
  7275. }
  7276. }
  7277. },
  7278. "500": {
  7279. "description": "Internal Server Error",
  7280. "schema": {
  7281. "$ref": "#/definitions/app.Response"
  7282. }
  7283. }
  7284. }
  7285. }
  7286. },
  7287. "/Qhj/QueryBankInfo": {
  7288. "get": {
  7289. "security": [
  7290. {
  7291. "ApiKeyAuth": []
  7292. }
  7293. ],
  7294. "produces": [
  7295. "application/json"
  7296. ],
  7297. "tags": [
  7298. "大连千海金"
  7299. ],
  7300. "summary": "查询开户行",
  7301. "responses": {
  7302. "200": {
  7303. "description": "OK",
  7304. "schema": {
  7305. "type": "array",
  7306. "items": {
  7307. "$ref": "#/definitions/models.QhjBankInfo"
  7308. }
  7309. }
  7310. },
  7311. "500": {
  7312. "description": "Internal Server Error",
  7313. "schema": {
  7314. "$ref": "#/definitions/app.Response"
  7315. }
  7316. }
  7317. }
  7318. }
  7319. },
  7320. "/Qhj/QueryBrokerApply": {
  7321. "get": {
  7322. "security": [
  7323. {
  7324. "ApiKeyAuth": []
  7325. }
  7326. ],
  7327. "produces": [
  7328. "application/json"
  7329. ],
  7330. "tags": [
  7331. "大连千海金"
  7332. ],
  7333. "summary": "查询经纪人申请",
  7334. "parameters": [
  7335. {
  7336. "type": "integer",
  7337. "description": "所属机构ID",
  7338. "name": "userid",
  7339. "in": "query"
  7340. },
  7341. {
  7342. "type": "string",
  7343. "description": "状态 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  7344. "name": "filterstatus",
  7345. "in": "query"
  7346. }
  7347. ],
  7348. "responses": {
  7349. "200": {
  7350. "description": "OK",
  7351. "schema": {
  7352. "type": "array",
  7353. "items": {
  7354. "$ref": "#/definitions/models.QhjBrokerApply"
  7355. }
  7356. }
  7357. },
  7358. "500": {
  7359. "description": "Internal Server Error",
  7360. "schema": {
  7361. "$ref": "#/definitions/app.Response"
  7362. }
  7363. }
  7364. }
  7365. }
  7366. },
  7367. "/Qhj/QueryBrokerApplyEx": {
  7368. "get": {
  7369. "security": [
  7370. {
  7371. "ApiKeyAuth": []
  7372. }
  7373. ],
  7374. "produces": [
  7375. "application/json"
  7376. ],
  7377. "tags": [
  7378. "大连千海金"
  7379. ],
  7380. "summary": "查询经纪人信息和申请记录",
  7381. "parameters": [
  7382. {
  7383. "type": "integer",
  7384. "description": "所属机构ID",
  7385. "name": "userid",
  7386. "in": "query"
  7387. }
  7388. ],
  7389. "responses": {
  7390. "200": {
  7391. "description": "OK",
  7392. "schema": {
  7393. "type": "array",
  7394. "items": {
  7395. "$ref": "#/definitions/models.QhjBrokerApplyEx"
  7396. }
  7397. }
  7398. },
  7399. "500": {
  7400. "description": "Internal Server Error",
  7401. "schema": {
  7402. "$ref": "#/definitions/app.Response"
  7403. }
  7404. }
  7405. }
  7406. }
  7407. },
  7408. "/Qhj/QueryBrokerRewardLog": {
  7409. "get": {
  7410. "security": [
  7411. {
  7412. "ApiKeyAuth": []
  7413. }
  7414. ],
  7415. "produces": [
  7416. "application/json"
  7417. ],
  7418. "tags": [
  7419. "大连千海金"
  7420. ],
  7421. "summary": "查询奖励流水(我的奖励)",
  7422. "parameters": [
  7423. {
  7424. "type": "integer",
  7425. "description": "用户ID",
  7426. "name": "userid",
  7427. "in": "query",
  7428. "required": true
  7429. },
  7430. {
  7431. "type": "string",
  7432. "description": "开始交易日(yyyymmdd)",
  7433. "name": "begindate",
  7434. "in": "query"
  7435. },
  7436. {
  7437. "type": "string",
  7438. "description": "结束交易日(yyyymmdd)",
  7439. "name": "enddate",
  7440. "in": "query"
  7441. }
  7442. ],
  7443. "responses": {
  7444. "200": {
  7445. "description": "OK",
  7446. "schema": {
  7447. "type": "array",
  7448. "items": {
  7449. "$ref": "#/definitions/models.QhjBrokerRewardLog"
  7450. }
  7451. }
  7452. },
  7453. "500": {
  7454. "description": "Internal Server Error",
  7455. "schema": {
  7456. "$ref": "#/definitions/app.Response"
  7457. }
  7458. }
  7459. }
  7460. }
  7461. },
  7462. "/Qhj/QueryContract": {
  7463. "get": {
  7464. "security": [
  7465. {
  7466. "ApiKeyAuth": []
  7467. }
  7468. ],
  7469. "produces": [
  7470. "application/json"
  7471. ],
  7472. "tags": [
  7473. "大连千海金"
  7474. ],
  7475. "summary": "查询融资明细(合同)",
  7476. "parameters": [
  7477. {
  7478. "type": "integer",
  7479. "description": "用户ID",
  7480. "name": "userid",
  7481. "in": "query"
  7482. },
  7483. {
  7484. "type": "integer",
  7485. "description": "scf合同id",
  7486. "name": "scfcontractid",
  7487. "in": "query"
  7488. }
  7489. ],
  7490. "responses": {
  7491. "200": {
  7492. "description": "OK",
  7493. "schema": {
  7494. "type": "array",
  7495. "items": {
  7496. "$ref": "#/definitions/models.QhjContract"
  7497. }
  7498. }
  7499. },
  7500. "500": {
  7501. "description": "Internal Server Error",
  7502. "schema": {
  7503. "$ref": "#/definitions/app.Response"
  7504. }
  7505. }
  7506. }
  7507. }
  7508. },
  7509. "/Qhj/QueryContractLog": {
  7510. "get": {
  7511. "security": [
  7512. {
  7513. "ApiKeyAuth": []
  7514. }
  7515. ],
  7516. "produces": [
  7517. "application/json"
  7518. ],
  7519. "tags": [
  7520. "大连千海金"
  7521. ],
  7522. "summary": "查询融资明细流水(融资明细详情页中的流水)",
  7523. "parameters": [
  7524. {
  7525. "type": "integer",
  7526. "description": "scf合同id",
  7527. "name": "scfcontractid",
  7528. "in": "query",
  7529. "required": true
  7530. },
  7531. {
  7532. "type": "string",
  7533. "description": "资金类型(逗号隔开) - 1:首付款 2:尾款 3:利息 4:追加款",
  7534. "name": "amounttype",
  7535. "in": "query"
  7536. }
  7537. ],
  7538. "responses": {
  7539. "200": {
  7540. "description": "OK",
  7541. "schema": {
  7542. "type": "array",
  7543. "items": {
  7544. "$ref": "#/definitions/models.QhjContractLog"
  7545. }
  7546. }
  7547. },
  7548. "500": {
  7549. "description": "Internal Server Error",
  7550. "schema": {
  7551. "$ref": "#/definitions/app.Response"
  7552. }
  7553. }
  7554. }
  7555. }
  7556. },
  7557. "/Qhj/QueryCusBankSignBank": {
  7558. "get": {
  7559. "security": [
  7560. {
  7561. "ApiKeyAuth": []
  7562. }
  7563. ],
  7564. "produces": [
  7565. "application/json"
  7566. ],
  7567. "tags": [
  7568. "大连千海金"
  7569. ],
  7570. "summary": "查询托管银行",
  7571. "responses": {
  7572. "200": {
  7573. "description": "OK",
  7574. "schema": {
  7575. "type": "array",
  7576. "items": {
  7577. "$ref": "#/definitions/models.QhjCusBankSignBankEx"
  7578. }
  7579. }
  7580. },
  7581. "500": {
  7582. "description": "Internal Server Error",
  7583. "schema": {
  7584. "$ref": "#/definitions/app.Response"
  7585. }
  7586. }
  7587. }
  7588. }
  7589. },
  7590. "/Qhj/QueryCustomerInfo": {
  7591. "get": {
  7592. "security": [
  7593. {
  7594. "ApiKeyAuth": []
  7595. }
  7596. ],
  7597. "produces": [
  7598. "application/json"
  7599. ],
  7600. "tags": [
  7601. "大连千海金"
  7602. ],
  7603. "summary": "查询客户资料",
  7604. "parameters": [
  7605. {
  7606. "type": "integer",
  7607. "description": "用户ID",
  7608. "name": "userid",
  7609. "in": "query",
  7610. "required": true
  7611. },
  7612. {
  7613. "type": "integer",
  7614. "description": "查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用",
  7615. "name": "querytype",
  7616. "in": "query",
  7617. "required": true
  7618. },
  7619. {
  7620. "type": "integer",
  7621. "description": "客户类型 1-个人 2-企业",
  7622. "name": "userinfotype",
  7623. "in": "query"
  7624. },
  7625. {
  7626. "type": "string",
  7627. "description": "客户名称(模糊匹配)",
  7628. "name": "customername",
  7629. "in": "query"
  7630. },
  7631. {
  7632. "type": "string",
  7633. "description": "昵称(模糊匹配)",
  7634. "name": "nickname",
  7635. "in": "query"
  7636. },
  7637. {
  7638. "type": "integer",
  7639. "description": "是否包含子级 1-包含",
  7640. "name": "includesub",
  7641. "in": "query"
  7642. }
  7643. ],
  7644. "responses": {
  7645. "200": {
  7646. "description": "OK",
  7647. "schema": {
  7648. "type": "array",
  7649. "items": {
  7650. "$ref": "#/definitions/models.QhjCustomer"
  7651. }
  7652. }
  7653. },
  7654. "500": {
  7655. "description": "Internal Server Error",
  7656. "schema": {
  7657. "$ref": "#/definitions/app.Response"
  7658. }
  7659. }
  7660. }
  7661. }
  7662. },
  7663. "/Qhj/QueryGoodsEx": {
  7664. "get": {
  7665. "security": [
  7666. {
  7667. "ApiKeyAuth": []
  7668. }
  7669. ],
  7670. "produces": [
  7671. "application/json"
  7672. ],
  7673. "tags": [
  7674. "大连千海金"
  7675. ],
  7676. "summary": "交易商品扩展表",
  7677. "parameters": [
  7678. {
  7679. "type": "integer",
  7680. "description": "商品id",
  7681. "name": "goodsid",
  7682. "in": "query"
  7683. }
  7684. ],
  7685. "responses": {
  7686. "200": {
  7687. "description": "OK",
  7688. "schema": {
  7689. "type": "array",
  7690. "items": {
  7691. "$ref": "#/definitions/models.Qhjgoodsex"
  7692. }
  7693. }
  7694. },
  7695. "500": {
  7696. "description": "Internal Server Error",
  7697. "schema": {
  7698. "$ref": "#/definitions/app.Response"
  7699. }
  7700. }
  7701. }
  7702. }
  7703. },
  7704. "/Qhj/QueryMyTeam": {
  7705. "get": {
  7706. "security": [
  7707. {
  7708. "ApiKeyAuth": []
  7709. }
  7710. ],
  7711. "produces": [
  7712. "application/json"
  7713. ],
  7714. "tags": [
  7715. "大连千海金"
  7716. ],
  7717. "summary": "查询我的团队",
  7718. "parameters": [
  7719. {
  7720. "type": "integer",
  7721. "description": "用户ID",
  7722. "name": "userid",
  7723. "in": "query",
  7724. "required": true
  7725. }
  7726. ],
  7727. "responses": {
  7728. "200": {
  7729. "description": "OK",
  7730. "schema": {
  7731. "type": "array",
  7732. "items": {
  7733. "$ref": "#/definitions/models.QhjMyTeamEx"
  7734. }
  7735. }
  7736. },
  7737. "500": {
  7738. "description": "Internal Server Error",
  7739. "schema": {
  7740. "$ref": "#/definitions/app.Response"
  7741. }
  7742. }
  7743. }
  7744. }
  7745. },
  7746. "/Qhj/QueryMyTeamOrder": {
  7747. "get": {
  7748. "security": [
  7749. {
  7750. "ApiKeyAuth": []
  7751. }
  7752. ],
  7753. "produces": [
  7754. "application/json"
  7755. ],
  7756. "tags": [
  7757. "大连千海金"
  7758. ],
  7759. "summary": "查询团队订单(我的团队/团队订单)",
  7760. "parameters": [
  7761. {
  7762. "type": "integer",
  7763. "description": "页码",
  7764. "name": "page",
  7765. "in": "query"
  7766. },
  7767. {
  7768. "type": "integer",
  7769. "description": "每页条数",
  7770. "name": "pagesize",
  7771. "in": "query"
  7772. },
  7773. {
  7774. "type": "integer",
  7775. "description": "用户ID",
  7776. "name": "userid",
  7777. "in": "query",
  7778. "required": true
  7779. },
  7780. {
  7781. "type": "integer",
  7782. "description": "交易模式",
  7783. "name": "trademode",
  7784. "in": "query"
  7785. },
  7786. {
  7787. "type": "string",
  7788. "description": "名称(模糊搜索账户)",
  7789. "name": "filtername",
  7790. "in": "query"
  7791. }
  7792. ],
  7793. "responses": {
  7794. "200": {
  7795. "description": "OK",
  7796. "schema": {
  7797. "type": "array",
  7798. "items": {
  7799. "$ref": "#/definitions/models.QhjTeamOrder"
  7800. }
  7801. }
  7802. },
  7803. "500": {
  7804. "description": "Internal Server Error",
  7805. "schema": {
  7806. "$ref": "#/definitions/app.Response"
  7807. }
  7808. }
  7809. }
  7810. }
  7811. },
  7812. "/Qhj/QueryParentAreaList": {
  7813. "get": {
  7814. "security": [
  7815. {
  7816. "ApiKeyAuth": []
  7817. }
  7818. ],
  7819. "produces": [
  7820. "application/json"
  7821. ],
  7822. "tags": [
  7823. "大连千海金"
  7824. ],
  7825. "summary": "查询所属机构列表",
  7826. "parameters": [
  7827. {
  7828. "type": "integer",
  7829. "description": "用户ID",
  7830. "name": "userid",
  7831. "in": "query",
  7832. "required": true
  7833. }
  7834. ],
  7835. "responses": {
  7836. "200": {
  7837. "description": "OK",
  7838. "schema": {
  7839. "type": "array",
  7840. "items": {
  7841. "$ref": "#/definitions/models.QhjParentAreaList"
  7842. }
  7843. }
  7844. },
  7845. "500": {
  7846. "description": "Internal Server Error",
  7847. "schema": {
  7848. "$ref": "#/definitions/app.Response"
  7849. }
  7850. }
  7851. }
  7852. }
  7853. },
  7854. "/Qhj/QueryPayOrder": {
  7855. "get": {
  7856. "security": [
  7857. {
  7858. "ApiKeyAuth": []
  7859. }
  7860. ],
  7861. "produces": [
  7862. "application/json"
  7863. ],
  7864. "tags": [
  7865. "大连千海金"
  7866. ],
  7867. "summary": "查询待付款单据",
  7868. "parameters": [
  7869. {
  7870. "type": "integer",
  7871. "description": "资金账号id",
  7872. "name": "accountid",
  7873. "in": "query",
  7874. "required": true
  7875. },
  7876. {
  7877. "type": "integer",
  7878. "description": "成交单号",
  7879. "name": "tradeid",
  7880. "in": "query"
  7881. },
  7882. {
  7883. "type": "string",
  7884. "description": "付款标识(可多个,逗号隔开) - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  7885. "name": "payflag",
  7886. "in": "query"
  7887. }
  7888. ],
  7889. "responses": {
  7890. "200": {
  7891. "description": "OK",
  7892. "schema": {
  7893. "type": "array",
  7894. "items": {
  7895. "$ref": "#/definitions/models.QhjPayOrder"
  7896. }
  7897. }
  7898. },
  7899. "500": {
  7900. "description": "Internal Server Error",
  7901. "schema": {
  7902. "$ref": "#/definitions/app.Response"
  7903. }
  7904. }
  7905. }
  7906. }
  7907. },
  7908. "/Qhj/QueryPickArea": {
  7909. "get": {
  7910. "security": [
  7911. {
  7912. "ApiKeyAuth": []
  7913. }
  7914. ],
  7915. "produces": [
  7916. "application/json"
  7917. ],
  7918. "tags": [
  7919. "大连千海金"
  7920. ],
  7921. "summary": "查询提货门店",
  7922. "parameters": [
  7923. {
  7924. "type": "integer",
  7925. "description": "用户ID",
  7926. "name": "userid",
  7927. "in": "query"
  7928. }
  7929. ],
  7930. "responses": {
  7931. "200": {
  7932. "description": "OK",
  7933. "schema": {
  7934. "type": "array",
  7935. "items": {
  7936. "$ref": "#/definitions/models.QhjPickArea"
  7937. }
  7938. }
  7939. },
  7940. "500": {
  7941. "description": "Internal Server Error",
  7942. "schema": {
  7943. "$ref": "#/definitions/app.Response"
  7944. }
  7945. }
  7946. }
  7947. }
  7948. },
  7949. "/Qhj/QueryPickGoods": {
  7950. "get": {
  7951. "security": [
  7952. {
  7953. "ApiKeyAuth": []
  7954. }
  7955. ],
  7956. "produces": [
  7957. "application/json"
  7958. ],
  7959. "tags": [
  7960. "大连千海金"
  7961. ],
  7962. "summary": "查询提货商品",
  7963. "parameters": [
  7964. {
  7965. "type": "integer",
  7966. "description": "交易商品id",
  7967. "name": "goodsid",
  7968. "in": "query",
  7969. "required": true
  7970. },
  7971. {
  7972. "type": "string",
  7973. "description": "状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销",
  7974. "name": "status",
  7975. "in": "query"
  7976. }
  7977. ],
  7978. "responses": {
  7979. "200": {
  7980. "description": "OK",
  7981. "schema": {
  7982. "type": "array",
  7983. "items": {
  7984. "$ref": "#/definitions/models.QhjPickGoods"
  7985. }
  7986. }
  7987. },
  7988. "500": {
  7989. "description": "Internal Server Error",
  7990. "schema": {
  7991. "$ref": "#/definitions/app.Response"
  7992. }
  7993. }
  7994. }
  7995. }
  7996. },
  7997. "/Qhj/QueryRSTriggerLog": {
  7998. "get": {
  7999. "security": [
  8000. {
  8001. "ApiKeyAuth": []
  8002. }
  8003. ],
  8004. "produces": [
  8005. "application/json"
  8006. ],
  8007. "tags": [
  8008. "大连千海金"
  8009. ],
  8010. "summary": "查询定投记录(定投管理/详情/定投记录)",
  8011. "parameters": [
  8012. {
  8013. "type": "integer",
  8014. "description": "用户ID",
  8015. "name": "userid",
  8016. "in": "query"
  8017. },
  8018. {
  8019. "type": "integer",
  8020. "description": "定投策略id",
  8021. "name": "regularlystrategyid",
  8022. "in": "query"
  8023. },
  8024. {
  8025. "type": "integer",
  8026. "description": "商品id",
  8027. "name": "goodsid",
  8028. "in": "query"
  8029. },
  8030. {
  8031. "type": "string",
  8032. "description": "开始交易日(yyyymmdd)",
  8033. "name": "begindate",
  8034. "in": "query"
  8035. },
  8036. {
  8037. "type": "string",
  8038. "description": "结束交易日(yyyymmdd)",
  8039. "name": "enddate",
  8040. "in": "query"
  8041. },
  8042. {
  8043. "type": "string",
  8044. "description": "名称(模糊搜索账户)",
  8045. "name": "filtername",
  8046. "in": "query"
  8047. }
  8048. ],
  8049. "responses": {
  8050. "200": {
  8051. "description": "OK",
  8052. "schema": {
  8053. "type": "array",
  8054. "items": {
  8055. "$ref": "#/definitions/models.QhjRSTriggerLog"
  8056. }
  8057. }
  8058. },
  8059. "500": {
  8060. "description": "Internal Server Error",
  8061. "schema": {
  8062. "$ref": "#/definitions/app.Response"
  8063. }
  8064. }
  8065. }
  8066. }
  8067. },
  8068. "/Qhj/QueryRStrategy": {
  8069. "get": {
  8070. "security": [
  8071. {
  8072. "ApiKeyAuth": []
  8073. }
  8074. ],
  8075. "produces": [
  8076. "application/json"
  8077. ],
  8078. "tags": [
  8079. "大连千海金"
  8080. ],
  8081. "summary": "查询定投设置(我的定投/历史定投[状态=已终止])",
  8082. "parameters": [
  8083. {
  8084. "type": "integer",
  8085. "description": "用户ID",
  8086. "name": "userid",
  8087. "in": "query"
  8088. },
  8089. {
  8090. "type": "integer",
  8091. "description": "商品id",
  8092. "name": "goodsid",
  8093. "in": "query"
  8094. },
  8095. {
  8096. "type": "string",
  8097. "description": "策略状态(可多选,逗号隔开) - 1:正常 2:暂停 3:终止",
  8098. "name": "status",
  8099. "in": "query"
  8100. },
  8101. {
  8102. "type": "string",
  8103. "description": "名称(模糊搜索账户)",
  8104. "name": "filtername",
  8105. "in": "query"
  8106. }
  8107. ],
  8108. "responses": {
  8109. "200": {
  8110. "description": "OK",
  8111. "schema": {
  8112. "type": "array",
  8113. "items": {
  8114. "$ref": "#/definitions/models.QhjRStrategy"
  8115. }
  8116. }
  8117. },
  8118. "500": {
  8119. "description": "Internal Server Error",
  8120. "schema": {
  8121. "$ref": "#/definitions/app.Response"
  8122. }
  8123. }
  8124. }
  8125. }
  8126. },
  8127. "/Qhj/QueryReckonPriceLog": {
  8128. "get": {
  8129. "security": [
  8130. {
  8131. "ApiKeyAuth": []
  8132. }
  8133. ],
  8134. "produces": [
  8135. "application/json"
  8136. ],
  8137. "tags": [
  8138. "大连千海金"
  8139. ],
  8140. "summary": "查询定投价(结算价)",
  8141. "parameters": [
  8142. {
  8143. "type": "integer",
  8144. "description": "商品ID",
  8145. "name": "goodsid",
  8146. "in": "query"
  8147. },
  8148. {
  8149. "type": "string",
  8150. "description": "交易日 格式(yyyymmdd)",
  8151. "name": "tradedate",
  8152. "in": "query"
  8153. }
  8154. ],
  8155. "responses": {
  8156. "200": {
  8157. "description": "OK",
  8158. "schema": {
  8159. "type": "array",
  8160. "items": {
  8161. "$ref": "#/definitions/models.QhjReckonPriceLog"
  8162. }
  8163. }
  8164. },
  8165. "500": {
  8166. "description": "Internal Server Error",
  8167. "schema": {
  8168. "$ref": "#/definitions/app.Response"
  8169. }
  8170. }
  8171. }
  8172. }
  8173. },
  8174. "/Qhj/QueryScoreLog": {
  8175. "get": {
  8176. "security": [
  8177. {
  8178. "ApiKeyAuth": []
  8179. }
  8180. ],
  8181. "produces": [
  8182. "application/json"
  8183. ],
  8184. "tags": [
  8185. "大连千海金"
  8186. ],
  8187. "summary": "查询积分流水(我的积分)",
  8188. "parameters": [
  8189. {
  8190. "type": "integer",
  8191. "description": "用户ID",
  8192. "name": "userid",
  8193. "in": "query",
  8194. "required": true
  8195. },
  8196. {
  8197. "type": "string",
  8198. "description": "开始交易日(yyyymmdd)",
  8199. "name": "begindate",
  8200. "in": "query"
  8201. },
  8202. {
  8203. "type": "string",
  8204. "description": "结束交易日(yyyymmdd)",
  8205. "name": "enddate",
  8206. "in": "query"
  8207. },
  8208. {
  8209. "type": "integer",
  8210. "description": "最近多少条",
  8211. "name": "lastnum",
  8212. "in": "query"
  8213. }
  8214. ],
  8215. "responses": {
  8216. "200": {
  8217. "description": "OK",
  8218. "schema": {
  8219. "type": "array",
  8220. "items": {
  8221. "$ref": "#/definitions/models.QhjScoreLog"
  8222. }
  8223. }
  8224. },
  8225. "500": {
  8226. "description": "Internal Server Error",
  8227. "schema": {
  8228. "$ref": "#/definitions/app.Response"
  8229. }
  8230. }
  8231. }
  8232. }
  8233. },
  8234. "/Qhj/QuerySiteColumnDetail": {
  8235. "get": {
  8236. "security": [
  8237. {
  8238. "ApiKeyAuth": []
  8239. }
  8240. ],
  8241. "produces": [
  8242. "application/json"
  8243. ],
  8244. "tags": [
  8245. "大连千海金"
  8246. ],
  8247. "summary": "查询资讯",
  8248. "parameters": [
  8249. {
  8250. "type": "integer",
  8251. "description": "用户ID",
  8252. "name": "userid",
  8253. "in": "query",
  8254. "required": true
  8255. }
  8256. ],
  8257. "responses": {
  8258. "200": {
  8259. "description": "OK",
  8260. "schema": {
  8261. "type": "array",
  8262. "items": {
  8263. "$ref": "#/definitions/models.QhjSiteColumnDetail"
  8264. }
  8265. }
  8266. },
  8267. "500": {
  8268. "description": "Internal Server Error",
  8269. "schema": {
  8270. "$ref": "#/definitions/app.Response"
  8271. }
  8272. }
  8273. }
  8274. }
  8275. },
  8276. "/Qhj/QueryTradeGoodsPickup": {
  8277. "get": {
  8278. "security": [
  8279. {
  8280. "ApiKeyAuth": []
  8281. }
  8282. ],
  8283. "produces": [
  8284. "application/json"
  8285. ],
  8286. "tags": [
  8287. "大连千海金"
  8288. ],
  8289. "summary": "查询提货",
  8290. "parameters": [
  8291. {
  8292. "type": "integer",
  8293. "description": "用户ID",
  8294. "name": "userid",
  8295. "in": "query",
  8296. "required": true
  8297. },
  8298. {
  8299. "type": "integer",
  8300. "description": "提货状态 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄) 7:已拒绝 8:已撤销",
  8301. "name": "takeorderstatus",
  8302. "in": "query"
  8303. }
  8304. ],
  8305. "responses": {
  8306. "200": {
  8307. "description": "OK",
  8308. "schema": {
  8309. "type": "array",
  8310. "items": {
  8311. "$ref": "#/definitions/models.QhjTradeGoodsPickup"
  8312. }
  8313. }
  8314. },
  8315. "500": {
  8316. "description": "Internal Server Error",
  8317. "schema": {
  8318. "$ref": "#/definitions/app.Response"
  8319. }
  8320. }
  8321. }
  8322. }
  8323. },
  8324. "/Qhj/QueryUserCollectConfig": {
  8325. "get": {
  8326. "security": [
  8327. {
  8328. "ApiKeyAuth": []
  8329. }
  8330. ],
  8331. "produces": [
  8332. "application/json"
  8333. ],
  8334. "tags": [
  8335. "大连千海金"
  8336. ],
  8337. "summary": "查询提现账户设置",
  8338. "parameters": [
  8339. {
  8340. "type": "integer",
  8341. "description": "用户ID",
  8342. "name": "userid",
  8343. "in": "query",
  8344. "required": true
  8345. }
  8346. ],
  8347. "responses": {
  8348. "200": {
  8349. "description": "OK",
  8350. "schema": {
  8351. "type": "array",
  8352. "items": {
  8353. "$ref": "#/definitions/models.UserCollectConfig"
  8354. }
  8355. }
  8356. },
  8357. "500": {
  8358. "description": "Internal Server Error",
  8359. "schema": {
  8360. "$ref": "#/definitions/app.Response"
  8361. }
  8362. }
  8363. }
  8364. }
  8365. },
  8366. "/Qhj/QueryUserReceiveInfo": {
  8367. "get": {
  8368. "security": [
  8369. {
  8370. "ApiKeyAuth": []
  8371. }
  8372. ],
  8373. "produces": [
  8374. "application/json"
  8375. ],
  8376. "tags": [
  8377. "大连千海金"
  8378. ],
  8379. "summary": "查询收货地址信息",
  8380. "parameters": [
  8381. {
  8382. "type": "integer",
  8383. "description": "用户ID",
  8384. "name": "userid",
  8385. "in": "query",
  8386. "required": true
  8387. }
  8388. ],
  8389. "responses": {
  8390. "200": {
  8391. "description": "OK",
  8392. "schema": {
  8393. "type": "array",
  8394. "items": {
  8395. "$ref": "#/definitions/models.UserReceiveInfo"
  8396. }
  8397. }
  8398. },
  8399. "500": {
  8400. "description": "Internal Server Error",
  8401. "schema": {
  8402. "$ref": "#/definitions/app.Response"
  8403. }
  8404. }
  8405. }
  8406. }
  8407. },
  8408. "/QhjMgr/QueryAccountInOutApply": {
  8409. "get": {
  8410. "security": [
  8411. {
  8412. "ApiKeyAuth": []
  8413. }
  8414. ],
  8415. "produces": [
  8416. "application/json"
  8417. ],
  8418. "tags": [
  8419. "大连千海金(PCWeb)"
  8420. ],
  8421. "summary": "查询充值提现",
  8422. "parameters": [
  8423. {
  8424. "type": "integer",
  8425. "description": "查询类型 1-提现(出金) 2-充值(出金)",
  8426. "name": "querytype",
  8427. "in": "query",
  8428. "required": true
  8429. },
  8430. {
  8431. "type": "integer",
  8432. "description": "状态 1-待审核 2-审核通过 3-审核拒绝",
  8433. "name": "applystatus",
  8434. "in": "query"
  8435. },
  8436. {
  8437. "type": "string",
  8438. "description": "申请起始日期(格式yyyymmdd)",
  8439. "name": "begindate",
  8440. "in": "query"
  8441. },
  8442. {
  8443. "type": "string",
  8444. "description": "申请截止日期(格式yyyymmdd)",
  8445. "name": "enddate",
  8446. "in": "query"
  8447. },
  8448. {
  8449. "type": "string",
  8450. "description": "模糊搜索名称",
  8451. "name": "likename",
  8452. "in": "query"
  8453. }
  8454. ],
  8455. "responses": {
  8456. "200": {
  8457. "description": "OK",
  8458. "schema": {
  8459. "type": "array",
  8460. "items": {
  8461. "$ref": "#/definitions/models.QhjMgrAccountOutInApply"
  8462. }
  8463. }
  8464. },
  8465. "500": {
  8466. "description": "Internal Server Error",
  8467. "schema": {
  8468. "$ref": "#/definitions/app.Response"
  8469. }
  8470. }
  8471. }
  8472. }
  8473. },
  8474. "/QhjMgr/QueryBrokerApply": {
  8475. "get": {
  8476. "security": [
  8477. {
  8478. "ApiKeyAuth": []
  8479. }
  8480. ],
  8481. "produces": [
  8482. "application/json"
  8483. ],
  8484. "tags": [
  8485. "大连千海金(PCWeb)"
  8486. ],
  8487. "summary": "查询经纪人申请",
  8488. "parameters": [
  8489. {
  8490. "type": "integer",
  8491. "description": "所属机构ID",
  8492. "name": "userid",
  8493. "in": "query"
  8494. },
  8495. {
  8496. "type": "string",
  8497. "description": "状态 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  8498. "name": "filterstatus",
  8499. "in": "query"
  8500. },
  8501. {
  8502. "type": "string",
  8503. "description": "名称(模糊匹配)",
  8504. "name": "filtername",
  8505. "in": "query"
  8506. },
  8507. {
  8508. "type": "integer",
  8509. "description": "是否包含子级 1-包含",
  8510. "name": "includesub",
  8511. "in": "query"
  8512. }
  8513. ],
  8514. "responses": {
  8515. "200": {
  8516. "description": "OK",
  8517. "schema": {
  8518. "type": "array",
  8519. "items": {
  8520. "$ref": "#/definitions/models.QhjMgrBrokerApply"
  8521. }
  8522. }
  8523. },
  8524. "500": {
  8525. "description": "Internal Server Error",
  8526. "schema": {
  8527. "$ref": "#/definitions/app.Response"
  8528. }
  8529. }
  8530. }
  8531. }
  8532. },
  8533. "/QhjMgr/QueryBrokerRewardReport": {
  8534. "get": {
  8535. "security": [
  8536. {
  8537. "ApiKeyAuth": []
  8538. }
  8539. ],
  8540. "produces": [
  8541. "application/json"
  8542. ],
  8543. "tags": [
  8544. "大连千海金(PCWeb)"
  8545. ],
  8546. "summary": "查询经纪人奖励报表(废弃)",
  8547. "parameters": [
  8548. {
  8549. "type": "integer",
  8550. "description": "所属机构ID",
  8551. "name": "userid",
  8552. "in": "query",
  8553. "required": true
  8554. },
  8555. {
  8556. "type": "integer",
  8557. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  8558. "name": "cycletype",
  8559. "in": "query",
  8560. "required": true
  8561. },
  8562. {
  8563. "type": "string",
  8564. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD) 全(0)【原值】",
  8565. "name": "cycletime",
  8566. "in": "query",
  8567. "required": true
  8568. },
  8569. {
  8570. "type": "string",
  8571. "description": "名称(模糊匹配)",
  8572. "name": "filtername",
  8573. "in": "query"
  8574. },
  8575. {
  8576. "type": "integer",
  8577. "description": "是否包含子级 1-包含",
  8578. "name": "includesub",
  8579. "in": "query"
  8580. }
  8581. ],
  8582. "responses": {
  8583. "200": {
  8584. "description": "OK",
  8585. "schema": {
  8586. "type": "array",
  8587. "items": {
  8588. "$ref": "#/definitions/models.QhjMgrBrokerRewardReport"
  8589. }
  8590. }
  8591. },
  8592. "500": {
  8593. "description": "Internal Server Error",
  8594. "schema": {
  8595. "$ref": "#/definitions/app.Response"
  8596. }
  8597. }
  8598. }
  8599. }
  8600. },
  8601. "/QhjMgr/QueryContract": {
  8602. "get": {
  8603. "security": [
  8604. {
  8605. "ApiKeyAuth": []
  8606. }
  8607. ],
  8608. "produces": [
  8609. "application/json"
  8610. ],
  8611. "tags": [
  8612. "大连千海金(PCWeb)"
  8613. ],
  8614. "summary": "查询融资信息(合同)",
  8615. "parameters": [
  8616. {
  8617. "type": "integer",
  8618. "description": "用户ID",
  8619. "name": "userid",
  8620. "in": "query"
  8621. },
  8622. {
  8623. "type": "integer",
  8624. "description": "商品id",
  8625. "name": "goodsid",
  8626. "in": "query"
  8627. },
  8628. {
  8629. "type": "string",
  8630. "description": "名称(模糊搜索账户)",
  8631. "name": "filtername",
  8632. "in": "query"
  8633. },
  8634. {
  8635. "type": "string",
  8636. "description": "风险级别(逗号隔开) - 1:正常 2:追加货款 3:支付尾款",
  8637. "name": "risklevel",
  8638. "in": "query"
  8639. },
  8640. {
  8641. "type": "string",
  8642. "description": "开始交易日(yyyymmdd)",
  8643. "name": "begindate",
  8644. "in": "query"
  8645. },
  8646. {
  8647. "type": "string",
  8648. "description": "结束交易日(yyyymmdd)",
  8649. "name": "enddate",
  8650. "in": "query"
  8651. }
  8652. ],
  8653. "responses": {
  8654. "200": {
  8655. "description": "OK",
  8656. "schema": {
  8657. "type": "array",
  8658. "items": {
  8659. "$ref": "#/definitions/models.QhjMgrContract"
  8660. }
  8661. }
  8662. },
  8663. "500": {
  8664. "description": "Internal Server Error",
  8665. "schema": {
  8666. "$ref": "#/definitions/app.Response"
  8667. }
  8668. }
  8669. }
  8670. }
  8671. },
  8672. "/QhjMgr/QueryCustomerInfo": {
  8673. "get": {
  8674. "security": [
  8675. {
  8676. "ApiKeyAuth": []
  8677. }
  8678. ],
  8679. "produces": [
  8680. "application/json"
  8681. ],
  8682. "tags": [
  8683. "大连千海金(PCWeb)"
  8684. ],
  8685. "summary": "查询客户资料",
  8686. "parameters": [
  8687. {
  8688. "type": "integer",
  8689. "description": "用户ID",
  8690. "name": "userid",
  8691. "in": "query",
  8692. "required": true
  8693. },
  8694. {
  8695. "type": "integer",
  8696. "description": "查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用",
  8697. "name": "querytype",
  8698. "in": "query",
  8699. "required": true
  8700. },
  8701. {
  8702. "type": "integer",
  8703. "description": "客户类型 1-个人 2-企业",
  8704. "name": "userinfotype",
  8705. "in": "query"
  8706. },
  8707. {
  8708. "type": "string",
  8709. "description": "客户名称(模糊匹配)",
  8710. "name": "customername",
  8711. "in": "query"
  8712. },
  8713. {
  8714. "type": "string",
  8715. "description": "昵称(模糊匹配)",
  8716. "name": "nickname",
  8717. "in": "query"
  8718. },
  8719. {
  8720. "type": "integer",
  8721. "description": "是否包含子级 1-包含",
  8722. "name": "includesub",
  8723. "in": "query"
  8724. }
  8725. ],
  8726. "responses": {
  8727. "200": {
  8728. "description": "OK",
  8729. "schema": {
  8730. "type": "array",
  8731. "items": {
  8732. "$ref": "#/definitions/models.QhjMgrCustomer"
  8733. }
  8734. }
  8735. },
  8736. "500": {
  8737. "description": "Internal Server Error",
  8738. "schema": {
  8739. "$ref": "#/definitions/app.Response"
  8740. }
  8741. }
  8742. }
  8743. }
  8744. },
  8745. "/QhjMgr/QueryPickGoods": {
  8746. "get": {
  8747. "security": [
  8748. {
  8749. "ApiKeyAuth": []
  8750. }
  8751. ],
  8752. "produces": [
  8753. "application/json"
  8754. ],
  8755. "tags": [
  8756. "大连千海金(PCWeb)"
  8757. ],
  8758. "summary": "查询提货商品",
  8759. "parameters": [
  8760. {
  8761. "type": "string",
  8762. "description": "状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销",
  8763. "name": "status",
  8764. "in": "query"
  8765. }
  8766. ],
  8767. "responses": {
  8768. "200": {
  8769. "description": "OK",
  8770. "schema": {
  8771. "type": "array",
  8772. "items": {
  8773. "$ref": "#/definitions/models.QhjMgrPickGoods"
  8774. }
  8775. }
  8776. },
  8777. "500": {
  8778. "description": "Internal Server Error",
  8779. "schema": {
  8780. "$ref": "#/definitions/app.Response"
  8781. }
  8782. }
  8783. }
  8784. }
  8785. },
  8786. "/QhjMgr/QuerySubArea": {
  8787. "get": {
  8788. "security": [
  8789. {
  8790. "ApiKeyAuth": []
  8791. }
  8792. ],
  8793. "produces": [
  8794. "application/json"
  8795. ],
  8796. "tags": [
  8797. "大连千海金(PCWeb)"
  8798. ],
  8799. "summary": "查询子机构列表",
  8800. "parameters": [
  8801. {
  8802. "type": "integer",
  8803. "description": "用户ID",
  8804. "name": "userid",
  8805. "in": "query",
  8806. "required": true
  8807. }
  8808. ],
  8809. "responses": {
  8810. "200": {
  8811. "description": "OK",
  8812. "schema": {
  8813. "type": "array",
  8814. "items": {
  8815. "$ref": "#/definitions/models.QhjMgrSubArea"
  8816. }
  8817. }
  8818. },
  8819. "500": {
  8820. "description": "Internal Server Error",
  8821. "schema": {
  8822. "$ref": "#/definitions/app.Response"
  8823. }
  8824. }
  8825. }
  8826. }
  8827. },
  8828. "/QhjMgr/QueryTradeDetail": {
  8829. "get": {
  8830. "security": [
  8831. {
  8832. "ApiKeyAuth": []
  8833. }
  8834. ],
  8835. "produces": [
  8836. "application/json"
  8837. ],
  8838. "tags": [
  8839. "大连千海金(PCWeb)"
  8840. ],
  8841. "summary": "查询成交明细",
  8842. "parameters": [
  8843. {
  8844. "type": "integer",
  8845. "description": "用户ID",
  8846. "name": "userid",
  8847. "in": "query",
  8848. "required": true
  8849. },
  8850. {
  8851. "type": "integer",
  8852. "description": "用户类型 1-个人 2-企业",
  8853. "name": "userinfotype",
  8854. "in": "query"
  8855. },
  8856. {
  8857. "type": "integer",
  8858. "description": "交易模式",
  8859. "name": "trademode",
  8860. "in": "query"
  8861. },
  8862. {
  8863. "type": "integer",
  8864. "description": "商品id",
  8865. "name": "goodsid",
  8866. "in": "query"
  8867. },
  8868. {
  8869. "type": "string",
  8870. "description": "名称(模糊搜索账户)",
  8871. "name": "filtername",
  8872. "in": "query"
  8873. },
  8874. {
  8875. "type": "string",
  8876. "description": "开始交易日(yyyymmdd)",
  8877. "name": "begindate",
  8878. "in": "query"
  8879. },
  8880. {
  8881. "type": "string",
  8882. "description": "结束交易日(yyyymmdd)",
  8883. "name": "enddate",
  8884. "in": "query"
  8885. },
  8886. {
  8887. "type": "integer",
  8888. "description": "是否包含子级 1-包含",
  8889. "name": "includesub",
  8890. "in": "query"
  8891. }
  8892. ],
  8893. "responses": {
  8894. "200": {
  8895. "description": "OK",
  8896. "schema": {
  8897. "type": "array",
  8898. "items": {
  8899. "$ref": "#/definitions/models.QhjMgrTradeDetailRsp"
  8900. }
  8901. }
  8902. },
  8903. "500": {
  8904. "description": "Internal Server Error",
  8905. "schema": {
  8906. "$ref": "#/definitions/app.Response"
  8907. }
  8908. }
  8909. }
  8910. }
  8911. },
  8912. "/QhjMgr/QueryTradeOrderDetail": {
  8913. "get": {
  8914. "security": [
  8915. {
  8916. "ApiKeyAuth": []
  8917. }
  8918. ],
  8919. "produces": [
  8920. "application/json"
  8921. ],
  8922. "tags": [
  8923. "大连千海金(PCWeb)"
  8924. ],
  8925. "summary": "查询委托明细",
  8926. "parameters": [
  8927. {
  8928. "type": "integer",
  8929. "description": "用户ID",
  8930. "name": "userid",
  8931. "in": "query",
  8932. "required": true
  8933. },
  8934. {
  8935. "type": "integer",
  8936. "description": "用户类型 1-个人 2-企业",
  8937. "name": "userinfotype",
  8938. "in": "query"
  8939. },
  8940. {
  8941. "type": "integer",
  8942. "description": "交易模式",
  8943. "name": "trademode",
  8944. "in": "query"
  8945. },
  8946. {
  8947. "type": "integer",
  8948. "description": "商品id",
  8949. "name": "goodsid",
  8950. "in": "query"
  8951. },
  8952. {
  8953. "type": "string",
  8954. "description": "名称(模糊搜索账户)",
  8955. "name": "filtername",
  8956. "in": "query"
  8957. },
  8958. {
  8959. "type": "string",
  8960. "description": "开始交易日(yyyymmdd)",
  8961. "name": "begindate",
  8962. "in": "query"
  8963. },
  8964. {
  8965. "type": "string",
  8966. "description": "结束交易日(yyyymmdd)",
  8967. "name": "enddate",
  8968. "in": "query"
  8969. },
  8970. {
  8971. "type": "integer",
  8972. "description": "是否包含子级 1-包含",
  8973. "name": "includesub",
  8974. "in": "query"
  8975. }
  8976. ],
  8977. "responses": {
  8978. "200": {
  8979. "description": "OK",
  8980. "schema": {
  8981. "type": "array",
  8982. "items": {
  8983. "$ref": "#/definitions/models.QhjMgrTradeOrderDetailRsp"
  8984. }
  8985. }
  8986. },
  8987. "500": {
  8988. "description": "Internal Server Error",
  8989. "schema": {
  8990. "$ref": "#/definitions/app.Response"
  8991. }
  8992. }
  8993. }
  8994. }
  8995. },
  8996. "/QhjMgr/QueryTradePayOrder": {
  8997. "get": {
  8998. "security": [
  8999. {
  9000. "ApiKeyAuth": []
  9001. }
  9002. ],
  9003. "produces": [
  9004. "application/json"
  9005. ],
  9006. "tags": [
  9007. "大连千海金(PCWeb)"
  9008. ],
  9009. "summary": "查询待付款单",
  9010. "parameters": [
  9011. {
  9012. "type": "integer",
  9013. "description": "用户ID",
  9014. "name": "userid",
  9015. "in": "query",
  9016. "required": true
  9017. },
  9018. {
  9019. "type": "string",
  9020. "description": "付款标识(逗号隔开,如1,2) - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  9021. "name": "payflag",
  9022. "in": "query"
  9023. },
  9024. {
  9025. "type": "integer",
  9026. "description": "用户类型 1-个人 2-企业",
  9027. "name": "userinfotype",
  9028. "in": "query"
  9029. },
  9030. {
  9031. "type": "integer",
  9032. "description": "交易模式",
  9033. "name": "trademode",
  9034. "in": "query"
  9035. },
  9036. {
  9037. "type": "integer",
  9038. "description": "商品id",
  9039. "name": "goodsid",
  9040. "in": "query"
  9041. },
  9042. {
  9043. "type": "string",
  9044. "description": "名称(模糊搜索账户)",
  9045. "name": "filtername",
  9046. "in": "query"
  9047. },
  9048. {
  9049. "type": "string",
  9050. "description": "开始交易日(yyyymmdd)",
  9051. "name": "begindate",
  9052. "in": "query"
  9053. },
  9054. {
  9055. "type": "string",
  9056. "description": "结束交易日(yyyymmdd)",
  9057. "name": "enddate",
  9058. "in": "query"
  9059. },
  9060. {
  9061. "type": "integer",
  9062. "description": "是否包含子级 1-包含",
  9063. "name": "includesub",
  9064. "in": "query"
  9065. }
  9066. ],
  9067. "responses": {
  9068. "200": {
  9069. "description": "OK",
  9070. "schema": {
  9071. "type": "array",
  9072. "items": {
  9073. "$ref": "#/definitions/models.QhjMgrTradePayOrder"
  9074. }
  9075. }
  9076. },
  9077. "500": {
  9078. "description": "Internal Server Error",
  9079. "schema": {
  9080. "$ref": "#/definitions/app.Response"
  9081. }
  9082. }
  9083. }
  9084. }
  9085. },
  9086. "/QhjMgr/QueryTradePosition": {
  9087. "get": {
  9088. "security": [
  9089. {
  9090. "ApiKeyAuth": []
  9091. }
  9092. ],
  9093. "produces": [
  9094. "application/json"
  9095. ],
  9096. "tags": [
  9097. "大连千海金(PCWeb)"
  9098. ],
  9099. "summary": "查询持仓汇总",
  9100. "parameters": [
  9101. {
  9102. "type": "integer",
  9103. "description": "用户ID",
  9104. "name": "userid",
  9105. "in": "query",
  9106. "required": true
  9107. },
  9108. {
  9109. "type": "integer",
  9110. "description": "用户类型 1-个人 2-企业",
  9111. "name": "userinfotype",
  9112. "in": "query"
  9113. },
  9114. {
  9115. "type": "integer",
  9116. "description": "交易模式",
  9117. "name": "trademode",
  9118. "in": "query"
  9119. },
  9120. {
  9121. "type": "integer",
  9122. "description": "商品id",
  9123. "name": "goodsid",
  9124. "in": "query"
  9125. },
  9126. {
  9127. "type": "string",
  9128. "description": "名称(模糊搜索账户)",
  9129. "name": "filtername",
  9130. "in": "query"
  9131. },
  9132. {
  9133. "type": "integer",
  9134. "description": "是否包含子级 1-包含",
  9135. "name": "includesub",
  9136. "in": "query"
  9137. }
  9138. ],
  9139. "responses": {
  9140. "200": {
  9141. "description": "OK",
  9142. "schema": {
  9143. "type": "array",
  9144. "items": {
  9145. "$ref": "#/definitions/models.QhjMgrPositionRsp"
  9146. }
  9147. }
  9148. },
  9149. "500": {
  9150. "description": "Internal Server Error",
  9151. "schema": {
  9152. "$ref": "#/definitions/app.Response"
  9153. }
  9154. }
  9155. }
  9156. }
  9157. },
  9158. "/QhjSys/QueryAgreementChangeLog": {
  9159. "get": {
  9160. "security": [
  9161. {
  9162. "ApiKeyAuth": []
  9163. }
  9164. ],
  9165. "produces": [
  9166. "application/json"
  9167. ],
  9168. "tags": [
  9169. "大连千海金(协议和签约信息)"
  9170. ],
  9171. "summary": "查询协议配置变更流水",
  9172. "parameters": [
  9173. {
  9174. "type": "integer",
  9175. "description": "协议ID",
  9176. "name": "agreementid",
  9177. "in": "query"
  9178. },
  9179. {
  9180. "type": "integer",
  9181. "description": "协议版本号",
  9182. "name": "agreementversion",
  9183. "in": "query"
  9184. },
  9185. {
  9186. "type": "integer",
  9187. "description": "协议类型 - 1:注册 2:登录 3:交易",
  9188. "name": "agreementtype",
  9189. "in": "query"
  9190. },
  9191. {
  9192. "type": "string",
  9193. "description": "协议编号(模糊匹配)",
  9194. "name": "agreementno",
  9195. "in": "query"
  9196. },
  9197. {
  9198. "type": "string",
  9199. "description": "协议名称(模糊匹配)",
  9200. "name": "agreementname",
  9201. "in": "query"
  9202. }
  9203. ],
  9204. "responses": {
  9205. "200": {
  9206. "description": "OK",
  9207. "schema": {
  9208. "type": "array",
  9209. "items": {
  9210. "$ref": "#/definitions/models.QhjAgreementChangeLog"
  9211. }
  9212. }
  9213. },
  9214. "500": {
  9215. "description": "Internal Server Error",
  9216. "schema": {
  9217. "$ref": "#/definitions/app.Response"
  9218. }
  9219. }
  9220. }
  9221. }
  9222. },
  9223. "/QhjSys/QueryAgreementConfig": {
  9224. "get": {
  9225. "security": [
  9226. {
  9227. "ApiKeyAuth": []
  9228. }
  9229. ],
  9230. "produces": [
  9231. "application/json"
  9232. ],
  9233. "tags": [
  9234. "大连千海金(协议和签约信息)"
  9235. ],
  9236. "summary": "查询协议配置",
  9237. "parameters": [
  9238. {
  9239. "type": "integer",
  9240. "description": "协议ID",
  9241. "name": "agreementid",
  9242. "in": "query"
  9243. },
  9244. {
  9245. "type": "integer",
  9246. "description": "协议版本号",
  9247. "name": "agreementversion",
  9248. "in": "query"
  9249. },
  9250. {
  9251. "type": "integer",
  9252. "description": "协议类型 - 1:注册 2:登录 3:交易",
  9253. "name": "agreementtype",
  9254. "in": "query"
  9255. },
  9256. {
  9257. "type": "integer",
  9258. "description": "是否有效 - 是否有效 - 1:正常 2:停用 3:注销",
  9259. "name": "isvalid",
  9260. "in": "query"
  9261. },
  9262. {
  9263. "type": "string",
  9264. "description": "协议编号(模糊匹配)",
  9265. "name": "agreementno",
  9266. "in": "query"
  9267. },
  9268. {
  9269. "type": "string",
  9270. "description": "协议名称(模糊匹配)",
  9271. "name": "agreementname",
  9272. "in": "query"
  9273. }
  9274. ],
  9275. "responses": {
  9276. "200": {
  9277. "description": "OK",
  9278. "schema": {
  9279. "type": "array",
  9280. "items": {
  9281. "$ref": "#/definitions/models.QhjAgreementConfig"
  9282. }
  9283. }
  9284. },
  9285. "500": {
  9286. "description": "Internal Server Error",
  9287. "schema": {
  9288. "$ref": "#/definitions/app.Response"
  9289. }
  9290. }
  9291. }
  9292. }
  9293. },
  9294. "/QhjSys/QueryCustomerSignStatus": {
  9295. "get": {
  9296. "security": [
  9297. {
  9298. "ApiKeyAuth": []
  9299. }
  9300. ],
  9301. "produces": [
  9302. "application/json"
  9303. ],
  9304. "tags": [
  9305. "大连千海金(协议和签约信息)"
  9306. ],
  9307. "summary": "查询客户协议签约状态",
  9308. "parameters": [
  9309. {
  9310. "type": "integer",
  9311. "description": "客户ID",
  9312. "name": "userid",
  9313. "in": "query"
  9314. },
  9315. {
  9316. "type": "integer",
  9317. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出 99:首次交易",
  9318. "name": "nodetype",
  9319. "in": "query"
  9320. },
  9321. {
  9322. "type": "integer",
  9323. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  9324. "name": "goodsid",
  9325. "in": "query"
  9326. },
  9327. {
  9328. "type": "string",
  9329. "description": "创建交易日(yyyyMMdd)",
  9330. "name": "tradedate",
  9331. "in": "query"
  9332. },
  9333. {
  9334. "type": "string",
  9335. "description": "用户名称(模糊匹配)",
  9336. "name": "username",
  9337. "in": "query"
  9338. }
  9339. ],
  9340. "responses": {
  9341. "200": {
  9342. "description": "OK",
  9343. "schema": {
  9344. "type": "array",
  9345. "items": {
  9346. "$ref": "#/definitions/models.QhjCustomerSignStatus"
  9347. }
  9348. }
  9349. },
  9350. "500": {
  9351. "description": "Internal Server Error",
  9352. "schema": {
  9353. "$ref": "#/definitions/app.Response"
  9354. }
  9355. }
  9356. }
  9357. }
  9358. },
  9359. "/QhjSys/QueryNodeAgreementConfig": {
  9360. "get": {
  9361. "security": [
  9362. {
  9363. "ApiKeyAuth": []
  9364. }
  9365. ],
  9366. "produces": [
  9367. "application/json"
  9368. ],
  9369. "tags": [
  9370. "大连千海金(协议和签约信息)"
  9371. ],
  9372. "summary": "查询协议节点配置",
  9373. "parameters": [
  9374. {
  9375. "type": "integer",
  9376. "description": "配置id(SEQ_QHJ_NODEAGREEMENTCONFIG)",
  9377. "name": "configid",
  9378. "in": "query"
  9379. },
  9380. {
  9381. "type": "integer",
  9382. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  9383. "name": "nodetype",
  9384. "in": "query"
  9385. },
  9386. {
  9387. "type": "integer",
  9388. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  9389. "name": "goodsid",
  9390. "in": "query"
  9391. },
  9392. {
  9393. "type": "integer",
  9394. "description": "协议ID",
  9395. "name": "agreementid",
  9396. "in": "query"
  9397. },
  9398. {
  9399. "type": "integer",
  9400. "description": "协议类型 - 1:注册 2:登录 3:交易",
  9401. "name": "agreementtype",
  9402. "in": "query"
  9403. },
  9404. {
  9405. "type": "integer",
  9406. "description": "协议版本号",
  9407. "name": "agreementversion",
  9408. "in": "query"
  9409. },
  9410. {
  9411. "type": "string",
  9412. "description": "协议编号(模糊匹配)",
  9413. "name": "agreementno",
  9414. "in": "query"
  9415. },
  9416. {
  9417. "type": "string",
  9418. "description": "协议名称(模糊匹配)",
  9419. "name": "agreementname",
  9420. "in": "query"
  9421. }
  9422. ],
  9423. "responses": {
  9424. "200": {
  9425. "description": "OK",
  9426. "schema": {
  9427. "type": "array",
  9428. "items": {
  9429. "$ref": "#/definitions/models.QhjNodeAgreementConfig"
  9430. }
  9431. }
  9432. },
  9433. "500": {
  9434. "description": "Internal Server Error",
  9435. "schema": {
  9436. "$ref": "#/definitions/app.Response"
  9437. }
  9438. }
  9439. }
  9440. }
  9441. },
  9442. "/QhjSys/QueryQhjCustomerSignLog": {
  9443. "get": {
  9444. "security": [
  9445. {
  9446. "ApiKeyAuth": []
  9447. }
  9448. ],
  9449. "produces": [
  9450. "application/json"
  9451. ],
  9452. "tags": [
  9453. "大连千海金(协议和签约信息)"
  9454. ],
  9455. "summary": "查询客户协议签约流水",
  9456. "parameters": [
  9457. {
  9458. "type": "integer",
  9459. "description": "流水ID(SEQ_QHJ_CUSTOMERSIGNLOG)",
  9460. "name": "logid",
  9461. "in": "query"
  9462. },
  9463. {
  9464. "type": "integer",
  9465. "description": "客户ID",
  9466. "name": "userid",
  9467. "in": "query"
  9468. },
  9469. {
  9470. "type": "integer",
  9471. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  9472. "name": "nodetype",
  9473. "in": "query"
  9474. },
  9475. {
  9476. "type": "integer",
  9477. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  9478. "name": "goodsid",
  9479. "in": "query"
  9480. },
  9481. {
  9482. "type": "integer",
  9483. "description": "协议ID",
  9484. "name": "agreementid",
  9485. "in": "query"
  9486. },
  9487. {
  9488. "type": "string",
  9489. "description": "用户名称(模糊匹配)",
  9490. "name": "username",
  9491. "in": "query"
  9492. },
  9493. {
  9494. "type": "string",
  9495. "description": "协议编号(模糊匹配)",
  9496. "name": "agreementno",
  9497. "in": "query"
  9498. },
  9499. {
  9500. "type": "string",
  9501. "description": "协议名称(模糊匹配)",
  9502. "name": "agreementname",
  9503. "in": "query"
  9504. }
  9505. ],
  9506. "responses": {
  9507. "200": {
  9508. "description": "OK",
  9509. "schema": {
  9510. "type": "array",
  9511. "items": {
  9512. "$ref": "#/definitions/models.QhjCustomerSignLog"
  9513. }
  9514. }
  9515. },
  9516. "500": {
  9517. "description": "Internal Server Error",
  9518. "schema": {
  9519. "$ref": "#/definitions/app.Response"
  9520. }
  9521. }
  9522. }
  9523. }
  9524. },
  9525. "/QhjSys/QueryUserNodeCfgAndStatus": {
  9526. "get": {
  9527. "security": [
  9528. {
  9529. "ApiKeyAuth": []
  9530. }
  9531. ],
  9532. "produces": [
  9533. "application/json"
  9534. ],
  9535. "tags": [
  9536. "大连千海金(协议和签约信息)"
  9537. ],
  9538. "summary": "查询用户协议节点配置和状态",
  9539. "parameters": [
  9540. {
  9541. "type": "integer",
  9542. "description": "客户ID",
  9543. "name": "userid",
  9544. "in": "query"
  9545. },
  9546. {
  9547. "type": "integer",
  9548. "description": "配置id(SEQ_QHJ_NODEAGREEMENTCONFIG)",
  9549. "name": "configid",
  9550. "in": "query"
  9551. },
  9552. {
  9553. "type": "string",
  9554. "description": "环节类型(可多个,逗号隔开) - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  9555. "name": "nodetype",
  9556. "in": "query"
  9557. },
  9558. {
  9559. "type": "integer",
  9560. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  9561. "name": "goodsid",
  9562. "in": "query"
  9563. },
  9564. {
  9565. "type": "integer",
  9566. "description": "协议ID",
  9567. "name": "agreementid",
  9568. "in": "query"
  9569. },
  9570. {
  9571. "type": "integer",
  9572. "description": "协议类型 - 1:注册 2:登录 3:交易",
  9573. "name": "agreementtype",
  9574. "in": "query"
  9575. },
  9576. {
  9577. "type": "integer",
  9578. "description": "协议版本号",
  9579. "name": "agreementversion",
  9580. "in": "query"
  9581. },
  9582. {
  9583. "type": "string",
  9584. "description": "协议编号(模糊匹配)",
  9585. "name": "agreementno",
  9586. "in": "query"
  9587. },
  9588. {
  9589. "type": "string",
  9590. "description": "协议名称(模糊匹配)",
  9591. "name": "agreementname",
  9592. "in": "query"
  9593. }
  9594. ],
  9595. "responses": {
  9596. "200": {
  9597. "description": "OK",
  9598. "schema": {
  9599. "type": "array",
  9600. "items": {
  9601. "$ref": "#/definitions/models.QhjUserNodeCfgAndStatus"
  9602. }
  9603. }
  9604. },
  9605. "500": {
  9606. "description": "Internal Server Error",
  9607. "schema": {
  9608. "$ref": "#/definitions/app.Response"
  9609. }
  9610. }
  9611. }
  9612. }
  9613. },
  9614. "/Quote/QueryHistoryDatas": {
  9615. "get": {
  9616. "security": [
  9617. {
  9618. "ApiKeyAuth": []
  9619. }
  9620. ],
  9621. "produces": [
  9622. "application/json"
  9623. ],
  9624. "tags": [
  9625. "行情服务"
  9626. ],
  9627. "summary": "查询行情历史数据",
  9628. "parameters": [
  9629. {
  9630. "type": "integer",
  9631. "description": "周期类型, 0-秒 1: 1分钟 2: 5分钟 3: 30分钟 4: 60分钟 120: 2小时 240: 4小时 11: 日线",
  9632. "name": "cycleType",
  9633. "in": "query",
  9634. "required": true
  9635. },
  9636. {
  9637. "type": "string",
  9638. "description": "商品代码",
  9639. "name": "goodsCode",
  9640. "in": "query",
  9641. "required": true
  9642. },
  9643. {
  9644. "type": "string",
  9645. "description": "开始时间,格式:yyyy-MM-dd HH:mm:ss",
  9646. "name": "startTime",
  9647. "in": "query"
  9648. },
  9649. {
  9650. "type": "string",
  9651. "description": "结束时间,格式:yyyy-MM-dd HH:mm:ss",
  9652. "name": "endTime",
  9653. "in": "query"
  9654. },
  9655. {
  9656. "type": "integer",
  9657. "description": "条数",
  9658. "name": "count",
  9659. "in": "query"
  9660. },
  9661. {
  9662. "type": "boolean",
  9663. "description": "是否按时间顺序排序(默认为时间倒序排序)",
  9664. "name": "isAsc",
  9665. "in": "query"
  9666. }
  9667. ],
  9668. "responses": {
  9669. "200": {
  9670. "description": "OK",
  9671. "schema": {
  9672. "$ref": "#/definitions/quote.HistoryData"
  9673. }
  9674. },
  9675. "500": {
  9676. "description": "Internal Server Error",
  9677. "schema": {
  9678. "$ref": "#/definitions/app.Response"
  9679. }
  9680. }
  9681. }
  9682. }
  9683. },
  9684. "/Quote/QueryHistoryTikDatas": {
  9685. "get": {
  9686. "security": [
  9687. {
  9688. "ApiKeyAuth": []
  9689. }
  9690. ],
  9691. "produces": [
  9692. "application/json"
  9693. ],
  9694. "tags": [
  9695. "行情服务"
  9696. ],
  9697. "summary": "查询行情Tik数据",
  9698. "parameters": [
  9699. {
  9700. "type": "string",
  9701. "description": "商品代码",
  9702. "name": "goodsCode",
  9703. "in": "query",
  9704. "required": true
  9705. },
  9706. {
  9707. "type": "string",
  9708. "description": "开始时间,格式:yyyy-MM-dd HH:mm:ss",
  9709. "name": "startTime",
  9710. "in": "query"
  9711. },
  9712. {
  9713. "type": "string",
  9714. "description": "结束时间,格式:yyyy-MM-dd HH:mm:ss",
  9715. "name": "endTime",
  9716. "in": "query"
  9717. },
  9718. {
  9719. "type": "integer",
  9720. "description": "条数",
  9721. "name": "count",
  9722. "in": "query"
  9723. },
  9724. {
  9725. "type": "boolean",
  9726. "description": "是否按时间顺序排序(默认为时间倒序排序)",
  9727. "name": "isAsc",
  9728. "in": "query"
  9729. }
  9730. ],
  9731. "responses": {
  9732. "200": {
  9733. "description": "OK",
  9734. "schema": {
  9735. "$ref": "#/definitions/quote.HistoryTikData"
  9736. }
  9737. },
  9738. "500": {
  9739. "description": "Internal Server Error",
  9740. "schema": {
  9741. "$ref": "#/definitions/app.Response"
  9742. }
  9743. }
  9744. }
  9745. }
  9746. },
  9747. "/Quote/QueryQuoteDay": {
  9748. "get": {
  9749. "security": [
  9750. {
  9751. "ApiKeyAuth": []
  9752. }
  9753. ],
  9754. "produces": [
  9755. "application/json"
  9756. ],
  9757. "tags": [
  9758. "行情服务"
  9759. ],
  9760. "summary": "获取商品盘面信息",
  9761. "parameters": [
  9762. {
  9763. "type": "string",
  9764. "description": "商品代码列表,格式:CU2102,CU2103,AL2107",
  9765. "name": "goodsCodes",
  9766. "in": "query",
  9767. "required": true
  9768. }
  9769. ],
  9770. "responses": {
  9771. "200": {
  9772. "description": "OK",
  9773. "schema": {
  9774. "$ref": "#/definitions/quote.QueryQuoteDayRsp"
  9775. }
  9776. },
  9777. "500": {
  9778. "description": "Internal Server Error",
  9779. "schema": {
  9780. "$ref": "#/definitions/app.Response"
  9781. }
  9782. }
  9783. }
  9784. }
  9785. },
  9786. "/Quote/QueryTSData": {
  9787. "get": {
  9788. "security": [
  9789. {
  9790. "ApiKeyAuth": []
  9791. }
  9792. ],
  9793. "produces": [
  9794. "application/json"
  9795. ],
  9796. "tags": [
  9797. "行情服务"
  9798. ],
  9799. "summary": "分时图数据查询",
  9800. "parameters": [
  9801. {
  9802. "type": "string",
  9803. "description": "商品代码",
  9804. "name": "goodsCode",
  9805. "in": "query",
  9806. "required": true
  9807. }
  9808. ],
  9809. "responses": {
  9810. "200": {
  9811. "description": "OK",
  9812. "schema": {
  9813. "$ref": "#/definitions/quote.QueryTSDataRsp"
  9814. }
  9815. },
  9816. "500": {
  9817. "description": "Internal Server Error",
  9818. "schema": {
  9819. "$ref": "#/definitions/app.Response"
  9820. }
  9821. }
  9822. }
  9823. }
  9824. },
  9825. "/SZDZ/QueryConvertConfig": {
  9826. "get": {
  9827. "security": [
  9828. {
  9829. "ApiKeyAuth": []
  9830. }
  9831. ],
  9832. "produces": [
  9833. "application/json"
  9834. ],
  9835. "tags": [
  9836. "定制【尚志大宗】"
  9837. ],
  9838. "summary": "查询交易系统转换设置",
  9839. "parameters": [
  9840. {
  9841. "type": "integer",
  9842. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)",
  9843. "name": "convertType",
  9844. "in": "query"
  9845. },
  9846. {
  9847. "type": "string",
  9848. "description": "外部商品代码[JD\\PD]",
  9849. "name": "outerGoodsCode",
  9850. "in": "query"
  9851. },
  9852. {
  9853. "type": "string",
  9854. "description": "内部商品ID列表[交易],格式:1,2,3",
  9855. "name": "innerGoodsIDs",
  9856. "in": "query"
  9857. }
  9858. ],
  9859. "responses": {
  9860. "200": {
  9861. "description": "OK",
  9862. "schema": {
  9863. "$ref": "#/definitions/models.Szdz3convertconfig"
  9864. }
  9865. },
  9866. "500": {
  9867. "description": "Internal Server Error",
  9868. "schema": {
  9869. "$ref": "#/definitions/app.Response"
  9870. }
  9871. }
  9872. }
  9873. }
  9874. },
  9875. "/SZDZ/QueryConvertLog": {
  9876. "get": {
  9877. "security": [
  9878. {
  9879. "ApiKeyAuth": []
  9880. }
  9881. ],
  9882. "produces": [
  9883. "application/json"
  9884. ],
  9885. "tags": [
  9886. "定制【尚志大宗】"
  9887. ],
  9888. "summary": "交易系统转换流水查询",
  9889. "parameters": [
  9890. {
  9891. "type": "string",
  9892. "description": "资金账户 - 格式:1,2,3",
  9893. "name": "accountID",
  9894. "in": "query",
  9895. "required": true
  9896. },
  9897. {
  9898. "type": "string",
  9899. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  9900. "name": "startDate",
  9901. "in": "query"
  9902. },
  9903. {
  9904. "type": "string",
  9905. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  9906. "name": "endDate",
  9907. "in": "query"
  9908. }
  9909. ],
  9910. "responses": {
  9911. "200": {
  9912. "description": "OK",
  9913. "schema": {
  9914. "$ref": "#/definitions/szdz.QueryConvertLogRsp"
  9915. }
  9916. },
  9917. "500": {
  9918. "description": "Internal Server Error",
  9919. "schema": {
  9920. "$ref": "#/definitions/app.Response"
  9921. }
  9922. }
  9923. }
  9924. }
  9925. },
  9926. "/SZDZ/QueryGoodsPickup": {
  9927. "get": {
  9928. "security": [
  9929. {
  9930. "ApiKeyAuth": []
  9931. }
  9932. ],
  9933. "produces": [
  9934. "application/json"
  9935. ],
  9936. "tags": [
  9937. "定制【尚志大宗】"
  9938. ],
  9939. "summary": "商品提货单查询",
  9940. "parameters": [
  9941. {
  9942. "type": "string",
  9943. "description": "资金账户 - 格式:1,2,3",
  9944. "name": "accountID",
  9945. "in": "query",
  9946. "required": true
  9947. },
  9948. {
  9949. "type": "integer",
  9950. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  9951. "name": "takeOrderStatus",
  9952. "in": "query"
  9953. }
  9954. ],
  9955. "responses": {
  9956. "200": {
  9957. "description": "OK",
  9958. "schema": {
  9959. "$ref": "#/definitions/szdz.QueryGoodsPickupRsp"
  9960. }
  9961. },
  9962. "500": {
  9963. "description": "Internal Server Error",
  9964. "schema": {
  9965. "$ref": "#/definitions/app.Response"
  9966. }
  9967. }
  9968. }
  9969. }
  9970. },
  9971. "/SZDZ/QueryRecieptOrder": {
  9972. "get": {
  9973. "security": [
  9974. {
  9975. "ApiKeyAuth": []
  9976. }
  9977. ],
  9978. "description": "说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算",
  9979. "produces": [
  9980. "application/json"
  9981. ],
  9982. "tags": [
  9983. "定制【尚志大宗】"
  9984. ],
  9985. "summary": "点选挂牌委托单据查询(摘牌大厅)",
  9986. "parameters": [
  9987. {
  9988. "type": "integer",
  9989. "description": "页码",
  9990. "name": "page",
  9991. "in": "query"
  9992. },
  9993. {
  9994. "type": "integer",
  9995. "description": "每页条数",
  9996. "name": "pagesize",
  9997. "in": "query"
  9998. },
  9999. {
  10000. "type": "integer",
  10001. "description": "商品ID",
  10002. "name": "goodsID",
  10003. "in": "query",
  10004. "required": true
  10005. },
  10006. {
  10007. "type": "string",
  10008. "description": "所属账户名称",
  10009. "name": "accountName",
  10010. "in": "query"
  10011. },
  10012. {
  10013. "type": "integer",
  10014. "description": "市场ID",
  10015. "name": "marketID",
  10016. "in": "query"
  10017. },
  10018. {
  10019. "type": "integer",
  10020. "description": "方向 - 0:买 1:卖",
  10021. "name": "buyorsell",
  10022. "in": "query",
  10023. "required": true
  10024. }
  10025. ],
  10026. "responses": {
  10027. "200": {
  10028. "description": "OK",
  10029. "schema": {
  10030. "$ref": "#/definitions/szdz.QueryRecieptOrderRsp"
  10031. }
  10032. },
  10033. "500": {
  10034. "description": "Internal Server Error",
  10035. "schema": {
  10036. "$ref": "#/definitions/app.Response"
  10037. }
  10038. }
  10039. }
  10040. }
  10041. },
  10042. "/SZDZ/QuerySZDZTradePosition": {
  10043. "get": {
  10044. "security": [
  10045. {
  10046. "ApiKeyAuth": []
  10047. }
  10048. ],
  10049. "produces": [
  10050. "application/json"
  10051. ],
  10052. "tags": [
  10053. "定制【尚志大宗】"
  10054. ],
  10055. "summary": "持仓汇总查询(尚志大宗)",
  10056. "parameters": [
  10057. {
  10058. "type": "integer",
  10059. "description": "资金账户",
  10060. "name": "accountID",
  10061. "in": "query",
  10062. "required": true
  10063. }
  10064. ],
  10065. "responses": {
  10066. "200": {
  10067. "description": "OK",
  10068. "schema": {
  10069. "$ref": "#/definitions/szdz.QuerySZDZTradePositionRsp"
  10070. }
  10071. },
  10072. "500": {
  10073. "description": "Internal Server Error",
  10074. "schema": {
  10075. "$ref": "#/definitions/app.Response"
  10076. }
  10077. }
  10078. }
  10079. }
  10080. },
  10081. "/SZDZ/SearchWhite": {
  10082. "get": {
  10083. "security": [
  10084. {
  10085. "ApiKeyAuth": []
  10086. }
  10087. ],
  10088. "produces": [
  10089. "application/json"
  10090. ],
  10091. "tags": [
  10092. "定制【尚志大宗】"
  10093. ],
  10094. "summary": "搜索白名单",
  10095. "parameters": [
  10096. {
  10097. "type": "integer",
  10098. "description": "用户ID",
  10099. "name": "userID",
  10100. "in": "query",
  10101. "required": true
  10102. }
  10103. ],
  10104. "responses": {
  10105. "200": {
  10106. "description": "OK",
  10107. "schema": {
  10108. "$ref": "#/definitions/models.Szdz3searchwhitelist"
  10109. }
  10110. },
  10111. "500": {
  10112. "description": "Internal Server Error",
  10113. "schema": {
  10114. "$ref": "#/definitions/app.Response"
  10115. }
  10116. }
  10117. }
  10118. }
  10119. },
  10120. "/Search/SearchGoodses": {
  10121. "get": {
  10122. "description": "说明:使用检索内容模糊匹配商品代码和商品名称",
  10123. "produces": [
  10124. "application/json"
  10125. ],
  10126. "tags": [
  10127. "检索服务"
  10128. ],
  10129. "summary": "检索商品信息",
  10130. "parameters": [
  10131. {
  10132. "type": "string",
  10133. "description": "检索内容",
  10134. "name": "content",
  10135. "in": "query",
  10136. "required": true
  10137. },
  10138. {
  10139. "type": "string",
  10140. "description": "交易模式,格式:1,2,3",
  10141. "name": "tradeModes",
  10142. "in": "query"
  10143. }
  10144. ],
  10145. "responses": {
  10146. "200": {
  10147. "description": "OK",
  10148. "schema": {
  10149. "$ref": "#/definitions/models.SearchGoods"
  10150. }
  10151. },
  10152. "500": {
  10153. "description": "Internal Server Error",
  10154. "schema": {
  10155. "$ref": "#/definitions/app.Response"
  10156. }
  10157. }
  10158. }
  10159. }
  10160. },
  10161. "/TaAccount/GetTaAccounts": {
  10162. "get": {
  10163. "security": [
  10164. {
  10165. "ApiKeyAuth": []
  10166. }
  10167. ],
  10168. "produces": [
  10169. "application/json"
  10170. ],
  10171. "tags": [
  10172. "资金账户"
  10173. ],
  10174. "summary": "获取资金账户信息",
  10175. "parameters": [
  10176. {
  10177. "type": "integer",
  10178. "description": "登录账户",
  10179. "name": "loginID",
  10180. "in": "query",
  10181. "required": true
  10182. },
  10183. {
  10184. "type": "integer",
  10185. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  10186. "name": "taAccountType",
  10187. "in": "query"
  10188. }
  10189. ],
  10190. "responses": {
  10191. "200": {
  10192. "description": "OK",
  10193. "schema": {
  10194. "$ref": "#/definitions/models.Taaccount"
  10195. }
  10196. },
  10197. "500": {
  10198. "description": "Internal Server Error",
  10199. "schema": {
  10200. "$ref": "#/definitions/app.Response"
  10201. }
  10202. }
  10203. }
  10204. }
  10205. },
  10206. "/TaAccount/QueryAmountLog": {
  10207. "get": {
  10208. "security": [
  10209. {
  10210. "ApiKeyAuth": []
  10211. }
  10212. ],
  10213. "produces": [
  10214. "application/json"
  10215. ],
  10216. "tags": [
  10217. "资金账户"
  10218. ],
  10219. "summary": "资金流水查询(当前)",
  10220. "parameters": [
  10221. {
  10222. "type": "integer",
  10223. "description": "页码",
  10224. "name": "page",
  10225. "in": "query"
  10226. },
  10227. {
  10228. "type": "integer",
  10229. "description": "每页条数",
  10230. "name": "pagesize",
  10231. "in": "query"
  10232. },
  10233. {
  10234. "type": "string",
  10235. "description": "资金账户 - 格式:1,2,3",
  10236. "name": "accountID",
  10237. "in": "query",
  10238. "required": true
  10239. },
  10240. {
  10241. "type": "string",
  10242. "description": "资金操作类型 - 格式:1,2,3",
  10243. "name": "OperateType",
  10244. "in": "query"
  10245. }
  10246. ],
  10247. "responses": {
  10248. "200": {
  10249. "description": "OK",
  10250. "schema": {
  10251. "$ref": "#/definitions/taaccount.QueryAmountLogRsp"
  10252. }
  10253. },
  10254. "500": {
  10255. "description": "Internal Server Error",
  10256. "schema": {
  10257. "$ref": "#/definitions/app.Response"
  10258. }
  10259. }
  10260. }
  10261. }
  10262. },
  10263. "/TaAccount/QueryHisAmountLog": {
  10264. "get": {
  10265. "security": [
  10266. {
  10267. "ApiKeyAuth": []
  10268. }
  10269. ],
  10270. "produces": [
  10271. "application/json"
  10272. ],
  10273. "tags": [
  10274. "资金账户"
  10275. ],
  10276. "summary": "资金流水查询(历史)",
  10277. "parameters": [
  10278. {
  10279. "type": "integer",
  10280. "description": "页码",
  10281. "name": "page",
  10282. "in": "query"
  10283. },
  10284. {
  10285. "type": "integer",
  10286. "description": "每页条数",
  10287. "name": "pagesize",
  10288. "in": "query"
  10289. },
  10290. {
  10291. "type": "string",
  10292. "description": "资金账户 - 格式:1,2,3",
  10293. "name": "accountID",
  10294. "in": "query",
  10295. "required": true
  10296. },
  10297. {
  10298. "type": "string",
  10299. "description": "资金操作类型 - 格式:1,2,3",
  10300. "name": "OperateType",
  10301. "in": "query"
  10302. },
  10303. {
  10304. "type": "string",
  10305. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  10306. "name": "startDate",
  10307. "in": "query"
  10308. },
  10309. {
  10310. "type": "string",
  10311. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  10312. "name": "endDate",
  10313. "in": "query"
  10314. }
  10315. ],
  10316. "responses": {
  10317. "200": {
  10318. "description": "OK",
  10319. "schema": {
  10320. "$ref": "#/definitions/taaccount.QueryHisAmountLogRsp"
  10321. }
  10322. },
  10323. "500": {
  10324. "description": "Internal Server Error",
  10325. "schema": {
  10326. "$ref": "#/definitions/app.Response"
  10327. }
  10328. }
  10329. }
  10330. }
  10331. },
  10332. "/Trade/QueryRecieptOrder": {
  10333. "get": {
  10334. "security": [
  10335. {
  10336. "ApiKeyAuth": []
  10337. }
  10338. ],
  10339. "description": "说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算",
  10340. "produces": [
  10341. "application/json"
  10342. ],
  10343. "tags": [
  10344. "通用交易"
  10345. ],
  10346. "summary": "点选挂牌委托单据查询(保证金摘牌大厅)",
  10347. "parameters": [
  10348. {
  10349. "type": "integer",
  10350. "description": "页码",
  10351. "name": "page",
  10352. "in": "query"
  10353. },
  10354. {
  10355. "type": "integer",
  10356. "description": "每页条数",
  10357. "name": "pagesize",
  10358. "in": "query"
  10359. },
  10360. {
  10361. "type": "integer",
  10362. "description": "商品ID",
  10363. "name": "goodsID",
  10364. "in": "query",
  10365. "required": true
  10366. },
  10367. {
  10368. "type": "string",
  10369. "description": "所属账户名称",
  10370. "name": "accountName",
  10371. "in": "query"
  10372. },
  10373. {
  10374. "type": "integer",
  10375. "description": "市场ID",
  10376. "name": "marketID",
  10377. "in": "query"
  10378. },
  10379. {
  10380. "type": "integer",
  10381. "description": "方向 - 0:买 1:卖",
  10382. "name": "buyorsell",
  10383. "in": "query",
  10384. "required": true
  10385. }
  10386. ],
  10387. "responses": {
  10388. "200": {
  10389. "description": "OK",
  10390. "schema": {
  10391. "$ref": "#/definitions/trade.QueryRecieptOrderRsp"
  10392. }
  10393. },
  10394. "500": {
  10395. "description": "Internal Server Error",
  10396. "schema": {
  10397. "$ref": "#/definitions/app.Response"
  10398. }
  10399. }
  10400. }
  10401. }
  10402. },
  10403. "/User/AddMessageBoard": {
  10404. "post": {
  10405. "security": [
  10406. {
  10407. "ApiKeyAuth": []
  10408. }
  10409. ],
  10410. "produces": [
  10411. "application/json"
  10412. ],
  10413. "tags": [
  10414. "用户信息"
  10415. ],
  10416. "summary": "添加用户留言板信息",
  10417. "parameters": [
  10418. {
  10419. "type": "integer",
  10420. "description": "用户ID",
  10421. "name": "userID",
  10422. "in": "query",
  10423. "required": true
  10424. },
  10425. {
  10426. "type": "string",
  10427. "description": "留言信息",
  10428. "name": "message",
  10429. "in": "query",
  10430. "required": true
  10431. },
  10432. {
  10433. "type": "string",
  10434. "description": "联系电话",
  10435. "name": "contactNum",
  10436. "in": "query",
  10437. "required": true
  10438. }
  10439. ],
  10440. "responses": {
  10441. "200": {
  10442. "description": "OK",
  10443. "schema": {
  10444. "$ref": "#/definitions/app.Response"
  10445. }
  10446. },
  10447. "500": {
  10448. "description": "Internal Server Error",
  10449. "schema": {
  10450. "$ref": "#/definitions/app.Response"
  10451. }
  10452. }
  10453. }
  10454. }
  10455. },
  10456. "/User/AddUserFavoriteGoods": {
  10457. "post": {
  10458. "security": [
  10459. {
  10460. "ApiKeyAuth": []
  10461. }
  10462. ],
  10463. "produces": [
  10464. "application/json"
  10465. ],
  10466. "tags": [
  10467. "用户信息"
  10468. ],
  10469. "summary": "添加用户商品收藏信息",
  10470. "parameters": [
  10471. {
  10472. "type": "integer",
  10473. "description": "用户ID",
  10474. "name": "userID",
  10475. "in": "query",
  10476. "required": true
  10477. },
  10478. {
  10479. "type": "integer",
  10480. "description": "商品ID",
  10481. "name": "goodsID",
  10482. "in": "query",
  10483. "required": true
  10484. }
  10485. ],
  10486. "responses": {
  10487. "200": {
  10488. "description": "OK",
  10489. "schema": {
  10490. "$ref": "#/definitions/app.Response"
  10491. }
  10492. },
  10493. "500": {
  10494. "description": "Internal Server Error",
  10495. "schema": {
  10496. "$ref": "#/definitions/app.Response"
  10497. }
  10498. }
  10499. }
  10500. }
  10501. },
  10502. "/User/GetLoginID": {
  10503. "get": {
  10504. "description": "UserName 可传入“登录账号”、“登录代码”和“手机号码”",
  10505. "produces": [
  10506. "application/json"
  10507. ],
  10508. "tags": [
  10509. "用户信息"
  10510. ],
  10511. "summary": "获取登录ID",
  10512. "parameters": [
  10513. {
  10514. "type": "string",
  10515. "description": "登录代码",
  10516. "name": "username",
  10517. "in": "query",
  10518. "required": true
  10519. }
  10520. ],
  10521. "responses": {
  10522. "200": {
  10523. "description": "OK",
  10524. "schema": {
  10525. "$ref": "#/definitions/app.Response"
  10526. }
  10527. },
  10528. "500": {
  10529. "description": "Internal Server Error",
  10530. "schema": {
  10531. "$ref": "#/definitions/app.Response"
  10532. }
  10533. }
  10534. }
  10535. }
  10536. },
  10537. "/User/GetUserAccount": {
  10538. "get": {
  10539. "security": [
  10540. {
  10541. "ApiKeyAuth": []
  10542. }
  10543. ],
  10544. "produces": [
  10545. "application/json"
  10546. ],
  10547. "tags": [
  10548. "用户信息"
  10549. ],
  10550. "summary": "获取用户账号信息",
  10551. "parameters": [
  10552. {
  10553. "type": "integer",
  10554. "description": "用户ID",
  10555. "name": "userID",
  10556. "in": "query",
  10557. "required": true
  10558. }
  10559. ],
  10560. "responses": {
  10561. "200": {
  10562. "description": "OK",
  10563. "schema": {
  10564. "$ref": "#/definitions/models.Useraccount"
  10565. }
  10566. },
  10567. "500": {
  10568. "description": "Internal Server Error",
  10569. "schema": {
  10570. "$ref": "#/definitions/app.Response"
  10571. }
  10572. }
  10573. }
  10574. }
  10575. },
  10576. "/User/GetUserAuthStatus": {
  10577. "get": {
  10578. "security": [
  10579. {
  10580. "ApiKeyAuth": []
  10581. }
  10582. ],
  10583. "produces": [
  10584. "application/json"
  10585. ],
  10586. "tags": [
  10587. "用户信息"
  10588. ],
  10589. "summary": "获取用户实名认证状态",
  10590. "parameters": [
  10591. {
  10592. "type": "integer",
  10593. "description": "用户ID",
  10594. "name": "userID",
  10595. "in": "query",
  10596. "required": true
  10597. }
  10598. ],
  10599. "responses": {
  10600. "200": {
  10601. "description": "OK",
  10602. "schema": {
  10603. "$ref": "#/definitions/app.Response"
  10604. }
  10605. },
  10606. "500": {
  10607. "description": "Internal Server Error",
  10608. "schema": {
  10609. "$ref": "#/definitions/app.Response"
  10610. }
  10611. }
  10612. }
  10613. }
  10614. },
  10615. "/User/LoginQuery": {
  10616. "get": {
  10617. "security": [
  10618. {
  10619. "ApiKeyAuth": []
  10620. }
  10621. ],
  10622. "produces": [
  10623. "application/json"
  10624. ],
  10625. "tags": [
  10626. "用户信息"
  10627. ],
  10628. "summary": "账户登录后信息查询",
  10629. "parameters": [
  10630. {
  10631. "type": "integer",
  10632. "description": "登录账号",
  10633. "name": "loginID",
  10634. "in": "query",
  10635. "required": true
  10636. }
  10637. ],
  10638. "responses": {
  10639. "200": {
  10640. "description": "OK",
  10641. "schema": {
  10642. "$ref": "#/definitions/user.LoginQueryRsp"
  10643. }
  10644. },
  10645. "500": {
  10646. "description": "Internal Server Error",
  10647. "schema": {
  10648. "$ref": "#/definitions/app.Response"
  10649. }
  10650. }
  10651. }
  10652. }
  10653. },
  10654. "/User/QueryMessageBoard": {
  10655. "get": {
  10656. "security": [
  10657. {
  10658. "ApiKeyAuth": []
  10659. }
  10660. ],
  10661. "produces": [
  10662. "application/json"
  10663. ],
  10664. "tags": [
  10665. "用户信息"
  10666. ],
  10667. "summary": "获取用户留言板信息",
  10668. "parameters": [
  10669. {
  10670. "type": "integer",
  10671. "description": "用户ID",
  10672. "name": "userID",
  10673. "in": "query",
  10674. "required": true
  10675. }
  10676. ],
  10677. "responses": {
  10678. "200": {
  10679. "description": "OK",
  10680. "schema": {
  10681. "$ref": "#/definitions/models.Messageboard"
  10682. }
  10683. },
  10684. "500": {
  10685. "description": "Internal Server Error",
  10686. "schema": {
  10687. "$ref": "#/definitions/app.Response"
  10688. }
  10689. }
  10690. }
  10691. }
  10692. },
  10693. "/User/QueryUserFavoriteGoodses": {
  10694. "get": {
  10695. "security": [
  10696. {
  10697. "ApiKeyAuth": []
  10698. }
  10699. ],
  10700. "produces": [
  10701. "application/json"
  10702. ],
  10703. "tags": [
  10704. "用户信息"
  10705. ],
  10706. "summary": "获取用户商品收藏信息",
  10707. "parameters": [
  10708. {
  10709. "type": "integer",
  10710. "description": "用户ID",
  10711. "name": "userID",
  10712. "in": "query",
  10713. "required": true
  10714. }
  10715. ],
  10716. "responses": {
  10717. "200": {
  10718. "description": "OK",
  10719. "schema": {
  10720. "$ref": "#/definitions/models.Userfavoritegoods"
  10721. }
  10722. },
  10723. "500": {
  10724. "description": "Internal Server Error",
  10725. "schema": {
  10726. "$ref": "#/definitions/app.Response"
  10727. }
  10728. }
  10729. }
  10730. }
  10731. },
  10732. "/User/QueryUserInfo": {
  10733. "get": {
  10734. "security": [
  10735. {
  10736. "ApiKeyAuth": []
  10737. }
  10738. ],
  10739. "produces": [
  10740. "application/json"
  10741. ],
  10742. "tags": [
  10743. "用户信息"
  10744. ],
  10745. "summary": "获取用户信息",
  10746. "parameters": [
  10747. {
  10748. "type": "integer",
  10749. "description": "用户ID",
  10750. "name": "userID",
  10751. "in": "query",
  10752. "required": true
  10753. },
  10754. {
  10755. "type": "boolean",
  10756. "description": "是否解密",
  10757. "name": "isDecrypt",
  10758. "in": "query"
  10759. }
  10760. ],
  10761. "responses": {
  10762. "200": {
  10763. "description": "OK",
  10764. "schema": {
  10765. "$ref": "#/definitions/models.Userinfo"
  10766. }
  10767. },
  10768. "500": {
  10769. "description": "Internal Server Error",
  10770. "schema": {
  10771. "$ref": "#/definitions/app.Response"
  10772. }
  10773. }
  10774. }
  10775. }
  10776. },
  10777. "/User/QueryUserReferNum": {
  10778. "get": {
  10779. "produces": [
  10780. "application/json"
  10781. ],
  10782. "tags": [
  10783. "用户信息"
  10784. ],
  10785. "summary": "获取用户邀请码",
  10786. "parameters": [
  10787. {
  10788. "type": "integer",
  10789. "description": "用户ID",
  10790. "name": "userID",
  10791. "in": "query",
  10792. "required": true
  10793. }
  10794. ],
  10795. "responses": {
  10796. "200": {
  10797. "description": "OK",
  10798. "schema": {
  10799. "$ref": "#/definitions/app.Response"
  10800. }
  10801. },
  10802. "500": {
  10803. "description": "Internal Server Error",
  10804. "schema": {
  10805. "$ref": "#/definitions/app.Response"
  10806. }
  10807. }
  10808. }
  10809. }
  10810. },
  10811. "/User/RemoveUserFavoriteGoods": {
  10812. "post": {
  10813. "security": [
  10814. {
  10815. "ApiKeyAuth": []
  10816. }
  10817. ],
  10818. "produces": [
  10819. "application/json"
  10820. ],
  10821. "tags": [
  10822. "用户信息"
  10823. ],
  10824. "summary": "移除用户商品收藏信息",
  10825. "parameters": [
  10826. {
  10827. "type": "integer",
  10828. "description": "用户ID",
  10829. "name": "userID",
  10830. "in": "query",
  10831. "required": true
  10832. },
  10833. {
  10834. "type": "integer",
  10835. "description": "商品ID",
  10836. "name": "goodsID",
  10837. "in": "query",
  10838. "required": true
  10839. }
  10840. ],
  10841. "responses": {
  10842. "200": {
  10843. "description": "OK",
  10844. "schema": {
  10845. "$ref": "#/definitions/app.Response"
  10846. }
  10847. },
  10848. "500": {
  10849. "description": "Internal Server Error",
  10850. "schema": {
  10851. "$ref": "#/definitions/app.Response"
  10852. }
  10853. }
  10854. }
  10855. }
  10856. },
  10857. "/User/UpdateUserAccountStatus": {
  10858. "post": {
  10859. "security": [
  10860. {
  10861. "ApiKeyAuth": []
  10862. }
  10863. ],
  10864. "produces": [
  10865. "application/json"
  10866. ],
  10867. "tags": [
  10868. "用户信息"
  10869. ],
  10870. "summary": "更新用户状态",
  10871. "parameters": [
  10872. {
  10873. "type": "integer",
  10874. "description": "用户ID",
  10875. "name": "userID",
  10876. "in": "query",
  10877. "required": true
  10878. },
  10879. {
  10880. "type": "integer",
  10881. "description": "账户状态 - 4:正常 6:注销(停用)",
  10882. "name": "accountStatus",
  10883. "in": "query",
  10884. "required": true
  10885. }
  10886. ],
  10887. "responses": {
  10888. "200": {
  10889. "description": "OK",
  10890. "schema": {
  10891. "$ref": "#/definitions/app.Response"
  10892. }
  10893. },
  10894. "500": {
  10895. "description": "Internal Server Error",
  10896. "schema": {
  10897. "$ref": "#/definitions/app.Response"
  10898. }
  10899. }
  10900. }
  10901. }
  10902. },
  10903. "/WRTrade/GetAllDeliveryGoods": {
  10904. "get": {
  10905. "security": [
  10906. {
  10907. "ApiKeyAuth": []
  10908. },
  10909. {
  10910. "ApiKeyAuth": []
  10911. }
  10912. ],
  10913. "produces": [
  10914. "application/json",
  10915. "application/json"
  10916. ],
  10917. "tags": [
  10918. "仓单贸易",
  10919. "仓单贸易"
  10920. ],
  10921. "summary": "获取带仓单分类的种类信息",
  10922. "responses": {
  10923. "200": {
  10924. "description": "OK",
  10925. "schema": {
  10926. "$ref": "#/definitions/app.Response"
  10927. }
  10928. },
  10929. "500": {
  10930. "description": "Internal Server Error",
  10931. "schema": {
  10932. "$ref": "#/definitions/app.Response"
  10933. }
  10934. }
  10935. }
  10936. }
  10937. },
  10938. "/WrTrade2/QueryFaProductDetail": {
  10939. "get": {
  10940. "security": [
  10941. {
  10942. "ApiKeyAuth": []
  10943. }
  10944. ],
  10945. "description": "页面 买卖大厅 -\u003e 选择融资方案",
  10946. "produces": [
  10947. "application/json"
  10948. ],
  10949. "tags": [
  10950. "仓单贸易v2"
  10951. ],
  10952. "summary": "查询融资产品列表",
  10953. "parameters": [
  10954. {
  10955. "type": "integer",
  10956. "description": "仓单要素id",
  10957. "name": "wrfactortypeid",
  10958. "in": "query",
  10959. "required": true
  10960. }
  10961. ],
  10962. "responses": {
  10963. "200": {
  10964. "description": "OK",
  10965. "schema": {
  10966. "type": "array",
  10967. "items": {
  10968. "$ref": "#/definitions/models.WrFAProductDetail"
  10969. }
  10970. }
  10971. },
  10972. "500": {
  10973. "description": "Internal Server Error",
  10974. "schema": {
  10975. "$ref": "#/definitions/app.Response"
  10976. }
  10977. }
  10978. }
  10979. }
  10980. },
  10981. "/WrTrade2/QueryFilterItem": {
  10982. "get": {
  10983. "security": [
  10984. {
  10985. "ApiKeyAuth": []
  10986. }
  10987. ],
  10988. "produces": [
  10989. "application/json"
  10990. ],
  10991. "tags": [
  10992. "仓单贸易v2"
  10993. ],
  10994. "summary": "查询筛选框列表 - 作废(以前给pcweb简单筛选框用的,后来改版了)",
  10995. "parameters": [
  10996. {
  10997. "type": "string",
  10998. "description": "类型(可多选,逗号隔开) 1-品种 2-品类(商品) 3-仓库",
  10999. "name": "itype",
  11000. "in": "query",
  11001. "required": true
  11002. }
  11003. ],
  11004. "responses": {
  11005. "200": {
  11006. "description": "OK",
  11007. "schema": {
  11008. "type": "array",
  11009. "items": {
  11010. "$ref": "#/definitions/models.WrFilterItem"
  11011. }
  11012. }
  11013. },
  11014. "500": {
  11015. "description": "Internal Server Error",
  11016. "schema": {
  11017. "$ref": "#/definitions/app.Response"
  11018. }
  11019. }
  11020. }
  11021. }
  11022. },
  11023. "/WrTrade2/QueryFtDeliveryGoods": {
  11024. "get": {
  11025. "security": [
  11026. {
  11027. "ApiKeyAuth": []
  11028. }
  11029. ],
  11030. "produces": [
  11031. "application/json"
  11032. ],
  11033. "tags": [
  11034. "仓单贸易v2"
  11035. ],
  11036. "summary": "查询品种品类筛选框列表",
  11037. "responses": {
  11038. "200": {
  11039. "description": "OK",
  11040. "schema": {
  11041. "type": "array",
  11042. "items": {
  11043. "$ref": "#/definitions/models.WrFtDeliveryGoods"
  11044. }
  11045. }
  11046. },
  11047. "500": {
  11048. "description": "Internal Server Error",
  11049. "schema": {
  11050. "$ref": "#/definitions/app.Response"
  11051. }
  11052. }
  11053. }
  11054. }
  11055. },
  11056. "/WrTrade2/QueryHoldLB": {
  11057. "get": {
  11058. "security": [
  11059. {
  11060. "ApiKeyAuth": []
  11061. }
  11062. ],
  11063. "description": "页面 现货仓单-\u003e现货明细? , 表名叫仓单持有记录, 有挂单特有维度,为防误解汇总也有相关维度, 新写接口,不跟汇总合在一起了。",
  11064. "produces": [
  11065. "application/json"
  11066. ],
  11067. "tags": [
  11068. "仓单贸易v2"
  11069. ],
  11070. "summary": "查询仓单持有记录",
  11071. "parameters": [
  11072. {
  11073. "type": "integer",
  11074. "description": "资金账号",
  11075. "name": "accountid",
  11076. "in": "query",
  11077. "required": true
  11078. },
  11079. {
  11080. "type": "integer",
  11081. "description": "仓库id",
  11082. "name": "warehouseid",
  11083. "in": "query"
  11084. },
  11085. {
  11086. "type": "integer",
  11087. "description": "品种id",
  11088. "name": "deliverygoodsid",
  11089. "in": "query"
  11090. },
  11091. {
  11092. "type": "integer",
  11093. "description": "品类id",
  11094. "name": "wrstandardid",
  11095. "in": "query"
  11096. }
  11097. ],
  11098. "responses": {
  11099. "200": {
  11100. "description": "OK",
  11101. "schema": {
  11102. "type": "array",
  11103. "items": {
  11104. "$ref": "#/definitions/models.WrHoldLB"
  11105. }
  11106. }
  11107. },
  11108. "500": {
  11109. "description": "Internal Server Error",
  11110. "schema": {
  11111. "$ref": "#/definitions/app.Response"
  11112. }
  11113. }
  11114. }
  11115. }
  11116. },
  11117. "/WrTrade2/QueryOrderQuote": {
  11118. "get": {
  11119. "security": [
  11120. {
  11121. "ApiKeyAuth": []
  11122. }
  11123. ],
  11124. "description": "仓单交易 wrfactortypeid 唯一确定1条记录, 仓单预售 wrfactortypeid + deliverymonth 唯一确定1条记录",
  11125. "produces": [
  11126. "application/json"
  11127. ],
  11128. "tags": [
  11129. "仓单贸易v2"
  11130. ],
  11131. "summary": "查询大厅行情列表",
  11132. "parameters": [
  11133. {
  11134. "type": "integer",
  11135. "description": "页码",
  11136. "name": "page",
  11137. "in": "query"
  11138. },
  11139. {
  11140. "type": "integer",
  11141. "description": "每页条数",
  11142. "name": "pagesize",
  11143. "in": "query"
  11144. },
  11145. {
  11146. "type": "integer",
  11147. "description": "仓单贸易市场id",
  11148. "name": "marketid",
  11149. "in": "query"
  11150. },
  11151. {
  11152. "type": "integer",
  11153. "description": "价格方式 - 1:固定价 2-浮动价",
  11154. "name": "wrpricetype",
  11155. "in": "query",
  11156. "required": true
  11157. },
  11158. {
  11159. "type": "integer",
  11160. "description": "0:仓单预售 1:仓单贸易",
  11161. "name": "haswr",
  11162. "in": "query",
  11163. "required": true
  11164. },
  11165. {
  11166. "type": "string",
  11167. "description": "商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm",
  11168. "name": "dgitemname",
  11169. "in": "query"
  11170. },
  11171. {
  11172. "type": "integer",
  11173. "description": "仓库id(筛选条件)",
  11174. "name": "warehouseid",
  11175. "in": "query"
  11176. },
  11177. {
  11178. "type": "integer",
  11179. "description": "品种id",
  11180. "name": "deliverygoodsid",
  11181. "in": "query"
  11182. },
  11183. {
  11184. "type": "integer",
  11185. "description": "品类id",
  11186. "name": "wrstandardid",
  11187. "in": "query"
  11188. },
  11189. {
  11190. "type": "integer",
  11191. "description": "仓单要素id",
  11192. "name": "wrfactortypeid",
  11193. "in": "query"
  11194. },
  11195. {
  11196. "type": "string",
  11197. "description": "交收月(yyyy-mm) 仓单预售填写",
  11198. "name": "deliverymonth",
  11199. "in": "query"
  11200. }
  11201. ],
  11202. "responses": {
  11203. "200": {
  11204. "description": "OK",
  11205. "schema": {
  11206. "type": "array",
  11207. "items": {
  11208. "$ref": "#/definitions/models.WrOrderQuote"
  11209. }
  11210. }
  11211. },
  11212. "500": {
  11213. "description": "Internal Server Error",
  11214. "schema": {
  11215. "$ref": "#/definitions/app.Response"
  11216. }
  11217. }
  11218. }
  11219. }
  11220. },
  11221. "/WrTrade2/QueryOrderQuoteDetail": {
  11222. "get": {
  11223. "security": [
  11224. {
  11225. "ApiKeyAuth": []
  11226. }
  11227. ],
  11228. "produces": [
  11229. "application/json"
  11230. ],
  11231. "tags": [
  11232. "仓单贸易v2"
  11233. ],
  11234. "summary": "查询买卖大厅",
  11235. "parameters": [
  11236. {
  11237. "type": "integer",
  11238. "description": "页码",
  11239. "name": "page",
  11240. "in": "query"
  11241. },
  11242. {
  11243. "type": "integer",
  11244. "description": "每页条数",
  11245. "name": "pagesize",
  11246. "in": "query"
  11247. },
  11248. {
  11249. "type": "integer",
  11250. "description": "仓单贸易市场id",
  11251. "name": "marketid",
  11252. "in": "query"
  11253. },
  11254. {
  11255. "type": "integer",
  11256. "description": "价格方式 - 1:固定价 2-浮动价",
  11257. "name": "wrpricetype",
  11258. "in": "query",
  11259. "required": true
  11260. },
  11261. {
  11262. "type": "integer",
  11263. "description": "0:仓单预售 1:仓单贸易",
  11264. "name": "haswr",
  11265. "in": "query",
  11266. "required": true
  11267. },
  11268. {
  11269. "type": "integer",
  11270. "description": "仓单要素id",
  11271. "name": "wrfactortypeid",
  11272. "in": "query",
  11273. "required": true
  11274. },
  11275. {
  11276. "type": "integer",
  11277. "description": "期货商品id(浮动价方式时填)",
  11278. "name": "goodsid",
  11279. "in": "query"
  11280. },
  11281. {
  11282. "type": "integer",
  11283. "description": "买卖方向 0-买 1-卖",
  11284. "name": "buyorsell",
  11285. "in": "query",
  11286. "required": true
  11287. },
  11288. {
  11289. "type": "string",
  11290. "description": "交收月(yyyy-mm) 查仓单预售的买卖大厅时填写",
  11291. "name": "deliverymonth",
  11292. "in": "query"
  11293. }
  11294. ],
  11295. "responses": {
  11296. "200": {
  11297. "description": "OK",
  11298. "schema": {
  11299. "type": "array",
  11300. "items": {
  11301. "$ref": "#/definitions/models.WrOrderQuoteDetail"
  11302. }
  11303. }
  11304. },
  11305. "500": {
  11306. "description": "Internal Server Error",
  11307. "schema": {
  11308. "$ref": "#/definitions/app.Response"
  11309. }
  11310. }
  11311. }
  11312. }
  11313. },
  11314. "/WrTrade2/QueryPerformancePlan": {
  11315. "get": {
  11316. "security": [
  11317. {
  11318. "ApiKeyAuth": []
  11319. }
  11320. ],
  11321. "produces": [
  11322. "application/json"
  11323. ],
  11324. "tags": [
  11325. "仓单贸易v2"
  11326. ],
  11327. "summary": "查询履约信息",
  11328. "parameters": [
  11329. {
  11330. "type": "integer",
  11331. "description": "用户id",
  11332. "name": "userid",
  11333. "in": "query",
  11334. "required": true
  11335. },
  11336. {
  11337. "type": "integer",
  11338. "description": "买卖方向 0-买 1-卖",
  11339. "name": "buyorsell",
  11340. "in": "query",
  11341. "required": true
  11342. }
  11343. ],
  11344. "responses": {
  11345. "200": {
  11346. "description": "OK",
  11347. "schema": {
  11348. "type": "array",
  11349. "items": {
  11350. "$ref": "#/definitions/models.WrPerformancePlan"
  11351. }
  11352. }
  11353. },
  11354. "500": {
  11355. "description": "Internal Server Error",
  11356. "schema": {
  11357. "$ref": "#/definitions/app.Response"
  11358. }
  11359. }
  11360. }
  11361. }
  11362. },
  11363. "/WrTrade2/QueryWrAverageTradePrice": {
  11364. "get": {
  11365. "security": [
  11366. {
  11367. "ApiKeyAuth": []
  11368. }
  11369. ],
  11370. "produces": [
  11371. "application/json"
  11372. ],
  11373. "tags": [
  11374. "仓单贸易v2"
  11375. ],
  11376. "summary": "查询成交价(历史走势)",
  11377. "parameters": [
  11378. {
  11379. "type": "integer",
  11380. "description": "页码",
  11381. "name": "page",
  11382. "in": "query"
  11383. },
  11384. {
  11385. "type": "integer",
  11386. "description": "每页条数",
  11387. "name": "pagesize",
  11388. "in": "query"
  11389. },
  11390. {
  11391. "type": "integer",
  11392. "description": "0:仓单预售 1:仓单贸易",
  11393. "name": "haswr",
  11394. "in": "query",
  11395. "required": true
  11396. },
  11397. {
  11398. "type": "integer",
  11399. "description": "仓单要素id",
  11400. "name": "wrfactortypeid",
  11401. "in": "query",
  11402. "required": true
  11403. }
  11404. ],
  11405. "responses": {
  11406. "200": {
  11407. "description": "OK",
  11408. "schema": {
  11409. "type": "array",
  11410. "items": {
  11411. "$ref": "#/definitions/models.WrAverageTradePrice"
  11412. }
  11413. }
  11414. },
  11415. "500": {
  11416. "description": "Internal Server Error",
  11417. "schema": {
  11418. "$ref": "#/definitions/app.Response"
  11419. }
  11420. }
  11421. }
  11422. }
  11423. },
  11424. "/WrTrade2/QueryWrBsGoodsInfo": {
  11425. "get": {
  11426. "security": [
  11427. {
  11428. "ApiKeyAuth": []
  11429. }
  11430. ],
  11431. "description": "合约交易/买卖大厅/详情",
  11432. "produces": [
  11433. "application/json"
  11434. ],
  11435. "tags": [
  11436. "仓单贸易v2"
  11437. ],
  11438. "summary": "查询合约交易买卖大厅详情",
  11439. "parameters": [
  11440. {
  11441. "type": "integer",
  11442. "description": "商品id",
  11443. "name": "goodsid",
  11444. "in": "query",
  11445. "required": true
  11446. }
  11447. ],
  11448. "responses": {
  11449. "200": {
  11450. "description": "OK",
  11451. "schema": {
  11452. "type": "array",
  11453. "items": {
  11454. "$ref": "#/definitions/models.WrBsGoodsInfo"
  11455. }
  11456. }
  11457. },
  11458. "500": {
  11459. "description": "Internal Server Error",
  11460. "schema": {
  11461. "$ref": "#/definitions/app.Response"
  11462. }
  11463. }
  11464. }
  11465. }
  11466. },
  11467. "/WrTrade2/QueryWrBuybackDetail": {
  11468. "get": {
  11469. "security": [
  11470. {
  11471. "ApiKeyAuth": []
  11472. }
  11473. ],
  11474. "produces": [
  11475. "application/json"
  11476. ],
  11477. "tags": [
  11478. "仓单贸易v2"
  11479. ],
  11480. "summary": "查询仓单回购明细",
  11481. "parameters": [
  11482. {
  11483. "type": "integer",
  11484. "description": "融资合同id",
  11485. "name": "scfcontractid",
  11486. "in": "query"
  11487. }
  11488. ],
  11489. "responses": {
  11490. "200": {
  11491. "description": "OK",
  11492. "schema": {
  11493. "type": "array",
  11494. "items": {
  11495. "$ref": "#/definitions/models.WrBuybackDetail"
  11496. }
  11497. }
  11498. },
  11499. "500": {
  11500. "description": "Internal Server Error",
  11501. "schema": {
  11502. "$ref": "#/definitions/app.Response"
  11503. }
  11504. }
  11505. }
  11506. }
  11507. },
  11508. "/WrTrade2/QueryWrDeliveryDetail": {
  11509. "get": {
  11510. "security": [
  11511. {
  11512. "ApiKeyAuth": []
  11513. }
  11514. ],
  11515. "produces": [
  11516. "application/json"
  11517. ],
  11518. "tags": [
  11519. "仓单贸易v2"
  11520. ],
  11521. "summary": "查询交收",
  11522. "parameters": [
  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": "accountid",
  11534. "in": "query"
  11535. }
  11536. ],
  11537. "responses": {
  11538. "200": {
  11539. "description": "OK",
  11540. "schema": {
  11541. "type": "array",
  11542. "items": {
  11543. "$ref": "#/definitions/models.WrDeliveryDetail"
  11544. }
  11545. }
  11546. },
  11547. "500": {
  11548. "description": "Internal Server Error",
  11549. "schema": {
  11550. "$ref": "#/definitions/app.Response"
  11551. }
  11552. }
  11553. }
  11554. }
  11555. },
  11556. "/WrTrade2/QueryWrFactorTypeInfo": {
  11557. "get": {
  11558. "security": [
  11559. {
  11560. "ApiKeyAuth": []
  11561. }
  11562. ],
  11563. "produces": [
  11564. "application/json"
  11565. ],
  11566. "tags": [
  11567. "仓单贸易v2"
  11568. ],
  11569. "summary": "查询仓单要素详细信息",
  11570. "parameters": [
  11571. {
  11572. "type": "integer",
  11573. "description": "仓单要素id",
  11574. "name": "wrfactortypeid",
  11575. "in": "query",
  11576. "required": true
  11577. }
  11578. ],
  11579. "responses": {
  11580. "200": {
  11581. "description": "OK",
  11582. "schema": {
  11583. "type": "array",
  11584. "items": {
  11585. "$ref": "#/definitions/models.WrFactorTypeInfo"
  11586. }
  11587. }
  11588. },
  11589. "500": {
  11590. "description": "Internal Server Error",
  11591. "schema": {
  11592. "$ref": "#/definitions/app.Response"
  11593. }
  11594. }
  11595. }
  11596. }
  11597. },
  11598. "/WrTrade2/QueryWrFactorTypeInfoEx": {
  11599. "get": {
  11600. "security": [
  11601. {
  11602. "ApiKeyAuth": []
  11603. }
  11604. ],
  11605. "produces": [
  11606. "application/json"
  11607. ],
  11608. "tags": [
  11609. "仓单贸易v2"
  11610. ],
  11611. "summary": "查询仓单要素详细信息列表项",
  11612. "parameters": [
  11613. {
  11614. "type": "integer",
  11615. "description": "仓单要素id",
  11616. "name": "wrfactortypeid",
  11617. "in": "query",
  11618. "required": true
  11619. }
  11620. ],
  11621. "responses": {
  11622. "200": {
  11623. "description": "OK",
  11624. "schema": {
  11625. "type": "array",
  11626. "items": {
  11627. "$ref": "#/definitions/models.WrTypeItem"
  11628. }
  11629. }
  11630. },
  11631. "500": {
  11632. "description": "Internal Server Error",
  11633. "schema": {
  11634. "$ref": "#/definitions/app.Response"
  11635. }
  11636. }
  11637. }
  11638. }
  11639. },
  11640. "/WrTrade2/QueryWrFinanceBuyApply": {
  11641. "get": {
  11642. "security": [
  11643. {
  11644. "ApiKeyAuth": []
  11645. }
  11646. ],
  11647. "description": "页面 融资信息+ / 申请单",
  11648. "produces": [
  11649. "application/json"
  11650. ],
  11651. "tags": [
  11652. "仓单贸易v2"
  11653. ],
  11654. "summary": "查询融资购买申请",
  11655. "parameters": [
  11656. {
  11657. "type": "integer",
  11658. "description": "用户id",
  11659. "name": "userid",
  11660. "in": "query",
  11661. "required": true
  11662. }
  11663. ],
  11664. "responses": {
  11665. "200": {
  11666. "description": "OK",
  11667. "schema": {
  11668. "type": "array",
  11669. "items": {
  11670. "$ref": "#/definitions/models.WrFinanceBuyApply"
  11671. }
  11672. }
  11673. },
  11674. "500": {
  11675. "description": "Internal Server Error",
  11676. "schema": {
  11677. "$ref": "#/definitions/app.Response"
  11678. }
  11679. }
  11680. }
  11681. }
  11682. },
  11683. "/WrTrade2/QueryWrGoodsInfo": {
  11684. "get": {
  11685. "security": [
  11686. {
  11687. "ApiKeyAuth": []
  11688. }
  11689. ],
  11690. "produces": [
  11691. "application/json"
  11692. ],
  11693. "tags": [
  11694. "仓单贸易v2"
  11695. ],
  11696. "summary": "查询仓单商品信息",
  11697. "parameters": [
  11698. {
  11699. "type": "integer",
  11700. "description": "仓单贸易市场id",
  11701. "name": "marketid",
  11702. "in": "query"
  11703. },
  11704. {
  11705. "type": "integer",
  11706. "description": "0:仓单预售 1:仓单贸易",
  11707. "name": "haswr",
  11708. "in": "query",
  11709. "required": true
  11710. },
  11711. {
  11712. "type": "integer",
  11713. "description": "仓单要素id",
  11714. "name": "wrfactortypeid",
  11715. "in": "query",
  11716. "required": true
  11717. }
  11718. ],
  11719. "responses": {
  11720. "200": {
  11721. "description": "OK",
  11722. "schema": {
  11723. "type": "array",
  11724. "items": {
  11725. "$ref": "#/definitions/models.WrGoodsInfo"
  11726. }
  11727. }
  11728. },
  11729. "500": {
  11730. "description": "Internal Server Error",
  11731. "schema": {
  11732. "$ref": "#/definitions/app.Response"
  11733. }
  11734. }
  11735. }
  11736. }
  11737. },
  11738. "/WrTrade2/QueryWrMarketTradeConfig": {
  11739. "get": {
  11740. "security": [
  11741. {
  11742. "ApiKeyAuth": []
  11743. }
  11744. ],
  11745. "produces": [
  11746. "application/json"
  11747. ],
  11748. "tags": [
  11749. "仓单贸易v2"
  11750. ],
  11751. "summary": "查询市场交易参数配置",
  11752. "parameters": [
  11753. {
  11754. "type": "integer",
  11755. "description": "市场id",
  11756. "name": "marketid",
  11757. "in": "query"
  11758. }
  11759. ],
  11760. "responses": {
  11761. "200": {
  11762. "description": "OK",
  11763. "schema": {
  11764. "type": "array",
  11765. "items": {
  11766. "$ref": "#/definitions/models.WrMarketTradeConfig"
  11767. }
  11768. }
  11769. },
  11770. "500": {
  11771. "description": "Internal Server Error",
  11772. "schema": {
  11773. "$ref": "#/definitions/app.Response"
  11774. }
  11775. }
  11776. }
  11777. }
  11778. },
  11779. "/WrTrade2/QueryWrOrderDetail": {
  11780. "get": {
  11781. "security": [
  11782. {
  11783. "ApiKeyAuth": []
  11784. }
  11785. ],
  11786. "description": "页面 现货仓单 | 预售仓单 -\u003e 挂单",
  11787. "produces": [
  11788. "application/json"
  11789. ],
  11790. "tags": [
  11791. "仓单贸易v2"
  11792. ],
  11793. "summary": "查询仓单委托单(挂单)",
  11794. "parameters": [
  11795. {
  11796. "type": "integer",
  11797. "description": "页码",
  11798. "name": "page",
  11799. "in": "query"
  11800. },
  11801. {
  11802. "type": "integer",
  11803. "description": "每页条数",
  11804. "name": "pagesize",
  11805. "in": "query"
  11806. },
  11807. {
  11808. "type": "integer",
  11809. "description": "用户id",
  11810. "name": "userid",
  11811. "in": "query",
  11812. "required": true
  11813. },
  11814. {
  11815. "type": "integer",
  11816. "description": "仓单贸易市场id",
  11817. "name": "marketid",
  11818. "in": "query"
  11819. },
  11820. {
  11821. "type": "integer",
  11822. "description": "0:仓单预售 1:仓单贸易",
  11823. "name": "haswr",
  11824. "in": "query",
  11825. "required": true
  11826. }
  11827. ],
  11828. "responses": {
  11829. "200": {
  11830. "description": "OK",
  11831. "schema": {
  11832. "type": "array",
  11833. "items": {
  11834. "$ref": "#/definitions/models.WrOrderDetail"
  11835. }
  11836. }
  11837. },
  11838. "500": {
  11839. "description": "Internal Server Error",
  11840. "schema": {
  11841. "$ref": "#/definitions/app.Response"
  11842. }
  11843. }
  11844. }
  11845. }
  11846. },
  11847. "/WrTrade2/QueryWrOutInApply": {
  11848. "get": {
  11849. "security": [
  11850. {
  11851. "ApiKeyAuth": []
  11852. }
  11853. ],
  11854. "produces": [
  11855. "application/json"
  11856. ],
  11857. "tags": [
  11858. "仓单贸易v2"
  11859. ],
  11860. "summary": "查询提货申请",
  11861. "parameters": [
  11862. {
  11863. "type": "integer",
  11864. "description": "用户id",
  11865. "name": "userid",
  11866. "in": "query",
  11867. "required": true
  11868. }
  11869. ],
  11870. "responses": {
  11871. "200": {
  11872. "description": "OK",
  11873. "schema": {
  11874. "type": "array",
  11875. "items": {
  11876. "$ref": "#/definitions/models.WrOutInApply"
  11877. }
  11878. }
  11879. },
  11880. "500": {
  11881. "description": "Internal Server Error",
  11882. "schema": {
  11883. "$ref": "#/definitions/app.Response"
  11884. }
  11885. }
  11886. }
  11887. }
  11888. },
  11889. "/WrTrade2/QueryWrPerformancePlanStep": {
  11890. "get": {
  11891. "security": [
  11892. {
  11893. "ApiKeyAuth": []
  11894. }
  11895. ],
  11896. "produces": [
  11897. "application/json"
  11898. ],
  11899. "tags": [
  11900. "仓单贸易v2"
  11901. ],
  11902. "summary": "查询履约信息详情",
  11903. "parameters": [
  11904. {
  11905. "type": "integer",
  11906. "description": "履约计划id(performanceplanid)",
  11907. "name": "planid",
  11908. "in": "query",
  11909. "required": true
  11910. },
  11911. {
  11912. "type": "integer",
  11913. "description": "当前步骤id",
  11914. "name": "curstepid",
  11915. "in": "query"
  11916. }
  11917. ],
  11918. "responses": {
  11919. "200": {
  11920. "description": "OK",
  11921. "schema": {
  11922. "type": "array",
  11923. "items": {
  11924. "$ref": "#/definitions/models.WrPerformancePlanStep"
  11925. }
  11926. }
  11927. },
  11928. "500": {
  11929. "description": "Internal Server Error",
  11930. "schema": {
  11931. "$ref": "#/definitions/app.Response"
  11932. }
  11933. }
  11934. }
  11935. }
  11936. },
  11937. "/WrTrade2/QueryWrPosition": {
  11938. "get": {
  11939. "security": [
  11940. {
  11941. "ApiKeyAuth": []
  11942. }
  11943. ],
  11944. "description": "页面 现货仓单-\u003e现货汇总/库存汇总; 预售仓单-\u003e订单汇总",
  11945. "produces": [
  11946. "application/json"
  11947. ],
  11948. "tags": [
  11949. "仓单贸易v2"
  11950. ],
  11951. "summary": "查询现货(预售)仓单持仓",
  11952. "parameters": [
  11953. {
  11954. "type": "integer",
  11955. "description": "用户id",
  11956. "name": "userid",
  11957. "in": "query",
  11958. "required": true
  11959. },
  11960. {
  11961. "type": "integer",
  11962. "description": "查询类型 1-现货汇总 2-库存汇总(订单汇总)",
  11963. "name": "querytype",
  11964. "in": "query",
  11965. "required": true
  11966. },
  11967. {
  11968. "type": "integer",
  11969. "description": "0:仓单预售 1:仓单贸易",
  11970. "name": "haswr",
  11971. "in": "query",
  11972. "required": true
  11973. },
  11974. {
  11975. "type": "string",
  11976. "description": "商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm",
  11977. "name": "dgitemname",
  11978. "in": "query"
  11979. },
  11980. {
  11981. "type": "integer",
  11982. "description": "仓库id(筛选条件)",
  11983. "name": "warehouseid",
  11984. "in": "query"
  11985. },
  11986. {
  11987. "type": "integer",
  11988. "description": "品种id",
  11989. "name": "deliverygoodsid",
  11990. "in": "query"
  11991. },
  11992. {
  11993. "type": "integer",
  11994. "description": "品类id",
  11995. "name": "wrstandardid",
  11996. "in": "query"
  11997. }
  11998. ],
  11999. "responses": {
  12000. "200": {
  12001. "description": "OK",
  12002. "schema": {
  12003. "type": "array",
  12004. "items": {
  12005. "$ref": "#/definitions/models.WrPosition"
  12006. }
  12007. }
  12008. },
  12009. "500": {
  12010. "description": "Internal Server Error",
  12011. "schema": {
  12012. "$ref": "#/definitions/app.Response"
  12013. }
  12014. }
  12015. }
  12016. }
  12017. },
  12018. "/WrTrade2/QueryWrScfContract": {
  12019. "get": {
  12020. "security": [
  12021. {
  12022. "ApiKeyAuth": []
  12023. }
  12024. ],
  12025. "produces": [
  12026. "application/json"
  12027. ],
  12028. "tags": [
  12029. "仓单贸易v2"
  12030. ],
  12031. "summary": "查询仓单贸易融资合同",
  12032. "parameters": [
  12033. {
  12034. "type": "integer",
  12035. "description": "用户id",
  12036. "name": "userid",
  12037. "in": "query",
  12038. "required": true
  12039. },
  12040. {
  12041. "type": "integer",
  12042. "description": "融资合同id",
  12043. "name": "scfcontractid",
  12044. "in": "query"
  12045. }
  12046. ],
  12047. "responses": {
  12048. "200": {
  12049. "description": "OK",
  12050. "schema": {
  12051. "type": "array",
  12052. "items": {
  12053. "$ref": "#/definitions/models.WrScfContract"
  12054. }
  12055. }
  12056. },
  12057. "500": {
  12058. "description": "Internal Server Error",
  12059. "schema": {
  12060. "$ref": "#/definitions/app.Response"
  12061. }
  12062. }
  12063. }
  12064. }
  12065. },
  12066. "/WrTrade2/QueryWrScfContractInterest": {
  12067. "get": {
  12068. "security": [
  12069. {
  12070. "ApiKeyAuth": []
  12071. }
  12072. ],
  12073. "produces": [
  12074. "application/json"
  12075. ],
  12076. "tags": [
  12077. "仓单贸易v2"
  12078. ],
  12079. "summary": "查询融资合同费用明细",
  12080. "parameters": [
  12081. {
  12082. "type": "integer",
  12083. "description": "融资合同id",
  12084. "name": "scfcontractid",
  12085. "in": "query"
  12086. }
  12087. ],
  12088. "responses": {
  12089. "200": {
  12090. "description": "OK",
  12091. "schema": {
  12092. "type": "array",
  12093. "items": {
  12094. "$ref": "#/definitions/models.WrScfContractInterest"
  12095. }
  12096. }
  12097. },
  12098. "500": {
  12099. "description": "Internal Server Error",
  12100. "schema": {
  12101. "$ref": "#/definitions/app.Response"
  12102. }
  12103. }
  12104. }
  12105. }
  12106. },
  12107. "/WrTrade2/QueryWrSpecialMatchOrder": {
  12108. "get": {
  12109. "security": [
  12110. {
  12111. "ApiKeyAuth": []
  12112. }
  12113. ],
  12114. "description": "页面 现货仓单 | 预售仓单 -\u003e 指定成交",
  12115. "produces": [
  12116. "application/json"
  12117. ],
  12118. "tags": [
  12119. "仓单贸易v2"
  12120. ],
  12121. "summary": "查询指定成交",
  12122. "parameters": [
  12123. {
  12124. "type": "integer",
  12125. "description": "页码",
  12126. "name": "page",
  12127. "in": "query"
  12128. },
  12129. {
  12130. "type": "integer",
  12131. "description": "每页条数",
  12132. "name": "pagesize",
  12133. "in": "query"
  12134. },
  12135. {
  12136. "type": "integer",
  12137. "description": "用户id",
  12138. "name": "userid",
  12139. "in": "query",
  12140. "required": true
  12141. },
  12142. {
  12143. "type": "integer",
  12144. "description": "仓单贸易市场id",
  12145. "name": "marketid",
  12146. "in": "query"
  12147. },
  12148. {
  12149. "type": "integer",
  12150. "description": "0:仓单预售 1:仓单贸易",
  12151. "name": "haswr",
  12152. "in": "query",
  12153. "required": true
  12154. }
  12155. ],
  12156. "responses": {
  12157. "200": {
  12158. "description": "OK",
  12159. "schema": {
  12160. "type": "array",
  12161. "items": {
  12162. "$ref": "#/definitions/models.WrSpecialMatchOrder"
  12163. }
  12164. }
  12165. },
  12166. "500": {
  12167. "description": "Internal Server Error",
  12168. "schema": {
  12169. "$ref": "#/definitions/app.Response"
  12170. }
  12171. }
  12172. }
  12173. }
  12174. },
  12175. "/WrTrade2/QueryWrStandardFactoryItem": {
  12176. "get": {
  12177. "security": [
  12178. {
  12179. "ApiKeyAuth": []
  12180. }
  12181. ],
  12182. "produces": [
  12183. "application/json"
  12184. ],
  12185. "tags": [
  12186. "仓单贸易v2"
  12187. ],
  12188. "summary": "查询品类要素定义项",
  12189. "parameters": [
  12190. {
  12191. "type": "integer",
  12192. "description": "品类id",
  12193. "name": "wrstandardid",
  12194. "in": "query",
  12195. "required": true
  12196. }
  12197. ],
  12198. "responses": {
  12199. "200": {
  12200. "description": "OK",
  12201. "schema": {
  12202. "type": "array",
  12203. "items": {
  12204. "$ref": "#/definitions/models.WrStandardFactoryItemEx"
  12205. }
  12206. }
  12207. },
  12208. "500": {
  12209. "description": "Internal Server Error",
  12210. "schema": {
  12211. "$ref": "#/definitions/app.Response"
  12212. }
  12213. }
  12214. }
  12215. }
  12216. },
  12217. "/WrTrade2/QueryWrTradeDetail": {
  12218. "get": {
  12219. "security": [
  12220. {
  12221. "ApiKeyAuth": []
  12222. }
  12223. ],
  12224. "produces": [
  12225. "application/json"
  12226. ],
  12227. "tags": [
  12228. "仓单贸易v2"
  12229. ],
  12230. "summary": "查询仓单成交明细",
  12231. "parameters": [
  12232. {
  12233. "type": "integer",
  12234. "description": "页码",
  12235. "name": "page",
  12236. "in": "query"
  12237. },
  12238. {
  12239. "type": "integer",
  12240. "description": "每页条数",
  12241. "name": "pagesize",
  12242. "in": "query"
  12243. },
  12244. {
  12245. "type": "integer",
  12246. "description": "用户id",
  12247. "name": "userid",
  12248. "in": "query",
  12249. "required": true
  12250. },
  12251. {
  12252. "type": "integer",
  12253. "description": "仓单贸易市场id",
  12254. "name": "marketid",
  12255. "in": "query"
  12256. },
  12257. {
  12258. "type": "integer",
  12259. "description": "0:仓单预售 1:仓单贸易",
  12260. "name": "haswr",
  12261. "in": "query",
  12262. "required": true
  12263. }
  12264. ],
  12265. "responses": {
  12266. "200": {
  12267. "description": "OK",
  12268. "schema": {
  12269. "type": "array",
  12270. "items": {
  12271. "$ref": "#/definitions/models.WrTradeDetail"
  12272. }
  12273. }
  12274. },
  12275. "500": {
  12276. "description": "Internal Server Error",
  12277. "schema": {
  12278. "$ref": "#/definitions/app.Response"
  12279. }
  12280. }
  12281. }
  12282. }
  12283. },
  12284. "/WrTrade2/QueryWrTradeOrderDetail": {
  12285. "get": {
  12286. "security": [
  12287. {
  12288. "ApiKeyAuth": []
  12289. }
  12290. ],
  12291. "produces": [
  12292. "application/json"
  12293. ],
  12294. "tags": [
  12295. "仓单贸易v2"
  12296. ],
  12297. "summary": "查询合约交易买卖大厅",
  12298. "parameters": [
  12299. {
  12300. "type": "integer",
  12301. "description": "页码",
  12302. "name": "page",
  12303. "in": "query"
  12304. },
  12305. {
  12306. "type": "integer",
  12307. "description": "每页条数",
  12308. "name": "pagesize",
  12309. "in": "query"
  12310. },
  12311. {
  12312. "type": "integer",
  12313. "description": "商品id",
  12314. "name": "goodsid",
  12315. "in": "query",
  12316. "required": true
  12317. },
  12318. {
  12319. "type": "integer",
  12320. "description": "买卖方向 0-买 1-卖",
  12321. "name": "buyorsell",
  12322. "in": "query",
  12323. "required": true
  12324. }
  12325. ],
  12326. "responses": {
  12327. "200": {
  12328. "description": "OK",
  12329. "schema": {
  12330. "type": "array",
  12331. "items": {
  12332. "$ref": "#/definitions/models.WrTradeOrderDetail"
  12333. }
  12334. }
  12335. },
  12336. "500": {
  12337. "description": "Internal Server Error",
  12338. "schema": {
  12339. "$ref": "#/definitions/app.Response"
  12340. }
  12341. }
  12342. }
  12343. }
  12344. }
  12345. },
  12346. "definitions": {
  12347. "app.Response": {
  12348. "type": "object",
  12349. "properties": {
  12350. "code": {
  12351. "type": "integer"
  12352. },
  12353. "data": {
  12354. "type": "object"
  12355. },
  12356. "msg": {
  12357. "type": "string"
  12358. },
  12359. "page": {
  12360. "description": "页码",
  12361. "type": "integer"
  12362. },
  12363. "pagesize": {
  12364. "description": "每页条数",
  12365. "type": "integer"
  12366. },
  12367. "total": {
  12368. "description": "总条数",
  12369. "type": "integer"
  12370. }
  12371. }
  12372. },
  12373. "common.ClientMenu": {
  12374. "type": "object",
  12375. "properties": {
  12376. "children": {
  12377. "description": "子菜单列表",
  12378. "type": "array",
  12379. "items": {
  12380. "$ref": "#/definitions/common.ClientMenu"
  12381. }
  12382. },
  12383. "code": {
  12384. "description": "ID",
  12385. "type": "string"
  12386. },
  12387. "isshow": {
  12388. "description": "是否显示",
  12389. "type": "boolean"
  12390. },
  12391. "remark": {
  12392. "description": "备注",
  12393. "type": "string"
  12394. },
  12395. "rulekey": {
  12396. "description": "对应权限主键,对应FUNCMENULIST表RESOURCECODE",
  12397. "type": "string"
  12398. },
  12399. "sort": {
  12400. "description": "排序",
  12401. "type": "integer"
  12402. },
  12403. "title": {
  12404. "description": "标题",
  12405. "type": "string"
  12406. },
  12407. "type": {
  12408. "description": "类型,1:菜单 2:按钮",
  12409. "type": "integer"
  12410. },
  12411. "url": {
  12412. "description": "URL",
  12413. "type": "string"
  12414. }
  12415. }
  12416. },
  12417. "common.QueryImageConfigsRsp": {
  12418. "type": "object",
  12419. "required": [
  12420. "configid"
  12421. ],
  12422. "properties": {
  12423. "areauserid": {
  12424. "description": "所属机构ID",
  12425. "type": "integer"
  12426. },
  12427. "configid": {
  12428. "description": "配置ID(SEQ_SZDZ2_IMAGECONFIG)",
  12429. "type": "integer"
  12430. },
  12431. "createdate": {
  12432. "description": "创建时间",
  12433. "type": "string"
  12434. },
  12435. "creatorid": {
  12436. "description": "创建人",
  12437. "type": "integer"
  12438. },
  12439. "imagepath": {
  12440. "description": "图片",
  12441. "type": "string"
  12442. },
  12443. "imagetype": {
  12444. "description": "类型 - 1:首页轮播(移动) 2:我的(移动)",
  12445. "type": "integer"
  12446. },
  12447. "isshow": {
  12448. "description": "是否展示 - 0:不展示 1:展示",
  12449. "type": "integer"
  12450. },
  12451. "marketid": {
  12452. "description": "市场ID",
  12453. "type": "integer"
  12454. },
  12455. "modifierid": {
  12456. "description": "操作人",
  12457. "type": "integer"
  12458. },
  12459. "sort": {
  12460. "description": "排序",
  12461. "type": "integer"
  12462. },
  12463. "title": {
  12464. "description": "标题",
  12465. "type": "string"
  12466. },
  12467. "trademode": {
  12468. "description": "交易模式",
  12469. "type": "integer"
  12470. },
  12471. "updatedate": {
  12472. "description": "修改时间",
  12473. "type": "string"
  12474. },
  12475. "url": {
  12476. "description": "链接(地址或商品ID)",
  12477. "type": "string"
  12478. },
  12479. "urltype": {
  12480. "description": "链接类型 - 1:直接地址 2:商品ID",
  12481. "type": "integer"
  12482. }
  12483. }
  12484. },
  12485. "common.QueryNoticeRsp": {
  12486. "type": "object",
  12487. "required": [
  12488. "autoid"
  12489. ],
  12490. "properties": {
  12491. "auditoruserid": {
  12492. "description": "审核人",
  12493. "type": "integer"
  12494. },
  12495. "auditremark": {
  12496. "description": "审核备注",
  12497. "type": "string"
  12498. },
  12499. "audittime": {
  12500. "description": "审核日期",
  12501. "type": "string"
  12502. },
  12503. "autoid": {
  12504. "description": "自增ID",
  12505. "type": "integer"
  12506. },
  12507. "content": {
  12508. "description": "内容",
  12509. "type": "string"
  12510. },
  12511. "createtime": {
  12512. "description": "创建时间",
  12513. "type": "string"
  12514. },
  12515. "creatorid": {
  12516. "description": "建仓人",
  12517. "type": "integer"
  12518. },
  12519. "endtime": {
  12520. "description": "结束时间",
  12521. "type": "string"
  12522. },
  12523. "istop": {
  12524. "description": "是否置顶 - 0:不置顶 1:置顶",
  12525. "type": "integer"
  12526. },
  12527. "msgiconurl": {
  12528. "description": "消息图标Url",
  12529. "type": "string"
  12530. },
  12531. "msgtype": {
  12532. "description": "消息类型 - 1:公告通知 2:系统消息 3:商品到期提货通知",
  12533. "type": "integer"
  12534. },
  12535. "publisher": {
  12536. "description": "消息发布者",
  12537. "type": "string"
  12538. },
  12539. "readed": {
  12540. "description": "是否已读",
  12541. "type": "boolean"
  12542. },
  12543. "scheduletime": {
  12544. "description": "计划发送时间",
  12545. "type": "string"
  12546. },
  12547. "sendtype": {
  12548. "description": "推送方式 - 1:全体广播 2:按会员广播 3:个人推送 4:按会员广播(仅会员)",
  12549. "type": "integer"
  12550. },
  12551. "sentstatus": {
  12552. "description": "推送状态 - 0:未推送 1:已推送 2:审核拒绝",
  12553. "type": "integer"
  12554. },
  12555. "title": {
  12556. "description": "标题",
  12557. "type": "string"
  12558. },
  12559. "userid": {
  12560. "description": "会员/投资者ID推送方式 为 个人时,填写投资者ID",
  12561. "type": "integer"
  12562. }
  12563. }
  12564. },
  12565. "common.QueryProvincesAndCitiesRsp": {
  12566. "type": "object",
  12567. "properties": {
  12568. "cities": {
  12569. "description": "市",
  12570. "type": "array",
  12571. "items": {
  12572. "$ref": "#/definitions/models.Division"
  12573. }
  12574. },
  12575. "province": {
  12576. "description": "省",
  12577. "type": "object",
  12578. "$ref": "#/definitions/models.Division"
  12579. }
  12580. }
  12581. },
  12582. "common.QueryTableDefineRsp": {
  12583. "type": "object",
  12584. "required": [
  12585. "tablekey"
  12586. ],
  12587. "properties": {
  12588. "columns": {
  12589. "description": "列头信息数组",
  12590. "type": "array",
  12591. "items": {
  12592. "$ref": "#/definitions/models.Tablecolumnconfig"
  12593. }
  12594. },
  12595. "remark": {
  12596. "description": "Remark",
  12597. "type": "string"
  12598. },
  12599. "tabelmenu": {
  12600. "description": "列表菜单",
  12601. "type": "string"
  12602. },
  12603. "tablekey": {
  12604. "description": "列表Key",
  12605. "type": "string"
  12606. },
  12607. "tablename": {
  12608. "description": "列表名称",
  12609. "type": "string"
  12610. },
  12611. "tabletype": {
  12612. "description": "列表类型 - 1:管理端 2:终端",
  12613. "type": "integer"
  12614. }
  12615. }
  12616. },
  12617. "common.QueryTraderMenuRsp": {
  12618. "type": "object",
  12619. "properties": {
  12620. "OperationMenu": {
  12621. "description": "功能菜单",
  12622. "type": "array",
  12623. "items": {
  12624. "$ref": "#/definitions/models.OperationPrimaryMenu"
  12625. }
  12626. },
  12627. "QuoteMenu": {
  12628. "description": "报价牌分类菜单",
  12629. "type": "array",
  12630. "items": {
  12631. "$ref": "#/definitions/models.QuotePrimaryMenu"
  12632. }
  12633. }
  12634. }
  12635. },
  12636. "cptrade.Cptradepositioncancel": {
  12637. "type": "object",
  12638. "required": [
  12639. "cancelid"
  12640. ],
  12641. "properties": {
  12642. "accountid": {
  12643. "description": "申请人账户ID",
  12644. "type": "integer"
  12645. },
  12646. "applystatus": {
  12647. "description": "申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  12648. "type": "integer"
  12649. },
  12650. "applytime": {
  12651. "description": "申请时间",
  12652. "type": "string"
  12653. },
  12654. "cancelid": {
  12655. "description": "注销ID(SEQ_CPTRADE_POSITIONCANCEL)",
  12656. "type": "integer"
  12657. },
  12658. "cancelqty": {
  12659. "description": "注销数量",
  12660. "type": "integer"
  12661. },
  12662. "createtime": {
  12663. "description": "创建时间",
  12664. "type": "string"
  12665. },
  12666. "creatorid": {
  12667. "description": "创建人ID",
  12668. "type": "integer"
  12669. },
  12670. "creatorname": {
  12671. "description": "创建人",
  12672. "type": "string"
  12673. },
  12674. "goodscode": {
  12675. "description": "订单商品代码",
  12676. "type": "string"
  12677. },
  12678. "goodsid": {
  12679. "description": "商品ID",
  12680. "type": "integer"
  12681. },
  12682. "goodsname": {
  12683. "description": "订单商品名称",
  12684. "type": "string"
  12685. },
  12686. "goodunit": {
  12687. "description": "报价单位",
  12688. "type": "string"
  12689. },
  12690. "handlestatus": {
  12691. "description": "处理状态",
  12692. "type": "integer"
  12693. },
  12694. "marketid": {
  12695. "description": "市场ID",
  12696. "type": "integer"
  12697. },
  12698. "marketname": {
  12699. "description": "市场名称",
  12700. "type": "string"
  12701. },
  12702. "tradedate": {
  12703. "description": "交易日(yyyyMMdd)",
  12704. "type": "string"
  12705. },
  12706. "userid": {
  12707. "description": "申请人ID",
  12708. "type": "integer"
  12709. }
  12710. }
  12711. },
  12712. "cptrade.Cptradepresaleapply": {
  12713. "type": "object",
  12714. "required": [
  12715. "applyid"
  12716. ],
  12717. "properties": {
  12718. "accountid": {
  12719. "description": "申请人账户ID",
  12720. "type": "integer"
  12721. },
  12722. "applyid": {
  12723. "description": "申请ID(181+Unix秒时间戳(10位)+xxxxxx)",
  12724. "type": "integer"
  12725. },
  12726. "applyremark": {
  12727. "description": "申请备注",
  12728. "type": "string"
  12729. },
  12730. "applystatus": {
  12731. "description": "申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  12732. "type": "integer"
  12733. },
  12734. "applytime": {
  12735. "description": "申请时间",
  12736. "type": "string"
  12737. },
  12738. "attachmenturl": {
  12739. "description": "附件地址",
  12740. "type": "string"
  12741. },
  12742. "endtime": {
  12743. "description": "预售结束时间",
  12744. "type": "string"
  12745. },
  12746. "goodscode": {
  12747. "description": "商品代码",
  12748. "type": "string"
  12749. },
  12750. "goodsid": {
  12751. "description": "商品ID",
  12752. "type": "integer"
  12753. },
  12754. "goodsname": {
  12755. "description": "商品名称",
  12756. "type": "string"
  12757. },
  12758. "goodunit": {
  12759. "description": "报价单位",
  12760. "type": "string"
  12761. },
  12762. "handlestatus": {
  12763. "description": "处理状态",
  12764. "type": "integer"
  12765. },
  12766. "marketid": {
  12767. "description": "预售市场ID",
  12768. "type": "integer"
  12769. },
  12770. "marketname": {
  12771. "description": "预售市场名称",
  12772. "type": "string"
  12773. },
  12774. "presaleqty": {
  12775. "description": "预售数量",
  12776. "type": "integer"
  12777. },
  12778. "relatedgoodscode": {
  12779. "description": "关联交易合约代码",
  12780. "type": "string"
  12781. },
  12782. "relatedgoodsid": {
  12783. "description": "关联交易合约ID",
  12784. "type": "integer"
  12785. },
  12786. "relatedgoodsname": {
  12787. "description": "关联交易合约名称",
  12788. "type": "string"
  12789. },
  12790. "starttime": {
  12791. "description": "预售开始时间",
  12792. "type": "string"
  12793. },
  12794. "tradedate": {
  12795. "description": "交易日(yyyyMMdd)",
  12796. "type": "string"
  12797. },
  12798. "trademode": {
  12799. "description": "交易模式 - 16:挂牌点选 21:大宗竞拍",
  12800. "type": "integer"
  12801. },
  12802. "userid": {
  12803. "description": "申请人ID",
  12804. "type": "integer"
  12805. }
  12806. }
  12807. },
  12808. "cptrade.Cptradeusergoodsdata": {
  12809. "type": "object",
  12810. "required": [
  12811. "accountid",
  12812. "goodsid"
  12813. ],
  12814. "properties": {
  12815. "EnabledQty": {
  12816. "description": "可用量",
  12817. "type": "integer"
  12818. },
  12819. "GoodsCode": {
  12820. "description": "订单商品代码",
  12821. "type": "string"
  12822. },
  12823. "GoodsName": {
  12824. "description": "订单商品名称",
  12825. "type": "string"
  12826. },
  12827. "WRStandardCode": {
  12828. "description": "仓单标准代码",
  12829. "type": "string"
  12830. },
  12831. "WRStandardName": {
  12832. "description": "仓单标准名称",
  12833. "type": "string"
  12834. },
  12835. "accountid": {
  12836. "description": "账户ID",
  12837. "type": "integer"
  12838. },
  12839. "cancelqty": {
  12840. "description": "注销量",
  12841. "type": "integer"
  12842. },
  12843. "curpresaleqty": {
  12844. "description": "当前预售量",
  12845. "type": "integer"
  12846. },
  12847. "deliveryqty": {
  12848. "description": "交割量",
  12849. "type": "integer"
  12850. },
  12851. "freezeamount": {
  12852. "description": "冻结金额",
  12853. "type": "number"
  12854. },
  12855. "goodsid": {
  12856. "description": "商品ID",
  12857. "type": "integer"
  12858. },
  12859. "goodunit": {
  12860. "description": "报价单位",
  12861. "type": "string"
  12862. },
  12863. "hasspotfreeze": {
  12864. "description": "是否有现货冻结 - 0:否 1:有",
  12865. "type": "integer"
  12866. },
  12867. "inqty": {
  12868. "description": "转入量(总数量)",
  12869. "type": "integer"
  12870. },
  12871. "marketid": {
  12872. "description": "市场ID",
  12873. "type": "integer"
  12874. },
  12875. "presaledamount": {
  12876. "description": "已预售总金额",
  12877. "type": "integer"
  12878. },
  12879. "presaledqty": {
  12880. "description": "已预售量",
  12881. "type": "integer"
  12882. },
  12883. "userid": {
  12884. "description": "用户ID",
  12885. "type": "integer"
  12886. },
  12887. "wrstandardid": {
  12888. "description": "仓单标准ID",
  12889. "type": "integer"
  12890. }
  12891. }
  12892. },
  12893. "cptrade.QueryCPTradeMyBidRsp": {
  12894. "type": "object",
  12895. "required": [
  12896. "accountid",
  12897. "goodsid",
  12898. "marketid",
  12899. "orderid",
  12900. "orderqty",
  12901. "ordertime",
  12902. "tradeprice",
  12903. "tradeqty"
  12904. ],
  12905. "properties": {
  12906. "accountid": {
  12907. "description": "账户ID[报价币种]",
  12908. "type": "integer"
  12909. },
  12910. "goodsid": {
  12911. "description": "商品ID",
  12912. "type": "integer"
  12913. },
  12914. "goodunit": {
  12915. "description": "报价单位",
  12916. "type": "string"
  12917. },
  12918. "marketid": {
  12919. "description": "市场ID",
  12920. "type": "integer"
  12921. },
  12922. "orderid": {
  12923. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  12924. "type": "integer"
  12925. },
  12926. "orderprice": {
  12927. "description": "委托价格",
  12928. "type": "number"
  12929. },
  12930. "orderqty": {
  12931. "description": "委托数量",
  12932. "type": "integer"
  12933. },
  12934. "ordertime": {
  12935. "description": "委托时间",
  12936. "type": "string"
  12937. },
  12938. "ordertotalprice": {
  12939. "description": "货款金额(委托总价格=委托价格*委托数量*合约单位)",
  12940. "type": "number"
  12941. },
  12942. "ordertotalweight": {
  12943. "description": "竞拍总重量(委托总重量=委托数量*合约单位)",
  12944. "type": "integer"
  12945. },
  12946. "totaltotalprice": {
  12947. "description": "成交货款金额(成交总价格=成交价格*成交数量*合约单位)",
  12948. "type": "number"
  12949. },
  12950. "tradeprice": {
  12951. "description": "成交价格",
  12952. "type": "number"
  12953. },
  12954. "tradeqty": {
  12955. "description": "成交数量",
  12956. "type": "integer"
  12957. }
  12958. }
  12959. },
  12960. "cptrade.QueryCPTradeOrderDetailRsq": {
  12961. "type": "object",
  12962. "required": [
  12963. "accountid",
  12964. "buildtype",
  12965. "buyorsell",
  12966. "goodsid",
  12967. "marketid",
  12968. "memberuserid",
  12969. "operatetype",
  12970. "orderqty",
  12971. "ordertime",
  12972. "pricemode",
  12973. "strorderid",
  12974. "tradedate",
  12975. "validtype"
  12976. ],
  12977. "properties": {
  12978. "accountid": {
  12979. "description": "账户ID[报价币种]",
  12980. "type": "integer"
  12981. },
  12982. "buildtype": {
  12983. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  12984. "type": "integer"
  12985. },
  12986. "buyorsell": {
  12987. "description": "买卖 - 0:买 1:卖",
  12988. "type": "integer"
  12989. },
  12990. "cancelorderid": {
  12991. "description": "撤单单号(撤单时填写)",
  12992. "type": "integer"
  12993. },
  12994. "cancelqty": {
  12995. "description": "撤单数量",
  12996. "type": "integer"
  12997. },
  12998. "clientordertime": {
  12999. "description": "客户端委托时间",
  13000. "type": "string"
  13001. },
  13002. "clientticket": {
  13003. "description": "客户端流水号",
  13004. "type": "string"
  13005. },
  13006. "clienttype": {
  13007. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  13008. "type": "integer"
  13009. },
  13010. "closeexchagechargevalue": {
  13011. "description": "平仓交易所手续费设置值",
  13012. "type": "number"
  13013. },
  13014. "closefeealgorithm": {
  13015. "description": "平仓手续费收取方式 1:比率 2:固定",
  13016. "type": "integer"
  13017. },
  13018. "closefreezecharge": {
  13019. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  13020. "type": "number"
  13021. },
  13022. "closememberchargevalue": {
  13023. "description": "平仓会员手续费设置值",
  13024. "type": "number"
  13025. },
  13026. "closeqty": {
  13027. "description": "平仓数量(先建后平操作 需要记录)",
  13028. "type": "integer"
  13029. },
  13030. "closetradeqty": {
  13031. "description": "平仓成交数量(先建后平操作,需要记录)",
  13032. "type": "integer"
  13033. },
  13034. "closeunfreezecharge": {
  13035. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  13036. "type": "number"
  13037. },
  13038. "delistingtype": {
  13039. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  13040. "type": "integer"
  13041. },
  13042. "freezecharge": {
  13043. "description": "冻结手续费",
  13044. "type": "number"
  13045. },
  13046. "freezemargin": {
  13047. "description": "冻结保证金(冻结交易金额)",
  13048. "type": "number"
  13049. },
  13050. "gcaccountid": {
  13051. "description": "账户ID[合约币种]",
  13052. "type": "integer"
  13053. },
  13054. "goodsid": {
  13055. "description": "商品ID",
  13056. "type": "integer"
  13057. },
  13058. "isconfirmexercise": {
  13059. "description": "是否确认行权- 0:否 1:是",
  13060. "type": "integer"
  13061. },
  13062. "ispreexercise": {
  13063. "description": "是否预申报- 0:否 1:是",
  13064. "type": "integer"
  13065. },
  13066. "listingselecttype": {
  13067. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  13068. "type": "integer"
  13069. },
  13070. "marginalgorithm": {
  13071. "description": "保证金收取方式 1:比率 2:固定",
  13072. "type": "integer"
  13073. },
  13074. "marginvalue": {
  13075. "description": "即市保证金设置值",
  13076. "type": "number"
  13077. },
  13078. "marketid": {
  13079. "description": "市场ID",
  13080. "type": "integer"
  13081. },
  13082. "marketmaxsub": {
  13083. "description": "市价最大偏移范围",
  13084. "type": "number"
  13085. },
  13086. "memberuserid": {
  13087. "description": "所属会员UserID",
  13088. "type": "integer"
  13089. },
  13090. "openexchagechargevalue": {
  13091. "description": "建仓交易所手续费设置值",
  13092. "type": "number"
  13093. },
  13094. "openfeealgorithm": {
  13095. "description": "建仓手续费收取方式 1:比率 2:固定",
  13096. "type": "integer"
  13097. },
  13098. "openfreezecharge": {
  13099. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  13100. "type": "number"
  13101. },
  13102. "openmemberchargevalue": {
  13103. "description": "建仓会员手续费设置值",
  13104. "type": "number"
  13105. },
  13106. "openqty": {
  13107. "description": "开仓数量(先建后平操作,需要记录)",
  13108. "type": "integer"
  13109. },
  13110. "opentradeqty": {
  13111. "description": "开仓成交数量(先建后平操作,需要记录)",
  13112. "type": "integer"
  13113. },
  13114. "openunfreezecharge": {
  13115. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  13116. "type": "number"
  13117. },
  13118. "operatetype": {
  13119. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  13120. "type": "integer"
  13121. },
  13122. "operatorid": {
  13123. "description": "登录账号(LoginID)",
  13124. "type": "integer"
  13125. },
  13126. "optiontype": {
  13127. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  13128. "type": "integer"
  13129. },
  13130. "orderprice": {
  13131. "description": "委托价格",
  13132. "type": "number"
  13133. },
  13134. "orderqty": {
  13135. "description": "委托数量",
  13136. "type": "integer"
  13137. },
  13138. "ordersrc": {
  13139. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  13140. "type": "integer"
  13141. },
  13142. "orderstatus": {
  13143. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  13144. "type": "integer"
  13145. },
  13146. "ordertime": {
  13147. "description": "委托时间",
  13148. "type": "string"
  13149. },
  13150. "preexerciseprice": {
  13151. "description": "预申报价格",
  13152. "type": "number"
  13153. },
  13154. "premium": {
  13155. "description": "权利金",
  13156. "type": "number"
  13157. },
  13158. "preorderid": {
  13159. "description": "关联预埋单号(止盈止损单时填写)",
  13160. "type": "integer"
  13161. },
  13162. "pricemode": {
  13163. "description": "取价方式 - 1:市价 2: 限价",
  13164. "type": "integer"
  13165. },
  13166. "quoteid": {
  13167. "description": "报价单ID",
  13168. "type": "integer"
  13169. },
  13170. "relatedid": {
  13171. "description": "关联单号(交割单)",
  13172. "type": "integer"
  13173. },
  13174. "retcode": {
  13175. "description": "错误代码",
  13176. "type": "integer"
  13177. },
  13178. "sessionid": {
  13179. "description": "会话ID",
  13180. "type": "integer"
  13181. },
  13182. "strorderid": {
  13183. "description": "委托单号",
  13184. "type": "string"
  13185. },
  13186. "tradedate": {
  13187. "description": "交易日(yyyyMMdd)",
  13188. "type": "string"
  13189. },
  13190. "tradeproperty": {
  13191. "description": "交易属性",
  13192. "type": "integer"
  13193. },
  13194. "tradeqty": {
  13195. "description": "成交数量",
  13196. "type": "integer"
  13197. },
  13198. "unfreezecharge": {
  13199. "description": "解冻手续费",
  13200. "type": "number"
  13201. },
  13202. "unfreezemargin": {
  13203. "description": "解冻保证金",
  13204. "type": "number"
  13205. },
  13206. "updatetime": {
  13207. "description": "更新时间",
  13208. "type": "string"
  13209. },
  13210. "uuid": {
  13211. "description": "发起端唯一id",
  13212. "type": "string"
  13213. },
  13214. "validtime": {
  13215. "description": "有效期限",
  13216. "type": "string"
  13217. },
  13218. "validtype": {
  13219. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  13220. "type": "integer"
  13221. },
  13222. "volumetype": {
  13223. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  13224. "type": "integer"
  13225. }
  13226. }
  13227. },
  13228. "cptrade.QueryMyCPTradeGoodsRsp": {
  13229. "type": "object",
  13230. "required": [
  13231. "goodscode",
  13232. "goodsid",
  13233. "goodsname",
  13234. "marketid",
  13235. "relatedgoodscode",
  13236. "relatedgoodsname"
  13237. ],
  13238. "properties": {
  13239. "accountid": {
  13240. "description": "卖方账户ID",
  13241. "type": "integer"
  13242. },
  13243. "agreeunit": {
  13244. "description": "合约单位",
  13245. "type": "number"
  13246. },
  13247. "applyid": {
  13248. "description": "关联申请ID",
  13249. "type": "integer"
  13250. },
  13251. "attachmenturl": {
  13252. "description": "附件地址",
  13253. "type": "string"
  13254. },
  13255. "createtime": {
  13256. "description": "创建时间",
  13257. "type": "string"
  13258. },
  13259. "currencyid": {
  13260. "description": "报价货币ID",
  13261. "type": "integer"
  13262. },
  13263. "decimalplace": {
  13264. "description": "报价小数位",
  13265. "type": "integer"
  13266. },
  13267. "endtime": {
  13268. "description": "预售结束时间",
  13269. "type": "string"
  13270. },
  13271. "floorprice": {
  13272. "description": "底价[大宗式竞拍]",
  13273. "type": "number"
  13274. },
  13275. "goodscode": {
  13276. "description": "商品代码(预售)",
  13277. "type": "string"
  13278. },
  13279. "goodsdetail": {
  13280. "description": "详情[大宗]",
  13281. "type": "string"
  13282. },
  13283. "goodsid": {
  13284. "description": "商品ID(自增ID SEQ_GOODS)",
  13285. "type": "integer"
  13286. },
  13287. "goodsname": {
  13288. "description": "商品名称(预售)",
  13289. "type": "string"
  13290. },
  13291. "goodunit": {
  13292. "description": "报价单位",
  13293. "type": "string"
  13294. },
  13295. "goodunitid": {
  13296. "description": "报价单位ID",
  13297. "type": "integer"
  13298. },
  13299. "marketid": {
  13300. "description": "所属市场ID",
  13301. "type": "integer"
  13302. },
  13303. "marketname": {
  13304. "description": "预售市场名称",
  13305. "type": "string"
  13306. },
  13307. "presaledamount": {
  13308. "description": "已预售总金额(预售结束时更新)",
  13309. "type": "number"
  13310. },
  13311. "presaledqty": {
  13312. "description": "已预售量(预售结束时更新)",
  13313. "type": "integer"
  13314. },
  13315. "presalemode": {
  13316. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  13317. "type": "integer"
  13318. },
  13319. "presaleqty": {
  13320. "description": "预售数量",
  13321. "type": "integer"
  13322. },
  13323. "refprice": {
  13324. "description": "参考价格[一口价]",
  13325. "type": "number"
  13326. },
  13327. "relatedgoodscode": {
  13328. "description": "商品代码(订单)",
  13329. "type": "string"
  13330. },
  13331. "relatedgoodsid": {
  13332. "description": "关联交易合约ID",
  13333. "type": "integer"
  13334. },
  13335. "relatedgoodsname": {
  13336. "description": "商品名称(订单)",
  13337. "type": "string"
  13338. },
  13339. "relatedmarketid": {
  13340. "description": "关联交易合约市场ID",
  13341. "type": "integer"
  13342. },
  13343. "sellstatus": {
  13344. "description": "卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理",
  13345. "type": "integer"
  13346. },
  13347. "startprice": {
  13348. "description": "起拍价[大宗式竞拍]",
  13349. "type": "number"
  13350. },
  13351. "starttime": {
  13352. "description": "预售开始时间",
  13353. "type": "string"
  13354. },
  13355. "tradedate": {
  13356. "description": "交易日(yyyyMMdd)",
  13357. "type": "string"
  13358. },
  13359. "tradeprice": {
  13360. "description": "成交价[大宗]",
  13361. "type": "number"
  13362. },
  13363. "userid": {
  13364. "description": "卖方用户ID",
  13365. "type": "integer"
  13366. }
  13367. }
  13368. },
  13369. "cptrade.QueryPresaleGoodsExRsp": {
  13370. "type": "object",
  13371. "required": [
  13372. "goodsid"
  13373. ],
  13374. "properties": {
  13375. "attachmenturl": {
  13376. "description": "附件地址",
  13377. "type": "string"
  13378. },
  13379. "createtime": {
  13380. "description": "创建时间",
  13381. "type": "string"
  13382. },
  13383. "endtime": {
  13384. "description": "预售结束时间",
  13385. "type": "string"
  13386. },
  13387. "floorprice": {
  13388. "description": "底价[大宗式竞拍]",
  13389. "type": "number"
  13390. },
  13391. "goodsdetail": {
  13392. "description": "详情[大宗]",
  13393. "type": "string"
  13394. },
  13395. "goodsid": {
  13396. "description": "商品ID(预售)",
  13397. "type": "integer"
  13398. },
  13399. "goodunit": {
  13400. "description": "报价单位",
  13401. "type": "string"
  13402. },
  13403. "marketid": {
  13404. "description": "预售市场ID - 根据预售模式选择市场",
  13405. "type": "integer"
  13406. },
  13407. "presaledamount": {
  13408. "description": "已预售总金额(预售结束时更新)",
  13409. "type": "number"
  13410. },
  13411. "presaledqty": {
  13412. "description": "已预售量(预售结束时更新)",
  13413. "type": "integer"
  13414. },
  13415. "presalemode": {
  13416. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  13417. "type": "integer"
  13418. },
  13419. "presaleqty": {
  13420. "description": "预售数量",
  13421. "type": "integer"
  13422. },
  13423. "refprice": {
  13424. "description": "参考价格[一口价]",
  13425. "type": "number"
  13426. },
  13427. "relatedgoodsid": {
  13428. "description": "关联交易合约ID",
  13429. "type": "integer"
  13430. },
  13431. "relatedmarketid": {
  13432. "description": "关联交易合约市场ID",
  13433. "type": "integer"
  13434. },
  13435. "sellstatus": {
  13436. "description": "卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理",
  13437. "type": "integer"
  13438. },
  13439. "startprice": {
  13440. "description": "起拍价[大宗式竞拍]",
  13441. "type": "number"
  13442. },
  13443. "starttime": {
  13444. "description": "预售开始时间",
  13445. "type": "string"
  13446. },
  13447. "tradedate": {
  13448. "description": "交易日(yyyyMMdd)",
  13449. "type": "string"
  13450. },
  13451. "tradeprice": {
  13452. "description": "成交价[大宗]",
  13453. "type": "number"
  13454. }
  13455. }
  13456. },
  13457. "delivery.QueryDeliveryRelationRsp": {
  13458. "type": "object",
  13459. "required": [
  13460. "begindate",
  13461. "enddate",
  13462. "goodsid",
  13463. "mindeliveryqty",
  13464. "xdeliveryratio"
  13465. ],
  13466. "properties": {
  13467. "begindate": {
  13468. "description": "起始日期(yyyyMMdd)",
  13469. "type": "string"
  13470. },
  13471. "buytemplateid": {
  13472. "description": "买履约计划模板ID",
  13473. "type": "integer"
  13474. },
  13475. "deliverygoodscode": {
  13476. "description": "品种代码",
  13477. "type": "string"
  13478. },
  13479. "deliverygoodsid": {
  13480. "description": "交割商品",
  13481. "type": "integer"
  13482. },
  13483. "deliverygoodsname": {
  13484. "description": "品种名称",
  13485. "type": "string"
  13486. },
  13487. "deliverymode": {
  13488. "description": "交割方式 - 1:点选式 2:申报式",
  13489. "type": "integer"
  13490. },
  13491. "deliverypricerule": {
  13492. "description": "交割价规则- 1:行情价 2:建仓价",
  13493. "type": "integer"
  13494. },
  13495. "deliverytype": {
  13496. "description": "交割模式 - 1:X交割 2:X+P交割 3:X+C交割 4:X+P+C交割",
  13497. "type": "integer"
  13498. },
  13499. "enddate": {
  13500. "description": "结束日期(yyyyMMdd)",
  13501. "type": "string"
  13502. },
  13503. "goodscode": {
  13504. "description": "商品代码",
  13505. "type": "string"
  13506. },
  13507. "goodsid": {
  13508. "description": "交易合约ID",
  13509. "type": "integer"
  13510. },
  13511. "goodsname": {
  13512. "description": "商品名称",
  13513. "type": "string"
  13514. },
  13515. "marketid": {
  13516. "description": "市场ID",
  13517. "type": "integer"
  13518. },
  13519. "mindeliveryqty": {
  13520. "description": "最小交割系数(K)",
  13521. "type": "integer"
  13522. },
  13523. "p2deliveryprice": {
  13524. "description": "P2合约价格(商品价时填写0,固定值时填写固定值)",
  13525. "type": "number"
  13526. },
  13527. "p2deliveryratio": {
  13528. "description": "P2合约系数(p)",
  13529. "type": "integer"
  13530. },
  13531. "p2goodsid": {
  13532. "description": "P2合约ID",
  13533. "type": "integer"
  13534. },
  13535. "p2pricemode": {
  13536. "description": "P2合约价格方式 - 1:商品价 2:固定值",
  13537. "type": "integer"
  13538. },
  13539. "pdeliveryprice": {
  13540. "description": "P合约价格(商品价时填写0,固定值时填写固定值)",
  13541. "type": "number"
  13542. },
  13543. "pdeliveryratio": {
  13544. "description": "P合约系数(n)",
  13545. "type": "integer"
  13546. },
  13547. "pgoodsid": {
  13548. "description": "P合约ID",
  13549. "type": "integer"
  13550. },
  13551. "ppricemode": {
  13552. "description": "P合约价格方式 - 1:商品价 2:固定值",
  13553. "type": "integer"
  13554. },
  13555. "rratio": {
  13556. "description": "兑换系数(R)",
  13557. "type": "integer"
  13558. },
  13559. "rratio1": {
  13560. "description": "兑换系数(交易合约)(R1)",
  13561. "type": "integer"
  13562. },
  13563. "rratio2": {
  13564. "description": "兑换系数(仓单标准)(R2)",
  13565. "type": "integer"
  13566. },
  13567. "selltemplateid": {
  13568. "description": "卖履约计划模板ID",
  13569. "type": "integer"
  13570. },
  13571. "wrstandardid": {
  13572. "description": "仓单标准ID",
  13573. "type": "integer"
  13574. },
  13575. "xdeliveryratio": {
  13576. "description": "交易合约系数(m)",
  13577. "type": "integer"
  13578. }
  13579. }
  13580. },
  13581. "ermcp.ExposureDetailRsp": {
  13582. "$ref": "#/definitions/models.ErmcpExposureDetailModel"
  13583. },
  13584. "ermcp.ExposureHedgePosDetailRsp": {
  13585. "$ref": "#/definitions/models.ErmcpHedgePositionDetail"
  13586. },
  13587. "ermcp.ExposureHedgePositionRsp": {
  13588. "$ref": "#/definitions/models.ErmcpHedgePosition"
  13589. },
  13590. "ermcp.ExposureSpotDetailRsp": {
  13591. "$ref": "#/definitions/models.ErmcpAreaSpotDetailModel"
  13592. },
  13593. "ermcp.ExposureSpotRsp": {
  13594. "$ref": "#/definitions/models.AreaSpotModel"
  13595. },
  13596. "ermcp.HisExposureRsp": {
  13597. "$ref": "#/definitions/models.ErmcpHisExposureS"
  13598. },
  13599. "ermcp.PendingAuditCntRsp": {
  13600. "$ref": "#/definitions/models.ErmcpPendingAudit"
  13601. },
  13602. "ermcp.QryAvalidGPRsp": {
  13603. "$ref": "#/definitions/models.ErmcpAvalidGoodsGroupModel"
  13604. },
  13605. "ermcp.QryBusinessDjRsp": {
  13606. "type": "object",
  13607. "properties": {
  13608. "amount": {
  13609. "description": "点价金额=(点价价格+升贴水)*点价数量",
  13610. "type": "number"
  13611. },
  13612. "applyid": {
  13613. "description": "申请人",
  13614. "type": "string"
  13615. },
  13616. "applyname": {
  13617. "description": "申请人名称",
  13618. "type": "string"
  13619. },
  13620. "applystatus": {
  13621. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  13622. "type": "integer"
  13623. },
  13624. "applytime": {
  13625. "description": "申请时间",
  13626. "type": "string"
  13627. },
  13628. "attachurl": {
  13629. "description": "附件",
  13630. "type": "string"
  13631. },
  13632. "auditid": {
  13633. "description": "审核人ID",
  13634. "type": "string"
  13635. },
  13636. "auditname": {
  13637. "description": "审核人名称",
  13638. "type": "string"
  13639. },
  13640. "audittime": {
  13641. "description": "审核时间",
  13642. "type": "string"
  13643. },
  13644. "buyusername": {
  13645. "description": "采购方名称",
  13646. "type": "string"
  13647. },
  13648. "contractno": {
  13649. "description": "合同编号",
  13650. "type": "string"
  13651. },
  13652. "contractstatus": {
  13653. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  13654. "type": "integer"
  13655. },
  13656. "contracttype": {
  13657. "description": "现货合同类型 - 1:采购 -1:销售",
  13658. "type": "integer"
  13659. },
  13660. "deliverygoodscode": {
  13661. "description": "现货品种代码",
  13662. "type": "string"
  13663. },
  13664. "deliverygoodsid": {
  13665. "description": "现货商品ID",
  13666. "type": "integer"
  13667. },
  13668. "deliverygoodsname": {
  13669. "description": "现货品种名称",
  13670. "type": "string"
  13671. },
  13672. "enumdicname": {
  13673. "description": "单位名称",
  13674. "type": "string"
  13675. },
  13676. "goodscode": {
  13677. "description": "点价合约",
  13678. "type": "string"
  13679. },
  13680. "goodsname": {
  13681. "description": "商品名称",
  13682. "type": "string"
  13683. },
  13684. "operateapplyid": {
  13685. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  13686. "type": "string"
  13687. },
  13688. "operateapplytype": {
  13689. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  13690. "type": "integer"
  13691. },
  13692. "pricedPrice": {
  13693. "description": "点价价格(非必填)",
  13694. "type": "number"
  13695. },
  13696. "pricedQty": {
  13697. "description": "点价数量(非必填)",
  13698. "type": "number"
  13699. },
  13700. "pricemove": {
  13701. "description": "升贴水",
  13702. "type": "number"
  13703. },
  13704. "pricetype": {
  13705. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  13706. "type": "integer"
  13707. },
  13708. "relatedid": {
  13709. "description": "现货合同ID",
  13710. "type": "string"
  13711. },
  13712. "sellusername": {
  13713. "description": "销售方名字",
  13714. "type": "string"
  13715. },
  13716. "userid": {
  13717. "description": "用户ID",
  13718. "type": "integer"
  13719. },
  13720. "wrstandardcode": {
  13721. "description": "品类代码",
  13722. "type": "string"
  13723. },
  13724. "wrstandardid": {
  13725. "description": "品类id",
  13726. "type": "integer"
  13727. },
  13728. "wrstandardname": {
  13729. "description": "品类名称",
  13730. "type": "string"
  13731. }
  13732. }
  13733. },
  13734. "ermcp.QryBussinessFpRsp": {
  13735. "type": "object",
  13736. "properties": {
  13737. "applyid": {
  13738. "description": "申请人",
  13739. "type": "string"
  13740. },
  13741. "applyname": {
  13742. "description": "申请人名称",
  13743. "type": "string"
  13744. },
  13745. "applystatus": {
  13746. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  13747. "type": "integer"
  13748. },
  13749. "applytime": {
  13750. "description": "申请时间",
  13751. "type": "string"
  13752. },
  13753. "attachurl": {
  13754. "description": "附件",
  13755. "type": "string"
  13756. },
  13757. "auditid": {
  13758. "description": "审核人ID",
  13759. "type": "string"
  13760. },
  13761. "auditname": {
  13762. "description": "审核人名称",
  13763. "type": "string"
  13764. },
  13765. "audittime": {
  13766. "description": "审核时间",
  13767. "type": "string"
  13768. },
  13769. "buyusername": {
  13770. "description": "采购方名称",
  13771. "type": "string"
  13772. },
  13773. "contractno": {
  13774. "description": "合同编号",
  13775. "type": "string"
  13776. },
  13777. "contractstatus": {
  13778. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  13779. "type": "integer"
  13780. },
  13781. "contracttype": {
  13782. "description": "现货合同类型 - 1:采购 -1:销售",
  13783. "type": "integer"
  13784. },
  13785. "deliverygoodscode": {
  13786. "description": "现货品种代码",
  13787. "type": "string"
  13788. },
  13789. "deliverygoodsid": {
  13790. "description": "现货商品ID",
  13791. "type": "integer"
  13792. },
  13793. "deliverygoodsname": {
  13794. "description": "现货品种名称",
  13795. "type": "string"
  13796. },
  13797. "enumdicname": {
  13798. "description": "单位名称",
  13799. "type": "string"
  13800. },
  13801. "goodscode": {
  13802. "description": "点价合约",
  13803. "type": "string"
  13804. },
  13805. "goodsname": {
  13806. "description": "商品名称",
  13807. "type": "string"
  13808. },
  13809. "invoiceAmount": {
  13810. "description": "已开收票金额(销售为开票,采购为收票)",
  13811. "type": "number"
  13812. },
  13813. "operateapplyid": {
  13814. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  13815. "type": "string"
  13816. },
  13817. "operateapplytype": {
  13818. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  13819. "type": "integer"
  13820. },
  13821. "pricemove": {
  13822. "description": "升贴水",
  13823. "type": "number"
  13824. },
  13825. "pricetype": {
  13826. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  13827. "type": "integer"
  13828. },
  13829. "relatedid": {
  13830. "description": "现货合同ID",
  13831. "type": "string"
  13832. },
  13833. "sellusername": {
  13834. "description": "销售方名字",
  13835. "type": "string"
  13836. },
  13837. "userid": {
  13838. "description": "用户ID",
  13839. "type": "integer"
  13840. },
  13841. "wrstandardcode": {
  13842. "description": "品类代码",
  13843. "type": "string"
  13844. },
  13845. "wrstandardid": {
  13846. "description": "品类id",
  13847. "type": "integer"
  13848. },
  13849. "wrstandardname": {
  13850. "description": "品类名称",
  13851. "type": "string"
  13852. }
  13853. }
  13854. },
  13855. "ermcp.QryBussinessJsExRsp": {
  13856. "type": "object",
  13857. "properties": {
  13858. "applyid": {
  13859. "description": "申请人",
  13860. "type": "string"
  13861. },
  13862. "applyname": {
  13863. "description": "申请人名称",
  13864. "type": "string"
  13865. },
  13866. "applystatus": {
  13867. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  13868. "type": "integer"
  13869. },
  13870. "applytime": {
  13871. "description": "申请时间",
  13872. "type": "string"
  13873. },
  13874. "attachurl": {
  13875. "description": "附件",
  13876. "type": "string"
  13877. },
  13878. "auditid": {
  13879. "description": "审核人ID",
  13880. "type": "string"
  13881. },
  13882. "auditname": {
  13883. "description": "审核人名称",
  13884. "type": "string"
  13885. },
  13886. "audittime": {
  13887. "description": "审核时间",
  13888. "type": "string"
  13889. },
  13890. "buyusername": {
  13891. "description": "采购方名称",
  13892. "type": "string"
  13893. },
  13894. "contractno": {
  13895. "description": "合同编号",
  13896. "type": "string"
  13897. },
  13898. "contractstatus": {
  13899. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  13900. "type": "integer"
  13901. },
  13902. "contracttype": {
  13903. "description": "现货合同类型 - 1:采购 -1:销售",
  13904. "type": "integer"
  13905. },
  13906. "deliverygoodscode": {
  13907. "description": "现货品种代码",
  13908. "type": "string"
  13909. },
  13910. "deliverygoodsid": {
  13911. "description": "现货商品ID",
  13912. "type": "integer"
  13913. },
  13914. "deliverygoodsname": {
  13915. "description": "现货品种名称",
  13916. "type": "string"
  13917. },
  13918. "enumdicname": {
  13919. "description": "单位名称",
  13920. "type": "string"
  13921. },
  13922. "goodscode": {
  13923. "description": "点价合约",
  13924. "type": "string"
  13925. },
  13926. "goodsname": {
  13927. "description": "商品名称",
  13928. "type": "string"
  13929. },
  13930. "operateapplyid": {
  13931. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  13932. "type": "string"
  13933. },
  13934. "operateapplytype": {
  13935. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  13936. "type": "integer"
  13937. },
  13938. "pricemove": {
  13939. "description": "升贴水",
  13940. "type": "number"
  13941. },
  13942. "pricetype": {
  13943. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  13944. "type": "integer"
  13945. },
  13946. "reckontype": {
  13947. "description": "结算类型",
  13948. "type": "string"
  13949. },
  13950. "reckonvalue": {
  13951. "description": "值",
  13952. "type": "number"
  13953. },
  13954. "relatedid": {
  13955. "description": "现货合同ID",
  13956. "type": "string"
  13957. },
  13958. "sellusername": {
  13959. "description": "销售方名字",
  13960. "type": "string"
  13961. },
  13962. "userid": {
  13963. "description": "用户ID",
  13964. "type": "integer"
  13965. },
  13966. "wrstandardcode": {
  13967. "description": "品类代码",
  13968. "type": "string"
  13969. },
  13970. "wrstandardid": {
  13971. "description": "品类id",
  13972. "type": "integer"
  13973. },
  13974. "wrstandardname": {
  13975. "description": "品类名称",
  13976. "type": "string"
  13977. }
  13978. }
  13979. },
  13980. "ermcp.QryBussinessJsRsp": {
  13981. "type": "object",
  13982. "properties": {
  13983. "addmargin": {
  13984. "description": "追加保证金(非必填)",
  13985. "type": "number"
  13986. },
  13987. "applyid": {
  13988. "description": "申请人",
  13989. "type": "string"
  13990. },
  13991. "applyname": {
  13992. "description": "申请人名称",
  13993. "type": "string"
  13994. },
  13995. "applystatus": {
  13996. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  13997. "type": "integer"
  13998. },
  13999. "applytime": {
  14000. "description": "申请时间",
  14001. "type": "string"
  14002. },
  14003. "attachurl": {
  14004. "description": "附件",
  14005. "type": "string"
  14006. },
  14007. "auditid": {
  14008. "description": "审核人ID",
  14009. "type": "string"
  14010. },
  14011. "auditname": {
  14012. "description": "审核人名称",
  14013. "type": "string"
  14014. },
  14015. "audittime": {
  14016. "description": "审核时间",
  14017. "type": "string"
  14018. },
  14019. "buyusername": {
  14020. "description": "采购方名称",
  14021. "type": "string"
  14022. },
  14023. "contractno": {
  14024. "description": "合同编号",
  14025. "type": "string"
  14026. },
  14027. "contractstatus": {
  14028. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  14029. "type": "integer"
  14030. },
  14031. "contracttype": {
  14032. "description": "现货合同类型 - 1:采购 -1:销售",
  14033. "type": "integer"
  14034. },
  14035. "decmargin": {
  14036. "description": "减少保证金(非必填)",
  14037. "type": "number"
  14038. },
  14039. "deliverygoodscode": {
  14040. "description": "现货品种代码",
  14041. "type": "string"
  14042. },
  14043. "deliverygoodsid": {
  14044. "description": "现货商品ID",
  14045. "type": "integer"
  14046. },
  14047. "deliverygoodsname": {
  14048. "description": "现货品种名称",
  14049. "type": "string"
  14050. },
  14051. "enumdicname": {
  14052. "description": "单位名称",
  14053. "type": "string"
  14054. },
  14055. "goodscode": {
  14056. "description": "点价合约",
  14057. "type": "string"
  14058. },
  14059. "goodsname": {
  14060. "description": "商品名称",
  14061. "type": "string"
  14062. },
  14063. "operateapplyid": {
  14064. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  14065. "type": "string"
  14066. },
  14067. "operateapplytype": {
  14068. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  14069. "type": "integer"
  14070. },
  14071. "pricemove": {
  14072. "description": "升贴水",
  14073. "type": "number"
  14074. },
  14075. "pricetype": {
  14076. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  14077. "type": "integer"
  14078. },
  14079. "reckonadjustamount": {
  14080. "description": "结算调整金额(非必填)",
  14081. "type": "number"
  14082. },
  14083. "reckonosamount": {
  14084. "description": "结算溢短金额(非必填)",
  14085. "type": "number"
  14086. },
  14087. "reckonotheramount": {
  14088. "description": "结算其他费用(非必填)",
  14089. "type": "number"
  14090. },
  14091. "reckonrealqty": {
  14092. "description": "结算实际数量(非必填)",
  14093. "type": "number"
  14094. },
  14095. "relatedid": {
  14096. "description": "现货合同ID",
  14097. "type": "string"
  14098. },
  14099. "sellusername": {
  14100. "description": "销售方名字",
  14101. "type": "string"
  14102. },
  14103. "userid": {
  14104. "description": "用户ID",
  14105. "type": "integer"
  14106. },
  14107. "wrstandardcode": {
  14108. "description": "品类代码",
  14109. "type": "string"
  14110. },
  14111. "wrstandardid": {
  14112. "description": "品类id",
  14113. "type": "integer"
  14114. },
  14115. "wrstandardname": {
  14116. "description": "品类名称",
  14117. "type": "string"
  14118. }
  14119. }
  14120. },
  14121. "ermcp.QryBussinessKxRsp": {
  14122. "type": "object",
  14123. "properties": {
  14124. "applyid": {
  14125. "description": "申请人",
  14126. "type": "string"
  14127. },
  14128. "applyname": {
  14129. "description": "申请人名称",
  14130. "type": "string"
  14131. },
  14132. "applystatus": {
  14133. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  14134. "type": "integer"
  14135. },
  14136. "applytime": {
  14137. "description": "申请时间",
  14138. "type": "string"
  14139. },
  14140. "attachurl": {
  14141. "description": "附件",
  14142. "type": "string"
  14143. },
  14144. "auditid": {
  14145. "description": "审核人ID",
  14146. "type": "string"
  14147. },
  14148. "auditname": {
  14149. "description": "审核人名称",
  14150. "type": "string"
  14151. },
  14152. "audittime": {
  14153. "description": "审核时间",
  14154. "type": "string"
  14155. },
  14156. "buyusername": {
  14157. "description": "采购方名称",
  14158. "type": "string"
  14159. },
  14160. "contractno": {
  14161. "description": "合同编号",
  14162. "type": "string"
  14163. },
  14164. "contractstatus": {
  14165. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  14166. "type": "integer"
  14167. },
  14168. "contracttype": {
  14169. "description": "现货合同类型 - 1:采购 -1:销售",
  14170. "type": "integer"
  14171. },
  14172. "deductamount": {
  14173. "description": "退款(非必填)",
  14174. "type": "number"
  14175. },
  14176. "deliverygoodscode": {
  14177. "description": "现货品种代码",
  14178. "type": "string"
  14179. },
  14180. "deliverygoodsid": {
  14181. "description": "现货商品ID",
  14182. "type": "integer"
  14183. },
  14184. "deliverygoodsname": {
  14185. "description": "现货品种名称",
  14186. "type": "string"
  14187. },
  14188. "enumdicname": {
  14189. "description": "单位名称",
  14190. "type": "string"
  14191. },
  14192. "goodscode": {
  14193. "description": "点价合约",
  14194. "type": "string"
  14195. },
  14196. "goodsname": {
  14197. "description": "商品名称",
  14198. "type": "string"
  14199. },
  14200. "kxtype": {
  14201. "description": "款项类型 1-收付款(PayAmount字段有值) 2-退款(DeductAmount字段有值) 3-收付款/退款(2个字段都有)",
  14202. "type": "integer"
  14203. },
  14204. "operateapplyid": {
  14205. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  14206. "type": "string"
  14207. },
  14208. "operateapplytype": {
  14209. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  14210. "type": "integer"
  14211. },
  14212. "payamount": {
  14213. "description": "收付款(非必填)",
  14214. "type": "number"
  14215. },
  14216. "pricemove": {
  14217. "description": "升贴水",
  14218. "type": "number"
  14219. },
  14220. "pricetype": {
  14221. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  14222. "type": "integer"
  14223. },
  14224. "relatedid": {
  14225. "description": "现货合同ID",
  14226. "type": "string"
  14227. },
  14228. "sellusername": {
  14229. "description": "销售方名字",
  14230. "type": "string"
  14231. },
  14232. "userid": {
  14233. "description": "用户ID",
  14234. "type": "integer"
  14235. },
  14236. "wrstandardcode": {
  14237. "description": "品类代码",
  14238. "type": "string"
  14239. },
  14240. "wrstandardid": {
  14241. "description": "品类id",
  14242. "type": "integer"
  14243. },
  14244. "wrstandardname": {
  14245. "description": "品类名称",
  14246. "type": "string"
  14247. }
  14248. }
  14249. },
  14250. "ermcp.QryGGCovertCfgRsp": {
  14251. "$ref": "#/definitions/models.ErmcpGGConvertCfg"
  14252. },
  14253. "ermcp.QryMGChangeLogRsp": {
  14254. "$ref": "#/definitions/models.ErmcpMiddleGoodsChangeLog"
  14255. },
  14256. "ermcp.QryMiddleGoodsDetailRsp": {
  14257. "$ref": "#/definitions/models.ErmcpMiddleGoodsDetail"
  14258. },
  14259. "ermcp.QryMiddleGoodsRsp": {
  14260. "$ref": "#/definitions/models.ErmcpMiddleGoodsModel"
  14261. },
  14262. "ermcp.QryOPLogRsp": {
  14263. "$ref": "#/definitions/models.ErmcpOPLogModel"
  14264. },
  14265. "ermcp.QryUserInfoRsp": {
  14266. "$ref": "#/definitions/models.ErmcpUserModel"
  14267. },
  14268. "ermcp.QryWarehouseRsp": {
  14269. "$ref": "#/definitions/models.ErmcpWareHouseInfo"
  14270. },
  14271. "ermcp.QueryErmcpTradePositionRsp": {
  14272. "type": "object",
  14273. "properties": {
  14274. "agreeunit": {
  14275. "description": "合约单位",
  14276. "type": "number"
  14277. },
  14278. "buyorsell": {
  14279. "description": "方向 - 0:买 1:卖",
  14280. "type": "integer"
  14281. },
  14282. "curpositionqty": {
  14283. "description": "持仓(总仓数量, 期末头寸)",
  14284. "type": "integer"
  14285. },
  14286. "curtdposition": {
  14287. "description": "今仓数量(期末今日头寸)",
  14288. "type": "integer"
  14289. },
  14290. "curtdpositionenabled": {
  14291. "description": "今仓可用",
  14292. "type": "integer"
  14293. },
  14294. "decimalplace": {
  14295. "description": "报价小数位",
  14296. "type": "integer"
  14297. },
  14298. "enableqty": {
  14299. "description": "可用(总仓可用)",
  14300. "type": "integer"
  14301. },
  14302. "exexchangename": {
  14303. "description": "外部交易所名称",
  14304. "type": "string"
  14305. },
  14306. "goodscode": {
  14307. "description": "商品代码(内部)",
  14308. "type": "string"
  14309. },
  14310. "goodsid": {
  14311. "description": "商品ID(自增ID SEQ_GOODS)",
  14312. "type": "integer"
  14313. },
  14314. "goodsname": {
  14315. "description": "商品名称",
  14316. "type": "string"
  14317. },
  14318. "last": {
  14319. "description": "现价",
  14320. "type": "number"
  14321. },
  14322. "marketid": {
  14323. "description": "所属市场ID",
  14324. "type": "integer"
  14325. },
  14326. "openaverageprice": {
  14327. "description": "开仓均价【头寸变化更新】 = 开仓成本 / 期末头寸 / 合约单位",
  14328. "type": "number"
  14329. },
  14330. "opencost": {
  14331. "description": "开仓成本",
  14332. "type": "number"
  14333. },
  14334. "openpl": {
  14335. "description": "逐笔浮盈【实时行情更新】(MTP:开仓盈亏、平仓盈亏) 买方向 = (最新价 - 开仓均价) * 买期末头寸 * 合约单位;卖方向 = (开仓均价 - 最新价) * 卖期末头寸 * 合约单位",
  14336. "type": "number"
  14337. },
  14338. "outgoodscode": {
  14339. "description": "商品代码(外部)",
  14340. "type": "string"
  14341. },
  14342. "positionaverageprice": {
  14343. "description": "持仓均价【头寸变化更新】= 持仓成本 / 期末头寸 / 合约单位",
  14344. "type": "number"
  14345. },
  14346. "positioncost": {
  14347. "description": "持仓成本",
  14348. "type": "number"
  14349. },
  14350. "positionpl": {
  14351. "description": "盯市浮盈【实时行情更新】(MTP:浮动盈亏、持仓盈亏) 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向 = (持仓均价 - 最新价) * 卖期末头寸 * 合约单位",
  14352. "type": "number"
  14353. },
  14354. "positionplrate": {
  14355. "description": "持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本",
  14356. "type": "number"
  14357. },
  14358. "usedmargin": {
  14359. "description": "占用保证金",
  14360. "type": "number"
  14361. }
  14362. }
  14363. },
  14364. "ermcp.RealtimeExposurePositionRsp": {
  14365. "$ref": "#/definitions/models.ErmcpExposurePostion"
  14366. },
  14367. "ermcp.RealtimeExposureRsp": {
  14368. "$ref": "#/definitions/models.ErmcpRealExposureModel"
  14369. },
  14370. "erms2.QueryArbitrageStrategyRsp": {
  14371. "type": "object",
  14372. "required": [
  14373. "asapplyid"
  14374. ],
  14375. "properties": {
  14376. "applybasis": {
  14377. "description": "申请基差",
  14378. "type": "number"
  14379. },
  14380. "asapplyid": {
  14381. "description": "策略申请ID(702+Unix秒时间戳(10位)+xxxxxx)",
  14382. "type": "string"
  14383. },
  14384. "asname": {
  14385. "description": "策略名称",
  14386. "type": "string"
  14387. },
  14388. "asno": {
  14389. "description": "策略编号",
  14390. "type": "string"
  14391. },
  14392. "basischangepl": {
  14393. "description": "基差变动损益[结算更新]",
  14394. "type": "number"
  14395. },
  14396. "biztype": {
  14397. "description": "业务类型 - 1:正向套利 -1:反向套利",
  14398. "type": "integer"
  14399. },
  14400. "closetradedate": {
  14401. "description": "完结交易日(yyyyMMdd)",
  14402. "type": "string"
  14403. },
  14404. "curbasis": {
  14405. "description": "当前基差[结算更新]",
  14406. "type": "number"
  14407. },
  14408. "deliverygoodsid": {
  14409. "description": "现货品种ID",
  14410. "type": "integer"
  14411. },
  14412. "futureavgprice": {
  14413. "description": "期货建仓均价",
  14414. "type": "number"
  14415. },
  14416. "futurecloseamount": {
  14417. "description": "期货平仓金额",
  14418. "type": "number"
  14419. },
  14420. "futurecloseqty": {
  14421. "description": "期货平仓数量",
  14422. "type": "number"
  14423. },
  14424. "futureopenamount": {
  14425. "description": "期货开仓金额",
  14426. "type": "number"
  14427. },
  14428. "futureopenqty": {
  14429. "description": "期货开仓数量",
  14430. "type": "number"
  14431. },
  14432. "futurepl": {
  14433. "description": "期货总盈亏[结算更新]",
  14434. "type": "number"
  14435. },
  14436. "futureqty": {
  14437. "description": "期货持仓数量",
  14438. "type": "number"
  14439. },
  14440. "futurequote": {
  14441. "description": "期货额度",
  14442. "type": "number"
  14443. },
  14444. "goodsgroupid": {
  14445. "description": "期货品种ID",
  14446. "type": "integer"
  14447. },
  14448. "marketid": {
  14449. "description": "市场ID",
  14450. "type": "integer"
  14451. },
  14452. "netexposure": {
  14453. "description": "单笔业务头寸净敞口 = 期货持仓数量 + 已定价现货不含税数量",
  14454. "type": "number"
  14455. },
  14456. "netexposurepl": {
  14457. "description": "净敞口损益 = TotalPL - BasisChangePL[结算更新]",
  14458. "type": "number"
  14459. },
  14460. "netexposurerate": {
  14461. "description": "净敞口比例 - 0:未结束 = (NetExposure/PriceSpotQtyNoTax) ; 已结束为0",
  14462. "type": "number"
  14463. },
  14464. "openbasis": {
  14465. "description": "建仓基差",
  14466. "type": "number"
  14467. },
  14468. "pricedspotqty": {
  14469. "description": "已定价现货数量",
  14470. "type": "number"
  14471. },
  14472. "pricedspotqtynotax": {
  14473. "description": "已定价现货不含税数量",
  14474. "type": "number"
  14475. },
  14476. "remark": {
  14477. "description": "备注",
  14478. "type": "string"
  14479. },
  14480. "spotavgprice": {
  14481. "description": "现货均价",
  14482. "type": "number"
  14483. },
  14484. "spotbuyamount": {
  14485. "description": "现货采购金额",
  14486. "type": "number"
  14487. },
  14488. "spotbuyqty": {
  14489. "description": "现货采购数量",
  14490. "type": "number"
  14491. },
  14492. "spotpl": {
  14493. "description": "现货总盈亏[结算更新]",
  14494. "type": "number"
  14495. },
  14496. "spotquota": {
  14497. "description": "现货额度",
  14498. "type": "number"
  14499. },
  14500. "spotsellamount": {
  14501. "description": "现货销售金额",
  14502. "type": "number"
  14503. },
  14504. "spotsellqty": {
  14505. "description": "现货销售数量",
  14506. "type": "number"
  14507. },
  14508. "spotusedquota": {
  14509. "description": "现货占用资金",
  14510. "type": "number"
  14511. },
  14512. "strategystatus": {
  14513. "description": "策略状态 - 0:未结束 1:已结束",
  14514. "type": "integer"
  14515. },
  14516. "totalpl": {
  14517. "description": "业务合计损益 = FuturePL + SpotPL [结算更新]",
  14518. "type": "number"
  14519. },
  14520. "tradedate": {
  14521. "description": "交易日(yyyyMMdd)",
  14522. "type": "string"
  14523. },
  14524. "updatetime": {
  14525. "description": "更新时间",
  14526. "type": "string"
  14527. },
  14528. "usedquota": {
  14529. "description": "已占用资金",
  14530. "type": "number"
  14531. },
  14532. "userid": {
  14533. "description": "所属机构",
  14534. "type": "integer"
  14535. }
  14536. }
  14537. },
  14538. "erms2.QueryInnerTradeDetailRsp": {
  14539. "type": "object",
  14540. "required": [
  14541. "asapplyid",
  14542. "buyorsell",
  14543. "goodscode",
  14544. "goodsgroupid",
  14545. "goodsgroupname",
  14546. "goodsname",
  14547. "tradeid"
  14548. ],
  14549. "properties": {
  14550. "accountid": {
  14551. "description": "账号ID",
  14552. "type": "integer"
  14553. },
  14554. "agreeunit": {
  14555. "description": "合约单位",
  14556. "type": "number"
  14557. },
  14558. "asapplyid": {
  14559. "description": "策略申请ID",
  14560. "type": "integer"
  14561. },
  14562. "asname": {
  14563. "description": "策略名称",
  14564. "type": "string"
  14565. },
  14566. "asno": {
  14567. "description": "策略编号",
  14568. "type": "string"
  14569. },
  14570. "buyorsell": {
  14571. "description": "方向 - 0:买 1:卖",
  14572. "type": "integer"
  14573. },
  14574. "channelbuildtype": {
  14575. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  14576. "type": "integer"
  14577. },
  14578. "closetype": {
  14579. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  14580. "type": "integer"
  14581. },
  14582. "decimalplace": {
  14583. "description": "报价小数位",
  14584. "type": "integer"
  14585. },
  14586. "detailtype": {
  14587. "description": "明细类型 - 1:套利对冲 2:期货换月 3:期货仓位调整",
  14588. "type": "integer"
  14589. },
  14590. "exexchangecode": {
  14591. "description": "外部交易所代码",
  14592. "type": "string"
  14593. },
  14594. "exexchangename": {
  14595. "description": "外部交易所名称",
  14596. "type": "string"
  14597. },
  14598. "goodscode": {
  14599. "description": "商品代码(合约)",
  14600. "type": "string"
  14601. },
  14602. "goodsgroupid": {
  14603. "description": "商品组ID(品种ID)",
  14604. "type": "integer"
  14605. },
  14606. "goodsgroupname": {
  14607. "description": "商品组名称(品种)",
  14608. "type": "string"
  14609. },
  14610. "goodsid": {
  14611. "description": "商品ID",
  14612. "type": "integer"
  14613. },
  14614. "goodsname": {
  14615. "description": "商品名称(合约)",
  14616. "type": "string"
  14617. },
  14618. "goodunit": {
  14619. "description": "报价单位",
  14620. "type": "string"
  14621. },
  14622. "marketid": {
  14623. "description": "市场ID",
  14624. "type": "integer"
  14625. },
  14626. "orderid": {
  14627. "description": "委托单号",
  14628. "type": "string"
  14629. },
  14630. "outgoodscode": {
  14631. "description": "商品代码(外部)",
  14632. "type": "string"
  14633. },
  14634. "relatedouttradeid": {
  14635. "description": "关联外部成交单ID",
  14636. "type": "string"
  14637. },
  14638. "remark": {
  14639. "description": "备注",
  14640. "type": "string"
  14641. },
  14642. "spotcontractid": {
  14643. "description": "现货合同ID [1:套利对冲 为合同ID,2:期货换月\\3:期货仓位调整时为0]",
  14644. "type": "integer"
  14645. },
  14646. "spotcontractno": {
  14647. "description": "现货合同编号",
  14648. "type": "string"
  14649. },
  14650. "tradeid": {
  14651. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  14652. "type": "string"
  14653. },
  14654. "tradeprice": {
  14655. "description": "成交价格",
  14656. "type": "number"
  14657. },
  14658. "tradeqty": {
  14659. "description": "成交数量",
  14660. "type": "integer"
  14661. },
  14662. "tradetime": {
  14663. "description": "成交时间",
  14664. "type": "string"
  14665. },
  14666. "updatetime": {
  14667. "description": "更新时间",
  14668. "type": "string"
  14669. }
  14670. }
  14671. },
  14672. "erms2.QuerySpotContractRsp": {
  14673. "type": "object",
  14674. "required": [
  14675. "spotcontractid"
  14676. ],
  14677. "properties": {
  14678. "accountid": {
  14679. "description": "资金账户ID",
  14680. "type": "integer"
  14681. },
  14682. "areauserid": {
  14683. "description": "所属机构",
  14684. "type": "integer"
  14685. },
  14686. "closedate": {
  14687. "description": "终止日期",
  14688. "type": "string"
  14689. },
  14690. "closeremark": {
  14691. "description": "结束备注",
  14692. "type": "string"
  14693. },
  14694. "closetradedate": {
  14695. "description": "完结交易日(yyyyMMdd)",
  14696. "type": "string"
  14697. },
  14698. "closetype": {
  14699. "description": "终止类型 - 1:违约 2:提前终止",
  14700. "type": "integer"
  14701. },
  14702. "contractamount": {
  14703. "description": "合同金额",
  14704. "type": "number"
  14705. },
  14706. "contractattachment": {
  14707. "description": "合同附件",
  14708. "type": "string"
  14709. },
  14710. "contractno": {
  14711. "description": "现货合同编号",
  14712. "type": "string"
  14713. },
  14714. "contractqty": {
  14715. "description": "合同数量(数值) (用于计算)",
  14716. "type": "number"
  14717. },
  14718. "contractqtychar": {
  14719. "description": "合同数量\\已订价数量 (用于显示)",
  14720. "type": "string"
  14721. },
  14722. "contractstatus": {
  14723. "description": "合同状态 - 0:未结束 1:已结束",
  14724. "type": "integer"
  14725. },
  14726. "contracttype": {
  14727. "description": "现货合同类型 - 1:采购合同 -1:销售合同",
  14728. "type": "integer"
  14729. },
  14730. "customeraccountid": {
  14731. "description": "客户资金账户ID",
  14732. "type": "integer"
  14733. },
  14734. "customeruserid": {
  14735. "description": "客户ID",
  14736. "type": "integer"
  14737. },
  14738. "deliverygoodsdesc": {
  14739. "description": "品种说明",
  14740. "type": "string"
  14741. },
  14742. "deliverygoodsid": {
  14743. "description": "现货品种ID",
  14744. "type": "integer"
  14745. },
  14746. "handlestatus": {
  14747. "description": "处理状态",
  14748. "type": "integer"
  14749. },
  14750. "invoiceatt": {
  14751. "description": "发票附件",
  14752. "type": "string"
  14753. },
  14754. "invoicedatetime": {
  14755. "description": "开收票更新时间",
  14756. "type": "string"
  14757. },
  14758. "invoiceopentime": {
  14759. "description": "开票时间",
  14760. "type": "string"
  14761. },
  14762. "invoiceremark": {
  14763. "description": "发票备注",
  14764. "type": "string"
  14765. },
  14766. "invoicestatus": {
  14767. "description": "开收票状态 - 0:未开票 1:已开票",
  14768. "type": "integer"
  14769. },
  14770. "lastdate": {
  14771. "description": "交货时间",
  14772. "type": "string"
  14773. },
  14774. "marketid": {
  14775. "description": "市场ID",
  14776. "type": "integer"
  14777. },
  14778. "paydatetime": {
  14779. "description": "收付款更新时间",
  14780. "type": "string"
  14781. },
  14782. "payremark": {
  14783. "description": "收付款备注",
  14784. "type": "string"
  14785. },
  14786. "paystatus": {
  14787. "description": "收付款状态 - 0:未支付 1:已收款 2:已付款",
  14788. "type": "integer"
  14789. },
  14790. "positionqty": {
  14791. "description": "头寸数量 - 合同数量去小数部分",
  14792. "type": "integer"
  14793. },
  14794. "producttype": {
  14795. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  14796. "type": "integer"
  14797. },
  14798. "relatedqty": {
  14799. "description": "已关联数量",
  14800. "type": "number"
  14801. },
  14802. "relatedstatus": {
  14803. "description": "关联完结状态 - 0:未结束 1:已结束",
  14804. "type": "integer"
  14805. },
  14806. "remark": {
  14807. "description": "备注",
  14808. "type": "string"
  14809. },
  14810. "signdate": {
  14811. "description": "签订日期",
  14812. "type": "string"
  14813. },
  14814. "spotcontractid": {
  14815. "description": "现货合同ID(701+Unix秒时间戳(10位)+xxxxxx)",
  14816. "type": "string"
  14817. },
  14818. "spotdatetime": {
  14819. "description": "收发货更新时间",
  14820. "type": "string"
  14821. },
  14822. "spotprice": {
  14823. "description": "价格",
  14824. "type": "number"
  14825. },
  14826. "spotremark": {
  14827. "description": "收发货备注",
  14828. "type": "string"
  14829. },
  14830. "spotstatus": {
  14831. "description": "收发货状态 - 0:未交收 1:已发货 2:已发货",
  14832. "type": "integer"
  14833. },
  14834. "tradedate": {
  14835. "description": "交易日(yyyyMMdd)",
  14836. "type": "string"
  14837. },
  14838. "userid": {
  14839. "description": "业务员用户ID",
  14840. "type": "integer"
  14841. },
  14842. "warehouseid": {
  14843. "description": "仓库ID",
  14844. "type": "integer"
  14845. },
  14846. "wrfactortypeid": {
  14847. "description": "仓单要素类型ID",
  14848. "type": "integer"
  14849. },
  14850. "wrstandardid": {
  14851. "description": "仓单标准ID(SEQ_WRSTANDARD)",
  14852. "type": "integer"
  14853. }
  14854. }
  14855. },
  14856. "erms3.AddErms2ASApplyReq": {
  14857. "type": "object",
  14858. "required": [
  14859. "asapplyid"
  14860. ],
  14861. "properties": {
  14862. "applybasis": {
  14863. "description": "申请基差",
  14864. "type": "number"
  14865. },
  14866. "applystatus": {
  14867. "description": "申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  14868. "type": "integer"
  14869. },
  14870. "asapplyid": {
  14871. "description": "策略申请ID(342+Unix秒时间戳(10位)+xxxxxx)",
  14872. "type": "integer"
  14873. },
  14874. "asname": {
  14875. "description": "策略名称",
  14876. "type": "string"
  14877. },
  14878. "asno": {
  14879. "description": "策略编号",
  14880. "type": "string"
  14881. },
  14882. "auditid": {
  14883. "description": "审核人",
  14884. "type": "integer"
  14885. },
  14886. "auditremark": {
  14887. "description": "审核备注",
  14888. "type": "string"
  14889. },
  14890. "audittime": {
  14891. "description": "审核时间",
  14892. "type": "string"
  14893. },
  14894. "biztype": {
  14895. "description": "业务类型 - 1:正向套利 2:反向套利",
  14896. "type": "integer"
  14897. },
  14898. "createtime": {
  14899. "description": "创建时间",
  14900. "type": "string"
  14901. },
  14902. "creatorid": {
  14903. "description": "创建人",
  14904. "type": "integer"
  14905. },
  14906. "deliverygoodsid": {
  14907. "description": "现货品种ID",
  14908. "type": "integer"
  14909. },
  14910. "futurequote": {
  14911. "description": "期货额度",
  14912. "type": "number"
  14913. },
  14914. "goodsgroupid": {
  14915. "description": "期货品种ID",
  14916. "type": "integer"
  14917. },
  14918. "marketid": {
  14919. "description": "市场ID",
  14920. "type": "integer"
  14921. },
  14922. "remark": {
  14923. "description": "备注",
  14924. "type": "string"
  14925. },
  14926. "spotquota": {
  14927. "description": "现货额度",
  14928. "type": "number"
  14929. },
  14930. "tradedate": {
  14931. "description": "交易日(yyyyMMdd)",
  14932. "type": "string"
  14933. },
  14934. "userid": {
  14935. "description": "所属机构",
  14936. "type": "integer"
  14937. }
  14938. }
  14939. },
  14940. "erms3.AddErms2SpotTradeApplyReq": {
  14941. "type": "object",
  14942. "required": [
  14943. "spottradeid"
  14944. ],
  14945. "properties": {
  14946. "applyjsondetail": {
  14947. "description": "申请明细(JSON)",
  14948. "type": "string"
  14949. },
  14950. "applystatus": {
  14951. "description": "申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  14952. "type": "integer"
  14953. },
  14954. "areauserid": {
  14955. "description": "所属机构",
  14956. "type": "integer"
  14957. },
  14958. "auditid": {
  14959. "description": "审核人",
  14960. "type": "integer"
  14961. },
  14962. "auditremark": {
  14963. "description": "审核备注",
  14964. "type": "string"
  14965. },
  14966. "audittime": {
  14967. "description": "审核时间",
  14968. "type": "string"
  14969. },
  14970. "createtime": {
  14971. "description": "创建时间",
  14972. "type": "string"
  14973. },
  14974. "creatorid": {
  14975. "description": "创建人",
  14976. "type": "integer"
  14977. },
  14978. "deliverygoodsid": {
  14979. "description": "现货品种ID",
  14980. "type": "integer"
  14981. },
  14982. "futureaccountid": {
  14983. "description": "期货资金账户",
  14984. "type": "integer"
  14985. },
  14986. "goodsgroupid": {
  14987. "description": "期货品种",
  14988. "type": "integer"
  14989. },
  14990. "marketid": {
  14991. "description": "市场ID",
  14992. "type": "integer"
  14993. },
  14994. "remark": {
  14995. "description": "备注",
  14996. "type": "string"
  14997. },
  14998. "spotaccountid": {
  14999. "description": "现货资金账户",
  15000. "type": "integer"
  15001. },
  15002. "spottradeid": {
  15003. "description": "业务ID(341+Unix秒时间戳(10位)+xxxxxx)",
  15004. "type": "integer"
  15005. },
  15006. "spottradename": {
  15007. "description": "业务名称",
  15008. "type": "string"
  15009. },
  15010. "spottradeno": {
  15011. "description": "业务编号",
  15012. "type": "string"
  15013. },
  15014. "tradedate": {
  15015. "description": "交易日(yyyyMMdd)",
  15016. "type": "string"
  15017. },
  15018. "wrstandardid": {
  15019. "description": "仓单标准ID",
  15020. "type": "integer"
  15021. }
  15022. }
  15023. },
  15024. "erms3.AddSpotContractApplyReq": {
  15025. "type": "object",
  15026. "required": [
  15027. "accountid",
  15028. "areauserid",
  15029. "contractno",
  15030. "contracttype",
  15031. "customeraccountid",
  15032. "customeruserid",
  15033. "details",
  15034. "orimargin",
  15035. "signdate"
  15036. ],
  15037. "properties": {
  15038. "accountid": {
  15039. "description": "资金账户ID",
  15040. "type": "integer"
  15041. },
  15042. "areauserid": {
  15043. "description": "所属机构",
  15044. "type": "integer"
  15045. },
  15046. "contractattachment": {
  15047. "description": "合同附件",
  15048. "type": "string"
  15049. },
  15050. "contractno": {
  15051. "description": "现货合同编号",
  15052. "type": "string"
  15053. },
  15054. "contracttype": {
  15055. "description": "现货合同类型 - 1:采购 -1:销售",
  15056. "type": "integer"
  15057. },
  15058. "creatorid": {
  15059. "description": "申请人",
  15060. "type": "integer"
  15061. },
  15062. "customeraccountid": {
  15063. "description": "客户资金账户ID",
  15064. "type": "integer"
  15065. },
  15066. "customeruserid": {
  15067. "description": "客户ID",
  15068. "type": "integer"
  15069. },
  15070. "details": {
  15071. "description": "明细",
  15072. "type": "array",
  15073. "items": {
  15074. "$ref": "#/definitions/erms3.SoptContractDetail"
  15075. }
  15076. },
  15077. "orimargin": {
  15078. "description": "初始保证金",
  15079. "type": "number"
  15080. },
  15081. "remark": {
  15082. "description": "备注",
  15083. "type": "string"
  15084. },
  15085. "signdate": {
  15086. "description": "签订日期",
  15087. "type": "string"
  15088. }
  15089. }
  15090. },
  15091. "erms3.AddSpotContractApplyRsp": {
  15092. "type": "object",
  15093. "required": [
  15094. "contractno"
  15095. ],
  15096. "properties": {
  15097. "contractno": {
  15098. "description": "现货合同编号",
  15099. "type": "string"
  15100. },
  15101. "spotcontractid": {
  15102. "description": "现货合同ID(345+Unix秒时间戳(10位)+xxxxxx)",
  15103. "type": "integer"
  15104. }
  15105. }
  15106. },
  15107. "erms3.AddUserInfoApplyReq": {
  15108. "type": "object",
  15109. "required": [
  15110. "userid"
  15111. ],
  15112. "properties": {
  15113. "accountid": {
  15114. "description": "交易系统帐号Id (加密存储)",
  15115. "type": "integer"
  15116. },
  15117. "areacode": {
  15118. "description": "机构代码",
  15119. "type": "string"
  15120. },
  15121. "areaid": {
  15122. "description": "机构Id",
  15123. "type": "integer"
  15124. },
  15125. "attachment1": {
  15126. "description": "附件1",
  15127. "type": "string"
  15128. },
  15129. "attachment2": {
  15130. "description": "附件2",
  15131. "type": "string"
  15132. },
  15133. "attachment3": {
  15134. "description": "附件3",
  15135. "type": "string"
  15136. },
  15137. "attachment4": {
  15138. "description": "附件4",
  15139. "type": "string"
  15140. },
  15141. "attachment5": {
  15142. "description": "附件5",
  15143. "type": "string"
  15144. },
  15145. "auditedby": {
  15146. "description": "审核人",
  15147. "type": "string"
  15148. },
  15149. "auditime": {
  15150. "description": "审核时间",
  15151. "type": "string"
  15152. },
  15153. "auditsrc": {
  15154. "description": "审核来源 - 1:管理端 2:终端",
  15155. "type": "integer"
  15156. },
  15157. "bankaccount": {
  15158. "description": "银行帐号 (加密存储)",
  15159. "type": "string"
  15160. },
  15161. "bankaccountname": {
  15162. "description": "收款人名称",
  15163. "type": "string"
  15164. },
  15165. "bankcardbackphotourl": {
  15166. "description": "银行卡背面照地址",
  15167. "type": "string"
  15168. },
  15169. "bankcardfrontphotourl": {
  15170. "description": "银行卡正面照地址",
  15171. "type": "string"
  15172. },
  15173. "bankid": {
  15174. "description": "银行编码",
  15175. "type": "string"
  15176. },
  15177. "bankname": {
  15178. "description": "银行名称",
  15179. "type": "string"
  15180. },
  15181. "bankpictureurl": {
  15182. "description": "银行卡正面地址",
  15183. "type": "string"
  15184. },
  15185. "biznature": {
  15186. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  15187. "type": "integer"
  15188. },
  15189. "bizscope": {
  15190. "description": "企业经营范围(企业)",
  15191. "type": "string"
  15192. },
  15193. "biztype": {
  15194. "description": "企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储",
  15195. "type": "integer"
  15196. },
  15197. "brokerid": {
  15198. "description": "经纪人ID(加密存储)",
  15199. "type": "string"
  15200. },
  15201. "cardaddress": {
  15202. "description": "证件地址 (加密存储)",
  15203. "type": "string"
  15204. },
  15205. "cardbackphotourl": {
  15206. "description": "背面证件照地址",
  15207. "type": "string"
  15208. },
  15209. "cardfrontphotourl": {
  15210. "description": "正面证件照地址",
  15211. "type": "string"
  15212. },
  15213. "cardnum": {
  15214. "description": "证件号码 (加密存储)",
  15215. "type": "string"
  15216. },
  15217. "cardtype": {
  15218. "description": "证件类型",
  15219. "type": "integer"
  15220. },
  15221. "cityid": {
  15222. "description": "市",
  15223. "type": "integer"
  15224. },
  15225. "company": {
  15226. "description": "公司(个人)",
  15227. "type": "string"
  15228. },
  15229. "contactcardbackphotourl": {
  15230. "description": "联系人证件背面图片地址",
  15231. "type": "string"
  15232. },
  15233. "contactcardfrontphotourl": {
  15234. "description": "联系人证件正面图片地址",
  15235. "type": "string"
  15236. },
  15237. "contactname": {
  15238. "description": "联系人",
  15239. "type": "string"
  15240. },
  15241. "countryid": {
  15242. "description": "国家",
  15243. "type": "integer"
  15244. },
  15245. "createtime": {
  15246. "description": "开户申请时间",
  15247. "type": "string"
  15248. },
  15249. "cusbankid": {
  15250. "description": "签约类型",
  15251. "type": "string"
  15252. },
  15253. "cusbankname": {
  15254. "description": "签约类型名称",
  15255. "type": "string"
  15256. },
  15257. "customername": {
  15258. "description": "客户名称(企业名称)",
  15259. "type": "string"
  15260. },
  15261. "districtid": {
  15262. "description": "地区",
  15263. "type": "integer"
  15264. },
  15265. "email": {
  15266. "description": "Email地址(加密存储)",
  15267. "type": "string"
  15268. },
  15269. "halfbodyphotourl": {
  15270. "description": "半身照地址",
  15271. "type": "string"
  15272. },
  15273. "headurl": {
  15274. "description": "头像地址",
  15275. "type": "string"
  15276. },
  15277. "ipaddress": {
  15278. "description": "IP地址",
  15279. "type": "string"
  15280. },
  15281. "isvalidate": {
  15282. "description": "是否有效 (删除后标记为失效) - 0:无效 1:有效",
  15283. "type": "string"
  15284. },
  15285. "legalcardbackphotourl": {
  15286. "description": "法人身份证背面照地址",
  15287. "type": "string"
  15288. },
  15289. "legalcardfrontphotourl": {
  15290. "description": "法人身份证正面照地址",
  15291. "type": "string"
  15292. },
  15293. "legalpersonname": {
  15294. "description": "法人姓名(企业)",
  15295. "type": "string"
  15296. },
  15297. "logincode": {
  15298. "description": "登录帐号 (加密存储)",
  15299. "type": "string"
  15300. },
  15301. "memberareaid": {
  15302. "description": "所属会员ID",
  15303. "type": "integer"
  15304. },
  15305. "mobile2": {
  15306. "description": "手机号码[明文-尚志]",
  15307. "type": "string"
  15308. },
  15309. "mobilephone": {
  15310. "description": "手机号码 (加密存储)",
  15311. "type": "string"
  15312. },
  15313. "modifiedby": {
  15314. "description": "修改人帐号",
  15315. "type": "integer"
  15316. },
  15317. "modifiedtime": {
  15318. "description": "修改时间",
  15319. "type": "string"
  15320. },
  15321. "nickname": {
  15322. "description": "昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)",
  15323. "type": "string"
  15324. },
  15325. "openmode": {
  15326. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)",
  15327. "type": "integer"
  15328. },
  15329. "otherurl": {
  15330. "description": "其它图片地址[使用分号分隔]",
  15331. "type": "string"
  15332. },
  15333. "postalcode": {
  15334. "description": "邮政编码",
  15335. "type": "string"
  15336. },
  15337. "provinceid": {
  15338. "description": "省",
  15339. "type": "integer"
  15340. },
  15341. "proxystatementurl": {
  15342. "description": "授权委托书",
  15343. "type": "string"
  15344. },
  15345. "qq": {
  15346. "description": "QQ(加密存储",
  15347. "type": "string"
  15348. },
  15349. "referral": {
  15350. "description": "推荐人编码",
  15351. "type": "string"
  15352. },
  15353. "remark": {
  15354. "description": "备注",
  15355. "type": "string"
  15356. },
  15357. "removebeforestatus": {
  15358. "description": "REMOVEBEFORESTATUS",
  15359. "type": "integer"
  15360. },
  15361. "sex": {
  15362. "description": "性别 - 0:女 1:男",
  15363. "type": "integer"
  15364. },
  15365. "signedstatus": {
  15366. "description": "账户一号签签约状态",
  15367. "type": "integer"
  15368. },
  15369. "signpdfurl": {
  15370. "description": "签约pdf文件",
  15371. "type": "string"
  15372. },
  15373. "subbranch": {
  15374. "description": "开户支行",
  15375. "type": "string"
  15376. },
  15377. "taxpayernum": {
  15378. "description": "纳税人识别号",
  15379. "type": "string"
  15380. },
  15381. "telphone": {
  15382. "description": "联系电话(加密存储)",
  15383. "type": "string"
  15384. },
  15385. "userid": {
  15386. "description": "用户ID(自增ID)SEQ_WSKH_USERINFO",
  15387. "type": "integer"
  15388. },
  15389. "userinfotype": {
  15390. "description": "用户信息类型 - 1:个人 2:企业",
  15391. "type": "integer"
  15392. },
  15393. "username": {
  15394. "description": "用户姓名",
  15395. "type": "string"
  15396. },
  15397. "userstate": {
  15398. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  15399. "type": "integer"
  15400. },
  15401. "usertype": {
  15402. "description": "用户类型 - 1:投资者 2:机构",
  15403. "type": "integer"
  15404. },
  15405. "videourl": {
  15406. "description": "视频地址",
  15407. "type": "string"
  15408. },
  15409. "wechat": {
  15410. "description": "微信号 (加密存储)",
  15411. "type": "string"
  15412. }
  15413. }
  15414. },
  15415. "erms3.CustomerInfo": {
  15416. "type": "object",
  15417. "required": [
  15418. "userid"
  15419. ],
  15420. "properties": {
  15421. "accountids": {
  15422. "description": "资金账户ID列表",
  15423. "type": "array",
  15424. "items": {
  15425. "type": "integer"
  15426. }
  15427. },
  15428. "customername": {
  15429. "description": "名称(企业名称)",
  15430. "type": "string"
  15431. },
  15432. "mobile": {
  15433. "description": "手机号码",
  15434. "type": "string"
  15435. },
  15436. "userid": {
  15437. "description": "用户ID",
  15438. "type": "integer"
  15439. }
  15440. }
  15441. },
  15442. "erms3.ModifyUserInfoApplyReq": {
  15443. "type": "object",
  15444. "required": [
  15445. "userid"
  15446. ],
  15447. "properties": {
  15448. "accountid": {
  15449. "description": "交易系统帐号Id (加密存储)",
  15450. "type": "integer"
  15451. },
  15452. "areacode": {
  15453. "description": "机构代码",
  15454. "type": "string"
  15455. },
  15456. "areaid": {
  15457. "description": "机构Id",
  15458. "type": "integer"
  15459. },
  15460. "attachment1": {
  15461. "description": "附件1",
  15462. "type": "string"
  15463. },
  15464. "attachment2": {
  15465. "description": "附件2",
  15466. "type": "string"
  15467. },
  15468. "attachment3": {
  15469. "description": "附件3",
  15470. "type": "string"
  15471. },
  15472. "attachment4": {
  15473. "description": "附件4",
  15474. "type": "string"
  15475. },
  15476. "attachment5": {
  15477. "description": "附件5",
  15478. "type": "string"
  15479. },
  15480. "auditedby": {
  15481. "description": "审核人",
  15482. "type": "string"
  15483. },
  15484. "auditime": {
  15485. "description": "审核时间",
  15486. "type": "string"
  15487. },
  15488. "auditsrc": {
  15489. "description": "审核来源 - 1:管理端 2:终端",
  15490. "type": "integer"
  15491. },
  15492. "bankaccount": {
  15493. "description": "银行帐号 (加密存储)",
  15494. "type": "string"
  15495. },
  15496. "bankaccountname": {
  15497. "description": "收款人名称",
  15498. "type": "string"
  15499. },
  15500. "bankcardbackphotourl": {
  15501. "description": "银行卡背面照地址",
  15502. "type": "string"
  15503. },
  15504. "bankcardfrontphotourl": {
  15505. "description": "银行卡正面照地址",
  15506. "type": "string"
  15507. },
  15508. "bankid": {
  15509. "description": "银行编码",
  15510. "type": "string"
  15511. },
  15512. "bankname": {
  15513. "description": "银行名称",
  15514. "type": "string"
  15515. },
  15516. "bankpictureurl": {
  15517. "description": "银行卡正面地址",
  15518. "type": "string"
  15519. },
  15520. "biznature": {
  15521. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  15522. "type": "integer"
  15523. },
  15524. "bizscope": {
  15525. "description": "企业经营范围(企业)",
  15526. "type": "string"
  15527. },
  15528. "biztype": {
  15529. "description": "企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储",
  15530. "type": "integer"
  15531. },
  15532. "brokerid": {
  15533. "description": "经纪人ID(加密存储)",
  15534. "type": "string"
  15535. },
  15536. "cardaddress": {
  15537. "description": "证件地址 (加密存储)",
  15538. "type": "string"
  15539. },
  15540. "cardbackphotourl": {
  15541. "description": "背面证件照地址",
  15542. "type": "string"
  15543. },
  15544. "cardfrontphotourl": {
  15545. "description": "正面证件照地址",
  15546. "type": "string"
  15547. },
  15548. "cardnum": {
  15549. "description": "证件号码 (加密存储)",
  15550. "type": "string"
  15551. },
  15552. "cardtype": {
  15553. "description": "证件类型",
  15554. "type": "integer"
  15555. },
  15556. "cityid": {
  15557. "description": "市",
  15558. "type": "integer"
  15559. },
  15560. "company": {
  15561. "description": "公司(个人)",
  15562. "type": "string"
  15563. },
  15564. "contactcardbackphotourl": {
  15565. "description": "联系人证件背面图片地址",
  15566. "type": "string"
  15567. },
  15568. "contactcardfrontphotourl": {
  15569. "description": "联系人证件正面图片地址",
  15570. "type": "string"
  15571. },
  15572. "contactname": {
  15573. "description": "联系人",
  15574. "type": "string"
  15575. },
  15576. "countryid": {
  15577. "description": "国家",
  15578. "type": "integer"
  15579. },
  15580. "createtime": {
  15581. "description": "开户申请时间",
  15582. "type": "string"
  15583. },
  15584. "cusbankid": {
  15585. "description": "签约类型",
  15586. "type": "string"
  15587. },
  15588. "cusbankname": {
  15589. "description": "签约类型名称",
  15590. "type": "string"
  15591. },
  15592. "customername": {
  15593. "description": "客户名称(企业名称)",
  15594. "type": "string"
  15595. },
  15596. "districtid": {
  15597. "description": "地区",
  15598. "type": "integer"
  15599. },
  15600. "email": {
  15601. "description": "Email地址(加密存储)",
  15602. "type": "string"
  15603. },
  15604. "halfbodyphotourl": {
  15605. "description": "半身照地址",
  15606. "type": "string"
  15607. },
  15608. "headurl": {
  15609. "description": "头像地址",
  15610. "type": "string"
  15611. },
  15612. "ipaddress": {
  15613. "description": "IP地址",
  15614. "type": "string"
  15615. },
  15616. "isvalidate": {
  15617. "description": "是否有效 (删除后标记为失效) - 0:无效 1:有效",
  15618. "type": "string"
  15619. },
  15620. "legalcardbackphotourl": {
  15621. "description": "法人身份证背面照地址",
  15622. "type": "string"
  15623. },
  15624. "legalcardfrontphotourl": {
  15625. "description": "法人身份证正面照地址",
  15626. "type": "string"
  15627. },
  15628. "legalpersonname": {
  15629. "description": "法人姓名(企业)",
  15630. "type": "string"
  15631. },
  15632. "logincode": {
  15633. "description": "登录帐号 (加密存储)",
  15634. "type": "string"
  15635. },
  15636. "memberareaid": {
  15637. "description": "所属会员ID",
  15638. "type": "integer"
  15639. },
  15640. "mobile2": {
  15641. "description": "手机号码[明文-尚志]",
  15642. "type": "string"
  15643. },
  15644. "mobilephone": {
  15645. "description": "手机号码 (加密存储)",
  15646. "type": "string"
  15647. },
  15648. "modifiedby": {
  15649. "description": "修改人帐号",
  15650. "type": "integer"
  15651. },
  15652. "modifiedtime": {
  15653. "description": "修改时间",
  15654. "type": "string"
  15655. },
  15656. "nickname": {
  15657. "description": "昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)",
  15658. "type": "string"
  15659. },
  15660. "openmode": {
  15661. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)",
  15662. "type": "integer"
  15663. },
  15664. "otherurl": {
  15665. "description": "其它图片地址[使用分号分隔]",
  15666. "type": "string"
  15667. },
  15668. "postalcode": {
  15669. "description": "邮政编码",
  15670. "type": "string"
  15671. },
  15672. "provinceid": {
  15673. "description": "省",
  15674. "type": "integer"
  15675. },
  15676. "proxystatementurl": {
  15677. "description": "授权委托书",
  15678. "type": "string"
  15679. },
  15680. "qq": {
  15681. "description": "QQ(加密存储",
  15682. "type": "string"
  15683. },
  15684. "referral": {
  15685. "description": "推荐人编码",
  15686. "type": "string"
  15687. },
  15688. "remark": {
  15689. "description": "备注",
  15690. "type": "string"
  15691. },
  15692. "removebeforestatus": {
  15693. "description": "REMOVEBEFORESTATUS",
  15694. "type": "integer"
  15695. },
  15696. "sex": {
  15697. "description": "性别 - 0:女 1:男",
  15698. "type": "integer"
  15699. },
  15700. "signedstatus": {
  15701. "description": "账户一号签签约状态",
  15702. "type": "integer"
  15703. },
  15704. "signpdfurl": {
  15705. "description": "签约pdf文件",
  15706. "type": "string"
  15707. },
  15708. "subbranch": {
  15709. "description": "开户支行",
  15710. "type": "string"
  15711. },
  15712. "taxpayernum": {
  15713. "description": "纳税人识别号",
  15714. "type": "string"
  15715. },
  15716. "telphone": {
  15717. "description": "联系电话(加密存储)",
  15718. "type": "string"
  15719. },
  15720. "userid": {
  15721. "description": "用户ID(自增ID)SEQ_WSKH_USERINFO",
  15722. "type": "integer"
  15723. },
  15724. "userinfotype": {
  15725. "description": "用户信息类型 - 1:个人 2:企业",
  15726. "type": "integer"
  15727. },
  15728. "username": {
  15729. "description": "用户姓名",
  15730. "type": "string"
  15731. },
  15732. "userstate": {
  15733. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  15734. "type": "integer"
  15735. },
  15736. "usertype": {
  15737. "description": "用户类型 - 1:投资者 2:机构",
  15738. "type": "integer"
  15739. },
  15740. "videourl": {
  15741. "description": "视频地址",
  15742. "type": "string"
  15743. },
  15744. "wechat": {
  15745. "description": "微信号 (加密存储)",
  15746. "type": "string"
  15747. }
  15748. }
  15749. },
  15750. "erms3.QryAuditContractRsp": {
  15751. "type": "object",
  15752. "required": [
  15753. "matchcustomername",
  15754. "spotcontractid"
  15755. ],
  15756. "properties": {
  15757. "accountid": {
  15758. "description": "交易员ID",
  15759. "type": "string"
  15760. },
  15761. "applystatus": {
  15762. "description": "申请状态 - 0:未审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  15763. "type": "integer"
  15764. },
  15765. "curdeliveryqty": {
  15766. "description": "未交收量",
  15767. "type": "integer"
  15768. },
  15769. "customername": {
  15770. "description": "采购方ID",
  15771. "type": "string"
  15772. },
  15773. "deliverygoodsid": {
  15774. "description": "品种ID",
  15775. "type": "string"
  15776. },
  15777. "deliveryqty": {
  15778. "description": "交收量",
  15779. "type": "integer"
  15780. },
  15781. "enumdicname": {
  15782. "description": "单位名称",
  15783. "type": "string"
  15784. },
  15785. "matchaccountid": {
  15786. "description": "业务员ID",
  15787. "type": "string"
  15788. },
  15789. "matchcustomername": {
  15790. "description": "销售方ID",
  15791. "type": "string"
  15792. },
  15793. "pricedqty": {
  15794. "description": "定价量",
  15795. "type": "number"
  15796. },
  15797. "signdate": {
  15798. "description": "签订日期",
  15799. "type": "string"
  15800. },
  15801. "spotcontractid": {
  15802. "description": "合同ID",
  15803. "type": "string"
  15804. },
  15805. "totaldqty": {
  15806. "description": "合同量",
  15807. "type": "number"
  15808. },
  15809. "unpricedqty": {
  15810. "description": "未定价量",
  15811. "type": "number"
  15812. },
  15813. "wrstandardname": {
  15814. "description": "商品名称",
  15815. "type": "string"
  15816. }
  15817. }
  15818. },
  15819. "erms3.QryPendingBizRsp": {
  15820. "$ref": "#/definitions/models.PendingAuditBizModel"
  15821. },
  15822. "erms3.QueryBusinessInfoRsp": {
  15823. "type": "object",
  15824. "properties": {
  15825. "businessid": {
  15826. "description": "业务ID.",
  15827. "type": "integer"
  15828. },
  15829. "buyamount": {
  15830. "description": "采购额.",
  15831. "type": "number"
  15832. },
  15833. "buyqty": {
  15834. "description": "采购量.",
  15835. "type": "string"
  15836. },
  15837. "futurepl": {
  15838. "description": "期货盈亏.",
  15839. "type": "number"
  15840. },
  15841. "futureqty": {
  15842. "description": "期货敞口.",
  15843. "type": "string"
  15844. },
  15845. "goodsid": {
  15846. "description": "商品名称/商品代码.",
  15847. "type": "string"
  15848. },
  15849. "hedgingqty": {
  15850. "description": "套保量.",
  15851. "type": "string"
  15852. },
  15853. "sellamount": {
  15854. "description": "销售额.",
  15855. "type": "number"
  15856. },
  15857. "sellqty": {
  15858. "description": "销售量.",
  15859. "type": "string"
  15860. },
  15861. "spotmarketvalue": {
  15862. "description": "现货市值.",
  15863. "type": "number"
  15864. },
  15865. "spotpl": {
  15866. "description": "浮动权益.",
  15867. "type": "number"
  15868. },
  15869. "spotqty": {
  15870. "description": "现货量.",
  15871. "type": "string"
  15872. },
  15873. "statu": {
  15874. "description": "状态,0-未结束 1-已结束.",
  15875. "type": "integer"
  15876. },
  15877. "totalpl": {
  15878. "description": "总盈亏.",
  15879. "type": "number"
  15880. },
  15881. "totalqty": {
  15882. "description": "总敞口.",
  15883. "type": "string"
  15884. },
  15885. "type": {
  15886. "description": "业务类型,1-期现套利,2-仓单回购,3-现货贸易.",
  15887. "type": "integer"
  15888. }
  15889. }
  15890. },
  15891. "erms3.QuerySpotContractAppleFormRsp": {
  15892. "type": "object",
  15893. "properties": {
  15894. "goodses": {
  15895. "description": "合约列表",
  15896. "type": "array",
  15897. "items": {
  15898. "$ref": "#/definitions/models.GoodsIDAndName"
  15899. }
  15900. },
  15901. "oppositeusers": {
  15902. "description": "对方账号列表",
  15903. "type": "array",
  15904. "items": {
  15905. "$ref": "#/definitions/erms3.CustomerInfo"
  15906. }
  15907. },
  15908. "ouruser": {
  15909. "description": "我方账号",
  15910. "type": "object",
  15911. "$ref": "#/definitions/erms3.CustomerInfo"
  15912. },
  15913. "warehouseinfos": {
  15914. "description": "仓库信息列表",
  15915. "type": "array",
  15916. "items": {
  15917. "$ref": "#/definitions/models.Warehouseinfo"
  15918. }
  15919. },
  15920. "wrstandards": {
  15921. "description": "仓单标准列表",
  15922. "type": "array",
  15923. "items": {
  15924. "$ref": "#/definitions/models.WRStandardInfo"
  15925. }
  15926. }
  15927. }
  15928. },
  15929. "erms3.QuerySpotContractInfoRsp": {
  15930. "type": "object",
  15931. "properties": {
  15932. "accountid": {
  15933. "description": "表示交易员ID.",
  15934. "type": "integer"
  15935. },
  15936. "curdeliveryqty": {
  15937. "description": "表示未交收量.",
  15938. "type": "number"
  15939. },
  15940. "customername": {
  15941. "description": "若合同类型为采购合同,表示采购方ID;若合同类型为销售合同,表示销售方ID.",
  15942. "type": "string"
  15943. },
  15944. "deliverygoodsid": {
  15945. "description": "表示品种ID.",
  15946. "type": "string"
  15947. },
  15948. "deliveryqty": {
  15949. "description": "表示交收量.",
  15950. "type": "number"
  15951. },
  15952. "matchaccountid": {
  15953. "description": "表示业务员ID.",
  15954. "type": "integer"
  15955. },
  15956. "matchcustomername": {
  15957. "description": "若合同类型为采购合同,表示销售方;若合同类型为销售合同,表示采购方ID.",
  15958. "type": "string"
  15959. },
  15960. "priceqty": {
  15961. "description": "表示定价量.",
  15962. "type": "number"
  15963. },
  15964. "relatedbizid": {
  15965. "description": "表示业务ID.",
  15966. "type": "string"
  15967. },
  15968. "signdate": {
  15969. "description": "表示签订日期.",
  15970. "type": "string"
  15971. },
  15972. "spotcontractid": {
  15973. "description": "合同ID",
  15974. "type": "string"
  15975. },
  15976. "status": {
  15977. "description": "表示状态,0-履约中 1-已完成.",
  15978. "type": "integer"
  15979. },
  15980. "totalqty": {
  15981. "description": "表示合同量.",
  15982. "type": "number"
  15983. },
  15984. "unpricedqty": {
  15985. "description": "表示未定价量.",
  15986. "type": "number"
  15987. },
  15988. "wrstandardname": {
  15989. "description": "表示商品ID.",
  15990. "type": "string"
  15991. }
  15992. }
  15993. },
  15994. "erms3.QueryUserInfoAppliesRsp": {
  15995. "type": "object",
  15996. "required": [
  15997. "userid"
  15998. ],
  15999. "properties": {
  16000. "biznature": {
  16001. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  16002. "type": "integer"
  16003. },
  16004. "contactname": {
  16005. "description": "联系人",
  16006. "type": "string"
  16007. },
  16008. "createtime": {
  16009. "description": "开户申请时间",
  16010. "type": "string"
  16011. },
  16012. "userid": {
  16013. "description": "用户ID(自增ID)",
  16014. "type": "integer"
  16015. },
  16016. "userinfotype": {
  16017. "description": "用户信息类型 - 1:个人 2:企业",
  16018. "type": "integer"
  16019. },
  16020. "username": {
  16021. "description": "用户姓名",
  16022. "type": "string"
  16023. },
  16024. "userstate": {
  16025. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  16026. "type": "integer"
  16027. }
  16028. }
  16029. },
  16030. "erms3.QueryUserInfosRsp": {
  16031. "type": "object",
  16032. "required": [
  16033. "userid"
  16034. ],
  16035. "properties": {
  16036. "biznature": {
  16037. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  16038. "type": "integer"
  16039. },
  16040. "contactname": {
  16041. "description": "联系人",
  16042. "type": "string"
  16043. },
  16044. "customername": {
  16045. "description": "客户名称(企业名称)",
  16046. "type": "string"
  16047. },
  16048. "userid": {
  16049. "description": "用户ID",
  16050. "type": "integer"
  16051. },
  16052. "userinfotype": {
  16053. "description": "用户信息类型 - 1:个人 2:企业",
  16054. "type": "integer"
  16055. },
  16056. "userstatus": {
  16057. "description": "用户状态 - 1:正常 2:注销",
  16058. "type": "integer"
  16059. }
  16060. }
  16061. },
  16062. "erms3.SoptContractDetail": {
  16063. "type": "object",
  16064. "required": [
  16065. "deliverygoodsid",
  16066. "producttype",
  16067. "unitname",
  16068. "warehouseid",
  16069. "wrstandardid",
  16070. "wrstandardname"
  16071. ],
  16072. "properties": {
  16073. "deliverygoodsdesc": {
  16074. "description": "现货品种说明",
  16075. "type": "string"
  16076. },
  16077. "deliverygoodsid": {
  16078. "description": "现货品种ID",
  16079. "type": "integer"
  16080. },
  16081. "deliverygoodsname": {
  16082. "description": "现货品种名称",
  16083. "type": "string"
  16084. },
  16085. "pointdesc": {
  16086. "description": "点价描述",
  16087. "type": "string"
  16088. },
  16089. "producttype": {
  16090. "description": "产品类型 1:标准仓单 2:等标 3:非标",
  16091. "type": "integer"
  16092. },
  16093. "producttypename": {
  16094. "description": "产品类型名称",
  16095. "type": "string"
  16096. },
  16097. "spotPointOrderVoList": {
  16098. "description": "点价列表",
  16099. "type": "array",
  16100. "items": {
  16101. "$ref": "#/definitions/erms3.SpotPointOrder"
  16102. }
  16103. },
  16104. "spotPriceOrderList": {
  16105. "description": "定价列表",
  16106. "type": "array",
  16107. "items": {
  16108. "$ref": "#/definitions/erms3.SpotPriceOrder"
  16109. }
  16110. },
  16111. "unitname": {
  16112. "description": "单位名称",
  16113. "type": "string"
  16114. },
  16115. "warehouseid": {
  16116. "description": "仓库ID",
  16117. "type": "integer"
  16118. },
  16119. "warehousename": {
  16120. "description": "仓库名称",
  16121. "type": "string"
  16122. },
  16123. "wrstandardid": {
  16124. "description": "交易标的ID",
  16125. "type": "integer"
  16126. },
  16127. "wrstandardname": {
  16128. "description": "交易标的名称",
  16129. "type": "string"
  16130. }
  16131. }
  16132. },
  16133. "erms3.SpotPointOrder": {
  16134. "type": "object",
  16135. "required": [
  16136. "basic",
  16137. "goodsid",
  16138. "qty"
  16139. ],
  16140. "properties": {
  16141. "basic": {
  16142. "description": "基差",
  16143. "type": "number"
  16144. },
  16145. "deliveryenddate": {
  16146. "description": "交收结束日期",
  16147. "type": "string"
  16148. },
  16149. "deliverystartdate": {
  16150. "description": "交收开始日期",
  16151. "type": "string"
  16152. },
  16153. "enddate": {
  16154. "description": "点价结束日期",
  16155. "type": "string"
  16156. },
  16157. "goodsid": {
  16158. "description": "商品ID",
  16159. "type": "integer"
  16160. },
  16161. "goodsname": {
  16162. "description": "商品名称",
  16163. "type": "string"
  16164. },
  16165. "qty": {
  16166. "description": "数量",
  16167. "type": "number"
  16168. },
  16169. "startdate": {
  16170. "description": "点价开始日期",
  16171. "type": "string"
  16172. }
  16173. }
  16174. },
  16175. "erms3.SpotPriceOrder": {
  16176. "type": "object",
  16177. "required": [
  16178. "amount",
  16179. "price",
  16180. "qty"
  16181. ],
  16182. "properties": {
  16183. "amount": {
  16184. "description": "金额",
  16185. "type": "number"
  16186. },
  16187. "deliveryenddate": {
  16188. "description": "交收结束日期",
  16189. "type": "string"
  16190. },
  16191. "deliverystartdate": {
  16192. "description": "交收开始日期",
  16193. "type": "string"
  16194. },
  16195. "price": {
  16196. "description": "价格",
  16197. "type": "number"
  16198. },
  16199. "qty": {
  16200. "description": "数量",
  16201. "type": "number"
  16202. }
  16203. }
  16204. },
  16205. "hsby.GetHsbyMyCountRsp": {
  16206. "type": "object",
  16207. "properties": {
  16208. "myCouponCount": {
  16209. "description": "我的优惠卷数量",
  16210. "type": "integer"
  16211. },
  16212. "myOrderDetailListingCount": {
  16213. "description": "我的订单求购中数量",
  16214. "type": "integer"
  16215. },
  16216. "myOrderDetailPreCount": {
  16217. "description": "我的订单抢购中数量",
  16218. "type": "integer"
  16219. },
  16220. "myPackageUnReceiveCount": {
  16221. "description": "我的包裹待收货数量",
  16222. "type": "integer"
  16223. },
  16224. "myPackageUnSendCount": {
  16225. "description": "我的包裹待发货数量",
  16226. "type": "integer"
  16227. },
  16228. "myPayOrderCount": {
  16229. "description": "我的订单待付款数量",
  16230. "type": "integer"
  16231. }
  16232. }
  16233. },
  16234. "hsby.QueryProvincesAndCitiesRsp": {
  16235. "type": "object",
  16236. "properties": {
  16237. "cities": {
  16238. "description": "市",
  16239. "type": "array",
  16240. "items": {
  16241. "$ref": "#/definitions/models.Division"
  16242. }
  16243. },
  16244. "province": {
  16245. "description": "省",
  16246. "type": "object",
  16247. "$ref": "#/definitions/models.Division"
  16248. }
  16249. }
  16250. },
  16251. "models.AreaSpotModel": {
  16252. "type": "object",
  16253. "properties": {
  16254. "areauserid": {
  16255. "description": "所属机构",
  16256. "type": "integer"
  16257. },
  16258. "decreaseqty": {
  16259. "description": "减少数量=-(销售已定价数量+采购计划数量)",
  16260. "type": "number"
  16261. },
  16262. "increaseqty": {
  16263. "description": "增加数量=销售计划数量+采购已定价数量",
  16264. "type": "number"
  16265. },
  16266. "oritoalspotqty": {
  16267. "description": "昨日数量",
  16268. "type": "number"
  16269. },
  16270. "totalspotqty": {
  16271. "description": "当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)",
  16272. "type": "number"
  16273. },
  16274. "updatetime": {
  16275. "description": "更新时间",
  16276. "type": "string"
  16277. },
  16278. "wrstandardcode": {
  16279. "description": "现货品种代码",
  16280. "type": "string"
  16281. },
  16282. "wrstandardid": {
  16283. "description": "现货商品ID",
  16284. "type": "integer"
  16285. },
  16286. "wrstandardname": {
  16287. "description": "现货品种",
  16288. "type": "string"
  16289. }
  16290. }
  16291. },
  16292. "models.Arearole": {
  16293. "type": "object",
  16294. "required": [
  16295. "roletype",
  16296. "userid"
  16297. ],
  16298. "properties": {
  16299. "createtime": {
  16300. "description": "创建时间",
  16301. "type": "string"
  16302. },
  16303. "creatorid": {
  16304. "description": "创建人ID",
  16305. "type": "integer"
  16306. },
  16307. "fromuserid": {
  16308. "description": "所属机构(组织机构)( OrgType = 1时为自己, = 2\\3时取上级机构的所属机构)",
  16309. "type": "integer"
  16310. },
  16311. "isreturnscore": {
  16312. "description": "是否返还积分 [经纪会员-辽东湾] - 0:不返还 1:返还",
  16313. "type": "integer"
  16314. },
  16315. "modifierid": {
  16316. "description": "修改人ID",
  16317. "type": "integer"
  16318. },
  16319. "modifytime": {
  16320. "description": "修改时间",
  16321. "type": "string"
  16322. },
  16323. "orgtype": {
  16324. "description": "组织机构类型 1:机构\\分支节点 2:交易员\\叶子节点 3:部门\\分支节点",
  16325. "type": "integer"
  16326. },
  16327. "outuserid": {
  16328. "description": "外部账户[场外期权做市商]",
  16329. "type": "string"
  16330. },
  16331. "parentuserid": {
  16332. "description": "上级组织机构(组织机构)",
  16333. "type": "integer"
  16334. },
  16335. "roletype": {
  16336. "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:门店",
  16337. "type": "integer"
  16338. },
  16339. "rootuserid": {
  16340. "description": "顶级组织机构用户ID(组织机构)",
  16341. "type": "integer"
  16342. },
  16343. "shoppassword": {
  16344. "description": "商城店铺登陆密码(商城店铺角色使用)",
  16345. "type": "string"
  16346. },
  16347. "sublevelpath": {
  16348. "description": "组织机构层级路径(逗号分隔,首尾加逗号)",
  16349. "type": "string"
  16350. },
  16351. "suborgtype": {
  16352. "description": "子机构类型(千海金) - 0:机构 1:代理 2:门店",
  16353. "type": "integer"
  16354. },
  16355. "tradeaccountid": {
  16356. "description": "默认交易资金账号ID(做市会员被动接单使用、商城店铺默认资金账 号、圈内会员默认资金账号) - 作废, 使用UserReckonAccount",
  16357. "type": "integer"
  16358. },
  16359. "transurl": {
  16360. "description": "物流地址(物流机构)",
  16361. "type": "string"
  16362. },
  16363. "userid": {
  16364. "description": "机构用户ID其他做市关系,都设置为 1",
  16365. "type": "integer"
  16366. }
  16367. }
  16368. },
  16369. "models.Clientfixedadconfig": {
  16370. "type": "object",
  16371. "required": [
  16372. "adsort",
  16373. "adtype"
  16374. ],
  16375. "properties": {
  16376. "adsort": {
  16377. "description": "排序",
  16378. "type": "integer"
  16379. },
  16380. "adtype": {
  16381. "description": "广告位类型 - 1:新品抢购(HSBY)",
  16382. "type": "integer"
  16383. },
  16384. "areauserid": {
  16385. "description": "所属机构ID",
  16386. "type": "integer"
  16387. },
  16388. "createdate": {
  16389. "description": "创建时间",
  16390. "type": "string"
  16391. },
  16392. "creatorid": {
  16393. "description": "创建人",
  16394. "type": "integer"
  16395. },
  16396. "imagepath": {
  16397. "description": "图片",
  16398. "type": "string"
  16399. },
  16400. "isshow": {
  16401. "description": "是否展示 - 0:不展示 1:展示",
  16402. "type": "integer"
  16403. },
  16404. "modifierid": {
  16405. "description": "操作人",
  16406. "type": "integer"
  16407. },
  16408. "recsize": {
  16409. "description": "推荐尺寸",
  16410. "type": "string"
  16411. },
  16412. "title": {
  16413. "description": "标题",
  16414. "type": "string"
  16415. },
  16416. "updatedate": {
  16417. "description": "更新时间",
  16418. "type": "string"
  16419. },
  16420. "urlcontent": {
  16421. "description": "链接(地址或商品ID)",
  16422. "type": "string"
  16423. },
  16424. "urltype": {
  16425. "description": "链接类型 - 1:直接地址 2:商品ID",
  16426. "type": "integer"
  16427. }
  16428. }
  16429. },
  16430. "models.Division": {
  16431. "type": "object",
  16432. "required": [
  16433. "autoid",
  16434. "divisioncode"
  16435. ],
  16436. "properties": {
  16437. "autoid": {
  16438. "description": "自增ID",
  16439. "type": "integer"
  16440. },
  16441. "divisioncode": {
  16442. "description": "行政代码",
  16443. "type": "string"
  16444. },
  16445. "divisionlevel": {
  16446. "description": "行政级别",
  16447. "type": "string"
  16448. },
  16449. "divisionname": {
  16450. "description": "行政名称",
  16451. "type": "string"
  16452. },
  16453. "modifierid": {
  16454. "description": "修改人",
  16455. "type": "integer"
  16456. },
  16457. "modifytime": {
  16458. "description": "修改时间",
  16459. "type": "string"
  16460. },
  16461. "parentcode": {
  16462. "description": "上级行政代码",
  16463. "type": "string"
  16464. },
  16465. "pathname": {
  16466. "description": "路径名称",
  16467. "type": "string"
  16468. },
  16469. "postcode": {
  16470. "description": "邮政编码",
  16471. "type": "string"
  16472. },
  16473. "separablename": {
  16474. "description": "可拆分的全称",
  16475. "type": "string"
  16476. },
  16477. "shortcode": {
  16478. "description": "地区简码",
  16479. "type": "string"
  16480. }
  16481. }
  16482. },
  16483. "models.Enumdicitem": {
  16484. "type": "object",
  16485. "required": [
  16486. "autoid",
  16487. "enumdiccode",
  16488. "enumdicid",
  16489. "enumitemname"
  16490. ],
  16491. "properties": {
  16492. "autoid": {
  16493. "description": "自增ID",
  16494. "type": "integer"
  16495. },
  16496. "bankmappedvalue": {
  16497. "description": "银行服务对应值",
  16498. "type": "string"
  16499. },
  16500. "enumdiccode": {
  16501. "description": "所属枚举代码",
  16502. "type": "string"
  16503. },
  16504. "enumdicid": {
  16505. "description": "所属枚举ID",
  16506. "type": "integer"
  16507. },
  16508. "enumdicname": {
  16509. "description": "枚举项名称",
  16510. "type": "string"
  16511. },
  16512. "enumitemname": {
  16513. "description": "枚举项值",
  16514. "type": "integer"
  16515. },
  16516. "enumitemstatus": {
  16517. "description": "枚举项状态 - 1.启用 2.不启用",
  16518. "type": "integer"
  16519. },
  16520. "enumitemvalue": {
  16521. "description": "通用值 - [币种通用简写]",
  16522. "type": "string"
  16523. },
  16524. "param1": {
  16525. "description": "参数1[币种:币种小数位]",
  16526. "type": "string"
  16527. },
  16528. "param2": {
  16529. "description": "参数1[币种:币种显示单位]",
  16530. "type": "string"
  16531. },
  16532. "remark": {
  16533. "description": "备注",
  16534. "type": "string"
  16535. }
  16536. }
  16537. },
  16538. "models.Ermcp3AreaSpot": {
  16539. "type": "object",
  16540. "properties": {
  16541. "areauserid": {
  16542. "description": "所属机构",
  16543. "type": "integer"
  16544. },
  16545. "decreaseqty": {
  16546. "description": "减少数量=-(销售已定价数量+采购计划数量)",
  16547. "type": "number"
  16548. },
  16549. "deliverygoodscode": {
  16550. "description": "现货品种代码",
  16551. "type": "string"
  16552. },
  16553. "deliverygoodsid": {
  16554. "description": "现货品种id",
  16555. "type": "integer"
  16556. },
  16557. "deliverygoodsname": {
  16558. "description": "现货品种名称",
  16559. "type": "string"
  16560. },
  16561. "enumdicname": {
  16562. "description": "单位名称",
  16563. "type": "string"
  16564. },
  16565. "goodsunitid": {
  16566. "description": "现货品种单位id",
  16567. "type": "integer"
  16568. },
  16569. "increaseqty": {
  16570. "description": "增加数量=销售计划数量+采购已定价数量",
  16571. "type": "number"
  16572. },
  16573. "oritoalspotqty": {
  16574. "description": "昨日数量",
  16575. "type": "number"
  16576. },
  16577. "totalspotqty": {
  16578. "description": "当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)",
  16579. "type": "number"
  16580. },
  16581. "updatetime": {
  16582. "description": "更新时间",
  16583. "type": "string"
  16584. }
  16585. }
  16586. },
  16587. "models.Ermcp3AreaSpotDetail": {
  16588. "type": "object",
  16589. "properties": {
  16590. "contracttype": {
  16591. "description": "合同类型 1-采购 -1-销售",
  16592. "type": "integer"
  16593. },
  16594. "createtime": {
  16595. "description": "创建时间",
  16596. "type": "string"
  16597. },
  16598. "deliverygoodscode": {
  16599. "description": "现货品种代码",
  16600. "type": "string"
  16601. },
  16602. "deliverygoodsid": {
  16603. "description": "现货品种id",
  16604. "type": "integer"
  16605. },
  16606. "deliverygoodsname": {
  16607. "description": "现货品种名称",
  16608. "type": "string"
  16609. },
  16610. "enumdicname": {
  16611. "description": "现货商品单位名称",
  16612. "type": "string"
  16613. },
  16614. "logtype": {
  16615. "description": "记录类型 1-套保 2-现货合同",
  16616. "type": "integer"
  16617. },
  16618. "qty": {
  16619. "description": "数量",
  16620. "type": "number"
  16621. },
  16622. "recordname": {
  16623. "description": "类型名称",
  16624. "type": "string"
  16625. },
  16626. "relatedid": {
  16627. "description": "套保计划ID/现货合同ID",
  16628. "type": "string"
  16629. },
  16630. "relatedno": {
  16631. "description": "编号",
  16632. "type": "string"
  16633. },
  16634. "strtime": {
  16635. "description": "时间",
  16636. "type": "string"
  16637. }
  16638. }
  16639. },
  16640. "models.Ermcp3AreaSpotPLReport": {
  16641. "type": "object",
  16642. "properties": {
  16643. "accountid": {
  16644. "description": "期货账户ID (作废, 默认为0)",
  16645. "type": "integer"
  16646. },
  16647. "accountname": {
  16648. "description": "机构名称",
  16649. "type": "string"
  16650. },
  16651. "actualpl": {
  16652. "description": "现货损益",
  16653. "type": "number"
  16654. },
  16655. "areauserid": {
  16656. "description": "所属机构\\交易用户ID",
  16657. "type": "integer"
  16658. },
  16659. "begindate": {
  16660. "description": "开始交易日",
  16661. "type": "string"
  16662. },
  16663. "biztype": {
  16664. "description": "业务类型 - 1:套保 2:套利",
  16665. "type": "integer"
  16666. },
  16667. "brandname": {
  16668. "description": "品牌名称",
  16669. "type": "string"
  16670. },
  16671. "curamount": {
  16672. "description": "期末额",
  16673. "type": "number"
  16674. },
  16675. "curaverageprice": {
  16676. "description": "期末均价",
  16677. "type": "number"
  16678. },
  16679. "curbuyamount": {
  16680. "description": "期末采购总额",
  16681. "type": "number"
  16682. },
  16683. "curbuyqty": {
  16684. "description": "期末采购总量",
  16685. "type": "number"
  16686. },
  16687. "curmarketvalue": {
  16688. "description": "参考市值(期末市值)",
  16689. "type": "number"
  16690. },
  16691. "curqty": {
  16692. "description": "期末量",
  16693. "type": "number"
  16694. },
  16695. "currencyid": {
  16696. "description": "结算币种ID【原值】",
  16697. "type": "integer"
  16698. },
  16699. "currencyname": {
  16700. "description": "币种名称",
  16701. "type": "string"
  16702. },
  16703. "cursellamount": {
  16704. "description": "期末销售总额",
  16705. "type": "number"
  16706. },
  16707. "cursellqty": {
  16708. "description": "期末销售总量",
  16709. "type": "number"
  16710. },
  16711. "curspotprice": {
  16712. "description": "参考市价(最新价)",
  16713. "type": "number"
  16714. },
  16715. "cycletime": {
  16716. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  16717. "type": "string"
  16718. },
  16719. "cycletype": {
  16720. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  16721. "type": "integer"
  16722. },
  16723. "deliverygoodscode": {
  16724. "description": "现货商品代码",
  16725. "type": "string"
  16726. },
  16727. "deliverygoodsid": {
  16728. "description": "现货品种ID",
  16729. "type": "integer"
  16730. },
  16731. "deliverygoodsname": {
  16732. "description": "现货商品名称",
  16733. "type": "string"
  16734. },
  16735. "enddate": {
  16736. "description": "结束交易日",
  16737. "type": "string"
  16738. },
  16739. "enumdicname": {
  16740. "description": "现货商品单位名称",
  16741. "type": "string"
  16742. },
  16743. "floatpl": {
  16744. "description": "浮动损益",
  16745. "type": "number"
  16746. },
  16747. "goodsunitid": {
  16748. "description": "现货商品单位id",
  16749. "type": "integer"
  16750. },
  16751. "oriamount": {
  16752. "description": "期初额",
  16753. "type": "number"
  16754. },
  16755. "oriaverageprice": {
  16756. "description": "期初均价",
  16757. "type": "number"
  16758. },
  16759. "oribuyamount": {
  16760. "description": "期初采购总额",
  16761. "type": "number"
  16762. },
  16763. "oribuyqty": {
  16764. "description": "期初采购总量",
  16765. "type": "number"
  16766. },
  16767. "oriqty": {
  16768. "description": "期初量",
  16769. "type": "number"
  16770. },
  16771. "orisellamount": {
  16772. "description": "期初销售总额",
  16773. "type": "number"
  16774. },
  16775. "orisellqty": {
  16776. "description": "期初销售总量",
  16777. "type": "number"
  16778. },
  16779. "reckondate": {
  16780. "description": "日照时期(yyyyMMdd)",
  16781. "type": "string"
  16782. },
  16783. "spotgoodsbrandid": {
  16784. "description": "现货品牌ID",
  16785. "type": "integer"
  16786. },
  16787. "todaybuyamount": {
  16788. "description": "今日采购额(今采购额)",
  16789. "type": "number"
  16790. },
  16791. "todaybuyaverageprice": {
  16792. "description": "今日采购均价",
  16793. "type": "number"
  16794. },
  16795. "todaybuyqty": {
  16796. "description": "今日采购量(今采购量)",
  16797. "type": "number"
  16798. },
  16799. "todayinqty": {
  16800. "description": "今日入库量(今入库量)",
  16801. "type": "number"
  16802. },
  16803. "todayoutqty": {
  16804. "description": "今日出库量(今出库量)",
  16805. "type": "number"
  16806. },
  16807. "todaysellamount": {
  16808. "description": "今日销售额(今销售额)",
  16809. "type": "number"
  16810. },
  16811. "todaysellaverageprice": {
  16812. "description": "今日销售均价",
  16813. "type": "number"
  16814. },
  16815. "todaysellqty": {
  16816. "description": "今日销售量(今销售量)",
  16817. "type": "number"
  16818. },
  16819. "unitid": {
  16820. "description": "品类单位id",
  16821. "type": "integer"
  16822. },
  16823. "unitidname": {
  16824. "description": "品类单位名称",
  16825. "type": "string"
  16826. },
  16827. "updatetime": {
  16828. "description": "更新时间",
  16829. "type": "string"
  16830. },
  16831. "wrfactortypeid": {
  16832. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  16833. "type": "integer"
  16834. },
  16835. "wrstandardcode": {
  16836. "description": "品类代码",
  16837. "type": "string"
  16838. },
  16839. "wrstandardid": {
  16840. "description": "现货品类ID",
  16841. "type": "integer"
  16842. },
  16843. "wrstandardname": {
  16844. "description": "品类名称",
  16845. "type": "string"
  16846. }
  16847. }
  16848. },
  16849. "models.Ermcp3AreaStock": {
  16850. "type": "object",
  16851. "required": [
  16852. "userid"
  16853. ],
  16854. "properties": {
  16855. "brandname": {
  16856. "description": "品牌名称",
  16857. "type": "string"
  16858. },
  16859. "curstock": {
  16860. "description": "期末库存量(今日量)",
  16861. "type": "number"
  16862. },
  16863. "deliverygoodscode": {
  16864. "description": "现货品种代码",
  16865. "type": "string"
  16866. },
  16867. "deliverygoodsid": {
  16868. "description": "现货品种id",
  16869. "type": "integer"
  16870. },
  16871. "deliverygoodsname": {
  16872. "description": "现货品种名称",
  16873. "type": "string"
  16874. },
  16875. "enumdicname": {
  16876. "description": "单位名称",
  16877. "type": "string"
  16878. },
  16879. "goodsunitid": {
  16880. "description": "现货商品单位id",
  16881. "type": "integer"
  16882. },
  16883. "oristock": {
  16884. "description": "期初库存量(昨日量)",
  16885. "type": "number"
  16886. },
  16887. "spotgoodsbrandid": {
  16888. "description": "现货品牌ID",
  16889. "type": "integer"
  16890. },
  16891. "todaybuyinqty": {
  16892. "description": "今日采购入库量",
  16893. "type": "number"
  16894. },
  16895. "todayproduceinqty": {
  16896. "description": "今日生产入库量",
  16897. "type": "number"
  16898. },
  16899. "todayproduceoutqty": {
  16900. "description": "今日生产出库量",
  16901. "type": "number"
  16902. },
  16903. "todayselloutqty": {
  16904. "description": "今日销售出库量",
  16905. "type": "number"
  16906. },
  16907. "unitid": {
  16908. "description": "单位id",
  16909. "type": "integer"
  16910. },
  16911. "updatetime": {
  16912. "description": "更新时间",
  16913. "type": "string"
  16914. },
  16915. "userid": {
  16916. "description": "机构ID",
  16917. "type": "integer"
  16918. },
  16919. "username": {
  16920. "description": "机构名称",
  16921. "type": "string"
  16922. },
  16923. "warehousecode": {
  16924. "description": "仓库代码",
  16925. "type": "string"
  16926. },
  16927. "warehouseinfoid": {
  16928. "description": "仓库ID",
  16929. "type": "string"
  16930. },
  16931. "warehousename": {
  16932. "description": "仓库名称",
  16933. "type": "string"
  16934. },
  16935. "warehousetype": {
  16936. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  16937. "type": "integer"
  16938. },
  16939. "wrstandardcode": {
  16940. "description": "品类代码",
  16941. "type": "string"
  16942. },
  16943. "wrstandardid": {
  16944. "description": "品类ID",
  16945. "type": "string"
  16946. },
  16947. "wrstandardname": {
  16948. "description": "品类名称",
  16949. "type": "string"
  16950. }
  16951. }
  16952. },
  16953. "models.Ermcp3AreaStockApply": {
  16954. "type": "object",
  16955. "properties": {
  16956. "applyid": {
  16957. "description": "申请人",
  16958. "type": "integer"
  16959. },
  16960. "applyname": {
  16961. "description": "申请人名称",
  16962. "type": "string"
  16963. },
  16964. "applyremark": {
  16965. "description": "申请备注",
  16966. "type": "string"
  16967. },
  16968. "applysrc": {
  16969. "description": "申请来源 - 1:管理端 2:终端",
  16970. "type": "integer"
  16971. },
  16972. "applystatus": {
  16973. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  16974. "type": "integer"
  16975. },
  16976. "applytime": {
  16977. "description": "申请时间",
  16978. "type": "string"
  16979. },
  16980. "auditid": {
  16981. "description": "审核人",
  16982. "type": "integer"
  16983. },
  16984. "auditname": {
  16985. "description": "审核人名称",
  16986. "type": "string"
  16987. },
  16988. "auditremark": {
  16989. "description": "审核备注",
  16990. "type": "string"
  16991. },
  16992. "auditsrc": {
  16993. "description": "审核来源 - 1:管理端 2:终端",
  16994. "type": "integer"
  16995. },
  16996. "audittime": {
  16997. "description": "审核时间",
  16998. "type": "string"
  16999. },
  17000. "audittradedate": {
  17001. "description": "审核交易日(yyyyMMdd)",
  17002. "type": "string"
  17003. },
  17004. "brandname": {
  17005. "description": "品牌名称",
  17006. "type": "string"
  17007. },
  17008. "buynickname": {
  17009. "description": "采购方昵称",
  17010. "type": "string"
  17011. },
  17012. "buyuserid": {
  17013. "description": "采购方userid",
  17014. "type": "integer"
  17015. },
  17016. "buyusername": {
  17017. "description": "采购方名称",
  17018. "type": "string"
  17019. },
  17020. "contractno": {
  17021. "description": "合同编号",
  17022. "type": "string"
  17023. },
  17024. "contractqty": {
  17025. "description": "合同量",
  17026. "type": "number"
  17027. },
  17028. "contracttype": {
  17029. "description": "现货合同类型 - 1:采购 -1:销售",
  17030. "type": "integer"
  17031. },
  17032. "deliverygoodscode": {
  17033. "description": "现货品种代码",
  17034. "type": "string"
  17035. },
  17036. "deliverygoodsid": {
  17037. "description": "现货品种id",
  17038. "type": "integer"
  17039. },
  17040. "deliverygoodsname": {
  17041. "description": "现货品种名称",
  17042. "type": "string"
  17043. },
  17044. "detailjson": {
  17045. "description": "明细数据",
  17046. "type": "string"
  17047. },
  17048. "enumdicname": {
  17049. "description": "现货商品单位名称",
  17050. "type": "string"
  17051. },
  17052. "inoutapplyid": {
  17053. "description": "申请ID(607+Unix秒时间戳(10位)+xxxxxx)",
  17054. "type": "string"
  17055. },
  17056. "inouttype": {
  17057. "description": "出入库类型 - 5:采购入库 6:销售出库 7:生产入库 8:生产出库",
  17058. "type": "integer"
  17059. },
  17060. "pricetype": {
  17061. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  17062. "type": "integer"
  17063. },
  17064. "qty": {
  17065. "description": "数量",
  17066. "type": "number"
  17067. },
  17068. "sellnickname": {
  17069. "description": "销售方昵称",
  17070. "type": "string"
  17071. },
  17072. "selluserid": {
  17073. "description": "销售方userid",
  17074. "type": "integer"
  17075. },
  17076. "sellusername": {
  17077. "description": "销售方名称",
  17078. "type": "string"
  17079. },
  17080. "spotcontractid": {
  17081. "description": "关联现货合同ID",
  17082. "type": "string"
  17083. },
  17084. "spotgoodsbrandid": {
  17085. "description": "现货品牌ID",
  17086. "type": "integer"
  17087. },
  17088. "unitid": {
  17089. "description": "单位id",
  17090. "type": "integer"
  17091. },
  17092. "userid": {
  17093. "description": "机构ID",
  17094. "type": "integer"
  17095. },
  17096. "warehousecode": {
  17097. "description": "仓库代码",
  17098. "type": "string"
  17099. },
  17100. "warehouseinfoid": {
  17101. "description": "现货仓库ID",
  17102. "type": "string"
  17103. },
  17104. "warehousename": {
  17105. "description": "仓库名称",
  17106. "type": "string"
  17107. },
  17108. "warehousetype": {
  17109. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  17110. "type": "integer"
  17111. },
  17112. "wrstandardcode": {
  17113. "description": "品类代码",
  17114. "type": "string"
  17115. },
  17116. "wrstandardid": {
  17117. "description": "品类ID",
  17118. "type": "integer"
  17119. },
  17120. "wrstandardname": {
  17121. "description": "品类名称",
  17122. "type": "string"
  17123. }
  17124. }
  17125. },
  17126. "models.Ermcp3AreaStockApplySum": {
  17127. "type": "object",
  17128. "properties": {
  17129. "brandname": {
  17130. "description": "品牌名称",
  17131. "type": "string"
  17132. },
  17133. "inouttype": {
  17134. "description": "出入库类型 - 5:采购入库 6:销售出库 7:生产入库 8:生产出库",
  17135. "type": "integer"
  17136. },
  17137. "spotcontractid": {
  17138. "description": "关联现货合同ID",
  17139. "type": "string"
  17140. },
  17141. "spotgoodsbrandid": {
  17142. "description": "品牌id",
  17143. "type": "integer"
  17144. },
  17145. "totalqty": {
  17146. "description": "总数量",
  17147. "type": "number"
  17148. },
  17149. "wrstandardid": {
  17150. "description": "品类id",
  17151. "type": "integer"
  17152. },
  17153. "wrstandardname": {
  17154. "description": "品类名称",
  17155. "type": "string"
  17156. }
  17157. }
  17158. },
  17159. "models.Ermcp3AreaStockReportEx": {
  17160. "type": "object",
  17161. "properties": {
  17162. "begindate": {
  17163. "description": "开始交易日",
  17164. "type": "string"
  17165. },
  17166. "brandname": {
  17167. "description": "品牌名称",
  17168. "type": "string"
  17169. },
  17170. "curstock": {
  17171. "description": "期末库存量",
  17172. "type": "number"
  17173. },
  17174. "cycletime": {
  17175. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  17176. "type": "string"
  17177. },
  17178. "cycletype": {
  17179. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  17180. "type": "integer"
  17181. },
  17182. "deliverygoodscode": {
  17183. "description": "现货品种代码",
  17184. "type": "string"
  17185. },
  17186. "deliverygoodsid": {
  17187. "description": "现货品种id",
  17188. "type": "integer"
  17189. },
  17190. "deliverygoodsname": {
  17191. "description": "现货品种名称",
  17192. "type": "string"
  17193. },
  17194. "diffqty": {
  17195. "description": "库存变化量 = 期末 - 期初",
  17196. "type": "number"
  17197. },
  17198. "enddate": {
  17199. "description": "结束交易日",
  17200. "type": "string"
  17201. },
  17202. "enumdicname": {
  17203. "description": "单位名称",
  17204. "type": "string"
  17205. },
  17206. "goodsunitid": {
  17207. "description": "现货单位id",
  17208. "type": "integer"
  17209. },
  17210. "oristock": {
  17211. "description": "期初库存量",
  17212. "type": "number"
  17213. },
  17214. "reckondate": {
  17215. "description": "日照时期(yyyyMMdd)",
  17216. "type": "string"
  17217. },
  17218. "spotgoodsbrandid": {
  17219. "description": "现货品牌ID",
  17220. "type": "integer"
  17221. },
  17222. "todaybuyinqty": {
  17223. "description": "今采购入库量",
  17224. "type": "number"
  17225. },
  17226. "todayproduceinqty": {
  17227. "description": "今内部入库量",
  17228. "type": "number"
  17229. },
  17230. "todayproduceoutqty": {
  17231. "description": "今内部出库量",
  17232. "type": "number"
  17233. },
  17234. "todayselloutqty": {
  17235. "description": "今销售出库量",
  17236. "type": "number"
  17237. },
  17238. "unbuyinqty": {
  17239. "description": "采购未入库量(数据库未找到相关字段?)",
  17240. "type": "number"
  17241. },
  17242. "unitid": {
  17243. "description": "品类单位id",
  17244. "type": "integer"
  17245. },
  17246. "unselloutqty": {
  17247. "description": "销售未出库量(数据库未找到相关字段?)",
  17248. "type": "number"
  17249. },
  17250. "updatetime": {
  17251. "description": "更新时间",
  17252. "type": "string"
  17253. },
  17254. "userid": {
  17255. "description": "机构ID",
  17256. "type": "integer"
  17257. },
  17258. "username": {
  17259. "description": "机构名称",
  17260. "type": "string"
  17261. },
  17262. "warehousecode": {
  17263. "description": "仓库代码",
  17264. "type": "string"
  17265. },
  17266. "warehouseinfoid": {
  17267. "description": "仓库ID",
  17268. "type": "string"
  17269. },
  17270. "warehousename": {
  17271. "description": "仓库名称",
  17272. "type": "string"
  17273. },
  17274. "warehousetype": {
  17275. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  17276. "type": "integer"
  17277. },
  17278. "wrstandardcode": {
  17279. "description": "品类代码",
  17280. "type": "string"
  17281. },
  17282. "wrstandardid": {
  17283. "description": "品类ID",
  17284. "type": "integer"
  17285. },
  17286. "wrstandardname": {
  17287. "description": "品类名称",
  17288. "type": "string"
  17289. }
  17290. }
  17291. },
  17292. "models.Ermcp3ArealSumPL": {
  17293. "type": "object",
  17294. "properties": {
  17295. "accountname": {
  17296. "description": "机构名称",
  17297. "type": "string"
  17298. },
  17299. "areauserid": {
  17300. "description": "所属机构\\交易用户ID",
  17301. "type": "integer"
  17302. },
  17303. "begindate": {
  17304. "description": "开始交易日",
  17305. "type": "string"
  17306. },
  17307. "currencyid": {
  17308. "description": "结算币种ID",
  17309. "type": "integer"
  17310. },
  17311. "currencyname": {
  17312. "description": "币种名称",
  17313. "type": "string"
  17314. },
  17315. "cycletime": {
  17316. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  17317. "type": "string"
  17318. },
  17319. "cycletype": {
  17320. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  17321. "type": "integer"
  17322. },
  17323. "enddate": {
  17324. "description": "结束交易日",
  17325. "type": "string"
  17326. },
  17327. "enumdicname": {
  17328. "description": "单位名称(套保品种)",
  17329. "type": "string"
  17330. },
  17331. "futureactualpl": {
  17332. "description": "期货损益",
  17333. "type": "number"
  17334. },
  17335. "futurefloatpl": {
  17336. "description": "期货浮动损益",
  17337. "type": "number"
  17338. },
  17339. "goodsunitid": {
  17340. "description": "套保品种单位id",
  17341. "type": "integer"
  17342. },
  17343. "middlegoodscode": {
  17344. "description": "套保品种代码",
  17345. "type": "string"
  17346. },
  17347. "middlegoodsid": {
  17348. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  17349. "type": "integer"
  17350. },
  17351. "middlegoodsname": {
  17352. "description": "套保品种名称",
  17353. "type": "string"
  17354. },
  17355. "reckondate": {
  17356. "description": "日照时期(yyyyMMdd)",
  17357. "type": "string"
  17358. },
  17359. "spotactualpl": {
  17360. "description": "现货损益",
  17361. "type": "number"
  17362. },
  17363. "spotfloatpl": {
  17364. "description": "现货浮动损益",
  17365. "type": "number"
  17366. },
  17367. "sumactualpl": {
  17368. "description": "实际损益 = (ActualPL + FutureActualPL)",
  17369. "type": "number"
  17370. },
  17371. "sumpl": {
  17372. "description": "汇总损益",
  17373. "type": "number"
  17374. },
  17375. "updatetime": {
  17376. "description": "更新时间",
  17377. "type": "string"
  17378. }
  17379. }
  17380. },
  17381. "models.Ermcp3Brand": {
  17382. "type": "object",
  17383. "properties": {
  17384. "areauserid": {
  17385. "description": "用户id",
  17386. "type": "integer"
  17387. },
  17388. "brandid": {
  17389. "description": "品牌id",
  17390. "type": "integer"
  17391. },
  17392. "brandname": {
  17393. "description": "品牌名称",
  17394. "type": "string"
  17395. },
  17396. "deliverygoodsid": {
  17397. "description": "品种ID",
  17398. "type": "integer"
  17399. }
  17400. }
  17401. },
  17402. "models.Ermcp3Contract": {
  17403. "type": "object",
  17404. "properties": {
  17405. "accountid": {
  17406. "description": "期货账户id",
  17407. "type": "string"
  17408. },
  17409. "amount": {
  17410. "description": "金额 [1:一口价、3:暂定价]",
  17411. "type": "number"
  17412. },
  17413. "attachment": {
  17414. "description": "附件",
  17415. "type": "string"
  17416. },
  17417. "auditremark": {
  17418. "description": "审核意见",
  17419. "type": "string"
  17420. },
  17421. "audittime": {
  17422. "description": "审核时间",
  17423. "type": "string"
  17424. },
  17425. "biztype": {
  17426. "description": "业务类型 1-套保 2-套利",
  17427. "type": "integer"
  17428. },
  17429. "brandname": {
  17430. "description": "品牌名称",
  17431. "type": "string"
  17432. },
  17433. "buynickname": {
  17434. "description": "销售方昵称",
  17435. "type": "string"
  17436. },
  17437. "buyuserid": {
  17438. "description": "采购方ID",
  17439. "type": "integer"
  17440. },
  17441. "buyusername": {
  17442. "description": "采购方名称",
  17443. "type": "string"
  17444. },
  17445. "contracctstatus": {
  17446. "description": "合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  17447. "type": "integer"
  17448. },
  17449. "contractmargin": {
  17450. "description": "合同保证金",
  17451. "type": "number"
  17452. },
  17453. "contractno": {
  17454. "description": "现货合同编号",
  17455. "type": "string"
  17456. },
  17457. "contracttype": {
  17458. "description": "现货合同类型 - 1:采购 -1:销售",
  17459. "type": "integer"
  17460. },
  17461. "convertfactor": {
  17462. "description": "标仓系数(品类)",
  17463. "type": "number"
  17464. },
  17465. "createtime": {
  17466. "description": "创建时间",
  17467. "type": "string"
  17468. },
  17469. "currencyid": {
  17470. "description": "币种id",
  17471. "type": "integer"
  17472. },
  17473. "currencyname": {
  17474. "description": "币种名称",
  17475. "type": "string"
  17476. },
  17477. "deliveryenddate": {
  17478. "description": "交收期(结束)",
  17479. "type": "string"
  17480. },
  17481. "deliverygoodscode": {
  17482. "description": "现货品种代码",
  17483. "type": "string"
  17484. },
  17485. "deliverygoodsid": {
  17486. "description": "现货品种ID",
  17487. "type": "integer"
  17488. },
  17489. "deliverygoodsname": {
  17490. "description": "现货品种名称",
  17491. "type": "string"
  17492. },
  17493. "deliverystartdate": {
  17494. "description": "交收期(开始)",
  17495. "type": "string"
  17496. },
  17497. "enddate": {
  17498. "description": "点价结束日期 [2:点价 3:暂定价]",
  17499. "type": "string"
  17500. },
  17501. "enumdicname": {
  17502. "description": "单位名称",
  17503. "type": "string"
  17504. },
  17505. "goodscode": {
  17506. "description": "点价合约代码",
  17507. "type": "string"
  17508. },
  17509. "goodsid": {
  17510. "description": "点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]",
  17511. "type": "integer"
  17512. },
  17513. "goodsname": {
  17514. "description": "点价商品名称",
  17515. "type": "string"
  17516. },
  17517. "margin": {
  17518. "description": "当前保证金",
  17519. "type": "number"
  17520. },
  17521. "meruserid": {
  17522. "description": "跟单员id",
  17523. "type": "integer"
  17524. },
  17525. "meruserlogincode": {
  17526. "description": "跟单员登录代码",
  17527. "type": "string"
  17528. },
  17529. "merusername": {
  17530. "description": "跟单员名称",
  17531. "type": "string"
  17532. },
  17533. "price": {
  17534. "description": "价格\\暂定价 [1:一口价、3:暂定价]",
  17535. "type": "number"
  17536. },
  17537. "pricemove": {
  17538. "description": "升贴水 [2:点价 3:暂定价]",
  17539. "type": "number"
  17540. },
  17541. "pricetype": {
  17542. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  17543. "type": "integer"
  17544. },
  17545. "producttype": {
  17546. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  17547. "type": "integer"
  17548. },
  17549. "qty": {
  17550. "description": "数量",
  17551. "type": "number"
  17552. },
  17553. "remark": {
  17554. "description": "备注",
  17555. "type": "string"
  17556. },
  17557. "saleuserid": {
  17558. "description": "业务员id",
  17559. "type": "integer"
  17560. },
  17561. "saleuserlogincode": {
  17562. "description": "业务员登录代码",
  17563. "type": "string"
  17564. },
  17565. "saleusername": {
  17566. "description": "业务员名称",
  17567. "type": "string"
  17568. },
  17569. "sellnickname": {
  17570. "description": "采购方昵称",
  17571. "type": "string"
  17572. },
  17573. "selluserid": {
  17574. "description": "销售方ID",
  17575. "type": "integer"
  17576. },
  17577. "sellusername": {
  17578. "description": "销售方名称",
  17579. "type": "string"
  17580. },
  17581. "spotcontractid": {
  17582. "description": "现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)",
  17583. "type": "string"
  17584. },
  17585. "spotgoodsbrandid": {
  17586. "description": "现货品牌ID(DGFactoryItem表的ID)",
  17587. "type": "integer"
  17588. },
  17589. "spotgoodsdesc": {
  17590. "description": "商品型号",
  17591. "type": "string"
  17592. },
  17593. "startdate": {
  17594. "description": "点价开始日期 [2:点价 3:暂定价]",
  17595. "type": "string"
  17596. },
  17597. "tradeuserid": {
  17598. "description": "交易员id",
  17599. "type": "integer"
  17600. },
  17601. "tradeuserlogincode": {
  17602. "description": "交易员登录代码",
  17603. "type": "string"
  17604. },
  17605. "tradeusername": {
  17606. "description": "交易员名称",
  17607. "type": "string"
  17608. },
  17609. "unitid": {
  17610. "description": "单位id(取品类上的单位id)",
  17611. "type": "integer"
  17612. },
  17613. "updatetime": {
  17614. "description": "更新时间",
  17615. "type": "string"
  17616. },
  17617. "userid": {
  17618. "description": "所属机构ID",
  17619. "type": "integer"
  17620. },
  17621. "wrstandardcode": {
  17622. "description": "品类代码",
  17623. "type": "string"
  17624. },
  17625. "wrstandardid": {
  17626. "description": "品类ID",
  17627. "type": "integer"
  17628. },
  17629. "wrstandardname": {
  17630. "description": "品类名称",
  17631. "type": "string"
  17632. }
  17633. }
  17634. },
  17635. "models.Ermcp3ExposureContractDetail": {
  17636. "type": "object",
  17637. "properties": {
  17638. "biztype": {
  17639. "description": "业务类型 1-套保 2-套利",
  17640. "type": "integer"
  17641. },
  17642. "brandname": {
  17643. "description": "品牌名称",
  17644. "type": "string"
  17645. },
  17646. "buyuserid": {
  17647. "description": "采购方id",
  17648. "type": "integer"
  17649. },
  17650. "buyusername": {
  17651. "description": "采购方名称",
  17652. "type": "string"
  17653. },
  17654. "contractno": {
  17655. "description": "合同编号",
  17656. "type": "string"
  17657. },
  17658. "contracttype": {
  17659. "description": "现货合同类型 - 1:采购 -1:销售",
  17660. "type": "integer"
  17661. },
  17662. "convertfactor": {
  17663. "description": "标仓系数",
  17664. "type": "number"
  17665. },
  17666. "convertratio": {
  17667. "description": "折算系数(套保品种)",
  17668. "type": "number"
  17669. },
  17670. "curqty": {
  17671. "description": "今定价量",
  17672. "type": "number"
  17673. },
  17674. "deliverygoodscode": {
  17675. "description": "现货商品代码",
  17676. "type": "string"
  17677. },
  17678. "deliverygoodsid": {
  17679. "description": "现货商品id",
  17680. "type": "integer"
  17681. },
  17682. "deliverygoodsname": {
  17683. "description": "现货商品名称",
  17684. "type": "string"
  17685. },
  17686. "diffhedgeqty": {
  17687. "description": "套保变动量",
  17688. "type": "number"
  17689. },
  17690. "diffneedhedgeqty": {
  17691. "description": "应套保变动量",
  17692. "type": "number"
  17693. },
  17694. "diffqty": {
  17695. "description": "套保品种今变动量",
  17696. "type": "number"
  17697. },
  17698. "enumdicname": {
  17699. "description": "单位名称",
  17700. "type": "string"
  17701. },
  17702. "mgunitname": {
  17703. "description": "套保品种单位名称",
  17704. "type": "string"
  17705. },
  17706. "middlegoodscode": {
  17707. "description": "套保品种代码",
  17708. "type": "string"
  17709. },
  17710. "middlegoodsid": {
  17711. "description": "套保品种id",
  17712. "type": "integer"
  17713. },
  17714. "middlegoodsname": {
  17715. "description": "套保品种名称",
  17716. "type": "string"
  17717. },
  17718. "needarbitrageratio": {
  17719. "description": "应套利比例",
  17720. "type": "number"
  17721. },
  17722. "needhedgeratio": {
  17723. "description": "应套保比例",
  17724. "type": "number"
  17725. },
  17726. "pricedqty": {
  17727. "description": "已定价量",
  17728. "type": "number"
  17729. },
  17730. "qty": {
  17731. "description": "合同量",
  17732. "type": "number"
  17733. },
  17734. "selluserid": {
  17735. "description": "销售方id",
  17736. "type": "integer"
  17737. },
  17738. "sellusername": {
  17739. "description": "销售方名称",
  17740. "type": "string"
  17741. },
  17742. "spotcontractid": {
  17743. "description": "合同id",
  17744. "type": "string"
  17745. },
  17746. "todaypricedqty": {
  17747. "description": "今定价量",
  17748. "type": "number"
  17749. },
  17750. "tradedate": {
  17751. "description": "交易日",
  17752. "type": "string"
  17753. },
  17754. "unitid": {
  17755. "description": "品类单位id",
  17756. "type": "integer"
  17757. },
  17758. "userid": {
  17759. "description": "机构id",
  17760. "type": "integer"
  17761. },
  17762. "username": {
  17763. "description": "交易用户",
  17764. "type": "string"
  17765. },
  17766. "wrstandardcode": {
  17767. "description": "品类代码",
  17768. "type": "string"
  17769. },
  17770. "wrstandardid": {
  17771. "description": "品类id",
  17772. "type": "integer"
  17773. },
  17774. "wrstandardname": {
  17775. "description": "品类名称",
  17776. "type": "string"
  17777. }
  17778. }
  17779. },
  17780. "models.Ermcp3ExposureDetail": {
  17781. "type": "object",
  17782. "properties": {
  17783. "areauserid": {
  17784. "description": "机构ID",
  17785. "type": "integer"
  17786. },
  17787. "changeQty": {
  17788. "description": "套保变动量",
  17789. "type": "number"
  17790. },
  17791. "contracttype": {
  17792. "description": "现货合同类型 - 1:采购 -1:销售",
  17793. "type": "integer"
  17794. },
  17795. "convertfactor": {
  17796. "description": "标仓系数",
  17797. "type": "number"
  17798. },
  17799. "convertratio": {
  17800. "description": "套保系数",
  17801. "type": "number"
  17802. },
  17803. "createtime": {
  17804. "description": "时间",
  17805. "type": "string"
  17806. },
  17807. "deliverygoodscode": {
  17808. "description": "现货品种代码",
  17809. "type": "string"
  17810. },
  17811. "deliverygoodsid": {
  17812. "description": "现货品种id",
  17813. "type": "integer"
  17814. },
  17815. "deliverygoodsname": {
  17816. "description": "现货品种名称",
  17817. "type": "string"
  17818. },
  17819. "enumdicname": {
  17820. "description": "现货商品单位名称",
  17821. "type": "string"
  17822. },
  17823. "logtype": {
  17824. "description": "类型 - 1:套保计划 2:现货合同",
  17825. "type": "integer"
  17826. },
  17827. "mgunitid": {
  17828. "description": "套保品种单位id",
  17829. "type": "integer"
  17830. },
  17831. "mgunitidname": {
  17832. "description": "套保品种单位名称",
  17833. "type": "string"
  17834. },
  17835. "middlegoodsId": {
  17836. "description": "套保商品id",
  17837. "type": "integer"
  17838. },
  17839. "middlegoodscode": {
  17840. "description": "套保商品代码",
  17841. "type": "string"
  17842. },
  17843. "middlegoodsname": {
  17844. "description": "套保商品名称",
  17845. "type": "string"
  17846. },
  17847. "qty": {
  17848. "description": "数量",
  17849. "type": "number"
  17850. },
  17851. "relateNo": {
  17852. "description": "现货合同/套保计划编号",
  17853. "type": "string"
  17854. }
  17855. }
  17856. },
  17857. "models.Ermcp3ExposureFutuDetail": {
  17858. "type": "object",
  17859. "properties": {
  17860. "accountid": {
  17861. "description": "交易账户id",
  17862. "type": "integer"
  17863. },
  17864. "accountname": {
  17865. "description": "交易账户",
  17866. "type": "string"
  17867. },
  17868. "begindate": {
  17869. "description": "开始交易日",
  17870. "type": "string"
  17871. },
  17872. "buyorsell": {
  17873. "description": "方向 0-买 1-卖",
  17874. "type": "integer"
  17875. },
  17876. "diffmgqty": {
  17877. "description": "套保品种今变化量",
  17878. "type": "number"
  17879. },
  17880. "diffneedqty": {
  17881. "description": "应套保总量变化量",
  17882. "type": "number"
  17883. },
  17884. "difftradeqty": {
  17885. "description": "交易品种今变化量",
  17886. "type": "number"
  17887. },
  17888. "enddate": {
  17889. "description": "结束交易日",
  17890. "type": "string"
  17891. },
  17892. "enumdicname": {
  17893. "description": "单位名称",
  17894. "type": "string"
  17895. },
  17896. "goodscode": {
  17897. "description": "商品代码",
  17898. "type": "string"
  17899. },
  17900. "goodsid": {
  17901. "description": "商品id",
  17902. "type": "integer"
  17903. },
  17904. "goodsname": {
  17905. "description": "商品名称",
  17906. "type": "string"
  17907. },
  17908. "holdqty": {
  17909. "description": "期末持仓量",
  17910. "type": "number"
  17911. },
  17912. "middlegoodscode": {
  17913. "description": "套保商品代码",
  17914. "type": "string"
  17915. },
  17916. "middlegoodsid": {
  17917. "description": "套保商品id",
  17918. "type": "integer"
  17919. },
  17920. "middlegoodsname": {
  17921. "description": "套保商品名称",
  17922. "type": "string"
  17923. },
  17924. "oriholdqty": {
  17925. "description": "期初持仓量",
  17926. "type": "number"
  17927. },
  17928. "todaycloseqty": {
  17929. "description": "今平仓量",
  17930. "type": "number"
  17931. },
  17932. "todayopenqty": {
  17933. "description": "今开仓量",
  17934. "type": "number"
  17935. },
  17936. "tradedate": {
  17937. "description": "交易日",
  17938. "type": "string"
  17939. }
  17940. }
  17941. },
  17942. "models.Ermcp3ExposureHedgeplanDetail": {
  17943. "type": "object",
  17944. "properties": {
  17945. "biztype": {
  17946. "description": "业务类型(期现用途,业务类型就是期现用途) 1-套保 2-套利",
  17947. "type": "integer"
  17948. },
  17949. "changqty": {
  17950. "description": "应套保总量变化量",
  17951. "type": "number"
  17952. },
  17953. "contracttype": {
  17954. "description": "计划类型 - 1:采购 -1:销售",
  17955. "type": "integer"
  17956. },
  17957. "convertratio": {
  17958. "description": "折算系数(套保品种)",
  17959. "type": "number"
  17960. },
  17961. "deliverygoodscode": {
  17962. "description": "现货商品代码",
  17963. "type": "string"
  17964. },
  17965. "deliverygoodsid": {
  17966. "description": "现货商品id",
  17967. "type": "integer"
  17968. },
  17969. "deliverygoodsname": {
  17970. "description": "现货商吕名称",
  17971. "type": "string"
  17972. },
  17973. "dgunitid": {
  17974. "description": "现货商品单位id",
  17975. "type": "integer"
  17976. },
  17977. "dgunitidname": {
  17978. "description": "单位名称(现货商品)",
  17979. "type": "string"
  17980. },
  17981. "diffqty": {
  17982. "description": "套保品种今变动量",
  17983. "type": "number"
  17984. },
  17985. "enumdicname": {
  17986. "description": "单位名称(品类)",
  17987. "type": "string"
  17988. },
  17989. "hedgeplanid": {
  17990. "description": "套保计划id",
  17991. "type": "string"
  17992. },
  17993. "hedgeplanno": {
  17994. "description": "套保计划名称",
  17995. "type": "string"
  17996. },
  17997. "hedgeplanstatus": {
  17998. "description": "套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  17999. "type": "integer"
  18000. },
  18001. "mgunitidname": {
  18002. "description": "单位名称(套保商品)",
  18003. "type": "string"
  18004. },
  18005. "middlegoodscode": {
  18006. "description": "套保品种代码",
  18007. "type": "string"
  18008. },
  18009. "middlegoodsid": {
  18010. "description": "套保品种id",
  18011. "type": "integer"
  18012. },
  18013. "middlegoodsname": {
  18014. "description": "套保品种名称",
  18015. "type": "string"
  18016. },
  18017. "needarbitrageratio": {
  18018. "description": "应套利比例",
  18019. "type": "number"
  18020. },
  18021. "needhedgeratio": {
  18022. "description": "应套保比例",
  18023. "type": "number"
  18024. },
  18025. "pricedqty": {
  18026. "description": "已定价量",
  18027. "type": "number"
  18028. },
  18029. "qty": {
  18030. "description": "合同量",
  18031. "type": "number"
  18032. },
  18033. "tradedate": {
  18034. "description": "交易日(登记日)",
  18035. "type": "string"
  18036. },
  18037. "unitid": {
  18038. "description": "品类单位id",
  18039. "type": "integer"
  18040. },
  18041. "userid": {
  18042. "description": "机构id",
  18043. "type": "integer"
  18044. },
  18045. "wrstandardcode": {
  18046. "description": "品类代码",
  18047. "type": "string"
  18048. },
  18049. "wrstandardid": {
  18050. "description": "品类id",
  18051. "type": "integer"
  18052. },
  18053. "wrstandardname": {
  18054. "description": "品类名称",
  18055. "type": "string"
  18056. }
  18057. }
  18058. },
  18059. "models.Ermcp3ExposureParamChLog": {
  18060. "type": "object",
  18061. "properties": {
  18062. "accountid": {
  18063. "description": "期货账户ID (作废, 默认为0)",
  18064. "type": "integer"
  18065. },
  18066. "aftervalue": {
  18067. "description": "应套保\\套利量变更后(调整后应套保总量)",
  18068. "type": "number"
  18069. },
  18070. "areauserid": {
  18071. "description": "所属机构\\交易用户ID",
  18072. "type": "integer"
  18073. },
  18074. "beforevalue": {
  18075. "description": "应套保\\套利量变更前(调整前应套保总量)",
  18076. "type": "number"
  18077. },
  18078. "begindate": {
  18079. "description": "开始交易日",
  18080. "type": "string"
  18081. },
  18082. "changelogtype": {
  18083. "description": "变更流水类型 - 1:套保比率变更 2:套利比率变更",
  18084. "type": "integer"
  18085. },
  18086. "curvalue": {
  18087. "description": "当前套保\\套利量(套保总量|套利总量)",
  18088. "type": "number"
  18089. },
  18090. "diffvalue": {
  18091. "description": "应套保总量变化量",
  18092. "type": "number"
  18093. },
  18094. "enddate": {
  18095. "description": "结束交易日",
  18096. "type": "string"
  18097. },
  18098. "logdatetime": {
  18099. "description": "流水日期",
  18100. "type": "string"
  18101. },
  18102. "logid": {
  18103. "description": "流水ID(609+Unix秒时间戳(10位)+xxxxxx)",
  18104. "type": "string"
  18105. },
  18106. "middlegoodscode": {
  18107. "description": "套保品种代码",
  18108. "type": "string"
  18109. },
  18110. "middlegoodsid": {
  18111. "description": "套保品种",
  18112. "type": "integer"
  18113. },
  18114. "middlegoodsname": {
  18115. "description": "套保品种名称",
  18116. "type": "string"
  18117. },
  18118. "paramaftervalue": {
  18119. "description": "参数变更后(调整后参数值)",
  18120. "type": "number"
  18121. },
  18122. "parambeforevalue": {
  18123. "description": "参数变更前(调整前参数值)",
  18124. "type": "number"
  18125. },
  18126. "tradedate": {
  18127. "description": "交易日(yyyyMMdd)",
  18128. "type": "string"
  18129. }
  18130. }
  18131. },
  18132. "models.Ermcp3ExpourseReport": {
  18133. "type": "object",
  18134. "properties": {
  18135. "accountid": {
  18136. "description": "期货账户ID (作废, 默认为0)",
  18137. "type": "integer"
  18138. },
  18139. "accountname": {
  18140. "description": "机构名称",
  18141. "type": "string"
  18142. },
  18143. "arbitrageqty": {
  18144. "description": "套利量",
  18145. "type": "number"
  18146. },
  18147. "areauserid": {
  18148. "description": "所属机构\\交易用户ID",
  18149. "type": "integer"
  18150. },
  18151. "begindate": {
  18152. "description": "开始交易日",
  18153. "type": "string"
  18154. },
  18155. "buyfutureqty": {
  18156. "description": "买入期货数量",
  18157. "type": "number"
  18158. },
  18159. "buyplanqty": {
  18160. "description": "采购计划数量",
  18161. "type": "number"
  18162. },
  18163. "buypricedqty": {
  18164. "description": "采购合同已定价数量",
  18165. "type": "number"
  18166. },
  18167. "cycletime": {
  18168. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  18169. "type": "string"
  18170. },
  18171. "cycletype": {
  18172. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  18173. "type": "integer"
  18174. },
  18175. "diffexposure": {
  18176. "description": "变动量(套保敞口)",
  18177. "type": "number"
  18178. },
  18179. "difffutuqty": {
  18180. "description": "变动量(期货)",
  18181. "type": "number"
  18182. },
  18183. "diffhedgeqty": {
  18184. "description": "变动量(现货应套保总量)",
  18185. "type": "number"
  18186. },
  18187. "diffmgqtya": {
  18188. "description": "套保变动量",
  18189. "type": "number"
  18190. },
  18191. "diffmgqtyb": {
  18192. "description": "套利变动量",
  18193. "type": "number"
  18194. },
  18195. "diffqty": {
  18196. "description": "变动量(总敞口)",
  18197. "type": "number"
  18198. },
  18199. "diffspotqty": {
  18200. "description": "变动量(现货)",
  18201. "type": "number"
  18202. },
  18203. "enddate": {
  18204. "description": "结束交易日",
  18205. "type": "string"
  18206. },
  18207. "enumdicname": {
  18208. "description": "单位名称",
  18209. "type": "string"
  18210. },
  18211. "hedgeqty": {
  18212. "description": "套保量",
  18213. "type": "number"
  18214. },
  18215. "mgneedhedgeratio": {
  18216. "description": "套保比例(套保品的)",
  18217. "type": "number"
  18218. },
  18219. "middlegoodsid": {
  18220. "description": "套保品种ID",
  18221. "type": "integer"
  18222. },
  18223. "middlegoodsname": {
  18224. "description": "套保商品名称",
  18225. "type": "string"
  18226. },
  18227. "middlgoodscode": {
  18228. "description": "套保商品代码",
  18229. "type": "string"
  18230. },
  18231. "needarbitrageqty": {
  18232. "description": "应套利量",
  18233. "type": "number"
  18234. },
  18235. "needarbitrageratio": {
  18236. "description": "套利比例(套保品的)",
  18237. "type": "number"
  18238. },
  18239. "needhedgeexposoure": {
  18240. "description": "应套保敞口(套保敞口)",
  18241. "type": "number"
  18242. },
  18243. "needhedgeqty": {
  18244. "description": "应套保量",
  18245. "type": "number"
  18246. },
  18247. "needhedgeratio": {
  18248. "description": "应套保敞口比例",
  18249. "type": "number"
  18250. },
  18251. "oriarbitrageqty": {
  18252. "description": "期初套利量",
  18253. "type": "number"
  18254. },
  18255. "oribuyfutureqty": {
  18256. "description": "期初买入期货数量",
  18257. "type": "number"
  18258. },
  18259. "oribuyplanqty": {
  18260. "description": "期初采购计划数量",
  18261. "type": "number"
  18262. },
  18263. "oribuypricedqty": {
  18264. "description": "期初采购合同已定价数量",
  18265. "type": "number"
  18266. },
  18267. "orihedgeqty": {
  18268. "description": "期初套保量",
  18269. "type": "number"
  18270. },
  18271. "orineedarbitrageqty": {
  18272. "description": "期初应套利量",
  18273. "type": "number"
  18274. },
  18275. "orineedhedgeexposoure": {
  18276. "description": "期初应套保敞口",
  18277. "type": "number"
  18278. },
  18279. "orineedhedgeqty": {
  18280. "description": "期初应套保量",
  18281. "type": "number"
  18282. },
  18283. "orisellfutureqty": {
  18284. "description": "期初卖出期货数量",
  18285. "type": "number"
  18286. },
  18287. "orisellplanqty": {
  18288. "description": "期初销售计划数量",
  18289. "type": "number"
  18290. },
  18291. "orisellpricedqty": {
  18292. "description": "期初销售合同已定价数量",
  18293. "type": "number"
  18294. },
  18295. "oritotalexposure": {
  18296. "description": "期初实时总敞口",
  18297. "type": "number"
  18298. },
  18299. "oritotalfutureqty": {
  18300. "description": "期初期货头寸总量",
  18301. "type": "number"
  18302. },
  18303. "oritotalneedhedgeqty": {
  18304. "description": "期初应套保总量",
  18305. "type": "number"
  18306. },
  18307. "oritotalspotqty": {
  18308. "description": "期初现货头寸总量",
  18309. "type": "number"
  18310. },
  18311. "reckondate": {
  18312. "description": "日照时期(yyyyMMdd)",
  18313. "type": "string"
  18314. },
  18315. "sellfutureqty": {
  18316. "description": "卖出期货数量",
  18317. "type": "number"
  18318. },
  18319. "sellplanqty": {
  18320. "description": "销售计划数量",
  18321. "type": "number"
  18322. },
  18323. "sellpricedqty": {
  18324. "description": "销售合同已定价数量",
  18325. "type": "number"
  18326. },
  18327. "totalexposure": {
  18328. "description": "实时总敞口(总敞口)",
  18329. "type": "number"
  18330. },
  18331. "totalfutureqty": {
  18332. "description": "期货头寸总量(期货总量)",
  18333. "type": "number"
  18334. },
  18335. "totalhedgeratio": {
  18336. "description": "敞口比例",
  18337. "type": "number"
  18338. },
  18339. "totalneedhedgeqty": {
  18340. "description": "应套保总量(现货应套保总量)",
  18341. "type": "number"
  18342. },
  18343. "totalspotqty": {
  18344. "description": "现货头寸总量",
  18345. "type": "number"
  18346. },
  18347. "unitid": {
  18348. "description": "单位id",
  18349. "type": "integer"
  18350. },
  18351. "updatetime": {
  18352. "description": "更新时间",
  18353. "type": "string"
  18354. }
  18355. }
  18356. },
  18357. "models.Ermcp3FinanceReport": {
  18358. "type": "object",
  18359. "properties": {
  18360. "accountname": {
  18361. "description": "机构名称",
  18362. "type": "string"
  18363. },
  18364. "areauserid": {
  18365. "description": "所属机构\\交易用户ID",
  18366. "type": "integer"
  18367. },
  18368. "begindate": {
  18369. "description": "开始交易日",
  18370. "type": "string"
  18371. },
  18372. "biztype": {
  18373. "description": "业务类型 - 1:套保 2:套利",
  18374. "type": "integer"
  18375. },
  18376. "brandname": {
  18377. "description": "品牌名称",
  18378. "type": "string"
  18379. },
  18380. "buypreinvoicedamount": {
  18381. "description": "采购预收票额(预收票额)",
  18382. "type": "number"
  18383. },
  18384. "buyprepaidamount": {
  18385. "description": "采购预付款额(预付货款额)",
  18386. "type": "number"
  18387. },
  18388. "buytodayinvoiceamount": {
  18389. "description": "采购今收票额(今收票额)",
  18390. "type": "number"
  18391. },
  18392. "buytodayrefundamount": {
  18393. "description": "采购今收退款额(今收退款额)",
  18394. "type": "number"
  18395. },
  18396. "buytodaysettleamount": {
  18397. "description": "采购今付款额(今付货款额)",
  18398. "type": "number"
  18399. },
  18400. "buyuninvoicedamount": {
  18401. "description": "采购应收票额(应收票额)",
  18402. "type": "number"
  18403. },
  18404. "buyunpaidamount": {
  18405. "description": "采购应付款额(应付货款额)",
  18406. "type": "number"
  18407. },
  18408. "currencyid": {
  18409. "description": "结算币种ID",
  18410. "type": "integer"
  18411. },
  18412. "currencyname": {
  18413. "description": "币种名称",
  18414. "type": "string"
  18415. },
  18416. "cycletime": {
  18417. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  18418. "type": "string"
  18419. },
  18420. "cycletype": {
  18421. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  18422. "type": "integer"
  18423. },
  18424. "deliverygoodscode": {
  18425. "description": "现货品种代码",
  18426. "type": "string"
  18427. },
  18428. "deliverygoodsid": {
  18429. "description": "现货品种ID",
  18430. "type": "integer"
  18431. },
  18432. "deliverygoodsname": {
  18433. "description": "现货品种名称",
  18434. "type": "string"
  18435. },
  18436. "enddate": {
  18437. "description": "结束交易日",
  18438. "type": "string"
  18439. },
  18440. "reckondate": {
  18441. "description": "日照时期(yyyyMMdd)",
  18442. "type": "string"
  18443. },
  18444. "sellpreinvoicedamount": {
  18445. "description": "销售预开票额(预开票额)",
  18446. "type": "number"
  18447. },
  18448. "sellprepaidamount": {
  18449. "description": "销售预收款额(预收货款额)",
  18450. "type": "number"
  18451. },
  18452. "selltodayinvoiceamount": {
  18453. "description": "销售今开票额(今开票额)",
  18454. "type": "number"
  18455. },
  18456. "selltodayrefundamount": {
  18457. "description": "销售今付退款额(今付退款额)",
  18458. "type": "number"
  18459. },
  18460. "selltodaysettleamount": {
  18461. "description": "销售今收款额(今收货款额)",
  18462. "type": "number"
  18463. },
  18464. "selluninvoicedamount": {
  18465. "description": "销售应开票额(应开票额)",
  18466. "type": "number"
  18467. },
  18468. "sellunpaidamount": {
  18469. "description": "销售应收款额(应收货款额)",
  18470. "type": "number"
  18471. },
  18472. "spotgoodsbrandid": {
  18473. "description": "现货品牌ID",
  18474. "type": "integer"
  18475. },
  18476. "todaypaysum": {
  18477. "description": "今付款合计",
  18478. "type": "number"
  18479. },
  18480. "todayreceivesum": {
  18481. "description": "今收款合计",
  18482. "type": "number"
  18483. },
  18484. "updatetime": {
  18485. "description": "更新时间",
  18486. "type": "string"
  18487. },
  18488. "wrfactortypeid": {
  18489. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  18490. "type": "integer"
  18491. },
  18492. "wrstandardcode": {
  18493. "description": "品类代码",
  18494. "type": "string"
  18495. },
  18496. "wrstandardid": {
  18497. "description": "现货商品ID",
  18498. "type": "integer"
  18499. },
  18500. "wrstandardname": {
  18501. "description": "品类名称",
  18502. "type": "string"
  18503. }
  18504. }
  18505. },
  18506. "models.Ermcp3Goods": {
  18507. "type": "object",
  18508. "properties": {
  18509. "agreeunit": {
  18510. "description": "合约单位(合约乘数)",
  18511. "type": "number"
  18512. },
  18513. "enumdicname": {
  18514. "description": "单位名称",
  18515. "type": "string"
  18516. },
  18517. "exexchangecode": {
  18518. "description": "交易所代码",
  18519. "type": "string"
  18520. },
  18521. "goodscode": {
  18522. "description": "期货商品代码",
  18523. "type": "string"
  18524. },
  18525. "goodsid": {
  18526. "description": "期货商品id",
  18527. "type": "integer"
  18528. },
  18529. "goodsname": {
  18530. "description": "期货商品名称",
  18531. "type": "string"
  18532. }
  18533. }
  18534. },
  18535. "models.Ermcp3GoodsGroup": {
  18536. "type": "object",
  18537. "required": [
  18538. "areauserid"
  18539. ],
  18540. "properties": {
  18541. "agreeunit": {
  18542. "description": "合约单位",
  18543. "type": "number"
  18544. },
  18545. "areauserid": {
  18546. "description": "所属机构id(套保品是有areauserid的,当要排除已配置商品组时需要areauserid过滤)",
  18547. "type": "integer"
  18548. },
  18549. "canshort": {
  18550. "description": "是否允许做空[通道交易] - 0:不能做空 1:可以做空",
  18551. "type": "integer"
  18552. },
  18553. "closepricemode": {
  18554. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  18555. "type": "integer"
  18556. },
  18557. "createtime": {
  18558. "description": "创建时间",
  18559. "type": "string"
  18560. },
  18561. "creatorid": {
  18562. "description": "创建人",
  18563. "type": "integer"
  18564. },
  18565. "currencyid": {
  18566. "description": "报价货币ID",
  18567. "type": "integer"
  18568. },
  18569. "decimalplace": {
  18570. "description": "报价小数位",
  18571. "type": "integer"
  18572. },
  18573. "enumdicname": {
  18574. "description": "单位名称",
  18575. "type": "string"
  18576. },
  18577. "exchangefullname": {
  18578. "description": "交易所全称",
  18579. "type": "string"
  18580. },
  18581. "excludecfg": {
  18582. "description": "排除套保品已配置期货分类下的商品组(但显示已配置商品组) 1-排除",
  18583. "type": "integer"
  18584. },
  18585. "exexchangecode": {
  18586. "description": "交易所代码",
  18587. "type": "string"
  18588. },
  18589. "exexchangeid": {
  18590. "description": "外部交易所ID[通道交易]",
  18591. "type": "integer"
  18592. },
  18593. "exexchangename": {
  18594. "description": "交易所名称",
  18595. "type": "string"
  18596. },
  18597. "goodsgroupid": {
  18598. "description": "商品组ID(自增ID)",
  18599. "type": "integer"
  18600. },
  18601. "goodsgroupname": {
  18602. "description": "商品组名称",
  18603. "type": "string"
  18604. },
  18605. "goodsgroupstatus": {
  18606. "description": "商品组状态 - 1:正常 2:注销",
  18607. "type": "integer"
  18608. },
  18609. "goodunitid": {
  18610. "description": "报价单位ID",
  18611. "type": "integer"
  18612. },
  18613. "groupcategroyid": {
  18614. "description": "品种分类ID",
  18615. "type": "integer"
  18616. },
  18617. "innerdealmode": {
  18618. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  18619. "type": "integer"
  18620. },
  18621. "marketid": {
  18622. "description": "所属市场ID",
  18623. "type": "integer"
  18624. },
  18625. "modifierid": {
  18626. "description": "修改人",
  18627. "type": "integer"
  18628. },
  18629. "modifytime": {
  18630. "description": "修改时间",
  18631. "type": "string"
  18632. },
  18633. "outerdealmode": {
  18634. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  18635. "type": "integer"
  18636. },
  18637. "outergroupcode": {
  18638. "description": "外部商品组代码[通道交易]",
  18639. "type": "string"
  18640. },
  18641. "quoteminunit": {
  18642. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  18643. "type": "integer"
  18644. },
  18645. "quotesourcegroupid": {
  18646. "description": "所属行情源分组ID[参考行情市场用\\通道交易]",
  18647. "type": "integer"
  18648. },
  18649. "syncgoodsqty": {
  18650. "description": "同步合约数[通道交易-投资管理用] - 0表示不限",
  18651. "type": "integer"
  18652. }
  18653. }
  18654. },
  18655. "models.Ermcp3GoodsGroupEx": {
  18656. "type": "object",
  18657. "properties": {
  18658. "convertratio": {
  18659. "description": "折算系数(品种系数)",
  18660. "type": "number"
  18661. },
  18662. "enumdicname": {
  18663. "description": "单位名称",
  18664. "type": "string"
  18665. },
  18666. "exexchangecode": {
  18667. "description": "交易所代码",
  18668. "type": "string"
  18669. },
  18670. "glist": {
  18671. "description": "合约列表",
  18672. "type": "array",
  18673. "items": {
  18674. "$ref": "#/definitions/models.Ermcp3Goods"
  18675. }
  18676. },
  18677. "goodsgroupid": {
  18678. "description": "商品组id",
  18679. "type": "integer"
  18680. },
  18681. "goodsgroupname": {
  18682. "description": "商品组名称",
  18683. "type": "string"
  18684. },
  18685. "goodsunitid": {
  18686. "description": "单位id",
  18687. "type": "integer"
  18688. },
  18689. "middlegoodsid": {
  18690. "description": "套保商品id",
  18691. "type": "integer"
  18692. }
  18693. }
  18694. },
  18695. "models.Ermcp3HedgePlan": {
  18696. "type": "object",
  18697. "properties": {
  18698. "accountid": {
  18699. "description": "资金账号",
  18700. "type": "integer"
  18701. },
  18702. "areauserid": {
  18703. "description": "用户ID",
  18704. "type": "integer"
  18705. },
  18706. "auditid": {
  18707. "description": "审核id",
  18708. "type": "integer"
  18709. },
  18710. "auditname": {
  18711. "description": "审核人名称",
  18712. "type": "string"
  18713. },
  18714. "auditremark": {
  18715. "description": "审核备注",
  18716. "type": "string"
  18717. },
  18718. "auditsrc": {
  18719. "description": "审核来源 1-管理端 2-终端",
  18720. "type": "integer"
  18721. },
  18722. "audittime": {
  18723. "description": "审核时间",
  18724. "type": "string"
  18725. },
  18726. "contracttype": {
  18727. "description": "计划类型 - 1:采购 -1:销售",
  18728. "type": "integer"
  18729. },
  18730. "convertfactor": {
  18731. "description": "标仓系数",
  18732. "type": "number"
  18733. },
  18734. "createtime": {
  18735. "description": "创建时间",
  18736. "type": "string"
  18737. },
  18738. "currencyid": {
  18739. "description": "币种id",
  18740. "type": "integer"
  18741. },
  18742. "currencyname": {
  18743. "description": "币种名称",
  18744. "type": "string"
  18745. },
  18746. "deliverygoodscode": {
  18747. "description": "现货品种代码",
  18748. "type": "string"
  18749. },
  18750. "deliverygoodsid": {
  18751. "description": "现货品种ID",
  18752. "type": "integer"
  18753. },
  18754. "deliverygoodsname": {
  18755. "description": "现货品种名称",
  18756. "type": "string"
  18757. },
  18758. "enumdicname": {
  18759. "description": "单位名称(现货商品)",
  18760. "type": "string"
  18761. },
  18762. "hedgeplanid": {
  18763. "description": "套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)",
  18764. "type": "string"
  18765. },
  18766. "hedgeplanno": {
  18767. "description": "套保计划编号(名称)",
  18768. "type": "string"
  18769. },
  18770. "hedgeplanstatus": {
  18771. "description": "套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  18772. "type": "integer"
  18773. },
  18774. "planqty": {
  18775. "description": "计划数量",
  18776. "type": "number"
  18777. },
  18778. "plantime": {
  18779. "description": "计划时间",
  18780. "type": "string"
  18781. },
  18782. "producttype": {
  18783. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  18784. "type": "integer"
  18785. },
  18786. "remark": {
  18787. "description": "备注",
  18788. "type": "string"
  18789. },
  18790. "spotgoodsdesc": {
  18791. "description": "商品型号",
  18792. "type": "string"
  18793. },
  18794. "taaccountname": {
  18795. "description": "资金账号名称",
  18796. "type": "string"
  18797. },
  18798. "tradeuserid": {
  18799. "description": "交易用户id",
  18800. "type": "integer"
  18801. },
  18802. "tradeusername": {
  18803. "description": "交易用户名称",
  18804. "type": "string"
  18805. },
  18806. "unitid": {
  18807. "description": "单位id(现货商品)",
  18808. "type": "integer"
  18809. },
  18810. "updatetime": {
  18811. "description": "更新时间",
  18812. "type": "string"
  18813. },
  18814. "wrstandardcode": {
  18815. "description": "品类代码",
  18816. "type": "string"
  18817. },
  18818. "wrstandardid": {
  18819. "description": "品类id",
  18820. "type": "integer"
  18821. },
  18822. "wrstandardname": {
  18823. "description": "品类名称",
  18824. "type": "string"
  18825. },
  18826. "wrunitid": {
  18827. "description": "品类单位id",
  18828. "type": "integer"
  18829. },
  18830. "wrunitidame": {
  18831. "description": "品类单位名称",
  18832. "type": "string"
  18833. }
  18834. }
  18835. },
  18836. "models.Ermcp3MiddleGoodsDetail2": {
  18837. "type": "object",
  18838. "properties": {
  18839. "convertratio": {
  18840. "description": "套保系数(折算系数)",
  18841. "type": "number"
  18842. },
  18843. "gplist": {
  18844. "description": "关联商品组列表",
  18845. "type": "array",
  18846. "items": {
  18847. "$ref": "#/definitions/models.Ermcp3GoodsGroupEx"
  18848. }
  18849. },
  18850. "mg": {
  18851. "description": "套保商品信息",
  18852. "type": "object",
  18853. "$ref": "#/definitions/models.ErmcpMiddleGoodsModel"
  18854. }
  18855. }
  18856. },
  18857. "models.Ermcp3MiddleGoodsDetailEx": {
  18858. "type": "object",
  18859. "properties": {
  18860. "dglist": {
  18861. "description": "关联的现货品种列表",
  18862. "type": "array",
  18863. "items": {
  18864. "$ref": "#/definitions/models.ErmcpDeliveryGoodsDetail2"
  18865. }
  18866. },
  18867. "gplist": {
  18868. "description": "关联商品组列表",
  18869. "type": "array",
  18870. "items": {
  18871. "$ref": "#/definitions/models.Ermcp3GoodsGroupEx"
  18872. }
  18873. },
  18874. "mg": {
  18875. "description": "套保商品信息",
  18876. "type": "object",
  18877. "$ref": "#/definitions/models.ErmcpMiddleGoodsModel"
  18878. }
  18879. }
  18880. },
  18881. "models.Ermcp3RootUserAccount": {
  18882. "type": "object",
  18883. "properties": {
  18884. "accountname": {
  18885. "description": "账户名称(机构名称)",
  18886. "type": "string"
  18887. },
  18888. "accountstatus": {
  18889. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  18890. "type": "integer"
  18891. },
  18892. "applysrc": {
  18893. "description": "申请来源 - 1:管理端 2:终端",
  18894. "type": "integer"
  18895. },
  18896. "auditremark": {
  18897. "description": "审核备注",
  18898. "type": "string"
  18899. },
  18900. "auditsrc": {
  18901. "description": "审核来源 - 1:管理端 2:终端",
  18902. "type": "integer"
  18903. },
  18904. "audittime": {
  18905. "description": "审核时间",
  18906. "type": "string"
  18907. },
  18908. "audituserid": {
  18909. "description": "审核人",
  18910. "type": "integer"
  18911. },
  18912. "broker": {
  18913. "description": "所属经纪人ID",
  18914. "type": "integer"
  18915. },
  18916. "canceltime": {
  18917. "description": "销户时间",
  18918. "type": "string"
  18919. },
  18920. "canceluserid": {
  18921. "description": "销户人",
  18922. "type": "integer"
  18923. },
  18924. "canrecommend": {
  18925. "description": "是否可推荐 - 0:不可 1;可",
  18926. "type": "integer"
  18927. },
  18928. "createtime": {
  18929. "description": "创建时间",
  18930. "type": "string"
  18931. },
  18932. "creatorid": {
  18933. "description": "创建人",
  18934. "type": "integer"
  18935. },
  18936. "hasauth": {
  18937. "description": "是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝",
  18938. "type": "integer"
  18939. },
  18940. "isanonymous": {
  18941. "description": "是否匿名下单 - 0:否 1:是",
  18942. "type": "integer"
  18943. },
  18944. "maxinvestornum": {
  18945. "description": "最大用户数(经纪会员下投资者个数)",
  18946. "type": "integer"
  18947. },
  18948. "memberuserid": {
  18949. "description": "所属会员ID",
  18950. "type": "integer"
  18951. },
  18952. "modifierid": {
  18953. "description": "修改人",
  18954. "type": "integer"
  18955. },
  18956. "modifyremark": {
  18957. "description": "变更备注",
  18958. "type": "string"
  18959. },
  18960. "modifystatus": {
  18961. "description": "变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)",
  18962. "type": "integer"
  18963. },
  18964. "modifytime": {
  18965. "description": "修改时间",
  18966. "type": "string"
  18967. },
  18968. "parenttopuser": {
  18969. "description": "上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的\"ParentTopUser\"]",
  18970. "type": "string"
  18971. },
  18972. "parentuserid": {
  18973. "description": "所属机构ID",
  18974. "type": "integer"
  18975. },
  18976. "reckonaccountid": {
  18977. "description": "默认结算资金账号ID(机构分润使用) 作废",
  18978. "type": "integer"
  18979. },
  18980. "refercount": {
  18981. "description": "推荐总人数",
  18982. "type": "integer"
  18983. },
  18984. "refereeuserid": {
  18985. "description": "推荐人ID",
  18986. "type": "integer"
  18987. },
  18988. "refernum": {
  18989. "description": "推荐码",
  18990. "type": "string"
  18991. },
  18992. "rootuserid": {
  18993. "description": "根用户ID",
  18994. "type": "integer"
  18995. },
  18996. "subaccountlevel": {
  18997. "description": "子账户层数",
  18998. "type": "integer"
  18999. },
  19000. "subarealevelpath": {
  19001. "description": "子机构层级路径(逗号分隔,首尾加逗号)",
  19002. "type": "string"
  19003. },
  19004. "userid": {
  19005. "description": "用户ID",
  19006. "type": "integer"
  19007. },
  19008. "usertype": {
  19009. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  19010. "type": "integer"
  19011. }
  19012. }
  19013. },
  19014. "models.Ermcp3SellBuyContract": {
  19015. "type": "object",
  19016. "properties": {
  19017. "accountid": {
  19018. "description": "期货账户id",
  19019. "type": "string"
  19020. },
  19021. "accountname": {
  19022. "description": "账户名称",
  19023. "type": "string"
  19024. },
  19025. "attachment": {
  19026. "description": "附件",
  19027. "type": "string"
  19028. },
  19029. "audittime": {
  19030. "description": "审核时间",
  19031. "type": "string"
  19032. },
  19033. "biztype": {
  19034. "description": "业务类型 1-套保 2-套利",
  19035. "type": "integer"
  19036. },
  19037. "brandname": {
  19038. "description": "品牌名称",
  19039. "type": "string"
  19040. },
  19041. "contracctstatus": {
  19042. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  19043. "type": "integer"
  19044. },
  19045. "contractmargin": {
  19046. "description": "合同保证金",
  19047. "type": "number"
  19048. },
  19049. "contractno": {
  19050. "description": "合同编号",
  19051. "type": "string"
  19052. },
  19053. "contracttype": {
  19054. "description": "合同类型 1-采购, -1-销售",
  19055. "type": "integer"
  19056. },
  19057. "convertfactor": {
  19058. "description": "标仓系数(品类)",
  19059. "type": "number"
  19060. },
  19061. "createtime": {
  19062. "description": "创建时间",
  19063. "type": "string"
  19064. },
  19065. "currencyid": {
  19066. "description": "币种id",
  19067. "type": "integer"
  19068. },
  19069. "currencyname": {
  19070. "description": "币种名称",
  19071. "type": "string"
  19072. },
  19073. "daikaiamount": {
  19074. "description": "应收(开)票额",
  19075. "type": "number"
  19076. },
  19077. "deliveryenddate": {
  19078. "description": "交割结束日",
  19079. "type": "string"
  19080. },
  19081. "deliverygoodscode": {
  19082. "description": "现货品种代码",
  19083. "type": "string"
  19084. },
  19085. "deliverygoodsid": {
  19086. "description": "现货商品ID",
  19087. "type": "integer"
  19088. },
  19089. "deliverygoodsname": {
  19090. "description": "现货品种名称",
  19091. "type": "string"
  19092. },
  19093. "deliverystartdate": {
  19094. "description": "交割开始日",
  19095. "type": "string"
  19096. },
  19097. "enddate": {
  19098. "description": "点价结束日",
  19099. "type": "string"
  19100. },
  19101. "enumdicname": {
  19102. "description": "单位名称",
  19103. "type": "string"
  19104. },
  19105. "goodscode": {
  19106. "description": "点价商品代码",
  19107. "type": "string"
  19108. },
  19109. "goodsid": {
  19110. "description": "点价商品ID",
  19111. "type": "integer"
  19112. },
  19113. "goodsname": {
  19114. "description": "点价商品名称",
  19115. "type": "string"
  19116. },
  19117. "invoiceamount": {
  19118. "description": "已开票额",
  19119. "type": "number"
  19120. },
  19121. "loanamount": {
  19122. "description": "贷款总额=已定价额+调整金额",
  19123. "type": "number"
  19124. },
  19125. "margin": {
  19126. "description": "保证金",
  19127. "type": "number"
  19128. },
  19129. "meruserid": {
  19130. "description": "跟单员id",
  19131. "type": "integer"
  19132. },
  19133. "meruserlogincode": {
  19134. "description": "跟单员登录代码",
  19135. "type": "string"
  19136. },
  19137. "merusername": {
  19138. "description": "跟单员名称",
  19139. "type": "string"
  19140. },
  19141. "nickname": {
  19142. "description": "账户昵称",
  19143. "type": "string"
  19144. },
  19145. "payamount": {
  19146. "description": "已收付额(收款或付款)",
  19147. "type": "number"
  19148. },
  19149. "preinvoiceamount": {
  19150. "description": "预收(开)票额",
  19151. "type": "number"
  19152. },
  19153. "prepayamount": {
  19154. "description": "预收付额",
  19155. "type": "number"
  19156. },
  19157. "price": {
  19158. "description": "价格",
  19159. "type": "number"
  19160. },
  19161. "pricedamount": {
  19162. "description": "已定价额",
  19163. "type": "number"
  19164. },
  19165. "pricedavg": {
  19166. "description": "已点均价",
  19167. "type": "number"
  19168. },
  19169. "pricedqty": {
  19170. "description": "已定价量",
  19171. "type": "number"
  19172. },
  19173. "pricemove": {
  19174. "description": "升贴水",
  19175. "type": "number"
  19176. },
  19177. "pricetype": {
  19178. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  19179. "type": "integer"
  19180. },
  19181. "producttype": {
  19182. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  19183. "type": "integer"
  19184. },
  19185. "qty": {
  19186. "description": "合同量",
  19187. "type": "number"
  19188. },
  19189. "reckonadjustamount": {
  19190. "description": "调整金额",
  19191. "type": "number"
  19192. },
  19193. "reckonedamount": {
  19194. "description": "实际已收付额(已确定额,已收付总额-已退款总额)",
  19195. "type": "number"
  19196. },
  19197. "reckonotheramount": {
  19198. "description": "其它费用",
  19199. "type": "number"
  19200. },
  19201. "reckonrealqty": {
  19202. "description": "已确定量",
  19203. "type": "number"
  19204. },
  19205. "remark": {
  19206. "description": "备注",
  19207. "type": "string"
  19208. },
  19209. "saleuserid": {
  19210. "description": "业务员id",
  19211. "type": "integer"
  19212. },
  19213. "saleuserlogincode": {
  19214. "description": "业务员登录代码",
  19215. "type": "string"
  19216. },
  19217. "saleusername": {
  19218. "description": "业务员名称",
  19219. "type": "string"
  19220. },
  19221. "spotcontractid": {
  19222. "description": "合同ID",
  19223. "type": "string"
  19224. },
  19225. "spotgoodsbrandid": {
  19226. "description": "现货品牌ID(DGFactoryItem表的ID)",
  19227. "type": "integer"
  19228. },
  19229. "spotgoodsdesc": {
  19230. "description": "商品型号(商品规格)",
  19231. "type": "string"
  19232. },
  19233. "startdate": {
  19234. "description": "点价开始日",
  19235. "type": "string"
  19236. },
  19237. "totalamount": {
  19238. "description": "合计总额",
  19239. "type": "number"
  19240. },
  19241. "tradeuserid": {
  19242. "description": "交易员id",
  19243. "type": "integer"
  19244. },
  19245. "tradeuserlogincode": {
  19246. "description": "交易员登录代码",
  19247. "type": "string"
  19248. },
  19249. "tradeusername": {
  19250. "description": "交易员名称",
  19251. "type": "string"
  19252. },
  19253. "unpayamount": {
  19254. "description": "应收付款额(应支付或应收款)",
  19255. "type": "number"
  19256. },
  19257. "unpricedqty": {
  19258. "description": "未定价量",
  19259. "type": "number"
  19260. },
  19261. "unsureqty": {
  19262. "description": "未确定量",
  19263. "type": "number"
  19264. },
  19265. "userid": {
  19266. "description": "机构ID",
  19267. "type": "integer"
  19268. },
  19269. "wrstandardcode": {
  19270. "description": "品类代码",
  19271. "type": "string"
  19272. },
  19273. "wrstandardid": {
  19274. "description": "品类ID",
  19275. "type": "integer"
  19276. },
  19277. "wrstandardname": {
  19278. "description": "品类名称",
  19279. "type": "string"
  19280. }
  19281. }
  19282. },
  19283. "models.Ermcp3SpotGoodsPrice": {
  19284. "type": "object",
  19285. "properties": {
  19286. "areauserid": {
  19287. "description": "所属机构id",
  19288. "type": "integer"
  19289. },
  19290. "brandname": {
  19291. "description": "品牌名称",
  19292. "type": "string"
  19293. },
  19294. "currencyid": {
  19295. "description": "报价货币ID",
  19296. "type": "integer"
  19297. },
  19298. "currencyname": {
  19299. "description": "币种名称",
  19300. "type": "string"
  19301. },
  19302. "deliverygoodscode": {
  19303. "description": "现货商品代码",
  19304. "type": "string"
  19305. },
  19306. "deliverygoodsid": {
  19307. "description": "现货商品id",
  19308. "type": "integer"
  19309. },
  19310. "deliverygoodsname": {
  19311. "description": "现货商品名称",
  19312. "type": "string"
  19313. },
  19314. "enumdicname": {
  19315. "description": "现货商品单位名称",
  19316. "type": "string"
  19317. },
  19318. "gbenumdicname": {
  19319. "description": "品类单位名称",
  19320. "type": "string"
  19321. },
  19322. "gmunitid": {
  19323. "description": "品类单位id",
  19324. "type": "integer"
  19325. },
  19326. "isvalid": {
  19327. "description": "是否有效 - 0:无效 1:有效",
  19328. "type": "integer"
  19329. },
  19330. "operateid": {
  19331. "description": "最后操作人",
  19332. "type": "integer"
  19333. },
  19334. "operatesrc": {
  19335. "description": "最后操作来源 - 1:管理端 2:终端",
  19336. "type": "integer"
  19337. },
  19338. "operatetime": {
  19339. "description": "最后操作时间",
  19340. "type": "string"
  19341. },
  19342. "operatorname": {
  19343. "description": "操作人名称",
  19344. "type": "string"
  19345. },
  19346. "spotgoodsbrandid": {
  19347. "description": "现货品牌ID(通用则为0, 不为0则须先有品类ID)",
  19348. "type": "integer"
  19349. },
  19350. "spotgoodsprice": {
  19351. "description": "现货价格",
  19352. "type": "number"
  19353. },
  19354. "tradedate": {
  19355. "description": "交易日(yyyyMMdd)",
  19356. "type": "string"
  19357. },
  19358. "unitid": {
  19359. "description": "现货商品单位id",
  19360. "type": "integer"
  19361. },
  19362. "wrstandardcode": {
  19363. "description": "品类代码",
  19364. "type": "string"
  19365. },
  19366. "wrstandardid": {
  19367. "description": "现货品类ID(通用则为0)",
  19368. "type": "integer"
  19369. },
  19370. "wrstandardname": {
  19371. "description": "品类名称",
  19372. "type": "string"
  19373. }
  19374. }
  19375. },
  19376. "models.Ermcp3SpotGoodsPriceLog": {
  19377. "type": "object",
  19378. "properties": {
  19379. "areauserid": {
  19380. "description": "所属机构id",
  19381. "type": "integer"
  19382. },
  19383. "brandname": {
  19384. "description": "品牌名称",
  19385. "type": "string"
  19386. },
  19387. "currencyid": {
  19388. "description": "报价货币ID",
  19389. "type": "integer"
  19390. },
  19391. "deliverygoodscode": {
  19392. "description": "现货商品代码",
  19393. "type": "string"
  19394. },
  19395. "deliverygoodsid": {
  19396. "description": "现货商品id",
  19397. "type": "integer"
  19398. },
  19399. "deliverygoodsname": {
  19400. "description": "现货商品名称",
  19401. "type": "string"
  19402. },
  19403. "enumdicname": {
  19404. "description": "现货商品单位名称",
  19405. "type": "string"
  19406. },
  19407. "gbenumdicname": {
  19408. "description": "品类单位名称",
  19409. "type": "string"
  19410. },
  19411. "gmunitid": {
  19412. "description": "品类单位id",
  19413. "type": "integer"
  19414. },
  19415. "logid": {
  19416. "description": "日志id",
  19417. "type": "integer"
  19418. },
  19419. "operateid": {
  19420. "description": "最后操作人",
  19421. "type": "integer"
  19422. },
  19423. "operatesrc": {
  19424. "description": "最后操作来源 - 1:管理端 2:终端",
  19425. "type": "integer"
  19426. },
  19427. "operatetime": {
  19428. "description": "最后操作时间",
  19429. "type": "string"
  19430. },
  19431. "operatorname": {
  19432. "description": "操作人名称",
  19433. "type": "string"
  19434. },
  19435. "spotgoodsbrandid": {
  19436. "description": "现货品牌ID(通用则为0, 不为0则须先有品类ID)",
  19437. "type": "integer"
  19438. },
  19439. "spotgoodsprice": {
  19440. "description": "现货价格",
  19441. "type": "number"
  19442. },
  19443. "tradedate": {
  19444. "description": "交易日(yyyyMMdd)",
  19445. "type": "string"
  19446. },
  19447. "unitid": {
  19448. "description": "现货商品单位id",
  19449. "type": "integer"
  19450. },
  19451. "wrstandardcode": {
  19452. "description": "品类代码",
  19453. "type": "string"
  19454. },
  19455. "wrstandardid": {
  19456. "description": "现货品类ID(通用则为0)",
  19457. "type": "integer"
  19458. },
  19459. "wrstandardname": {
  19460. "description": "品类名称",
  19461. "type": "string"
  19462. }
  19463. }
  19464. },
  19465. "models.Ermcp3TaFutuReDataReport": {
  19466. "type": "object",
  19467. "properties": {
  19468. "accountid": {
  19469. "description": "交易账户",
  19470. "type": "integer"
  19471. },
  19472. "accountname": {
  19473. "description": "交易账号名称",
  19474. "type": "string"
  19475. },
  19476. "agreeunit": {
  19477. "description": "商品合约单位",
  19478. "type": "number"
  19479. },
  19480. "begindate": {
  19481. "description": "开始交易日",
  19482. "type": "string"
  19483. },
  19484. "buyorsell": {
  19485. "description": "持仓方向",
  19486. "type": "integer"
  19487. },
  19488. "charge": {
  19489. "description": "手续费",
  19490. "type": "number"
  19491. },
  19492. "closeavgprice": {
  19493. "description": "平仓均价",
  19494. "type": "number"
  19495. },
  19496. "closepl": {
  19497. "description": "平仓损益",
  19498. "type": "number"
  19499. },
  19500. "currencyid": {
  19501. "description": "结算币种ID",
  19502. "type": "integer"
  19503. },
  19504. "currencyname": {
  19505. "description": "币种名称",
  19506. "type": "string"
  19507. },
  19508. "cycletime": {
  19509. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  19510. "type": "string"
  19511. },
  19512. "cycletype": {
  19513. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  19514. "type": "integer"
  19515. },
  19516. "enddate": {
  19517. "description": "结束交易日",
  19518. "type": "string"
  19519. },
  19520. "enumdicname": {
  19521. "description": "单位名称",
  19522. "type": "string"
  19523. },
  19524. "floatpl": {
  19525. "description": "浮动损益",
  19526. "type": "number"
  19527. },
  19528. "goodscode": {
  19529. "description": "交易合约代码",
  19530. "type": "string"
  19531. },
  19532. "goodsgroupid": {
  19533. "description": "交易品种",
  19534. "type": "integer"
  19535. },
  19536. "goodsgroupname": {
  19537. "description": "交易品种名称",
  19538. "type": "string"
  19539. },
  19540. "goodsgroupspotqty": {
  19541. "description": "交易品种期末量 (= 期末持仓量 * 合约乘数)",
  19542. "type": "number"
  19543. },
  19544. "goodsid": {
  19545. "description": "交易合约",
  19546. "type": "integer"
  19547. },
  19548. "goodsname": {
  19549. "description": "交易合约名称",
  19550. "type": "string"
  19551. },
  19552. "goodunitid": {
  19553. "description": "交易合约单位id",
  19554. "type": "integer"
  19555. },
  19556. "holdamount": {
  19557. "description": "期末持仓额",
  19558. "type": "number"
  19559. },
  19560. "holdqty": {
  19561. "description": "期末持仓量",
  19562. "type": "number"
  19563. },
  19564. "lastholdamount": {
  19565. "description": "当前持仓额",
  19566. "type": "number"
  19567. },
  19568. "lastprice": {
  19569. "description": "最新价",
  19570. "type": "number"
  19571. },
  19572. "middlegoodsid": {
  19573. "description": "套保品种id",
  19574. "type": "integer"
  19575. },
  19576. "middlegoodsname": {
  19577. "description": "套保商品名称",
  19578. "type": "string"
  19579. },
  19580. "middlegoodsqty": {
  19581. "description": "套保品种期末量 (=交易品种期末量 * 期货品种折算系数)",
  19582. "type": "number"
  19583. },
  19584. "middlgoodscode": {
  19585. "description": "套保商品代码",
  19586. "type": "string"
  19587. },
  19588. "openamount": {
  19589. "description": "期末开仓额",
  19590. "type": "number"
  19591. },
  19592. "openavgprice": {
  19593. "description": "开仓均价",
  19594. "type": "number"
  19595. },
  19596. "oriholdamount": {
  19597. "description": "期初持仓额",
  19598. "type": "number"
  19599. },
  19600. "oriholdqty": {
  19601. "description": "期初持仓量",
  19602. "type": "number"
  19603. },
  19604. "oriopenamount": {
  19605. "description": "期初开仓额",
  19606. "type": "number"
  19607. },
  19608. "outergroupcode": {
  19609. "description": "交易品种代码",
  19610. "type": "string"
  19611. },
  19612. "qtydecimalplace": {
  19613. "description": "成交量小数位",
  19614. "type": "integer"
  19615. },
  19616. "reckondate": {
  19617. "description": "日照时期(yyyyMMdd)",
  19618. "type": "string"
  19619. },
  19620. "reckonholdamount": {
  19621. "description": "结算持仓额",
  19622. "type": "number"
  19623. },
  19624. "reckonpl": {
  19625. "description": "结算损益",
  19626. "type": "number"
  19627. },
  19628. "reckonpl2": {
  19629. "description": "结算逐笔盈亏",
  19630. "type": "number"
  19631. },
  19632. "reckonprice": {
  19633. "description": "结算价",
  19634. "type": "number"
  19635. },
  19636. "relateduserid": {
  19637. "description": "账户关联用户ID",
  19638. "type": "integer"
  19639. },
  19640. "todaycloseamount": {
  19641. "description": "今平仓额",
  19642. "type": "number"
  19643. },
  19644. "todaycloseqty": {
  19645. "description": "今平仓量",
  19646. "type": "number"
  19647. },
  19648. "todaygoodsgroupspotqty": {
  19649. "description": "交易品种变化量 (=(期末持仓量 - 期初持仓量)* 合约乘数)",
  19650. "type": "number"
  19651. },
  19652. "todaymiddlegoodsqty": {
  19653. "description": "套保品种变化量 (= 交易品种变化量*期货品种折算系数)",
  19654. "type": "number"
  19655. },
  19656. "todayopenamount": {
  19657. "description": "今开仓额",
  19658. "type": "number"
  19659. },
  19660. "todayopenqty": {
  19661. "description": "今开仓量",
  19662. "type": "number"
  19663. },
  19664. "userid": {
  19665. "description": "账户所属用户ID",
  19666. "type": "integer"
  19667. }
  19668. }
  19669. },
  19670. "models.Ermcp3Wrstandard": {
  19671. "type": "object",
  19672. "properties": {
  19673. "areauserid": {
  19674. "description": "所属机构",
  19675. "type": "integer"
  19676. },
  19677. "cantrade": {
  19678. "description": "是否允许交易 - 0:不允许 1:允许 -1:未配置(数据库里没有记录)",
  19679. "type": "integer"
  19680. },
  19681. "convertfactor": {
  19682. "description": "标仓系数",
  19683. "type": "number"
  19684. },
  19685. "createtime": {
  19686. "description": "创建时间",
  19687. "type": "string"
  19688. },
  19689. "creatorid": {
  19690. "description": "创建人",
  19691. "type": "integer"
  19692. },
  19693. "deliverygoodsid": {
  19694. "description": "现货品种ID",
  19695. "type": "integer"
  19696. },
  19697. "enumdicname": {
  19698. "description": "品类单位名称",
  19699. "type": "string"
  19700. },
  19701. "isvalid": {
  19702. "description": "是否有效 0-无效(停用) 1-有效(正常)",
  19703. "type": "integer"
  19704. },
  19705. "minivalue": {
  19706. "description": "最小变动值",
  19707. "type": "integer"
  19708. },
  19709. "minivaluedp": {
  19710. "description": "最小变动值小数位",
  19711. "type": "integer"
  19712. },
  19713. "realminivalue": {
  19714. "description": "实际最小变动值",
  19715. "type": "integer"
  19716. },
  19717. "realminivaluedp": {
  19718. "description": "实际最小变动值小数位",
  19719. "type": "integer"
  19720. },
  19721. "remark": {
  19722. "description": "备注",
  19723. "type": "string"
  19724. },
  19725. "unitid": {
  19726. "description": "品类单位ID",
  19727. "type": "integer"
  19728. },
  19729. "updatetime": {
  19730. "description": "更新时间",
  19731. "type": "string"
  19732. },
  19733. "wrstandardcode": {
  19734. "description": "品类代码",
  19735. "type": "string"
  19736. },
  19737. "wrstandardid": {
  19738. "description": "品类ID(SEQ_WRSTANDARD)",
  19739. "type": "integer"
  19740. },
  19741. "wrstandardname": {
  19742. "description": "品类名称",
  19743. "type": "string"
  19744. }
  19745. }
  19746. },
  19747. "models.ErmcpAreaSpotDetailModel": {
  19748. "type": "object",
  19749. "properties": {
  19750. "contracttype": {
  19751. "description": "合同类型 1-采购 -1-销售",
  19752. "type": "integer"
  19753. },
  19754. "createtime": {
  19755. "description": "创建时间",
  19756. "type": "string"
  19757. },
  19758. "enumdicname": {
  19759. "description": "现货商品单位名称",
  19760. "type": "string"
  19761. },
  19762. "logtype": {
  19763. "description": "记录类型 1-套保 2-现货合同",
  19764. "type": "integer"
  19765. },
  19766. "qty": {
  19767. "description": "数量",
  19768. "type": "number"
  19769. },
  19770. "recordname": {
  19771. "description": "类型名称",
  19772. "type": "string"
  19773. },
  19774. "relatedid": {
  19775. "description": "套保计划ID/现货合同ID",
  19776. "type": "string"
  19777. },
  19778. "relatedno": {
  19779. "description": "编号",
  19780. "type": "string"
  19781. },
  19782. "strtime": {
  19783. "description": "时间",
  19784. "type": "string"
  19785. },
  19786. "wrstandardcode": {
  19787. "description": "现货商品代码",
  19788. "type": "string"
  19789. },
  19790. "wrstandardname": {
  19791. "description": "现货商品名称",
  19792. "type": "string"
  19793. }
  19794. }
  19795. },
  19796. "models.ErmcpAvalidGoodsGroupModel": {
  19797. "type": "object",
  19798. "properties": {
  19799. "goodsgroupid": {
  19800. "description": "期货品种id",
  19801. "type": "integer"
  19802. },
  19803. "goodsgroupname": {
  19804. "description": "期货品种名称",
  19805. "type": "string"
  19806. },
  19807. "goodunitid": {
  19808. "description": "品种单位id",
  19809. "type": "integer"
  19810. },
  19811. "goodunitname": {
  19812. "description": "品种单位名称",
  19813. "type": "string"
  19814. },
  19815. "outergroupcode": {
  19816. "description": "期货品种代码",
  19817. "type": "string"
  19818. }
  19819. }
  19820. },
  19821. "models.ErmcpBizGroupEx": {
  19822. "type": "object",
  19823. "properties": {
  19824. "acclist": {
  19825. "description": "账号列表",
  19826. "type": "array",
  19827. "items": {
  19828. "$ref": "#/definitions/models.ErmcpBizGroupTaAccount"
  19829. }
  19830. },
  19831. "bizgroupid": {
  19832. "description": "业务分组id",
  19833. "type": "integer"
  19834. },
  19835. "biztype": {
  19836. "description": "业务类型 1-套保 2-套利",
  19837. "type": "integer"
  19838. },
  19839. "wrlist": {
  19840. "description": "现货商品表",
  19841. "type": "array",
  19842. "items": {
  19843. "$ref": "#/definitions/models.ErmcpBizGroupSpotGoods"
  19844. }
  19845. }
  19846. }
  19847. },
  19848. "models.ErmcpBizGroupSpotGoods": {
  19849. "type": "object",
  19850. "properties": {
  19851. "areauserid": {
  19852. "description": "所属机构id",
  19853. "type": "integer"
  19854. },
  19855. "bizgroupid": {
  19856. "description": "分组id",
  19857. "type": "integer"
  19858. },
  19859. "biztype": {
  19860. "description": "业务类型 1-套保 2-套利",
  19861. "type": "integer"
  19862. },
  19863. "deliverygoodscode": {
  19864. "description": "现货商品代码",
  19865. "type": "string"
  19866. },
  19867. "deliverygoodsid": {
  19868. "description": "现货商品id",
  19869. "type": "integer"
  19870. },
  19871. "deliverygoodsname": {
  19872. "description": "现货商品名称",
  19873. "type": "string"
  19874. },
  19875. "unitid": {
  19876. "description": "现货商品单位id",
  19877. "type": "integer"
  19878. }
  19879. }
  19880. },
  19881. "models.ErmcpBizGroupTaAccount": {
  19882. "type": "object",
  19883. "properties": {
  19884. "accountid": {
  19885. "description": "账号id",
  19886. "type": "integer"
  19887. },
  19888. "accountname": {
  19889. "description": "账号名称",
  19890. "type": "string"
  19891. },
  19892. "areauserid": {
  19893. "description": "所属机构id",
  19894. "type": "integer"
  19895. },
  19896. "bizgroupid": {
  19897. "description": "业务分组id",
  19898. "type": "integer"
  19899. },
  19900. "ismain": {
  19901. "description": "是否主账号 1-是 0-否",
  19902. "type": "integer"
  19903. }
  19904. }
  19905. },
  19906. "models.ErmcpDGFactoryItem": {
  19907. "type": "object",
  19908. "properties": {
  19909. "areauserid": {
  19910. "description": "用户id",
  19911. "type": "integer"
  19912. },
  19913. "deliverygoodsid": {
  19914. "description": "现货品种ID",
  19915. "type": "integer"
  19916. },
  19917. "dgfactoryitemid": {
  19918. "description": "选择项ID(SEQ_DGFACTORYITEM)",
  19919. "type": "integer"
  19920. },
  19921. "dgfactoryitemtypeid": {
  19922. "description": "要素项类型",
  19923. "type": "integer"
  19924. },
  19925. "dgfactoryitemvalue": {
  19926. "description": "要素项值(类型为仓库时填写仓库名称)",
  19927. "type": "string"
  19928. },
  19929. "isvalid": {
  19930. "description": "是否有效 - 0:无效 1:有效",
  19931. "type": "integer"
  19932. },
  19933. "orderindex": {
  19934. "description": "顺序",
  19935. "type": "integer"
  19936. },
  19937. "warehouseid": {
  19938. "description": "仓库ID(类型为仓库时填写)",
  19939. "type": "integer"
  19940. }
  19941. }
  19942. },
  19943. "models.ErmcpDeliveryGoods": {
  19944. "type": "object",
  19945. "properties": {
  19946. "agreeunit": {
  19947. "description": "合约单位[散货时默认为1, 整装时默认为标准数量]",
  19948. "type": "integer"
  19949. },
  19950. "areauserid": {
  19951. "description": "所属机构",
  19952. "type": "integer"
  19953. },
  19954. "auditflag": {
  19955. "description": "交割是否需要审核 - 0:不需要 1:需要审核 默认为0",
  19956. "type": "integer"
  19957. },
  19958. "categoryid": {
  19959. "description": "类别ID(SEQ_WRCATEGORY)",
  19960. "type": "integer"
  19961. },
  19962. "deliverygoodscode": {
  19963. "description": "现货品种代码",
  19964. "type": "string"
  19965. },
  19966. "deliverygoodsid": {
  19967. "description": "现货品种ID(SEQ_DELIVERYGOODS)",
  19968. "type": "integer"
  19969. },
  19970. "deliverygoodsname": {
  19971. "description": "现货品种名称",
  19972. "type": "string"
  19973. },
  19974. "deliverygoodstype": {
  19975. "description": "现货品种类型: 1-整装不拆分 2-散装记录明细 3:整装拆分 4:散装不记录明细",
  19976. "type": "integer"
  19977. },
  19978. "dgstatus": {
  19979. "description": "品种状态 - 作废 - 0:未激活 1:正常",
  19980. "type": "integer"
  19981. },
  19982. "enumdicname": {
  19983. "description": "现货品种单位名称",
  19984. "type": "string"
  19985. },
  19986. "goodsunitid": {
  19987. "description": "现货品种单位ID",
  19988. "type": "integer"
  19989. },
  19990. "isvalid": {
  19991. "description": "是否有效 - 0:无效 1:有效",
  19992. "type": "integer"
  19993. },
  19994. "qtydecimalplace": {
  19995. "description": "成交量小数位",
  19996. "type": "integer"
  19997. },
  19998. "remark": {
  19999. "description": "备注",
  20000. "type": "string"
  20001. },
  20002. "standardqty": {
  20003. "description": "标准数量(库位数量) [标准品特有]",
  20004. "type": "integer"
  20005. },
  20006. "standardqtyrange": {
  20007. "description": "标准数量偏差范围 [标准品特有]",
  20008. "type": "integer"
  20009. }
  20010. }
  20011. },
  20012. "models.ErmcpDeliveryGoodsDetail2": {
  20013. "type": "object",
  20014. "properties": {
  20015. "convertratio": {
  20016. "description": "套保系数(折算系数)",
  20017. "type": "number"
  20018. },
  20019. "data": {
  20020. "description": "现货商品基本信息(交割品种)",
  20021. "type": "object",
  20022. "$ref": "#/definitions/models.ErmcpDeliveryGoods"
  20023. },
  20024. "gblist": {
  20025. "description": "品牌列表",
  20026. "type": "array",
  20027. "items": {
  20028. "$ref": "#/definitions/models.Ermcp3Brand"
  20029. }
  20030. },
  20031. "gmlist": {
  20032. "description": "品类列表(仓单标准)",
  20033. "type": "array",
  20034. "items": {
  20035. "$ref": "#/definitions/models.Ermcp3Wrstandard"
  20036. }
  20037. }
  20038. }
  20039. },
  20040. "models.ErmcpDeliveryGoodsDetailEx": {
  20041. "type": "object",
  20042. "properties": {
  20043. "data": {
  20044. "description": "现货商品基本信息(交割品种)",
  20045. "type": "object",
  20046. "$ref": "#/definitions/models.ErmcpDeliveryGoods"
  20047. },
  20048. "gblist": {
  20049. "description": "品牌列表",
  20050. "type": "array",
  20051. "items": {
  20052. "$ref": "#/definitions/models.Ermcp3Brand"
  20053. }
  20054. },
  20055. "gmlist": {
  20056. "description": "品类列表(仓单标准)",
  20057. "type": "array",
  20058. "items": {
  20059. "$ref": "#/definitions/models.Ermcp3Wrstandard"
  20060. }
  20061. },
  20062. "mgList": {
  20063. "description": "套保列表",
  20064. "type": "array",
  20065. "items": {
  20066. "$ref": "#/definitions/models.Ermcp3MiddleGoodsDetail2"
  20067. }
  20068. }
  20069. }
  20070. },
  20071. "models.ErmcpExposureDetailModel": {
  20072. "type": "object",
  20073. "properties": {
  20074. "areauserid": {
  20075. "description": "机构ID",
  20076. "type": "integer"
  20077. },
  20078. "changeQty": {
  20079. "description": "套保变动量",
  20080. "type": "number"
  20081. },
  20082. "contracttype": {
  20083. "description": "现货合同类型 - 1:采购 -1:销售",
  20084. "type": "integer"
  20085. },
  20086. "convertfactor": {
  20087. "description": "标仓系数",
  20088. "type": "number"
  20089. },
  20090. "convertratio": {
  20091. "description": "套保系数",
  20092. "type": "number"
  20093. },
  20094. "createtime": {
  20095. "description": "时间",
  20096. "type": "string"
  20097. },
  20098. "enumdicname": {
  20099. "description": "现货商品单位名称",
  20100. "type": "string"
  20101. },
  20102. "logtype": {
  20103. "description": "类型 - 1:套保计划 2:现货合同",
  20104. "type": "integer"
  20105. },
  20106. "middlegoodsId": {
  20107. "description": "套保商品id",
  20108. "type": "integer"
  20109. },
  20110. "middlegoodscode": {
  20111. "description": "套保商品代码",
  20112. "type": "string"
  20113. },
  20114. "middlegoodsname": {
  20115. "description": "套保商品名称",
  20116. "type": "string"
  20117. },
  20118. "qty": {
  20119. "description": "数量",
  20120. "type": "number"
  20121. },
  20122. "relateNo": {
  20123. "description": "现货合同/套保计划编号",
  20124. "type": "string"
  20125. },
  20126. "wrstandardcode": {
  20127. "description": "现货商品代码",
  20128. "type": "string"
  20129. },
  20130. "wrstandardid": {
  20131. "description": "现货商品ID",
  20132. "type": "integer"
  20133. },
  20134. "wrstandardname": {
  20135. "description": "现货商品名称",
  20136. "type": "string"
  20137. }
  20138. }
  20139. },
  20140. "models.ErmcpExposurePostion": {
  20141. "type": "object",
  20142. "properties": {
  20143. "agreeunit": {
  20144. "description": "合约单位",
  20145. "type": "string"
  20146. },
  20147. "areauserid": {
  20148. "description": "所属机构id",
  20149. "type": "integer"
  20150. },
  20151. "convertratio": {
  20152. "description": "期货品种系数(折算系数)",
  20153. "type": "number"
  20154. },
  20155. "curqty": {
  20156. "description": "当前持仓",
  20157. "type": "integer"
  20158. },
  20159. "diffhedgeqty": {
  20160. "description": "套保品种变动量=持仓变动量*期货合约单位*期货品种系数",
  20161. "type": "number"
  20162. },
  20163. "diffqty": {
  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. "middlegoodsid": {
  20180. "description": "套保商品id",
  20181. "type": "integer"
  20182. },
  20183. "ydqty": {
  20184. "description": "昨日持仓",
  20185. "type": "integer"
  20186. }
  20187. }
  20188. },
  20189. "models.ErmcpFuturesCompany": {
  20190. "type": "object",
  20191. "properties": {
  20192. "brokerid": {
  20193. "description": "经纪公司代码",
  20194. "type": "string"
  20195. },
  20196. "channeladdress": {
  20197. "description": "对冲渠道服务地址(多个地址用逗号分隔) -- 192.168.30.10:3000,192.168.30.10:3001",
  20198. "type": "string"
  20199. },
  20200. "channelid": {
  20201. "description": "对冲渠道ID",
  20202. "type": "string"
  20203. },
  20204. "createtime": {
  20205. "description": "创建时间",
  20206. "type": "string"
  20207. },
  20208. "creatorid": {
  20209. "description": "创建人",
  20210. "type": "string"
  20211. },
  20212. "fcid": {
  20213. "description": "期货公司ID(SEQ_ERMCP_FUTURESCOMPANY)",
  20214. "type": "integer"
  20215. },
  20216. "fcname": {
  20217. "description": "期货公司名称",
  20218. "type": "string"
  20219. },
  20220. "isvalid": {
  20221. "description": "是否有效 - 0:无效 1:有效",
  20222. "type": "integer"
  20223. },
  20224. "mhpaddress": {
  20225. "description": "MHP服务地址(IP:Port)",
  20226. "type": "string"
  20227. },
  20228. "riskrulegroupid": {
  20229. "description": "风控规则组ID",
  20230. "type": "string"
  20231. },
  20232. "tradefeetmpid": {
  20233. "description": "手续费模板ID[TradeConfigTmpType为2]",
  20234. "type": "string"
  20235. },
  20236. "trademargintmpid": {
  20237. "description": "保证金模板ID [TradeConfigTmpType为1]",
  20238. "type": "string"
  20239. },
  20240. "traderatetmpid": {
  20241. "description": "汇率模板ID[TradeConfigTmpType为3]",
  20242. "type": "string"
  20243. },
  20244. "updatetime": {
  20245. "description": "更新时间",
  20246. "type": "string"
  20247. },
  20248. "updatorid": {
  20249. "description": "更新人",
  20250. "type": "string"
  20251. }
  20252. }
  20253. },
  20254. "models.ErmcpGGConvertCfg": {
  20255. "type": "object",
  20256. "properties": {
  20257. "convertratio": {
  20258. "description": "折算系数",
  20259. "type": "number"
  20260. },
  20261. "destgoodsgroupid": {
  20262. "description": "目标品种ID",
  20263. "type": "integer"
  20264. },
  20265. "dstcode": {
  20266. "description": "目录品种代码",
  20267. "type": "string"
  20268. },
  20269. "dstexchangecode": {
  20270. "description": "目标期货交易所",
  20271. "type": "string"
  20272. },
  20273. "dstname": {
  20274. "description": "目标品种名称",
  20275. "type": "string"
  20276. },
  20277. "dstunitid": {
  20278. "description": "目标品种单位ID",
  20279. "type": "integer"
  20280. },
  20281. "dstunitidname": {
  20282. "description": "目标品种单位名称",
  20283. "type": "string"
  20284. },
  20285. "modifytime": {
  20286. "description": "修改时间",
  20287. "type": "string"
  20288. },
  20289. "srccode": {
  20290. "description": "源品种代码",
  20291. "type": "string"
  20292. },
  20293. "srcexchangecode": {
  20294. "description": "源期货交易所",
  20295. "type": "string"
  20296. },
  20297. "srcgoodsgroupid": {
  20298. "description": "源品种ID",
  20299. "type": "integer"
  20300. },
  20301. "srcname": {
  20302. "description": "源品种名称",
  20303. "type": "string"
  20304. },
  20305. "srcunitid": {
  20306. "description": "源品种单位ID",
  20307. "type": "integer"
  20308. },
  20309. "srcunitidname": {
  20310. "description": "源品种单位名称",
  20311. "type": "string"
  20312. }
  20313. }
  20314. },
  20315. "models.ErmcpGoods": {
  20316. "type": "object",
  20317. "required": [
  20318. "goodscode",
  20319. "goodsid",
  20320. "goodsname",
  20321. "marketid"
  20322. ],
  20323. "properties": {
  20324. "agreeunit": {
  20325. "description": "合约单位",
  20326. "type": "number"
  20327. },
  20328. "areauserid": {
  20329. "description": "所属机构",
  20330. "type": "integer"
  20331. },
  20332. "auditaccountid": {
  20333. "description": "审核操作员账号",
  20334. "type": "integer"
  20335. },
  20336. "audittime": {
  20337. "description": "审核时间",
  20338. "type": "string"
  20339. },
  20340. "cancelaccountid": {
  20341. "description": "注销操作员账号",
  20342. "type": "integer"
  20343. },
  20344. "canceltime": {
  20345. "description": "注销时间",
  20346. "type": "string"
  20347. },
  20348. "closepricemode": {
  20349. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  20350. "type": "integer"
  20351. },
  20352. "closepriceparam": {
  20353. "description": "强平最新价浮动比例 - 方式为2时使用 (\u003c1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价",
  20354. "type": "number"
  20355. },
  20356. "createtime": {
  20357. "description": "创建时间",
  20358. "type": "string"
  20359. },
  20360. "creatorid": {
  20361. "description": "创建人",
  20362. "type": "integer"
  20363. },
  20364. "currencyid": {
  20365. "description": "报价货币ID",
  20366. "type": "integer"
  20367. },
  20368. "cutmode": {
  20369. "description": "斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓",
  20370. "type": "integer"
  20371. },
  20372. "decimalplace": {
  20373. "description": "报价小数位",
  20374. "type": "integer"
  20375. },
  20376. "delistingdate": {
  20377. "description": "商品退市时间(状态:退市) -- 已作废",
  20378. "type": "string"
  20379. },
  20380. "delistingmode": {
  20381. "description": "退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\\币币兑换)",
  20382. "type": "integer"
  20383. },
  20384. "deliveryflag": {
  20385. "description": "交割标志 - 0:不可交割 1:可交割",
  20386. "type": "integer"
  20387. },
  20388. "enumdicname": {
  20389. "description": "单位名称",
  20390. "type": "string"
  20391. },
  20392. "forceclosemode": {
  20393. "description": "定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]",
  20394. "type": "integer"
  20395. },
  20396. "forceclosevalue": {
  20397. "description": "定期强平参数 [收益权]",
  20398. "type": "integer"
  20399. },
  20400. "goodscode": {
  20401. "description": "商品代码(内部)",
  20402. "type": "string"
  20403. },
  20404. "goodscurrencyid": {
  20405. "description": "合约货币ID",
  20406. "type": "integer"
  20407. },
  20408. "goodsgroupid": {
  20409. "description": "所属商品组ID",
  20410. "type": "integer"
  20411. },
  20412. "goodsid": {
  20413. "description": "商品ID(自增ID SEQ_GOODS)",
  20414. "type": "integer"
  20415. },
  20416. "goodsname": {
  20417. "description": "商品名称",
  20418. "type": "string"
  20419. },
  20420. "goodsquotetype": {
  20421. "description": "合约报价类型: 1-直接报价 2-间接报价",
  20422. "type": "integer"
  20423. },
  20424. "goodsstatus": {
  20425. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  20426. "type": "integer"
  20427. },
  20428. "goodstradetype": {
  20429. "description": "商品交易权限类型 - 1:可建可平 3:不可建可平",
  20430. "type": "integer"
  20431. },
  20432. "goodunitid": {
  20433. "description": "报价单位ID",
  20434. "type": "integer"
  20435. },
  20436. "hasquoter": {
  20437. "description": "是否有报价商 - 0:无报价商 1:有报价商",
  20438. "type": "integer"
  20439. },
  20440. "hqprotecttime": {
  20441. "description": "行情保护时间(秒)",
  20442. "type": "integer"
  20443. },
  20444. "innerdealmode": {
  20445. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  20446. "type": "integer"
  20447. },
  20448. "isbuylimited": {
  20449. "description": "是否限制建仓量 - 0:不限制 1:限制",
  20450. "type": "integer"
  20451. },
  20452. "isvisible": {
  20453. "description": "游客是否可见 - 0:不可见 1:可见",
  20454. "type": "integer"
  20455. },
  20456. "lasttradedate": {
  20457. "description": "最后交易日期(状态:待退市)",
  20458. "type": "string"
  20459. },
  20460. "listingdate": {
  20461. "description": "交易开始日期",
  20462. "type": "string"
  20463. },
  20464. "marketid": {
  20465. "description": "所属市场ID",
  20466. "type": "integer"
  20467. },
  20468. "modifierid": {
  20469. "description": "修改人",
  20470. "type": "integer"
  20471. },
  20472. "modifystatus": {
  20473. "description": "变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核",
  20474. "type": "integer"
  20475. },
  20476. "modifytime": {
  20477. "description": "修改时间",
  20478. "type": "string"
  20479. },
  20480. "outerdealmode": {
  20481. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  20482. "type": "integer"
  20483. },
  20484. "outgoodscode": {
  20485. "description": "商品代码(外部)",
  20486. "type": "string"
  20487. },
  20488. "pictureurl": {
  20489. "description": "商品图片",
  20490. "type": "string"
  20491. },
  20492. "qtydecimalplace": {
  20493. "description": "成交量小数位",
  20494. "type": "integer"
  20495. },
  20496. "quotegear": {
  20497. "description": "行情档位(1-10)",
  20498. "type": "integer"
  20499. },
  20500. "quoteminunit": {
  20501. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  20502. "type": "integer"
  20503. },
  20504. "quoteshowtype": {
  20505. "description": "行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价",
  20506. "type": "integer"
  20507. },
  20508. "quoteshowtypeinterval": {
  20509. "description": "行情报价间隔时间(秒)(成交价时为0)",
  20510. "type": "integer"
  20511. },
  20512. "relatedgoodsid": {
  20513. "description": "关联参考商品ID",
  20514. "type": "integer"
  20515. },
  20516. "remark": {
  20517. "description": "备注",
  20518. "type": "string"
  20519. },
  20520. "trademode": {
  20521. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  20522. "type": "integer"
  20523. }
  20524. }
  20525. },
  20526. "models.ErmcpGoodsBrand": {
  20527. "type": "object",
  20528. "properties": {
  20529. "areauserid": {
  20530. "description": "所属机构",
  20531. "type": "integer"
  20532. },
  20533. "brandid": {
  20534. "description": "BrandID(SEQ_SPOTGOODSBRAND)",
  20535. "type": "integer"
  20536. },
  20537. "brandname": {
  20538. "description": "品牌名称",
  20539. "type": "string"
  20540. },
  20541. "createtime": {
  20542. "description": "创建时间",
  20543. "type": "string"
  20544. },
  20545. "creatorid": {
  20546. "description": "创建人",
  20547. "type": "integer"
  20548. },
  20549. "creatorsrc": {
  20550. "description": "创建人来源 - 1:管理端 2:终端",
  20551. "type": "integer"
  20552. },
  20553. "deliverygoodsid": {
  20554. "description": "现货品种ID",
  20555. "type": "integer"
  20556. },
  20557. "isvalid": {
  20558. "description": "是否有效 - 0:无效 1:有效",
  20559. "type": "integer"
  20560. },
  20561. "updatetime": {
  20562. "description": "更新时间",
  20563. "type": "string"
  20564. },
  20565. "updatorid": {
  20566. "description": "更新人",
  20567. "type": "integer"
  20568. },
  20569. "updatorsrc": {
  20570. "description": "更新人来源 - 1:管理端 2:终端",
  20571. "type": "integer"
  20572. },
  20573. "wrstandardid": {
  20574. "description": "现货商品ID",
  20575. "type": "integer"
  20576. }
  20577. }
  20578. },
  20579. "models.ErmcpGoodsModel": {
  20580. "type": "object",
  20581. "properties": {
  20582. "areauserid": {
  20583. "description": "所属机构",
  20584. "type": "integer"
  20585. },
  20586. "convertfactor": {
  20587. "description": "标仓系数",
  20588. "type": "number"
  20589. },
  20590. "createtime": {
  20591. "description": "创建时间",
  20592. "type": "string"
  20593. },
  20594. "creatorid": {
  20595. "description": "创建人",
  20596. "type": "integer"
  20597. },
  20598. "creatorsrc": {
  20599. "description": "创建人来源 - 1:管理端 2:终端",
  20600. "type": "integer"
  20601. },
  20602. "deliverygoodsid": {
  20603. "description": "现货品种ID",
  20604. "type": "integer"
  20605. },
  20606. "isvalid": {
  20607. "description": "是否有效 - 0:无效 1:有效",
  20608. "type": "integer"
  20609. },
  20610. "modelid": {
  20611. "description": "ModelID(SEQ_SPOTGOODSMODEL)",
  20612. "type": "integer"
  20613. },
  20614. "modelname": {
  20615. "description": "型号名称",
  20616. "type": "string"
  20617. },
  20618. "updatetime": {
  20619. "description": "更新时间",
  20620. "type": "string"
  20621. },
  20622. "updatorid": {
  20623. "description": "更新人",
  20624. "type": "integer"
  20625. },
  20626. "updatorsrc": {
  20627. "description": "更新人来源 - 1:管理端 2:终端",
  20628. "type": "integer"
  20629. },
  20630. "wrstandardid": {
  20631. "description": "现货商品ID",
  20632. "type": "integer"
  20633. }
  20634. }
  20635. },
  20636. "models.ErmcpHedgePosition": {
  20637. "type": "object",
  20638. "properties": {
  20639. "accountid": {
  20640. "description": "资金账号[外部母账户]",
  20641. "type": "integer"
  20642. },
  20643. "curbuyposition": {
  20644. "description": "期末买头寸",
  20645. "type": "integer"
  20646. },
  20647. "cursellposition": {
  20648. "description": "期末卖头寸",
  20649. "type": "integer"
  20650. },
  20651. "curtdbuyposition": {
  20652. "description": "期末今日买头寸",
  20653. "type": "integer"
  20654. },
  20655. "curtdsellposition": {
  20656. "description": "期末今日卖头寸",
  20657. "type": "integer"
  20658. },
  20659. "curydbuyposition": {
  20660. "description": "期末上日买头寸",
  20661. "type": "integer"
  20662. },
  20663. "curydsellposition": {
  20664. "description": "期末上日卖头寸",
  20665. "type": "integer"
  20666. },
  20667. "decreaseqty": {
  20668. "description": "减少数量 = (期末卖头寸 - 期初卖头寸)*-1",
  20669. "type": "integer"
  20670. },
  20671. "fretdbuyposition": {
  20672. "description": "冻结今日买头寸",
  20673. "type": "integer"
  20674. },
  20675. "fretdsellposition": {
  20676. "description": "冻结今日卖头寸",
  20677. "type": "integer"
  20678. },
  20679. "freydbuyposition": {
  20680. "description": "冻结上日买头寸",
  20681. "type": "integer"
  20682. },
  20683. "freydsellposition": {
  20684. "description": "冻结上日卖头寸",
  20685. "type": "integer"
  20686. },
  20687. "goodscode": {
  20688. "description": "商品代码",
  20689. "type": "string"
  20690. },
  20691. "goodsid": {
  20692. "description": "商品id",
  20693. "type": "integer"
  20694. },
  20695. "goodsname": {
  20696. "description": "商品名称",
  20697. "type": "string"
  20698. },
  20699. "hedgeaccountcode": {
  20700. "description": "对冲账号",
  20701. "type": "string"
  20702. },
  20703. "hedgegoodsid": {
  20704. "description": "对冲合约ID",
  20705. "type": "integer"
  20706. },
  20707. "increaseqty": {
  20708. "description": "增加数量 = 期末买头寸 - 期初买头寸",
  20709. "type": "integer"
  20710. },
  20711. "marketid": {
  20712. "description": "市场ID",
  20713. "type": "integer"
  20714. },
  20715. "relateduserid": {
  20716. "description": "关联用户id",
  20717. "type": "integer"
  20718. },
  20719. "totalcurqty": {
  20720. "description": "当前数量(净头寸) = 期末买头寸 - 期末卖头寸",
  20721. "type": "integer"
  20722. },
  20723. "totalydqty": {
  20724. "description": "昨日数量(净头寸) = 期初买头寸 - 期初卖头寸",
  20725. "type": "integer"
  20726. },
  20727. "tradedate": {
  20728. "description": "交易日(yyyyMMdd)",
  20729. "type": "string"
  20730. },
  20731. "ydbuyposition": {
  20732. "description": "期初买头寸",
  20733. "type": "integer"
  20734. },
  20735. "ydsellposition": {
  20736. "description": "期初卖头寸",
  20737. "type": "integer"
  20738. }
  20739. }
  20740. },
  20741. "models.ErmcpHedgePositionDetail": {
  20742. "type": "object",
  20743. "properties": {
  20744. "buyorsell": {
  20745. "description": "买卖方向 0-买 1-卖",
  20746. "type": "integer"
  20747. },
  20748. "channelbuildtype": {
  20749. "description": "开平方向 1-建仓 2-平仓",
  20750. "type": "integer"
  20751. },
  20752. "goodscode": {
  20753. "description": "商品代码",
  20754. "type": "string"
  20755. },
  20756. "goodsname": {
  20757. "description": "商品名称",
  20758. "type": "string"
  20759. },
  20760. "hedgegoodsid": {
  20761. "description": "商品id",
  20762. "type": "integer"
  20763. },
  20764. "tradeqty": {
  20765. "description": "数量(成交数量)",
  20766. "type": "integer"
  20767. },
  20768. "tradetime": {
  20769. "description": "时间(成交时间)",
  20770. "type": "string"
  20771. }
  20772. }
  20773. },
  20774. "models.ErmcpHisExposure": {
  20775. "type": "object",
  20776. "properties": {
  20777. "needhedgeexposoure": {
  20778. "description": "应套保敞口",
  20779. "type": "number"
  20780. },
  20781. "reckondate": {
  20782. "description": "日照时期(yyyyMMdd)",
  20783. "type": "string"
  20784. },
  20785. "totalexposure": {
  20786. "description": "总敞口",
  20787. "type": "number"
  20788. }
  20789. }
  20790. },
  20791. "models.ErmcpHisExposureS": {
  20792. "type": "object",
  20793. "properties": {
  20794. "data": {
  20795. "description": "历史敞口",
  20796. "type": "array",
  20797. "items": {
  20798. "$ref": "#/definitions/models.ErmcpHisExposure"
  20799. }
  20800. },
  20801. "enumdicname": {
  20802. "description": "单位名称",
  20803. "type": "string"
  20804. },
  20805. "middlegoodscode": {
  20806. "description": "套保品种代码",
  20807. "type": "string"
  20808. },
  20809. "middlegoodsid": {
  20810. "description": "套保品种ID",
  20811. "type": "integer"
  20812. },
  20813. "middlegoodsname": {
  20814. "description": "套保品种名称",
  20815. "type": "string"
  20816. }
  20817. }
  20818. },
  20819. "models.ErmcpLoginTaAccount": {
  20820. "type": "object",
  20821. "properties": {
  20822. "accountid": {
  20823. "description": "账号id",
  20824. "type": "integer"
  20825. },
  20826. "accountname": {
  20827. "description": "账号名称",
  20828. "type": "string"
  20829. }
  20830. }
  20831. },
  20832. "models.ErmcpLoginUser": {
  20833. "type": "object",
  20834. "properties": {
  20835. "acclist": {
  20836. "description": "关联资金账号",
  20837. "type": "array",
  20838. "items": {
  20839. "$ref": "#/definitions/models.ErmcpLoginTaAccount"
  20840. }
  20841. },
  20842. "accountname": {
  20843. "description": "用户名称",
  20844. "type": "string"
  20845. },
  20846. "clientroleid": {
  20847. "description": "角色id(usertype=2)",
  20848. "type": "integer"
  20849. },
  20850. "createtime": {
  20851. "description": "创建时间",
  20852. "type": "string"
  20853. },
  20854. "logincode": {
  20855. "description": "登录代码",
  20856. "type": "string"
  20857. },
  20858. "loginid": {
  20859. "description": "登录id(LOGINID)",
  20860. "type": "integer"
  20861. },
  20862. "loginname": {
  20863. "description": "登录名称(loginaccount表中的accountname字段)",
  20864. "type": "string"
  20865. },
  20866. "loginstatus": {
  20867. "description": "登录账户状态 - 1:正常 2:冻结 3:无效",
  20868. "type": "integer"
  20869. },
  20870. "memberuserid": {
  20871. "description": "所属会员id",
  20872. "type": "integer"
  20873. },
  20874. "mobile": {
  20875. "description": "手机号",
  20876. "type": "string"
  20877. },
  20878. "modifytime": {
  20879. "description": "修改时间",
  20880. "type": "string"
  20881. },
  20882. "password": {
  20883. "description": "密码(不可解密)",
  20884. "type": "string"
  20885. },
  20886. "rolename": {
  20887. "description": "角色名称",
  20888. "type": "string"
  20889. },
  20890. "rolestatus": {
  20891. "description": "角色状态 1-启用 2-停用",
  20892. "type": "integer"
  20893. },
  20894. "roletype": {
  20895. "description": "角色类型(逗号隔开,如22,23), 22:业务员 23:跟单员 24:交易员",
  20896. "type": "string"
  20897. },
  20898. "userid": {
  20899. "description": "用户id",
  20900. "type": "integer"
  20901. },
  20902. "usertype": {
  20903. "description": "用户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  20904. "type": "integer"
  20905. }
  20906. }
  20907. },
  20908. "models.ErmcpLoginUserEx": {
  20909. "type": "object",
  20910. "properties": {
  20911. "accountstatus": {
  20912. "description": "账户的状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  20913. "type": "integer"
  20914. },
  20915. "mobile": {
  20916. "description": "手机号",
  20917. "type": "string"
  20918. },
  20919. "querytype": {
  20920. "description": "查询类型 1-业务账户 2-交易账户 3-管理账户",
  20921. "type": "integer"
  20922. },
  20923. "roleid": {
  20924. "description": "角色id(交易账户-\u003e用户id)",
  20925. "type": "integer"
  20926. },
  20927. "rolename": {
  20928. "description": "角色名称(交易账户-\u003e用户名称)",
  20929. "type": "string"
  20930. },
  20931. "userlist": {
  20932. "description": "用户列表",
  20933. "type": "array",
  20934. "items": {
  20935. "$ref": "#/definitions/models.ErmcpLoginUser"
  20936. }
  20937. },
  20938. "usertype": {
  20939. "description": "用户类型 2-机构 7-企业成员(云平台)",
  20940. "type": "integer"
  20941. }
  20942. }
  20943. },
  20944. "models.ErmcpMiddleGoodsChangeLog": {
  20945. "type": "object",
  20946. "properties": {
  20947. "aftervalue": {
  20948. "description": "变更后",
  20949. "type": "number"
  20950. },
  20951. "applyid": {
  20952. "description": "操作人",
  20953. "type": "integer"
  20954. },
  20955. "applyname": {
  20956. "description": "操作人名称",
  20957. "type": "string"
  20958. },
  20959. "applysrc": {
  20960. "description": "操作来源 - 1:管理端 2:终端",
  20961. "type": "integer"
  20962. },
  20963. "beforevalue": {
  20964. "description": "变更前",
  20965. "type": "number"
  20966. },
  20967. "changelogtype": {
  20968. "description": "变更流水类型 - 1:套保比率变更",
  20969. "type": "integer"
  20970. },
  20971. "handlestatus": {
  20972. "description": "处理状态",
  20973. "type": "integer"
  20974. },
  20975. "logdatetime": {
  20976. "description": "流水日期",
  20977. "type": "string"
  20978. },
  20979. "logid": {
  20980. "description": "流水ID",
  20981. "type": "integer"
  20982. },
  20983. "logremark": {
  20984. "description": "流水备注",
  20985. "type": "string"
  20986. },
  20987. "middlegoodsid": {
  20988. "description": "套保品种ID",
  20989. "type": "integer"
  20990. },
  20991. "tradedate": {
  20992. "description": "交易日(yyyyMMdd)",
  20993. "type": "string"
  20994. },
  20995. "updatetime": {
  20996. "description": "更新时间",
  20997. "type": "string"
  20998. }
  20999. }
  21000. },
  21001. "models.ErmcpMiddleGoodsDetail": {
  21002. "type": "object",
  21003. "properties": {
  21004. "cvList": {
  21005. "description": "期货品种折算列表",
  21006. "type": "array",
  21007. "items": {
  21008. "$ref": "#/definitions/models.ErmcpGGConvertCfg"
  21009. }
  21010. },
  21011. "mg": {
  21012. "description": "套保品种基本信息",
  21013. "type": "object",
  21014. "$ref": "#/definitions/models.ErmcpMiddleGoodsModel"
  21015. },
  21016. "wrcList": {
  21017. "description": "现货品种列表(现货商品折算配置)",
  21018. "type": "array",
  21019. "items": {
  21020. "$ref": "#/definitions/models.WRSConverTDetail"
  21021. }
  21022. }
  21023. }
  21024. },
  21025. "models.ErmcpMiddleGoodsModel": {
  21026. "type": "object",
  21027. "properties": {
  21028. "areauserid": {
  21029. "description": "机构用户ID",
  21030. "type": "integer"
  21031. },
  21032. "createtime": {
  21033. "description": "修改时间",
  21034. "type": "string"
  21035. },
  21036. "enumdicname": {
  21037. "description": "单位名称",
  21038. "type": "string"
  21039. },
  21040. "evaluateratio": {
  21041. "description": "估价系数",
  21042. "type": "number"
  21043. },
  21044. "goodsgroupid": {
  21045. "description": "关联期货品种ID",
  21046. "type": "integer"
  21047. },
  21048. "goodsunitid": {
  21049. "description": "单位ID",
  21050. "type": "integer"
  21051. },
  21052. "isvalid": {
  21053. "description": "状态 0-无效(停用) 1-有效(正常)",
  21054. "type": "integer"
  21055. },
  21056. "middlegoodscode": {
  21057. "description": "套保品种代码",
  21058. "type": "string"
  21059. },
  21060. "middlegoodsid": {
  21061. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  21062. "type": "integer"
  21063. },
  21064. "middlegoodsname": {
  21065. "description": "套保品种名称",
  21066. "type": "string"
  21067. },
  21068. "modifytime": {
  21069. "description": "修改时间",
  21070. "type": "string"
  21071. },
  21072. "needarbitrageratio": {
  21073. "description": "套利比例",
  21074. "type": "number"
  21075. },
  21076. "needhedgeratio": {
  21077. "description": "套保比率",
  21078. "type": "number"
  21079. },
  21080. "qtydecimalplace": {
  21081. "description": "数量小数位",
  21082. "type": "integer"
  21083. },
  21084. "relatedgoodsid": {
  21085. "description": "关联交易商品ID",
  21086. "type": "integer"
  21087. },
  21088. "relatedgoodstype": {
  21089. "description": "关联商品类型 - 1:期货合约 2:现货品种",
  21090. "type": "integer"
  21091. },
  21092. "remark": {
  21093. "description": "备注",
  21094. "type": "string"
  21095. }
  21096. }
  21097. },
  21098. "models.ErmcpMiddlegoodsRelateGoods": {
  21099. "type": "object",
  21100. "properties": {
  21101. "agreeunit": {
  21102. "description": "合约乘数",
  21103. "type": "number"
  21104. },
  21105. "convertratio": {
  21106. "description": "折算系数",
  21107. "type": "number"
  21108. },
  21109. "enumdicname": {
  21110. "description": "单位名称(交易商品)",
  21111. "type": "string"
  21112. },
  21113. "goodscode": {
  21114. "description": "交易商品代码",
  21115. "type": "string"
  21116. },
  21117. "goodsgroupid": {
  21118. "description": "交易品种id",
  21119. "type": "integer"
  21120. },
  21121. "goodsid": {
  21122. "description": "商品Id",
  21123. "type": "integer"
  21124. },
  21125. "goodsname": {
  21126. "description": "交易商品名称",
  21127. "type": "string"
  21128. },
  21129. "goodunitid": {
  21130. "description": "交易商品单位id",
  21131. "type": "integer"
  21132. },
  21133. "middlegoodsid": {
  21134. "description": "套保商品id",
  21135. "type": "integer"
  21136. },
  21137. "middlegoodsname": {
  21138. "description": "套保商品名称",
  21139. "type": "string"
  21140. },
  21141. "middlegoodsswcode": {
  21142. "description": "套保商品代码",
  21143. "type": "string"
  21144. },
  21145. "needarbitrageratio": {
  21146. "description": "应套利比例",
  21147. "type": "number"
  21148. },
  21149. "needhedgeratio": {
  21150. "description": "应套保比例",
  21151. "type": "number"
  21152. }
  21153. }
  21154. },
  21155. "models.ErmcpOPLogModel": {
  21156. "type": "object",
  21157. "properties": {
  21158. "aftervalue": {
  21159. "description": "变更后",
  21160. "type": "number"
  21161. },
  21162. "applyid": {
  21163. "description": "操作人ID",
  21164. "type": "string"
  21165. },
  21166. "applyname": {
  21167. "description": "操作人名称",
  21168. "type": "string"
  21169. },
  21170. "beforevalue": {
  21171. "description": "变更前",
  21172. "type": "number"
  21173. },
  21174. "biztype": {
  21175. "description": "业务类型 - 1:套保计划 2:现货合同",
  21176. "type": "integer"
  21177. },
  21178. "contracttype": {
  21179. "description": "现货合同类型 - 1:采购 -1:销售",
  21180. "type": "integer"
  21181. },
  21182. "logvalue": {
  21183. "description": "数值",
  21184. "type": "number"
  21185. },
  21186. "operatelogtype": {
  21187. "description": "操作流水类型",
  21188. "type": "integer"
  21189. },
  21190. "operatelogtypedesc": {
  21191. "description": "操作流水类型名称",
  21192. "type": "string"
  21193. },
  21194. "relatedid": {
  21195. "description": "现货合同ID\\套保计划",
  21196. "type": "string"
  21197. },
  21198. "updatetime": {
  21199. "description": "更新时间",
  21200. "type": "string"
  21201. }
  21202. }
  21203. },
  21204. "models.ErmcpPendingAudit": {
  21205. "type": "object",
  21206. "properties": {
  21207. "areastockqty": {
  21208. "description": "待审核数量: 库存申请",
  21209. "type": "integer"
  21210. },
  21211. "businessdjqty": {
  21212. "description": "待审核数量: 点价",
  21213. "type": "integer"
  21214. },
  21215. "businessfpqty": {
  21216. "description": "待审核数量: 发票",
  21217. "type": "integer"
  21218. },
  21219. "businessjsqty": {
  21220. "description": "待审核数量: 结算",
  21221. "type": "integer"
  21222. },
  21223. "businesskxqty": {
  21224. "description": "待审核数量: 款项",
  21225. "type": "integer"
  21226. },
  21227. "hedgeplanqty": {
  21228. "description": "待审核数量: 套保计划",
  21229. "type": "integer"
  21230. },
  21231. "spotcontractqty": {
  21232. "description": "待审核数量: 现货合同",
  21233. "type": "integer"
  21234. },
  21235. "userqty": {
  21236. "description": "待审核数量: 用户",
  21237. "type": "integer"
  21238. }
  21239. }
  21240. },
  21241. "models.ErmcpRealExposureModel": {
  21242. "type": "object",
  21243. "properties": {
  21244. "AreaUserID": {
  21245. "description": "所属机构",
  21246. "type": "integer"
  21247. },
  21248. "BuyFutureQty": {
  21249. "description": "买入期货数量",
  21250. "type": "number"
  21251. },
  21252. "BuyPlanQty": {
  21253. "description": "采购计划数量",
  21254. "type": "number"
  21255. },
  21256. "BuyPricedQty": {
  21257. "description": "采购合同已定价数量",
  21258. "type": "number"
  21259. },
  21260. "MiddleGoodsCode": {
  21261. "description": "套保品种代码",
  21262. "type": "string"
  21263. },
  21264. "MiddleGoodsHedgeRatio": {
  21265. "description": "套保比例",
  21266. "type": "number"
  21267. },
  21268. "MiddleGoodsID": {
  21269. "description": "套保品种",
  21270. "type": "integer"
  21271. },
  21272. "MiddleGoodsName": {
  21273. "description": "套保品种名称",
  21274. "type": "string"
  21275. },
  21276. "NeedHedgeExposoure": {
  21277. "description": "应套保敞口(套保敞口)",
  21278. "type": "number"
  21279. },
  21280. "NeedHedgeRatio": {
  21281. "description": "应套保敞口比例",
  21282. "type": "number"
  21283. },
  21284. "OriBuyFutureQty": {
  21285. "description": "期初买入期货数量",
  21286. "type": "number"
  21287. },
  21288. "OriBuyPlanQty": {
  21289. "description": "期初采购计划数量",
  21290. "type": "number"
  21291. },
  21292. "OriBuyPricedQty": {
  21293. "description": "期初采购合同已定价数量",
  21294. "type": "number"
  21295. },
  21296. "OriSellFutureQty": {
  21297. "description": "期初卖出期货数量",
  21298. "type": "number"
  21299. },
  21300. "OriSellPlanQty": {
  21301. "description": "期初销售计划数量",
  21302. "type": "number"
  21303. },
  21304. "OriSellPricedQty": {
  21305. "description": "期初销售合同已定价数量",
  21306. "type": "number"
  21307. },
  21308. "SellFutureQty": {
  21309. "description": "卖出期货数量",
  21310. "type": "number"
  21311. },
  21312. "SellPlanQty": {
  21313. "description": "销售计划数量",
  21314. "type": "number"
  21315. },
  21316. "SellPricedQty": {
  21317. "description": "销售合同已定价数量",
  21318. "type": "number"
  21319. },
  21320. "TotalExposure": {
  21321. "description": "总敞口",
  21322. "type": "number"
  21323. },
  21324. "TotalFutureQty": {
  21325. "description": "期货总量",
  21326. "type": "number"
  21327. },
  21328. "TotalHedgeRatio": {
  21329. "description": "敞口比例",
  21330. "type": "number"
  21331. },
  21332. "TotalNeedHedgeQty": {
  21333. "description": "应套保总量(现货应套保总量)",
  21334. "type": "number"
  21335. },
  21336. "TotalSpotQty": {
  21337. "description": "现货总量",
  21338. "type": "number"
  21339. },
  21340. "arbitrageqty": {
  21341. "description": "套利量",
  21342. "type": "number"
  21343. },
  21344. "diffArbitrageQty": {
  21345. "description": "套利变动量",
  21346. "type": "number"
  21347. },
  21348. "diffExposoureQty": {
  21349. "description": "变动量(套保敞口)",
  21350. "type": "number"
  21351. },
  21352. "diffFutuQty": {
  21353. "description": "变动量(期货总量)",
  21354. "type": "number"
  21355. },
  21356. "diffHedgeQty": {
  21357. "description": "套保变动量",
  21358. "type": "number"
  21359. },
  21360. "diffQty": {
  21361. "description": "变动量(总敞口)",
  21362. "type": "number"
  21363. },
  21364. "diffSpotHedgeQty": {
  21365. "description": "变动量(现货应套保总量)",
  21366. "type": "number"
  21367. },
  21368. "diffSpotQty": {
  21369. "description": "变动量(现货总量) = 现货数量 - 期初现货数量",
  21370. "type": "number"
  21371. },
  21372. "enumdicname": {
  21373. "description": "单位名称",
  21374. "type": "string"
  21375. },
  21376. "hedgeqty": {
  21377. "description": "套保量",
  21378. "type": "number"
  21379. },
  21380. "needarbitrageqty": {
  21381. "description": "应套利量",
  21382. "type": "number"
  21383. },
  21384. "needarbitrageratio": {
  21385. "description": "套利比例",
  21386. "type": "number"
  21387. },
  21388. "needhedgeqty": {
  21389. "description": "应套保量",
  21390. "type": "number"
  21391. },
  21392. "oriTotalFutuQty": {
  21393. "description": "期初期货数量=期初买入期货数量-期初卖出期货数量",
  21394. "type": "number"
  21395. },
  21396. "oriTotalSpotQty": {
  21397. "description": "期初现货数量=(期初销售计划数量-期初销售合同已定价数量)-(期初采购计划数量-期初采购合同已定价数量)",
  21398. "type": "number"
  21399. },
  21400. "oriarbitrageqty": {
  21401. "description": "期初套利量",
  21402. "type": "number"
  21403. },
  21404. "orihedgeqty": {
  21405. "description": "期初套保量",
  21406. "type": "number"
  21407. },
  21408. "orineedhedgeexposoure": {
  21409. "description": "期初套保敞口",
  21410. "type": "number"
  21411. },
  21412. "oritotalexposure": {
  21413. "description": "期初总敞口",
  21414. "type": "number"
  21415. },
  21416. "oritotalfutureqty": {
  21417. "description": "期初期货总量",
  21418. "type": "number"
  21419. },
  21420. "oritotalneedhedgeqty": {
  21421. "description": "期初现货应套保量",
  21422. "type": "number"
  21423. }
  21424. }
  21425. },
  21426. "models.ErmcpRole": {
  21427. "type": "object",
  21428. "properties": {
  21429. "areauserid": {
  21430. "description": "所属机构",
  21431. "type": "integer"
  21432. },
  21433. "autoid": {
  21434. "description": "角色ID(自增ID)",
  21435. "type": "integer"
  21436. },
  21437. "modifierid": {
  21438. "description": "修改人(创建人)",
  21439. "type": "integer"
  21440. },
  21441. "modifiername": {
  21442. "description": "修改人名称",
  21443. "type": "string"
  21444. },
  21445. "modifytime": {
  21446. "description": "修改时间(创建时间)",
  21447. "type": "string"
  21448. },
  21449. "rolename": {
  21450. "description": "角色名称",
  21451. "type": "string"
  21452. },
  21453. "rolestatus": {
  21454. "description": "角色状态 - 1:启用 2:停用",
  21455. "type": "integer"
  21456. },
  21457. "roletype": {
  21458. "description": "角色类型 - 1- 管理端 2- 交易端",
  21459. "type": "integer"
  21460. }
  21461. }
  21462. },
  21463. "models.ErmcpRoleMenu": {
  21464. "type": "object",
  21465. "properties": {
  21466. "iconame": {
  21467. "description": "菜单图标",
  21468. "type": "string"
  21469. },
  21470. "ishadrole": {
  21471. "description": "是否有权限",
  21472. "type": "boolean"
  21473. },
  21474. "menutype": {
  21475. "description": "菜单类型 1:管理端 2:交易端 3:终端(企业云平台)",
  21476. "type": "integer"
  21477. },
  21478. "parentcode": {
  21479. "description": "上级资源代码",
  21480. "type": "string"
  21481. },
  21482. "remark": {
  21483. "description": "菜单备注",
  21484. "type": "string"
  21485. },
  21486. "resourcecode": {
  21487. "description": "菜单代码",
  21488. "type": "string"
  21489. },
  21490. "resourcelevel": {
  21491. "description": "级别",
  21492. "type": "integer"
  21493. },
  21494. "resourcename": {
  21495. "description": "菜单名称",
  21496. "type": "string"
  21497. },
  21498. "roleid": {
  21499. "description": "角色id",
  21500. "type": "integer"
  21501. },
  21502. "sort": {
  21503. "description": "排序",
  21504. "type": "integer"
  21505. },
  21506. "url": {
  21507. "description": "URL",
  21508. "type": "string"
  21509. },
  21510. "userid": {
  21511. "description": "用户id",
  21512. "type": "integer"
  21513. }
  21514. }
  21515. },
  21516. "models.ErmcpRoleMenuEx": {
  21517. "type": "object",
  21518. "properties": {
  21519. "menu": {
  21520. "description": "父级菜单",
  21521. "type": "object",
  21522. "$ref": "#/definitions/models.ErmcpRoleMenu"
  21523. },
  21524. "subMenu": {
  21525. "description": "子级菜单",
  21526. "type": "array",
  21527. "items": {
  21528. "$ref": "#/definitions/models.ErmcpRoleMenuEx"
  21529. }
  21530. }
  21531. }
  21532. },
  21533. "models.ErmcpTaAccount": {
  21534. "type": "object",
  21535. "properties": {
  21536. "accountid": {
  21537. "description": "账户id",
  21538. "type": "integer"
  21539. },
  21540. "accountname": {
  21541. "description": "账户名称",
  21542. "type": "string"
  21543. },
  21544. "currencyid": {
  21545. "description": "币种id",
  21546. "type": "integer"
  21547. },
  21548. "hedgeaccountcode": {
  21549. "description": "主账号登录代码(仅当是主账号时有值,子账号没有登录账号)",
  21550. "type": "string"
  21551. },
  21552. "ismain": {
  21553. "description": "是否主账户 0-否 1-是",
  21554. "type": "integer"
  21555. },
  21556. "parentaccountid": {
  21557. "description": "父账户id",
  21558. "type": "integer"
  21559. },
  21560. "relateduserid": {
  21561. "description": "关联userid",
  21562. "type": "integer"
  21563. },
  21564. "tradefeetmpid": {
  21565. "description": "手续费模板id",
  21566. "type": "integer"
  21567. },
  21568. "tradefeetmpname": {
  21569. "description": "手续费模板名称",
  21570. "type": "string"
  21571. },
  21572. "trademargintmpid": {
  21573. "description": "保证金模板id",
  21574. "type": "integer"
  21575. },
  21576. "trademargintmpname": {
  21577. "description": "保证金模板名称",
  21578. "type": "string"
  21579. },
  21580. "traderatetmpid": {
  21581. "description": "汇率模板id",
  21582. "type": "integer"
  21583. },
  21584. "traderatetmpname": {
  21585. "description": "汇率模板名称",
  21586. "type": "string"
  21587. },
  21588. "tradestatus": {
  21589. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  21590. "type": "integer"
  21591. },
  21592. "userid": {
  21593. "description": "用户id",
  21594. "type": "integer"
  21595. }
  21596. }
  21597. },
  21598. "models.ErmcpTaAccountEx": {
  21599. "type": "object",
  21600. "properties": {
  21601. "mainAcc": {
  21602. "description": "主账号",
  21603. "type": "object",
  21604. "$ref": "#/definitions/models.ErmcpTaAccountM"
  21605. },
  21606. "subacclist": {
  21607. "description": "子账号列表",
  21608. "type": "array",
  21609. "items": {
  21610. "$ref": "#/definitions/models.ErmcpTaAccount"
  21611. }
  21612. }
  21613. }
  21614. },
  21615. "models.ErmcpTaAccountInfo": {
  21616. "type": "object",
  21617. "properties": {
  21618. "accountid": {
  21619. "description": "资金账户ID",
  21620. "type": "integer"
  21621. },
  21622. "accountname": {
  21623. "description": "账户名称",
  21624. "type": "string"
  21625. },
  21626. "balance": {
  21627. "description": "期初余额",
  21628. "type": "number"
  21629. },
  21630. "capitalbalance": {
  21631. "description": "本金余额[外部子账户实际出入金余额]",
  21632. "type": "number"
  21633. },
  21634. "closepl": {
  21635. "description": "今日平仓盈亏",
  21636. "type": "number"
  21637. },
  21638. "creditdecrease": {
  21639. "description": "今日授信减少",
  21640. "type": "number"
  21641. },
  21642. "creditincrease": {
  21643. "description": "今日授信增加",
  21644. "type": "number"
  21645. },
  21646. "curdebt": {
  21647. "description": "期末欠款",
  21648. "type": "number"
  21649. },
  21650. "currencyid": {
  21651. "description": "货币ID",
  21652. "type": "integer"
  21653. },
  21654. "currentbalance": {
  21655. "description": "期末余额",
  21656. "type": "number"
  21657. },
  21658. "freezecharge": {
  21659. "description": "手续费冻结",
  21660. "type": "number"
  21661. },
  21662. "freezemargin": {
  21663. "description": "冻结保证金",
  21664. "type": "number"
  21665. },
  21666. "fromaccountid": {
  21667. "description": "所属上级账户",
  21668. "type": "integer"
  21669. },
  21670. "inamount": {
  21671. "description": "今日入金金额(包括三方入金)",
  21672. "type": "number"
  21673. },
  21674. "ismain": {
  21675. "description": "是否母账号 0:不是母账户 1:是母账户",
  21676. "type": "integer"
  21677. },
  21678. "mortgagecredit": {
  21679. "description": "授信金额",
  21680. "type": "number"
  21681. },
  21682. "oridebt": {
  21683. "description": "期初欠款",
  21684. "type": "number"
  21685. },
  21686. "orifreezecharge": {
  21687. "description": "期初手续费冻结",
  21688. "type": "number"
  21689. },
  21690. "orifreezemargin": {
  21691. "description": "期初冻结保证金",
  21692. "type": "number"
  21693. },
  21694. "orimortgagecredit": {
  21695. "description": "期初授信金额",
  21696. "type": "number"
  21697. },
  21698. "oriothercredit": {
  21699. "description": "期初其它授信金额",
  21700. "type": "number"
  21701. },
  21702. "oriotherfreezemargin": {
  21703. "description": "期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)",
  21704. "type": "number"
  21705. },
  21706. "orioutamountfreeze": {
  21707. "description": "期初出金冻结",
  21708. "type": "number"
  21709. },
  21710. "oriusedmargin": {
  21711. "description": "期初占用保证金",
  21712. "type": "number"
  21713. },
  21714. "othercredit": {
  21715. "description": "其它授信金额",
  21716. "type": "number"
  21717. },
  21718. "othercreditdecrease": {
  21719. "description": "今日其它授信减少",
  21720. "type": "number"
  21721. },
  21722. "othercreditincrease": {
  21723. "description": "今日其它授信增加",
  21724. "type": "number"
  21725. },
  21726. "otherfreezemargin": {
  21727. "description": "其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)",
  21728. "type": "number"
  21729. },
  21730. "outamount": {
  21731. "description": "今日出金金额(包括三方出金)",
  21732. "type": "number"
  21733. },
  21734. "outamountfreeze": {
  21735. "description": "出金冻结",
  21736. "type": "number"
  21737. },
  21738. "outthreshold": {
  21739. "description": "出金阈值",
  21740. "type": "number"
  21741. },
  21742. "parentaccountid": {
  21743. "description": "所属根账号",
  21744. "type": "integer"
  21745. },
  21746. "paycharge": {
  21747. "description": "今日手续费支出",
  21748. "type": "number"
  21749. },
  21750. "relateduserid": {
  21751. "description": "关联用户",
  21752. "type": "integer"
  21753. },
  21754. "signstatus": {
  21755. "description": "签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中",
  21756. "type": "integer"
  21757. },
  21758. "sublevelpath": {
  21759. "description": "账号层级路径(逗号分隔,首尾加逗号)",
  21760. "type": "string"
  21761. },
  21762. "taaccounttype": {
  21763. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  21764. "type": "integer"
  21765. },
  21766. "thirdinamount": {
  21767. "description": "今日三方入金",
  21768. "type": "number"
  21769. },
  21770. "thirdoutamount": {
  21771. "description": "今日三方出金",
  21772. "type": "number"
  21773. },
  21774. "tradestatus": {
  21775. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  21776. "type": "integer"
  21777. },
  21778. "transferamount": {
  21779. "description": "今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)",
  21780. "type": "number"
  21781. },
  21782. "usedmargin": {
  21783. "description": "占用保证金",
  21784. "type": "number"
  21785. },
  21786. "userid": {
  21787. "description": "用户ID",
  21788. "type": "integer"
  21789. }
  21790. }
  21791. },
  21792. "models.ErmcpTaAccountM": {
  21793. "type": "object",
  21794. "properties": {
  21795. "accountid": {
  21796. "description": "账户id",
  21797. "type": "integer"
  21798. },
  21799. "accountname": {
  21800. "description": "账户名称",
  21801. "type": "string"
  21802. },
  21803. "currencyid": {
  21804. "description": "币种id",
  21805. "type": "integer"
  21806. },
  21807. "fcid": {
  21808. "description": "期货公司id",
  21809. "type": "integer"
  21810. },
  21811. "fcname": {
  21812. "description": "期货公司代码",
  21813. "type": "string"
  21814. },
  21815. "hedgeaccountcode": {
  21816. "description": "主账号登录代码(仅当是主账号时有值,子账号没有登录账号)",
  21817. "type": "string"
  21818. },
  21819. "ismain": {
  21820. "description": "是否主账户 0-否 1-是",
  21821. "type": "integer"
  21822. },
  21823. "parentaccountid": {
  21824. "description": "父账户id",
  21825. "type": "integer"
  21826. },
  21827. "relateduserid": {
  21828. "description": "关联userid",
  21829. "type": "integer"
  21830. },
  21831. "tradefeetmpid": {
  21832. "description": "手续费模板id",
  21833. "type": "integer"
  21834. },
  21835. "tradefeetmpname": {
  21836. "description": "手续费模板名称",
  21837. "type": "string"
  21838. },
  21839. "trademargintmpid": {
  21840. "description": "保证金模板id",
  21841. "type": "integer"
  21842. },
  21843. "trademargintmpname": {
  21844. "description": "保证金模板名称",
  21845. "type": "string"
  21846. },
  21847. "traderatetmpid": {
  21848. "description": "汇率模板id",
  21849. "type": "integer"
  21850. },
  21851. "traderatetmpname": {
  21852. "description": "汇率模板名称",
  21853. "type": "string"
  21854. },
  21855. "tradestatus": {
  21856. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  21857. "type": "integer"
  21858. },
  21859. "userid": {
  21860. "description": "用户id",
  21861. "type": "integer"
  21862. }
  21863. }
  21864. },
  21865. "models.ErmcpTradeConfigTMP": {
  21866. "type": "object",
  21867. "properties": {
  21868. "areauserid": {
  21869. "description": "所属机构",
  21870. "type": "integer"
  21871. },
  21872. "basiccurrencyid": {
  21873. "description": "基本币种ID[汇率] - 目标币种",
  21874. "type": "integer"
  21875. },
  21876. "mainaccountid": {
  21877. "description": "主账户ID",
  21878. "type": "integer"
  21879. },
  21880. "modifierid": {
  21881. "description": "修改人",
  21882. "type": "integer"
  21883. },
  21884. "remark": {
  21885. "description": "备注",
  21886. "type": "string"
  21887. },
  21888. "tradeconfigtmpid": {
  21889. "description": "交易配置模板ID(SEQ_TRADECONFIGTMP)",
  21890. "type": "integer"
  21891. },
  21892. "tradeconfigtmpname": {
  21893. "description": "交易配置模板名称",
  21894. "type": "string"
  21895. },
  21896. "tradeconfigtmptype": {
  21897. "description": "交易配置模板类型 - 1:保证金 2:手续费 3:汇率",
  21898. "type": "integer"
  21899. },
  21900. "updatetime": {
  21901. "description": "更新时间",
  21902. "type": "string"
  21903. }
  21904. }
  21905. },
  21906. "models.ErmcpUserModel": {
  21907. "type": "object",
  21908. "properties": {
  21909. "address": {
  21910. "description": "通讯地址",
  21911. "type": "string"
  21912. },
  21913. "attachment1": {
  21914. "description": "附件1",
  21915. "type": "string"
  21916. },
  21917. "audittime": {
  21918. "description": "审核时间",
  21919. "type": "string"
  21920. },
  21921. "cardbackphotourl": {
  21922. "description": "证件反面图片地址",
  21923. "type": "string"
  21924. },
  21925. "cardfrontphotourl": {
  21926. "description": "证件正面图片地址",
  21927. "type": "string"
  21928. },
  21929. "cardnum": {
  21930. "description": "证件号码",
  21931. "type": "string"
  21932. },
  21933. "cardtype": {
  21934. "description": "证件类型",
  21935. "type": "integer"
  21936. },
  21937. "cardtypename": {
  21938. "description": "证件类型名称",
  21939. "type": "string"
  21940. },
  21941. "cityid": {
  21942. "description": "市",
  21943. "type": "integer"
  21944. },
  21945. "contactname": {
  21946. "description": "联系人",
  21947. "type": "string"
  21948. },
  21949. "countryid": {
  21950. "description": "国家",
  21951. "type": "integer"
  21952. },
  21953. "createtime": {
  21954. "description": "创建时间",
  21955. "type": "string"
  21956. },
  21957. "customername": {
  21958. "description": "企业名称",
  21959. "type": "string"
  21960. },
  21961. "districtid": {
  21962. "description": "区域",
  21963. "type": "integer"
  21964. },
  21965. "email": {
  21966. "description": "邮件",
  21967. "type": "string"
  21968. },
  21969. "legalpersonname": {
  21970. "description": "法人姓名(企业)",
  21971. "type": "string"
  21972. },
  21973. "memberuserid": {
  21974. "description": "所属机构ID",
  21975. "type": "integer"
  21976. },
  21977. "mobile": {
  21978. "description": "手机号码",
  21979. "type": "string"
  21980. },
  21981. "modifytime": {
  21982. "description": "修改时间",
  21983. "type": "string"
  21984. },
  21985. "nickname": {
  21986. "description": "昵称",
  21987. "type": "string"
  21988. },
  21989. "provinceid": {
  21990. "description": "省",
  21991. "type": "integer"
  21992. },
  21993. "remark": {
  21994. "description": "备注",
  21995. "type": "string"
  21996. },
  21997. "status": {
  21998. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销",
  21999. "type": "integer"
  22000. },
  22001. "statusdesc": {
  22002. "description": "账户状态中文描述",
  22003. "type": "string"
  22004. },
  22005. "taxpayernum": {
  22006. "description": "纳税人识别号",
  22007. "type": "string"
  22008. },
  22009. "telphone": {
  22010. "description": "联系电话",
  22011. "type": "string"
  22012. },
  22013. "userid": {
  22014. "description": "用户ID",
  22015. "type": "integer"
  22016. },
  22017. "userinfotype": {
  22018. "description": "客户类型",
  22019. "type": "string"
  22020. }
  22021. }
  22022. },
  22023. "models.ErmcpWareHouseInfo": {
  22024. "type": "object",
  22025. "properties": {
  22026. "address": {
  22027. "description": "详细地址",
  22028. "type": "string"
  22029. },
  22030. "areauserid": {
  22031. "description": "所属机构",
  22032. "type": "integer"
  22033. },
  22034. "autoid": {
  22035. "description": "自增ID(仓库ID)",
  22036. "type": "integer"
  22037. },
  22038. "cityid": {
  22039. "description": "市",
  22040. "type": "integer"
  22041. },
  22042. "contactname": {
  22043. "description": "联系人",
  22044. "type": "string"
  22045. },
  22046. "contactnum": {
  22047. "description": "联系电话",
  22048. "type": "string"
  22049. },
  22050. "countryid": {
  22051. "description": "国家",
  22052. "type": "integer"
  22053. },
  22054. "createtime": {
  22055. "description": "创建时间",
  22056. "type": "string"
  22057. },
  22058. "districtid": {
  22059. "description": "区",
  22060. "type": "integer"
  22061. },
  22062. "hasvideo": {
  22063. "description": "是否有视频 - 0:无 1:有",
  22064. "type": "integer"
  22065. },
  22066. "provinceid": {
  22067. "description": "省",
  22068. "type": "integer"
  22069. },
  22070. "remark": {
  22071. "description": "审核备注",
  22072. "type": "string"
  22073. },
  22074. "videourl": {
  22075. "description": "视频地址",
  22076. "type": "string"
  22077. },
  22078. "warehousecode": {
  22079. "description": "仓库代码",
  22080. "type": "string"
  22081. },
  22082. "warehousename": {
  22083. "description": "仓库名称",
  22084. "type": "string"
  22085. },
  22086. "warehousestatus": {
  22087. "description": "仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝",
  22088. "type": "integer"
  22089. },
  22090. "warehousetype": {
  22091. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  22092. "type": "integer"
  22093. }
  22094. }
  22095. },
  22096. "models.Externalexchange": {
  22097. "type": "object",
  22098. "required": [
  22099. "autoid"
  22100. ],
  22101. "properties": {
  22102. "autoid": {
  22103. "description": "AutoID - SEQ_EXTERNALEXCHANGE",
  22104. "type": "integer"
  22105. },
  22106. "exchangefullname": {
  22107. "description": "外部交易所全称",
  22108. "type": "string"
  22109. },
  22110. "exexchangecode": {
  22111. "description": "外部交易所代码",
  22112. "type": "string"
  22113. },
  22114. "exexchangename": {
  22115. "description": "外部交易所名称(简称)",
  22116. "type": "string"
  22117. },
  22118. "ismarketprice": {
  22119. "description": "是否支持市价 - 0:不支持 1:支持",
  22120. "type": "integer"
  22121. },
  22122. "quotegear": {
  22123. "description": "行情档位(1-10)",
  22124. "type": "integer"
  22125. },
  22126. "showbrokerflag": {
  22127. "description": "是否显示买卖经纪盘 - 0:不显示 1:显示",
  22128. "type": "integer"
  22129. },
  22130. "updatetime": {
  22131. "description": "更新时间",
  22132. "type": "string"
  22133. }
  22134. }
  22135. },
  22136. "models.Funcmenulist": {
  22137. "type": "object",
  22138. "required": [
  22139. "resourcecode"
  22140. ],
  22141. "properties": {
  22142. "iconame": {
  22143. "description": "菜单图标",
  22144. "type": "string"
  22145. },
  22146. "menutype": {
  22147. "description": "菜单类型 1-管理端 2-交易端 3-终端权限",
  22148. "type": "integer"
  22149. },
  22150. "parentcode": {
  22151. "description": "上级资源代码",
  22152. "type": "string"
  22153. },
  22154. "remark": {
  22155. "description": "备注",
  22156. "type": "string"
  22157. },
  22158. "resourcecode": {
  22159. "description": "资源代码",
  22160. "type": "string"
  22161. },
  22162. "resourcelevel": {
  22163. "description": "级别 1-一级 2-二级 3-三级 4-四级",
  22164. "type": "integer"
  22165. },
  22166. "resourcename": {
  22167. "description": "资源名",
  22168. "type": "string"
  22169. },
  22170. "sort": {
  22171. "description": "排序 - 一级时,是所有一级菜单的排序顺序;二级时是所属同一个一级菜单下的排序、三级时是同一个二级菜单下的排序",
  22172. "type": "integer"
  22173. },
  22174. "url": {
  22175. "description": "URL",
  22176. "type": "string"
  22177. }
  22178. }
  22179. },
  22180. "models.Goods": {
  22181. "type": "object",
  22182. "required": [
  22183. "goodscode",
  22184. "goodsid",
  22185. "goodsname",
  22186. "marketid"
  22187. ],
  22188. "properties": {
  22189. "agreeunit": {
  22190. "description": "合约单位",
  22191. "type": "number"
  22192. },
  22193. "areauserid": {
  22194. "description": "所属机构",
  22195. "type": "integer"
  22196. },
  22197. "auditaccountid": {
  22198. "description": "审核操作员账号",
  22199. "type": "integer"
  22200. },
  22201. "audittime": {
  22202. "description": "审核时间",
  22203. "type": "string"
  22204. },
  22205. "cancelaccountid": {
  22206. "description": "注销操作员账号",
  22207. "type": "integer"
  22208. },
  22209. "canceltime": {
  22210. "description": "注销时间",
  22211. "type": "string"
  22212. },
  22213. "closepricemode": {
  22214. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  22215. "type": "integer"
  22216. },
  22217. "closepriceparam": {
  22218. "description": "强平最新价浮动比例 - 方式为2时使用 (\u003c1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价",
  22219. "type": "number"
  22220. },
  22221. "createtime": {
  22222. "description": "创建时间",
  22223. "type": "string"
  22224. },
  22225. "creatorid": {
  22226. "description": "创建人",
  22227. "type": "integer"
  22228. },
  22229. "currencyid": {
  22230. "description": "报价货币ID",
  22231. "type": "integer"
  22232. },
  22233. "cutmode": {
  22234. "description": "斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓",
  22235. "type": "integer"
  22236. },
  22237. "decimalplace": {
  22238. "description": "报价小数位",
  22239. "type": "integer"
  22240. },
  22241. "delistingdate": {
  22242. "description": "商品退市时间(状态:退市) -- 已作废",
  22243. "type": "string"
  22244. },
  22245. "delistingmode": {
  22246. "description": "退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\\币币兑换)",
  22247. "type": "integer"
  22248. },
  22249. "deliveryflag": {
  22250. "description": "交割标志 - 0:不可交割 1:可交割",
  22251. "type": "integer"
  22252. },
  22253. "forceclosemode": {
  22254. "description": "定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]",
  22255. "type": "integer"
  22256. },
  22257. "forceclosevalue": {
  22258. "description": "定期强平参数 [收益权]",
  22259. "type": "integer"
  22260. },
  22261. "goodscode": {
  22262. "description": "商品代码(内部)",
  22263. "type": "string"
  22264. },
  22265. "goodscurrencyid": {
  22266. "description": "合约货币ID",
  22267. "type": "integer"
  22268. },
  22269. "goodsgroupid": {
  22270. "description": "所属商品组ID",
  22271. "type": "integer"
  22272. },
  22273. "goodsid": {
  22274. "description": "商品ID(自增ID SEQ_GOODS)",
  22275. "type": "integer"
  22276. },
  22277. "goodsname": {
  22278. "description": "商品名称",
  22279. "type": "string"
  22280. },
  22281. "goodsquotetype": {
  22282. "description": "合约报价类型: 1-直接报价 2-间接报价",
  22283. "type": "integer"
  22284. },
  22285. "goodsstatus": {
  22286. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  22287. "type": "integer"
  22288. },
  22289. "goodstradetype": {
  22290. "description": "商品交易权限类型 - 1:可建可平 3:不可建可平",
  22291. "type": "integer"
  22292. },
  22293. "goodunitid": {
  22294. "description": "报价单位ID",
  22295. "type": "integer"
  22296. },
  22297. "hasquoter": {
  22298. "description": "是否有报价商 - 0:无报价商 1:有报价商",
  22299. "type": "integer"
  22300. },
  22301. "hqprotecttime": {
  22302. "description": "行情保护时间(秒)",
  22303. "type": "integer"
  22304. },
  22305. "innerdealmode": {
  22306. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  22307. "type": "integer"
  22308. },
  22309. "isbuylimited": {
  22310. "description": "是否限制建仓量 - 0:不限制 1:限制",
  22311. "type": "integer"
  22312. },
  22313. "isvisible": {
  22314. "description": "游客是否可见 - 0:不可见 1:可见",
  22315. "type": "integer"
  22316. },
  22317. "lasttradedate": {
  22318. "description": "最后交易日期(状态:待退市)",
  22319. "type": "string"
  22320. },
  22321. "listingdate": {
  22322. "description": "交易开始日期",
  22323. "type": "string"
  22324. },
  22325. "marketid": {
  22326. "description": "所属市场ID",
  22327. "type": "integer"
  22328. },
  22329. "modifierid": {
  22330. "description": "修改人",
  22331. "type": "integer"
  22332. },
  22333. "modifystatus": {
  22334. "description": "变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核",
  22335. "type": "integer"
  22336. },
  22337. "modifytime": {
  22338. "description": "修改时间",
  22339. "type": "string"
  22340. },
  22341. "outerdealmode": {
  22342. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  22343. "type": "integer"
  22344. },
  22345. "outgoodscode": {
  22346. "description": "商品代码(外部)",
  22347. "type": "string"
  22348. },
  22349. "pictureurl": {
  22350. "description": "商品图片",
  22351. "type": "string"
  22352. },
  22353. "qtydecimalplace": {
  22354. "description": "成交量小数位",
  22355. "type": "integer"
  22356. },
  22357. "quotegear": {
  22358. "description": "行情档位(1-10)",
  22359. "type": "integer"
  22360. },
  22361. "quoteminunit": {
  22362. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  22363. "type": "integer"
  22364. },
  22365. "quoteshowtype": {
  22366. "description": "行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价",
  22367. "type": "integer"
  22368. },
  22369. "quoteshowtypeinterval": {
  22370. "description": "行情报价间隔时间(秒)(成交价时为0)",
  22371. "type": "integer"
  22372. },
  22373. "remark": {
  22374. "description": "备注",
  22375. "type": "string"
  22376. }
  22377. }
  22378. },
  22379. "models.GoodsIDAndName": {
  22380. "type": "object",
  22381. "required": [
  22382. "goodscode",
  22383. "goodsid",
  22384. "goodsname",
  22385. "marketid"
  22386. ],
  22387. "properties": {
  22388. "goodscode": {
  22389. "description": "商品代码(内部)",
  22390. "type": "string"
  22391. },
  22392. "goodsid": {
  22393. "description": "商品ID(自增ID SEQ_GOODS)",
  22394. "type": "integer"
  22395. },
  22396. "goodsname": {
  22397. "description": "商品名称",
  22398. "type": "string"
  22399. },
  22400. "marketid": {
  22401. "description": "所属市场ID",
  22402. "type": "integer"
  22403. }
  22404. }
  22405. },
  22406. "models.Goodsgroup": {
  22407. "type": "object",
  22408. "required": [
  22409. "goodsgroupid",
  22410. "goodsgroupname",
  22411. "goodsgroupstatus",
  22412. "marketid"
  22413. ],
  22414. "properties": {
  22415. "agreeunit": {
  22416. "description": "合约单位",
  22417. "type": "number"
  22418. },
  22419. "canshort": {
  22420. "description": "是否允许做空[通道交易] - 0:不能做空 1:可以做空",
  22421. "type": "integer"
  22422. },
  22423. "closepricemode": {
  22424. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  22425. "type": "integer"
  22426. },
  22427. "closepriceparam": {
  22428. "description": "强平最新价浮动比例 - 方式为2时使用",
  22429. "type": "number"
  22430. },
  22431. "createtime": {
  22432. "description": "创建时间",
  22433. "type": "string"
  22434. },
  22435. "creatorid": {
  22436. "description": "创建人",
  22437. "type": "integer"
  22438. },
  22439. "currencyid": {
  22440. "description": "报价货币ID",
  22441. "type": "integer"
  22442. },
  22443. "decimalplace": {
  22444. "description": "报价小数位",
  22445. "type": "integer"
  22446. },
  22447. "exercisetype": {
  22448. "description": "行权类型[场外期权]-1:欧式期权 2:美式期权",
  22449. "type": "integer"
  22450. },
  22451. "exexchangeid": {
  22452. "description": "外部交易所ID[通道交易]",
  22453. "type": "integer"
  22454. },
  22455. "goodsgroupid": {
  22456. "description": "商品组ID(自增ID)",
  22457. "type": "integer"
  22458. },
  22459. "goodsgroupname": {
  22460. "description": "商品组名称",
  22461. "type": "string"
  22462. },
  22463. "goodsgroupstatus": {
  22464. "description": "商品组状态 - 1:正常 2:注销",
  22465. "type": "integer"
  22466. },
  22467. "goodunitid": {
  22468. "description": "报价单位ID",
  22469. "type": "integer"
  22470. },
  22471. "innerdealmode": {
  22472. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  22473. "type": "integer"
  22474. },
  22475. "isbuylimited": {
  22476. "description": "是否限制建仓量 - 0:不限制 1:限制",
  22477. "type": "integer"
  22478. },
  22479. "marketid": {
  22480. "description": "所属市场ID",
  22481. "type": "integer"
  22482. },
  22483. "modifierid": {
  22484. "description": "修改人",
  22485. "type": "integer"
  22486. },
  22487. "modifytime": {
  22488. "description": "修改时间",
  22489. "type": "string"
  22490. },
  22491. "outerdealmode": {
  22492. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  22493. "type": "integer"
  22494. },
  22495. "outergroupcode": {
  22496. "description": "外部商品组代码[通道交易]",
  22497. "type": "string"
  22498. },
  22499. "premiumdecimalplace": {
  22500. "description": "权利金小数位[场外期权]",
  22501. "type": "integer"
  22502. },
  22503. "premiumspreadalgorithm": {
  22504. "description": "权利金点差方式[场外期权] 1:比率 2:固定",
  22505. "type": "integer"
  22506. },
  22507. "premiumspreadvalue": {
  22508. "description": "权利金点差值[场外期权]",
  22509. "type": "number"
  22510. },
  22511. "qtydecimalplace": {
  22512. "description": "成交量小数位",
  22513. "type": "integer"
  22514. },
  22515. "quotegear": {
  22516. "description": "行情档位(1-10)",
  22517. "type": "integer"
  22518. },
  22519. "quoteminunit": {
  22520. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  22521. "type": "integer"
  22522. },
  22523. "quoterid": {
  22524. "description": "报价商ID[场外期权]",
  22525. "type": "integer"
  22526. },
  22527. "quotesourcegroupid": {
  22528. "description": "所属行情源分组ID[参考行情市场用\\通道交易]",
  22529. "type": "integer"
  22530. },
  22531. "syncgoodsqty": {
  22532. "description": "同步合约数[通道交易-投资管理用] - 0表示不限",
  22533. "type": "integer"
  22534. }
  22535. }
  22536. },
  22537. "models.Goodssortbypreposition": {
  22538. "type": "object",
  22539. "required": [
  22540. "goodscode",
  22541. "tradedate"
  22542. ],
  22543. "properties": {
  22544. "goodscode": {
  22545. "description": "合约代码 - 易盛接口:合约代码=品种代码+合约代码",
  22546. "type": "string"
  22547. },
  22548. "goodsgroupcode": {
  22549. "description": "品种代码",
  22550. "type": "string"
  22551. },
  22552. "prepositionqty": {
  22553. "description": "昨持仓量",
  22554. "type": "integer"
  22555. },
  22556. "sortindex": {
  22557. "description": "排序",
  22558. "type": "integer"
  22559. },
  22560. "tradedate": {
  22561. "description": "交易日",
  22562. "type": "string"
  22563. },
  22564. "updatetime": {
  22565. "description": "更新时间",
  22566. "type": "string"
  22567. }
  22568. }
  22569. },
  22570. "models.Hedgeinnerholderdetail": {
  22571. "type": "object",
  22572. "required": [
  22573. "buyorsell",
  22574. "tradeid"
  22575. ],
  22576. "properties": {
  22577. "accountid": {
  22578. "description": "账号ID",
  22579. "type": "integer"
  22580. },
  22581. "buyorsell": {
  22582. "description": "方向 - 0:买 1:卖",
  22583. "type": "integer"
  22584. },
  22585. "freezeqty": {
  22586. "description": "冻结数量 - 按单平使用",
  22587. "type": "integer"
  22588. },
  22589. "goodsid": {
  22590. "description": "商品ID",
  22591. "type": "integer"
  22592. },
  22593. "holderamount": {
  22594. "description": "持仓金额 [商品币种]",
  22595. "type": "number"
  22596. },
  22597. "holderdays": {
  22598. "description": "剩余冻结天数",
  22599. "type": "integer"
  22600. },
  22601. "holderprice": {
  22602. "description": "持仓价格",
  22603. "type": "number"
  22604. },
  22605. "holderqty": {
  22606. "description": "持仓数量",
  22607. "type": "integer"
  22608. },
  22609. "marketid": {
  22610. "description": "市场ID",
  22611. "type": "integer"
  22612. },
  22613. "openprice": {
  22614. "description": "建仓价格",
  22615. "type": "number"
  22616. },
  22617. "openqty": {
  22618. "description": "建仓数量",
  22619. "type": "integer"
  22620. },
  22621. "parentaccountid": {
  22622. "description": "所属母账户",
  22623. "type": "integer"
  22624. },
  22625. "releaseamount": {
  22626. "description": "释放持仓金额[商品币种]",
  22627. "type": "number"
  22628. },
  22629. "tradeamount": {
  22630. "description": "成交金额[账户]",
  22631. "type": "number"
  22632. },
  22633. "tradedate": {
  22634. "description": "交易日(yyyyMMdd)",
  22635. "type": "string"
  22636. },
  22637. "tradeid": {
  22638. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  22639. "type": "string"
  22640. },
  22641. "tradetime": {
  22642. "description": "交易时间",
  22643. "type": "string"
  22644. }
  22645. }
  22646. },
  22647. "models.Hedgemarketopenlog": {
  22648. "type": "object",
  22649. "required": [
  22650. "accountid"
  22651. ],
  22652. "properties": {
  22653. "accountid": {
  22654. "description": "资金账号[外部母账户]",
  22655. "type": "integer"
  22656. },
  22657. "fcname": {
  22658. "description": "期货公司名称",
  22659. "type": "string"
  22660. },
  22661. "handlestatus": {
  22662. "description": "处理状态 - 1:登陆Mhp成功 2:登陆Mhp失败 3:登出Mhp",
  22663. "type": "integer"
  22664. },
  22665. "marketid": {
  22666. "description": "市场ID",
  22667. "type": "integer"
  22668. },
  22669. "status": {
  22670. "description": "状态 - 1:待开市 2:开市 4:手工休市 5:闭市 10:日终处理开始 11:日终处理成功 12:日终处理失败",
  22671. "type": "integer"
  22672. },
  22673. "tradedate": {
  22674. "description": "交易日(yyyyMMdd)",
  22675. "type": "string"
  22676. },
  22677. "updatetime": {
  22678. "description": "更新时间",
  22679. "type": "string"
  22680. }
  22681. }
  22682. },
  22683. "models.HsbyBuyMyPayOrder": {
  22684. "type": "object",
  22685. "required": [
  22686. "goodscode",
  22687. "goodsname",
  22688. "tradeid",
  22689. "trademode"
  22690. ],
  22691. "properties": {
  22692. "agreeunit": {
  22693. "description": "合约单位",
  22694. "type": "number"
  22695. },
  22696. "buyaccountid": {
  22697. "description": "买方账号ID[报价币种]",
  22698. "type": "integer"
  22699. },
  22700. "buyorderid": {
  22701. "description": "买方委托单号",
  22702. "type": "string"
  22703. },
  22704. "createtime": {
  22705. "description": "创建时间",
  22706. "type": "string"
  22707. },
  22708. "currencysign": {
  22709. "description": "货币符号",
  22710. "type": "string"
  22711. },
  22712. "decimalplace": {
  22713. "description": "报价小数位",
  22714. "type": "integer"
  22715. },
  22716. "goodscode": {
  22717. "description": "商品代码(内部)",
  22718. "type": "string"
  22719. },
  22720. "goodsid": {
  22721. "description": "商品ID",
  22722. "type": "integer"
  22723. },
  22724. "goodsname": {
  22725. "description": "商品名称",
  22726. "type": "string"
  22727. },
  22728. "marketid": {
  22729. "description": "市场ID",
  22730. "type": "integer"
  22731. },
  22732. "offamount": {
  22733. "description": "优惠金额",
  22734. "type": "number"
  22735. },
  22736. "originalamount": {
  22737. "description": "原金额 = TradeAmount + TradeCharge + OffAmount",
  22738. "type": "number"
  22739. },
  22740. "payamount": {
  22741. "description": "支付金额 = TradeAmount + TradeCharge",
  22742. "type": "number"
  22743. },
  22744. "payflag": {
  22745. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  22746. "type": "integer"
  22747. },
  22748. "paylimitedtime": {
  22749. "description": "支付期限",
  22750. "type": "string"
  22751. },
  22752. "paytime": {
  22753. "description": "付款时间",
  22754. "type": "string"
  22755. },
  22756. "picurls1": {
  22757. "description": "预售商品介绍图片[多张用逗号分隔]",
  22758. "type": "string"
  22759. },
  22760. "picurls2": {
  22761. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  22762. "type": "string"
  22763. },
  22764. "sellaccountid": {
  22765. "description": "卖方账号ID[报价币种]",
  22766. "type": "integer"
  22767. },
  22768. "sellorderid": {
  22769. "description": "卖方委托单号",
  22770. "type": "string"
  22771. },
  22772. "tradeamount": {
  22773. "description": "成交金额",
  22774. "type": "number"
  22775. },
  22776. "tradecharge": {
  22777. "description": "成交手续费(买方)",
  22778. "type": "number"
  22779. },
  22780. "tradedate": {
  22781. "description": "交易日(yyyyMMdd)",
  22782. "type": "string"
  22783. },
  22784. "tradeid": {
  22785. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  22786. "type": "string"
  22787. },
  22788. "trademode": {
  22789. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  22790. "type": "integer"
  22791. },
  22792. "tradeprice": {
  22793. "description": "成交价格",
  22794. "type": "number"
  22795. },
  22796. "tradeqty": {
  22797. "description": "成交数量",
  22798. "type": "integer"
  22799. },
  22800. "vendorname1": {
  22801. "description": "预售商品供应商名称",
  22802. "type": "string"
  22803. },
  22804. "vendorname2": {
  22805. "description": "挂牌商品供应商名称",
  22806. "type": "string"
  22807. }
  22808. }
  22809. },
  22810. "models.HsbyBuyMyTradeDetail": {
  22811. "type": "object",
  22812. "required": [
  22813. "accountid",
  22814. "buyorsell",
  22815. "goodscode",
  22816. "goodsid",
  22817. "goodsname",
  22818. "marketid",
  22819. "orderid",
  22820. "qty",
  22821. "time",
  22822. "trademode"
  22823. ],
  22824. "properties": {
  22825. "accountid": {
  22826. "description": "账户ID[报价币种]",
  22827. "type": "integer"
  22828. },
  22829. "agreeunit": {
  22830. "description": "合约单位",
  22831. "type": "number"
  22832. },
  22833. "amount": {
  22834. "description": "金额 = 价格 * 数量 * 合约单位",
  22835. "type": "number"
  22836. },
  22837. "buyorsell": {
  22838. "description": "买卖 - 0:买 1:卖",
  22839. "type": "integer"
  22840. },
  22841. "currencysign": {
  22842. "description": "货币符号",
  22843. "type": "string"
  22844. },
  22845. "decimalplace": {
  22846. "description": "报价小数位",
  22847. "type": "integer"
  22848. },
  22849. "goodscode": {
  22850. "description": "商品代码(内部)",
  22851. "type": "string"
  22852. },
  22853. "goodsid": {
  22854. "description": "商品ID",
  22855. "type": "integer"
  22856. },
  22857. "goodsname": {
  22858. "description": "商品名称",
  22859. "type": "string"
  22860. },
  22861. "marketid": {
  22862. "description": "市场ID",
  22863. "type": "integer"
  22864. },
  22865. "orderamount": {
  22866. "description": "委托金额",
  22867. "type": "number"
  22868. },
  22869. "orderid": {
  22870. "description": "单号(成交单号)",
  22871. "type": "string"
  22872. },
  22873. "picurls1": {
  22874. "description": "预售商品介绍图片[多张用逗号分隔]",
  22875. "type": "string"
  22876. },
  22877. "picurls2": {
  22878. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  22879. "type": "string"
  22880. },
  22881. "price": {
  22882. "description": "价格",
  22883. "type": "number"
  22884. },
  22885. "qty": {
  22886. "description": "数量",
  22887. "type": "integer"
  22888. },
  22889. "time": {
  22890. "description": "时间",
  22891. "type": "string"
  22892. },
  22893. "trademode": {
  22894. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  22895. "type": "integer"
  22896. },
  22897. "vendorname1": {
  22898. "description": "预售商品供应商名称",
  22899. "type": "string"
  22900. },
  22901. "vendorname2": {
  22902. "description": "挂牌商品供应商名称",
  22903. "type": "string"
  22904. }
  22905. }
  22906. },
  22907. "models.HsbyGoodsOrderDetail": {
  22908. "type": "object",
  22909. "required": [
  22910. "buyorsell",
  22911. "orderid",
  22912. "ordertime"
  22913. ],
  22914. "properties": {
  22915. "buyorsell": {
  22916. "description": "买卖 - 0:买 1:卖",
  22917. "type": "integer"
  22918. },
  22919. "currencysign": {
  22920. "description": "货币符号",
  22921. "type": "string"
  22922. },
  22923. "customername": {
  22924. "description": "客户名称(企业名称),已脱敏",
  22925. "type": "string"
  22926. },
  22927. "enableqty": {
  22928. "description": "可用数量",
  22929. "type": "integer"
  22930. },
  22931. "goodunit": {
  22932. "description": "报价单位",
  22933. "type": "string"
  22934. },
  22935. "orderid": {
  22936. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  22937. "type": "string"
  22938. },
  22939. "orderprice": {
  22940. "description": "委托价格",
  22941. "type": "number"
  22942. },
  22943. "ordertime": {
  22944. "description": "委托时间",
  22945. "type": "string"
  22946. }
  22947. }
  22948. },
  22949. "models.HsbyListingGoodsDetail": {
  22950. "type": "object",
  22951. "required": [
  22952. "goodscode",
  22953. "goodsid",
  22954. "goodsname",
  22955. "marketid",
  22956. "trademode"
  22957. ],
  22958. "properties": {
  22959. "agreeunit": {
  22960. "description": "合约单位",
  22961. "type": "number"
  22962. },
  22963. "buymaxqty": {
  22964. "description": "购买上限 [71] - 0为不限",
  22965. "type": "integer"
  22966. },
  22967. "currency": {
  22968. "description": "货币",
  22969. "type": "string"
  22970. },
  22971. "currencysign": {
  22972. "description": "货币符号",
  22973. "type": "string"
  22974. },
  22975. "decimalplace": {
  22976. "description": "报价小数位",
  22977. "type": "integer"
  22978. },
  22979. "desccityid": {
  22980. "description": "目的地(市)ID",
  22981. "type": "integer"
  22982. },
  22983. "descprovinceid": {
  22984. "description": "目的地(省)ID",
  22985. "type": "integer"
  22986. },
  22987. "goodscode": {
  22988. "description": "商品代码(内部)",
  22989. "type": "string"
  22990. },
  22991. "goodsdesc": {
  22992. "description": "商品详情",
  22993. "type": "string"
  22994. },
  22995. "goodsid": {
  22996. "description": "商品ID(自增ID SEQ_GOODS)",
  22997. "type": "integer"
  22998. },
  22999. "goodsname": {
  23000. "description": "商品名称",
  23001. "type": "string"
  23002. },
  23003. "goodsprice": {
  23004. "description": "商品价格",
  23005. "type": "number"
  23006. },
  23007. "hotindex": {
  23008. "description": "景点热度",
  23009. "type": "integer"
  23010. },
  23011. "last": {
  23012. "description": "现价",
  23013. "type": "number"
  23014. },
  23015. "limitdown": {
  23016. "description": "跌停价",
  23017. "type": "number"
  23018. },
  23019. "limitup": {
  23020. "description": "涨停价",
  23021. "type": "number"
  23022. },
  23023. "lotsize": {
  23024. "description": "手数最小变动单位",
  23025. "type": "integer"
  23026. },
  23027. "marketid": {
  23028. "description": "所属市场ID",
  23029. "type": "integer"
  23030. },
  23031. "picurls": {
  23032. "description": "介绍图片[多张用逗号分隔]",
  23033. "type": "string"
  23034. },
  23035. "quoteminunit": {
  23036. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  23037. "type": "integer"
  23038. },
  23039. "stepvalue": {
  23040. "description": "价格最小变动单位",
  23041. "type": "number"
  23042. },
  23043. "trademode": {
  23044. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  23045. "type": "integer"
  23046. },
  23047. "vendorattr": {
  23048. "description": "供应商附件(多张,逗号分隔)",
  23049. "type": "string"
  23050. },
  23051. "vendorname": {
  23052. "description": "供应商名称",
  23053. "type": "string"
  23054. },
  23055. "vendorphone": {
  23056. "description": "供应商客服电话",
  23057. "type": "string"
  23058. },
  23059. "videourls": {
  23060. "description": "介绍视频[多张用逗号分隔]",
  23061. "type": "string"
  23062. }
  23063. }
  23064. },
  23065. "models.HsbyMarketGoods": {
  23066. "type": "object",
  23067. "required": [
  23068. "accountid",
  23069. "buyorsell",
  23070. "goodscode",
  23071. "goodsid",
  23072. "goodsname",
  23073. "marketid",
  23074. "orderid",
  23075. "trademode"
  23076. ],
  23077. "properties": {
  23078. "accountid": {
  23079. "description": "账户ID[报价币种]",
  23080. "type": "integer"
  23081. },
  23082. "agreeunit": {
  23083. "description": "合约单位",
  23084. "type": "number"
  23085. },
  23086. "buyorsell": {
  23087. "description": "买卖 - 0:买 1:卖",
  23088. "type": "integer"
  23089. },
  23090. "categoryid": {
  23091. "description": "类别ID(WRCATEGORY)",
  23092. "type": "integer"
  23093. },
  23094. "currency": {
  23095. "description": "货币",
  23096. "type": "string"
  23097. },
  23098. "currencysign": {
  23099. "description": "货币符号",
  23100. "type": "string"
  23101. },
  23102. "customername": {
  23103. "description": "卖家名称",
  23104. "type": "string"
  23105. },
  23106. "decimalplace": {
  23107. "description": "报价小数位",
  23108. "type": "integer"
  23109. },
  23110. "goodscode": {
  23111. "description": "商品代码(内部)",
  23112. "type": "string"
  23113. },
  23114. "goodsid": {
  23115. "description": "商品ID",
  23116. "type": "integer"
  23117. },
  23118. "goodsname": {
  23119. "description": "商品名称",
  23120. "type": "string"
  23121. },
  23122. "goodsprice": {
  23123. "description": "商品价格",
  23124. "type": "number"
  23125. },
  23126. "hascoupon": {
  23127. "description": "是否可用优惠卷",
  23128. "type": "boolean"
  23129. },
  23130. "hotindex": {
  23131. "description": "景点热度",
  23132. "type": "integer"
  23133. },
  23134. "marketid": {
  23135. "description": "市场ID",
  23136. "type": "integer"
  23137. },
  23138. "orderid": {
  23139. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  23140. "type": "string"
  23141. },
  23142. "orderprice": {
  23143. "description": "委托价格",
  23144. "type": "number"
  23145. },
  23146. "orderstatus": {
  23147. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  23148. "type": "integer"
  23149. },
  23150. "picurls": {
  23151. "description": "介绍图片[多张用逗号分隔]",
  23152. "type": "string"
  23153. },
  23154. "quoteminunit": {
  23155. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  23156. "type": "integer"
  23157. },
  23158. "sellUserID": {
  23159. "description": "卖方UserID",
  23160. "type": "integer"
  23161. },
  23162. "trademode": {
  23163. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  23164. "type": "integer"
  23165. },
  23166. "videourls": {
  23167. "description": "介绍视频[多张用逗号分隔]",
  23168. "type": "string"
  23169. }
  23170. }
  23171. },
  23172. "models.HsbyMarketGoodsDetail": {
  23173. "type": "object",
  23174. "required": [
  23175. "accountid",
  23176. "buyorsell",
  23177. "goodscode",
  23178. "goodsid",
  23179. "goodsname",
  23180. "marketid",
  23181. "orderid",
  23182. "orderqty",
  23183. "trademode"
  23184. ],
  23185. "properties": {
  23186. "accountid": {
  23187. "description": "账户ID[报价币种]",
  23188. "type": "integer"
  23189. },
  23190. "agreeunit": {
  23191. "description": "合约单位",
  23192. "type": "number"
  23193. },
  23194. "buymaxqty": {
  23195. "description": "购买上限 [71] - 0为不限",
  23196. "type": "integer"
  23197. },
  23198. "buyorsell": {
  23199. "description": "买卖 - 0:买 1:卖",
  23200. "type": "integer"
  23201. },
  23202. "cancelqty": {
  23203. "description": "撤单数量",
  23204. "type": "integer"
  23205. },
  23206. "categoryid": {
  23207. "description": "类别ID(WRCATEGORY)",
  23208. "type": "integer"
  23209. },
  23210. "currency": {
  23211. "description": "货币",
  23212. "type": "string"
  23213. },
  23214. "currencysign": {
  23215. "description": "货币符号",
  23216. "type": "string"
  23217. },
  23218. "customername": {
  23219. "description": "卖家名称",
  23220. "type": "string"
  23221. },
  23222. "decimalplace": {
  23223. "description": "报价小数位",
  23224. "type": "integer"
  23225. },
  23226. "goodscode": {
  23227. "description": "商品代码(内部)",
  23228. "type": "string"
  23229. },
  23230. "goodsdesc": {
  23231. "description": "商品详情",
  23232. "type": "string"
  23233. },
  23234. "goodsid": {
  23235. "description": "商品ID",
  23236. "type": "integer"
  23237. },
  23238. "goodsname": {
  23239. "description": "商品名称",
  23240. "type": "string"
  23241. },
  23242. "goodsprice": {
  23243. "description": "商品价格",
  23244. "type": "number"
  23245. },
  23246. "hotindex": {
  23247. "description": "景点热度",
  23248. "type": "integer"
  23249. },
  23250. "lotsize": {
  23251. "description": "手数最小变动单位",
  23252. "type": "integer"
  23253. },
  23254. "marketid": {
  23255. "description": "市场ID",
  23256. "type": "integer"
  23257. },
  23258. "orderid": {
  23259. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  23260. "type": "string"
  23261. },
  23262. "orderprice": {
  23263. "description": "委托价格",
  23264. "type": "number"
  23265. },
  23266. "orderqty": {
  23267. "description": "委托数量",
  23268. "type": "integer"
  23269. },
  23270. "orderstatus": {
  23271. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  23272. "type": "integer"
  23273. },
  23274. "picurls": {
  23275. "description": "介绍图片[多张用逗号分隔]",
  23276. "type": "string"
  23277. },
  23278. "quoteminunit": {
  23279. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  23280. "type": "integer"
  23281. },
  23282. "sellUserID": {
  23283. "description": "卖方UserID",
  23284. "type": "integer"
  23285. },
  23286. "trademode": {
  23287. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  23288. "type": "integer"
  23289. },
  23290. "tradeqty": {
  23291. "description": "成交数量",
  23292. "type": "integer"
  23293. },
  23294. "vendorattr": {
  23295. "description": "供应商附件(多张,逗号分隔)",
  23296. "type": "string"
  23297. },
  23298. "vendorname": {
  23299. "description": "供应商名称",
  23300. "type": "string"
  23301. },
  23302. "vendorphone": {
  23303. "description": "供应商客服电话",
  23304. "type": "string"
  23305. },
  23306. "videourls": {
  23307. "description": "介绍视频[多张用逗号分隔]",
  23308. "type": "string"
  23309. }
  23310. }
  23311. },
  23312. "models.HsbyMarketInfo": {
  23313. "type": "object",
  23314. "required": [
  23315. "marketid",
  23316. "marketstatus",
  23317. "trademode"
  23318. ],
  23319. "properties": {
  23320. "marketid": {
  23321. "description": "市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务",
  23322. "type": "integer"
  23323. },
  23324. "marketname": {
  23325. "description": "市场名称",
  23326. "type": "string"
  23327. },
  23328. "marketstatus": {
  23329. "description": "生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销",
  23330. "type": "integer"
  23331. },
  23332. "trademode": {
  23333. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  23334. "type": "integer"
  23335. }
  23336. }
  23337. },
  23338. "models.HsbyMyGoods": {
  23339. "type": "object",
  23340. "required": [
  23341. "accountid",
  23342. "goodscode",
  23343. "goodsid",
  23344. "goodsname",
  23345. "marketid",
  23346. "trademode"
  23347. ],
  23348. "properties": {
  23349. "accountid": {
  23350. "description": "账号Id",
  23351. "type": "integer"
  23352. },
  23353. "agreeunit": {
  23354. "description": "合约单位",
  23355. "type": "number"
  23356. },
  23357. "buyaverageprice": {
  23358. "description": "持仓均价",
  23359. "type": "number"
  23360. },
  23361. "buycurholderamount": {
  23362. "description": "买当前持仓总金额[商品币种]",
  23363. "type": "number"
  23364. },
  23365. "buycurpositionqty": {
  23366. "description": "买当前持仓总数量",
  23367. "type": "integer"
  23368. },
  23369. "buymaxqty": {
  23370. "description": "购买上限 [71] - 0为不限",
  23371. "type": "integer"
  23372. },
  23373. "currencysign": {
  23374. "description": "货币符号",
  23375. "type": "string"
  23376. },
  23377. "decimalplace": {
  23378. "description": "报价小数位",
  23379. "type": "integer"
  23380. },
  23381. "enableqty": {
  23382. "description": "可用数量",
  23383. "type": "integer"
  23384. },
  23385. "goodscode": {
  23386. "description": "商品代码(内部)",
  23387. "type": "string"
  23388. },
  23389. "goodsid": {
  23390. "description": "商品Id",
  23391. "type": "integer"
  23392. },
  23393. "goodsname": {
  23394. "description": "商品名称",
  23395. "type": "string"
  23396. },
  23397. "goodsprice": {
  23398. "description": "商品价格",
  23399. "type": "number"
  23400. },
  23401. "goodsstatus": {
  23402. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  23403. "type": "integer"
  23404. },
  23405. "last": {
  23406. "description": "现价(仅使用于挂牌点选)",
  23407. "type": "number"
  23408. },
  23409. "limitdown": {
  23410. "description": "跌停价(仅使用于挂牌点选)",
  23411. "type": "number"
  23412. },
  23413. "limitup": {
  23414. "description": "涨停价(仅使用于挂牌点选)",
  23415. "type": "number"
  23416. },
  23417. "lotsize": {
  23418. "description": "手数最小变动单位",
  23419. "type": "integer"
  23420. },
  23421. "marketid": {
  23422. "description": "所属市场ID",
  23423. "type": "integer"
  23424. },
  23425. "picurls": {
  23426. "description": "介绍图片[多张用逗号分隔]",
  23427. "type": "string"
  23428. },
  23429. "quoteminunit": {
  23430. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  23431. "type": "integer"
  23432. },
  23433. "stepvalue": {
  23434. "description": "价格最小变动单位",
  23435. "type": "number"
  23436. },
  23437. "trademode": {
  23438. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  23439. "type": "integer"
  23440. }
  23441. }
  23442. },
  23443. "models.HsbyMyPackage": {
  23444. "type": "object",
  23445. "required": [
  23446. "goodscode",
  23447. "goodsname",
  23448. "takeorderid",
  23449. "trademode"
  23450. ],
  23451. "properties": {
  23452. "accountid": {
  23453. "description": "账户ID",
  23454. "type": "integer"
  23455. },
  23456. "address": {
  23457. "description": "提货人详细地址",
  23458. "type": "string"
  23459. },
  23460. "agreeunit": {
  23461. "description": "合约单位",
  23462. "type": "number"
  23463. },
  23464. "amount": {
  23465. "description": "提货金额",
  23466. "type": "number"
  23467. },
  23468. "auditer": {
  23469. "description": "审核人",
  23470. "type": "integer"
  23471. },
  23472. "audittime": {
  23473. "description": "审核时间",
  23474. "type": "string"
  23475. },
  23476. "averageprice": {
  23477. "description": "均价",
  23478. "type": "number"
  23479. },
  23480. "cardnum": {
  23481. "description": "提货人证件号码",
  23482. "type": "string"
  23483. },
  23484. "cardtypeid": {
  23485. "description": "提货人证件类型",
  23486. "type": "integer"
  23487. },
  23488. "checkremark": {
  23489. "description": "审核备注",
  23490. "type": "string"
  23491. },
  23492. "currencysign": {
  23493. "description": "货币符号",
  23494. "type": "string"
  23495. },
  23496. "decimalplace": {
  23497. "description": "报价小数位",
  23498. "type": "integer"
  23499. },
  23500. "goodscode": {
  23501. "description": "商品代码(内部)",
  23502. "type": "string"
  23503. },
  23504. "goodsid": {
  23505. "description": "商品ID",
  23506. "type": "integer"
  23507. },
  23508. "goodsname": {
  23509. "description": "商品名称",
  23510. "type": "string"
  23511. },
  23512. "handlestatus": {
  23513. "description": "处理状态",
  23514. "type": "integer"
  23515. },
  23516. "marketid": {
  23517. "description": "市场ID",
  23518. "type": "integer"
  23519. },
  23520. "phonenum": {
  23521. "description": "提货人联系方式",
  23522. "type": "string"
  23523. },
  23524. "picurls": {
  23525. "description": "介绍图片[多张用逗号分隔]",
  23526. "type": "string"
  23527. },
  23528. "qty": {
  23529. "description": "提货数量",
  23530. "type": "number"
  23531. },
  23532. "recivername": {
  23533. "description": "提货人姓名",
  23534. "type": "string"
  23535. },
  23536. "reqtime": {
  23537. "description": "更新时间",
  23538. "type": "string"
  23539. },
  23540. "takemode": {
  23541. "description": "提货方式 - 2:自提 3:配送",
  23542. "type": "integer"
  23543. },
  23544. "takeorderid": {
  23545. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  23546. "type": "string"
  23547. },
  23548. "takeorderstatus": {
  23549. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  23550. "type": "integer"
  23551. },
  23552. "takeremark": {
  23553. "description": "提货备注",
  23554. "type": "string"
  23555. },
  23556. "tradedate": {
  23557. "description": "交易日(yyyyMMdd)",
  23558. "type": "string"
  23559. },
  23560. "trademode": {
  23561. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  23562. "type": "integer"
  23563. },
  23564. "userid": {
  23565. "description": "用户ID",
  23566. "type": "integer"
  23567. },
  23568. "vendorname": {
  23569. "description": "供应商名称",
  23570. "type": "string"
  23571. }
  23572. }
  23573. },
  23574. "models.HsbyPreGoods": {
  23575. "type": "object",
  23576. "required": [
  23577. "goodscode",
  23578. "goodsid",
  23579. "goodsname",
  23580. "marketid",
  23581. "trademode"
  23582. ],
  23583. "properties": {
  23584. "agreeunit": {
  23585. "description": "合约单位",
  23586. "type": "number"
  23587. },
  23588. "currency": {
  23589. "description": "货币",
  23590. "type": "string"
  23591. },
  23592. "currencysign": {
  23593. "description": "货币符号",
  23594. "type": "string"
  23595. },
  23596. "decimalplace": {
  23597. "description": "报价小数位",
  23598. "type": "integer"
  23599. },
  23600. "desccityid": {
  23601. "description": "目的地(市)",
  23602. "type": "integer"
  23603. },
  23604. "descprovinceid": {
  23605. "description": "目的地(省)",
  23606. "type": "integer"
  23607. },
  23608. "enableqty": {
  23609. "description": "剩余数量",
  23610. "type": "integer"
  23611. },
  23612. "goodscode": {
  23613. "description": "商品代码(内部)",
  23614. "type": "string"
  23615. },
  23616. "goodsid": {
  23617. "description": "商品ID(自增ID SEQ_GOODS)",
  23618. "type": "integer"
  23619. },
  23620. "goodsname": {
  23621. "description": "商品名称",
  23622. "type": "string"
  23623. },
  23624. "goodsstatus": {
  23625. "description": "商品状态- 2:未上市 3:上市",
  23626. "type": "integer"
  23627. },
  23628. "lasttradedate": {
  23629. "description": "最后交易日期(状态:待退市)",
  23630. "type": "string"
  23631. },
  23632. "listingdate": {
  23633. "description": "交易开始日期",
  23634. "type": "string"
  23635. },
  23636. "marketid": {
  23637. "description": "所属市场ID",
  23638. "type": "integer"
  23639. },
  23640. "picurls": {
  23641. "description": "介绍图片[多张用逗号分隔]",
  23642. "type": "string"
  23643. },
  23644. "presaledqty": {
  23645. "description": "已预售量(预售结束时更新)",
  23646. "type": "integer"
  23647. },
  23648. "presaleqty": {
  23649. "description": "预售数量",
  23650. "type": "integer"
  23651. },
  23652. "quoteminunit": {
  23653. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  23654. "type": "integer"
  23655. },
  23656. "refprice": {
  23657. "description": "参考价格[一口价]",
  23658. "type": "number"
  23659. },
  23660. "relatedgoodsid": {
  23661. "description": "关联交易合约ID",
  23662. "type": "integer"
  23663. },
  23664. "trademode": {
  23665. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  23666. "type": "integer"
  23667. },
  23668. "videourls": {
  23669. "description": "介绍视频[多张用逗号分隔]",
  23670. "type": "string"
  23671. }
  23672. }
  23673. },
  23674. "models.HsbyPreGoodsDetail": {
  23675. "type": "object",
  23676. "required": [
  23677. "goodscode",
  23678. "goodsid",
  23679. "goodsname",
  23680. "marketid",
  23681. "trademode"
  23682. ],
  23683. "properties": {
  23684. "agreeunit": {
  23685. "description": "合约单位",
  23686. "type": "number"
  23687. },
  23688. "buymaxqty": {
  23689. "description": "购买上限 [71] - 0为不限",
  23690. "type": "integer"
  23691. },
  23692. "currency": {
  23693. "description": "货币",
  23694. "type": "string"
  23695. },
  23696. "currencysign": {
  23697. "description": "货币符号",
  23698. "type": "string"
  23699. },
  23700. "customername": {
  23701. "description": "发行单位",
  23702. "type": "string"
  23703. },
  23704. "decimalplace": {
  23705. "description": "报价小数位",
  23706. "type": "integer"
  23707. },
  23708. "desccityid": {
  23709. "description": "目的地(市)ID",
  23710. "type": "integer"
  23711. },
  23712. "descprovinceid": {
  23713. "description": "目的地(省)ID",
  23714. "type": "integer"
  23715. },
  23716. "enableqty": {
  23717. "description": "剩余数量",
  23718. "type": "integer"
  23719. },
  23720. "goodscode": {
  23721. "description": "商品代码(内部)",
  23722. "type": "string"
  23723. },
  23724. "goodsdesc": {
  23725. "description": "商品详情",
  23726. "type": "string"
  23727. },
  23728. "goodsid": {
  23729. "description": "商品ID(自增ID SEQ_GOODS)",
  23730. "type": "integer"
  23731. },
  23732. "goodsname": {
  23733. "description": "商品名称",
  23734. "type": "string"
  23735. },
  23736. "goodsstatus": {
  23737. "description": "商品状态- 2:未上市 3:上市",
  23738. "type": "integer"
  23739. },
  23740. "goodunit": {
  23741. "description": "报价单位",
  23742. "type": "string"
  23743. },
  23744. "lasttradedate": {
  23745. "description": "最后交易日期(状态:待退市)",
  23746. "type": "string"
  23747. },
  23748. "listingdate": {
  23749. "description": "交易开始日期",
  23750. "type": "string"
  23751. },
  23752. "lotsize": {
  23753. "description": "手数最小变动单位",
  23754. "type": "integer"
  23755. },
  23756. "marketid": {
  23757. "description": "所属市场ID",
  23758. "type": "integer"
  23759. },
  23760. "picurls": {
  23761. "description": "介绍图片[多张用逗号分隔]",
  23762. "type": "string"
  23763. },
  23764. "presaledqty": {
  23765. "description": "已预售量(预售结束时更新)",
  23766. "type": "integer"
  23767. },
  23768. "presaleqty": {
  23769. "description": "预售数量",
  23770. "type": "integer"
  23771. },
  23772. "quoteminunit": {
  23773. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  23774. "type": "integer"
  23775. },
  23776. "refprice": {
  23777. "description": "参考价格[一口价]",
  23778. "type": "number"
  23779. },
  23780. "relatedgoodsid": {
  23781. "description": "关联交易合约ID",
  23782. "type": "integer"
  23783. },
  23784. "stepvalue": {
  23785. "description": "价格最小变动单位",
  23786. "type": "number"
  23787. },
  23788. "trademode": {
  23789. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  23790. "type": "integer"
  23791. },
  23792. "vendorattr": {
  23793. "description": "供应商附件(多张,逗号分隔)",
  23794. "type": "string"
  23795. },
  23796. "vendorname": {
  23797. "description": "供应商名称",
  23798. "type": "string"
  23799. },
  23800. "vendorphone": {
  23801. "description": "供应商客服电话",
  23802. "type": "string"
  23803. },
  23804. "videourls": {
  23805. "description": "介绍视频[多张用逗号分隔]",
  23806. "type": "string"
  23807. }
  23808. }
  23809. },
  23810. "models.HsbySellCollectionOrder": {
  23811. "type": "object",
  23812. "required": [
  23813. "goodscode",
  23814. "goodsname",
  23815. "tradeid",
  23816. "trademode"
  23817. ],
  23818. "properties": {
  23819. "agreeunit": {
  23820. "description": "合约单位",
  23821. "type": "number"
  23822. },
  23823. "buyaccountid": {
  23824. "description": "买方账号ID[报价币种]",
  23825. "type": "integer"
  23826. },
  23827. "buyorderid": {
  23828. "description": "买方委托单号",
  23829. "type": "string"
  23830. },
  23831. "createtime": {
  23832. "description": "创建时间",
  23833. "type": "string"
  23834. },
  23835. "currencysign": {
  23836. "description": "货币符号",
  23837. "type": "string"
  23838. },
  23839. "decimalplace": {
  23840. "description": "报价小数位",
  23841. "type": "integer"
  23842. },
  23843. "goodscode": {
  23844. "description": "商品代码(内部)",
  23845. "type": "string"
  23846. },
  23847. "goodsid": {
  23848. "description": "商品ID",
  23849. "type": "integer"
  23850. },
  23851. "goodsname": {
  23852. "description": "商品名称",
  23853. "type": "string"
  23854. },
  23855. "marketid": {
  23856. "description": "市场ID",
  23857. "type": "integer"
  23858. },
  23859. "offamount": {
  23860. "description": "优惠金额",
  23861. "type": "number"
  23862. },
  23863. "payamount": {
  23864. "description": "支付金额 = TradeAmount + TradeCharge - OffAmount",
  23865. "type": "number"
  23866. },
  23867. "payflag": {
  23868. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  23869. "type": "integer"
  23870. },
  23871. "paylimitedtime": {
  23872. "description": "支付期限",
  23873. "type": "string"
  23874. },
  23875. "paytime": {
  23876. "description": "付款时间",
  23877. "type": "string"
  23878. },
  23879. "picurls": {
  23880. "description": "商品介绍图片[多张用逗号分隔]",
  23881. "type": "string"
  23882. },
  23883. "sellaccountid": {
  23884. "description": "卖方账号ID[报价币种]",
  23885. "type": "integer"
  23886. },
  23887. "sellorderid": {
  23888. "description": "卖方委托单号",
  23889. "type": "string"
  23890. },
  23891. "tradeamount": {
  23892. "description": "成交金额",
  23893. "type": "number"
  23894. },
  23895. "tradecharge": {
  23896. "description": "成交手续费(买方)",
  23897. "type": "number"
  23898. },
  23899. "tradedate": {
  23900. "description": "交易日(yyyyMMdd)",
  23901. "type": "string"
  23902. },
  23903. "tradeid": {
  23904. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  23905. "type": "string"
  23906. },
  23907. "trademode": {
  23908. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  23909. "type": "integer"
  23910. },
  23911. "tradeprice": {
  23912. "description": "成交价格",
  23913. "type": "number"
  23914. },
  23915. "tradeqty": {
  23916. "description": "成交数量",
  23917. "type": "integer"
  23918. }
  23919. }
  23920. },
  23921. "models.HsbySellMyDetail": {
  23922. "type": "object",
  23923. "required": [
  23924. "accountid",
  23925. "buyorsell",
  23926. "goodscode",
  23927. "goodsid",
  23928. "goodsname",
  23929. "marketid",
  23930. "orderid",
  23931. "time",
  23932. "trademode"
  23933. ],
  23934. "properties": {
  23935. "accountid": {
  23936. "description": "账户ID[报价币种]",
  23937. "type": "integer"
  23938. },
  23939. "agreeunit": {
  23940. "description": "合约单位",
  23941. "type": "number"
  23942. },
  23943. "buyorsell": {
  23944. "description": "买卖 - 0:买 1:卖",
  23945. "type": "integer"
  23946. },
  23947. "currencysign": {
  23948. "description": "货币符号",
  23949. "type": "string"
  23950. },
  23951. "decimalplace": {
  23952. "description": "报价小数位",
  23953. "type": "integer"
  23954. },
  23955. "goodscode": {
  23956. "description": "商品代码(内部)",
  23957. "type": "string"
  23958. },
  23959. "goodsid": {
  23960. "description": "商品ID",
  23961. "type": "integer"
  23962. },
  23963. "goodsname": {
  23964. "description": "商品名称",
  23965. "type": "string"
  23966. },
  23967. "marketid": {
  23968. "description": "市场ID",
  23969. "type": "integer"
  23970. },
  23971. "orderid": {
  23972. "description": "单号(发布中 - 委托单号;已完成 - 成交单号)",
  23973. "type": "string"
  23974. },
  23975. "ordertype": {
  23976. "description": "单据类型:0 - 发布中, 1 - 已完成",
  23977. "type": "integer"
  23978. },
  23979. "picurls": {
  23980. "description": "介绍图片[多张用逗号分隔]",
  23981. "type": "string"
  23982. },
  23983. "price": {
  23984. "description": "价格",
  23985. "type": "number"
  23986. },
  23987. "qty": {
  23988. "description": "数量",
  23989. "type": "integer"
  23990. },
  23991. "time": {
  23992. "description": "时间",
  23993. "type": "string"
  23994. },
  23995. "trademode": {
  23996. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  23997. "type": "integer"
  23998. },
  23999. "vendorname": {
  24000. "description": "供应商名称",
  24001. "type": "string"
  24002. }
  24003. }
  24004. },
  24005. "models.HsbyTopGoods": {
  24006. "type": "object",
  24007. "required": [
  24008. "goodscode",
  24009. "goodsid",
  24010. "goodsname",
  24011. "marketid",
  24012. "trademode"
  24013. ],
  24014. "properties": {
  24015. "agreeunit": {
  24016. "description": "合约单位",
  24017. "type": "number"
  24018. },
  24019. "currency": {
  24020. "description": "货币",
  24021. "type": "string"
  24022. },
  24023. "currencysign": {
  24024. "description": "货币符号",
  24025. "type": "string"
  24026. },
  24027. "decimalplace": {
  24028. "description": "报价小数位",
  24029. "type": "integer"
  24030. },
  24031. "desccityid": {
  24032. "description": "目的地(市)",
  24033. "type": "integer"
  24034. },
  24035. "descprovinceid": {
  24036. "description": "目的地(省)",
  24037. "type": "integer"
  24038. },
  24039. "goodscode": {
  24040. "description": "商品代码(内部)",
  24041. "type": "string"
  24042. },
  24043. "goodsid": {
  24044. "description": "商品ID(自增ID SEQ_GOODS)",
  24045. "type": "integer"
  24046. },
  24047. "goodsname": {
  24048. "description": "商品名称",
  24049. "type": "string"
  24050. },
  24051. "hotindex": {
  24052. "description": "景点热度",
  24053. "type": "integer"
  24054. },
  24055. "last": {
  24056. "description": "现价",
  24057. "type": "number"
  24058. },
  24059. "marketid": {
  24060. "description": "所属市场ID",
  24061. "type": "integer"
  24062. },
  24063. "picurls": {
  24064. "description": "介绍图片[多张用逗号分隔]",
  24065. "type": "string"
  24066. },
  24067. "quoteminunit": {
  24068. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  24069. "type": "integer"
  24070. },
  24071. "trademode": {
  24072. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  24073. "type": "integer"
  24074. },
  24075. "videourls": {
  24076. "description": "介绍视频[多张用逗号分隔]",
  24077. "type": "string"
  24078. }
  24079. }
  24080. },
  24081. "models.HybsMyBuyOrderDetail": {
  24082. "type": "object",
  24083. "required": [
  24084. "accountid",
  24085. "buyorsell",
  24086. "goodscode",
  24087. "goodsid",
  24088. "goodsname",
  24089. "marketid",
  24090. "orderid",
  24091. "orderqty",
  24092. "ordertime",
  24093. "trademode"
  24094. ],
  24095. "properties": {
  24096. "accountid": {
  24097. "description": "账户ID[报价币种]",
  24098. "type": "integer"
  24099. },
  24100. "agreeunit": {
  24101. "description": "合约单位",
  24102. "type": "number"
  24103. },
  24104. "buyorsell": {
  24105. "description": "买卖 - 0:买 1:卖",
  24106. "type": "integer"
  24107. },
  24108. "cancelqty": {
  24109. "description": "撤单数量",
  24110. "type": "integer"
  24111. },
  24112. "currencysign": {
  24113. "description": "货币符号",
  24114. "type": "string"
  24115. },
  24116. "decimalplace": {
  24117. "description": "报价小数位",
  24118. "type": "integer"
  24119. },
  24120. "goodscode": {
  24121. "description": "商品代码(内部)",
  24122. "type": "string"
  24123. },
  24124. "goodsid": {
  24125. "description": "商品ID",
  24126. "type": "integer"
  24127. },
  24128. "goodsname": {
  24129. "description": "商品名称",
  24130. "type": "string"
  24131. },
  24132. "listingselecttype": {
  24133. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  24134. "type": "integer"
  24135. },
  24136. "marketid": {
  24137. "description": "市场ID",
  24138. "type": "integer"
  24139. },
  24140. "mybuystatus": {
  24141. "description": "\"我的订单\"显示状态- 1:抢购中 2:求购中 3:已完成 4:已撤消 5:委托失败",
  24142. "type": "integer"
  24143. },
  24144. "orderamount": {
  24145. "description": "委托金额",
  24146. "type": "number"
  24147. },
  24148. "orderid": {
  24149. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  24150. "type": "string"
  24151. },
  24152. "orderprice": {
  24153. "description": "委托价格",
  24154. "type": "number"
  24155. },
  24156. "orderqty": {
  24157. "description": "委托数量",
  24158. "type": "integer"
  24159. },
  24160. "orderstatus": {
  24161. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  24162. "type": "integer"
  24163. },
  24164. "ordertime": {
  24165. "description": "委托时间",
  24166. "type": "string"
  24167. },
  24168. "picurls1": {
  24169. "description": "预售商品介绍图片[多张用逗号分隔]",
  24170. "type": "string"
  24171. },
  24172. "picurls2": {
  24173. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  24174. "type": "string"
  24175. },
  24176. "trademode": {
  24177. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  24178. "type": "integer"
  24179. },
  24180. "tradeqty": {
  24181. "description": "成交数量",
  24182. "type": "integer"
  24183. },
  24184. "vendorname1": {
  24185. "description": "预售商品供应商名称",
  24186. "type": "string"
  24187. },
  24188. "vendorname2": {
  24189. "description": "挂牌商品供应商名称",
  24190. "type": "string"
  24191. }
  24192. }
  24193. },
  24194. "models.Loginaccount": {
  24195. "type": "object",
  24196. "required": [
  24197. "loginid"
  24198. ],
  24199. "properties": {
  24200. "accountname": {
  24201. "description": "账户名称",
  24202. "type": "string"
  24203. },
  24204. "canoutin": {
  24205. "description": "是否可出入金 - 0:不可 1:可",
  24206. "type": "integer"
  24207. },
  24208. "clientroleid": {
  24209. "description": "终端角色ID",
  24210. "type": "integer"
  24211. },
  24212. "haslogined": {
  24213. "description": "是否已登录 - 0:未登录 1:已登录",
  24214. "type": "integer"
  24215. },
  24216. "hasupdatedpwd": {
  24217. "description": "是否已更改密码 - 0:未修改 1:已修改",
  24218. "type": "integer"
  24219. },
  24220. "lastloginip": {
  24221. "description": "最新登录地址",
  24222. "type": "string"
  24223. },
  24224. "lastloginmode": {
  24225. "description": "最新登录方式(客户端类型) - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  24226. "type": "integer"
  24227. },
  24228. "lastloginremark": {
  24229. "description": "最新登录描述",
  24230. "type": "string"
  24231. },
  24232. "lastlogintime": {
  24233. "description": "最新登录时间",
  24234. "type": "string"
  24235. },
  24236. "logincode": {
  24237. "description": "登录代码",
  24238. "type": "string"
  24239. },
  24240. "loginfailnum": {
  24241. "description": "连续登录失败次数(登录成功时清零)",
  24242. "type": "integer"
  24243. },
  24244. "loginid": {
  24245. "description": "登陆账号",
  24246. "type": "integer"
  24247. },
  24248. "loginport": {
  24249. "description": "最新登录端口",
  24250. "type": "integer"
  24251. },
  24252. "loginstatus": {
  24253. "description": "登录账号状态 1:正常 2:冻结(停用) 3:无效(注销)",
  24254. "type": "integer"
  24255. },
  24256. "loginusertype": {
  24257. "description": "登录账号类型 - 1:投资者 2:机构交易员",
  24258. "type": "integer"
  24259. },
  24260. "mobile": {
  24261. "description": "手机号码(加密存储)",
  24262. "type": "string"
  24263. },
  24264. "modifierid": {
  24265. "description": "修改人",
  24266. "type": "integer"
  24267. },
  24268. "modifysrc": {
  24269. "description": "审核来源 - 1:管理端 2:终端",
  24270. "type": "integer"
  24271. },
  24272. "modifytime": {
  24273. "description": "修改时间",
  24274. "type": "string"
  24275. },
  24276. "password": {
  24277. "description": "登陆密码",
  24278. "type": "string"
  24279. },
  24280. "pwdwrongcount": {
  24281. "description": "密码错误次数",
  24282. "type": "integer"
  24283. },
  24284. "relateduserid": {
  24285. "description": "关联用户ID(机构)",
  24286. "type": "integer"
  24287. },
  24288. "taaccountrighttype": {
  24289. "description": "资金账号权限类型 - 1:不选默认为所有权限 2:不选默认为无权限",
  24290. "type": "integer"
  24291. },
  24292. "unfreezetime": {
  24293. "description": "账户解冻时间",
  24294. "type": "string"
  24295. },
  24296. "userid": {
  24297. "description": "用户ID",
  24298. "type": "integer"
  24299. }
  24300. }
  24301. },
  24302. "models.MainAccountInfo": {
  24303. "type": "object",
  24304. "properties": {
  24305. "accountid": {
  24306. "description": "账号id",
  24307. "type": "integer"
  24308. },
  24309. "accountname": {
  24310. "description": "账号名称(taaccount表中的名称)",
  24311. "type": "string"
  24312. },
  24313. "appid": {
  24314. "description": "AppID",
  24315. "type": "string"
  24316. },
  24317. "authcode": {
  24318. "description": "授权码",
  24319. "type": "string"
  24320. },
  24321. "brokerid": {
  24322. "description": "经纪商id",
  24323. "type": "string"
  24324. },
  24325. "fcid": {
  24326. "description": "期货公司id",
  24327. "type": "integer"
  24328. },
  24329. "fcname": {
  24330. "description": "期货公司代码",
  24331. "type": "string"
  24332. },
  24333. "hedgeaccountcode": {
  24334. "description": "外部账号代码(主账号登录代码)",
  24335. "type": "string"
  24336. },
  24337. "hedgeaccountpwd": {
  24338. "description": "密码",
  24339. "type": "string"
  24340. },
  24341. "ismain": {
  24342. "description": "是否主账号",
  24343. "type": "integer"
  24344. },
  24345. "relateduserid": {
  24346. "description": "关联用户id",
  24347. "type": "integer"
  24348. },
  24349. "userid": {
  24350. "description": "关联用户id",
  24351. "type": "integer"
  24352. }
  24353. }
  24354. },
  24355. "models.Market": {
  24356. "type": "object",
  24357. "required": [
  24358. "marketid",
  24359. "marketstatus",
  24360. "openmethod",
  24361. "reckonpricealgorithm",
  24362. "trademode",
  24363. "tradeproperty"
  24364. ],
  24365. "properties": {
  24366. "auctionwrtype": {
  24367. "description": "竞拍仓单类型 - 1:无仓单 2:有仓单 3;有无仓单均可",
  24368. "type": "integer"
  24369. },
  24370. "canacceptquote": {
  24371. "description": "确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]",
  24372. "type": "integer"
  24373. },
  24374. "cangoodsexercise": {
  24375. "description": "[期权]是否可现货行权- 0:否 1:是",
  24376. "type": "integer"
  24377. },
  24378. "cangoodsexercisetype": {
  24379. "description": "可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]",
  24380. "type": "integer"
  24381. },
  24382. "canmanualquotestrike": {
  24383. "description": "是否可手动报行权价- 0:否 1:是 [期权]",
  24384. "type": "integer"
  24385. },
  24386. "canmutistage": {
  24387. "description": "是否可多段运行 – 0:不可 1:可 [挂牌期权]",
  24388. "type": "integer"
  24389. },
  24390. "canpreexercise": {
  24391. "description": "[期权]是否可预申报- 0:否 1:是",
  24392. "type": "integer"
  24393. },
  24394. "clearinterval": {
  24395. "description": "待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))",
  24396. "type": "integer"
  24397. },
  24398. "contracttmp": {
  24399. "description": "合同模板[荷兰式][竞价式][仓单贸易]",
  24400. "type": "string"
  24401. },
  24402. "exchareaid": {
  24403. "description": "所属交易所,可以没有",
  24404. "type": "integer"
  24405. },
  24406. "goodstype": {
  24407. "description": "商品类型 - 1:交易商品 2:仓单商品",
  24408. "type": "integer"
  24409. },
  24410. "hasrebate": {
  24411. "description": "是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏",
  24412. "type": "integer"
  24413. },
  24414. "hastradecredit": {
  24415. "description": "是否交易授信[做市收益权] - 0:不授信 1:授信",
  24416. "type": "integer"
  24417. },
  24418. "haswr": {
  24419. "description": "[竞拍]是否需要仓单 - 0:不需要 1:需要-作废",
  24420. "type": "integer"
  24421. },
  24422. "isdeductmargin": {
  24423. "description": "竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除",
  24424. "type": "integer"
  24425. },
  24426. "isrecordsource": {
  24427. "description": "是否记录成交源 - 0:不记录 1:记录 [所有权]",
  24428. "type": "integer"
  24429. },
  24430. "isreleasemargin": {
  24431. "description": "成交参与保证金是否释放[竞价式] - 0:不释放 1释放",
  24432. "type": "integer"
  24433. },
  24434. "marginformula": {
  24435. "description": "持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  24436. "type": "integer"
  24437. },
  24438. "marginformula2": {
  24439. "description": "持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  24440. "type": "integer"
  24441. },
  24442. "marketid": {
  24443. "description": "市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务",
  24444. "type": "integer"
  24445. },
  24446. "marketname": {
  24447. "description": "市场名称",
  24448. "type": "string"
  24449. },
  24450. "marketserviceid": {
  24451. "description": "市场服务ID",
  24452. "type": "integer"
  24453. },
  24454. "marketstatus": {
  24455. "description": "生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销",
  24456. "type": "integer"
  24457. },
  24458. "markettype": {
  24459. "description": "市场类型- 1:非交易服务 2:交易服务",
  24460. "type": "integer"
  24461. },
  24462. "matchermode": {
  24463. "description": "指定对手模式[仓单贸易模式专用] - 1:任意对手",
  24464. "type": "integer"
  24465. },
  24466. "openmethod": {
  24467. "description": "开盘模式 - 0 自动 1手动",
  24468. "type": "integer"
  24469. },
  24470. "otcuserid": {
  24471. "description": "场外期权做市商[场外期权]",
  24472. "type": "integer"
  24473. },
  24474. "outersynctime": {
  24475. "description": "外部同步时间点(h24:mi:ss)[场外期权]",
  24476. "type": "string"
  24477. },
  24478. "pendingflag": {
  24479. "description": "待开市时间标识[通道交易-对冲] - 0:当日 1:上日",
  24480. "type": "integer"
  24481. },
  24482. "pendingtime": {
  24483. "description": "待开市时间[通道交易-对冲](HH:mm)",
  24484. "type": "string"
  24485. },
  24486. "performancetempid": {
  24487. "description": "履约计划模板ID - 作废",
  24488. "type": "integer"
  24489. },
  24490. "premiumquotemode": {
  24491. "description": "权利金报价方式 - 1:自动 2:手动",
  24492. "type": "integer"
  24493. },
  24494. "rebateratio": {
  24495. "description": "返利比率[竞价式]",
  24496. "type": "number"
  24497. },
  24498. "reckonorder": {
  24499. "description": "结算顺序",
  24500. "type": "integer"
  24501. },
  24502. "reckonpricealgorithm": {
  24503. "description": "结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价 6.卖一价 7.买一卖一均价 8.外部结算价",
  24504. "type": "integer"
  24505. },
  24506. "reckonpriceparam": {
  24507. "description": "结算价参数",
  24508. "type": "integer"
  24509. },
  24510. "reckontime": {
  24511. "description": "结算时间[通道交易-对冲](HH:mm)",
  24512. "type": "string"
  24513. },
  24514. "roleprioritytype": {
  24515. "description": "角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]",
  24516. "type": "integer"
  24517. },
  24518. "selllistingauditflag": {
  24519. "description": "卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要",
  24520. "type": "integer"
  24521. },
  24522. "trademarkettype": {
  24523. "description": "交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场",
  24524. "type": "integer"
  24525. },
  24526. "trademode": {
  24527. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  24528. "type": "integer"
  24529. },
  24530. "tradeproperty": {
  24531. "description": "交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易 8:场外期权",
  24532. "type": "integer"
  24533. },
  24534. "tradetype": {
  24535. "description": "下单方式[通道交易] - 1:直接转单 2:净头寸下单",
  24536. "type": "integer"
  24537. }
  24538. }
  24539. },
  24540. "models.Marketrun": {
  24541. "type": "object",
  24542. "required": [
  24543. "marketid",
  24544. "nexttradedate",
  24545. "reckonflag",
  24546. "runstatus",
  24547. "tradedate",
  24548. "tradedate2"
  24549. ],
  24550. "properties": {
  24551. "afternexttradedate": {
  24552. "description": "下下交易日",
  24553. "type": "string"
  24554. },
  24555. "clearquoteflag": {
  24556. "description": "行情清盘标志- 1:未发送 2:已发送 3:已回复",
  24557. "type": "integer"
  24558. },
  24559. "lastreckondate": {
  24560. "description": "最新交易日(结算成功)",
  24561. "type": "string"
  24562. },
  24563. "machinedate": {
  24564. "description": "机器时间",
  24565. "type": "string"
  24566. },
  24567. "manualflag": {
  24568. "description": "手动开市标志- 0:否 1:是 (市场为手动时,是否触发了手动开市标志)",
  24569. "type": "integer"
  24570. },
  24571. "marketid": {
  24572. "description": "市场ID",
  24573. "type": "integer"
  24574. },
  24575. "nexttradedate": {
  24576. "description": "下一交易日",
  24577. "type": "string"
  24578. },
  24579. "pretradedate": {
  24580. "description": "上一交易日",
  24581. "type": "string"
  24582. },
  24583. "reckonflag": {
  24584. "description": "结算标识 - 0: 停止结算 1: 正常(管理端控制此字段,交易服务根据此字段判断是否做结算)",
  24585. "type": "integer"
  24586. },
  24587. "runstatus": {
  24588. "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.今日免清算",
  24589. "type": "integer"
  24590. },
  24591. "sectionid": {
  24592. "description": "时间段号[多时段时用]",
  24593. "type": "integer"
  24594. },
  24595. "tradedate": {
  24596. "description": "当前交易日(服务) 资金结算完成即变更,供交易服务使用",
  24597. "type": "string"
  24598. },
  24599. "tradedate2": {
  24600. "description": "当前交易日(行情) 在第一个市场待开市时变更为TradeDate,供行情及终端系统使用",
  24601. "type": "string"
  24602. },
  24603. "updatetime": {
  24604. "description": "更新时间",
  24605. "type": "string"
  24606. }
  24607. }
  24608. },
  24609. "models.Messageboard": {
  24610. "type": "object",
  24611. "required": [
  24612. "messageboardid"
  24613. ],
  24614. "properties": {
  24615. "contactnum": {
  24616. "description": "联系电话",
  24617. "type": "string"
  24618. },
  24619. "createtime": {
  24620. "description": "创建时间",
  24621. "type": "string"
  24622. },
  24623. "message": {
  24624. "description": "留言信息",
  24625. "type": "string"
  24626. },
  24627. "messageboardid": {
  24628. "description": "留言簿ID(SEQ_MessageBoard)",
  24629. "type": "integer"
  24630. },
  24631. "userid": {
  24632. "description": "用户ID",
  24633. "type": "integer"
  24634. }
  24635. }
  24636. },
  24637. "models.MyCoupon": {
  24638. "type": "object",
  24639. "required": [
  24640. "accountid",
  24641. "coupontypeid"
  24642. ],
  24643. "properties": {
  24644. "accountid": {
  24645. "description": "资金账户ID",
  24646. "type": "integer"
  24647. },
  24648. "areauserid": {
  24649. "description": "所属机构",
  24650. "type": "integer"
  24651. },
  24652. "conditionvalue": {
  24653. "description": "条件阈值(可为0)",
  24654. "type": "number"
  24655. },
  24656. "couponcategroy": {
  24657. "description": "种类 - 1:现金券 2:折扣券 3:折扣券(单张)",
  24658. "type": "integer"
  24659. },
  24660. "couponname": {
  24661. "description": "优惠券名称",
  24662. "type": "string"
  24663. },
  24664. "coupontypeid": {
  24665. "description": "优惠券类型ID",
  24666. "type": "string"
  24667. },
  24668. "couponvalue": {
  24669. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值]",
  24670. "type": "number"
  24671. },
  24672. "curfreezeqty": {
  24673. "description": "期末冻结数量",
  24674. "type": "integer"
  24675. },
  24676. "curqty": {
  24677. "description": "期末数量",
  24678. "type": "integer"
  24679. },
  24680. "isgeneral": {
  24681. "description": "是否通用券 - 0:否 1:是",
  24682. "type": "integer"
  24683. },
  24684. "isunusable": {
  24685. "description": "是否不可用",
  24686. "type": "boolean"
  24687. },
  24688. "limitedflag": {
  24689. "description": "是否指定商品 - 0:不限 1:限制",
  24690. "type": "integer"
  24691. },
  24692. "limitedgoodsids": {
  24693. "description": "指定商品IDs[逗号分隔,前后加逗号]",
  24694. "type": "string"
  24695. },
  24696. "orifreezeqty": {
  24697. "description": "期初冻结数量",
  24698. "type": "integer"
  24699. },
  24700. "oriqty": {
  24701. "description": "期初数量",
  24702. "type": "integer"
  24703. },
  24704. "reasontype": {
  24705. "description": "不可用原因 - 0:未确认 1:不可用于此商品 2:不可用于此卖家",
  24706. "type": "integer"
  24707. },
  24708. "todaydecrease": {
  24709. "description": "今日减少",
  24710. "type": "integer"
  24711. },
  24712. "todayincrease": {
  24713. "description": "今日增加",
  24714. "type": "integer"
  24715. },
  24716. "userid": {
  24717. "description": "用户ID",
  24718. "type": "integer"
  24719. },
  24720. "userscope": {
  24721. "description": "卖家范围(用户ID,逗号分隔,前后加逗号) [IsGeneral =0时使用]",
  24722. "type": "string"
  24723. }
  24724. }
  24725. },
  24726. "models.MyCouponHold": {
  24727. "type": "object",
  24728. "required": [
  24729. "couponholdid"
  24730. ],
  24731. "properties": {
  24732. "accountid": {
  24733. "description": "资金账户ID",
  24734. "type": "integer"
  24735. },
  24736. "conditionvalue": {
  24737. "description": "条件阈值(可为0)",
  24738. "type": "number"
  24739. },
  24740. "couponcategroy": {
  24741. "description": "种类 - 1:现金券 2:折扣券 3:折扣券(单个商品)",
  24742. "type": "integer"
  24743. },
  24744. "couponholdid": {
  24745. "description": "优惠券持仓ID(229+Unix秒时间戳(10位)+xxxxxx)",
  24746. "type": "string"
  24747. },
  24748. "couponname": {
  24749. "description": "优惠券名称",
  24750. "type": "string"
  24751. },
  24752. "coupontypeid": {
  24753. "description": "优惠券类型ID - SEQ_COUPONTYPE",
  24754. "type": "string"
  24755. },
  24756. "couponvalue": {
  24757. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值]",
  24758. "type": "number"
  24759. },
  24760. "createtime": {
  24761. "description": "创建时间",
  24762. "type": "string"
  24763. },
  24764. "enddate": {
  24765. "description": "结束日期",
  24766. "type": "string"
  24767. },
  24768. "giveapplyid": {
  24769. "description": "发放申请ID(SEQ_COUPONGIVEAPPLY)",
  24770. "type": "integer"
  24771. },
  24772. "holdstatus": {
  24773. "description": "持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期",
  24774. "type": "integer"
  24775. },
  24776. "isgeneral": {
  24777. "description": "是否通用券 - 0:否 1:是",
  24778. "type": "integer"
  24779. },
  24780. "limitedflag": {
  24781. "description": "是否指定商品 - 0:不限 1:限制",
  24782. "type": "integer"
  24783. },
  24784. "limitedgoodsids": {
  24785. "description": "指定商品IDs[逗号分隔]",
  24786. "type": "string"
  24787. },
  24788. "qty": {
  24789. "description": "数量(按1平铺)",
  24790. "type": "integer"
  24791. },
  24792. "startdate": {
  24793. "description": "开始日期",
  24794. "type": "string"
  24795. },
  24796. "userid": {
  24797. "description": "用户ID",
  24798. "type": "integer"
  24799. },
  24800. "userscope": {
  24801. "description": "卖家范围(用户ID,逗号分隔) [IsGeneral =0时使用]",
  24802. "type": "string"
  24803. }
  24804. }
  24805. },
  24806. "models.MyUsedCoupon": {
  24807. "type": "object",
  24808. "required": [
  24809. "coupontypeid",
  24810. "orderid"
  24811. ],
  24812. "properties": {
  24813. "accountid": {
  24814. "description": "资金账户ID(买方)",
  24815. "type": "integer"
  24816. },
  24817. "conditionvalue": {
  24818. "description": "条件阈值(可为0)",
  24819. "type": "number"
  24820. },
  24821. "couponcategroy": {
  24822. "description": "种类 - 1:现金券 2:折扣券",
  24823. "type": "integer"
  24824. },
  24825. "couponname": {
  24826. "description": "优惠券名称",
  24827. "type": "string"
  24828. },
  24829. "coupontypeid": {
  24830. "description": "优惠券类型ID(买方)",
  24831. "type": "string"
  24832. },
  24833. "couponvalue": {
  24834. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值(0-100)]",
  24835. "type": "number"
  24836. },
  24837. "createtime": {
  24838. "description": "创建时间",
  24839. "type": "string"
  24840. },
  24841. "goodsid": {
  24842. "description": "商品ID",
  24843. "type": "integer"
  24844. },
  24845. "handlestatus": {
  24846. "description": "处理状态",
  24847. "type": "integer"
  24848. },
  24849. "marketid": {
  24850. "description": "市场ID",
  24851. "type": "integer"
  24852. },
  24853. "offamount": {
  24854. "description": "优惠金额",
  24855. "type": "number"
  24856. },
  24857. "orderid": {
  24858. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  24859. "type": "string"
  24860. },
  24861. "sellaccountid": {
  24862. "description": "资金账户ID(卖方)",
  24863. "type": "integer"
  24864. },
  24865. "tradeamount": {
  24866. "description": "成交金额",
  24867. "type": "number"
  24868. },
  24869. "tradeid": {
  24870. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  24871. "type": "string"
  24872. },
  24873. "usedqty": {
  24874. "description": "使用数量",
  24875. "type": "integer"
  24876. }
  24877. }
  24878. },
  24879. "models.OperationPrimaryMenu": {
  24880. "type": "object",
  24881. "properties": {
  24882. "Children": {
  24883. "description": "二级功能菜单",
  24884. "type": "array",
  24885. "items": {
  24886. "$ref": "#/definitions/models.OperationSecondaryMenu"
  24887. }
  24888. },
  24889. "Key": {
  24890. "description": "菜单KEY",
  24891. "type": "string"
  24892. },
  24893. "Label": {
  24894. "description": "菜单标题",
  24895. "type": "string"
  24896. }
  24897. }
  24898. },
  24899. "models.OperationSecondaryMenu": {
  24900. "type": "object",
  24901. "properties": {
  24902. "Key": {
  24903. "description": "菜单KEY",
  24904. "type": "string"
  24905. },
  24906. "Label": {
  24907. "description": "菜单标题",
  24908. "type": "string"
  24909. },
  24910. "TabList": {
  24911. "description": "三级功能菜单",
  24912. "type": "array",
  24913. "items": {
  24914. "$ref": "#/definitions/models.OperationTabMenu"
  24915. }
  24916. }
  24917. }
  24918. },
  24919. "models.OperationTabMenu": {
  24920. "type": "object",
  24921. "properties": {
  24922. "Key": {
  24923. "description": "菜单KEY",
  24924. "type": "string"
  24925. },
  24926. "Label": {
  24927. "description": "菜单标题",
  24928. "type": "string"
  24929. }
  24930. }
  24931. },
  24932. "models.PendingAuditBizModel": {
  24933. "type": "object",
  24934. "properties": {
  24935. "accountid": {
  24936. "description": "现货账户",
  24937. "type": "string"
  24938. },
  24939. "areaname": {
  24940. "description": "所属部门",
  24941. "type": "string"
  24942. },
  24943. "bizid": {
  24944. "description": "业务ID",
  24945. "type": "string"
  24946. },
  24947. "bizname": {
  24948. "description": "业务名称",
  24949. "type": "string"
  24950. },
  24951. "status": {
  24952. "description": "状态,0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  24953. "type": "integer"
  24954. },
  24955. "type": {
  24956. "description": "业务类型,1-期现套利,2-仓单回购,3-现货贸易",
  24957. "type": "integer"
  24958. }
  24959. }
  24960. },
  24961. "models.QhjAccountOutInApply": {
  24962. "type": "object",
  24963. "properties": {
  24964. "accountcode": {
  24965. "description": "资金账号",
  24966. "type": "string"
  24967. },
  24968. "accountname": {
  24969. "description": "用户名称(名称)",
  24970. "type": "string"
  24971. },
  24972. "accountpwd": {
  24973. "description": "资金密码",
  24974. "type": "string"
  24975. },
  24976. "accountticket": {
  24977. "description": "最新账户服务流水号",
  24978. "type": "string"
  24979. },
  24980. "amount": {
  24981. "description": "金额",
  24982. "type": "number"
  24983. },
  24984. "applyremark": {
  24985. "description": "申请备注",
  24986. "type": "string"
  24987. },
  24988. "applystatus": {
  24989. "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: 复审通过,账户冻结金额检查中;",
  24990. "type": "integer"
  24991. },
  24992. "auditid": {
  24993. "description": "审核人",
  24994. "type": "integer"
  24995. },
  24996. "audittime": {
  24997. "description": "审核时间",
  24998. "type": "string"
  24999. },
  25000. "bank_apply_ticket": {
  25001. "description": "银行申请流水",
  25002. "type": "string"
  25003. },
  25004. "bankaccountname": {
  25005. "description": "银行账户名",
  25006. "type": "string"
  25007. },
  25008. "bankaccountno": {
  25009. "description": "银行卡号",
  25010. "type": "string"
  25011. },
  25012. "bankid": {
  25013. "description": "银行编号",
  25014. "type": "string"
  25015. },
  25016. "bankticket": {
  25017. "description": "银行流水",
  25018. "type": "string"
  25019. },
  25020. "branchbankid": {
  25021. "description": "银行支行号",
  25022. "type": "string"
  25023. },
  25024. "branchbankname": {
  25025. "description": "银行支行名称",
  25026. "type": "string"
  25027. },
  25028. "capamountout": {
  25029. "description": "出金(劣后本金) - 外部子账户",
  25030. "type": "number"
  25031. },
  25032. "certificatephotourl": {
  25033. "description": "凭证地址",
  25034. "type": "string"
  25035. },
  25036. "charge": {
  25037. "description": "手续费",
  25038. "type": "number"
  25039. },
  25040. "checkerrorflag": {
  25041. "description": "对账差错标志 - 1:为单边账;其它为正常出入金",
  25042. "type": "integer"
  25043. },
  25044. "currency": {
  25045. "description": "币种",
  25046. "type": "string"
  25047. },
  25048. "cusbankid": {
  25049. "description": "托管银行编号",
  25050. "type": "string"
  25051. },
  25052. "exchticket": {
  25053. "description": "银行服务流水号",
  25054. "type": "string"
  25055. },
  25056. "executetype": {
  25057. "description": "申请类型 - 1:出金 2:入金 3: 单边账调整:入金; 4:单边账调整:出金 5:外部母账户调整:入金 6:外部母账户调整:出金 7:外部子账户:入金 8:外部子账户:出金",
  25058. "type": "integer"
  25059. },
  25060. "extendinfo": {
  25061. "description": "扩展信息",
  25062. "type": "string"
  25063. },
  25064. "extoperateid": {
  25065. "description": "交易服务流水号",
  25066. "type": "integer"
  25067. },
  25068. "infamount": {
  25069. "description": "劣后金额(自有)",
  25070. "type": "number"
  25071. },
  25072. "logincode": {
  25073. "description": "登录账号(账号)",
  25074. "type": "string"
  25075. },
  25076. "netaddr": {
  25077. "description": "调转网址",
  25078. "type": "string"
  25079. },
  25080. "priamount": {
  25081. "description": "优先金额(授信)",
  25082. "type": "number"
  25083. },
  25084. "reauditid": {
  25085. "description": "复审人",
  25086. "type": "integer"
  25087. },
  25088. "reauditremark": {
  25089. "description": "复审备注",
  25090. "type": "string"
  25091. },
  25092. "reaudittime": {
  25093. "description": "复审时间",
  25094. "type": "string"
  25095. },
  25096. "relatedorderid": {
  25097. "description": "三方关联ID",
  25098. "type": "string"
  25099. },
  25100. "remark": {
  25101. "description": "备注",
  25102. "type": "string"
  25103. },
  25104. "remark2": {
  25105. "description": "备注(失败原因)",
  25106. "type": "string"
  25107. },
  25108. "soucreamount": {
  25109. "description": "原始出入金金额",
  25110. "type": "number"
  25111. },
  25112. "soucrecurrencyid": {
  25113. "description": "原始出入金币种",
  25114. "type": "integer"
  25115. },
  25116. "tradedate": {
  25117. "description": "交易日(yyyyMMdd)",
  25118. "type": "string"
  25119. },
  25120. "updatetime": {
  25121. "description": "更新时间(申请时间)",
  25122. "type": "string"
  25123. },
  25124. "userid": {
  25125. "description": "用户id",
  25126. "type": "integer"
  25127. },
  25128. "userinfotype": {
  25129. "description": "账户类型 1-个人 2-企业",
  25130. "type": "integer"
  25131. }
  25132. }
  25133. },
  25134. "models.QhjAgreementChangeLog": {
  25135. "type": "object",
  25136. "properties": {
  25137. "agreementcontent": {
  25138. "description": "协议内容",
  25139. "type": "string"
  25140. },
  25141. "agreementfrequency": {
  25142. "description": "协议频率 - 1:首次 2:每次 [登录为2, 其它为1]",
  25143. "type": "integer"
  25144. },
  25145. "agreementid": {
  25146. "description": "协议ID",
  25147. "type": "integer"
  25148. },
  25149. "agreementname": {
  25150. "description": "协议名称",
  25151. "type": "string"
  25152. },
  25153. "agreementno": {
  25154. "description": "协议编号",
  25155. "type": "string"
  25156. },
  25157. "agreementtype": {
  25158. "description": "协议类型 - 1:注册 2:登录 3:交易",
  25159. "type": "integer"
  25160. },
  25161. "agreementversion": {
  25162. "description": "协议版本号",
  25163. "type": "integer"
  25164. },
  25165. "logid": {
  25166. "description": "流水ID(SEQ_QHJ_AGREEMENTCHANGELOG)",
  25167. "type": "integer"
  25168. },
  25169. "reviserid": {
  25170. "description": "修改人",
  25171. "type": "integer"
  25172. },
  25173. "revisersrc": {
  25174. "description": "修改来源 - 1:管理端 2:终端",
  25175. "type": "integer"
  25176. },
  25177. "updatetime": {
  25178. "description": "更新时间",
  25179. "type": "string"
  25180. }
  25181. }
  25182. },
  25183. "models.QhjAgreementConfig": {
  25184. "type": "object",
  25185. "properties": {
  25186. "agreementcontent": {
  25187. "description": "协议内容",
  25188. "type": "string"
  25189. },
  25190. "agreementfrequency": {
  25191. "description": "协议频率 - 1:首次 2:每次 [登录为2, 其它为1]",
  25192. "type": "integer"
  25193. },
  25194. "agreementid": {
  25195. "description": "协议ID(SEQ_QHJ_AGREEMENTCONFIG)",
  25196. "type": "integer"
  25197. },
  25198. "agreementname": {
  25199. "description": "协议名称",
  25200. "type": "string"
  25201. },
  25202. "agreementno": {
  25203. "description": "协议编号",
  25204. "type": "string"
  25205. },
  25206. "agreementtype": {
  25207. "description": "协议类型 - 1:注册 2:登录 3:交易",
  25208. "type": "integer"
  25209. },
  25210. "agreementversion": {
  25211. "description": "协议版本号(从1开始每次修改加1)",
  25212. "type": "integer"
  25213. },
  25214. "createtime": {
  25215. "description": "创建时间",
  25216. "type": "string"
  25217. },
  25218. "creatorid": {
  25219. "description": "创建人",
  25220. "type": "integer"
  25221. },
  25222. "creatorsrc": {
  25223. "description": "创建来源 - 1:管理端 2:终端",
  25224. "type": "integer"
  25225. },
  25226. "isvalid": {
  25227. "description": "是否有效 - 是否有效 - 1:正常 2:停用 3:注销",
  25228. "type": "integer"
  25229. },
  25230. "reviserid": {
  25231. "description": "修改人",
  25232. "type": "integer"
  25233. },
  25234. "revisersrc": {
  25235. "description": "修改来源 - 1:管理端 2:终端",
  25236. "type": "integer"
  25237. },
  25238. "updatetime": {
  25239. "description": "更新时间",
  25240. "type": "string"
  25241. }
  25242. }
  25243. },
  25244. "models.QhjAreaFinanceConfig": {
  25245. "type": "object",
  25246. "properties": {
  25247. "additionalratio": {
  25248. "description": "追加款比例",
  25249. "type": "number"
  25250. },
  25251. "advanceratio": {
  25252. "description": "预付款比例",
  25253. "type": "number"
  25254. },
  25255. "alarmratio": {
  25256. "description": "告警比例",
  25257. "type": "number"
  25258. },
  25259. "consumptiondirectreward": {
  25260. "description": "消费直推奖励值",
  25261. "type": "number"
  25262. },
  25263. "consumptionenabled": {
  25264. "description": "是否启用消费奖励 - 0:不启用 1:启用",
  25265. "type": "integer"
  25266. },
  25267. "consumptionindirectreward": {
  25268. "description": "消费间推奖励值",
  25269. "type": "number"
  25270. },
  25271. "consumptionmodel": {
  25272. "description": "消费奖励方式 - 1:比率 2:固定",
  25273. "type": "integer"
  25274. },
  25275. "customerservicenum": {
  25276. "description": "客服电话",
  25277. "type": "string"
  25278. },
  25279. "dayinterestrate": {
  25280. "description": "日利率",
  25281. "type": "number"
  25282. },
  25283. "disableconsumptiontips": {
  25284. "description": "关闭消费奖励提示",
  25285. "type": "string"
  25286. },
  25287. "modifierid": {
  25288. "description": "修改人ID",
  25289. "type": "integer"
  25290. },
  25291. "modifysrc": {
  25292. "description": "审核来源 - 1:管理端 2:终端",
  25293. "type": "integer"
  25294. },
  25295. "modifytime": {
  25296. "description": "修改时间",
  25297. "type": "string"
  25298. },
  25299. "promotionvalue": {
  25300. "description": "推广奖励值(固定)",
  25301. "type": "number"
  25302. },
  25303. "scoreconfigvalue1": {
  25304. "description": "提货积分配置1",
  25305. "type": "integer"
  25306. },
  25307. "scoreconfigvalue2": {
  25308. "description": "提货积分配置2",
  25309. "type": "integer"
  25310. },
  25311. "userid": {
  25312. "description": "机构用户ID其他做市关系,都设置为 1",
  25313. "type": "integer"
  25314. },
  25315. "username": {
  25316. "description": "用户名称",
  25317. "type": "string"
  25318. }
  25319. }
  25320. },
  25321. "models.QhjBankAccountSign": {
  25322. "type": "object",
  25323. "properties": {
  25324. "accountcode": {
  25325. "description": "资金账号",
  25326. "type": "string"
  25327. },
  25328. "accountname": {
  25329. "description": "资金账号对应的账号名(UserName)",
  25330. "type": "string"
  25331. },
  25332. "accountname2": {
  25333. "description": "资金账号对应的账号名(UserName) - 密文",
  25334. "type": "string"
  25335. },
  25336. "accounttype": {
  25337. "description": "账户类型(UserType)",
  25338. "type": "integer"
  25339. },
  25340. "applicationtime": {
  25341. "description": "最后一次更新的时间",
  25342. "type": "string"
  25343. },
  25344. "applyexchticket": {
  25345. "description": "申请流水",
  25346. "type": "string"
  25347. },
  25348. "auditid": {
  25349. "description": "审核人",
  25350. "type": "integer"
  25351. },
  25352. "audittime": {
  25353. "description": "审核时间",
  25354. "type": "string"
  25355. },
  25356. "bankaccountname": {
  25357. "description": "签约银行卡账号名",
  25358. "type": "string"
  25359. },
  25360. "bankaccountname2": {
  25361. "description": "签约银行卡账号名 - 密文",
  25362. "type": "string"
  25363. },
  25364. "bankaccountno": {
  25365. "description": "银行卡号",
  25366. "type": "string"
  25367. },
  25368. "bankaccountno2": {
  25369. "description": "银行卡号 - 密文",
  25370. "type": "string"
  25371. },
  25372. "bankaccounttype": {
  25373. "description": "银行账户类型 - 1-对私; 2-对公",
  25374. "type": "integer"
  25375. },
  25376. "bankcardtype": {
  25377. "description": "银行卡类型",
  25378. "type": "integer"
  25379. },
  25380. "bankchildaccount": {
  25381. "description": "银行子账号(签约成功后,很多银行会返回对应的这个虚拟账号)",
  25382. "type": "string"
  25383. },
  25384. "bankcity": {
  25385. "description": "开户行城市",
  25386. "type": "string"
  25387. },
  25388. "bankid": {
  25389. "description": "签约银行ID",
  25390. "type": "string"
  25391. },
  25392. "bankname": {
  25393. "description": "签约银行名称",
  25394. "type": "string"
  25395. },
  25396. "bankprovince": {
  25397. "description": "开户行省份",
  25398. "type": "string"
  25399. },
  25400. "branchbankid": {
  25401. "description": "签约银行支行号",
  25402. "type": "string"
  25403. },
  25404. "branchbankname": {
  25405. "description": "签约银行支行名称",
  25406. "type": "string"
  25407. },
  25408. "cardno": {
  25409. "description": "证件号码",
  25410. "type": "string"
  25411. },
  25412. "cardno2": {
  25413. "description": "证件号码 - 密文",
  25414. "type": "string"
  25415. },
  25416. "cardtype": {
  25417. "description": "证件类型",
  25418. "type": "string"
  25419. },
  25420. "currency": {
  25421. "description": "币种",
  25422. "type": "string"
  25423. },
  25424. "cusbankid": {
  25425. "description": "托管银行编号",
  25426. "type": "string"
  25427. },
  25428. "direct": {
  25429. "description": "方向(可以判断那方先发起的签约)",
  25430. "type": "integer"
  25431. },
  25432. "exchticket": {
  25433. "description": "最后一次签约成功的流水号",
  25434. "type": "string"
  25435. },
  25436. "extendinfo": {
  25437. "description": "扩展信息(JSON字符串)",
  25438. "type": "string"
  25439. },
  25440. "mobilephone": {
  25441. "description": "手机号",
  25442. "type": "string"
  25443. },
  25444. "mobilephone2": {
  25445. "description": "手机号 - 密文",
  25446. "type": "string"
  25447. },
  25448. "netaddr": {
  25449. "description": "调转网址",
  25450. "type": "string"
  25451. },
  25452. "relateduserid": {
  25453. "description": "关联使用者userid",
  25454. "type": "integer"
  25455. },
  25456. "signstatus": {
  25457. "description": "签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中 10:审核拒绝 11:换签待审核",
  25458. "type": "integer"
  25459. },
  25460. "updatetime": {
  25461. "description": "更新时间(签解约更新时间)",
  25462. "type": "string"
  25463. }
  25464. }
  25465. },
  25466. "models.QhjBankInfo": {
  25467. "type": "object",
  25468. "properties": {
  25469. "bankid": {
  25470. "description": "银行ID",
  25471. "type": "string"
  25472. },
  25473. "bankname": {
  25474. "description": "银行名称",
  25475. "type": "string"
  25476. },
  25477. "clearbankno": {
  25478. "description": "清算系统银行编号",
  25479. "type": "string"
  25480. },
  25481. "orderindex": {
  25482. "description": "排序顺序",
  25483. "type": "integer"
  25484. },
  25485. "status": {
  25486. "description": "状态 - 0:正常 1:注销",
  25487. "type": "integer"
  25488. }
  25489. }
  25490. },
  25491. "models.QhjBrokerApply": {
  25492. "type": "object",
  25493. "properties": {
  25494. "applicantid": {
  25495. "description": "申请人",
  25496. "type": "integer"
  25497. },
  25498. "applysrc": {
  25499. "description": "申请来源 - 1:管理端 2:终端",
  25500. "type": "integer"
  25501. },
  25502. "applystatus": {
  25503. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  25504. "type": "integer"
  25505. },
  25506. "applytime": {
  25507. "description": "申请时间",
  25508. "type": "string"
  25509. },
  25510. "auditorid": {
  25511. "description": "审核人",
  25512. "type": "integer"
  25513. },
  25514. "auditremark": {
  25515. "description": "审核备注",
  25516. "type": "string"
  25517. },
  25518. "auditsrc": {
  25519. "description": "审核来源 - 1:管理端 2:终端",
  25520. "type": "integer"
  25521. },
  25522. "audittime": {
  25523. "description": "审核时间",
  25524. "type": "string"
  25525. },
  25526. "audittradedate": {
  25527. "description": "审核交易日(yyyyMMdd)",
  25528. "type": "string"
  25529. },
  25530. "brokerapplyid": {
  25531. "description": "申请ID(SEQ_BROKERAPPLY)",
  25532. "type": "integer"
  25533. },
  25534. "cardbackphotourl": {
  25535. "description": "证件背面图片地址",
  25536. "type": "string"
  25537. },
  25538. "cardfrontphotourl": {
  25539. "description": "证件正面图片地址",
  25540. "type": "string"
  25541. },
  25542. "cardnum": {
  25543. "description": "证件号码(加密存储) 注:数据库没存证件类型字段,产品说类型固定为身份证",
  25544. "type": "string"
  25545. },
  25546. "customername": {
  25547. "description": "姓名",
  25548. "type": "string"
  25549. },
  25550. "logincode": {
  25551. "description": "登录代码",
  25552. "type": "string"
  25553. },
  25554. "mobile": {
  25555. "description": "手机号码",
  25556. "type": "string"
  25557. },
  25558. "parentuserid": {
  25559. "description": "所属机构id",
  25560. "type": "integer"
  25561. },
  25562. "parentusername": {
  25563. "description": "所属机构名称",
  25564. "type": "string"
  25565. },
  25566. "refereeuserid": {
  25567. "description": "推荐人id(经纪人)",
  25568. "type": "integer"
  25569. },
  25570. "refernum": {
  25571. "description": "推荐码",
  25572. "type": "string"
  25573. },
  25574. "remark": {
  25575. "description": "备注",
  25576. "type": "string"
  25577. },
  25578. "subarealevelpath": {
  25579. "description": "层级路径",
  25580. "type": "string"
  25581. },
  25582. "tradedate": {
  25583. "description": "交易日(yyyyMMdd)",
  25584. "type": "string"
  25585. },
  25586. "userid": {
  25587. "description": "申请人用户ID",
  25588. "type": "integer"
  25589. },
  25590. "userinfotype": {
  25591. "description": "用户类型 1-个人 2-企业",
  25592. "type": "integer"
  25593. },
  25594. "username": {
  25595. "description": "用户名称",
  25596. "type": "string"
  25597. }
  25598. }
  25599. },
  25600. "models.QhjBrokerApplyEx": {
  25601. "type": "object",
  25602. "properties": {
  25603. "applylist": {
  25604. "description": "经纪人申请记录(只返回最新一条)",
  25605. "type": "array",
  25606. "items": {
  25607. "$ref": "#/definitions/models.QhjBrokerApply"
  25608. }
  25609. },
  25610. "canrecommend": {
  25611. "description": "是否经纪人 0-不是 1-是",
  25612. "type": "integer"
  25613. },
  25614. "refernum": {
  25615. "description": "推荐码",
  25616. "type": "string"
  25617. },
  25618. "userid": {
  25619. "description": "用户id",
  25620. "type": "integer"
  25621. },
  25622. "userinfotype": {
  25623. "description": "用户类型 1-个人 2-企业",
  25624. "type": "integer"
  25625. }
  25626. }
  25627. },
  25628. "models.QhjBrokerRewardLog": {
  25629. "type": "object",
  25630. "properties": {
  25631. "accountid": {
  25632. "description": "资金账号ID",
  25633. "type": "integer"
  25634. },
  25635. "createtime": {
  25636. "description": "创建时间(时间)",
  25637. "type": "string"
  25638. },
  25639. "handlestatus": {
  25640. "description": "处理状态",
  25641. "type": "integer"
  25642. },
  25643. "logid": {
  25644. "description": "奖励流水ID(912+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  25645. "type": "string"
  25646. },
  25647. "marketid": {
  25648. "description": "市场ID",
  25649. "type": "integer"
  25650. },
  25651. "mmaccountid": {
  25652. "description": "做市商资金账号ID",
  25653. "type": "string"
  25654. },
  25655. "mmuserid": {
  25656. "description": "做市商用户ID",
  25657. "type": "string"
  25658. },
  25659. "rewardamount": {
  25660. "description": "奖励金额",
  25661. "type": "number"
  25662. },
  25663. "rewardmodel": {
  25664. "description": "消费奖励方式 - 1:比率 2:固定",
  25665. "type": "integer"
  25666. },
  25667. "rewardtype": {
  25668. "description": "奖励类型 - 1:推广 2:消费1级 3:消费2级",
  25669. "type": "integer"
  25670. },
  25671. "rewardvalue": {
  25672. "description": "配置奖励值",
  25673. "type": "number"
  25674. },
  25675. "srcamount": {
  25676. "description": "成交金额 [消费奖励] (金额)",
  25677. "type": "number"
  25678. },
  25679. "srcgoodsid": {
  25680. "description": "来源商品ID [消费奖励]",
  25681. "type": "string"
  25682. },
  25683. "srctime": {
  25684. "description": "来源时间 (成交时间) [消费奖励]",
  25685. "type": "string"
  25686. },
  25687. "srctradeid": {
  25688. "description": "来源成交单ID [消费奖励] - 排除提货成交",
  25689. "type": "string"
  25690. },
  25691. "srcuserid": {
  25692. "description": "来源用户ID(推广账户)",
  25693. "type": "string"
  25694. },
  25695. "srcusername": {
  25696. "description": "推广账户名称",
  25697. "type": "string"
  25698. },
  25699. "tradedate": {
  25700. "description": "交易日(yyyyMMdd)",
  25701. "type": "string"
  25702. },
  25703. "userid": {
  25704. "description": "经纪人用户ID",
  25705. "type": "integer"
  25706. }
  25707. }
  25708. },
  25709. "models.QhjContract": {
  25710. "type": "object",
  25711. "properties": {
  25712. "contractconfirmtime": {
  25713. "description": "合同确认时间(时间)",
  25714. "type": "string"
  25715. },
  25716. "currisklevel": {
  25717. "description": "风险级别 - 1:正常 2:追加货款 3:支付尾款",
  25718. "type": "integer"
  25719. },
  25720. "decimalplace": {
  25721. "description": "商品报价小数位",
  25722. "type": "integer"
  25723. },
  25724. "enumdicname": {
  25725. "description": "单位名称",
  25726. "type": "string"
  25727. },
  25728. "goodscode": {
  25729. "description": "商品代码",
  25730. "type": "string"
  25731. },
  25732. "goodsid": {
  25733. "description": "商品ID [5:融资单]",
  25734. "type": "integer"
  25735. },
  25736. "goodsname": {
  25737. "description": "商品名称",
  25738. "type": "string"
  25739. },
  25740. "goodunitid": {
  25741. "description": "商品单位id",
  25742. "type": "integer"
  25743. },
  25744. "initmargin": {
  25745. "description": "初始保证金(首付款)",
  25746. "type": "number"
  25747. },
  25748. "lenderamount": {
  25749. "description": "贷款金额(总额|订单总额)",
  25750. "type": "number"
  25751. },
  25752. "marginratio": {
  25753. "description": "保证金比率(首付比例)",
  25754. "type": "number"
  25755. },
  25756. "payamount": {
  25757. "description": "已付(已付货款)",
  25758. "type": "number"
  25759. },
  25760. "reckonrecovermargin": {
  25761. "description": "结算应追缴保底金(结算时到过风险率时临时存储) - [仓单回购\\仓单质押]",
  25762. "type": "number"
  25763. },
  25764. "recoveredmargin": {
  25765. "description": "已追缴保证金",
  25766. "type": "number"
  25767. },
  25768. "remainamount": {
  25769. "description": "合同剩余金额(融资额)",
  25770. "type": "number"
  25771. },
  25772. "scfcontractid": {
  25773. "description": "SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)",
  25774. "type": "string"
  25775. },
  25776. "scfcontractstatus": {
  25777. "description": "合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束 9:违约结束 10:已注销 11:已关闭 99:未提交",
  25778. "type": "integer"
  25779. },
  25780. "scfcontracttype": {
  25781. "description": "合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单",
  25782. "type": "integer"
  25783. },
  25784. "totalinterest": {
  25785. "description": "已计总利息(利息)",
  25786. "type": "number"
  25787. },
  25788. "tradeprice": {
  25789. "description": "成交价格(成本价格)",
  25790. "type": "number"
  25791. },
  25792. "userid": {
  25793. "description": "用户ID",
  25794. "type": "integer"
  25795. },
  25796. "username": {
  25797. "description": "用户名称",
  25798. "type": "string"
  25799. },
  25800. "wrqty": {
  25801. "description": "仓单数量(数量)",
  25802. "type": "number"
  25803. }
  25804. }
  25805. },
  25806. "models.QhjContractLog": {
  25807. "type": "object",
  25808. "properties": {
  25809. "amount": {
  25810. "description": "支付金额",
  25811. "type": "number"
  25812. },
  25813. "amounttype": {
  25814. "description": "资金类型 - 1:首付款 2:尾款 3:利息 4:追加款",
  25815. "type": "integer"
  25816. },
  25817. "logid": {
  25818. "description": "LogID(315+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  25819. "type": "string"
  25820. },
  25821. "remainamount": {
  25822. "description": "剩余货款",
  25823. "type": "number"
  25824. },
  25825. "scfcontractid": {
  25826. "description": "SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)",
  25827. "type": "integer"
  25828. },
  25829. "updatetime": {
  25830. "description": "更新时间",
  25831. "type": "string"
  25832. }
  25833. }
  25834. },
  25835. "models.QhjCusBankSignBankEx": {
  25836. "type": "object",
  25837. "properties": {
  25838. "banklst": {
  25839. "description": "银行列表",
  25840. "type": "array",
  25841. "items": {
  25842. "$ref": "#/definitions/models.QhjBankInfo"
  25843. }
  25844. },
  25845. "canallot": {
  25846. "description": "是否支持跨行调拨 - 0:不支持 1:支持",
  25847. "type": "integer"
  25848. },
  25849. "canallotquery": {
  25850. "description": "是否支持跨行调拨查询 - 0:不支持 1:支持",
  25851. "type": "integer"
  25852. },
  25853. "canbindcard": {
  25854. "description": "是否可绑卡与解卡 - 0:不可 1:可以",
  25855. "type": "integer"
  25856. },
  25857. "caninamount": {
  25858. "description": "是否可入金 - 0:不可 1:可以",
  25859. "type": "integer"
  25860. },
  25861. "caninamount2": {
  25862. "description": "是否可入金(网银端) - 0:不可 1:可以",
  25863. "type": "integer"
  25864. },
  25865. "canmodifybankcard": {
  25866. "description": "是否可修改银行卡号 - 0:不可 1:可以",
  25867. "type": "integer"
  25868. },
  25869. "canmodifyphone": {
  25870. "description": "是否可修改手机号 - 0:不可 1:可以",
  25871. "type": "integer"
  25872. },
  25873. "canmodifysigninfo": {
  25874. "description": "是否可修改签约信息 - 0:不可 1:可以",
  25875. "type": "integer"
  25876. },
  25877. "canoutamount": {
  25878. "description": "是否可出金 - 0:不可 1:可以",
  25879. "type": "integer"
  25880. },
  25881. "canoutamount2": {
  25882. "description": "是否可出金(网银端) - 0:不可 1:可以",
  25883. "type": "integer"
  25884. },
  25885. "canrelease": {
  25886. "description": "是否可解约 - 0:不可 1:可以",
  25887. "type": "integer"
  25888. },
  25889. "canrelease2": {
  25890. "description": "是否可解约(网银端) - 0:不可 1:可以",
  25891. "type": "integer"
  25892. },
  25893. "cansign": {
  25894. "description": "是否可签约 - 0:不可 1:可以",
  25895. "type": "integer"
  25896. },
  25897. "cansign2": {
  25898. "description": "是否可签约(网银端) - 0:不可 1:可以",
  25899. "type": "integer"
  25900. },
  25901. "currency": {
  25902. "description": "币种",
  25903. "type": "string"
  25904. },
  25905. "cusbankid": {
  25906. "description": "托管银行编号(对应清算中心TRAN_NO)",
  25907. "type": "string"
  25908. },
  25909. "cusbankname": {
  25910. "description": "银行业务名称",
  25911. "type": "string"
  25912. },
  25913. "cusbankshortname": {
  25914. "description": "银行业务简称",
  25915. "type": "string"
  25916. },
  25917. "exchbankid": {
  25918. "description": "交易所开户银行ID",
  25919. "type": "string"
  25920. },
  25921. "exchpaybankaccname": {
  25922. "description": "交易所支出结算账户户名",
  25923. "type": "string"
  25924. },
  25925. "exchpaybankaccno": {
  25926. "description": "交易所支出结算账户",
  25927. "type": "string"
  25928. },
  25929. "isneedcheck": {
  25930. "description": "是否需要对账 - 0:需要 1:不需要 [不需要界面配置]",
  25931. "type": "integer"
  25932. },
  25933. "isneedclear": {
  25934. "description": "是否需要清算 - 0:不需要 1:需要",
  25935. "type": "integer"
  25936. },
  25937. "lastcheckstatus": {
  25938. "description": "最后对账状态 - 对账状态 - 1:未对账 2:对账成功 3:对账失败",
  25939. "type": "integer"
  25940. },
  25941. "lastchecktime": {
  25942. "description": "最后对账时间",
  25943. "type": "string"
  25944. },
  25945. "lastclearstatus": {
  25946. "description": "最后清算状态 - 1:未清算 2:清算成功 3:清算失败 4:清算部分成功",
  25947. "type": "integer"
  25948. },
  25949. "lastcleartime": {
  25950. "description": "最后清算时间",
  25951. "type": "string"
  25952. },
  25953. "lastsignintime": {
  25954. "description": "最后签到时间",
  25955. "type": "string"
  25956. },
  25957. "lastsignouttime": {
  25958. "description": "最后签退时间",
  25959. "type": "string"
  25960. },
  25961. "riskinfo": {
  25962. "description": "签约风险提示书",
  25963. "type": "string"
  25964. },
  25965. "signstatus": {
  25966. "description": "当前签到/签退状态 - 1:签到 2:签退",
  25967. "type": "integer"
  25968. },
  25969. "tradedate": {
  25970. "description": "交易日(yyyyMMdd)",
  25971. "type": "string"
  25972. },
  25973. "updatetime": {
  25974. "description": "当前签到/签退更新时间",
  25975. "type": "string"
  25976. }
  25977. }
  25978. },
  25979. "models.QhjCustomer": {
  25980. "type": "object",
  25981. "properties": {
  25982. "address": {
  25983. "description": "通讯地址",
  25984. "type": "string"
  25985. },
  25986. "attachment1": {
  25987. "description": "附件1",
  25988. "type": "string"
  25989. },
  25990. "audittime": {
  25991. "description": "审核时间",
  25992. "type": "string"
  25993. },
  25994. "cardbackphotourl": {
  25995. "description": "证件反面图片地址",
  25996. "type": "string"
  25997. },
  25998. "cardfrontphotourl": {
  25999. "description": "证件正面图片地址",
  26000. "type": "string"
  26001. },
  26002. "cardnum": {
  26003. "description": "证件号码",
  26004. "type": "string"
  26005. },
  26006. "cardtype": {
  26007. "description": "证件类型",
  26008. "type": "integer"
  26009. },
  26010. "cardtypename": {
  26011. "description": "证件类型名称",
  26012. "type": "string"
  26013. },
  26014. "cityid": {
  26015. "description": "市",
  26016. "type": "integer"
  26017. },
  26018. "cityname": {
  26019. "description": "城市名称",
  26020. "type": "string"
  26021. },
  26022. "contactname": {
  26023. "description": "联系人",
  26024. "type": "string"
  26025. },
  26026. "countryid": {
  26027. "description": "国家",
  26028. "type": "integer"
  26029. },
  26030. "countryname": {
  26031. "description": "国家名称",
  26032. "type": "string"
  26033. },
  26034. "createtime": {
  26035. "description": "创建时间",
  26036. "type": "string"
  26037. },
  26038. "customername": {
  26039. "description": "客户名称",
  26040. "type": "string"
  26041. },
  26042. "districtid": {
  26043. "description": "区域",
  26044. "type": "integer"
  26045. },
  26046. "districtname": {
  26047. "description": "地区名称",
  26048. "type": "string"
  26049. },
  26050. "email": {
  26051. "description": "邮件",
  26052. "type": "string"
  26053. },
  26054. "legalpersonname": {
  26055. "description": "法人姓名(企业)",
  26056. "type": "string"
  26057. },
  26058. "logincode": {
  26059. "description": "登录账号(代码)",
  26060. "type": "string"
  26061. },
  26062. "memberuserid": {
  26063. "description": "所属机构ID(所属会员)",
  26064. "type": "integer"
  26065. },
  26066. "memberusername": {
  26067. "description": "所属会员名称",
  26068. "type": "string"
  26069. },
  26070. "mobile": {
  26071. "description": "手机号码",
  26072. "type": "string"
  26073. },
  26074. "modifytime": {
  26075. "description": "修改时间",
  26076. "type": "string"
  26077. },
  26078. "nickname": {
  26079. "description": "昵称",
  26080. "type": "string"
  26081. },
  26082. "parentuserid": {
  26083. "description": "上级机构(所属机构)",
  26084. "type": "integer"
  26085. },
  26086. "parentusername": {
  26087. "description": "所属机构名称",
  26088. "type": "string"
  26089. },
  26090. "provinceid": {
  26091. "description": "省",
  26092. "type": "integer"
  26093. },
  26094. "provincename": {
  26095. "description": "省名称",
  26096. "type": "string"
  26097. },
  26098. "proxystatementurl": {
  26099. "description": "授权委托书",
  26100. "type": "string"
  26101. },
  26102. "remark": {
  26103. "description": "备注",
  26104. "type": "string"
  26105. },
  26106. "status": {
  26107. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销",
  26108. "type": "integer"
  26109. },
  26110. "statusdesc": {
  26111. "description": "账户状态中文描述",
  26112. "type": "string"
  26113. },
  26114. "taxpayernum": {
  26115. "description": "纳税人识别号",
  26116. "type": "string"
  26117. },
  26118. "telphone": {
  26119. "description": "联系电话",
  26120. "type": "string"
  26121. },
  26122. "userid": {
  26123. "description": "用户ID",
  26124. "type": "integer"
  26125. },
  26126. "userinfotype": {
  26127. "description": "客户类型 1-个人 2-企业",
  26128. "type": "integer"
  26129. },
  26130. "username": {
  26131. "description": "用户名称",
  26132. "type": "string"
  26133. }
  26134. }
  26135. },
  26136. "models.QhjCustomerSignLog": {
  26137. "type": "object",
  26138. "properties": {
  26139. "agreementcontent": {
  26140. "description": "协议内容",
  26141. "type": "string"
  26142. },
  26143. "agreementid": {
  26144. "description": "协议ID",
  26145. "type": "integer"
  26146. },
  26147. "agreementname": {
  26148. "description": "协议名称",
  26149. "type": "string"
  26150. },
  26151. "agreementno": {
  26152. "description": "协议编号",
  26153. "type": "string"
  26154. },
  26155. "agreementtype": {
  26156. "description": "协议类型 - 1:注册 2:登录 3:交易",
  26157. "type": "integer"
  26158. },
  26159. "agreementversion": {
  26160. "description": "协议版本号",
  26161. "type": "integer"
  26162. },
  26163. "createtime": {
  26164. "description": "创建时间",
  26165. "type": "string"
  26166. },
  26167. "goodscode": {
  26168. "description": "商品代码",
  26169. "type": "string"
  26170. },
  26171. "goodsid": {
  26172. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  26173. "type": "integer"
  26174. },
  26175. "goodsname": {
  26176. "description": "商品名称",
  26177. "type": "string"
  26178. },
  26179. "logid": {
  26180. "description": "流水ID(SEQ_QHJ_CUSTOMERSIGNLOG)",
  26181. "type": "integer"
  26182. },
  26183. "nodetype": {
  26184. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  26185. "type": "integer"
  26186. },
  26187. "signadressurl": {
  26188. "description": "签约文件地址",
  26189. "type": "string"
  26190. },
  26191. "signtimestamp": {
  26192. "description": "签约状态时间戳",
  26193. "type": "string"
  26194. },
  26195. "userid": {
  26196. "description": "客户ID",
  26197. "type": "integer"
  26198. },
  26199. "username": {
  26200. "description": "客户名称",
  26201. "type": "string"
  26202. }
  26203. }
  26204. },
  26205. "models.QhjCustomerSignStatus": {
  26206. "type": "object",
  26207. "properties": {
  26208. "createtime": {
  26209. "description": "创建时间",
  26210. "type": "string"
  26211. },
  26212. "goodscode": {
  26213. "description": "商品代码",
  26214. "type": "string"
  26215. },
  26216. "goodsid": {
  26217. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  26218. "type": "integer"
  26219. },
  26220. "goodsname": {
  26221. "description": "商品名称",
  26222. "type": "string"
  26223. },
  26224. "nodetype": {
  26225. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出 99:首次交易",
  26226. "type": "integer"
  26227. },
  26228. "signtimestamp": {
  26229. "description": "签约状态时间戳",
  26230. "type": "string"
  26231. },
  26232. "tradedate": {
  26233. "description": "创建交易日(yyyyMMdd)",
  26234. "type": "string"
  26235. },
  26236. "updatetime": {
  26237. "description": "更新时间",
  26238. "type": "string"
  26239. },
  26240. "userid": {
  26241. "description": "客户ID",
  26242. "type": "integer"
  26243. },
  26244. "username": {
  26245. "description": "客户名称",
  26246. "type": "string"
  26247. }
  26248. }
  26249. },
  26250. "models.QhjMgrAccountOutInApply": {
  26251. "type": "object",
  26252. "properties": {
  26253. "accountcode": {
  26254. "description": "资金账号",
  26255. "type": "string"
  26256. },
  26257. "accountname": {
  26258. "description": "用户名称(名称)",
  26259. "type": "string"
  26260. },
  26261. "accountpwd": {
  26262. "description": "资金密码",
  26263. "type": "string"
  26264. },
  26265. "accountticket": {
  26266. "description": "最新账户服务流水号",
  26267. "type": "string"
  26268. },
  26269. "amount": {
  26270. "description": "金额",
  26271. "type": "number"
  26272. },
  26273. "applyremark": {
  26274. "description": "申请备注",
  26275. "type": "string"
  26276. },
  26277. "applystatus": {
  26278. "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: 复审通过,账户冻结金额检查中;",
  26279. "type": "integer"
  26280. },
  26281. "auditid": {
  26282. "description": "审核人",
  26283. "type": "integer"
  26284. },
  26285. "audittime": {
  26286. "description": "审核时间",
  26287. "type": "string"
  26288. },
  26289. "bank_apply_ticket": {
  26290. "description": "银行申请流水",
  26291. "type": "string"
  26292. },
  26293. "bankaccountname": {
  26294. "description": "银行账户名",
  26295. "type": "string"
  26296. },
  26297. "bankaccountno": {
  26298. "description": "银行卡号",
  26299. "type": "string"
  26300. },
  26301. "bankid": {
  26302. "description": "银行编号",
  26303. "type": "string"
  26304. },
  26305. "bankname": {
  26306. "description": "银行名称",
  26307. "type": "string"
  26308. },
  26309. "bankticket": {
  26310. "description": "银行流水",
  26311. "type": "string"
  26312. },
  26313. "branchbankid": {
  26314. "description": "银行支行号",
  26315. "type": "string"
  26316. },
  26317. "branchbankname": {
  26318. "description": "银行支行名称",
  26319. "type": "string"
  26320. },
  26321. "capamountout": {
  26322. "description": "出金(劣后本金) - 外部子账户",
  26323. "type": "number"
  26324. },
  26325. "certificatephotourl": {
  26326. "description": "凭证地址",
  26327. "type": "string"
  26328. },
  26329. "charge": {
  26330. "description": "手续费",
  26331. "type": "number"
  26332. },
  26333. "checkerrorflag": {
  26334. "description": "对账差错标志 - 1:为单边账;其它为正常出入金",
  26335. "type": "integer"
  26336. },
  26337. "currency": {
  26338. "description": "币种",
  26339. "type": "string"
  26340. },
  26341. "cusbankid": {
  26342. "description": "托管银行编号",
  26343. "type": "string"
  26344. },
  26345. "exchticket": {
  26346. "description": "银行服务流水号",
  26347. "type": "string"
  26348. },
  26349. "executetype": {
  26350. "description": "申请类型 - 1:出金 2:入金 3: 单边账调整:入金; 4:单边账调整:出金 5:外部母账户调整:入金 6:外部母账户调整:出金 7:外部子账户:入金 8:外部子账户:出金",
  26351. "type": "integer"
  26352. },
  26353. "extendinfo": {
  26354. "description": "扩展信息",
  26355. "type": "string"
  26356. },
  26357. "extoperateid": {
  26358. "description": "交易服务流水号",
  26359. "type": "integer"
  26360. },
  26361. "infamount": {
  26362. "description": "劣后金额(自有)",
  26363. "type": "number"
  26364. },
  26365. "logincode": {
  26366. "description": "登录账号(账号)",
  26367. "type": "string"
  26368. },
  26369. "netaddr": {
  26370. "description": "调转网址",
  26371. "type": "string"
  26372. },
  26373. "priamount": {
  26374. "description": "优先金额(授信)",
  26375. "type": "number"
  26376. },
  26377. "reauditid": {
  26378. "description": "复审人",
  26379. "type": "integer"
  26380. },
  26381. "reauditremark": {
  26382. "description": "复审备注",
  26383. "type": "string"
  26384. },
  26385. "reaudittime": {
  26386. "description": "复审时间",
  26387. "type": "string"
  26388. },
  26389. "relatedorderid": {
  26390. "description": "三方关联ID",
  26391. "type": "string"
  26392. },
  26393. "remark": {
  26394. "description": "备注",
  26395. "type": "string"
  26396. },
  26397. "remark2": {
  26398. "description": "备注(失败原因)",
  26399. "type": "string"
  26400. },
  26401. "soucreamount": {
  26402. "description": "原始出入金金额",
  26403. "type": "number"
  26404. },
  26405. "soucrecurrencyid": {
  26406. "description": "原始出入金币种",
  26407. "type": "integer"
  26408. },
  26409. "tradedate": {
  26410. "description": "交易日(yyyyMMdd)",
  26411. "type": "string"
  26412. },
  26413. "updatetime": {
  26414. "description": "更新时间(申请时间)",
  26415. "type": "string"
  26416. },
  26417. "userid": {
  26418. "description": "用户id",
  26419. "type": "integer"
  26420. },
  26421. "userinfotype": {
  26422. "description": "账户类型 1-个人 2-企业",
  26423. "type": "integer"
  26424. }
  26425. }
  26426. },
  26427. "models.QhjMgrBrokerApply": {
  26428. "type": "object",
  26429. "properties": {
  26430. "applicantid": {
  26431. "description": "申请人",
  26432. "type": "integer"
  26433. },
  26434. "applysrc": {
  26435. "description": "申请来源 - 1:管理端 2:终端",
  26436. "type": "integer"
  26437. },
  26438. "applystatus": {
  26439. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  26440. "type": "integer"
  26441. },
  26442. "applytime": {
  26443. "description": "申请时间",
  26444. "type": "string"
  26445. },
  26446. "auditorid": {
  26447. "description": "审核人",
  26448. "type": "integer"
  26449. },
  26450. "auditremark": {
  26451. "description": "审核备注",
  26452. "type": "string"
  26453. },
  26454. "auditsrc": {
  26455. "description": "审核来源 - 1:管理端 2:终端",
  26456. "type": "integer"
  26457. },
  26458. "audittime": {
  26459. "description": "审核时间",
  26460. "type": "string"
  26461. },
  26462. "audittradedate": {
  26463. "description": "审核交易日(yyyyMMdd)",
  26464. "type": "string"
  26465. },
  26466. "brokerapplyid": {
  26467. "description": "申请ID(SEQ_BROKERAPPLY)",
  26468. "type": "integer"
  26469. },
  26470. "cardbackphotourl": {
  26471. "description": "证件背面图片地址",
  26472. "type": "string"
  26473. },
  26474. "cardfrontphotourl": {
  26475. "description": "证件正面图片地址",
  26476. "type": "string"
  26477. },
  26478. "cardnum": {
  26479. "description": "证件号码(加密存储) 注:数据库没存证件类型字段,产品说类型固定为身份证",
  26480. "type": "string"
  26481. },
  26482. "customername": {
  26483. "description": "姓名",
  26484. "type": "string"
  26485. },
  26486. "filterstatus": {
  26487. "description": "筛选条件",
  26488. "type": "string"
  26489. },
  26490. "logincode": {
  26491. "description": "登录代码",
  26492. "type": "string"
  26493. },
  26494. "mobile": {
  26495. "description": "手机号码",
  26496. "type": "string"
  26497. },
  26498. "parentuserid": {
  26499. "description": "所属机构id",
  26500. "type": "integer"
  26501. },
  26502. "parentusername": {
  26503. "description": "所属机构名称",
  26504. "type": "string"
  26505. },
  26506. "refereeuserid": {
  26507. "description": "推荐人id(经纪人)",
  26508. "type": "integer"
  26509. },
  26510. "refernum": {
  26511. "description": "推荐码",
  26512. "type": "string"
  26513. },
  26514. "remark": {
  26515. "description": "备注",
  26516. "type": "string"
  26517. },
  26518. "subarealevelpath": {
  26519. "description": "层级路径",
  26520. "type": "string"
  26521. },
  26522. "tradedate": {
  26523. "description": "交易日(yyyyMMdd)",
  26524. "type": "string"
  26525. },
  26526. "userid": {
  26527. "description": "申请人用户ID",
  26528. "type": "integer"
  26529. },
  26530. "userinfotype": {
  26531. "description": "用户类型 1-个人 2-企业",
  26532. "type": "integer"
  26533. },
  26534. "username": {
  26535. "description": "用户名称",
  26536. "type": "string"
  26537. }
  26538. }
  26539. },
  26540. "models.QhjMgrBrokerRewardReport": {
  26541. "type": "object",
  26542. "properties": {
  26543. "createtime": {
  26544. "description": "创建时间(注册时间)",
  26545. "type": "string"
  26546. },
  26547. "cycletime": {
  26548. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD) 全(0)【原值】",
  26549. "type": "string"
  26550. },
  26551. "cycletype": {
  26552. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  26553. "type": "integer"
  26554. },
  26555. "directtotalnum": {
  26556. "description": "直推总人数【期末】",
  26557. "type": "integer"
  26558. },
  26559. "indirecttotalnum": {
  26560. "description": "间推总人数【期末】",
  26561. "type": "integer"
  26562. },
  26563. "mobile": {
  26564. "description": "电话号码",
  26565. "type": "string"
  26566. },
  26567. "refereeuserid": {
  26568. "description": "推荐人id(经纪人id)",
  26569. "type": "integer"
  26570. },
  26571. "refereeusername": {
  26572. "description": "推荐人名称(经纪人) 上级经纪人名称",
  26573. "type": "string"
  26574. },
  26575. "refernum": {
  26576. "description": "推荐码",
  26577. "type": "string"
  26578. },
  26579. "subarealevelpath": {
  26580. "description": "用户层级路径",
  26581. "type": "string"
  26582. },
  26583. "todayrewardamount": {
  26584. "description": "奖励总金额【汇总】",
  26585. "type": "number"
  26586. },
  26587. "updatetime": {
  26588. "description": "更新时间",
  26589. "type": "string"
  26590. },
  26591. "userid": {
  26592. "description": "经纪人用户ID",
  26593. "type": "integer"
  26594. },
  26595. "userinfotype": {
  26596. "description": "用户类型 1-个人 2-企业",
  26597. "type": "integer"
  26598. },
  26599. "username": {
  26600. "description": "用户名称",
  26601. "type": "string"
  26602. }
  26603. }
  26604. },
  26605. "models.QhjMgrContract": {
  26606. "type": "object",
  26607. "properties": {
  26608. "contractconfirmtime": {
  26609. "description": "合同确认时间(时间)",
  26610. "type": "string"
  26611. },
  26612. "currisklevel": {
  26613. "description": "风险级别 - 1:正常 2:追加货款 3:支付尾款",
  26614. "type": "integer"
  26615. },
  26616. "decimalplace": {
  26617. "description": "商品报价小数位",
  26618. "type": "integer"
  26619. },
  26620. "enumdicname": {
  26621. "description": "单位名称",
  26622. "type": "string"
  26623. },
  26624. "goodscode": {
  26625. "description": "商品代码",
  26626. "type": "string"
  26627. },
  26628. "goodsid": {
  26629. "description": "商品ID [5:融资单]",
  26630. "type": "integer"
  26631. },
  26632. "goodsname": {
  26633. "description": "商品名称",
  26634. "type": "string"
  26635. },
  26636. "goodunitid": {
  26637. "description": "商品单位id",
  26638. "type": "integer"
  26639. },
  26640. "initmargin": {
  26641. "description": "初始保证金(首付款)",
  26642. "type": "number"
  26643. },
  26644. "lenderamount": {
  26645. "description": "贷款金额(总额|订单总额)",
  26646. "type": "number"
  26647. },
  26648. "logincode": {
  26649. "description": "账号(登录代码)",
  26650. "type": "string"
  26651. },
  26652. "marginratio": {
  26653. "description": "保证金比率(首付比例)",
  26654. "type": "number"
  26655. },
  26656. "mobile": {
  26657. "description": "电话号码(用户资料里的电话)",
  26658. "type": "string"
  26659. },
  26660. "payamount": {
  26661. "description": "已付(已付货款)",
  26662. "type": "number"
  26663. },
  26664. "reckonrecovermargin": {
  26665. "description": "结算应追缴保底金(结算时到过风险率时临时存储) - [仓单回购\\仓单质押]",
  26666. "type": "number"
  26667. },
  26668. "recoveredmargin": {
  26669. "description": "已追缴保证金",
  26670. "type": "number"
  26671. },
  26672. "remainamount": {
  26673. "description": "合同剩余金额(融资额)",
  26674. "type": "number"
  26675. },
  26676. "scfcontractid": {
  26677. "description": "SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)",
  26678. "type": "string"
  26679. },
  26680. "scfcontractstatus": {
  26681. "description": "合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束 9:违约结束 10:已注销 11:已关闭 99:未提交",
  26682. "type": "integer"
  26683. },
  26684. "scfcontracttype": {
  26685. "description": "合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单",
  26686. "type": "integer"
  26687. },
  26688. "totalinterest": {
  26689. "description": "已计总利息(利息)",
  26690. "type": "number"
  26691. },
  26692. "tradedate": {
  26693. "description": "交易日",
  26694. "type": "string"
  26695. },
  26696. "tradeprice": {
  26697. "description": "成交价格(成本价格)",
  26698. "type": "number"
  26699. },
  26700. "userid": {
  26701. "description": "用户ID",
  26702. "type": "integer"
  26703. },
  26704. "userinfotype": {
  26705. "description": "用户类型 1-个人 2-企业",
  26706. "type": "integer"
  26707. },
  26708. "username": {
  26709. "description": "用户名称",
  26710. "type": "string"
  26711. },
  26712. "wrqty": {
  26713. "description": "仓单数量(数量)",
  26714. "type": "number"
  26715. }
  26716. }
  26717. },
  26718. "models.QhjMgrCustomer": {
  26719. "type": "object",
  26720. "properties": {
  26721. "address": {
  26722. "description": "通讯地址",
  26723. "type": "string"
  26724. },
  26725. "attachment1": {
  26726. "description": "附件1",
  26727. "type": "string"
  26728. },
  26729. "audittime": {
  26730. "description": "审核时间",
  26731. "type": "string"
  26732. },
  26733. "cardbackphotourl": {
  26734. "description": "证件反面图片地址",
  26735. "type": "string"
  26736. },
  26737. "cardfrontphotourl": {
  26738. "description": "证件正面图片地址",
  26739. "type": "string"
  26740. },
  26741. "cardnum": {
  26742. "description": "证件号码",
  26743. "type": "string"
  26744. },
  26745. "cardtype": {
  26746. "description": "证件类型",
  26747. "type": "integer"
  26748. },
  26749. "cardtypename": {
  26750. "description": "证件类型名称",
  26751. "type": "string"
  26752. },
  26753. "cityid": {
  26754. "description": "市",
  26755. "type": "integer"
  26756. },
  26757. "cityname": {
  26758. "description": "城市名称",
  26759. "type": "string"
  26760. },
  26761. "contactname": {
  26762. "description": "联系人",
  26763. "type": "string"
  26764. },
  26765. "countryid": {
  26766. "description": "国家",
  26767. "type": "integer"
  26768. },
  26769. "countryname": {
  26770. "description": "国家名称",
  26771. "type": "string"
  26772. },
  26773. "createtime": {
  26774. "description": "创建时间",
  26775. "type": "string"
  26776. },
  26777. "customername": {
  26778. "description": "客户名称",
  26779. "type": "string"
  26780. },
  26781. "districtid": {
  26782. "description": "区域",
  26783. "type": "integer"
  26784. },
  26785. "districtname": {
  26786. "description": "地区名称",
  26787. "type": "string"
  26788. },
  26789. "email": {
  26790. "description": "邮件",
  26791. "type": "string"
  26792. },
  26793. "legalpersonname": {
  26794. "description": "法人姓名(企业)",
  26795. "type": "string"
  26796. },
  26797. "logincode": {
  26798. "description": "登录账号(代码)",
  26799. "type": "string"
  26800. },
  26801. "memberuserid": {
  26802. "description": "所属机构ID(所属会员)",
  26803. "type": "integer"
  26804. },
  26805. "memberusername": {
  26806. "description": "所属会员名称",
  26807. "type": "string"
  26808. },
  26809. "mobile": {
  26810. "description": "手机号码",
  26811. "type": "string"
  26812. },
  26813. "modifytime": {
  26814. "description": "修改时间",
  26815. "type": "string"
  26816. },
  26817. "nickname": {
  26818. "description": "昵称",
  26819. "type": "string"
  26820. },
  26821. "parentuserid": {
  26822. "description": "上级机构(所属机构)",
  26823. "type": "integer"
  26824. },
  26825. "parentusername": {
  26826. "description": "所属机构名称",
  26827. "type": "string"
  26828. },
  26829. "provinceid": {
  26830. "description": "省",
  26831. "type": "integer"
  26832. },
  26833. "provincename": {
  26834. "description": "省名称",
  26835. "type": "string"
  26836. },
  26837. "proxystatementurl": {
  26838. "description": "授权委托书",
  26839. "type": "string"
  26840. },
  26841. "querytype": {
  26842. "description": "查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用",
  26843. "type": "integer"
  26844. },
  26845. "remark": {
  26846. "description": "备注",
  26847. "type": "string"
  26848. },
  26849. "status": {
  26850. "description": "开户状态(网上开户表wskh_userinfo) 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过 ; 账户状态(正式表useraccount) 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  26851. "type": "integer"
  26852. },
  26853. "statusdesc": {
  26854. "description": "账户状态中文描述",
  26855. "type": "string"
  26856. },
  26857. "taxpayernum": {
  26858. "description": "纳税人识别号",
  26859. "type": "string"
  26860. },
  26861. "telphone": {
  26862. "description": "联系电话",
  26863. "type": "string"
  26864. },
  26865. "userid": {
  26866. "description": "用户ID",
  26867. "type": "integer"
  26868. },
  26869. "userinfotype": {
  26870. "description": "客户类型 1-个人 2-企业",
  26871. "type": "integer"
  26872. },
  26873. "username": {
  26874. "description": "用户名称",
  26875. "type": "string"
  26876. }
  26877. }
  26878. },
  26879. "models.QhjMgrPickGoods": {
  26880. "type": "object",
  26881. "properties": {
  26882. "enumdicname": {
  26883. "description": "单位名称(提货商品)",
  26884. "type": "string"
  26885. },
  26886. "goodsid": {
  26887. "description": "商品id",
  26888. "type": "integer"
  26889. },
  26890. "imageaddress": {
  26891. "description": "图片",
  26892. "type": "string"
  26893. },
  26894. "modifierid": {
  26895. "description": "修改人",
  26896. "type": "integer"
  26897. },
  26898. "modifiername": {
  26899. "description": "修改人名称",
  26900. "type": "string"
  26901. },
  26902. "modifysrc": {
  26903. "description": "修改来源 - 1:管理端 2:终端",
  26904. "type": "integer"
  26905. },
  26906. "pickupgoodsagreeunit": {
  26907. "description": "合约乘数",
  26908. "type": "number"
  26909. },
  26910. "pickupgoodsdesc": {
  26911. "description": "描述",
  26912. "type": "string"
  26913. },
  26914. "pickupgoodsid": {
  26915. "description": "提货商品ID",
  26916. "type": "string"
  26917. },
  26918. "pickupgoodsname": {
  26919. "description": "提货商品名称",
  26920. "type": "string"
  26921. },
  26922. "pickupgoodsstatus": {
  26923. "description": "状态 - 1:正常 2:停用 3:注销",
  26924. "type": "integer"
  26925. },
  26926. "pickupgoodsunitid": {
  26927. "description": "单位ID",
  26928. "type": "integer"
  26929. },
  26930. "pickupratio": {
  26931. "description": "提货系数",
  26932. "type": "number"
  26933. },
  26934. "preparedays": {
  26935. "description": "备货期(天)",
  26936. "type": "integer"
  26937. },
  26938. "remark": {
  26939. "description": "备注",
  26940. "type": "string"
  26941. },
  26942. "updatetime": {
  26943. "description": "更新时间",
  26944. "type": "string"
  26945. }
  26946. }
  26947. },
  26948. "models.QhjMgrPositionRsp": {
  26949. "type": "object",
  26950. "properties": {
  26951. "accountid": {
  26952. "description": "账号Id",
  26953. "type": "integer"
  26954. },
  26955. "accountname": {
  26956. "description": "用户名称",
  26957. "type": "string"
  26958. },
  26959. "agreeunit": {
  26960. "description": "合约乘数",
  26961. "type": "number"
  26962. },
  26963. "averageprice": {
  26964. "description": "均价",
  26965. "type": "number"
  26966. },
  26967. "avialqty": {
  26968. "description": "可用数量",
  26969. "type": "number"
  26970. },
  26971. "decimalplace": {
  26972. "description": "报价小数位",
  26973. "type": "integer"
  26974. },
  26975. "enumdicname": {
  26976. "description": "单位名称(商品)",
  26977. "type": "string"
  26978. },
  26979. "frozenqty": {
  26980. "description": "冻结数量",
  26981. "type": "number"
  26982. },
  26983. "goodscode": {
  26984. "description": "商品代码(内部)",
  26985. "type": "string"
  26986. },
  26987. "goodsid": {
  26988. "description": "商品Id",
  26989. "type": "integer"
  26990. },
  26991. "goodsname": {
  26992. "description": "商品名称",
  26993. "type": "string"
  26994. },
  26995. "goodunitid": {
  26996. "description": "报价单位ID",
  26997. "type": "integer"
  26998. },
  26999. "holderamount": {
  27000. "description": "金额",
  27001. "type": "number"
  27002. },
  27003. "holderqty": {
  27004. "description": "持有数量",
  27005. "type": "number"
  27006. },
  27007. "holdertype": {
  27008. "description": "持仓类别 - 1:单边持仓 2:双边持仓",
  27009. "type": "integer"
  27010. },
  27011. "logincode": {
  27012. "description": "登录代码(账户)",
  27013. "type": "string"
  27014. },
  27015. "marketid": {
  27016. "description": "市场id",
  27017. "type": "integer"
  27018. },
  27019. "qtydecimalplace": {
  27020. "description": "成交量小数位",
  27021. "type": "integer"
  27022. },
  27023. "trademode": {
  27024. "description": "交易模式",
  27025. "type": "integer"
  27026. },
  27027. "userid": {
  27028. "description": "用户id",
  27029. "type": "integer"
  27030. },
  27031. "userinfotype": {
  27032. "description": "账户类型 1-个人 2-企业",
  27033. "type": "integer"
  27034. }
  27035. }
  27036. },
  27037. "models.QhjMgrSubArea": {
  27038. "type": "object",
  27039. "properties": {
  27040. "accountname": {
  27041. "description": "账户名称(机构名称)",
  27042. "type": "string"
  27043. },
  27044. "memberuserid": {
  27045. "description": "所属会员ID",
  27046. "type": "integer"
  27047. },
  27048. "parenttopuser": {
  27049. "description": "上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的\"ParentTopUser\"]",
  27050. "type": "string"
  27051. },
  27052. "parentuserid": {
  27053. "description": "所属机构ID",
  27054. "type": "integer"
  27055. },
  27056. "rootuserid": {
  27057. "description": "根用户ID",
  27058. "type": "string"
  27059. },
  27060. "subaccountlevel": {
  27061. "description": "子账户层数",
  27062. "type": "integer"
  27063. },
  27064. "subarealevelpath": {
  27065. "description": "子机构层级路径(逗号分隔,首尾加逗号)",
  27066. "type": "string"
  27067. },
  27068. "userid": {
  27069. "description": "用户ID",
  27070. "type": "integer"
  27071. },
  27072. "usertype": {
  27073. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  27074. "type": "integer"
  27075. }
  27076. }
  27077. },
  27078. "models.QhjMgrTradeDetailRsp": {
  27079. "type": "object",
  27080. "properties": {
  27081. "accountid": {
  27082. "description": "资金账号",
  27083. "type": "integer"
  27084. },
  27085. "accountname": {
  27086. "description": "用户名称",
  27087. "type": "string"
  27088. },
  27089. "agreeunit": {
  27090. "description": "合约乘数",
  27091. "type": "number"
  27092. },
  27093. "buyorsell": {
  27094. "description": "成交类型(方向) 0:买 1:卖",
  27095. "type": "integer"
  27096. },
  27097. "decimalplace": {
  27098. "description": "报价小数位",
  27099. "type": "integer"
  27100. },
  27101. "enumdicname": {
  27102. "description": "单位名称(商品)",
  27103. "type": "string"
  27104. },
  27105. "goodscode": {
  27106. "description": "商品代码(内部)",
  27107. "type": "string"
  27108. },
  27109. "goodsid": {
  27110. "description": "商品id",
  27111. "type": "integer"
  27112. },
  27113. "goodsname": {
  27114. "description": "商品名称",
  27115. "type": "string"
  27116. },
  27117. "goodunitid": {
  27118. "description": "报价单位ID",
  27119. "type": "integer"
  27120. },
  27121. "logincode": {
  27122. "description": "登录代码(账户)",
  27123. "type": "string"
  27124. },
  27125. "marketid": {
  27126. "description": "市场id",
  27127. "type": "integer"
  27128. },
  27129. "orderid": {
  27130. "description": "关联委托单号",
  27131. "type": "string"
  27132. },
  27133. "qtydecimalplace": {
  27134. "description": "成交量小数位",
  27135. "type": "integer"
  27136. },
  27137. "tradeamount": {
  27138. "description": "金额",
  27139. "type": "number"
  27140. },
  27141. "tradedate": {
  27142. "description": "交易日",
  27143. "type": "string"
  27144. },
  27145. "tradeid": {
  27146. "description": "成交单号",
  27147. "type": "string"
  27148. },
  27149. "trademode": {
  27150. "description": "交易模式",
  27151. "type": "integer"
  27152. },
  27153. "tradeprice": {
  27154. "description": "价格",
  27155. "type": "number"
  27156. },
  27157. "tradeqty": {
  27158. "description": "数量",
  27159. "type": "number"
  27160. },
  27161. "tradetime": {
  27162. "description": "成交时间",
  27163. "type": "string"
  27164. },
  27165. "userid": {
  27166. "description": "用户id",
  27167. "type": "integer"
  27168. },
  27169. "userinfotype": {
  27170. "description": "账户类型 1-个人 2-企业",
  27171. "type": "integer"
  27172. }
  27173. }
  27174. },
  27175. "models.QhjMgrTradeOrderDetailRsp": {
  27176. "type": "object",
  27177. "properties": {
  27178. "accountid": {
  27179. "description": "资金账号",
  27180. "type": "integer"
  27181. },
  27182. "accountname": {
  27183. "description": "用户名称",
  27184. "type": "string"
  27185. },
  27186. "agreeunit": {
  27187. "description": "合约乘数",
  27188. "type": "number"
  27189. },
  27190. "amount": {
  27191. "description": "金额",
  27192. "type": "number"
  27193. },
  27194. "decimalplace": {
  27195. "description": "报价小数位",
  27196. "type": "integer"
  27197. },
  27198. "enumdicname": {
  27199. "description": "单位名称(商品)",
  27200. "type": "string"
  27201. },
  27202. "goodscode": {
  27203. "description": "商品代码(内部)",
  27204. "type": "string"
  27205. },
  27206. "goodsid": {
  27207. "description": "商品id",
  27208. "type": "integer"
  27209. },
  27210. "goodsname": {
  27211. "description": "商品名称",
  27212. "type": "string"
  27213. },
  27214. "goodunitid": {
  27215. "description": "报价单位ID",
  27216. "type": "integer"
  27217. },
  27218. "logincode": {
  27219. "description": "登录代码(账户)",
  27220. "type": "string"
  27221. },
  27222. "marketid": {
  27223. "description": "市场id",
  27224. "type": "integer"
  27225. },
  27226. "orderid": {
  27227. "description": "关联委托单号",
  27228. "type": "string"
  27229. },
  27230. "orderprice": {
  27231. "description": "价格",
  27232. "type": "number"
  27233. },
  27234. "orderqty": {
  27235. "description": "数量",
  27236. "type": "number"
  27237. },
  27238. "orderstatus": {
  27239. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  27240. "type": "integer"
  27241. },
  27242. "ordertime": {
  27243. "description": "委托时间",
  27244. "type": "string"
  27245. },
  27246. "qtydecimalplace": {
  27247. "description": "成交量小数位",
  27248. "type": "integer"
  27249. },
  27250. "tradedate": {
  27251. "description": "交易日",
  27252. "type": "string"
  27253. },
  27254. "trademode": {
  27255. "description": "交易模式",
  27256. "type": "integer"
  27257. },
  27258. "userid": {
  27259. "description": "用户id",
  27260. "type": "integer"
  27261. },
  27262. "userinfotype": {
  27263. "description": "账户类型 1-个人 2-企业",
  27264. "type": "integer"
  27265. }
  27266. }
  27267. },
  27268. "models.QhjMgrTradePayOrder": {
  27269. "type": "object",
  27270. "properties": {
  27271. "accountname": {
  27272. "description": "用户名称",
  27273. "type": "string"
  27274. },
  27275. "advanceratio": {
  27276. "description": "首付比率",
  27277. "type": "number"
  27278. },
  27279. "agreeunit": {
  27280. "description": "合约乘数",
  27281. "type": "number"
  27282. },
  27283. "buyaccountid": {
  27284. "description": "买方账号ID[报价币种]",
  27285. "type": "integer"
  27286. },
  27287. "buyorderid": {
  27288. "description": "买方委托单号(关联单号)",
  27289. "type": "string"
  27290. },
  27291. "createtime": {
  27292. "description": "创建时间",
  27293. "type": "string"
  27294. },
  27295. "decimalplace": {
  27296. "description": "报价小数位",
  27297. "type": "integer"
  27298. },
  27299. "enumdicname": {
  27300. "description": "单位名称(商品)",
  27301. "type": "string"
  27302. },
  27303. "goodscode": {
  27304. "description": "商品代码(内部)",
  27305. "type": "string"
  27306. },
  27307. "goodsid": {
  27308. "description": "商品ID",
  27309. "type": "integer"
  27310. },
  27311. "goodsname": {
  27312. "description": "商品名称",
  27313. "type": "string"
  27314. },
  27315. "goodunitid": {
  27316. "description": "报价单位ID",
  27317. "type": "integer"
  27318. },
  27319. "logincode": {
  27320. "description": "登录代码(账户)",
  27321. "type": "string"
  27322. },
  27323. "marketid": {
  27324. "description": "市场id",
  27325. "type": "integer"
  27326. },
  27327. "offamount": {
  27328. "description": "优惠金额",
  27329. "type": "number"
  27330. },
  27331. "operatetype": {
  27332. "description": "买委托操作类型 - 1:正常下单 16:融资买入",
  27333. "type": "integer"
  27334. },
  27335. "payamount": {
  27336. "description": "支付金额(金额)",
  27337. "type": "number"
  27338. },
  27339. "payflag": {
  27340. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  27341. "type": "integer"
  27342. },
  27343. "paylimitedtime": {
  27344. "description": "支付期限",
  27345. "type": "string"
  27346. },
  27347. "paytime": {
  27348. "description": "付款时间",
  27349. "type": "string"
  27350. },
  27351. "qtydecimalplace": {
  27352. "description": "成交量小数位",
  27353. "type": "integer"
  27354. },
  27355. "sellaccountid": {
  27356. "description": "卖方账号ID[报价币种]",
  27357. "type": "integer"
  27358. },
  27359. "sellorderid": {
  27360. "description": "卖方委托单号",
  27361. "type": "string"
  27362. },
  27363. "tradeamount": {
  27364. "description": "成交金额(优惠后金额)",
  27365. "type": "number"
  27366. },
  27367. "tradecharge": {
  27368. "description": "成交手续费(买方)",
  27369. "type": "number"
  27370. },
  27371. "tradedate": {
  27372. "description": "交易日(yyyyMMdd)",
  27373. "type": "string"
  27374. },
  27375. "tradeid": {
  27376. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  27377. "type": "string"
  27378. },
  27379. "trademode": {
  27380. "description": "交易模式",
  27381. "type": "integer"
  27382. },
  27383. "tradeprice": {
  27384. "description": "成交价格(价格)",
  27385. "type": "number"
  27386. },
  27387. "tradeqty": {
  27388. "description": "成交数量(数量)",
  27389. "type": "number"
  27390. },
  27391. "tradetime": {
  27392. "description": "成交时间",
  27393. "type": "string"
  27394. },
  27395. "userid": {
  27396. "description": "用户id",
  27397. "type": "integer"
  27398. },
  27399. "userinfotype": {
  27400. "description": "账户类型 1-个人 2-企业",
  27401. "type": "integer"
  27402. }
  27403. }
  27404. },
  27405. "models.QhjMyTeamEx": {
  27406. "type": "object",
  27407. "properties": {
  27408. "accountname": {
  27409. "description": "用户名称",
  27410. "type": "string"
  27411. },
  27412. "accountstatus": {
  27413. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  27414. "type": "integer"
  27415. },
  27416. "createtime": {
  27417. "description": "创建时间",
  27418. "type": "string"
  27419. },
  27420. "mobile": {
  27421. "description": "手机号码",
  27422. "type": "string"
  27423. },
  27424. "refereeuserid": {
  27425. "description": "推荐人id",
  27426. "type": "integer"
  27427. },
  27428. "refernum": {
  27429. "description": "推荐码",
  27430. "type": "string"
  27431. },
  27432. "subList": {
  27433. "type": "array",
  27434. "items": {
  27435. "$ref": "#/definitions/models.QhjMyTeamEx"
  27436. }
  27437. },
  27438. "userid": {
  27439. "description": "用户id",
  27440. "type": "integer"
  27441. },
  27442. "userinfotype": {
  27443. "description": "用户类型 1-个人 2-企业",
  27444. "type": "integer"
  27445. }
  27446. }
  27447. },
  27448. "models.QhjNodeAgreementConfig": {
  27449. "type": "object",
  27450. "properties": {
  27451. "agreementcontent": {
  27452. "description": "协议内容",
  27453. "type": "string"
  27454. },
  27455. "agreementid": {
  27456. "description": "协议ID",
  27457. "type": "integer"
  27458. },
  27459. "agreementname": {
  27460. "description": "协议名称",
  27461. "type": "string"
  27462. },
  27463. "agreementno": {
  27464. "description": "协议编号",
  27465. "type": "string"
  27466. },
  27467. "agreementtype": {
  27468. "description": "协议类型 - 1:注册 2:登录 3:交易",
  27469. "type": "integer"
  27470. },
  27471. "agreementversion": {
  27472. "description": "协议版本号",
  27473. "type": "integer"
  27474. },
  27475. "configid": {
  27476. "description": "配置(SEQ_QHJ_NODEAGREEMENTCONFIG)",
  27477. "type": "integer"
  27478. },
  27479. "createtime": {
  27480. "description": "创建时间",
  27481. "type": "string"
  27482. },
  27483. "goodsid": {
  27484. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  27485. "type": "integer"
  27486. },
  27487. "nodetype": {
  27488. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  27489. "type": "integer"
  27490. }
  27491. }
  27492. },
  27493. "models.QhjParentAreaList": {
  27494. "type": "object",
  27495. "properties": {
  27496. "accountname": {
  27497. "description": "账户名称(机构名称)",
  27498. "type": "string"
  27499. },
  27500. "userid": {
  27501. "description": "用户ID",
  27502. "type": "integer"
  27503. },
  27504. "usertype": {
  27505. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  27506. "type": "integer"
  27507. }
  27508. }
  27509. },
  27510. "models.QhjPayOrder": {
  27511. "type": "object",
  27512. "properties": {
  27513. "advanceratio": {
  27514. "description": "首付比率",
  27515. "type": "number"
  27516. },
  27517. "buyaccountid": {
  27518. "description": "买方账号ID[报价币种]",
  27519. "type": "integer"
  27520. },
  27521. "buyorderid": {
  27522. "description": "买方委托单号",
  27523. "type": "string"
  27524. },
  27525. "createtime": {
  27526. "description": "创建时间",
  27527. "type": "string"
  27528. },
  27529. "decimalplace": {
  27530. "description": "商品报价小数位",
  27531. "type": "integer"
  27532. },
  27533. "enumdicname": {
  27534. "description": "单位名称",
  27535. "type": "string"
  27536. },
  27537. "goodscode": {
  27538. "description": "商品代码",
  27539. "type": "string"
  27540. },
  27541. "goodsid": {
  27542. "description": "商品ID",
  27543. "type": "integer"
  27544. },
  27545. "goodsname": {
  27546. "description": "商品名称",
  27547. "type": "string"
  27548. },
  27549. "goodunitid": {
  27550. "description": "商品单位id",
  27551. "type": "integer"
  27552. },
  27553. "marketid": {
  27554. "description": "市场ID",
  27555. "type": "integer"
  27556. },
  27557. "offamount": {
  27558. "description": "优惠金额",
  27559. "type": "number"
  27560. },
  27561. "operatetype": {
  27562. "description": "买委托操作类型 - 1:正常下单 16:融资买入",
  27563. "type": "integer"
  27564. },
  27565. "payamount": {
  27566. "description": "支付金额",
  27567. "type": "number"
  27568. },
  27569. "payflag": {
  27570. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  27571. "type": "integer"
  27572. },
  27573. "paylimitedtime": {
  27574. "description": "支付期限",
  27575. "type": "string"
  27576. },
  27577. "paytime": {
  27578. "description": "付款时间",
  27579. "type": "string"
  27580. },
  27581. "qtydecimalplace": {
  27582. "description": "成交量小数位",
  27583. "type": "integer"
  27584. },
  27585. "sellaccountid": {
  27586. "description": "卖方账号ID[报价币种]",
  27587. "type": "integer"
  27588. },
  27589. "sellorderid": {
  27590. "description": "卖方委托单号",
  27591. "type": "string"
  27592. },
  27593. "tradeamount": {
  27594. "description": "成交金额(优惠后金额)",
  27595. "type": "number"
  27596. },
  27597. "tradecharge": {
  27598. "description": "成交手续费(买方)",
  27599. "type": "number"
  27600. },
  27601. "tradedate": {
  27602. "description": "交易日(yyyyMMdd)",
  27603. "type": "string"
  27604. },
  27605. "tradeid": {
  27606. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  27607. "type": "string"
  27608. },
  27609. "tradeprice": {
  27610. "description": "成交价格",
  27611. "type": "number"
  27612. },
  27613. "tradeqty": {
  27614. "description": "成交数量",
  27615. "type": "number"
  27616. }
  27617. }
  27618. },
  27619. "models.QhjPickArea": {
  27620. "type": "object",
  27621. "properties": {
  27622. "address": {
  27623. "description": "详细地址",
  27624. "type": "string"
  27625. },
  27626. "cityid": {
  27627. "description": "市",
  27628. "type": "integer"
  27629. },
  27630. "cityname": {
  27631. "description": "城市名称",
  27632. "type": "string"
  27633. },
  27634. "countryid": {
  27635. "description": "国家",
  27636. "type": "integer"
  27637. },
  27638. "countryname": {
  27639. "description": "国家名称",
  27640. "type": "string"
  27641. },
  27642. "districtid": {
  27643. "description": "地区",
  27644. "type": "integer"
  27645. },
  27646. "districtname": {
  27647. "description": "地区名称",
  27648. "type": "string"
  27649. },
  27650. "fromuserid": {
  27651. "description": "所属机构(组织机构)( OrgType = 1时为自己, = 2\\3时取上级机构的所属机构)",
  27652. "type": "integer"
  27653. },
  27654. "fromusername": {
  27655. "description": "所属机构名称",
  27656. "type": "string"
  27657. },
  27658. "provinceid": {
  27659. "description": "省",
  27660. "type": "integer"
  27661. },
  27662. "provincename": {
  27663. "description": "省名称",
  27664. "type": "string"
  27665. },
  27666. "suborgtype": {
  27667. "description": "子机构类型(千海金) - 0:机构 1:代理 2:门店",
  27668. "type": "integer"
  27669. },
  27670. "userid": {
  27671. "description": "机构用户ID 其他做市关系,都设置为 1",
  27672. "type": "integer"
  27673. },
  27674. "username": {
  27675. "description": "机构用户名称(门店门称)",
  27676. "type": "string"
  27677. }
  27678. }
  27679. },
  27680. "models.QhjPickGoods": {
  27681. "type": "object",
  27682. "properties": {
  27683. "enumdicname": {
  27684. "description": "单位名称(提货商品)",
  27685. "type": "string"
  27686. },
  27687. "goodsid": {
  27688. "description": "商品id",
  27689. "type": "integer"
  27690. },
  27691. "imageaddress": {
  27692. "description": "图片",
  27693. "type": "string"
  27694. },
  27695. "modifierid": {
  27696. "description": "修改人",
  27697. "type": "integer"
  27698. },
  27699. "modifiername": {
  27700. "description": "修改人名称",
  27701. "type": "string"
  27702. },
  27703. "modifysrc": {
  27704. "description": "修改来源 - 1:管理端 2:终端",
  27705. "type": "integer"
  27706. },
  27707. "pickupgoodsagreeunit": {
  27708. "description": "合约乘数",
  27709. "type": "number"
  27710. },
  27711. "pickupgoodsdesc": {
  27712. "description": "描述",
  27713. "type": "string"
  27714. },
  27715. "pickupgoodsid": {
  27716. "description": "提货商品ID",
  27717. "type": "string"
  27718. },
  27719. "pickupgoodsname": {
  27720. "description": "提货商品名称",
  27721. "type": "string"
  27722. },
  27723. "pickupgoodsstatus": {
  27724. "description": "状态 - 1:正常 2:停用 3:注销",
  27725. "type": "integer"
  27726. },
  27727. "pickupgoodsunitid": {
  27728. "description": "单位ID",
  27729. "type": "integer"
  27730. },
  27731. "pickupratio": {
  27732. "description": "提货系数",
  27733. "type": "number"
  27734. },
  27735. "preparedays": {
  27736. "description": "备货期(天)",
  27737. "type": "integer"
  27738. },
  27739. "remark": {
  27740. "description": "备注",
  27741. "type": "string"
  27742. },
  27743. "updatetime": {
  27744. "description": "更新时间",
  27745. "type": "string"
  27746. }
  27747. }
  27748. },
  27749. "models.QhjRSTriggerLog": {
  27750. "type": "object",
  27751. "properties": {
  27752. "accountid": {
  27753. "description": "用户资金账户",
  27754. "type": "integer"
  27755. },
  27756. "accountname": {
  27757. "description": "账号名称(ACCOUNTID对应的名称)",
  27758. "type": "string"
  27759. },
  27760. "currencyid": {
  27761. "description": "币种id",
  27762. "type": "integer"
  27763. },
  27764. "currencyname": {
  27765. "description": "币种名称",
  27766. "type": "string"
  27767. },
  27768. "decimalplace": {
  27769. "description": "商品报价小数位",
  27770. "type": "integer"
  27771. },
  27772. "enumdicname": {
  27773. "description": "单位名称",
  27774. "type": "string"
  27775. },
  27776. "goodscode": {
  27777. "description": "定投商品代码",
  27778. "type": "string"
  27779. },
  27780. "goodsid": {
  27781. "description": "定投商品ID",
  27782. "type": "integer"
  27783. },
  27784. "goodsname": {
  27785. "description": "定投商品名称",
  27786. "type": "string"
  27787. },
  27788. "goodunitid": {
  27789. "description": "定投商品单位id",
  27790. "type": "integer"
  27791. },
  27792. "logid": {
  27793. "description": "LogID(SEQ_QHJ_RSTRIGGERLOG)",
  27794. "type": "string"
  27795. },
  27796. "logincode": {
  27797. "description": "账号(登录代码)",
  27798. "type": "string"
  27799. },
  27800. "qtydecimalplace": {
  27801. "description": "成交量小数位",
  27802. "type": "integer"
  27803. },
  27804. "regularlycycle": {
  27805. "description": "定投频率 - 1:每周 2:每月",
  27806. "type": "integer"
  27807. },
  27808. "regularlycyclevalue": {
  27809. "description": "定投频率值 - 每周几(0-6) 或 每月几号(\u003c=28)",
  27810. "type": "string"
  27811. },
  27812. "regularlymode": {
  27813. "description": "定投方式 - 1:按数量 2:按金额",
  27814. "type": "integer"
  27815. },
  27816. "regularlymodevalue": {
  27817. "description": "定投方式值 - 数量或金额",
  27818. "type": "number"
  27819. },
  27820. "regularlystrategyid": {
  27821. "description": "定投策略ID",
  27822. "type": "integer"
  27823. },
  27824. "retcode": {
  27825. "description": "错误码",
  27826. "type": "string"
  27827. },
  27828. "tradeid": {
  27829. "description": "成交单ID",
  27830. "type": "string"
  27831. },
  27832. "triggeramount": {
  27833. "description": "触发金额",
  27834. "type": "number"
  27835. },
  27836. "triggerqty": {
  27837. "description": "触发数量",
  27838. "type": "number"
  27839. },
  27840. "triggerstatus": {
  27841. "description": "触发状态 - 1:成功 2:失败",
  27842. "type": "integer"
  27843. },
  27844. "triggertime": {
  27845. "description": "触发时间",
  27846. "type": "string"
  27847. },
  27848. "triggertradedate": {
  27849. "description": "触发交易日",
  27850. "type": "string"
  27851. },
  27852. "userid": {
  27853. "description": "所属用户ID",
  27854. "type": "integer"
  27855. },
  27856. "userinfotype": {
  27857. "description": "用户类型 1-个人 2-企业",
  27858. "type": "integer"
  27859. },
  27860. "username": {
  27861. "description": "用户名称(userid对应的名称)",
  27862. "type": "string"
  27863. }
  27864. }
  27865. },
  27866. "models.QhjRStrategy": {
  27867. "type": "object",
  27868. "properties": {
  27869. "accountid": {
  27870. "description": "用户资金账户",
  27871. "type": "integer"
  27872. },
  27873. "accountname": {
  27874. "description": "账号名称(ACCOUNTID对应的名称)",
  27875. "type": "string"
  27876. },
  27877. "currencyid": {
  27878. "description": "币种id",
  27879. "type": "integer"
  27880. },
  27881. "currencyname": {
  27882. "description": "币种名称",
  27883. "type": "string"
  27884. },
  27885. "decimalplace": {
  27886. "description": "商品报价小数位",
  27887. "type": "integer"
  27888. },
  27889. "enumdicname": {
  27890. "description": "单位名称",
  27891. "type": "string"
  27892. },
  27893. "goodscode": {
  27894. "description": "定投商品代码",
  27895. "type": "string"
  27896. },
  27897. "goodsid": {
  27898. "description": "定投商品ID",
  27899. "type": "integer"
  27900. },
  27901. "goodsname": {
  27902. "description": "定投商品名称",
  27903. "type": "string"
  27904. },
  27905. "goodunitid": {
  27906. "description": "定投商品单位id",
  27907. "type": "integer"
  27908. },
  27909. "lasteffecttradedate": {
  27910. "description": "最新生效交易日",
  27911. "type": "string"
  27912. },
  27913. "laststoptradedate": {
  27914. "description": "最新暂停交易日",
  27915. "type": "string"
  27916. },
  27917. "lasttriggertradedate": {
  27918. "description": "最新触发交易日",
  27919. "type": "string"
  27920. },
  27921. "logincode": {
  27922. "description": "账号(登录代码)",
  27923. "type": "string"
  27924. },
  27925. "nexttriggeramount": {
  27926. "description": "下次触发金额",
  27927. "type": "number"
  27928. },
  27929. "nexttriggerdate": {
  27930. "description": "下次触发日期",
  27931. "type": "string"
  27932. },
  27933. "nexttriggerqty": {
  27934. "description": "下次触发数量 [按小数位放大值]",
  27935. "type": "number"
  27936. },
  27937. "qtydecimalplace": {
  27938. "description": "成交量小数位",
  27939. "type": "integer"
  27940. },
  27941. "regularlycycle": {
  27942. "description": "定投频率 - 1:每周 2:每月",
  27943. "type": "integer"
  27944. },
  27945. "regularlycyclevalue": {
  27946. "description": "定投频率值 - 每周几(0-6) 或 每月几号(\u003c=28)",
  27947. "type": "string"
  27948. },
  27949. "regularlymode": {
  27950. "description": "定投方式 - 1:按数量 2:按金额",
  27951. "type": "integer"
  27952. },
  27953. "regularlymodevalue": {
  27954. "description": "定投方式值 - 数量或金额",
  27955. "type": "number"
  27956. },
  27957. "regularlystrategyid": {
  27958. "description": "定投策略ID (SEQ_QHJ_REGULARLYSTRATEGY)",
  27959. "type": "integer"
  27960. },
  27961. "regularlystrategystatus": {
  27962. "description": "策略状态 - 1:正常 2:暂停 3:终止",
  27963. "type": "integer"
  27964. },
  27965. "remark": {
  27966. "description": "备注",
  27967. "type": "string"
  27968. },
  27969. "triggersuccesstimes": {
  27970. "description": "累计定投成功次数",
  27971. "type": "string"
  27972. },
  27973. "triggertotalamount": {
  27974. "description": "累计定投金额(成功)",
  27975. "type": "number"
  27976. },
  27977. "triggertotalqty": {
  27978. "description": "累计定投数量(成功) [按小数位放大值]",
  27979. "type": "number"
  27980. },
  27981. "triggertotaltimes": {
  27982. "description": "累计定投总次数",
  27983. "type": "string"
  27984. },
  27985. "updatesrc": {
  27986. "description": "更新来源 - 1:管理端 2:终端",
  27987. "type": "integer"
  27988. },
  27989. "updatetime": {
  27990. "description": "更新时间",
  27991. "type": "string"
  27992. },
  27993. "updatorid": {
  27994. "description": "更新人",
  27995. "type": "string"
  27996. },
  27997. "userid": {
  27998. "description": "所属用户ID",
  27999. "type": "integer"
  28000. },
  28001. "userinfotype": {
  28002. "description": "用户类型 1-个人 2-企业",
  28003. "type": "integer"
  28004. },
  28005. "username": {
  28006. "description": "用户名称(userid对应的名称)",
  28007. "type": "string"
  28008. }
  28009. }
  28010. },
  28011. "models.QhjReckonPriceLog": {
  28012. "type": "object",
  28013. "properties": {
  28014. "decimalplace": {
  28015. "description": "商品报价小数位",
  28016. "type": "integer"
  28017. },
  28018. "goodscode": {
  28019. "description": "商品代码",
  28020. "type": "string"
  28021. },
  28022. "goodsid": {
  28023. "description": "商品ID",
  28024. "type": "integer"
  28025. },
  28026. "goodsname": {
  28027. "description": "商品名称",
  28028. "type": "string"
  28029. },
  28030. "lastreckonprice": {
  28031. "description": "上日结算价",
  28032. "type": "number"
  28033. },
  28034. "nextdnlimitprice": {
  28035. "description": "下个交易日跌停价",
  28036. "type": "number"
  28037. },
  28038. "nexttrade": {
  28039. "description": "下个交易日",
  28040. "type": "string"
  28041. },
  28042. "nextuplimitprice": {
  28043. "description": "下个交易日涨停价",
  28044. "type": "number"
  28045. },
  28046. "reckonprice": {
  28047. "description": "今日结算价(定投价)",
  28048. "type": "number"
  28049. },
  28050. "reckontime": {
  28051. "description": "结算时间",
  28052. "type": "string"
  28053. },
  28054. "totalholderqty": {
  28055. "description": "总持仓数",
  28056. "type": "integer"
  28057. },
  28058. "totalstock": {
  28059. "description": "总库存",
  28060. "type": "integer"
  28061. },
  28062. "tradedate": {
  28063. "description": "交易日",
  28064. "type": "string"
  28065. },
  28066. "updowncount": {
  28067. "description": "连续涨(跌)停天数 (涨跌停标志变为0时值归0,变成涨停或是跌停时值为1,连续涨停天数+1,连续跌停天数+1)",
  28068. "type": "integer"
  28069. },
  28070. "updownflag": {
  28071. "description": "连续涨跌停标志 - 0:无涨跌停 -1:跌停 1:涨停",
  28072. "type": "integer"
  28073. },
  28074. "updownrate": {
  28075. "description": "今日涨跌幅",
  28076. "type": "number"
  28077. },
  28078. "updownrate_2d": {
  28079. "description": "连续两日涨跌幅",
  28080. "type": "number"
  28081. },
  28082. "updownrate_3d": {
  28083. "description": "连续三日涨跌幅",
  28084. "type": "number"
  28085. }
  28086. }
  28087. },
  28088. "models.QhjScoreLog": {
  28089. "type": "object",
  28090. "properties": {
  28091. "accountid": {
  28092. "description": "账户ID",
  28093. "type": "integer"
  28094. },
  28095. "createtime": {
  28096. "description": "创建时间(时间)",
  28097. "type": "string"
  28098. },
  28099. "goodsid": {
  28100. "description": "商品ID",
  28101. "type": "integer"
  28102. },
  28103. "hasuploaded": {
  28104. "description": "是否已同步(千海金) 0:未同步 1;已同步",
  28105. "type": "integer"
  28106. },
  28107. "logid": {
  28108. "description": "流水ID(211+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  28109. "type": "string"
  28110. },
  28111. "marketid": {
  28112. "description": "市场ID",
  28113. "type": "integer"
  28114. },
  28115. "relatedamount": {
  28116. "description": "关联金额",
  28117. "type": "number"
  28118. },
  28119. "relatedorderid": {
  28120. "description": "关联单号(ScoreType=1为Trade_GoodsPickup)",
  28121. "type": "string"
  28122. },
  28123. "scoreconfigvalue1": {
  28124. "description": "积分配置1",
  28125. "type": "integer"
  28126. },
  28127. "scoreconfigvalue2": {
  28128. "description": "积分配置1",
  28129. "type": "integer"
  28130. },
  28131. "scoretype": {
  28132. "description": "积分类型 - 1:提货积分",
  28133. "type": "integer"
  28134. },
  28135. "scorevalue": {
  28136. "description": "积分",
  28137. "type": "number"
  28138. },
  28139. "tradedate": {
  28140. "description": "交易日(yyyyMMdd)",
  28141. "type": "string"
  28142. },
  28143. "uploadedtime": {
  28144. "description": "同步时间",
  28145. "type": "string"
  28146. },
  28147. "userid": {
  28148. "description": "用户ID",
  28149. "type": "integer"
  28150. }
  28151. }
  28152. },
  28153. "models.QhjSiteColumnDetail": {
  28154. "type": "object",
  28155. "properties": {
  28156. "author": {
  28157. "description": "作者",
  28158. "type": "string"
  28159. },
  28160. "brief": {
  28161. "description": "简介",
  28162. "type": "string"
  28163. },
  28164. "columnid": {
  28165. "description": "所属栏目",
  28166. "type": "integer"
  28167. },
  28168. "context": {
  28169. "description": "内容",
  28170. "type": "string"
  28171. },
  28172. "coverimage": {
  28173. "description": "封面图片",
  28174. "type": "string"
  28175. },
  28176. "creaedate": {
  28177. "description": "创建时间",
  28178. "type": "string"
  28179. },
  28180. "creatorid": {
  28181. "description": "创建人",
  28182. "type": "integer"
  28183. },
  28184. "hits": {
  28185. "description": "点击数",
  28186. "type": "integer"
  28187. },
  28188. "id": {
  28189. "description": "ID(SEQ_SITE_COLUMNDETAIL)",
  28190. "type": "integer"
  28191. },
  28192. "isshow": {
  28193. "description": "是否展示 - 0:不展示 1:展示",
  28194. "type": "integer"
  28195. },
  28196. "istop": {
  28197. "description": "是否置顶 - 0:不置 1:置顶",
  28198. "type": "integer"
  28199. },
  28200. "modifierid": {
  28201. "description": "操作人",
  28202. "type": "integer"
  28203. },
  28204. "publishdate": {
  28205. "description": "发布日期",
  28206. "type": "string"
  28207. },
  28208. "status": {
  28209. "description": "状态 - 1:暂存 10:待审核 20:审核通过 30:审核拒绝",
  28210. "type": "integer"
  28211. },
  28212. "title": {
  28213. "description": "标题",
  28214. "type": "string"
  28215. },
  28216. "updatedate": {
  28217. "description": "修改时间",
  28218. "type": "string"
  28219. },
  28220. "userid": {
  28221. "description": "用户ID(默认为0, 核心为为机构用户ID)",
  28222. "type": "integer"
  28223. },
  28224. "username": {
  28225. "description": "用户名称",
  28226. "type": "string"
  28227. }
  28228. }
  28229. },
  28230. "models.QhjTeamOrder": {
  28231. "type": "object",
  28232. "properties": {
  28233. "accountid": {
  28234. "description": "账户ID[报价币种]",
  28235. "type": "integer"
  28236. },
  28237. "accountname": {
  28238. "description": "账户名称",
  28239. "type": "string"
  28240. },
  28241. "agreeunit": {
  28242. "description": "合约乘数",
  28243. "type": "number"
  28244. },
  28245. "buyorsell": {
  28246. "description": "方向 - 0:买 1:卖",
  28247. "type": "integer"
  28248. },
  28249. "decimalplace": {
  28250. "description": "报价小数位",
  28251. "type": "integer"
  28252. },
  28253. "enumdicname": {
  28254. "description": "单位名称",
  28255. "type": "string"
  28256. },
  28257. "goodscode": {
  28258. "description": "商品代码(内部)",
  28259. "type": "string"
  28260. },
  28261. "goodsid": {
  28262. "description": "商品ID",
  28263. "type": "integer"
  28264. },
  28265. "goodsname": {
  28266. "description": "商品名称",
  28267. "type": "string"
  28268. },
  28269. "goodunitid": {
  28270. "description": "报价单位ID",
  28271. "type": "integer"
  28272. },
  28273. "marketid": {
  28274. "description": "市场ID",
  28275. "type": "integer"
  28276. },
  28277. "marketname": {
  28278. "description": "市场名称",
  28279. "type": "string"
  28280. },
  28281. "qtydecimalplace": {
  28282. "description": "成交量小数位",
  28283. "type": "integer"
  28284. },
  28285. "refereeuserid": {
  28286. "description": "推荐人ID",
  28287. "type": "integer"
  28288. },
  28289. "tradeamount": {
  28290. "description": "成交金额[账户币种,用于所有权]",
  28291. "type": "number"
  28292. },
  28293. "tradedate": {
  28294. "description": "交易日(yyyyMMdd)",
  28295. "type": "string"
  28296. },
  28297. "trademode": {
  28298. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  28299. "type": "integer"
  28300. },
  28301. "tradeprice": {
  28302. "description": "成交价格",
  28303. "type": "number"
  28304. },
  28305. "tradeqty": {
  28306. "description": "成交数量",
  28307. "type": "number"
  28308. },
  28309. "tradetime": {
  28310. "description": "成交时间",
  28311. "type": "string"
  28312. },
  28313. "userid": {
  28314. "description": "用户ID",
  28315. "type": "integer"
  28316. }
  28317. }
  28318. },
  28319. "models.QhjTradeGoodsPickup": {
  28320. "type": "object",
  28321. "properties": {
  28322. "accountid": {
  28323. "description": "账户ID",
  28324. "type": "integer"
  28325. },
  28326. "address": {
  28327. "description": "提货人详细地址",
  28328. "type": "string"
  28329. },
  28330. "amount": {
  28331. "description": "提货金额",
  28332. "type": "number"
  28333. },
  28334. "artradedate": {
  28335. "description": "自动收货交易日(yyyyMMdd)",
  28336. "type": "string"
  28337. },
  28338. "auditer": {
  28339. "description": "审核人",
  28340. "type": "integer"
  28341. },
  28342. "auditsrc": {
  28343. "description": "更新来源 - 1:管理端 2:终端",
  28344. "type": "integer"
  28345. },
  28346. "audittime": {
  28347. "description": "审核时间(发货时间 | 备货完成时间 都是这个字段)",
  28348. "type": "string"
  28349. },
  28350. "audittradedate": {
  28351. "description": "审核交易日(yyyyMMdd)",
  28352. "type": "string"
  28353. },
  28354. "cardnum": {
  28355. "description": "提货人证件号码",
  28356. "type": "string"
  28357. },
  28358. "cardtypeid": {
  28359. "description": "提货人证件类型",
  28360. "type": "integer"
  28361. },
  28362. "checkremark": {
  28363. "description": "审核备注",
  28364. "type": "string"
  28365. },
  28366. "cityid": {
  28367. "description": "市",
  28368. "type": "integer"
  28369. },
  28370. "cityname": {
  28371. "description": "城市名称",
  28372. "type": "string"
  28373. },
  28374. "confirmtime": {
  28375. "description": "取货时间 或 收货时间",
  28376. "type": "string"
  28377. },
  28378. "countryid": {
  28379. "description": "国家",
  28380. "type": "integer"
  28381. },
  28382. "countryname": {
  28383. "description": "国家名称",
  28384. "type": "string"
  28385. },
  28386. "decimalplace": {
  28387. "description": "商品报价小数位",
  28388. "type": "integer"
  28389. },
  28390. "districtid": {
  28391. "description": "地区",
  28392. "type": "integer"
  28393. },
  28394. "districtname": {
  28395. "description": "地区名称",
  28396. "type": "string"
  28397. },
  28398. "enumdicname": {
  28399. "description": "单位名称(提货商品)",
  28400. "type": "string"
  28401. },
  28402. "expresscompany": {
  28403. "description": "物流公司",
  28404. "type": "string"
  28405. },
  28406. "expressnum": {
  28407. "description": "物流单号",
  28408. "type": "string"
  28409. },
  28410. "goodsagreeunit": {
  28411. "description": "交易商品乘数",
  28412. "type": "number"
  28413. },
  28414. "goodscode": {
  28415. "description": "商品代码",
  28416. "type": "string"
  28417. },
  28418. "goodsid": {
  28419. "description": "商品ID",
  28420. "type": "integer"
  28421. },
  28422. "goodsname": {
  28423. "description": "商品名称",
  28424. "type": "string"
  28425. },
  28426. "goodsqty": {
  28427. "description": "交易商品手数(69模式按成交量小数位放大取整)",
  28428. "type": "number"
  28429. },
  28430. "handlestatus": {
  28431. "description": "处理状态",
  28432. "type": "integer"
  28433. },
  28434. "logincode": {
  28435. "description": "账号(登录代码, 有可能为空)",
  28436. "type": "string"
  28437. },
  28438. "marketid": {
  28439. "description": "市场ID",
  28440. "type": "integer"
  28441. },
  28442. "phonenum": {
  28443. "description": "提货人联系方式",
  28444. "type": "string"
  28445. },
  28446. "pickupgoodsagreeunit": {
  28447. "description": "提货商品合约乘数",
  28448. "type": "number"
  28449. },
  28450. "pickupgoodsid": {
  28451. "description": "提货商品ID",
  28452. "type": "string"
  28453. },
  28454. "pickupgoodsname": {
  28455. "description": "提货商品名称",
  28456. "type": "string"
  28457. },
  28458. "pickupgoodsqty": {
  28459. "description": "提货商品手数(数量)",
  28460. "type": "number"
  28461. },
  28462. "pickupgoodsunitid": {
  28463. "description": "单位ID(提货商品)",
  28464. "type": "integer"
  28465. },
  28466. "pickupratio": {
  28467. "description": "提货系数",
  28468. "type": "number"
  28469. },
  28470. "preparedays": {
  28471. "description": "备货期(天)-提货单明细表",
  28472. "type": "integer"
  28473. },
  28474. "provinceid": {
  28475. "description": "省",
  28476. "type": "integer"
  28477. },
  28478. "provincename": {
  28479. "description": "省名称",
  28480. "type": "string"
  28481. },
  28482. "qty": {
  28483. "description": "交易商品总手数(交易商品 - 69模式按成交量放大) - 明细表的交易商品手数汇总",
  28484. "type": "number"
  28485. },
  28486. "qtydecimalplace": {
  28487. "description": "商品数量小数位",
  28488. "type": "integer"
  28489. },
  28490. "recivername": {
  28491. "description": "提货人姓名",
  28492. "type": "string"
  28493. },
  28494. "reqtime": {
  28495. "description": "提货申请时间",
  28496. "type": "string"
  28497. },
  28498. "storeuserid": {
  28499. "description": "门店用户ID (千海金)",
  28500. "type": "integer"
  28501. },
  28502. "storeusername": {
  28503. "description": "门店用户名称",
  28504. "type": "string"
  28505. },
  28506. "takemode": {
  28507. "description": "提货方式 - 2:自提 3:配送(邮寄)",
  28508. "type": "integer"
  28509. },
  28510. "takeorderid": {
  28511. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  28512. "type": "string"
  28513. },
  28514. "takeorderstatus": {
  28515. "description": "提货状态 - 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄) 7:已拒绝 8:已撤销",
  28516. "type": "integer"
  28517. },
  28518. "takeremark": {
  28519. "description": "提货备注",
  28520. "type": "string"
  28521. },
  28522. "tradedate": {
  28523. "description": "交易日(yyyyMMdd)",
  28524. "type": "string"
  28525. },
  28526. "updatetime": {
  28527. "description": "更新时间",
  28528. "type": "string"
  28529. },
  28530. "userid": {
  28531. "description": "用户ID",
  28532. "type": "integer"
  28533. },
  28534. "userinfotype": {
  28535. "description": "客户类型 1-个人 2-企业",
  28536. "type": "integer"
  28537. },
  28538. "username": {
  28539. "description": "用户名称",
  28540. "type": "string"
  28541. }
  28542. }
  28543. },
  28544. "models.QhjUserNodeCfgAndStatus": {
  28545. "type": "object",
  28546. "properties": {
  28547. "agreementcontent": {
  28548. "description": "协议内容",
  28549. "type": "string"
  28550. },
  28551. "agreementid": {
  28552. "description": "协议ID",
  28553. "type": "integer"
  28554. },
  28555. "agreementname": {
  28556. "description": "协议名称",
  28557. "type": "string"
  28558. },
  28559. "agreementno": {
  28560. "description": "协议编号",
  28561. "type": "string"
  28562. },
  28563. "agreementtype": {
  28564. "description": "协议类型 - 1:注册 2:登录 3:交易",
  28565. "type": "integer"
  28566. },
  28567. "agreementversion": {
  28568. "description": "协议版本号",
  28569. "type": "integer"
  28570. },
  28571. "configid": {
  28572. "description": "配置(SEQ_QHJ_NODEAGREEMENTCONFIG)",
  28573. "type": "integer"
  28574. },
  28575. "createtime": {
  28576. "description": "创建时间",
  28577. "type": "string"
  28578. },
  28579. "goodsid": {
  28580. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  28581. "type": "integer"
  28582. },
  28583. "nodetype": {
  28584. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  28585. "type": "integer"
  28586. },
  28587. "signtimestamp": {
  28588. "description": "签约状态时间戳(最近一次)",
  28589. "type": "string"
  28590. },
  28591. "tradedate": {
  28592. "description": "签约交易日(yyyyMMdd)",
  28593. "type": "string"
  28594. },
  28595. "userid": {
  28596. "description": "客户ID",
  28597. "type": "integer"
  28598. }
  28599. }
  28600. },
  28601. "models.Qhjgoodsex": {
  28602. "type": "object",
  28603. "properties": {
  28604. "canfinance": {
  28605. "description": "是否支持融资 - 0:不支持 1:支持【69:铂金宝】",
  28606. "type": "integer"
  28607. },
  28608. "canregularlybuy": {
  28609. "description": "是否支持定投 - 0:不支持 1:支持【69:铂金宝】",
  28610. "type": "integer"
  28611. },
  28612. "defaulttradeuserid": {
  28613. "description": "默认交易用户ID",
  28614. "type": "integer"
  28615. },
  28616. "deliverygoodsid": {
  28617. "description": "现货品种ID",
  28618. "type": "integer"
  28619. },
  28620. "goodsid": {
  28621. "description": "商品ID(自增ID SEQ_GOODS)",
  28622. "type": "integer"
  28623. },
  28624. "minamount": {
  28625. "description": "最小购买金额",
  28626. "type": "number"
  28627. },
  28628. "regularlybuyminamount": {
  28629. "description": "定投最小金额",
  28630. "type": "number"
  28631. },
  28632. "regularlybuyminqty": {
  28633. "description": "定投最小数量",
  28634. "type": "number"
  28635. },
  28636. "spotgoodsbrandid": {
  28637. "description": "现货品牌ID - 存“DGFactoryItem”表\"DGFactoryItemID\"",
  28638. "type": "integer"
  28639. },
  28640. "visibilityforenterprise": {
  28641. "description": "企业客户是否可见 - 0:不可见 1:可见",
  28642. "type": "integer"
  28643. },
  28644. "visibilityforpersonal": {
  28645. "description": "个人客户是否可见 - 0:不可见 1:可见",
  28646. "type": "integer"
  28647. },
  28648. "wrstandardid": {
  28649. "description": "现货商品ID",
  28650. "type": "integer"
  28651. }
  28652. }
  28653. },
  28654. "models.QueryErrorInfosRsp": {
  28655. "type": "object",
  28656. "required": [
  28657. "errorid"
  28658. ],
  28659. "properties": {
  28660. "description": {
  28661. "description": "异常描述",
  28662. "type": "string"
  28663. },
  28664. "errorcode": {
  28665. "description": "异常代码",
  28666. "type": "string"
  28667. },
  28668. "errorid": {
  28669. "description": "异常ID",
  28670. "type": "integer"
  28671. },
  28672. "modulecode": {
  28673. "description": "所属模块",
  28674. "type": "string"
  28675. },
  28676. "operatecode": {
  28677. "description": "所属操作",
  28678. "type": "string"
  28679. },
  28680. "rownumber": {
  28681. "description": "行号",
  28682. "type": "string"
  28683. }
  28684. }
  28685. },
  28686. "models.QueryHedgeOrderDetailRsp": {
  28687. "type": "object",
  28688. "properties": {
  28689. "accountid": {
  28690. "description": "账户ID",
  28691. "type": "integer"
  28692. },
  28693. "buyorsell": {
  28694. "description": "买卖 - 0:买 1:卖",
  28695. "type": "integer"
  28696. },
  28697. "cancellogincode": {
  28698. "description": "撤单人",
  28699. "type": "string"
  28700. },
  28701. "channelbuildtype": {
  28702. "description": "开平标志 - 0:无 1:建仓 2:平仓",
  28703. "type": "integer"
  28704. },
  28705. "channelinnerorderstatus": {
  28706. "description": "委托状态 - 1:委托请求 2:冻结成功 3:委托失败 4:委托部成部失败 5:委托成功 6:全部撤销 7:部成部撤 8:部成部撤部失败 9:全部成交",
  28707. "type": "integer"
  28708. },
  28709. "channeloperatetype": {
  28710. "description": "操作类型 - 1:正常委托 2:斩仓委托 3:强平委托",
  28711. "type": "integer"
  28712. },
  28713. "closetype": {
  28714. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  28715. "type": "integer"
  28716. },
  28717. "curexchangerate": {
  28718. "description": "当前汇率",
  28719. "type": "number"
  28720. },
  28721. "exchangefullname": {
  28722. "description": "外部交易所全称",
  28723. "type": "string"
  28724. },
  28725. "goodscode": {
  28726. "description": "商品代码(内部)",
  28727. "type": "string"
  28728. },
  28729. "goodsid": {
  28730. "description": "商品ID",
  28731. "type": "integer"
  28732. },
  28733. "goodsname": {
  28734. "description": "商品名称",
  28735. "type": "string"
  28736. },
  28737. "marketid": {
  28738. "description": "市场ID",
  28739. "type": "integer"
  28740. },
  28741. "openfreezemargin": {
  28742. "description": "冻结保证金(冻结交易金额)",
  28743. "type": "number"
  28744. },
  28745. "orderid": {
  28746. "description": "委托单号(107+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  28747. "type": "string"
  28748. },
  28749. "orderlogincode": {
  28750. "description": "委托人",
  28751. "type": "string"
  28752. },
  28753. "orderprice": {
  28754. "description": "委托价格(账户)",
  28755. "type": "number"
  28756. },
  28757. "orderqty": {
  28758. "description": "委托数量",
  28759. "type": "integer"
  28760. },
  28761. "ordertime": {
  28762. "description": "委托时间",
  28763. "type": "string"
  28764. },
  28765. "pricemode": {
  28766. "description": "取价方式 - 1:市价 2: 限价",
  28767. "type": "integer"
  28768. },
  28769. "tradedate": {
  28770. "description": "交易日(yyyyMMdd)",
  28771. "type": "string"
  28772. },
  28773. "tradeqty": {
  28774. "description": "成交数量",
  28775. "type": "integer"
  28776. }
  28777. }
  28778. },
  28779. "models.QueryHedgeTradeDetailRsp": {
  28780. "type": "object",
  28781. "properties": {
  28782. "accountid": {
  28783. "description": "账号ID",
  28784. "type": "integer"
  28785. },
  28786. "buyorsell": {
  28787. "description": "方向 - 0:买 1:卖",
  28788. "type": "integer"
  28789. },
  28790. "channelbuildtype": {
  28791. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  28792. "type": "integer"
  28793. },
  28794. "closecharge": {
  28795. "description": "平仓手续费(账户)",
  28796. "type": "number"
  28797. },
  28798. "closecharge2": {
  28799. "description": "平仓手续费(商品)",
  28800. "type": "number"
  28801. },
  28802. "closepl": {
  28803. "description": "平仓盈亏(账户)",
  28804. "type": "number"
  28805. },
  28806. "closepl2": {
  28807. "description": "平仓盈亏(商品)",
  28808. "type": "number"
  28809. },
  28810. "closepl3": {
  28811. "description": "平仓盈亏(账户)(逐笔)",
  28812. "type": "number"
  28813. },
  28814. "closepl4": {
  28815. "description": "平仓盈亏(商品)(逐笔)",
  28816. "type": "number"
  28817. },
  28818. "closetype": {
  28819. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  28820. "type": "integer"
  28821. },
  28822. "curexchangerate": {
  28823. "description": "当前汇率",
  28824. "type": "number"
  28825. },
  28826. "exchangefullname": {
  28827. "description": "外部交易所全称",
  28828. "type": "string"
  28829. },
  28830. "goodscode": {
  28831. "description": "商品代码(内部)",
  28832. "type": "string"
  28833. },
  28834. "goodsid": {
  28835. "description": "商品ID",
  28836. "type": "integer"
  28837. },
  28838. "goodsname": {
  28839. "description": "商品名称",
  28840. "type": "string"
  28841. },
  28842. "marketid": {
  28843. "description": "市场ID",
  28844. "type": "integer"
  28845. },
  28846. "opencharge": {
  28847. "description": "建仓手续费(账户)",
  28848. "type": "number"
  28849. },
  28850. "opencharge2": {
  28851. "description": "建仓手续费(商品)",
  28852. "type": "number"
  28853. },
  28854. "orderid": {
  28855. "description": "委托单号",
  28856. "type": "string"
  28857. },
  28858. "orderlogincode": {
  28859. "description": "委托人",
  28860. "type": "string"
  28861. },
  28862. "tradeamount": {
  28863. "description": "成交金额(账户)",
  28864. "type": "number"
  28865. },
  28866. "tradedate": {
  28867. "description": "交易日(yyyyMMdd)",
  28868. "type": "string"
  28869. },
  28870. "tradeid": {
  28871. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  28872. "type": "string"
  28873. },
  28874. "tradeprice": {
  28875. "description": "成交价格",
  28876. "type": "number"
  28877. },
  28878. "tradeqty": {
  28879. "description": "成交数量",
  28880. "type": "integer"
  28881. },
  28882. "tradetime": {
  28883. "description": "成交时间",
  28884. "type": "string"
  28885. },
  28886. "tradetype": {
  28887. "description": "成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交",
  28888. "type": "integer"
  28889. }
  28890. }
  28891. },
  28892. "models.QuotePrimaryMenu": {
  28893. "type": "object",
  28894. "properties": {
  28895. "Index": {
  28896. "description": "序号",
  28897. "type": "integer"
  28898. },
  28899. "Key": {
  28900. "description": "键名",
  28901. "type": "string"
  28902. },
  28903. "Name": {
  28904. "description": "菜单名称",
  28905. "type": "string"
  28906. },
  28907. "SubMenus": {
  28908. "description": "子菜单",
  28909. "type": "array",
  28910. "items": {
  28911. "$ref": "#/definitions/models.QuoteSecondaryMenu"
  28912. }
  28913. },
  28914. "SubTitleType": {
  28915. "description": "子菜单标题模式:0-市场名称;1-外部交易所名称",
  28916. "type": "integer"
  28917. },
  28918. "TradeModes": {
  28919. "description": "包含市场交易类型",
  28920. "type": "string"
  28921. }
  28922. }
  28923. },
  28924. "models.QuoteSecondaryMenu": {
  28925. "type": "object",
  28926. "properties": {
  28927. "ExExchangeCode": {
  28928. "description": "外部交易所代码",
  28929. "type": "string"
  28930. },
  28931. "ExExchangeID": {
  28932. "description": "外部交易所ID",
  28933. "type": "integer"
  28934. },
  28935. "GoodsGroupIDs": {
  28936. "description": "商品组ID列表",
  28937. "type": "array",
  28938. "items": {
  28939. "type": "integer"
  28940. }
  28941. },
  28942. "Index": {
  28943. "description": "序号",
  28944. "type": "integer"
  28945. },
  28946. "MarketID": {
  28947. "description": "市场ID",
  28948. "type": "integer"
  28949. },
  28950. "MenuTitle": {
  28951. "description": "菜单标题(市场名称或外部交易所名称)",
  28952. "type": "string"
  28953. },
  28954. "TradeMode": {
  28955. "description": "交易模式",
  28956. "type": "integer"
  28957. }
  28958. }
  28959. },
  28960. "models.RoleMenu": {
  28961. "type": "object",
  28962. "properties": {
  28963. "hasright": {
  28964. "description": "是否有权限 0-没有权限 1-有权限",
  28965. "type": "integer"
  28966. },
  28967. "iconame": {
  28968. "description": "菜单图标",
  28969. "type": "string"
  28970. },
  28971. "menutype": {
  28972. "description": "菜单类型 1:管理端 2:交易端 3:终端(企业云平台)",
  28973. "type": "integer"
  28974. },
  28975. "parentcode": {
  28976. "description": "上级资源代码",
  28977. "type": "string"
  28978. },
  28979. "remark": {
  28980. "description": "菜单备注",
  28981. "type": "string"
  28982. },
  28983. "resourcecode": {
  28984. "description": "菜单代码",
  28985. "type": "string"
  28986. },
  28987. "resourcelevel": {
  28988. "description": "级别",
  28989. "type": "integer"
  28990. },
  28991. "resourcename": {
  28992. "description": "菜单名称",
  28993. "type": "string"
  28994. },
  28995. "roleid": {
  28996. "description": "角色id",
  28997. "type": "integer"
  28998. },
  28999. "sort": {
  29000. "description": "排序",
  29001. "type": "integer"
  29002. },
  29003. "subMenu": {
  29004. "description": "子级菜单(结构同上层一样, swag解析不出来)",
  29005. "type": "array",
  29006. "items": {
  29007. "$ref": "#/definitions/models.RoleMenu"
  29008. }
  29009. },
  29010. "url": {
  29011. "description": "URL",
  29012. "type": "string"
  29013. },
  29014. "userid": {
  29015. "description": "用户id",
  29016. "type": "integer"
  29017. }
  29018. }
  29019. },
  29020. "models.SearchGoods": {
  29021. "type": "object",
  29022. "required": [
  29023. "goodscode",
  29024. "goodsid",
  29025. "goodsname",
  29026. "marketid",
  29027. "trademode"
  29028. ],
  29029. "properties": {
  29030. "goodscode": {
  29031. "description": "商品代码(内部)",
  29032. "type": "string"
  29033. },
  29034. "goodsid": {
  29035. "description": "商品ID(自增ID SEQ_GOODS)",
  29036. "type": "integer"
  29037. },
  29038. "goodsname": {
  29039. "description": "商品名称",
  29040. "type": "string"
  29041. },
  29042. "marketid": {
  29043. "description": "所属市场ID",
  29044. "type": "integer"
  29045. },
  29046. "marketname": {
  29047. "description": "市场名称",
  29048. "type": "string"
  29049. },
  29050. "trademode": {
  29051. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  29052. "type": "integer"
  29053. }
  29054. }
  29055. },
  29056. "models.Systemparam": {
  29057. "type": "object",
  29058. "required": [
  29059. "paramcode"
  29060. ],
  29061. "properties": {
  29062. "loginid": {
  29063. "description": "更新用户账号,登录账号",
  29064. "type": "string"
  29065. },
  29066. "modifyflag": {
  29067. "description": "修改标志0 不允许修改 1 允许修改",
  29068. "type": "integer"
  29069. },
  29070. "paramcode": {
  29071. "description": "参数代码",
  29072. "type": "string"
  29073. },
  29074. "paramname": {
  29075. "description": "参数名",
  29076. "type": "string"
  29077. },
  29078. "paramtype": {
  29079. "description": "参数类型 0-通用 1-管理端 2-终端 3-后台 4-商城",
  29080. "type": "integer"
  29081. },
  29082. "paramvalue": {
  29083. "description": "参数值",
  29084. "type": "string"
  29085. },
  29086. "paramvalue2": {
  29087. "description": "参数值(CLOB)",
  29088. "type": "string"
  29089. },
  29090. "regexpress": {
  29091. "description": "正则表达式",
  29092. "type": "string"
  29093. },
  29094. "remark": {
  29095. "description": "备注",
  29096. "type": "string"
  29097. },
  29098. "serverip": {
  29099. "description": "限制服务器IP,备份参数,现在界面不用显示0.0.0.0则无限制,是通用参数192.168.0.211 指定服务器的参数配置",
  29100. "type": "string"
  29101. },
  29102. "showflag": {
  29103. "description": "是否显示0 不显示 1 显示",
  29104. "type": "integer"
  29105. },
  29106. "updatetime": {
  29107. "description": "更新时间",
  29108. "type": "string"
  29109. },
  29110. "userid": {
  29111. "description": "更新用户ID",
  29112. "type": "integer"
  29113. }
  29114. }
  29115. },
  29116. "models.Szdz3convertconfig": {
  29117. "type": "object",
  29118. "required": [
  29119. "converttype",
  29120. "innergoodsid",
  29121. "outergoodscode"
  29122. ],
  29123. "properties": {
  29124. "canin": {
  29125. "description": "是否可转入 - 0:不可 1:可 [5:花生米转交易]",
  29126. "type": "integer"
  29127. },
  29128. "canout": {
  29129. "description": "是否可转出 - 0:不可 1:可 [5:花生米转交易]",
  29130. "type": "integer"
  29131. },
  29132. "converttype": {
  29133. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)",
  29134. "type": "integer"
  29135. },
  29136. "createtime": {
  29137. "description": "创建时间",
  29138. "type": "string"
  29139. },
  29140. "creatorid": {
  29141. "description": "创建人",
  29142. "type": "integer"
  29143. },
  29144. "daymaxvalue": {
  29145. "description": "当日最大转入限制",
  29146. "type": "number"
  29147. },
  29148. "freezedays": {
  29149. "description": "冻结天数 [5:花生米转交易]",
  29150. "type": "integer"
  29151. },
  29152. "innergoodsid": {
  29153. "description": "内部商品ID[交易]",
  29154. "type": "integer"
  29155. },
  29156. "inratio": {
  29157. "description": "目标值",
  29158. "type": "integer"
  29159. },
  29160. "modifierid": {
  29161. "description": "修改人",
  29162. "type": "integer"
  29163. },
  29164. "modifytime": {
  29165. "description": "修改时间",
  29166. "type": "string"
  29167. },
  29168. "outergoodscode": {
  29169. "description": "外部商品代码[JD\\PD]",
  29170. "type": "string"
  29171. },
  29172. "outratio": {
  29173. "description": "源值",
  29174. "type": "integer"
  29175. },
  29176. "pddecimalplace": {
  29177. "description": "PD小数位",
  29178. "type": "integer"
  29179. },
  29180. "timemaxvalue": {
  29181. "description": "单次最大转入限制",
  29182. "type": "number"
  29183. },
  29184. "timeminvalue": {
  29185. "description": "单次最小转入限制",
  29186. "type": "number"
  29187. }
  29188. }
  29189. },
  29190. "models.Szdz3searchwhitelist": {
  29191. "type": "object",
  29192. "required": [
  29193. "userid"
  29194. ],
  29195. "properties": {
  29196. "createtime": {
  29197. "description": "创建时间",
  29198. "type": "string"
  29199. },
  29200. "creatorid": {
  29201. "description": "创建人",
  29202. "type": "integer"
  29203. },
  29204. "modifierid": {
  29205. "description": "修改人",
  29206. "type": "integer"
  29207. },
  29208. "modifytime": {
  29209. "description": "修改时间",
  29210. "type": "string"
  29211. },
  29212. "userid": {
  29213. "description": "用户ID",
  29214. "type": "integer"
  29215. }
  29216. }
  29217. },
  29218. "models.Taaccount": {
  29219. "type": "object",
  29220. "required": [
  29221. "accountid",
  29222. "userid"
  29223. ],
  29224. "properties": {
  29225. "accountflag": {
  29226. "description": "账户标识 - 0\\1 (默认为0, 当上级账户与本账户的关联用户均为自己时更新为1)",
  29227. "type": "integer"
  29228. },
  29229. "accountid": {
  29230. "description": "资金账户ID",
  29231. "type": "integer"
  29232. },
  29233. "accountname": {
  29234. "description": "账户名称",
  29235. "type": "string"
  29236. },
  29237. "balance": {
  29238. "description": "期初余额",
  29239. "type": "number"
  29240. },
  29241. "capitalbalance": {
  29242. "description": "本金余额[外部子账户实际出入金余额]",
  29243. "type": "number"
  29244. },
  29245. "changeflag": {
  29246. "description": "变动标志(当前账户资金有任何变动更新为1系统结算时更新0;供清算时使用) 0:无变动 1:有变动",
  29247. "type": "integer"
  29248. },
  29249. "changetime": {
  29250. "description": "账户状态变更时间",
  29251. "type": "string"
  29252. },
  29253. "closepl": {
  29254. "description": "今日平仓盈亏",
  29255. "type": "number"
  29256. },
  29257. "creditdecrease": {
  29258. "description": "今日授信减少",
  29259. "type": "number"
  29260. },
  29261. "creditincrease": {
  29262. "description": "今日授信增加",
  29263. "type": "number"
  29264. },
  29265. "curamount": {
  29266. "description": "总市值(从持仓中统计)",
  29267. "type": "number"
  29268. },
  29269. "currencyid": {
  29270. "description": "货币ID",
  29271. "type": "integer"
  29272. },
  29273. "currentbalance": {
  29274. "description": "期末余额",
  29275. "type": "number"
  29276. },
  29277. "freezecharge": {
  29278. "description": "手续费冻结",
  29279. "type": "number"
  29280. },
  29281. "freezemargin": {
  29282. "description": "冻结保证金",
  29283. "type": "number"
  29284. },
  29285. "fromaccountid": {
  29286. "description": "所属上级账户",
  29287. "type": "integer"
  29288. },
  29289. "inamount": {
  29290. "description": "今日入金金额(包括三方入金)",
  29291. "type": "number"
  29292. },
  29293. "ismain": {
  29294. "description": "是否母账号 0:不是母账户 1:是母账户",
  29295. "type": "integer"
  29296. },
  29297. "ismarketaccount": {
  29298. "description": "是否机构接单账号 0:不是 1:是",
  29299. "type": "integer"
  29300. },
  29301. "isreckonaccount": {
  29302. "description": "是否机构分润账号 0:不是 1:是",
  29303. "type": "integer"
  29304. },
  29305. "mortgagecredit": {
  29306. "description": "授信金额",
  29307. "type": "number"
  29308. },
  29309. "orifreezecharge": {
  29310. "description": "期初手续费冻结",
  29311. "type": "number"
  29312. },
  29313. "orifreezemargin": {
  29314. "description": "期初冻结保证金",
  29315. "type": "number"
  29316. },
  29317. "orimortgagecredit": {
  29318. "description": "期初授信金额",
  29319. "type": "number"
  29320. },
  29321. "oriothercredit": {
  29322. "description": "期初其它授信金额",
  29323. "type": "number"
  29324. },
  29325. "oriotherfreezemargin": {
  29326. "description": "期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)",
  29327. "type": "number"
  29328. },
  29329. "orioutamountfreeze": {
  29330. "description": "期初出金冻结",
  29331. "type": "number"
  29332. },
  29333. "oriusedmargin": {
  29334. "description": "期初占用保证金",
  29335. "type": "number"
  29336. },
  29337. "othercredit": {
  29338. "description": "其它授信金额",
  29339. "type": "number"
  29340. },
  29341. "othercreditdecrease": {
  29342. "description": "今日其它授信减少",
  29343. "type": "number"
  29344. },
  29345. "othercreditincrease": {
  29346. "description": "今日其它授信增加",
  29347. "type": "number"
  29348. },
  29349. "otherfreezemargin": {
  29350. "description": "其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)",
  29351. "type": "number"
  29352. },
  29353. "otherincome": {
  29354. "description": "其他收入(交割收款 申购收款 全款卖出 商城卖出 买家退货 会员手续费收入)",
  29355. "type": "number"
  29356. },
  29357. "otherpay": {
  29358. "description": "其他支出(交割付款 申购付款 全款买入 商城买入 卖家退货)",
  29359. "type": "number"
  29360. },
  29361. "outamount": {
  29362. "description": "今日出金金额(包括三方出金)",
  29363. "type": "number"
  29364. },
  29365. "outamountfreeze": {
  29366. "description": "出金冻结",
  29367. "type": "number"
  29368. },
  29369. "outthreshold": {
  29370. "description": "出金阈值",
  29371. "type": "number"
  29372. },
  29373. "parentaccountid": {
  29374. "description": "所属根账号",
  29375. "type": "integer"
  29376. },
  29377. "paycharge": {
  29378. "description": "今日手续费支出",
  29379. "type": "number"
  29380. },
  29381. "relatedaccountstatus": {
  29382. "description": "关联用户交易权限状态 - 1:正常(可交易) 2:受限(可平仓,不可建仓) 3:冻结(不可交易)",
  29383. "type": "integer"
  29384. },
  29385. "relateduserid": {
  29386. "description": "关联用户",
  29387. "type": "integer"
  29388. },
  29389. "remainamount": {
  29390. "description": "融资额(从融资合同中统计)",
  29391. "type": "number"
  29392. },
  29393. "serivcegroup": {
  29394. "description": "服务分组",
  29395. "type": "integer"
  29396. },
  29397. "signstatus": {
  29398. "description": "签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中",
  29399. "type": "integer"
  29400. },
  29401. "sublevelpath": {
  29402. "description": "账号层级路径(逗号分隔,首尾加逗号)",
  29403. "type": "string"
  29404. },
  29405. "taaccounttype": {
  29406. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  29407. "type": "integer"
  29408. },
  29409. "thirdinamount": {
  29410. "description": "今日三方入金",
  29411. "type": "number"
  29412. },
  29413. "thirdoutamount": {
  29414. "description": "今日三方出金",
  29415. "type": "number"
  29416. },
  29417. "tradestatus": {
  29418. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  29419. "type": "integer"
  29420. },
  29421. "tradestatuschangetime": {
  29422. "description": "激活时间",
  29423. "type": "string"
  29424. },
  29425. "transferamount": {
  29426. "description": "今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)",
  29427. "type": "number"
  29428. },
  29429. "usedmargin": {
  29430. "description": "占用保证金",
  29431. "type": "number"
  29432. },
  29433. "userid": {
  29434. "description": "用户ID",
  29435. "type": "integer"
  29436. }
  29437. }
  29438. },
  29439. "models.Tablecolumnconfig": {
  29440. "type": "object",
  29441. "required": [
  29442. "autoid"
  29443. ],
  29444. "properties": {
  29445. "aligntype": {
  29446. "description": "对齐方式 - 1:居中对齐 2:左对齐 3:右对齐",
  29447. "type": "integer"
  29448. },
  29449. "autoid": {
  29450. "description": "AutoID",
  29451. "type": "integer"
  29452. },
  29453. "columnfield": {
  29454. "description": "列字段",
  29455. "type": "string"
  29456. },
  29457. "columntitle": {
  29458. "description": "列Title",
  29459. "type": "string"
  29460. },
  29461. "columnwidth": {
  29462. "description": "列宽",
  29463. "type": "string"
  29464. },
  29465. "formatterstring": {
  29466. "description": "格式化字符",
  29467. "type": "string"
  29468. },
  29469. "formattertype": {
  29470. "description": "格式化类型",
  29471. "type": "string"
  29472. },
  29473. "groupname": {
  29474. "description": "表头分组名称",
  29475. "type": "string"
  29476. },
  29477. "isshow": {
  29478. "description": "是否显示 - 0:不显示 1:显示",
  29479. "type": "integer"
  29480. },
  29481. "needsummary": {
  29482. "description": "是否需要汇总 - 0:不需要 1:需要",
  29483. "type": "integer"
  29484. },
  29485. "orderindex": {
  29486. "description": "顺序",
  29487. "type": "integer"
  29488. },
  29489. "remark": {
  29490. "description": "备注",
  29491. "type": "string"
  29492. },
  29493. "summarytype": {
  29494. "description": "汇总类型 - 1:加总 2:最后一个",
  29495. "type": "integer"
  29496. },
  29497. "tablekey": {
  29498. "description": "列表Key",
  29499. "type": "string"
  29500. }
  29501. }
  29502. },
  29503. "models.UserCollectConfig": {
  29504. "type": "object",
  29505. "properties": {
  29506. "accountstatus": {
  29507. "description": "账户状态 - 1:正常 2:停用 3:注销",
  29508. "type": "integer"
  29509. },
  29510. "collectaccountname": {
  29511. "description": "收款人账户名称",
  29512. "type": "string"
  29513. },
  29514. "collectaccountno": {
  29515. "description": "收款人账户",
  29516. "type": "string"
  29517. },
  29518. "collectbankname": {
  29519. "description": "收款人开户行",
  29520. "type": "string"
  29521. },
  29522. "collectbranchbankname": {
  29523. "description": "收款人开户支行",
  29524. "type": "string"
  29525. },
  29526. "collectconfigid": {
  29527. "description": "收款账户配置ID(SEQ_USERCOLLECTCONFIG)",
  29528. "type": "string"
  29529. },
  29530. "remark": {
  29531. "description": "备注",
  29532. "type": "string"
  29533. },
  29534. "userid": {
  29535. "description": "收款人用户ID",
  29536. "type": "integer"
  29537. }
  29538. }
  29539. },
  29540. "models.UserReceiveInfo": {
  29541. "type": "object",
  29542. "properties": {
  29543. "address": {
  29544. "description": "提货人详细地址",
  29545. "type": "string"
  29546. },
  29547. "autoid": {
  29548. "description": "AutoID",
  29549. "type": "integer"
  29550. },
  29551. "cardnum": {
  29552. "description": "证件号码(加密存储)",
  29553. "type": "string"
  29554. },
  29555. "cardtypeid": {
  29556. "description": "证件类型",
  29557. "type": "integer"
  29558. },
  29559. "cityid": {
  29560. "description": "市",
  29561. "type": "integer"
  29562. },
  29563. "cityname": {
  29564. "description": "城市名称",
  29565. "type": "string"
  29566. },
  29567. "countryid": {
  29568. "description": "国家",
  29569. "type": "integer"
  29570. },
  29571. "countryname": {
  29572. "description": "国家名称",
  29573. "type": "string"
  29574. },
  29575. "districtid": {
  29576. "description": "地区",
  29577. "type": "integer"
  29578. },
  29579. "districtname": {
  29580. "description": "地区名称",
  29581. "type": "string"
  29582. },
  29583. "hasencrypt": {
  29584. "description": "数据是否已加密 - 0:未加密 1:已加密",
  29585. "type": "integer"
  29586. },
  29587. "isdefault": {
  29588. "description": "是否默认地址 - 0:否 1:是",
  29589. "type": "integer"
  29590. },
  29591. "phonenum": {
  29592. "description": "提货人联系方式(加密存储)",
  29593. "type": "string"
  29594. },
  29595. "provinceid": {
  29596. "description": "省",
  29597. "type": "integer"
  29598. },
  29599. "provincename": {
  29600. "description": "省名称",
  29601. "type": "string"
  29602. },
  29603. "receivername": {
  29604. "description": "提货人姓名",
  29605. "type": "string"
  29606. },
  29607. "takeremark": {
  29608. "description": "提货备注",
  29609. "type": "string"
  29610. },
  29611. "userid": {
  29612. "description": "用户ID",
  29613. "type": "integer"
  29614. }
  29615. }
  29616. },
  29617. "models.Useraccount": {
  29618. "type": "object",
  29619. "required": [
  29620. "userid"
  29621. ],
  29622. "properties": {
  29623. "accountname": {
  29624. "description": "账户名称(机构名称)",
  29625. "type": "string"
  29626. },
  29627. "accountstatus": {
  29628. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  29629. "type": "integer"
  29630. },
  29631. "applysrc": {
  29632. "description": "申请来源 - 1:管理端 2:终端",
  29633. "type": "integer"
  29634. },
  29635. "auditremark": {
  29636. "description": "审核备注",
  29637. "type": "string"
  29638. },
  29639. "auditsrc": {
  29640. "description": "审核来源 - 1:管理端 2:终端",
  29641. "type": "integer"
  29642. },
  29643. "audittime": {
  29644. "description": "审核时间",
  29645. "type": "string"
  29646. },
  29647. "audituserid": {
  29648. "description": "审核人",
  29649. "type": "integer"
  29650. },
  29651. "broker": {
  29652. "description": "所属经纪人ID",
  29653. "type": "integer"
  29654. },
  29655. "canceltime": {
  29656. "description": "销户时间",
  29657. "type": "string"
  29658. },
  29659. "canceluserid": {
  29660. "description": "销户人",
  29661. "type": "integer"
  29662. },
  29663. "canrecommend": {
  29664. "description": "是否可推荐 - 0:不可 1;可",
  29665. "type": "integer"
  29666. },
  29667. "createtime": {
  29668. "description": "创建时间",
  29669. "type": "string"
  29670. },
  29671. "creatorid": {
  29672. "description": "创建人",
  29673. "type": "integer"
  29674. },
  29675. "hasauth": {
  29676. "description": "是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝",
  29677. "type": "integer"
  29678. },
  29679. "isanonymous": {
  29680. "description": "是否匿名下单 - 0:否 1:是",
  29681. "type": "integer"
  29682. },
  29683. "maxinvestornum": {
  29684. "description": "最大用户数(经纪会员下投资者个数)",
  29685. "type": "integer"
  29686. },
  29687. "memberuserid": {
  29688. "description": "所属会员ID",
  29689. "type": "integer"
  29690. },
  29691. "modifierid": {
  29692. "description": "修改人",
  29693. "type": "integer"
  29694. },
  29695. "modifyremark": {
  29696. "description": "变更备注",
  29697. "type": "string"
  29698. },
  29699. "modifystatus": {
  29700. "description": "变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)",
  29701. "type": "integer"
  29702. },
  29703. "modifytime": {
  29704. "description": "修改时间",
  29705. "type": "string"
  29706. },
  29707. "parenttopuser": {
  29708. "description": "上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的\"ParentTopUser\"]",
  29709. "type": "string"
  29710. },
  29711. "parentuserid": {
  29712. "description": "所属机构ID",
  29713. "type": "integer"
  29714. },
  29715. "reckonaccountid": {
  29716. "description": "默认结算资金账号ID(机构分润使用) 作废",
  29717. "type": "integer"
  29718. },
  29719. "refercount": {
  29720. "description": "推荐总人数",
  29721. "type": "integer"
  29722. },
  29723. "refereeuserid": {
  29724. "description": "推荐人ID",
  29725. "type": "integer"
  29726. },
  29727. "refernum": {
  29728. "description": "推荐码",
  29729. "type": "string"
  29730. },
  29731. "rootuserid": {
  29732. "description": "根用户ID",
  29733. "type": "integer"
  29734. },
  29735. "subaccountlevel": {
  29736. "description": "子账户层数",
  29737. "type": "integer"
  29738. },
  29739. "subarealevelpath": {
  29740. "description": "子机构层级路径(逗号分隔,首尾加逗号)",
  29741. "type": "string"
  29742. },
  29743. "userid": {
  29744. "description": "用户ID",
  29745. "type": "integer"
  29746. },
  29747. "usertype": {
  29748. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  29749. "type": "integer"
  29750. }
  29751. }
  29752. },
  29753. "models.Userfavoritegoods": {
  29754. "type": "object",
  29755. "required": [
  29756. "goodsid"
  29757. ],
  29758. "properties": {
  29759. "goodsid": {
  29760. "description": "商品ID",
  29761. "type": "integer"
  29762. }
  29763. }
  29764. },
  29765. "models.Userinfo": {
  29766. "type": "object",
  29767. "required": [
  29768. "userid"
  29769. ],
  29770. "properties": {
  29771. "address": {
  29772. "description": "地址",
  29773. "type": "string"
  29774. },
  29775. "attachment1": {
  29776. "description": "附件1",
  29777. "type": "string"
  29778. },
  29779. "attachment2": {
  29780. "description": "附件2",
  29781. "type": "string"
  29782. },
  29783. "bankaccount": {
  29784. "description": "银行帐号 (加密存储)",
  29785. "type": "string"
  29786. },
  29787. "bankaccountname": {
  29788. "description": "收款人名称",
  29789. "type": "string"
  29790. },
  29791. "bankcardfrontphotourl": {
  29792. "description": "银行卡正面照地址",
  29793. "type": "string"
  29794. },
  29795. "bankid": {
  29796. "description": "银行编码",
  29797. "type": "string"
  29798. },
  29799. "bankname": {
  29800. "description": "银行名称",
  29801. "type": "string"
  29802. },
  29803. "biznature": {
  29804. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  29805. "type": "integer"
  29806. },
  29807. "bizscope": {
  29808. "description": "企业经营范围(企业)",
  29809. "type": "string"
  29810. },
  29811. "cardbackphotourl": {
  29812. "description": "证件背面图片地址",
  29813. "type": "string"
  29814. },
  29815. "cardfrontphotourl": {
  29816. "description": "证件正面图片地址",
  29817. "type": "string"
  29818. },
  29819. "cardnum": {
  29820. "description": "证件号码(加密存储)",
  29821. "type": "string"
  29822. },
  29823. "cardtypeid": {
  29824. "description": "证件类型ID",
  29825. "type": "integer"
  29826. },
  29827. "cityid": {
  29828. "description": "市",
  29829. "type": "integer"
  29830. },
  29831. "company": {
  29832. "description": "公司(个人)",
  29833. "type": "string"
  29834. },
  29835. "contactname": {
  29836. "description": "联系人",
  29837. "type": "string"
  29838. },
  29839. "countryid": {
  29840. "description": "国家",
  29841. "type": "integer"
  29842. },
  29843. "createtime": {
  29844. "description": "创建时间",
  29845. "type": "string"
  29846. },
  29847. "creatorid": {
  29848. "description": "创建人",
  29849. "type": "integer"
  29850. },
  29851. "customername": {
  29852. "description": "客户名称(企业名称)",
  29853. "type": "string"
  29854. },
  29855. "districtid": {
  29856. "description": "地区",
  29857. "type": "integer"
  29858. },
  29859. "email": {
  29860. "description": "邮件(加密存储)",
  29861. "type": "string"
  29862. },
  29863. "fax": {
  29864. "description": "传真(加密存储)",
  29865. "type": "string"
  29866. },
  29867. "halfbodyphotourl": {
  29868. "description": "半身照地址",
  29869. "type": "string"
  29870. },
  29871. "hasencrypt": {
  29872. "description": "数据是否已加密 - 0:未加密 1:已加密",
  29873. "type": "integer"
  29874. },
  29875. "headurl": {
  29876. "description": "头像地址",
  29877. "type": "string"
  29878. },
  29879. "legalcardbackphotourl": {
  29880. "description": "法人身份证背面照地址",
  29881. "type": "string"
  29882. },
  29883. "legalcardfrontphotourl": {
  29884. "description": "法人身份证正面照地址",
  29885. "type": "string"
  29886. },
  29887. "legalpersonname": {
  29888. "description": "法人姓名(企业)",
  29889. "type": "string"
  29890. },
  29891. "mobile": {
  29892. "description": "手机号码(加密存储)",
  29893. "type": "string"
  29894. },
  29895. "mobile2": {
  29896. "description": "手机号码[明文-尚志]",
  29897. "type": "string"
  29898. },
  29899. "modifierid": {
  29900. "description": "修改人",
  29901. "type": "integer"
  29902. },
  29903. "modifiertime": {
  29904. "description": "修改时间",
  29905. "type": "string"
  29906. },
  29907. "needinvoice": {
  29908. "description": "是否需要发票 - 0:不需要 1:需要",
  29909. "type": "integer"
  29910. },
  29911. "nickname": {
  29912. "description": "昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)",
  29913. "type": "string"
  29914. },
  29915. "openmode": {
  29916. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户",
  29917. "type": "integer"
  29918. },
  29919. "otherurl": {
  29920. "description": "其它图片地址[使用分号分隔]",
  29921. "type": "string"
  29922. },
  29923. "postalcode": {
  29924. "description": "邮政编码",
  29925. "type": "string"
  29926. },
  29927. "provinceid": {
  29928. "description": "省",
  29929. "type": "integer"
  29930. },
  29931. "qq": {
  29932. "description": "QQ(加密存储",
  29933. "type": "string"
  29934. },
  29935. "remark": {
  29936. "description": "备注",
  29937. "type": "string"
  29938. },
  29939. "sex": {
  29940. "description": "用户性别 0: 女 1: 男",
  29941. "type": "integer"
  29942. },
  29943. "signpdfurl": {
  29944. "description": "签约pdf文件",
  29945. "type": "string"
  29946. },
  29947. "telphone": {
  29948. "description": "联系电话(加密存储)",
  29949. "type": "string"
  29950. },
  29951. "userid": {
  29952. "description": "用户ID",
  29953. "type": "integer"
  29954. },
  29955. "userinfotype": {
  29956. "description": "用户信息类型 - 1:个人 2:企业",
  29957. "type": "integer"
  29958. },
  29959. "userstatus": {
  29960. "description": "用户状态 - 1:正常 2:注销",
  29961. "type": "integer"
  29962. },
  29963. "usertype": {
  29964. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户",
  29965. "type": "integer"
  29966. },
  29967. "wechat": {
  29968. "description": "微信(加密存储)",
  29969. "type": "string"
  29970. },
  29971. "wskhinfo": {
  29972. "description": "开户申请信息(JSON)",
  29973. "type": "string"
  29974. }
  29975. }
  29976. },
  29977. "models.WRSConverTDetail": {
  29978. "type": "object",
  29979. "properties": {
  29980. "convertratio": {
  29981. "description": "套保系数",
  29982. "type": "number"
  29983. },
  29984. "deliverygoodscode": {
  29985. "description": "现货商品代码",
  29986. "type": "string"
  29987. },
  29988. "deliverygoodsid": {
  29989. "description": "现货品种ID",
  29990. "type": "integer"
  29991. },
  29992. "deliverygoodsname": {
  29993. "description": "现货商品名称",
  29994. "type": "string"
  29995. },
  29996. "enumdicname": {
  29997. "description": "单位名称",
  29998. "type": "string"
  29999. },
  30000. "goodsunitid": {
  30001. "description": "套保品种单位id",
  30002. "type": "integer"
  30003. },
  30004. "middlegoodscode": {
  30005. "description": "套保品种代码",
  30006. "type": "string"
  30007. },
  30008. "middlegoodsid": {
  30009. "description": "套保品种ID",
  30010. "type": "integer"
  30011. },
  30012. "middlegoodsname": {
  30013. "description": "套保品种名称",
  30014. "type": "string"
  30015. },
  30016. "modifytime": {
  30017. "description": "修改时间",
  30018. "type": "string"
  30019. },
  30020. "wrstandardid": {
  30021. "description": "品类ID",
  30022. "type": "integer"
  30023. }
  30024. }
  30025. },
  30026. "models.WRStandardInfo": {
  30027. "type": "object",
  30028. "required": [
  30029. "wrstandardid"
  30030. ],
  30031. "properties": {
  30032. "areauserid": {
  30033. "description": "所属机构",
  30034. "type": "integer"
  30035. },
  30036. "convertfactor": {
  30037. "description": "标仓系数",
  30038. "type": "number"
  30039. },
  30040. "createtime": {
  30041. "description": "创建时间",
  30042. "type": "string"
  30043. },
  30044. "creatorid": {
  30045. "description": "创建人",
  30046. "type": "integer"
  30047. },
  30048. "deliverygoodsid": {
  30049. "description": "品种ID",
  30050. "type": "integer"
  30051. },
  30052. "deliverygoodsname": {
  30053. "description": "交割商品名称",
  30054. "type": "string"
  30055. },
  30056. "factoryitemjson": {
  30057. "description": "要素项定义Json[{\"DGFactoryItemTypeID\": ,\"ItemTypeMode\": ,\"FactoryItemIDs\": },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem-\u003eDGFactoryItemTypeIDItemTypeMode - 要素项类型模式 --DGFactoryItem-\u003eItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem-\u003eDGFactoryItemID, 逗号分隔",
  30058. "type": "string"
  30059. },
  30060. "isvalid": {
  30061. "description": "是否有效 - 0:无效 1:有效",
  30062. "type": "integer"
  30063. },
  30064. "minivalue": {
  30065. "description": "最小变动值",
  30066. "type": "integer"
  30067. },
  30068. "minivaluedp": {
  30069. "description": "最小变动值小数位",
  30070. "type": "integer"
  30071. },
  30072. "realminivalue": {
  30073. "description": "实际最小变动值",
  30074. "type": "integer"
  30075. },
  30076. "realminivaluedp": {
  30077. "description": "实际最小变动值小数位",
  30078. "type": "integer"
  30079. },
  30080. "remark": {
  30081. "description": "备注",
  30082. "type": "string"
  30083. },
  30084. "unitid": {
  30085. "description": "单位ID",
  30086. "type": "integer"
  30087. },
  30088. "unitname": {
  30089. "description": "单位",
  30090. "type": "string"
  30091. },
  30092. "updatetime": {
  30093. "description": "更新时间",
  30094. "type": "string"
  30095. },
  30096. "updatorid": {
  30097. "description": "更新人",
  30098. "type": "integer"
  30099. },
  30100. "wrsstatus": {
  30101. "description": "状态 - 作废 - 0:未激活 1:正常",
  30102. "type": "integer"
  30103. },
  30104. "wrstandardcode": {
  30105. "description": "现货品类代码",
  30106. "type": "string"
  30107. },
  30108. "wrstandardid": {
  30109. "description": "现货品类ID(SEQ_WRSTANDARD)",
  30110. "type": "integer"
  30111. },
  30112. "wrstandardname": {
  30113. "description": "现货品类名称",
  30114. "type": "string"
  30115. }
  30116. }
  30117. },
  30118. "models.Warehouseinfo": {
  30119. "type": "object",
  30120. "required": [
  30121. "autoid",
  30122. "warehousecode"
  30123. ],
  30124. "properties": {
  30125. "address": {
  30126. "description": "详细地址",
  30127. "type": "string"
  30128. },
  30129. "areauserid": {
  30130. "description": "所属机构",
  30131. "type": "integer"
  30132. },
  30133. "autoid": {
  30134. "description": "自增ID",
  30135. "type": "integer"
  30136. },
  30137. "cityid": {
  30138. "description": "市",
  30139. "type": "integer"
  30140. },
  30141. "contactname": {
  30142. "description": "联系人",
  30143. "type": "string"
  30144. },
  30145. "contactnum": {
  30146. "description": "联系电话",
  30147. "type": "string"
  30148. },
  30149. "countryid": {
  30150. "description": "国家",
  30151. "type": "integer"
  30152. },
  30153. "createtime": {
  30154. "description": "创建时间",
  30155. "type": "string"
  30156. },
  30157. "districtid": {
  30158. "description": "区",
  30159. "type": "integer"
  30160. },
  30161. "hasvideo": {
  30162. "description": "是否有视频 - 0:无 1:有",
  30163. "type": "integer"
  30164. },
  30165. "provinceid": {
  30166. "description": "省",
  30167. "type": "integer"
  30168. },
  30169. "remark": {
  30170. "description": "审核备注",
  30171. "type": "string"
  30172. },
  30173. "videourl": {
  30174. "description": "视频地址",
  30175. "type": "string"
  30176. },
  30177. "warehousecode": {
  30178. "description": "仓库代码",
  30179. "type": "string"
  30180. },
  30181. "warehousename": {
  30182. "description": "仓库名称",
  30183. "type": "string"
  30184. },
  30185. "warehousestatus": {
  30186. "description": "仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝",
  30187. "type": "integer"
  30188. },
  30189. "warehousetype": {
  30190. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  30191. "type": "integer"
  30192. }
  30193. }
  30194. },
  30195. "models.WrAverageTradePrice": {
  30196. "type": "object",
  30197. "properties": {
  30198. "averageprice": {
  30199. "description": "成交均价",
  30200. "type": "number"
  30201. },
  30202. "tradedate": {
  30203. "description": "交易日yyyymm",
  30204. "type": "string"
  30205. }
  30206. }
  30207. },
  30208. "models.WrBsGoodsInfo": {
  30209. "type": "object",
  30210. "properties": {
  30211. "buyorsell": {
  30212. "description": "买卖方向 0-买 1-卖",
  30213. "type": "integer"
  30214. },
  30215. "goodsid": {
  30216. "description": "交易合约ID",
  30217. "type": "integer"
  30218. },
  30219. "lstitem": {
  30220. "description": "商品信息项",
  30221. "type": "array",
  30222. "items": {
  30223. "$ref": "#/definitions/models.WrTypeItem"
  30224. }
  30225. },
  30226. "lststep": {
  30227. "description": "履约规则",
  30228. "type": "array",
  30229. "items": {
  30230. "$ref": "#/definitions/models.WrGoodsPerformanceStep"
  30231. }
  30232. }
  30233. }
  30234. },
  30235. "models.WrBuybackDetail": {
  30236. "type": "object",
  30237. "properties": {
  30238. "buybackamount": {
  30239. "description": "回购金额",
  30240. "type": "number"
  30241. },
  30242. "buybackqty": {
  30243. "description": "回购数量",
  30244. "type": "number"
  30245. },
  30246. "buybackreleasemargin": {
  30247. "description": "回购释放保证金",
  30248. "type": "number"
  30249. },
  30250. "buybacktime": {
  30251. "description": "回购时间",
  30252. "type": "string"
  30253. },
  30254. "errordesc": {
  30255. "description": "错误描述",
  30256. "type": "string"
  30257. },
  30258. "handlestatus": {
  30259. "description": "处理 - 1:待处理 2:处理成功 3:处理失败",
  30260. "type": "integer"
  30261. },
  30262. "relatedwrid": {
  30263. "description": "关联仓单ID",
  30264. "type": "integer"
  30265. },
  30266. "scfcontractid": {
  30267. "description": "SCF合同ID",
  30268. "type": "string"
  30269. },
  30270. "scfwrbuybackid": {
  30271. "description": "SCF仓单回购明细ID(312+Unix秒时间戳(10位)+xxxxxx)",
  30272. "type": "integer"
  30273. },
  30274. "tradedate": {
  30275. "description": "交易日(yyyyMMdd)",
  30276. "type": "string"
  30277. }
  30278. }
  30279. },
  30280. "models.WrDeliveryDetail": {
  30281. "type": "object",
  30282. "properties": {
  30283. "accountid": {
  30284. "description": "账号ID",
  30285. "type": "integer"
  30286. },
  30287. "buyorsell": {
  30288. "description": "方向 - 0:买 1:卖",
  30289. "type": "integer"
  30290. },
  30291. "deliveryamount": {
  30292. "description": "货款金额(X总货款+P总货款)",
  30293. "type": "number"
  30294. },
  30295. "deliveryorderid": {
  30296. "description": "申报单号",
  30297. "type": "string"
  30298. },
  30299. "deliverypricemove": {
  30300. "description": "升贴水(升贴水总额)",
  30301. "type": "number"
  30302. },
  30303. "deliveryqty": {
  30304. "description": "交收数量(点选数量)",
  30305. "type": "number"
  30306. },
  30307. "deliverystatus": {
  30308. "description": "状态 - 1:待成交 2:已成交 3:成交失败 4:履约完成",
  30309. "type": "integer"
  30310. },
  30311. "deliverytime": {
  30312. "description": "交割时间",
  30313. "type": "string"
  30314. },
  30315. "deliverytotalamount": {
  30316. "description": "交收金额",
  30317. "type": "number"
  30318. },
  30319. "matchaccountid": {
  30320. "description": "对手账号ID",
  30321. "type": "integer"
  30322. },
  30323. "matchusername": {
  30324. "description": "对手方名称(仓单持有人)",
  30325. "type": "string"
  30326. },
  30327. "p1goodsremainamount": {
  30328. "description": "点价货款 ps:当PPRICEMODE=2时, 界面需显示\"-\"",
  30329. "type": "number"
  30330. },
  30331. "pdeliverycloseqty": {
  30332. "description": "p合约平仓数量",
  30333. "type": "number"
  30334. },
  30335. "pdeliveryprice": {
  30336. "description": "点价价格 ps:当PPRICEMODE=2时, 界面需显示\"-\"",
  30337. "type": "number"
  30338. },
  30339. "pgoodscode": {
  30340. "description": "商品代码",
  30341. "type": "string"
  30342. },
  30343. "pgoodsid": {
  30344. "description": "p点选合约id",
  30345. "type": "integer"
  30346. },
  30347. "pgoodsname": {
  30348. "description": "商品名称",
  30349. "type": "string"
  30350. },
  30351. "ppricemode": {
  30352. "description": "点价价格方式 - 1:商品价 2:固定值",
  30353. "type": "integer"
  30354. },
  30355. "tradedate": {
  30356. "description": "交易日(yyyymmdd)",
  30357. "type": "string"
  30358. },
  30359. "userid": {
  30360. "description": "用户id",
  30361. "type": "integer"
  30362. },
  30363. "username": {
  30364. "description": "用户名称",
  30365. "type": "string"
  30366. },
  30367. "wrfactortypeid": {
  30368. "description": "仓单要素类型ID",
  30369. "type": "integer"
  30370. },
  30371. "xdeliverycloseqty": {
  30372. "description": "合约数量",
  30373. "type": "number"
  30374. },
  30375. "xgoodsamount": {
  30376. "description": "合约金额 = 货款金额(DELIVERYAMOUNT) - 点价货款(P1GOODSREMAINAMOUNT)",
  30377. "type": "number"
  30378. },
  30379. "xgoodscode": {
  30380. "description": "商品代码",
  30381. "type": "string"
  30382. },
  30383. "xgoodsid": {
  30384. "description": "x交易合约ID",
  30385. "type": "integer"
  30386. },
  30387. "xgoodsname": {
  30388. "description": "商品名称",
  30389. "type": "string"
  30390. }
  30391. }
  30392. },
  30393. "models.WrFAProductDetail": {
  30394. "type": "object",
  30395. "properties": {
  30396. "accountid": {
  30397. "description": "资金账号",
  30398. "type": "integer"
  30399. },
  30400. "areauserid": {
  30401. "description": "金融机构ID",
  30402. "type": "integer"
  30403. },
  30404. "financingdays": {
  30405. "description": "天数(天)",
  30406. "type": "integer"
  30407. },
  30408. "interestminlen": {
  30409. "description": "最小起息天数",
  30410. "type": "integer"
  30411. },
  30412. "interestrate": {
  30413. "description": "利率",
  30414. "type": "number"
  30415. },
  30416. "interestratemode": {
  30417. "description": "利率方式 - 1:年利率 2:日利率 3:日固定值",
  30418. "type": "integer"
  30419. },
  30420. "interestsettlemode": {
  30421. "description": "结息方式 - 1:按日结息 3:按月结息",
  30422. "type": "integer"
  30423. },
  30424. "interestsettlevalue": {
  30425. "description": "结息方式值",
  30426. "type": "integer"
  30427. },
  30428. "isautoloan": {
  30429. "description": "是否自动放款 0-手动 1-自动 (当为自动放款时,显示\"放款快\")",
  30430. "type": "integer"
  30431. },
  30432. "loantag": {
  30433. "description": "放款标识: \"放款快\" 或者为空",
  30434. "type": "string"
  30435. },
  30436. "marginratio": {
  30437. "description": "保证金比率质押率 - [仓单质押]",
  30438. "type": "number"
  30439. },
  30440. "productdetailid": {
  30441. "description": "产品组合ID(SEQ_FINANCEAREAPRODUCTDETAIL)",
  30442. "type": "integer"
  30443. },
  30444. "productid": {
  30445. "description": "金融产品ID",
  30446. "type": "integer"
  30447. },
  30448. "productname": {
  30449. "description": "产品名称",
  30450. "type": "string"
  30451. },
  30452. "updatetime": {
  30453. "description": "更新时间",
  30454. "type": "string"
  30455. },
  30456. "username": {
  30457. "description": "融出方",
  30458. "type": "string"
  30459. }
  30460. }
  30461. },
  30462. "models.WrFactorTypeInfo": {
  30463. "type": "object",
  30464. "properties": {
  30465. "deliverygoodscode": {
  30466. "description": "品种代码",
  30467. "type": "string"
  30468. },
  30469. "deliverygoodsname": {
  30470. "description": "品种名称",
  30471. "type": "string"
  30472. },
  30473. "dgfactoryitemid": {
  30474. "description": "选择项id",
  30475. "type": "integer"
  30476. },
  30477. "dgfactoryitemtypeid": {
  30478. "description": "要素选择项ID (1-仓库 2-品牌)",
  30479. "type": "integer"
  30480. },
  30481. "dgfactoryitemvalue": {
  30482. "description": "要素项值",
  30483. "type": "string"
  30484. },
  30485. "itemtypename": {
  30486. "description": "要素项名称",
  30487. "type": "string"
  30488. },
  30489. "optioncompare": {
  30490. "description": "选择比较串",
  30491. "type": "string"
  30492. },
  30493. "warehouseid": {
  30494. "description": "仓库id",
  30495. "type": "integer"
  30496. },
  30497. "wrfactortypeid": {
  30498. "description": "仓单要素ID",
  30499. "type": "string"
  30500. },
  30501. "wrfactortypename": {
  30502. "description": "要素名称",
  30503. "type": "string"
  30504. },
  30505. "wrfactortypename2": {
  30506. "description": "要素名称(不含仓库)",
  30507. "type": "string"
  30508. },
  30509. "wrstandardcode": {
  30510. "description": "品类代码",
  30511. "type": "string"
  30512. },
  30513. "wrstandardid": {
  30514. "description": "品类id",
  30515. "type": "integer"
  30516. },
  30517. "wrstandardname": {
  30518. "description": "品类名称",
  30519. "type": "string"
  30520. }
  30521. }
  30522. },
  30523. "models.WrFilterItem": {
  30524. "type": "object",
  30525. "properties": {
  30526. "itemcode": {
  30527. "description": "代码",
  30528. "type": "string"
  30529. },
  30530. "itemid": {
  30531. "description": "项id",
  30532. "type": "integer"
  30533. },
  30534. "itemname": {
  30535. "description": "名称",
  30536. "type": "string"
  30537. },
  30538. "itemtype": {
  30539. "description": "类型 1-品种 2-品类(商品) 3-仓库",
  30540. "type": "integer"
  30541. }
  30542. }
  30543. },
  30544. "models.WrFinanceBuyApply": {
  30545. "type": "object",
  30546. "properties": {
  30547. "applydate": {
  30548. "description": "申请时间",
  30549. "type": "string"
  30550. },
  30551. "applystatus": {
  30552. "description": "申请状态 - 1:待审核 2.审核中 3:审核通过 4:审核拒绝 5:审核失败 6:已撤销 7:自动审核 8:融资失败",
  30553. "type": "integer"
  30554. },
  30555. "applyuserid": {
  30556. "description": "申请人",
  30557. "type": "integer"
  30558. },
  30559. "auditdate": {
  30560. "description": "审核时间",
  30561. "type": "string"
  30562. },
  30563. "auditremark": {
  30564. "description": "审核备注",
  30565. "type": "string"
  30566. },
  30567. "audituserid": {
  30568. "description": "审核人",
  30569. "type": "integer"
  30570. },
  30571. "buyaccountid": {
  30572. "description": "买方资金账号",
  30573. "type": "integer"
  30574. },
  30575. "buyorsell": {
  30576. "description": "买卖 - 0:买 1:卖",
  30577. "type": "integer"
  30578. },
  30579. "buyuserid": {
  30580. "description": "买方用户ID",
  30581. "type": "integer"
  30582. },
  30583. "buyusername": {
  30584. "description": "买方名称",
  30585. "type": "string"
  30586. },
  30587. "buywrtradeorderid": {
  30588. "description": "融资方买委托单ID",
  30589. "type": "string"
  30590. },
  30591. "deliverygoodscode": {
  30592. "description": "品种代码",
  30593. "type": "string"
  30594. },
  30595. "deliverygoodsid": {
  30596. "description": "品种ID",
  30597. "type": "integer"
  30598. },
  30599. "deliverygoodsname": {
  30600. "description": "品种名称",
  30601. "type": "string"
  30602. },
  30603. "deliverymonth": {
  30604. "description": "交收月(yyyy-MM) [无仓单HasWR =0]",
  30605. "type": "string"
  30606. },
  30607. "enumdicname": {
  30608. "description": "单位名称",
  30609. "type": "string"
  30610. },
  30611. "financeaccountid": {
  30612. "description": "融资方资金帐户ID",
  30613. "type": "integer"
  30614. },
  30615. "financeapplyid": {
  30616. "description": "融资申请单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  30617. "type": "string"
  30618. },
  30619. "financeareauserid": {
  30620. "description": "融资方用户ID",
  30621. "type": "string"
  30622. },
  30623. "financename": {
  30624. "description": "融出方名称",
  30625. "type": "string"
  30626. },
  30627. "financetype": {
  30628. "description": "融资类型 1-融资回购",
  30629. "type": "integer"
  30630. },
  30631. "financingdays": {
  30632. "description": "天数(天)",
  30633. "type": "integer"
  30634. },
  30635. "freezebuymargin": {
  30636. "description": "冻结融资保证金(买方)",
  30637. "type": "number"
  30638. },
  30639. "handleremark": {
  30640. "description": "处理备注",
  30641. "type": "string"
  30642. },
  30643. "handlestatus": {
  30644. "description": "处理状态",
  30645. "type": "integer"
  30646. },
  30647. "interestminlen": {
  30648. "description": "最小起息天数",
  30649. "type": "integer"
  30650. },
  30651. "interestrate": {
  30652. "description": "利率",
  30653. "type": "number"
  30654. },
  30655. "interestratemode": {
  30656. "description": "利率方式 - 1:年利率 2:日利率 3:日固定值",
  30657. "type": "integer"
  30658. },
  30659. "interestsettlemode": {
  30660. "description": "结息方式 - 1:按日结息 3:按月结息",
  30661. "type": "integer"
  30662. },
  30663. "interestsettlevalue": {
  30664. "description": "结息方式值",
  30665. "type": "integer"
  30666. },
  30667. "isautoloan": {
  30668. "description": "是否自动放款 - 0:手动 1:自动",
  30669. "type": "integer"
  30670. },
  30671. "marginratio": {
  30672. "description": "保证金比率质押率 - [仓单质押]",
  30673. "type": "number"
  30674. },
  30675. "marketid": {
  30676. "description": "市场ID",
  30677. "type": "integer"
  30678. },
  30679. "minivalue": {
  30680. "description": "现货商品最小变动值",
  30681. "type": "integer"
  30682. },
  30683. "optioncompare": {
  30684. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  30685. "type": "string"
  30686. },
  30687. "orderqty": {
  30688. "description": "委托数量(商品数量)",
  30689. "type": "number"
  30690. },
  30691. "productdetailid": {
  30692. "description": "产品组合ID",
  30693. "type": "integer"
  30694. },
  30695. "productid": {
  30696. "description": "金融产品ID",
  30697. "type": "integer"
  30698. },
  30699. "productname": {
  30700. "description": "产品名称",
  30701. "type": "string"
  30702. },
  30703. "remark": {
  30704. "description": "备注",
  30705. "type": "string"
  30706. },
  30707. "scfcontractid": {
  30708. "description": "仓单回购合同ID",
  30709. "type": "string"
  30710. },
  30711. "sellaccountid": {
  30712. "description": "卖方资金账号",
  30713. "type": "integer"
  30714. },
  30715. "selluserid": {
  30716. "description": "卖方用户ID",
  30717. "type": "integer"
  30718. },
  30719. "sellwrtradeorderid": {
  30720. "description": "卖方委托单ID",
  30721. "type": "string"
  30722. },
  30723. "tradeamount": {
  30724. "description": "成交金额(借款金额)",
  30725. "type": "number"
  30726. },
  30727. "tradedate": {
  30728. "description": "交易日(yyyyMMdd)",
  30729. "type": "string"
  30730. },
  30731. "tradeprice": {
  30732. "description": "成交价格",
  30733. "type": "number"
  30734. },
  30735. "warehouseid": {
  30736. "description": "仓库ID",
  30737. "type": "integer"
  30738. },
  30739. "warehousename": {
  30740. "description": "仓库名称",
  30741. "type": "string"
  30742. },
  30743. "wrfactortypeid": {
  30744. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  30745. "type": "string"
  30746. },
  30747. "wrfactortypename": {
  30748. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  30749. "type": "string"
  30750. },
  30751. "wrpricetype": {
  30752. "description": "价格方式 - 1:固定价 2-浮动价 - [挂牌单]",
  30753. "type": "integer"
  30754. },
  30755. "wrstandardcode": {
  30756. "description": "现货商品代码",
  30757. "type": "string"
  30758. },
  30759. "wrstandardid": {
  30760. "description": "现货商品ID",
  30761. "type": "integer"
  30762. },
  30763. "wrstandardname": {
  30764. "description": "商品名称",
  30765. "type": "string"
  30766. },
  30767. "wrtypename": {
  30768. "description": "商品",
  30769. "type": "string"
  30770. }
  30771. }
  30772. },
  30773. "models.WrFtDeliveryGoods": {
  30774. "type": "object",
  30775. "properties": {
  30776. "deliverygoodscode": {
  30777. "description": "品种代码",
  30778. "type": "string"
  30779. },
  30780. "deliverygoodsid": {
  30781. "description": "品种ID",
  30782. "type": "integer"
  30783. },
  30784. "deliverygoodsname": {
  30785. "description": "品种名称",
  30786. "type": "string"
  30787. },
  30788. "wdlst": {
  30789. "description": "商品列表",
  30790. "type": "array",
  30791. "items": {
  30792. "$ref": "#/definitions/models.WrFtWrstandard"
  30793. }
  30794. }
  30795. }
  30796. },
  30797. "models.WrFtWrstandard": {
  30798. "type": "object",
  30799. "properties": {
  30800. "enumdicname": {
  30801. "description": "单位名称",
  30802. "type": "string"
  30803. },
  30804. "minivalue": {
  30805. "description": "最小变动值",
  30806. "type": "integer"
  30807. },
  30808. "wrstandardcode": {
  30809. "description": "现货商品代码",
  30810. "type": "string"
  30811. },
  30812. "wrstandardid": {
  30813. "description": "现货商品ID",
  30814. "type": "integer"
  30815. },
  30816. "wrstandardname": {
  30817. "description": "商品名称",
  30818. "type": "string"
  30819. }
  30820. }
  30821. },
  30822. "models.WrGoodsInfo": {
  30823. "type": "object",
  30824. "properties": {
  30825. "haswr": {
  30826. "description": "0:仓单预售 1:仓单贸易",
  30827. "type": "integer"
  30828. },
  30829. "lstitem": {
  30830. "description": "商品信息项",
  30831. "type": "array",
  30832. "items": {
  30833. "$ref": "#/definitions/models.WrTypeItem"
  30834. }
  30835. },
  30836. "lststep": {
  30837. "description": "履约规则",
  30838. "type": "array",
  30839. "items": {
  30840. "$ref": "#/definitions/models.WrGoodsPerformanceStep"
  30841. }
  30842. },
  30843. "marketid": {
  30844. "description": "市场id",
  30845. "type": "integer"
  30846. }
  30847. }
  30848. },
  30849. "models.WrGoodsPerformanceStep": {
  30850. "type": "object",
  30851. "properties": {
  30852. "autoid": {
  30853. "description": "AutoID",
  30854. "type": "integer"
  30855. },
  30856. "isauto": {
  30857. "description": "是否自动 - 0:不自动 1:自动",
  30858. "type": "integer"
  30859. },
  30860. "remark": {
  30861. "description": "备注",
  30862. "type": "string"
  30863. },
  30864. "stepdate": {
  30865. "description": "天数信息(T+N)",
  30866. "type": "string"
  30867. },
  30868. "stepdays": {
  30869. "description": "距离上一步天数",
  30870. "type": "integer"
  30871. },
  30872. "stepindex": {
  30873. "description": "步骤序号",
  30874. "type": "integer"
  30875. },
  30876. "stepinfo": {
  30877. "description": "步骤信息(步骤名称+步骤值)",
  30878. "type": "string"
  30879. },
  30880. "steptypeid": {
  30881. "description": "履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“",
  30882. "type": "integer"
  30883. },
  30884. "steptypename": {
  30885. "description": "步骤名称",
  30886. "type": "string"
  30887. },
  30888. "stepvalue": {
  30889. "description": "步骤值",
  30890. "type": "number"
  30891. },
  30892. "templateid": {
  30893. "description": "履约计划模板ID",
  30894. "type": "integer"
  30895. }
  30896. }
  30897. },
  30898. "models.WrHoldLB": {
  30899. "type": "object",
  30900. "properties": {
  30901. "accountid": {
  30902. "description": "持有人帐户ID",
  30903. "type": "integer"
  30904. },
  30905. "createtime": {
  30906. "description": "创建时间(过户时间)",
  30907. "type": "string"
  30908. },
  30909. "deliverygoodscode": {
  30910. "description": "品种代码",
  30911. "type": "string"
  30912. },
  30913. "deliverygoodsid": {
  30914. "description": "品种ID",
  30915. "type": "integer"
  30916. },
  30917. "deliverygoodsname": {
  30918. "description": "品种名称",
  30919. "type": "string"
  30920. },
  30921. "enableqty": {
  30922. "description": "可用数量",
  30923. "type": "number"
  30924. },
  30925. "enumdicname": {
  30926. "description": "单位名称",
  30927. "type": "string"
  30928. },
  30929. "freezerqty": {
  30930. "description": "冻结数量",
  30931. "type": "number"
  30932. },
  30933. "ladingbillid": {
  30934. "description": "提单ID(208+Unix秒时间戳(10位)+xxxxxx)",
  30935. "type": "string"
  30936. },
  30937. "minivalue": {
  30938. "description": "现货商品最小变动值",
  30939. "type": "integer"
  30940. },
  30941. "optioncompare": {
  30942. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  30943. "type": "string"
  30944. },
  30945. "parentsubnum": {
  30946. "description": "拆分父子单号",
  30947. "type": "integer"
  30948. },
  30949. "pledgeqty": {
  30950. "description": "质押数量",
  30951. "type": "number"
  30952. },
  30953. "qty": {
  30954. "description": "数量",
  30955. "type": "number"
  30956. },
  30957. "subnum": {
  30958. "description": "提单子单号",
  30959. "type": "integer"
  30960. },
  30961. "tradedate": {
  30962. "description": "交易日(yyyyMMdd)",
  30963. "type": "string"
  30964. },
  30965. "userid": {
  30966. "description": "持有人ID",
  30967. "type": "integer"
  30968. },
  30969. "warehouseid": {
  30970. "description": "仓库ID",
  30971. "type": "integer"
  30972. },
  30973. "warehousename": {
  30974. "description": "仓库名称",
  30975. "type": "string"
  30976. },
  30977. "wrfactortypeid": {
  30978. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  30979. "type": "string"
  30980. },
  30981. "wrfactortypename": {
  30982. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  30983. "type": "string"
  30984. },
  30985. "wrholdeno": {
  30986. "description": "仓单编号",
  30987. "type": "string"
  30988. },
  30989. "wrid": {
  30990. "description": "仓单变更ID",
  30991. "type": "string"
  30992. },
  30993. "wrstandardcode": {
  30994. "description": "现货商品代码",
  30995. "type": "string"
  30996. },
  30997. "wrstandardid": {
  30998. "description": "现货商品ID",
  30999. "type": "integer"
  31000. },
  31001. "wrstandardname": {
  31002. "description": "商品名称",
  31003. "type": "string"
  31004. },
  31005. "wrtypename": {
  31006. "description": "商品",
  31007. "type": "string"
  31008. }
  31009. }
  31010. },
  31011. "models.WrMarketTradeConfig": {
  31012. "type": "object",
  31013. "properties": {
  31014. "basisdownratio": {
  31015. "description": "浮动价基差下限比例(仓单贸易)",
  31016. "type": "number"
  31017. },
  31018. "basisupratio": {
  31019. "description": "浮动价基差上限比例(仓单贸易)",
  31020. "type": "number"
  31021. },
  31022. "buychargealgorithm": {
  31023. "description": "买方手续费收取方式 1:比率 2:固定",
  31024. "type": "integer"
  31025. },
  31026. "buychargealgorithm2": {
  31027. "description": "回购买方手续费收取方式 1:比率 2:固定 --77:现货商城",
  31028. "type": "integer"
  31029. },
  31030. "buychargealgorithmvalue": {
  31031. "description": "买方手续费设置值(交易所部分)",
  31032. "type": "number"
  31033. },
  31034. "buychargealgorithmvalue2": {
  31035. "description": "买方手续费设置值(会员部分)",
  31036. "type": "number"
  31037. },
  31038. "buychargealgorithmvalue3": {
  31039. "description": "回购买方手续费设置值(交易所部分) --77:现货商城",
  31040. "type": "number"
  31041. },
  31042. "buychargealgorithmvalue4": {
  31043. "description": "回购买方手续费设置值(会员部分) --77:现货商城",
  31044. "type": "number"
  31045. },
  31046. "buyfirstmarginalgorithm": {
  31047. "description": "买方出价保证金方式 - 1:比率 2:固定 - [竞拍]",
  31048. "type": "integer"
  31049. },
  31050. "buyfirstmarginvalue": {
  31051. "description": "买方出价保证金设置值 - [竞拍]",
  31052. "type": "number"
  31053. },
  31054. "buymarginalgorithm": {
  31055. "description": "买方保证金方式 - 1:比率 2:固定",
  31056. "type": "integer"
  31057. },
  31058. "buymarginvalue": {
  31059. "description": "买方保证金设置值",
  31060. "type": "number"
  31061. },
  31062. "buyreleaseratio": {
  31063. "description": "买方释放比率[2:分步履约]",
  31064. "type": "number"
  31065. },
  31066. "executemode": {
  31067. "description": "执行方式[2:分步履约] - 1:顺序执行 2:交叉执行",
  31068. "type": "integer"
  31069. },
  31070. "executeside": {
  31071. "description": "执行方[2:分步履约] - 1:买方 2:卖方",
  31072. "type": "integer"
  31073. },
  31074. "failedchargealgorithm": {
  31075. "description": "流拍手续费收取方式 1:比率 2:固定",
  31076. "type": "integer"
  31077. },
  31078. "failedchargevalue": {
  31079. "description": "流拍手续费设置值",
  31080. "type": "number"
  31081. },
  31082. "failedchargevalue2": {
  31083. "description": "流拍卖方手续费设置值",
  31084. "type": "number"
  31085. },
  31086. "holddays": {
  31087. "description": "合同期限[2:分步履约]",
  31088. "type": "integer"
  31089. },
  31090. "marketid": {
  31091. "description": "市场ID-仓单贸易、竞拍、预售",
  31092. "type": "integer"
  31093. },
  31094. "minqty": {
  31095. "description": "最小执行量[2:分步履约]",
  31096. "type": "number"
  31097. },
  31098. "modifierid": {
  31099. "description": "修改人",
  31100. "type": "integer"
  31101. },
  31102. "performancetempid": {
  31103. "description": "履约计划模板ID(有仓单) - 根据交货模式:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式: 立即执行(-1)",
  31104. "type": "integer"
  31105. },
  31106. "performancetempid2": {
  31107. "description": "履约计划模板ID(无仓单) - 根据交货模式:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式: 立即执行",
  31108. "type": "integer"
  31109. },
  31110. "performanceway": {
  31111. "description": "交货模式 - 1:履约计划 2:分步履约 3:分步提货[文昌]",
  31112. "type": "integer"
  31113. },
  31114. "sellchargealgorithm": {
  31115. "description": "卖方手续费收取方式 1:比率 2:固定",
  31116. "type": "integer"
  31117. },
  31118. "sellchargealgorithm2": {
  31119. "description": "回购卖方手续费收取方式 1:比率 2:固定 --77:现货商城",
  31120. "type": "integer"
  31121. },
  31122. "sellchargealgorithmvalue": {
  31123. "description": "卖方手续费设置值(交易所部分)",
  31124. "type": "number"
  31125. },
  31126. "sellchargealgorithmvalue2": {
  31127. "description": "卖方手续费设置值(会员部分)",
  31128. "type": "number"
  31129. },
  31130. "sellchargealgorithmvalue3": {
  31131. "description": "回购卖方手续费设置值(交易所部分) --77:现货商城",
  31132. "type": "number"
  31133. },
  31134. "sellchargealgorithmvalue4": {
  31135. "description": "回购卖方手续费设置值(会员部分) --77:现货商城",
  31136. "type": "number"
  31137. },
  31138. "sellmarginalgorithm": {
  31139. "description": "卖方保证金方式 - 1:比率 2:固定",
  31140. "type": "integer"
  31141. },
  31142. "sellmarginvalue": {
  31143. "description": "卖方保证金设置值",
  31144. "type": "number"
  31145. },
  31146. "sellmarginvalue2": {
  31147. "description": "卖方保证金设置值(无仓单)",
  31148. "type": "number"
  31149. },
  31150. "sellreleaseratio": {
  31151. "description": "卖方释放比率[2:分步履约]",
  31152. "type": "number"
  31153. },
  31154. "updatetime": {
  31155. "description": "更新时间",
  31156. "type": "string"
  31157. }
  31158. }
  31159. },
  31160. "models.WrOrderDetail": {
  31161. "type": "object",
  31162. "properties": {
  31163. "buyorsell": {
  31164. "description": "买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)",
  31165. "type": "integer"
  31166. },
  31167. "cancelqty": {
  31168. "description": "撤销数量",
  31169. "type": "number"
  31170. },
  31171. "deliverygoodscode": {
  31172. "description": "品种代码",
  31173. "type": "string"
  31174. },
  31175. "deliverygoodsid": {
  31176. "description": "品种ID",
  31177. "type": "integer"
  31178. },
  31179. "deliverygoodsname": {
  31180. "description": "品种名称",
  31181. "type": "string"
  31182. },
  31183. "deliverymonth": {
  31184. "description": "交收月",
  31185. "type": "string"
  31186. },
  31187. "enumdicname": {
  31188. "description": "单位名称",
  31189. "type": "string"
  31190. },
  31191. "fixedprice": {
  31192. "description": "固定价格 - [挂牌]",
  31193. "type": "number"
  31194. },
  31195. "futupricemove": {
  31196. "description": "期货升贴水",
  31197. "type": "number"
  31198. },
  31199. "futushow": {
  31200. "description": "期货合约/升贴水",
  31201. "type": "string"
  31202. },
  31203. "goodscode": {
  31204. "description": "期货合约",
  31205. "type": "string"
  31206. },
  31207. "goodsid": {
  31208. "description": "期货商品id",
  31209. "type": "integer"
  31210. },
  31211. "goodsname": {
  31212. "description": "商品名称",
  31213. "type": "string"
  31214. },
  31215. "haswr": {
  31216. "description": "是否有仓单-卖方 - 0:无仓单 1:有仓单",
  31217. "type": "integer"
  31218. },
  31219. "marketid": {
  31220. "description": "市场ID",
  31221. "type": "integer"
  31222. },
  31223. "minivalue": {
  31224. "description": "现货商品最小变动值",
  31225. "type": "integer"
  31226. },
  31227. "optioncompare": {
  31228. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  31229. "type": "string"
  31230. },
  31231. "orderqty": {
  31232. "description": "委托数量",
  31233. "type": "number"
  31234. },
  31235. "ordertime": {
  31236. "description": "委托时间(挂牌时间)",
  31237. "type": "string"
  31238. },
  31239. "pricemove": {
  31240. "description": "升贴水(浮动价时填写) - [挂牌]",
  31241. "type": "number"
  31242. },
  31243. "tradedate": {
  31244. "description": "交易日(yyyyMMdd)",
  31245. "type": "string"
  31246. },
  31247. "tradeprice": {
  31248. "description": "成交价格 - [摘牌] (浮动价 ((商品1价格*商品1价格系数+升贴水)* 商品1重量系数 + 商品2价格*商品2价格系数+商品2升贴水)* 商品2重量系数 ...)* 委托单价格系数 + 委托单升贴水)",
  31249. "type": "number"
  31250. },
  31251. "tradeqty": {
  31252. "description": "成交数量",
  31253. "type": "number"
  31254. },
  31255. "userid": {
  31256. "description": "用户ID",
  31257. "type": "integer"
  31258. },
  31259. "warehouseid": {
  31260. "description": "仓库ID",
  31261. "type": "integer"
  31262. },
  31263. "warehousename": {
  31264. "description": "仓库名称",
  31265. "type": "string"
  31266. },
  31267. "wrfactortypeid": {
  31268. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  31269. "type": "string"
  31270. },
  31271. "wrfactortypename": {
  31272. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  31273. "type": "string"
  31274. },
  31275. "wrpricetype": {
  31276. "description": "价格方式 - 1:固定价 2-浮动价 - [挂牌]",
  31277. "type": "integer"
  31278. },
  31279. "wrstandardcode": {
  31280. "description": "现货商品代码",
  31281. "type": "string"
  31282. },
  31283. "wrstandardid": {
  31284. "description": "现货商品ID",
  31285. "type": "integer"
  31286. },
  31287. "wrstandardname": {
  31288. "description": "商品名称",
  31289. "type": "string"
  31290. },
  31291. "wrtradeorderid": {
  31292. "description": "仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  31293. "type": "string"
  31294. },
  31295. "wrtradeorderstatus": {
  31296. "description": "委托状态 - 1:委托请求 2:待冻结 3:委托成功 4:委托失败 5:配对成功 6:已撤 7:已成 8:成交失败 9:委托拒绝 10:挂牌部分成交 11:仓单生成失败 12:首付扣款失败 13:履约失败 14:撤单解冻贷款失败 15:部成部撤",
  31297. "type": "integer"
  31298. },
  31299. "wrtradetype": {
  31300. "description": "仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)",
  31301. "type": "integer"
  31302. },
  31303. "wrtypename": {
  31304. "description": "商品",
  31305. "type": "string"
  31306. }
  31307. }
  31308. },
  31309. "models.WrOrderQuote": {
  31310. "type": "object",
  31311. "properties": {
  31312. "buyprice": {
  31313. "description": "买价",
  31314. "type": "number"
  31315. },
  31316. "buypricemove": {
  31317. "description": "买升贴水(基差)",
  31318. "type": "number"
  31319. },
  31320. "buyqty": {
  31321. "description": "买量",
  31322. "type": "number"
  31323. },
  31324. "deliverygoodscode": {
  31325. "description": "品种代码",
  31326. "type": "string"
  31327. },
  31328. "deliverygoodsid": {
  31329. "description": "品种id",
  31330. "type": "integer"
  31331. },
  31332. "deliverygoodsname": {
  31333. "description": "品种名称",
  31334. "type": "string"
  31335. },
  31336. "deliverymonth": {
  31337. "description": "交收月",
  31338. "type": "string"
  31339. },
  31340. "enumdicname": {
  31341. "description": "单位名称",
  31342. "type": "string"
  31343. },
  31344. "goodscode": {
  31345. "description": "商品合约(浮动价列表才有)",
  31346. "type": "string"
  31347. },
  31348. "goodsid": {
  31349. "description": "商品id(浮动价列表才有)",
  31350. "type": "integer"
  31351. },
  31352. "minivalue": {
  31353. "description": "现货商品最小变动值",
  31354. "type": "integer"
  31355. },
  31356. "sellprice": {
  31357. "description": "卖价",
  31358. "type": "number"
  31359. },
  31360. "sellpricemove": {
  31361. "description": "卖升贴水(基差)",
  31362. "type": "number"
  31363. },
  31364. "sellqty": {
  31365. "description": "卖量",
  31366. "type": "number"
  31367. },
  31368. "warehousecode": {
  31369. "description": "仓库代码",
  31370. "type": "string"
  31371. },
  31372. "warehouseid": {
  31373. "description": "仓库id",
  31374. "type": "integer"
  31375. },
  31376. "warehousename": {
  31377. "description": "仓库名称",
  31378. "type": "string"
  31379. },
  31380. "wrfactortypeid": {
  31381. "description": "仓单要素id",
  31382. "type": "string"
  31383. },
  31384. "wrfactortypename": {
  31385. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  31386. "type": "string"
  31387. },
  31388. "wrgoodsname": {
  31389. "description": "商品(商品名称+仓库要素名称 拼接)",
  31390. "type": "string"
  31391. },
  31392. "wrstandardcode": {
  31393. "description": "商品代码",
  31394. "type": "string"
  31395. },
  31396. "wrstandardid": {
  31397. "description": "商品id",
  31398. "type": "integer"
  31399. },
  31400. "wrstandardname": {
  31401. "description": "商品名称",
  31402. "type": "string"
  31403. }
  31404. }
  31405. },
  31406. "models.WrOrderQuoteDetail": {
  31407. "type": "object",
  31408. "properties": {
  31409. "buyorsell": {
  31410. "description": "买卖 - 0:买 1:卖",
  31411. "type": "integer"
  31412. },
  31413. "delistminqty": {
  31414. "description": "起摘数量",
  31415. "type": "number"
  31416. },
  31417. "deliverymonth": {
  31418. "description": "交收月",
  31419. "type": "string"
  31420. },
  31421. "enumdicname": {
  31422. "description": "单位名称",
  31423. "type": "string"
  31424. },
  31425. "fixedprice": {
  31426. "description": "买(卖)价",
  31427. "type": "number"
  31428. },
  31429. "minivalue": {
  31430. "description": "现货商品最小变动值",
  31431. "type": "integer"
  31432. },
  31433. "orderqty": {
  31434. "description": "买(卖)量(=委托量-成交量)",
  31435. "type": "number"
  31436. },
  31437. "ordertime": {
  31438. "description": "委托时间",
  31439. "type": "string"
  31440. },
  31441. "pricemove": {
  31442. "description": "买(卖)升贴水- 基差",
  31443. "type": "number"
  31444. },
  31445. "userid": {
  31446. "description": "购买方(销售方)用户ID",
  31447. "type": "integer"
  31448. },
  31449. "username": {
  31450. "description": "购买方(销售方)",
  31451. "type": "string"
  31452. },
  31453. "wrtradeorderid": {
  31454. "description": "仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  31455. "type": "string"
  31456. }
  31457. }
  31458. },
  31459. "models.WrOutInApply": {
  31460. "type": "object",
  31461. "properties": {
  31462. "applyid": {
  31463. "description": "申请单id",
  31464. "type": "string"
  31465. },
  31466. "applystatus": {
  31467. "description": "申请状态 - 0:预约成功 1:待初审 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  31468. "type": "integer"
  31469. },
  31470. "applytime": {
  31471. "description": "申请时间",
  31472. "type": "string"
  31473. },
  31474. "applytype": {
  31475. "description": "申请类型 - 1:预约入库 2:预约出库 3:入库注册 4:出库注销",
  31476. "type": "integer"
  31477. },
  31478. "deliverygoodscode": {
  31479. "description": "品种代码",
  31480. "type": "string"
  31481. },
  31482. "deliverygoodsid": {
  31483. "description": "品种ID",
  31484. "type": "integer"
  31485. },
  31486. "deliverygoodsname": {
  31487. "description": "品种名称",
  31488. "type": "string"
  31489. },
  31490. "enumdicname": {
  31491. "description": "单位名称",
  31492. "type": "string"
  31493. },
  31494. "expresscompany": {
  31495. "description": "物流公司",
  31496. "type": "string"
  31497. },
  31498. "expressnum": {
  31499. "description": "物流单号",
  31500. "type": "string"
  31501. },
  31502. "minivalue": {
  31503. "description": "现货商品最小变动值",
  31504. "type": "integer"
  31505. },
  31506. "optioncompare": {
  31507. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  31508. "type": "string"
  31509. },
  31510. "qty": {
  31511. "description": "数量",
  31512. "type": "integer"
  31513. },
  31514. "userid": {
  31515. "description": "用户id",
  31516. "type": "integer"
  31517. },
  31518. "warehouseid": {
  31519. "description": "仓库ID",
  31520. "type": "integer"
  31521. },
  31522. "warehousename": {
  31523. "description": "仓库名称",
  31524. "type": "string"
  31525. },
  31526. "wrfactortypeid": {
  31527. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  31528. "type": "string"
  31529. },
  31530. "wrfactortypename": {
  31531. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  31532. "type": "string"
  31533. },
  31534. "wrstandardcode": {
  31535. "description": "现货商品代码",
  31536. "type": "string"
  31537. },
  31538. "wrstandardid": {
  31539. "description": "现货商品ID",
  31540. "type": "integer"
  31541. },
  31542. "wrstandardname": {
  31543. "description": "商品名称",
  31544. "type": "string"
  31545. },
  31546. "wrtypename": {
  31547. "description": "商品",
  31548. "type": "string"
  31549. }
  31550. }
  31551. },
  31552. "models.WrPerformancePlan": {
  31553. "type": "object",
  31554. "required": [
  31555. "userid"
  31556. ],
  31557. "properties": {
  31558. "activatemonth": {
  31559. "description": "履约激活月 [无仓单的交易收月](yyyy-MM)",
  31560. "type": "string"
  31561. },
  31562. "amount": {
  31563. "description": "履约金额(总金额)",
  31564. "type": "number"
  31565. },
  31566. "buyaccountid": {
  31567. "description": "买方账号",
  31568. "type": "integer"
  31569. },
  31570. "buyerfreezeamount": {
  31571. "description": "履约冻结(买履约)",
  31572. "type": "number"
  31573. },
  31574. "buyerfreezeamountremain": {
  31575. "description": "履约冻结剩余(买履约)",
  31576. "type": "number"
  31577. },
  31578. "buyorsell": {
  31579. "description": "买卖方向 0-买 1-卖",
  31580. "type": "integer"
  31581. },
  31582. "buypaidamount": {
  31583. "description": "买方已冻/已扣金额 (已付金额)",
  31584. "type": "number"
  31585. },
  31586. "buyusername": {
  31587. "description": "买方名字",
  31588. "type": "string"
  31589. },
  31590. "contractid": {
  31591. "description": "合同ID",
  31592. "type": "integer"
  31593. },
  31594. "createtime": {
  31595. "description": "创建时间",
  31596. "type": "string"
  31597. },
  31598. "creatorid": {
  31599. "description": "创建人",
  31600. "type": "integer"
  31601. },
  31602. "curstepdeadline": {
  31603. "description": "当前步骤到期时间",
  31604. "type": "string"
  31605. },
  31606. "curstepid": {
  31607. "description": "当前步骤ID",
  31608. "type": "string"
  31609. },
  31610. "curstepname": {
  31611. "description": "当前步骤名称",
  31612. "type": "string"
  31613. },
  31614. "deliverygoodscode": {
  31615. "description": "品种代码",
  31616. "type": "string"
  31617. },
  31618. "deliverygoodsid": {
  31619. "description": "品种ID",
  31620. "type": "integer"
  31621. },
  31622. "deliverygoodsname": {
  31623. "description": "品种名称",
  31624. "type": "string"
  31625. },
  31626. "enumdicname": {
  31627. "description": "单位名称",
  31628. "type": "string"
  31629. },
  31630. "expressfee": {
  31631. "description": "运费",
  31632. "type": "number"
  31633. },
  31634. "expressfeeconfirmed": {
  31635. "description": "是否确认运费 - 0:无 1:买方确认 2:卖方确认",
  31636. "type": "integer"
  31637. },
  31638. "hasovershort": {
  31639. "description": "是否确认溢短 - 0:没有 1:买方确认 2:卖方确认",
  31640. "type": "integer"
  31641. },
  31642. "haswr": {
  31643. "description": "类型 0-仓单预售 1-仓单贸易",
  31644. "type": "integer"
  31645. },
  31646. "marketid": {
  31647. "description": "市场ID",
  31648. "type": "integer"
  31649. },
  31650. "middleaccountid": {
  31651. "description": "中间商资金账号ID",
  31652. "type": "integer"
  31653. },
  31654. "middleuserid": {
  31655. "description": "中间商用户ID",
  31656. "type": "integer"
  31657. },
  31658. "minivalue": {
  31659. "description": "现货商品最小变动值",
  31660. "type": "integer"
  31661. },
  31662. "optioncompare": {
  31663. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  31664. "type": "string"
  31665. },
  31666. "overshortamount": {
  31667. "description": "溢短金额",
  31668. "type": "number"
  31669. },
  31670. "overshortqty": {
  31671. "description": "溢短数量",
  31672. "type": "number"
  31673. },
  31674. "paymenttype": {
  31675. "description": "付款方式 - 1:冻结 2:扣款",
  31676. "type": "integer"
  31677. },
  31678. "performanceplanid": {
  31679. "description": "履约计划ID(130+yyMMddHHmmss+xxxx)",
  31680. "type": "string"
  31681. },
  31682. "performancestatus": {
  31683. "description": "履约状态 - 1:初始化 2:正常 3:处理错误 4:违约待处理 5:违约处理中 6:完成 7.违约已完成 8:释放冻结失败 9:超时待处理 10:超时关闭",
  31684. "type": "integer"
  31685. },
  31686. "performancetype": {
  31687. "description": "履约类型 - 0:通用 1:交割 2:仓单贸易 3:预售集采 4:竞拍-降价式 (无仓单) 5:挂牌期权 6:竞拍-降价式 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式 10:法币C2C 11:报价系统 12:挂牌系统",
  31688. "type": "integer"
  31689. },
  31690. "qty": {
  31691. "description": "履约数量",
  31692. "type": "number"
  31693. },
  31694. "relatedorderid": {
  31695. "description": "关联单号(履约类型的关联单号)",
  31696. "type": "string"
  31697. },
  31698. "remark": {
  31699. "description": "备注",
  31700. "type": "string"
  31701. },
  31702. "sellaccountid": {
  31703. "description": "卖方账号",
  31704. "type": "integer"
  31705. },
  31706. "sellerfreezeamount": {
  31707. "description": "履约冻结(卖履约)",
  31708. "type": "number"
  31709. },
  31710. "sellerfreezeamountremain": {
  31711. "description": "履约冻结剩余(卖履约)",
  31712. "type": "number"
  31713. },
  31714. "sellreceivedamount": {
  31715. "description": "卖方已收金额",
  31716. "type": "number"
  31717. },
  31718. "sellusername": {
  31719. "description": "卖方名字",
  31720. "type": "string"
  31721. },
  31722. "shipremark": {
  31723. "description": "发货备注[物流单号]",
  31724. "type": "string"
  31725. },
  31726. "starttime": {
  31727. "description": "开始时间",
  31728. "type": "string"
  31729. },
  31730. "steptypeid": {
  31731. "description": "履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“",
  31732. "type": "integer"
  31733. },
  31734. "unpaidamount": {
  31735. "description": "剩余款(待支付金额)",
  31736. "type": "number"
  31737. },
  31738. "userid": {
  31739. "description": "用户id",
  31740. "type": "integer"
  31741. },
  31742. "warehouseid": {
  31743. "description": "仓库ID",
  31744. "type": "integer"
  31745. },
  31746. "warehousename": {
  31747. "description": "仓库名称",
  31748. "type": "string"
  31749. },
  31750. "wrfactortypeid": {
  31751. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  31752. "type": "string"
  31753. },
  31754. "wrfactortypename": {
  31755. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  31756. "type": "string"
  31757. },
  31758. "wrstandardcode": {
  31759. "description": "现货商品代码",
  31760. "type": "string"
  31761. },
  31762. "wrstandardid": {
  31763. "description": "现货商品ID",
  31764. "type": "integer"
  31765. },
  31766. "wrstandardname": {
  31767. "description": "商品名称",
  31768. "type": "string"
  31769. },
  31770. "wrtransferuserid": {
  31771. "description": "仓单受让用户",
  31772. "type": "integer"
  31773. },
  31774. "wrtypename": {
  31775. "description": "商品",
  31776. "type": "string"
  31777. }
  31778. }
  31779. },
  31780. "models.WrPerformancePlanStep": {
  31781. "type": "object",
  31782. "properties": {
  31783. "delaydays": {
  31784. "description": "延期申请天数",
  31785. "type": "integer"
  31786. },
  31787. "deliverygoodscode": {
  31788. "description": "品种代码",
  31789. "type": "string"
  31790. },
  31791. "deliverygoodsid": {
  31792. "description": "品种ID",
  31793. "type": "integer"
  31794. },
  31795. "deliverygoodsname": {
  31796. "description": "品种名称",
  31797. "type": "string"
  31798. },
  31799. "endtime": {
  31800. "description": "结束日期",
  31801. "type": "string"
  31802. },
  31803. "enumdicname": {
  31804. "description": "单位名称",
  31805. "type": "string"
  31806. },
  31807. "executeside": {
  31808. "description": "步骤执行方 - 1:买方 2:卖方",
  31809. "type": "integer"
  31810. },
  31811. "handlestatus": {
  31812. "description": "处理状态 - 1:开始 2:结束 3:冻结请求 4:冻结返回成功 5:冻结返回失败 6:扣款请求 7:扣款返回成功 8:扣款返回失败 9:仓单转移请求 10:仓单转移返回成功 11:仓单转移返回失败 12:加钱请求 13:加钱返回成功 14:加钱返回失败 15:解冻仓单头寸请求 16:解冻仓单头寸返回成功 17:解冻仓单头寸返回失败 18:解冻库位请求 19:解冻库位返回成功 20:解冻库位返回失败",
  31813. "type": "integer"
  31814. },
  31815. "isauto": {
  31816. "description": "是否自动 - 0:不自动 1:自动",
  31817. "type": "integer"
  31818. },
  31819. "islastreceivestep": {
  31820. "description": "是否最后收款步骤 - 0:不是 1:是 (暂时不用,由服务自己判断是否为最后一步付款或收款)",
  31821. "type": "integer"
  31822. },
  31823. "minivalue": {
  31824. "description": "现货商品最小变动值",
  31825. "type": "integer"
  31826. },
  31827. "optioncompare": {
  31828. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  31829. "type": "string"
  31830. },
  31831. "overdays": {
  31832. "description": "超期天数 = 当前时间(数据库时间) - 结束日期",
  31833. "type": "integer"
  31834. },
  31835. "performancestepid": {
  31836. "description": "履约步骤ID(131+Unix秒时间戳(10位)+xxxxxx)",
  31837. "type": "string"
  31838. },
  31839. "planid": {
  31840. "description": "所属履约计划ID",
  31841. "type": "string"
  31842. },
  31843. "realamount": {
  31844. "description": "实际完成金额",
  31845. "type": "number"
  31846. },
  31847. "relatedorderid": {
  31848. "description": "关联单号",
  31849. "type": "string"
  31850. },
  31851. "remaindays": {
  31852. "description": "剩余天数",
  31853. "type": "integer"
  31854. },
  31855. "remark": {
  31856. "description": "错误备注",
  31857. "type": "string"
  31858. },
  31859. "starttime": {
  31860. "description": "开始日期",
  31861. "type": "string"
  31862. },
  31863. "stepamount": {
  31864. "description": "步骤金额",
  31865. "type": "number"
  31866. },
  31867. "stepdays": {
  31868. "description": "距离上一步天数(分钟)",
  31869. "type": "integer"
  31870. },
  31871. "stepindex": {
  31872. "description": "步骤序号",
  31873. "type": "integer"
  31874. },
  31875. "steplanchtype": {
  31876. "description": "步骤启动类型 - 1:系统自动 2:手动",
  31877. "type": "integer"
  31878. },
  31879. "stepremark": {
  31880. "description": "步骤备注",
  31881. "type": "string"
  31882. },
  31883. "stepstatus": {
  31884. "description": "步骤状态 - 1:待开始 2:进行中 3:已完成 4:延期(进行中) 5:失败 6:自动完成 7:超时关闭",
  31885. "type": "integer"
  31886. },
  31887. "steptypeid": {
  31888. "description": "履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“",
  31889. "type": "integer"
  31890. },
  31891. "steptypename": {
  31892. "description": "步骤名称",
  31893. "type": "string"
  31894. },
  31895. "stepvalue": {
  31896. "description": "步骤值",
  31897. "type": "number"
  31898. },
  31899. "warehouseid": {
  31900. "description": "仓库ID",
  31901. "type": "integer"
  31902. },
  31903. "warehousename": {
  31904. "description": "仓库名称",
  31905. "type": "string"
  31906. },
  31907. "wrfactortypeid": {
  31908. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  31909. "type": "string"
  31910. },
  31911. "wrfactortypename": {
  31912. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  31913. "type": "string"
  31914. },
  31915. "wrstandardcode": {
  31916. "description": "现货商品代码",
  31917. "type": "string"
  31918. },
  31919. "wrstandardid": {
  31920. "description": "现货商品ID",
  31921. "type": "integer"
  31922. },
  31923. "wrstandardname": {
  31924. "description": "商品名称",
  31925. "type": "string"
  31926. },
  31927. "wrtypename": {
  31928. "description": "商品",
  31929. "type": "string"
  31930. }
  31931. }
  31932. },
  31933. "models.WrPosition": {
  31934. "type": "object",
  31935. "properties": {
  31936. "accountid": {
  31937. "description": "帐户ID",
  31938. "type": "integer"
  31939. },
  31940. "buyexcuteqty": {
  31941. "description": "采购履约中数量",
  31942. "type": "number"
  31943. },
  31944. "creditcurqty": {
  31945. "description": "授信当前数量(预售仓单:预售当前量)",
  31946. "type": "number"
  31947. },
  31948. "creditenableqty": {
  31949. "description": "授信可用数量(预售仓单: 可用数量)",
  31950. "type": "number"
  31951. },
  31952. "creditfreezeqty": {
  31953. "description": "授信冻结数量(预售仓单: 当前数量)",
  31954. "type": "number"
  31955. },
  31956. "credittotalqty": {
  31957. "description": "授信总数量(预售仓单:预售总量)",
  31958. "type": "number"
  31959. },
  31960. "credittradeqty": {
  31961. "description": "授信成交数量(预售仓单:成交总量)",
  31962. "type": "number"
  31963. },
  31964. "deliverygoodscode": {
  31965. "description": "品种代码",
  31966. "type": "string"
  31967. },
  31968. "deliverygoodsid": {
  31969. "description": "品种ID",
  31970. "type": "integer"
  31971. },
  31972. "deliverygoodsname": {
  31973. "description": "品种名称",
  31974. "type": "string"
  31975. },
  31976. "enalbeqty": {
  31977. "description": "可用数量",
  31978. "type": "number"
  31979. },
  31980. "enumdicname": {
  31981. "description": "单位名称",
  31982. "type": "string"
  31983. },
  31984. "freezeqty": {
  31985. "description": "总冻结数量",
  31986. "type": "number"
  31987. },
  31988. "haswr": {
  31989. "description": "是否有仓单-卖方 - 0:无仓单 1:有仓单",
  31990. "type": "integer"
  31991. },
  31992. "minivalue": {
  31993. "description": "现货商品最小变动值",
  31994. "type": "integer"
  31995. },
  31996. "modifytime": {
  31997. "description": "修改时间(过户时间)",
  31998. "type": "string"
  31999. },
  32000. "optioncompare": {
  32001. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  32002. "type": "string"
  32003. },
  32004. "pledgeqty": {
  32005. "description": "质押数量",
  32006. "type": "number"
  32007. },
  32008. "querytype": {
  32009. "description": "查询类型 1-现货汇总 2-库存汇总(订单汇总)",
  32010. "type": "integer"
  32011. },
  32012. "sellexcuteqty": {
  32013. "description": "销售履约中数量",
  32014. "type": "number"
  32015. },
  32016. "totalqty": {
  32017. "description": "总数量(库存数量)",
  32018. "type": "number"
  32019. },
  32020. "warehouseid": {
  32021. "description": "仓库ID",
  32022. "type": "integer"
  32023. },
  32024. "warehousename": {
  32025. "description": "仓库名称",
  32026. "type": "string"
  32027. },
  32028. "wrfactortypeid": {
  32029. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  32030. "type": "string"
  32031. },
  32032. "wrfactortypename": {
  32033. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  32034. "type": "string"
  32035. },
  32036. "wrpositionid": {
  32037. "description": "仓单头寸ID(201+Unix秒时间戳(10位)+xxxxxx)",
  32038. "type": "string"
  32039. },
  32040. "wrpositionno": {
  32041. "description": "仓单编号",
  32042. "type": "string"
  32043. },
  32044. "wrstandardcode": {
  32045. "description": "现货商品代码",
  32046. "type": "string"
  32047. },
  32048. "wrstandardid": {
  32049. "description": "现货商品ID",
  32050. "type": "integer"
  32051. },
  32052. "wrstandardname": {
  32053. "description": "商品名称",
  32054. "type": "string"
  32055. },
  32056. "wrtypename": {
  32057. "description": "商品",
  32058. "type": "string"
  32059. },
  32060. "wruserid": {
  32061. "description": "持有人ID",
  32062. "type": "integer"
  32063. }
  32064. }
  32065. },
  32066. "models.WrScfContract": {
  32067. "type": "object",
  32068. "properties": {
  32069. "borroweruserid": {
  32070. "description": "借款用户ID",
  32071. "type": "integer"
  32072. },
  32073. "buybackwrpositionqty": {
  32074. "description": "已回购仓单头寸数量 - [仓单回购\\仓单质押] -\u003e 已回购数量",
  32075. "type": "number"
  32076. },
  32077. "closeinterest": {
  32078. "description": "已结利息 -\u003e 已结费用",
  32079. "type": "number"
  32080. },
  32081. "currisklevel": {
  32082. "description": "风险级别 - 1:正常 2:追加货款 3:支付尾款",
  32083. "type": "integer"
  32084. },
  32085. "deadline": {
  32086. "description": "截止日期(yyyyMMdd) -\u003e 借款到期时间",
  32087. "type": "string"
  32088. },
  32089. "deliverygoodscode": {
  32090. "description": "品种代码",
  32091. "type": "string"
  32092. },
  32093. "deliverygoodsid": {
  32094. "description": "品种ID",
  32095. "type": "integer"
  32096. },
  32097. "deliverygoodsname": {
  32098. "description": "品种名称",
  32099. "type": "string"
  32100. },
  32101. "enumdicname": {
  32102. "description": "单位名称",
  32103. "type": "string"
  32104. },
  32105. "financingdays": {
  32106. "description": "天数(天)",
  32107. "type": "integer"
  32108. },
  32109. "initmargin": {
  32110. "description": "保证金 - [仓单回购]",
  32111. "type": "number"
  32112. },
  32113. "interestamount": {
  32114. "description": "计息金额=合同剩余金额 - 初始保证金 - 追缴保证金 \\ 合同剩余金额",
  32115. "type": "number"
  32116. },
  32117. "interestdebt": {
  32118. "description": "利息欠款(记录负数) -\u003e 费用欠款",
  32119. "type": "number"
  32120. },
  32121. "interestminlen": {
  32122. "description": "最小起息天数",
  32123. "type": "integer"
  32124. },
  32125. "interestrate": {
  32126. "description": "利率",
  32127. "type": "number"
  32128. },
  32129. "interestratemode": {
  32130. "description": "利率方式 - 1:年利率 2:日利率 3:日固定值",
  32131. "type": "integer"
  32132. },
  32133. "interestsettlemode": {
  32134. "description": "结息方式 - 1:按日结息 3:按月结息",
  32135. "type": "integer"
  32136. },
  32137. "interestsettlevalue": {
  32138. "description": "结息方式值",
  32139. "type": "integer"
  32140. },
  32141. "isautoloan": {
  32142. "description": "是否自动放款 - 0:手动 1:自动 - [仓单质押]",
  32143. "type": "integer"
  32144. },
  32145. "lastcloseinterestday": {
  32146. "description": "最近结息日(yyyyMMdd)",
  32147. "type": "string"
  32148. },
  32149. "lenderamount": {
  32150. "description": "贷款金额 -\u003e 借款金额",
  32151. "type": "number"
  32152. },
  32153. "lenderuserid": {
  32154. "description": "贷款方用户ID -\u003e 融出方用户ID",
  32155. "type": "integer"
  32156. },
  32157. "lenderusername": {
  32158. "description": "融出方",
  32159. "type": "string"
  32160. },
  32161. "marginratio": {
  32162. "description": "保证金比率质押率 - [仓单质押]",
  32163. "type": "number"
  32164. },
  32165. "marketid": {
  32166. "description": "市场ID - 拆成三个独立模式后,根据市场ID处理",
  32167. "type": "integer"
  32168. },
  32169. "minivalue": {
  32170. "description": "现货商品最小变动值",
  32171. "type": "integer"
  32172. },
  32173. "optioncompare": {
  32174. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  32175. "type": "string"
  32176. },
  32177. "pricemove": {
  32178. "description": "估值升贴水值",
  32179. "type": "number"
  32180. },
  32181. "productdetailid": {
  32182. "description": "产品组合ID",
  32183. "type": "integer"
  32184. },
  32185. "productid": {
  32186. "description": "金融产品ID",
  32187. "type": "integer"
  32188. },
  32189. "productname": {
  32190. "description": "产品名称",
  32191. "type": "string"
  32192. },
  32193. "remainamount": {
  32194. "description": "合同剩余金额 -\u003e 剩余金额",
  32195. "type": "number"
  32196. },
  32197. "remainwrpositionqty": {
  32198. "description": "剩余仓单头寸数量 - [仓单回购\\仓单质押] -\u003e 剩余数量(待回购数量)",
  32199. "type": "number"
  32200. },
  32201. "remark": {
  32202. "description": "备注",
  32203. "type": "string"
  32204. },
  32205. "scfcontractid": {
  32206. "description": "SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)",
  32207. "type": "string"
  32208. },
  32209. "scfcontractstatus": {
  32210. "description": "合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束 9:违约结束 10:已注销 11:已关闭 99:未提交",
  32211. "type": "integer"
  32212. },
  32213. "scfcontracttype": {
  32214. "description": "合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单 6:融资回购",
  32215. "type": "integer"
  32216. },
  32217. "startinterestday": {
  32218. "description": "计息开始日(yyyyMMdd) -\u003e 开始计费日期",
  32219. "type": "string"
  32220. },
  32221. "totalinterest": {
  32222. "description": "已计利息 -\u003e 已计费用",
  32223. "type": "number"
  32224. },
  32225. "unpaidinterest": {
  32226. "description": "未结费用",
  32227. "type": "number"
  32228. },
  32229. "updatetime": {
  32230. "description": "更新时间",
  32231. "type": "string"
  32232. },
  32233. "warehouseid": {
  32234. "description": "仓库ID",
  32235. "type": "integer"
  32236. },
  32237. "warehousename": {
  32238. "description": "仓库名称",
  32239. "type": "string"
  32240. },
  32241. "wrfactortypeid": {
  32242. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  32243. "type": "string"
  32244. },
  32245. "wrfactortypename": {
  32246. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  32247. "type": "string"
  32248. },
  32249. "wrqty": {
  32250. "description": "仓单数量 - [仓单回购\\仓单质押] -\u003e 数量",
  32251. "type": "number"
  32252. },
  32253. "wrstandardcode": {
  32254. "description": "现货商品代码",
  32255. "type": "string"
  32256. },
  32257. "wrstandardid": {
  32258. "description": "现货商品ID",
  32259. "type": "integer"
  32260. },
  32261. "wrstandardname": {
  32262. "description": "商品名称",
  32263. "type": "string"
  32264. },
  32265. "wrtypename": {
  32266. "description": "商品",
  32267. "type": "string"
  32268. }
  32269. }
  32270. },
  32271. "models.WrScfContractInterest": {
  32272. "type": "object",
  32273. "properties": {
  32274. "closeinterest": {
  32275. "description": "已结利息",
  32276. "type": "number"
  32277. },
  32278. "closeintereststatus": {
  32279. "description": "结息状态 - 1:未结 2:已结",
  32280. "type": "integer"
  32281. },
  32282. "closetime": {
  32283. "description": "结息时间",
  32284. "type": "string"
  32285. },
  32286. "closetradedate": {
  32287. "description": "结息交易日",
  32288. "type": "string"
  32289. },
  32290. "creatorid": {
  32291. "description": "操作人ID",
  32292. "type": "integer"
  32293. },
  32294. "dayrate": {
  32295. "description": "日利率(根据利率配置计算出的日利率值,年利率则除以360,保留5位小数)",
  32296. "type": "number"
  32297. },
  32298. "interest": {
  32299. "description": "利息",
  32300. "type": "number"
  32301. },
  32302. "interestamount": {
  32303. "description": "计息金额",
  32304. "type": "number"
  32305. },
  32306. "interestday": {
  32307. "description": "计息日(yyyyMMdd)",
  32308. "type": "string"
  32309. },
  32310. "scfcontractid": {
  32311. "description": "SCF合同ID",
  32312. "type": "string"
  32313. },
  32314. "scfcontractinterestid": {
  32315. "description": "SCF合同计息ID(313+Unix秒时间戳(10位)+xxxxxx)",
  32316. "type": "integer"
  32317. },
  32318. "updatetime": {
  32319. "description": "更新时间",
  32320. "type": "string"
  32321. }
  32322. }
  32323. },
  32324. "models.WrSpecialMatchOrder": {
  32325. "type": "object",
  32326. "properties": {
  32327. "amount": {
  32328. "description": "金额 = 数量 * 价格",
  32329. "type": "number"
  32330. },
  32331. "buyorsell": {
  32332. "description": "买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)",
  32333. "type": "integer"
  32334. },
  32335. "cancelqty": {
  32336. "description": "撤销数量",
  32337. "type": "number"
  32338. },
  32339. "deliverygoodscode": {
  32340. "description": "品种代码",
  32341. "type": "string"
  32342. },
  32343. "deliverygoodsid": {
  32344. "description": "品种ID",
  32345. "type": "integer"
  32346. },
  32347. "deliverygoodsname": {
  32348. "description": "品种名称",
  32349. "type": "string"
  32350. },
  32351. "enumdicname": {
  32352. "description": "单位名称",
  32353. "type": "string"
  32354. },
  32355. "fixedprice": {
  32356. "description": "固定价格(价格)",
  32357. "type": "number"
  32358. },
  32359. "haswr": {
  32360. "description": "是否有仓单-卖方 - 0:无仓单 1:有仓单",
  32361. "type": "integer"
  32362. },
  32363. "marketid": {
  32364. "description": "市场ID",
  32365. "type": "integer"
  32366. },
  32367. "matchuserid": {
  32368. "description": "指定方资金账号(字段名为userid,实际存的是accountid by:邓工)",
  32369. "type": "integer"
  32370. },
  32371. "matchusername": {
  32372. "description": "指定方",
  32373. "type": "string"
  32374. },
  32375. "minivalue": {
  32376. "description": "现货商品最小变动值",
  32377. "type": "integer"
  32378. },
  32379. "optioncompare": {
  32380. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  32381. "type": "string"
  32382. },
  32383. "orderqty": {
  32384. "description": "委托数量",
  32385. "type": "number"
  32386. },
  32387. "ordertime": {
  32388. "description": "委托时间",
  32389. "type": "string"
  32390. },
  32391. "pricemove": {
  32392. "description": "升贴水(浮动价时填写) - [挂牌]",
  32393. "type": "number"
  32394. },
  32395. "tradedate": {
  32396. "description": "交易日(yyyyMMdd)",
  32397. "type": "string"
  32398. },
  32399. "tradeprice": {
  32400. "description": "成交价格",
  32401. "type": "number"
  32402. },
  32403. "tradeqty": {
  32404. "description": "成交数量",
  32405. "type": "number"
  32406. },
  32407. "userid": {
  32408. "description": "用户ID",
  32409. "type": "integer"
  32410. },
  32411. "username": {
  32412. "description": "发起方",
  32413. "type": "string"
  32414. },
  32415. "warehouseid": {
  32416. "description": "仓库ID",
  32417. "type": "integer"
  32418. },
  32419. "warehousename": {
  32420. "description": "仓库名称",
  32421. "type": "string"
  32422. },
  32423. "wrfactortypeid": {
  32424. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  32425. "type": "string"
  32426. },
  32427. "wrfactortypename": {
  32428. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  32429. "type": "string"
  32430. },
  32431. "wrpricetype": {
  32432. "description": "价格方式 - 1:固定价 2-浮动价 - [挂牌]",
  32433. "type": "integer"
  32434. },
  32435. "wrstandardcode": {
  32436. "description": "现货商品代码",
  32437. "type": "string"
  32438. },
  32439. "wrstandardid": {
  32440. "description": "现货商品ID",
  32441. "type": "integer"
  32442. },
  32443. "wrstandardname": {
  32444. "description": "商品名称",
  32445. "type": "string"
  32446. },
  32447. "wrtradeorderid": {
  32448. "description": "仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  32449. "type": "string"
  32450. },
  32451. "wrtradeorderstatus": {
  32452. "description": "委托状态 - 1:委托请求 2:待冻结 3:委托成功 4:委托失败 5:配对成功 6:已撤 7:已成 8:成交失败 9:委托拒绝 10:挂牌部分成交 11:仓单生成失败 12:首付扣款失败 13:履约失败 14:撤单解冻贷款失败 15:部成部撤",
  32453. "type": "integer"
  32454. },
  32455. "wrtradetype": {
  32456. "description": "仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)",
  32457. "type": "integer"
  32458. },
  32459. "wrtypename": {
  32460. "description": "商品",
  32461. "type": "string"
  32462. }
  32463. }
  32464. },
  32465. "models.WrStandardFactoryItem": {
  32466. "type": "object",
  32467. "properties": {
  32468. "dgfactoryitemid": {
  32469. "description": "选择项id",
  32470. "type": "integer"
  32471. },
  32472. "dgfactoryitemvalue": {
  32473. "description": "要素项值",
  32474. "type": "string"
  32475. },
  32476. "warehouseid": {
  32477. "description": "仓库id",
  32478. "type": "integer"
  32479. }
  32480. }
  32481. },
  32482. "models.WrStandardFactoryItemEx": {
  32483. "type": "object",
  32484. "properties": {
  32485. "dgfactoryitemtypeid": {
  32486. "description": "要素项类型id(1-999:预留为特殊类型 1:仓库 2:品牌)",
  32487. "type": "integer"
  32488. },
  32489. "itemlst": {
  32490. "description": "要素项列表",
  32491. "type": "array",
  32492. "items": {
  32493. "$ref": "#/definitions/models.WrStandardFactoryItem"
  32494. }
  32495. },
  32496. "itemtypename": {
  32497. "description": "要素项类型名称",
  32498. "type": "string"
  32499. },
  32500. "wrstandardid": {
  32501. "description": "品类",
  32502. "type": "integer"
  32503. }
  32504. }
  32505. },
  32506. "models.WrTradeDetail": {
  32507. "type": "object",
  32508. "properties": {
  32509. "accountid": {
  32510. "description": "资金账号",
  32511. "type": "integer"
  32512. },
  32513. "buyorsell": {
  32514. "description": "买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)",
  32515. "type": "integer"
  32516. },
  32517. "deliverygoodscode": {
  32518. "description": "品种代码",
  32519. "type": "string"
  32520. },
  32521. "deliverygoodsid": {
  32522. "description": "品种ID",
  32523. "type": "integer"
  32524. },
  32525. "deliverygoodsname": {
  32526. "description": "品种名称",
  32527. "type": "string"
  32528. },
  32529. "deliverymonth": {
  32530. "description": "交收月",
  32531. "type": "string"
  32532. },
  32533. "enumdicname": {
  32534. "description": "单位名称",
  32535. "type": "string"
  32536. },
  32537. "haswr": {
  32538. "description": "是否有仓单-卖方 - 0:无仓单 1:有仓单",
  32539. "type": "integer"
  32540. },
  32541. "marketid": {
  32542. "description": "市场ID",
  32543. "type": "integer"
  32544. },
  32545. "matchaccountid": {
  32546. "description": "对手账号",
  32547. "type": "integer"
  32548. },
  32549. "matchusername": {
  32550. "description": "对手方",
  32551. "type": "string"
  32552. },
  32553. "minivalue": {
  32554. "description": "现货商品最小变动值",
  32555. "type": "integer"
  32556. },
  32557. "optioncompare": {
  32558. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  32559. "type": "string"
  32560. },
  32561. "tradedate": {
  32562. "description": "交易日(yyyyMMdd)",
  32563. "type": "string"
  32564. },
  32565. "tradeprice": {
  32566. "description": "成交价格",
  32567. "type": "number"
  32568. },
  32569. "tradeqty": {
  32570. "description": "成交数量",
  32571. "type": "number"
  32572. },
  32573. "tradetime": {
  32574. "description": "成交时间",
  32575. "type": "string"
  32576. },
  32577. "userid": {
  32578. "description": "用户ID",
  32579. "type": "integer"
  32580. },
  32581. "warehouseid": {
  32582. "description": "仓库ID",
  32583. "type": "integer"
  32584. },
  32585. "warehousename": {
  32586. "description": "仓库名称",
  32587. "type": "string"
  32588. },
  32589. "wrfactortypeid": {
  32590. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  32591. "type": "string"
  32592. },
  32593. "wrfactortypename": {
  32594. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  32595. "type": "string"
  32596. },
  32597. "wrstandardcode": {
  32598. "description": "现货商品代码",
  32599. "type": "string"
  32600. },
  32601. "wrstandardid": {
  32602. "description": "现货商品ID",
  32603. "type": "integer"
  32604. },
  32605. "wrstandardname": {
  32606. "description": "商品名称",
  32607. "type": "string"
  32608. },
  32609. "wrtradedetailid": {
  32610. "description": "仓单贸易成交单ID(321+Unix秒时间戳(10位)+xxxxxx)",
  32611. "type": "string"
  32612. },
  32613. "wrtradetype": {
  32614. "description": "仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)",
  32615. "type": "integer"
  32616. },
  32617. "wrtypename": {
  32618. "description": "商品",
  32619. "type": "string"
  32620. }
  32621. }
  32622. },
  32623. "models.WrTradeOrderDetail": {
  32624. "type": "object",
  32625. "properties": {
  32626. "buyorsell": {
  32627. "description": "买卖方向 0-买 1-卖",
  32628. "type": "integer"
  32629. },
  32630. "goodsid": {
  32631. "description": "商品id",
  32632. "type": "integer"
  32633. },
  32634. "orderid": {
  32635. "description": "委托单号",
  32636. "type": "string"
  32637. },
  32638. "orderprice": {
  32639. "description": "委托价格",
  32640. "type": "number"
  32641. },
  32642. "orderqty": {
  32643. "description": "委托数量",
  32644. "type": "integer"
  32645. },
  32646. "userid": {
  32647. "description": "用户id",
  32648. "type": "integer"
  32649. },
  32650. "username": {
  32651. "description": "用户名称(已脱敏)",
  32652. "type": "string"
  32653. }
  32654. }
  32655. },
  32656. "models.WrTypeItem": {
  32657. "type": "object",
  32658. "properties": {
  32659. "name": {
  32660. "description": "名称",
  32661. "type": "string"
  32662. },
  32663. "value": {
  32664. "description": "值",
  32665. "type": "string"
  32666. }
  32667. }
  32668. },
  32669. "order.QueryHisTradeDetailRsp": {
  32670. "type": "object",
  32671. "required": [
  32672. "accountid",
  32673. "buyorsell",
  32674. "goodsid",
  32675. "histradedate",
  32676. "marketid",
  32677. "memberuserid",
  32678. "orderid",
  32679. "tradeamount",
  32680. "tradedate",
  32681. "tradeid",
  32682. "tradeprice",
  32683. "tradeqty",
  32684. "tradetime"
  32685. ],
  32686. "properties": {
  32687. "accountid": {
  32688. "description": "账户ID[报价币种]",
  32689. "type": "integer"
  32690. },
  32691. "advanceratio": {
  32692. "description": "首付比率",
  32693. "type": "number"
  32694. },
  32695. "buildtype": {
  32696. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  32697. "type": "integer"
  32698. },
  32699. "buyorsell": {
  32700. "description": "方向 - 0:买 1:卖",
  32701. "type": "integer"
  32702. },
  32703. "charge": {
  32704. "description": "手续费",
  32705. "type": "number"
  32706. },
  32707. "closecharge": {
  32708. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  32709. "type": "number"
  32710. },
  32711. "closeexchagechargevalue": {
  32712. "description": "平仓交易所手续费设置值",
  32713. "type": "number"
  32714. },
  32715. "closefeealgorithm": {
  32716. "description": "平仓手续费收取方式 1:比率 2:固定",
  32717. "type": "integer"
  32718. },
  32719. "closememberchargevalue": {
  32720. "description": "平仓会员手续费设置值",
  32721. "type": "number"
  32722. },
  32723. "closepl": {
  32724. "description": "平仓盈亏",
  32725. "type": "number"
  32726. },
  32727. "closepl2": {
  32728. "description": "平仓盈亏[逐笔]",
  32729. "type": "number"
  32730. },
  32731. "closeqty": {
  32732. "description": "平仓数量(先建后平操作 需要记录)",
  32733. "type": "number"
  32734. },
  32735. "creditamount": {
  32736. "description": "授信金额",
  32737. "type": "number"
  32738. },
  32739. "decimalplace": {
  32740. "description": "商品报价小数位",
  32741. "type": "integer"
  32742. },
  32743. "enumdicname": {
  32744. "description": "单位名称",
  32745. "type": "string"
  32746. },
  32747. "gcaccountid": {
  32748. "description": "账户ID[合约币种]",
  32749. "type": "integer"
  32750. },
  32751. "goodscode": {
  32752. "description": "商品代码",
  32753. "type": "string"
  32754. },
  32755. "goodsid": {
  32756. "description": "商品ID",
  32757. "type": "integer"
  32758. },
  32759. "goodsname": {
  32760. "description": "商品名称",
  32761. "type": "string"
  32762. },
  32763. "goodunitid": {
  32764. "description": "商品单位id",
  32765. "type": "integer"
  32766. },
  32767. "histradedate": {
  32768. "description": "历史交易日",
  32769. "type": "string"
  32770. },
  32771. "intclosepl": {
  32772. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  32773. "type": "integer"
  32774. },
  32775. "isconfirmexercise": {
  32776. "description": "是否确认行权- 0:否 1:是",
  32777. "type": "integer"
  32778. },
  32779. "ismain": {
  32780. "description": "是否主单 - 0:不是 1:是",
  32781. "type": "integer"
  32782. },
  32783. "ispreexercise": {
  32784. "description": "是否预申报- 0:否 1:是",
  32785. "type": "integer"
  32786. },
  32787. "isreckoned": {
  32788. "description": "是否结算 - 0:未结算 1:已结算",
  32789. "type": "integer"
  32790. },
  32791. "isvaliddata": {
  32792. "description": "是否有效 - 0:无效 1:有效",
  32793. "type": "integer"
  32794. },
  32795. "listingselecttype": {
  32796. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  32797. "type": "integer"
  32798. },
  32799. "marketid": {
  32800. "description": "市场ID",
  32801. "type": "integer"
  32802. },
  32803. "marketname": {
  32804. "description": "市场名称",
  32805. "type": "string"
  32806. },
  32807. "matchaccountid": {
  32808. "description": "对手账号id",
  32809. "type": "integer"
  32810. },
  32811. "memberuserid": {
  32812. "description": "会员id 个人投资者 需要填写",
  32813. "type": "integer"
  32814. },
  32815. "opencharge": {
  32816. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  32817. "type": "number"
  32818. },
  32819. "openexchagechargevalue": {
  32820. "description": "建仓交易所手续费设置值",
  32821. "type": "number"
  32822. },
  32823. "openfeealgorithm": {
  32824. "description": "建仓手续费收取方式 1:比率 2:固定",
  32825. "type": "integer"
  32826. },
  32827. "openmemberchargevalue": {
  32828. "description": "建仓会员手续费设置值",
  32829. "type": "number"
  32830. },
  32831. "openqty": {
  32832. "description": "开仓数量(先建后平操作 需要记录)",
  32833. "type": "number"
  32834. },
  32835. "optiontype": {
  32836. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  32837. "type": "integer"
  32838. },
  32839. "orderid": {
  32840. "description": "委托单号",
  32841. "type": "string"
  32842. },
  32843. "payamount": {
  32844. "description": "支付金额(付款金额)",
  32845. "type": "number"
  32846. },
  32847. "performanceplanid": {
  32848. "description": "履约计划ID[期权]",
  32849. "type": "integer"
  32850. },
  32851. "performancestatus": {
  32852. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  32853. "type": "integer"
  32854. },
  32855. "preexerciseprice": {
  32856. "description": "预申报价格",
  32857. "type": "number"
  32858. },
  32859. "premium": {
  32860. "description": "权利金 - [持仓单的权利金]",
  32861. "type": "number"
  32862. },
  32863. "qtydecimalplace": {
  32864. "description": "商品报价小数位",
  32865. "type": "integer"
  32866. },
  32867. "recvamount": {
  32868. "description": "到账金额 = 成交金额 - 手续费",
  32869. "type": "number"
  32870. },
  32871. "relatedouttradeid": {
  32872. "description": "关联外部成交单ID",
  32873. "type": "integer"
  32874. },
  32875. "status": {
  32876. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  32877. "type": "integer"
  32878. },
  32879. "totalamount": {
  32880. "description": "订单总额 = 成交金额 + 手续费",
  32881. "type": "number"
  32882. },
  32883. "tradeamount": {
  32884. "description": "成交金额[账户币种,用于所有权]",
  32885. "type": "number"
  32886. },
  32887. "tradedate": {
  32888. "description": "交易日(yyyyMMdd)",
  32889. "type": "string"
  32890. },
  32891. "tradeid": {
  32892. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  32893. "type": "string"
  32894. },
  32895. "trademode": {
  32896. "description": "交易模式",
  32897. "type": "integer"
  32898. },
  32899. "tradeprice": {
  32900. "description": "成交价格",
  32901. "type": "number"
  32902. },
  32903. "tradeproperty": {
  32904. "description": "交易属性",
  32905. "type": "integer"
  32906. },
  32907. "tradeqty": {
  32908. "description": "成交数量",
  32909. "type": "number"
  32910. },
  32911. "tradetime": {
  32912. "description": "成交时间",
  32913. "type": "string"
  32914. },
  32915. "tradetype": {
  32916. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  32917. "type": "integer"
  32918. }
  32919. }
  32920. },
  32921. "order.QueryHisTradeOrderDetailRsp": {
  32922. "type": "object",
  32923. "required": [
  32924. "accountid",
  32925. "buildtype",
  32926. "buyorsell",
  32927. "goodsid",
  32928. "histradedate",
  32929. "marketid",
  32930. "memberuserid",
  32931. "operatetype",
  32932. "orderid",
  32933. "orderqty",
  32934. "ordertime",
  32935. "pricemode",
  32936. "tradedate",
  32937. "validtype"
  32938. ],
  32939. "properties": {
  32940. "accountid": {
  32941. "description": "账户ID[报价币种]",
  32942. "type": "integer"
  32943. },
  32944. "buildtype": {
  32945. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  32946. "type": "integer"
  32947. },
  32948. "buyorsell": {
  32949. "description": "买卖 - 0:买 1:卖",
  32950. "type": "integer"
  32951. },
  32952. "cancelorderid": {
  32953. "description": "撤单单号(撤单时填写)",
  32954. "type": "string"
  32955. },
  32956. "cancelqty": {
  32957. "description": "撤单数量",
  32958. "type": "number"
  32959. },
  32960. "clientordertime": {
  32961. "description": "客户端委托时间",
  32962. "type": "string"
  32963. },
  32964. "clientticket": {
  32965. "description": "客户端流水号",
  32966. "type": "string"
  32967. },
  32968. "clienttype": {
  32969. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  32970. "type": "integer"
  32971. },
  32972. "closeexchagechargevalue": {
  32973. "description": "平仓交易所手续费设置值",
  32974. "type": "number"
  32975. },
  32976. "closefeealgorithm": {
  32977. "description": "平仓手续费收取方式 1:比率 2:固定",
  32978. "type": "integer"
  32979. },
  32980. "closefreezecharge": {
  32981. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  32982. "type": "number"
  32983. },
  32984. "closememberchargevalue": {
  32985. "description": "平仓会员手续费设置值",
  32986. "type": "number"
  32987. },
  32988. "closeqty": {
  32989. "description": "平仓数量(先建后平操作 需要记录)",
  32990. "type": "number"
  32991. },
  32992. "closetradeqty": {
  32993. "description": "平仓成交数量(先建后平操作,需要记录)",
  32994. "type": "number"
  32995. },
  32996. "closeunfreezecharge": {
  32997. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  32998. "type": "number"
  32999. },
  33000. "decimalplace": {
  33001. "description": "商品报价小数位",
  33002. "type": "integer"
  33003. },
  33004. "delistingtype": {
  33005. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  33006. "type": "integer"
  33007. },
  33008. "enumdicname": {
  33009. "description": "单位名称",
  33010. "type": "string"
  33011. },
  33012. "freezecharge": {
  33013. "description": "冻结手续费",
  33014. "type": "number"
  33015. },
  33016. "freezemargin": {
  33017. "description": "冻结保证金(冻结交易金额)",
  33018. "type": "number"
  33019. },
  33020. "gcaccountid": {
  33021. "description": "账户ID[合约币种]",
  33022. "type": "integer"
  33023. },
  33024. "goodscode": {
  33025. "description": "商品代码",
  33026. "type": "string"
  33027. },
  33028. "goodsid": {
  33029. "description": "商品ID",
  33030. "type": "integer"
  33031. },
  33032. "goodsname": {
  33033. "description": "商品名称",
  33034. "type": "string"
  33035. },
  33036. "goodunitid": {
  33037. "description": "商品单位id",
  33038. "type": "integer"
  33039. },
  33040. "histradedate": {
  33041. "description": "历史交易日",
  33042. "type": "string"
  33043. },
  33044. "isconfirmexercise": {
  33045. "description": "是否确认行权- 0:否 1:是",
  33046. "type": "integer"
  33047. },
  33048. "ispreexercise": {
  33049. "description": "是否预申报- 0:否 1:是",
  33050. "type": "integer"
  33051. },
  33052. "isvaliddata": {
  33053. "description": "是否有效 - 0:无效 1:有效",
  33054. "type": "integer"
  33055. },
  33056. "listingselecttype": {
  33057. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  33058. "type": "integer"
  33059. },
  33060. "marginalgorithm": {
  33061. "description": "保证金收取方式 1:比率 2:固定",
  33062. "type": "integer"
  33063. },
  33064. "marginvalue": {
  33065. "description": "即市保证金设置值",
  33066. "type": "number"
  33067. },
  33068. "marketid": {
  33069. "description": "市场ID",
  33070. "type": "integer"
  33071. },
  33072. "marketmaxsub": {
  33073. "description": "市价最大偏移范围",
  33074. "type": "number"
  33075. },
  33076. "marketname": {
  33077. "description": "市场名称",
  33078. "type": "string"
  33079. },
  33080. "memberuserid": {
  33081. "description": "所属会员UserID",
  33082. "type": "integer"
  33083. },
  33084. "openexchagechargevalue": {
  33085. "description": "建仓交易所手续费设置值",
  33086. "type": "number"
  33087. },
  33088. "openfeealgorithm": {
  33089. "description": "建仓手续费收取方式 1:比率 2:固定",
  33090. "type": "integer"
  33091. },
  33092. "openfreezecharge": {
  33093. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  33094. "type": "number"
  33095. },
  33096. "openmemberchargevalue": {
  33097. "description": "建仓会员手续费设置值",
  33098. "type": "number"
  33099. },
  33100. "openqty": {
  33101. "description": "开仓数量(先建后平操作,需要记录)",
  33102. "type": "number"
  33103. },
  33104. "opentradeqty": {
  33105. "description": "开仓成交数量(先建后平操作,需要记录)",
  33106. "type": "number"
  33107. },
  33108. "openunfreezecharge": {
  33109. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  33110. "type": "number"
  33111. },
  33112. "operatetype": {
  33113. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  33114. "type": "integer"
  33115. },
  33116. "operatorid": {
  33117. "description": "登录账号(LoginID)",
  33118. "type": "integer"
  33119. },
  33120. "optiontype": {
  33121. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  33122. "type": "integer"
  33123. },
  33124. "orderid": {
  33125. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  33126. "type": "string"
  33127. },
  33128. "orderprice": {
  33129. "description": "委托价格",
  33130. "type": "number"
  33131. },
  33132. "orderqty": {
  33133. "description": "委托数量",
  33134. "type": "number"
  33135. },
  33136. "ordersrc": {
  33137. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  33138. "type": "integer"
  33139. },
  33140. "orderstatus": {
  33141. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  33142. "type": "integer"
  33143. },
  33144. "ordertime": {
  33145. "description": "委托时间",
  33146. "type": "string"
  33147. },
  33148. "preexerciseprice": {
  33149. "description": "预申报价格",
  33150. "type": "number"
  33151. },
  33152. "premium": {
  33153. "description": "权利金",
  33154. "type": "number"
  33155. },
  33156. "preorderid": {
  33157. "description": "关联预埋单号(止盈止损单时填写)",
  33158. "type": "string"
  33159. },
  33160. "pricemode": {
  33161. "description": "取价方式 - 1:市价 2: 限价",
  33162. "type": "integer"
  33163. },
  33164. "qtydecimalplace": {
  33165. "description": "成交量小数位",
  33166. "type": "integer"
  33167. },
  33168. "quoteid": {
  33169. "description": "报价单ID",
  33170. "type": "integer"
  33171. },
  33172. "relatedid": {
  33173. "description": "关联单号(交割单)",
  33174. "type": "string"
  33175. },
  33176. "retcode": {
  33177. "description": "错误代码",
  33178. "type": "integer"
  33179. },
  33180. "sessionid": {
  33181. "description": "会话ID",
  33182. "type": "integer"
  33183. },
  33184. "tradedate": {
  33185. "description": "交易日(yyyyMMdd)",
  33186. "type": "string"
  33187. },
  33188. "trademode": {
  33189. "description": "交易模式",
  33190. "type": "integer"
  33191. },
  33192. "tradeproperty": {
  33193. "description": "交易属性",
  33194. "type": "integer"
  33195. },
  33196. "tradeqty": {
  33197. "description": "成交数量",
  33198. "type": "number"
  33199. },
  33200. "unfreezecharge": {
  33201. "description": "解冻手续费",
  33202. "type": "number"
  33203. },
  33204. "unfreezemargin": {
  33205. "description": "解冻保证金",
  33206. "type": "number"
  33207. },
  33208. "updatetime": {
  33209. "description": "更新时间",
  33210. "type": "string"
  33211. },
  33212. "uuid": {
  33213. "description": "发起端唯一id",
  33214. "type": "string"
  33215. },
  33216. "validtime": {
  33217. "description": "有效期限",
  33218. "type": "string"
  33219. },
  33220. "validtype": {
  33221. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  33222. "type": "integer"
  33223. },
  33224. "volumetype": {
  33225. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  33226. "type": "integer"
  33227. }
  33228. }
  33229. },
  33230. "order.QueryTradeDetailRsp": {
  33231. "type": "object",
  33232. "required": [
  33233. "accountid",
  33234. "buyorsell",
  33235. "goodsid",
  33236. "marketid",
  33237. "memberuserid",
  33238. "orderid",
  33239. "tradeamount",
  33240. "tradedate",
  33241. "tradeid",
  33242. "tradeprice",
  33243. "tradeqty",
  33244. "tradetime"
  33245. ],
  33246. "properties": {
  33247. "accountid": {
  33248. "description": "账户ID[报价币种]",
  33249. "type": "integer"
  33250. },
  33251. "advanceratio": {
  33252. "description": "首付比率",
  33253. "type": "number"
  33254. },
  33255. "buildtype": {
  33256. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  33257. "type": "integer"
  33258. },
  33259. "buyorsell": {
  33260. "description": "方向 - 0:买 1:卖",
  33261. "type": "integer"
  33262. },
  33263. "charge": {
  33264. "description": "手续费",
  33265. "type": "number"
  33266. },
  33267. "closecharge": {
  33268. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  33269. "type": "number"
  33270. },
  33271. "closeexchagechargevalue": {
  33272. "description": "平仓交易所手续费设置值",
  33273. "type": "number"
  33274. },
  33275. "closefeealgorithm": {
  33276. "description": "平仓手续费收取方式 1:比率 2:固定",
  33277. "type": "integer"
  33278. },
  33279. "closememberchargevalue": {
  33280. "description": "平仓会员手续费设置值",
  33281. "type": "number"
  33282. },
  33283. "closepl": {
  33284. "description": "平仓盈亏",
  33285. "type": "number"
  33286. },
  33287. "closepl2": {
  33288. "description": "平仓盈亏[逐笔]",
  33289. "type": "number"
  33290. },
  33291. "closeqty": {
  33292. "description": "平仓数量(先建后平操作 需要记录)",
  33293. "type": "number"
  33294. },
  33295. "creditamount": {
  33296. "description": "授信金额",
  33297. "type": "number"
  33298. },
  33299. "decimalplace": {
  33300. "description": "商品报价小数位",
  33301. "type": "integer"
  33302. },
  33303. "enumdicname": {
  33304. "description": "单位名称",
  33305. "type": "string"
  33306. },
  33307. "gcaccountid": {
  33308. "description": "账户ID[合约币种]",
  33309. "type": "integer"
  33310. },
  33311. "goodscode": {
  33312. "description": "商品代码",
  33313. "type": "string"
  33314. },
  33315. "goodsid": {
  33316. "description": "商品ID",
  33317. "type": "integer"
  33318. },
  33319. "goodsname": {
  33320. "description": "商品名称",
  33321. "type": "string"
  33322. },
  33323. "goodunitid": {
  33324. "description": "商品单位id",
  33325. "type": "integer"
  33326. },
  33327. "intclosepl": {
  33328. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  33329. "type": "integer"
  33330. },
  33331. "isconfirmexercise": {
  33332. "description": "是否确认行权- 0:否 1:是",
  33333. "type": "integer"
  33334. },
  33335. "ismain": {
  33336. "description": "是否主单 - 0:不是 1:是",
  33337. "type": "integer"
  33338. },
  33339. "ispreexercise": {
  33340. "description": "是否预申报- 0:否 1:是",
  33341. "type": "integer"
  33342. },
  33343. "isreckoned": {
  33344. "description": "是否结算 - 0:未结算 1:已结算",
  33345. "type": "integer"
  33346. },
  33347. "listingselecttype": {
  33348. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  33349. "type": "integer"
  33350. },
  33351. "marketid": {
  33352. "description": "市场ID",
  33353. "type": "integer"
  33354. },
  33355. "marketname": {
  33356. "description": "市场名称",
  33357. "type": "string"
  33358. },
  33359. "matchaccountid": {
  33360. "description": "对手账号id",
  33361. "type": "integer"
  33362. },
  33363. "memberuserid": {
  33364. "description": "会员id 个人投资者 需要填写",
  33365. "type": "integer"
  33366. },
  33367. "opencharge": {
  33368. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  33369. "type": "number"
  33370. },
  33371. "openexchagechargevalue": {
  33372. "description": "建仓交易所手续费设置值",
  33373. "type": "number"
  33374. },
  33375. "openfeealgorithm": {
  33376. "description": "建仓手续费收取方式 1:比率 2:固定",
  33377. "type": "integer"
  33378. },
  33379. "openmemberchargevalue": {
  33380. "description": "建仓会员手续费设置值",
  33381. "type": "number"
  33382. },
  33383. "openqty": {
  33384. "description": "开仓数量(先建后平操作 需要记录)",
  33385. "type": "number"
  33386. },
  33387. "optiontype": {
  33388. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  33389. "type": "integer"
  33390. },
  33391. "orderid": {
  33392. "description": "委托单号",
  33393. "type": "string"
  33394. },
  33395. "payamount": {
  33396. "description": "支付金额(付款金额)",
  33397. "type": "number"
  33398. },
  33399. "performanceplanid": {
  33400. "description": "履约计划ID[期权]",
  33401. "type": "integer"
  33402. },
  33403. "performancestatus": {
  33404. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  33405. "type": "integer"
  33406. },
  33407. "preexerciseprice": {
  33408. "description": "预申报价格",
  33409. "type": "number"
  33410. },
  33411. "premium": {
  33412. "description": "权利金 - [持仓单的权利金]",
  33413. "type": "number"
  33414. },
  33415. "qtydecimalplace": {
  33416. "description": "商品报价小数位",
  33417. "type": "integer"
  33418. },
  33419. "recvamount": {
  33420. "description": "到账金额 = 成交金额 - 手续费",
  33421. "type": "number"
  33422. },
  33423. "relatedouttradeid": {
  33424. "description": "关联外部成交单ID",
  33425. "type": "integer"
  33426. },
  33427. "status": {
  33428. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  33429. "type": "integer"
  33430. },
  33431. "totalamount": {
  33432. "description": "订单总额 = 成交金额 + 手续费",
  33433. "type": "number"
  33434. },
  33435. "tradeamount": {
  33436. "description": "成交金额[账户币种,用于所有权]",
  33437. "type": "number"
  33438. },
  33439. "tradedate": {
  33440. "description": "交易日(yyyyMMdd)",
  33441. "type": "string"
  33442. },
  33443. "tradeid": {
  33444. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  33445. "type": "string"
  33446. },
  33447. "trademode": {
  33448. "description": "交易模式",
  33449. "type": "integer"
  33450. },
  33451. "tradeprice": {
  33452. "description": "成交价格",
  33453. "type": "number"
  33454. },
  33455. "tradeproperty": {
  33456. "description": "交易属性",
  33457. "type": "integer"
  33458. },
  33459. "tradeqty": {
  33460. "description": "成交数量",
  33461. "type": "number"
  33462. },
  33463. "tradetime": {
  33464. "description": "成交时间",
  33465. "type": "string"
  33466. },
  33467. "tradetype": {
  33468. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  33469. "type": "integer"
  33470. }
  33471. }
  33472. },
  33473. "order.QueryTradeOrderDetailRsp": {
  33474. "type": "object",
  33475. "required": [
  33476. "accountid",
  33477. "buildtype",
  33478. "buyorsell",
  33479. "goodsid",
  33480. "marketid",
  33481. "operatetype",
  33482. "orderqty",
  33483. "ordertime",
  33484. "pricemode",
  33485. "tradedate",
  33486. "validtype"
  33487. ],
  33488. "properties": {
  33489. "accountid": {
  33490. "description": "账户ID[报价币种]",
  33491. "type": "integer"
  33492. },
  33493. "buildtype": {
  33494. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  33495. "type": "integer"
  33496. },
  33497. "buyorsell": {
  33498. "description": "买卖 - 0:买 1:卖",
  33499. "type": "integer"
  33500. },
  33501. "cancelorderid": {
  33502. "description": "撤单单号(撤单时填写)",
  33503. "type": "string"
  33504. },
  33505. "cancelqty": {
  33506. "description": "撤单数量",
  33507. "type": "number"
  33508. },
  33509. "clienttype": {
  33510. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  33511. "type": "integer"
  33512. },
  33513. "closefreezecharge": {
  33514. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  33515. "type": "number"
  33516. },
  33517. "closeqty": {
  33518. "description": "平仓数量(先建后平操作 需要记录)",
  33519. "type": "number"
  33520. },
  33521. "closetradeqty": {
  33522. "description": "平仓成交数量(先建后平操作,需要记录)",
  33523. "type": "number"
  33524. },
  33525. "closeunfreezecharge": {
  33526. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  33527. "type": "number"
  33528. },
  33529. "decimalplace": {
  33530. "description": "商品报价小数位",
  33531. "type": "integer"
  33532. },
  33533. "delistingtype": {
  33534. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  33535. "type": "integer"
  33536. },
  33537. "enableqty": {
  33538. "description": "可用数量 = 委托数量 - 成交数量 - 撤单数量",
  33539. "type": "number"
  33540. },
  33541. "enumdicname": {
  33542. "description": "单位名称",
  33543. "type": "string"
  33544. },
  33545. "freezecharge": {
  33546. "description": "冻结手续费",
  33547. "type": "number"
  33548. },
  33549. "freezemargin": {
  33550. "description": "冻结保证金(冻结交易金额)",
  33551. "type": "number"
  33552. },
  33553. "goodscode": {
  33554. "description": "商品代码",
  33555. "type": "string"
  33556. },
  33557. "goodsid": {
  33558. "description": "商品ID",
  33559. "type": "integer"
  33560. },
  33561. "goodsname": {
  33562. "description": "商品名称",
  33563. "type": "string"
  33564. },
  33565. "goodunitid": {
  33566. "description": "商品单位id",
  33567. "type": "integer"
  33568. },
  33569. "listingselecttype": {
  33570. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  33571. "type": "integer"
  33572. },
  33573. "marketid": {
  33574. "description": "市场ID",
  33575. "type": "integer"
  33576. },
  33577. "marketname": {
  33578. "description": "市场名称",
  33579. "type": "string"
  33580. },
  33581. "openfreezecharge": {
  33582. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  33583. "type": "number"
  33584. },
  33585. "openqty": {
  33586. "description": "开仓数量(先建后平操作,需要记录)",
  33587. "type": "number"
  33588. },
  33589. "opentradeqty": {
  33590. "description": "开仓成交数量(先建后平操作,需要记录)",
  33591. "type": "number"
  33592. },
  33593. "openunfreezecharge": {
  33594. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  33595. "type": "number"
  33596. },
  33597. "operatetype": {
  33598. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  33599. "type": "integer"
  33600. },
  33601. "operatorid": {
  33602. "description": "登录账号(LoginID)",
  33603. "type": "integer"
  33604. },
  33605. "orderid": {
  33606. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  33607. "type": "string"
  33608. },
  33609. "orderprice": {
  33610. "description": "委托价格",
  33611. "type": "number"
  33612. },
  33613. "orderqty": {
  33614. "description": "委托数量",
  33615. "type": "number"
  33616. },
  33617. "ordersrc": {
  33618. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  33619. "type": "integer"
  33620. },
  33621. "orderstatus": {
  33622. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  33623. "type": "integer"
  33624. },
  33625. "ordertime": {
  33626. "description": "委托时间",
  33627. "type": "string"
  33628. },
  33629. "preorderid": {
  33630. "description": "关联预埋单号(止盈止损单时填写)",
  33631. "type": "string"
  33632. },
  33633. "pricemode": {
  33634. "description": "取价方式 - 1:市价 2: 限价",
  33635. "type": "integer"
  33636. },
  33637. "qtydecimalplace": {
  33638. "description": "商品报价小数位",
  33639. "type": "integer"
  33640. },
  33641. "relatedid": {
  33642. "description": "关联单号(交割单)",
  33643. "type": "string"
  33644. },
  33645. "tradedate": {
  33646. "description": "交易日(yyyyMMdd)",
  33647. "type": "string"
  33648. },
  33649. "trademode": {
  33650. "description": "交易模式",
  33651. "type": "integer"
  33652. },
  33653. "tradeqty": {
  33654. "description": "成交数量",
  33655. "type": "number"
  33656. },
  33657. "unfreezecharge": {
  33658. "description": "解冻手续费",
  33659. "type": "number"
  33660. },
  33661. "unfreezemargin": {
  33662. "description": "解冻保证金",
  33663. "type": "number"
  33664. },
  33665. "validtime": {
  33666. "description": "有效期限",
  33667. "type": "string"
  33668. },
  33669. "validtype": {
  33670. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  33671. "type": "integer"
  33672. },
  33673. "volumetype": {
  33674. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  33675. "type": "integer"
  33676. }
  33677. }
  33678. },
  33679. "order.QueryTradePositionRsp": {
  33680. "type": "object",
  33681. "required": [
  33682. "goodsid"
  33683. ],
  33684. "properties": {
  33685. "accountid": {
  33686. "description": "资金账户",
  33687. "type": "integer"
  33688. },
  33689. "agreeunit": {
  33690. "description": "合约单位",
  33691. "type": "number"
  33692. },
  33693. "averageprice": {
  33694. "description": "持仓均价",
  33695. "type": "number"
  33696. },
  33697. "buyorsell": {
  33698. "description": "方向 - 0:买 1:卖",
  33699. "type": "integer"
  33700. },
  33701. "closetotalqty": {
  33702. "description": "平仓总数量",
  33703. "type": "number"
  33704. },
  33705. "curholderamount": {
  33706. "description": "当前持仓总金额[商品币种]",
  33707. "type": "number"
  33708. },
  33709. "curpositionqty": {
  33710. "description": "当前持仓总数量",
  33711. "type": "number"
  33712. },
  33713. "currencyid": {
  33714. "description": "报价货币ID",
  33715. "type": "integer"
  33716. },
  33717. "curtdposition": {
  33718. "description": "期末今日头寸",
  33719. "type": "number"
  33720. },
  33721. "decimalplace": {
  33722. "description": "报价小数位",
  33723. "type": "integer"
  33724. },
  33725. "enableqty": {
  33726. "description": "可用量",
  33727. "type": "number"
  33728. },
  33729. "fretdposition": {
  33730. "description": "冻结今日头寸",
  33731. "type": "number"
  33732. },
  33733. "frozenqty": {
  33734. "description": "持仓冻结数量",
  33735. "type": "number"
  33736. },
  33737. "goodscode": {
  33738. "description": "商品代码",
  33739. "type": "string"
  33740. },
  33741. "goodsid": {
  33742. "description": "商品Id",
  33743. "type": "integer"
  33744. },
  33745. "goodsname": {
  33746. "description": "商品名称",
  33747. "type": "string"
  33748. },
  33749. "goodunit": {
  33750. "description": "报价单位",
  33751. "type": "string"
  33752. },
  33753. "goodunitid": {
  33754. "description": "报价单位ID",
  33755. "type": "integer"
  33756. },
  33757. "holderamount": {
  33758. "description": "期初持仓总金额[商品币种]",
  33759. "type": "number"
  33760. },
  33761. "lastprice": {
  33762. "description": "最新价",
  33763. "type": "number"
  33764. },
  33765. "marketamount": {
  33766. "description": "市值",
  33767. "type": "number"
  33768. },
  33769. "marketid": {
  33770. "description": "所属市场ID",
  33771. "type": "integer"
  33772. },
  33773. "openreqqty": {
  33774. "description": "开仓申请数量(用于比较最大持仓数量)",
  33775. "type": "number"
  33776. },
  33777. "opentotalqty": {
  33778. "description": "开仓总数量",
  33779. "type": "number"
  33780. },
  33781. "otherfrozenqty": {
  33782. "description": "持仓其他冻结数量(交割冻结)",
  33783. "type": "number"
  33784. },
  33785. "positionpl": {
  33786. "description": "持仓盈亏 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向 = (持仓均价 - 最新价) * 卖期末头寸 * 合约单位",
  33787. "type": "number"
  33788. },
  33789. "positionplrate": {
  33790. "description": "持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本",
  33791. "type": "number"
  33792. },
  33793. "positionqty": {
  33794. "description": "期初持仓数量",
  33795. "type": "number"
  33796. },
  33797. "qtydecimalplace": {
  33798. "description": "成交量小数位",
  33799. "type": "integer"
  33800. },
  33801. "tnqty": {
  33802. "description": "T+N冻结总量",
  33803. "type": "number"
  33804. },
  33805. "tnusedqty": {
  33806. "description": "T+N使用量(可以使用T+N的冻结数量)",
  33807. "type": "number"
  33808. },
  33809. "trademode": {
  33810. "description": "交易模式",
  33811. "type": "integer"
  33812. },
  33813. "usedmargin": {
  33814. "description": "占用保证金[商品币种]",
  33815. "type": "number"
  33816. }
  33817. }
  33818. },
  33819. "quote.HistoryData": {
  33820. "type": "object",
  33821. "properties": {
  33822. "c": {
  33823. "description": "收盘价",
  33824. "type": "number"
  33825. },
  33826. "f": {
  33827. "description": "是否补充数据",
  33828. "type": "boolean"
  33829. },
  33830. "h": {
  33831. "description": "最高价",
  33832. "type": "number"
  33833. },
  33834. "hv": {
  33835. "description": "持仓量",
  33836. "type": "integer"
  33837. },
  33838. "l": {
  33839. "description": "最低价",
  33840. "type": "number"
  33841. },
  33842. "o": {
  33843. "description": "开盘价",
  33844. "type": "number"
  33845. },
  33846. "s": {
  33847. "description": "结算价,日线周期(包括)以上才有",
  33848. "type": "number"
  33849. },
  33850. "ts": {
  33851. "description": "时间",
  33852. "type": "string"
  33853. },
  33854. "tt": {
  33855. "description": "总金额",
  33856. "type": "number"
  33857. },
  33858. "tv": {
  33859. "description": "总量",
  33860. "type": "integer"
  33861. }
  33862. }
  33863. },
  33864. "quote.HistoryTikData": {
  33865. "type": "object",
  33866. "properties": {
  33867. "AV": {
  33868. "description": "卖量",
  33869. "type": "integer"
  33870. },
  33871. "Ask": {
  33872. "description": "卖价",
  33873. "type": "number"
  33874. },
  33875. "BV": {
  33876. "description": "买量",
  33877. "type": "integer"
  33878. },
  33879. "Bid": {
  33880. "description": "买价",
  33881. "type": "number"
  33882. },
  33883. "HI": {
  33884. "description": "单笔持仓",
  33885. "type": "integer"
  33886. },
  33887. "HV": {
  33888. "description": "持仓量",
  33889. "type": "integer"
  33890. },
  33891. "PE": {
  33892. "description": "现价",
  33893. "type": "number"
  33894. },
  33895. "TDR": {
  33896. "description": "交易方向,0:买 1:卖",
  33897. "type": "integer"
  33898. },
  33899. "TK": {
  33900. "description": "交易类型",
  33901. "type": "integer"
  33902. },
  33903. "TS": {
  33904. "description": "行情时间文本",
  33905. "type": "string"
  33906. },
  33907. "TT": {
  33908. "description": "现金额",
  33909. "type": "number"
  33910. },
  33911. "Vol": {
  33912. "description": "现量",
  33913. "type": "integer"
  33914. }
  33915. }
  33916. },
  33917. "quote.QueryQuoteDayRsp": {
  33918. "type": "object",
  33919. "properties": {
  33920. "ask": {
  33921. "description": "卖1",
  33922. "type": "number"
  33923. },
  33924. "ask10": {
  33925. "description": "卖10",
  33926. "type": "number"
  33927. },
  33928. "ask2": {
  33929. "description": "卖2",
  33930. "type": "number"
  33931. },
  33932. "ask3": {
  33933. "description": "卖3",
  33934. "type": "number"
  33935. },
  33936. "ask4": {
  33937. "description": "卖4",
  33938. "type": "number"
  33939. },
  33940. "ask5": {
  33941. "description": "卖5",
  33942. "type": "number"
  33943. },
  33944. "ask6": {
  33945. "description": "卖6",
  33946. "type": "number"
  33947. },
  33948. "ask7": {
  33949. "description": "卖7",
  33950. "type": "number"
  33951. },
  33952. "ask8": {
  33953. "description": "卖8",
  33954. "type": "number"
  33955. },
  33956. "ask9": {
  33957. "description": "卖9",
  33958. "type": "number"
  33959. },
  33960. "askorderid": {
  33961. "description": "卖单号1",
  33962. "type": "integer"
  33963. },
  33964. "askorderid2": {
  33965. "description": "卖单号2",
  33966. "type": "integer"
  33967. },
  33968. "askorderid3": {
  33969. "description": "卖单号3",
  33970. "type": "integer"
  33971. },
  33972. "askorderid4": {
  33973. "description": "卖单号4",
  33974. "type": "integer"
  33975. },
  33976. "askorderid5": {
  33977. "description": "卖单号5",
  33978. "type": "integer"
  33979. },
  33980. "askordervolume": {
  33981. "description": "卖单量1",
  33982. "type": "integer"
  33983. },
  33984. "askordervolume10": {
  33985. "description": "卖单量10",
  33986. "type": "integer"
  33987. },
  33988. "askordervolume2": {
  33989. "description": "卖单量2",
  33990. "type": "integer"
  33991. },
  33992. "askordervolume3": {
  33993. "description": "卖单量3",
  33994. "type": "integer"
  33995. },
  33996. "askordervolume4": {
  33997. "description": "卖单量4",
  33998. "type": "integer"
  33999. },
  34000. "askordervolume5": {
  34001. "description": "卖单量5",
  34002. "type": "integer"
  34003. },
  34004. "askordervolume6": {
  34005. "description": "卖单量6",
  34006. "type": "integer"
  34007. },
  34008. "askordervolume7": {
  34009. "description": "卖单量7",
  34010. "type": "integer"
  34011. },
  34012. "askordervolume8": {
  34013. "description": "卖单量8",
  34014. "type": "integer"
  34015. },
  34016. "askordervolume9": {
  34017. "description": "卖单量9",
  34018. "type": "integer"
  34019. },
  34020. "askqueueinfo": {
  34021. "description": "大利市卖港股用",
  34022. "type": "string"
  34023. },
  34024. "askvolume": {
  34025. "description": "卖量1",
  34026. "type": "integer"
  34027. },
  34028. "askvolume10": {
  34029. "description": "卖量10",
  34030. "type": "integer"
  34031. },
  34032. "askvolume2": {
  34033. "description": "卖量2",
  34034. "type": "integer"
  34035. },
  34036. "askvolume3": {
  34037. "description": "卖量3",
  34038. "type": "integer"
  34039. },
  34040. "askvolume4": {
  34041. "description": "卖量4",
  34042. "type": "integer"
  34043. },
  34044. "askvolume5": {
  34045. "description": "卖量5",
  34046. "type": "integer"
  34047. },
  34048. "askvolume6": {
  34049. "description": "卖量6",
  34050. "type": "integer"
  34051. },
  34052. "askvolume7": {
  34053. "description": "卖量7",
  34054. "type": "integer"
  34055. },
  34056. "askvolume8": {
  34057. "description": "卖量8",
  34058. "type": "integer"
  34059. },
  34060. "askvolume9": {
  34061. "description": "卖量9",
  34062. "type": "integer"
  34063. },
  34064. "averageprice": {
  34065. "description": "均价",
  34066. "type": "number"
  34067. },
  34068. "bid": {
  34069. "description": "买1",
  34070. "type": "number"
  34071. },
  34072. "bid10": {
  34073. "description": "买10",
  34074. "type": "number"
  34075. },
  34076. "bid2": {
  34077. "description": "买2",
  34078. "type": "number"
  34079. },
  34080. "bid3": {
  34081. "description": "买3",
  34082. "type": "number"
  34083. },
  34084. "bid4": {
  34085. "description": "买4",
  34086. "type": "number"
  34087. },
  34088. "bid5": {
  34089. "description": "买5",
  34090. "type": "number"
  34091. },
  34092. "bid6": {
  34093. "description": "买6",
  34094. "type": "number"
  34095. },
  34096. "bid7": {
  34097. "description": "买7",
  34098. "type": "number"
  34099. },
  34100. "bid8": {
  34101. "description": "买8",
  34102. "type": "number"
  34103. },
  34104. "bid9": {
  34105. "description": "买9",
  34106. "type": "number"
  34107. },
  34108. "bidorderid": {
  34109. "description": "买单号1",
  34110. "type": "integer"
  34111. },
  34112. "bidorderid2": {
  34113. "description": "买单号2",
  34114. "type": "integer"
  34115. },
  34116. "bidorderid3": {
  34117. "description": "买单号3",
  34118. "type": "integer"
  34119. },
  34120. "bidorderid4": {
  34121. "description": "买单号4",
  34122. "type": "integer"
  34123. },
  34124. "bidorderid5": {
  34125. "description": "买单号5",
  34126. "type": "integer"
  34127. },
  34128. "bidordervolume": {
  34129. "description": "买单量1",
  34130. "type": "integer"
  34131. },
  34132. "bidordervolume10": {
  34133. "description": "买单量10",
  34134. "type": "integer"
  34135. },
  34136. "bidordervolume2": {
  34137. "description": "买单量2",
  34138. "type": "integer"
  34139. },
  34140. "bidordervolume3": {
  34141. "description": "买单量3",
  34142. "type": "integer"
  34143. },
  34144. "bidordervolume4": {
  34145. "description": "买单量4",
  34146. "type": "integer"
  34147. },
  34148. "bidordervolume5": {
  34149. "description": "买单量5",
  34150. "type": "integer"
  34151. },
  34152. "bidordervolume6": {
  34153. "description": "买单量6",
  34154. "type": "integer"
  34155. },
  34156. "bidordervolume7": {
  34157. "description": "买单量7",
  34158. "type": "integer"
  34159. },
  34160. "bidordervolume8": {
  34161. "description": "买单量8",
  34162. "type": "integer"
  34163. },
  34164. "bidordervolume9": {
  34165. "description": "买单量9",
  34166. "type": "integer"
  34167. },
  34168. "bidqueueinfo": {
  34169. "description": "大利市买港股用",
  34170. "type": "string"
  34171. },
  34172. "bidvolume": {
  34173. "description": "买量1",
  34174. "type": "integer"
  34175. },
  34176. "bidvolume10": {
  34177. "description": "买量10",
  34178. "type": "integer"
  34179. },
  34180. "bidvolume2": {
  34181. "description": "买量2",
  34182. "type": "integer"
  34183. },
  34184. "bidvolume3": {
  34185. "description": "买量3",
  34186. "type": "integer"
  34187. },
  34188. "bidvolume4": {
  34189. "description": "买量4",
  34190. "type": "integer"
  34191. },
  34192. "bidvolume5": {
  34193. "description": "买量5",
  34194. "type": "integer"
  34195. },
  34196. "bidvolume6": {
  34197. "description": "买量6",
  34198. "type": "integer"
  34199. },
  34200. "bidvolume7": {
  34201. "description": "买量7",
  34202. "type": "integer"
  34203. },
  34204. "bidvolume8": {
  34205. "description": "买量8",
  34206. "type": "integer"
  34207. },
  34208. "bidvolume9": {
  34209. "description": "买量9",
  34210. "type": "integer"
  34211. },
  34212. "calloptionpremiums": {
  34213. "description": "认购期权1",
  34214. "type": "integer"
  34215. },
  34216. "calloptionpremiums2": {
  34217. "description": "认购期权2",
  34218. "type": "integer"
  34219. },
  34220. "calloptionpremiums3": {
  34221. "description": "认购期权3",
  34222. "type": "integer"
  34223. },
  34224. "calloptionpremiums4": {
  34225. "description": "认购期权4",
  34226. "type": "integer"
  34227. },
  34228. "calloptionpremiums5": {
  34229. "description": "认购期权5",
  34230. "type": "integer"
  34231. },
  34232. "cleartime": {
  34233. "description": "清盘时间",
  34234. "type": "integer"
  34235. },
  34236. "exchangecode": {
  34237. "description": "交易所代码",
  34238. "type": "integer"
  34239. },
  34240. "exchangedate": {
  34241. "description": "交易日",
  34242. "type": "integer"
  34243. },
  34244. "goodscode": {
  34245. "description": "商品代码",
  34246. "type": "string"
  34247. },
  34248. "grepmarketprice": {
  34249. "description": "暗盘价 港股专用",
  34250. "type": "number"
  34251. },
  34252. "highest": {
  34253. "description": "最高价",
  34254. "type": "number"
  34255. },
  34256. "holdincrement": {
  34257. "description": "单笔持仓",
  34258. "type": "integer"
  34259. },
  34260. "holdvolume": {
  34261. "description": "持仓",
  34262. "type": "integer"
  34263. },
  34264. "iep": {
  34265. "description": "平衡价 港股专用",
  34266. "type": "number"
  34267. },
  34268. "iev": {
  34269. "description": "平衡量 港股专用",
  34270. "type": "number"
  34271. },
  34272. "inventory": {
  34273. "description": "库存",
  34274. "type": "integer"
  34275. },
  34276. "iscleared": {
  34277. "description": "是否清盘标志",
  34278. "type": "integer"
  34279. },
  34280. "issettled": {
  34281. "description": "是否结算标志",
  34282. "type": "integer"
  34283. },
  34284. "last": {
  34285. "description": "最新价",
  34286. "type": "number"
  34287. },
  34288. "lastlot": {
  34289. "description": "最新成交手数",
  34290. "type": "integer"
  34291. },
  34292. "lasttime": {
  34293. "description": "行情时间(只有现价变化行情时间才变化)",
  34294. "type": "string"
  34295. },
  34296. "lastturnover": {
  34297. "description": "最新成交金额",
  34298. "type": "number"
  34299. },
  34300. "lastvolume": {
  34301. "description": "最新成交量",
  34302. "type": "integer"
  34303. },
  34304. "limitdown": {
  34305. "description": "跌停价",
  34306. "type": "number"
  34307. },
  34308. "limitup": {
  34309. "description": "涨停价",
  34310. "type": "number"
  34311. },
  34312. "lowest": {
  34313. "description": "最低价",
  34314. "type": "number"
  34315. },
  34316. "nontotalholdervolume": {
  34317. "description": "非交易持仓量",
  34318. "type": "integer"
  34319. },
  34320. "nontotallot": {
  34321. "description": "非交易总手数",
  34322. "type": "integer"
  34323. },
  34324. "nontotalturnover": {
  34325. "description": "非交易总金额",
  34326. "type": "integer"
  34327. },
  34328. "nontotalvolume": {
  34329. "description": "非交易总量",
  34330. "type": "integer"
  34331. },
  34332. "opened": {
  34333. "description": "开盘价",
  34334. "type": "number"
  34335. },
  34336. "opentime": {
  34337. "description": "开盘时间",
  34338. "type": "string"
  34339. },
  34340. "orderid": {
  34341. "description": "序号",
  34342. "type": "integer"
  34343. },
  34344. "preclose": {
  34345. "description": "昨收",
  34346. "type": "number"
  34347. },
  34348. "preholdvolume": {
  34349. "description": "昨持仓",
  34350. "type": "integer"
  34351. },
  34352. "presettle": {
  34353. "description": "昨结价",
  34354. "type": "number"
  34355. },
  34356. "publictradetype": {
  34357. "description": "公共交易标志类型 港股专用",
  34358. "type": "string"
  34359. },
  34360. "putoptionpremiums": {
  34361. "description": "认沽期权1",
  34362. "type": "integer"
  34363. },
  34364. "putoptionpremiums2": {
  34365. "description": "认沽期权2",
  34366. "type": "integer"
  34367. },
  34368. "putoptionpremiums3": {
  34369. "description": "认沽期权3",
  34370. "type": "integer"
  34371. },
  34372. "putoptionpremiums4": {
  34373. "description": "认沽期权4",
  34374. "type": "integer"
  34375. },
  34376. "putoptionpremiums5": {
  34377. "description": "认沽期权5",
  34378. "type": "integer"
  34379. },
  34380. "settle": {
  34381. "description": "结算价",
  34382. "type": "number"
  34383. },
  34384. "strikeprice": {
  34385. "description": "发行价",
  34386. "type": "number"
  34387. },
  34388. "totalaskvolume": {
  34389. "description": "内盘",
  34390. "type": "integer"
  34391. },
  34392. "totalbidvolume": {
  34393. "description": "外盘",
  34394. "type": "integer"
  34395. },
  34396. "totallot": {
  34397. "description": "总手数",
  34398. "type": "integer"
  34399. },
  34400. "totalturnover": {
  34401. "description": "总金额",
  34402. "type": "number"
  34403. },
  34404. "totalvolume": {
  34405. "description": "总量",
  34406. "type": "integer"
  34407. },
  34408. "utclasttime": {
  34409. "description": "utc的行情时间",
  34410. "type": "string"
  34411. }
  34412. }
  34413. },
  34414. "quote.QueryTSDataRsp": {
  34415. "type": "object",
  34416. "properties": {
  34417. "Count": {
  34418. "description": "交易日应有数据个数",
  34419. "type": "integer"
  34420. },
  34421. "decimalPlace": {
  34422. "description": "小数位",
  34423. "type": "integer"
  34424. },
  34425. "endTime": {
  34426. "description": "结束时间",
  34427. "type": "string"
  34428. },
  34429. "goodsCode": {
  34430. "description": "商品代码",
  34431. "type": "string"
  34432. },
  34433. "historyDatas": {
  34434. "description": "历史数据",
  34435. "type": "array",
  34436. "items": {
  34437. "$ref": "#/definitions/quote.HistoryData"
  34438. }
  34439. },
  34440. "outGoodsCode": {
  34441. "description": "外部商品代码",
  34442. "type": "string"
  34443. },
  34444. "preSettle": {
  34445. "description": "昨结价",
  34446. "type": "number"
  34447. },
  34448. "runSteps": {
  34449. "description": "交易日开休市计划",
  34450. "type": "array",
  34451. "items": {
  34452. "$ref": "#/definitions/quote.TSDataRunStep"
  34453. }
  34454. },
  34455. "startTime": {
  34456. "description": "开始时间",
  34457. "type": "string"
  34458. },
  34459. "tradeDate": {
  34460. "description": "交易日",
  34461. "type": "string"
  34462. }
  34463. }
  34464. },
  34465. "quote.TSDataRunStep": {
  34466. "type": "object",
  34467. "properties": {
  34468. "end": {
  34469. "description": "真实结束时间",
  34470. "type": "string"
  34471. },
  34472. "endflag": {
  34473. "description": "结束日标识 - (-1:上日 0:当日 1:次日 )",
  34474. "type": "integer"
  34475. },
  34476. "endtime": {
  34477. "description": "结束时间(HH:mm)",
  34478. "type": "string"
  34479. },
  34480. "endweekday": {
  34481. "description": "结束周几",
  34482. "type": "integer"
  34483. },
  34484. "groupid": {
  34485. "description": "分组ID",
  34486. "type": "integer"
  34487. },
  34488. "runstep": {
  34489. "description": "运行阶段 - 2:连续交易",
  34490. "type": "integer"
  34491. },
  34492. "sectionid": {
  34493. "description": "从 1 开始 往下编 [0为系统清盘、结算时间] SectionId = 0时,开始时间=清盘时间 开始周几= 清盘周几, 结束时间=结算时间 结束周几=结算周几",
  34494. "type": "integer"
  34495. },
  34496. "start": {
  34497. "description": "真实开始时间",
  34498. "type": "string"
  34499. },
  34500. "startflag": {
  34501. "description": "开始日标识 - (-1:上日 0:当日 1:次日 )",
  34502. "type": "integer"
  34503. },
  34504. "starttime": {
  34505. "description": "起始时间(HH:mm)",
  34506. "type": "string"
  34507. },
  34508. "startweekday": {
  34509. "description": "起始周几",
  34510. "type": "integer"
  34511. },
  34512. "tradeweekday": {
  34513. "description": "交易日归属 - 0:星期天、1:星期一、2:星期二、3:星期三、4:星期四、5:星期五、6:星期六",
  34514. "type": "integer"
  34515. }
  34516. }
  34517. },
  34518. "szdz.QueryConvertLogRsp": {
  34519. "type": "object",
  34520. "required": [
  34521. "logid"
  34522. ],
  34523. "properties": {
  34524. "accountid": {
  34525. "description": "资金账户ID",
  34526. "type": "integer"
  34527. },
  34528. "clientticket": {
  34529. "description": "客户端流水号",
  34530. "type": "string"
  34531. },
  34532. "converttype": {
  34533. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍",
  34534. "type": "integer"
  34535. },
  34536. "createtime": {
  34537. "description": "记账时间",
  34538. "type": "string"
  34539. },
  34540. "daymaxvalue": {
  34541. "description": "配置当日最大转入限制",
  34542. "type": "number"
  34543. },
  34544. "daymaxvalue2": {
  34545. "description": "配置当日最大转入限制(转入)",
  34546. "type": "number"
  34547. },
  34548. "goodscode": {
  34549. "description": "商品代码",
  34550. "type": "string"
  34551. },
  34552. "goodsname": {
  34553. "description": "商品名称",
  34554. "type": "string"
  34555. },
  34556. "handlestatus": {
  34557. "description": "处理状态",
  34558. "type": "integer"
  34559. },
  34560. "innergoodsid": {
  34561. "description": "内部商品ID",
  34562. "type": "integer"
  34563. },
  34564. "inratio": {
  34565. "description": "配置转入比值",
  34566. "type": "integer"
  34567. },
  34568. "invalue": {
  34569. "description": "目标值",
  34570. "type": "number"
  34571. },
  34572. "logid": {
  34573. "description": "LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  34574. "type": "integer"
  34575. },
  34576. "mobile": {
  34577. "description": "手机号码(加密存储)",
  34578. "type": "string"
  34579. },
  34580. "outergoodscode": {
  34581. "description": "外部商品代码[JD\\PD]",
  34582. "type": "string"
  34583. },
  34584. "outratio": {
  34585. "description": "配置转出比值",
  34586. "type": "integer"
  34587. },
  34588. "outvalue": {
  34589. "description": "源值",
  34590. "type": "number"
  34591. },
  34592. "pddecimalplace": {
  34593. "description": "PD小数位",
  34594. "type": "integer"
  34595. },
  34596. "qty": {
  34597. "description": "数量",
  34598. "type": "string"
  34599. },
  34600. "remark": {
  34601. "description": "备注",
  34602. "type": "string"
  34603. },
  34604. "sessionid": {
  34605. "description": "会话ID",
  34606. "type": "integer"
  34607. },
  34608. "timemaxvalue": {
  34609. "description": "配置单次最大转入限制",
  34610. "type": "number"
  34611. },
  34612. "timemaxvalue2": {
  34613. "description": "配置单次最大转入限制(转入)",
  34614. "type": "number"
  34615. },
  34616. "timeminvalue": {
  34617. "description": "配置单次最小数量限制",
  34618. "type": "number"
  34619. },
  34620. "timeminvalue2": {
  34621. "description": "配置单次最小数量限制(转入)",
  34622. "type": "number"
  34623. },
  34624. "tradedate": {
  34625. "description": "交易日(yyyyMMdd)",
  34626. "type": "string"
  34627. },
  34628. "userid": {
  34629. "description": "用户ID",
  34630. "type": "integer"
  34631. }
  34632. }
  34633. },
  34634. "szdz.QueryGoodsPickupRsp": {
  34635. "type": "object",
  34636. "required": [
  34637. "takeorderid"
  34638. ],
  34639. "properties": {
  34640. "accountid": {
  34641. "description": "账户ID",
  34642. "type": "integer"
  34643. },
  34644. "address": {
  34645. "description": "提货人详细地址",
  34646. "type": "string"
  34647. },
  34648. "auditer": {
  34649. "description": "审核人",
  34650. "type": "integer"
  34651. },
  34652. "audittime": {
  34653. "description": "审核时间",
  34654. "type": "string"
  34655. },
  34656. "cardnum": {
  34657. "description": "提货人证件号码",
  34658. "type": "string"
  34659. },
  34660. "cardtypeid": {
  34661. "description": "提货人证件类型",
  34662. "type": "integer"
  34663. },
  34664. "checkremark": {
  34665. "description": "审核备注",
  34666. "type": "string"
  34667. },
  34668. "goodscode": {
  34669. "description": "商品代码",
  34670. "type": "string"
  34671. },
  34672. "goodsid": {
  34673. "description": "商品ID",
  34674. "type": "integer"
  34675. },
  34676. "goodsname": {
  34677. "description": "商品名称",
  34678. "type": "string"
  34679. },
  34680. "handlestatus": {
  34681. "description": "处理状态",
  34682. "type": "integer"
  34683. },
  34684. "marketid": {
  34685. "description": "市场ID",
  34686. "type": "integer"
  34687. },
  34688. "phonenum": {
  34689. "description": "提货人联系方式",
  34690. "type": "string"
  34691. },
  34692. "qty": {
  34693. "description": "提货数量",
  34694. "type": "number"
  34695. },
  34696. "recivername": {
  34697. "description": "提货人姓名",
  34698. "type": "string"
  34699. },
  34700. "reqtime": {
  34701. "description": "更新时间",
  34702. "type": "string"
  34703. },
  34704. "takemode": {
  34705. "description": "提货方式 - 2:自提 3:配送",
  34706. "type": "integer"
  34707. },
  34708. "takeorderid": {
  34709. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  34710. "type": "string"
  34711. },
  34712. "takeorderstatus": {
  34713. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  34714. "type": "integer"
  34715. },
  34716. "takeremark": {
  34717. "description": "提货备注",
  34718. "type": "string"
  34719. },
  34720. "tradedate": {
  34721. "description": "交易日(yyyyMMdd)",
  34722. "type": "string"
  34723. },
  34724. "userid": {
  34725. "description": "用户ID",
  34726. "type": "integer"
  34727. }
  34728. }
  34729. },
  34730. "szdz.QueryRecieptOrderRsp": {
  34731. "type": "object",
  34732. "required": [
  34733. "ordertime"
  34734. ],
  34735. "properties": {
  34736. "accountName": {
  34737. "description": "所属账号名称(已脱敏)",
  34738. "type": "string"
  34739. },
  34740. "accountid": {
  34741. "description": "资金账号",
  34742. "type": "integer"
  34743. },
  34744. "buyorsell": {
  34745. "description": "方向 - 0:买 1:卖",
  34746. "type": "integer"
  34747. },
  34748. "enableqty": {
  34749. "description": "可摘数量",
  34750. "type": "integer"
  34751. },
  34752. "goodscode": {
  34753. "description": "商品代码",
  34754. "type": "string"
  34755. },
  34756. "goodsid": {
  34757. "description": "商品ID",
  34758. "type": "integer"
  34759. },
  34760. "goodsname": {
  34761. "description": "商品名称",
  34762. "type": "string"
  34763. },
  34764. "orderid": {
  34765. "description": "委托单号",
  34766. "type": "string"
  34767. },
  34768. "orderprice": {
  34769. "description": "委托价格",
  34770. "type": "number"
  34771. },
  34772. "ordertime": {
  34773. "description": "委托时间",
  34774. "type": "string"
  34775. },
  34776. "tradedate": {
  34777. "description": "交易日(yyyyMMdd)",
  34778. "type": "string"
  34779. }
  34780. }
  34781. },
  34782. "szdz.QuerySZDZTradePositionRsp": {
  34783. "type": "object",
  34784. "properties": {
  34785. "accountid": {
  34786. "description": "账号Id",
  34787. "type": "integer"
  34788. },
  34789. "agreeunit": {
  34790. "description": "合约单位",
  34791. "type": "number"
  34792. },
  34793. "averageprice": {
  34794. "description": "持仓均价",
  34795. "type": "number"
  34796. },
  34797. "buyorsell": {
  34798. "description": "方向 - 0:买 1:卖",
  34799. "type": "integer"
  34800. },
  34801. "closetotalqty": {
  34802. "description": "平仓总数量",
  34803. "type": "integer"
  34804. },
  34805. "curholderamount": {
  34806. "description": "当前持仓总金额",
  34807. "type": "number"
  34808. },
  34809. "curpositionqty": {
  34810. "description": "当前持仓总数量",
  34811. "type": "integer"
  34812. },
  34813. "currencyid": {
  34814. "description": "报价货币ID",
  34815. "type": "integer"
  34816. },
  34817. "curtdposition": {
  34818. "description": "期末今日头寸",
  34819. "type": "integer"
  34820. },
  34821. "decimalplace": {
  34822. "description": "报价小数位",
  34823. "type": "integer"
  34824. },
  34825. "enableqty": {
  34826. "description": "可用量",
  34827. "type": "integer"
  34828. },
  34829. "fretdposition": {
  34830. "description": "冻结今日头寸",
  34831. "type": "integer"
  34832. },
  34833. "frozenqty": {
  34834. "description": "持仓冻结数量",
  34835. "type": "integer"
  34836. },
  34837. "goodscode": {
  34838. "description": "商品代码(内部)",
  34839. "type": "string"
  34840. },
  34841. "goodsid": {
  34842. "description": "商品Id",
  34843. "type": "integer"
  34844. },
  34845. "goodsname": {
  34846. "description": "商品名称",
  34847. "type": "string"
  34848. },
  34849. "goodunit": {
  34850. "description": "报价单位",
  34851. "type": "string"
  34852. },
  34853. "goodunitid": {
  34854. "description": "报价单位ID",
  34855. "type": "integer"
  34856. },
  34857. "holderamount": {
  34858. "description": "期初持仓总金额",
  34859. "type": "number"
  34860. },
  34861. "marketid": {
  34862. "description": "市场ID",
  34863. "type": "integer"
  34864. },
  34865. "openreqqty": {
  34866. "description": "开仓申请数量",
  34867. "type": "integer"
  34868. },
  34869. "opentotalqty": {
  34870. "description": "开仓总数量",
  34871. "type": "integer"
  34872. },
  34873. "otherfrozenqty": {
  34874. "description": "持仓其他冻结数量(交割冻结)",
  34875. "type": "integer"
  34876. },
  34877. "positionqty": {
  34878. "description": "期初持仓数量",
  34879. "type": "integer"
  34880. },
  34881. "szdz3freezqty": {
  34882. "description": "尚志大宗转换冻结总数量",
  34883. "type": "integer"
  34884. },
  34885. "tnqty": {
  34886. "description": "T+N冻结总量",
  34887. "type": "integer"
  34888. },
  34889. "tnusedqty": {
  34890. "description": "T+N使用量",
  34891. "type": "integer"
  34892. },
  34893. "trademode": {
  34894. "description": "交易模式",
  34895. "type": "integer"
  34896. },
  34897. "usedmargin": {
  34898. "description": "占用保证金",
  34899. "type": "number"
  34900. }
  34901. }
  34902. },
  34903. "taaccount.QueryAmountLogRsp": {
  34904. "type": "object",
  34905. "required": [
  34906. "accountid",
  34907. "amount",
  34908. "amountadjusttype",
  34909. "autoid",
  34910. "balance",
  34911. "createtime",
  34912. "currentbalance",
  34913. "operatetype"
  34914. ],
  34915. "properties": {
  34916. "OPERATETYPENAME": {
  34917. "description": "资金操作类型名称",
  34918. "type": "string"
  34919. },
  34920. "accountid": {
  34921. "description": "资金账户ID",
  34922. "type": "integer"
  34923. },
  34924. "agoodscode": {
  34925. "description": "竞拍商品代码",
  34926. "type": "string"
  34927. },
  34928. "agoodsname": {
  34929. "description": "竞拍商品名称",
  34930. "type": "string"
  34931. },
  34932. "amount": {
  34933. "description": "资金金额",
  34934. "type": "number"
  34935. },
  34936. "amountadjusttype": {
  34937. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  34938. "type": "integer"
  34939. },
  34940. "autoid": {
  34941. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  34942. "type": "integer"
  34943. },
  34944. "balance": {
  34945. "description": "期初余额",
  34946. "type": "number"
  34947. },
  34948. "businesscode": {
  34949. "description": "业务编号",
  34950. "type": "integer"
  34951. },
  34952. "createtime": {
  34953. "description": "发生时间",
  34954. "type": "string"
  34955. },
  34956. "currencyid": {
  34957. "description": "币种ID",
  34958. "type": "integer"
  34959. },
  34960. "currentbalance": {
  34961. "description": "期末余额(变动后金额)",
  34962. "type": "number"
  34963. },
  34964. "dgoodscode": {
  34965. "description": "交割商品代码",
  34966. "type": "string"
  34967. },
  34968. "dgoodsname": {
  34969. "description": "交割商品名称",
  34970. "type": "string"
  34971. },
  34972. "goodscode": {
  34973. "description": "商品代码",
  34974. "type": "string"
  34975. },
  34976. "goodsid": {
  34977. "description": "商品ID",
  34978. "type": "integer"
  34979. },
  34980. "goodsname": {
  34981. "description": "商品名称",
  34982. "type": "string"
  34983. },
  34984. "marketid": {
  34985. "description": "市场ID",
  34986. "type": "integer"
  34987. },
  34988. "marketname": {
  34989. "description": "市场名称",
  34990. "type": "string"
  34991. },
  34992. "moneyticket": {
  34993. "description": "资金流水号:银行端流水号",
  34994. "type": "integer"
  34995. },
  34996. "operatetype": {
  34997. "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:营销收款",
  34998. "type": "integer"
  34999. },
  35000. "relationorderid": {
  35001. "description": "关联单号",
  35002. "type": "string"
  35003. },
  35004. "remark": {
  35005. "description": "备注",
  35006. "type": "string"
  35007. },
  35008. "trademode": {
  35009. "description": "交易模式",
  35010. "type": "integer"
  35011. }
  35012. }
  35013. },
  35014. "taaccount.QueryHisAmountLogRsp": {
  35015. "type": "object",
  35016. "required": [
  35017. "accountid",
  35018. "amount",
  35019. "amountadjusttype",
  35020. "autoid",
  35021. "balance",
  35022. "createtime",
  35023. "currentbalance",
  35024. "histradedate",
  35025. "operatetype"
  35026. ],
  35027. "properties": {
  35028. "OPERATETYPENAME": {
  35029. "description": "资金操作类型名称",
  35030. "type": "string"
  35031. },
  35032. "accountid": {
  35033. "description": "资金账户ID",
  35034. "type": "integer"
  35035. },
  35036. "agoodscode": {
  35037. "description": "竞拍商品代码",
  35038. "type": "string"
  35039. },
  35040. "agoodsname": {
  35041. "description": "竞拍商品名称",
  35042. "type": "string"
  35043. },
  35044. "amount": {
  35045. "description": "资金金额",
  35046. "type": "number"
  35047. },
  35048. "amountadjusttype": {
  35049. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  35050. "type": "integer"
  35051. },
  35052. "autoid": {
  35053. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  35054. "type": "integer"
  35055. },
  35056. "balance": {
  35057. "description": "期初余额",
  35058. "type": "number"
  35059. },
  35060. "businesscode": {
  35061. "description": "业务编号",
  35062. "type": "integer"
  35063. },
  35064. "createtime": {
  35065. "description": "发生时间",
  35066. "type": "string"
  35067. },
  35068. "currencyid": {
  35069. "description": "币种ID",
  35070. "type": "integer"
  35071. },
  35072. "currentbalance": {
  35073. "description": "期末余额(变动后金额)",
  35074. "type": "number"
  35075. },
  35076. "dgoodscode": {
  35077. "description": "交割商品代码",
  35078. "type": "string"
  35079. },
  35080. "dgoodsname": {
  35081. "description": "交割商品名称",
  35082. "type": "string"
  35083. },
  35084. "goodscode": {
  35085. "description": "商品代码",
  35086. "type": "string"
  35087. },
  35088. "goodsid": {
  35089. "description": "商品ID",
  35090. "type": "integer"
  35091. },
  35092. "goodsname": {
  35093. "description": "商品名称",
  35094. "type": "string"
  35095. },
  35096. "histradedate": {
  35097. "description": "历史交易日",
  35098. "type": "string"
  35099. },
  35100. "isvaliddata": {
  35101. "description": "是否有效 - 0:无效 1:有效",
  35102. "type": "integer"
  35103. },
  35104. "marketid": {
  35105. "description": "市场ID",
  35106. "type": "integer"
  35107. },
  35108. "marketname": {
  35109. "description": "市场名称",
  35110. "type": "string"
  35111. },
  35112. "moneyticket": {
  35113. "description": "资金流水号:银行端流水号",
  35114. "type": "integer"
  35115. },
  35116. "operatetype": {
  35117. "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:营销收款",
  35118. "type": "integer"
  35119. },
  35120. "relationorderid": {
  35121. "description": "关联单号",
  35122. "type": "string"
  35123. },
  35124. "remark": {
  35125. "description": "备注",
  35126. "type": "string"
  35127. },
  35128. "trademode": {
  35129. "description": "交易模式",
  35130. "type": "integer"
  35131. }
  35132. }
  35133. },
  35134. "trade.QueryRecieptOrderRsp": {
  35135. "type": "object",
  35136. "required": [
  35137. "ordertime"
  35138. ],
  35139. "properties": {
  35140. "accountName": {
  35141. "description": "所属账号名称(已脱敏)",
  35142. "type": "string"
  35143. },
  35144. "accountid": {
  35145. "description": "资金账号",
  35146. "type": "integer"
  35147. },
  35148. "buyorsell": {
  35149. "description": "方向 - 0:买 1:卖",
  35150. "type": "integer"
  35151. },
  35152. "enableqty": {
  35153. "description": "可摘数量",
  35154. "type": "integer"
  35155. },
  35156. "goodscode": {
  35157. "description": "商品代码",
  35158. "type": "string"
  35159. },
  35160. "goodsid": {
  35161. "description": "商品ID",
  35162. "type": "integer"
  35163. },
  35164. "goodsname": {
  35165. "description": "商品名称",
  35166. "type": "string"
  35167. },
  35168. "orderid": {
  35169. "description": "委托单号",
  35170. "type": "string"
  35171. },
  35172. "orderprice": {
  35173. "description": "委托价格",
  35174. "type": "number"
  35175. },
  35176. "ordertime": {
  35177. "description": "委托时间",
  35178. "type": "string"
  35179. },
  35180. "tradedate": {
  35181. "description": "交易日(yyyyMMdd)",
  35182. "type": "string"
  35183. }
  35184. }
  35185. },
  35186. "user.LoginQueryRsp": {
  35187. "type": "object",
  35188. "properties": {
  35189. "areaRoles": {
  35190. "description": "所属角色信息",
  35191. "type": "array",
  35192. "items": {
  35193. "$ref": "#/definitions/models.Arearole"
  35194. }
  35195. },
  35196. "externalExchanges": {
  35197. "description": "外部交易所",
  35198. "type": "array",
  35199. "items": {
  35200. "$ref": "#/definitions/models.Externalexchange"
  35201. }
  35202. },
  35203. "goodsgroups": {
  35204. "description": "商品组",
  35205. "type": "array",
  35206. "items": {
  35207. "$ref": "#/definitions/models.Goodsgroup"
  35208. }
  35209. },
  35210. "loginAccount": {
  35211. "description": "登录账号",
  35212. "type": "object",
  35213. "$ref": "#/definitions/models.Loginaccount"
  35214. },
  35215. "markets": {
  35216. "description": "市场",
  35217. "type": "array",
  35218. "items": {
  35219. "$ref": "#/definitions/models.Market"
  35220. }
  35221. },
  35222. "systemParams": {
  35223. "description": "系统参数",
  35224. "type": "array",
  35225. "items": {
  35226. "$ref": "#/definitions/models.Systemparam"
  35227. }
  35228. },
  35229. "userAccount": {
  35230. "description": "用户账号",
  35231. "type": "object",
  35232. "$ref": "#/definitions/models.Useraccount"
  35233. },
  35234. "userInfo": {
  35235. "description": "用户信息",
  35236. "type": "object",
  35237. "$ref": "#/definitions/models.Userinfo"
  35238. },
  35239. "username": {
  35240. "description": "用户姓名",
  35241. "type": "string"
  35242. }
  35243. }
  35244. }
  35245. },
  35246. "securityDefinitions": {
  35247. "ApiKeyAuth": {
  35248. "type": "apiKey",
  35249. "name": "Authorization",
  35250. "in": "header"
  35251. }
  35252. }
  35253. }`
  35254. type swaggerInfo struct {
  35255. Version string
  35256. Host string
  35257. BasePath string
  35258. Schemes []string
  35259. Title string
  35260. Description string
  35261. }
  35262. // SwaggerInfo holds exported Swagger Info so clients can modify it
  35263. var SwaggerInfo = swaggerInfo{
  35264. Version: "1.0",
  35265. Host: "",
  35266. BasePath: "/api",
  35267. Schemes: []string{},
  35268. Title: "MTP2.0 查询服务 API",
  35269. Description: "新的查询服务,替代原通用查询服务。游客Token:c886a057f3d820d4dbc41473686c7c2d",
  35270. }
  35271. type s struct{}
  35272. func (s *s) ReadDoc() string {
  35273. sInfo := SwaggerInfo
  35274. sInfo.Description = strings.Replace(sInfo.Description, "\n", "\\n", -1)
  35275. t, err := template.New("swagger_info").Funcs(template.FuncMap{
  35276. "marshal": func(v interface{}) string {
  35277. a, _ := json.Marshal(v)
  35278. return string(a)
  35279. },
  35280. }).Parse(doc)
  35281. if err != nil {
  35282. return doc
  35283. }
  35284. var tpl bytes.Buffer
  35285. if err := t.Execute(&tpl, sInfo); err != nil {
  35286. return doc
  35287. }
  35288. return tpl.String()
  35289. }
  35290. func init() {
  35291. swag.Register(swag.Name, &s{})
  35292. }