docs.go 1.3 MB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395539653975398539954005401540254035404540554065407540854095410541154125413541454155416541754185419542054215422542354245425542654275428542954305431543254335434543554365437543854395440544154425443544454455446544754485449545054515452545354545455545654575458545954605461546254635464546554665467546854695470547154725473547454755476547754785479548054815482548354845485548654875488548954905491549254935494549554965497549854995500550155025503550455055506550755085509551055115512551355145515551655175518551955205521552255235524552555265527552855295530553155325533553455355536553755385539554055415542554355445545554655475548554955505551555255535554555555565557555855595560556155625563556455655566556755685569557055715572557355745575557655775578557955805581558255835584558555865587558855895590559155925593559455955596559755985599560056015602560356045605560656075608560956105611561256135614561556165617561856195620562156225623562456255626562756285629563056315632563356345635563656375638563956405641564256435644564556465647564856495650565156525653565456555656565756585659566056615662566356645665566656675668566956705671567256735674567556765677567856795680568156825683568456855686568756885689569056915692569356945695569656975698569957005701570257035704570557065707570857095710571157125713571457155716571757185719572057215722572357245725572657275728572957305731573257335734573557365737573857395740574157425743574457455746574757485749575057515752575357545755575657575758575957605761576257635764576557665767576857695770577157725773577457755776577757785779578057815782578357845785578657875788578957905791579257935794579557965797579857995800580158025803580458055806580758085809581058115812581358145815581658175818581958205821582258235824582558265827582858295830583158325833583458355836583758385839584058415842584358445845584658475848584958505851585258535854585558565857585858595860586158625863586458655866586758685869587058715872587358745875587658775878587958805881588258835884588558865887588858895890589158925893589458955896589758985899590059015902590359045905590659075908590959105911591259135914591559165917591859195920592159225923592459255926592759285929593059315932593359345935593659375938593959405941594259435944594559465947594859495950595159525953595459555956595759585959596059615962596359645965596659675968596959705971597259735974597559765977597859795980598159825983598459855986598759885989599059915992599359945995599659975998599960006001600260036004600560066007600860096010601160126013601460156016601760186019602060216022602360246025602660276028602960306031603260336034603560366037603860396040604160426043604460456046604760486049605060516052605360546055605660576058605960606061606260636064606560666067606860696070607160726073607460756076607760786079608060816082608360846085608660876088608960906091609260936094609560966097609860996100610161026103610461056106610761086109611061116112611361146115611661176118611961206121612261236124612561266127612861296130613161326133613461356136613761386139614061416142614361446145614661476148614961506151615261536154615561566157615861596160616161626163616461656166616761686169617061716172617361746175617661776178617961806181618261836184618561866187618861896190619161926193619461956196619761986199620062016202620362046205620662076208620962106211621262136214621562166217621862196220622162226223622462256226622762286229623062316232623362346235623662376238623962406241624262436244624562466247624862496250625162526253625462556256625762586259626062616262626362646265626662676268626962706271627262736274627562766277627862796280628162826283628462856286628762886289629062916292629362946295629662976298629963006301630263036304630563066307630863096310631163126313631463156316631763186319632063216322632363246325632663276328632963306331633263336334633563366337633863396340634163426343634463456346634763486349635063516352635363546355635663576358635963606361636263636364636563666367636863696370637163726373637463756376637763786379638063816382638363846385638663876388638963906391639263936394639563966397639863996400640164026403640464056406640764086409641064116412641364146415641664176418641964206421642264236424642564266427642864296430643164326433643464356436643764386439644064416442644364446445644664476448644964506451645264536454645564566457645864596460646164626463646464656466646764686469647064716472647364746475647664776478647964806481648264836484648564866487648864896490649164926493649464956496649764986499650065016502650365046505650665076508650965106511651265136514651565166517651865196520652165226523652465256526652765286529653065316532653365346535653665376538653965406541654265436544654565466547654865496550655165526553655465556556655765586559656065616562656365646565656665676568656965706571657265736574657565766577657865796580658165826583658465856586658765886589659065916592659365946595659665976598659966006601660266036604660566066607660866096610661166126613661466156616661766186619662066216622662366246625662666276628662966306631663266336634663566366637663866396640664166426643664466456646664766486649665066516652665366546655665666576658665966606661666266636664666566666667666866696670667166726673667466756676667766786679668066816682668366846685668666876688668966906691669266936694669566966697669866996700670167026703670467056706670767086709671067116712671367146715671667176718671967206721672267236724672567266727672867296730673167326733673467356736673767386739674067416742674367446745674667476748674967506751675267536754675567566757675867596760676167626763676467656766676767686769677067716772677367746775677667776778677967806781678267836784678567866787678867896790679167926793679467956796679767986799680068016802680368046805680668076808680968106811681268136814681568166817681868196820682168226823682468256826682768286829683068316832683368346835683668376838683968406841684268436844684568466847684868496850685168526853685468556856685768586859686068616862686368646865686668676868686968706871687268736874687568766877687868796880688168826883688468856886688768886889689068916892689368946895689668976898689969006901690269036904690569066907690869096910691169126913691469156916691769186919692069216922692369246925692669276928692969306931693269336934693569366937693869396940694169426943694469456946694769486949695069516952695369546955695669576958695969606961696269636964696569666967696869696970697169726973697469756976697769786979698069816982698369846985698669876988698969906991699269936994699569966997699869997000700170027003700470057006700770087009701070117012701370147015701670177018701970207021702270237024702570267027702870297030703170327033703470357036703770387039704070417042704370447045704670477048704970507051705270537054705570567057705870597060706170627063706470657066706770687069707070717072707370747075707670777078707970807081708270837084708570867087708870897090709170927093709470957096709770987099710071017102710371047105710671077108710971107111711271137114711571167117711871197120712171227123712471257126712771287129713071317132713371347135713671377138713971407141714271437144714571467147714871497150715171527153715471557156715771587159716071617162716371647165716671677168716971707171717271737174717571767177717871797180718171827183718471857186718771887189719071917192719371947195719671977198719972007201720272037204720572067207720872097210721172127213721472157216721772187219722072217222722372247225722672277228722972307231723272337234723572367237723872397240724172427243724472457246724772487249725072517252725372547255725672577258725972607261726272637264726572667267726872697270727172727273727472757276727772787279728072817282728372847285728672877288728972907291729272937294729572967297729872997300730173027303730473057306730773087309731073117312731373147315731673177318731973207321732273237324732573267327732873297330733173327333733473357336733773387339734073417342734373447345734673477348734973507351735273537354735573567357735873597360736173627363736473657366736773687369737073717372737373747375737673777378737973807381738273837384738573867387738873897390739173927393739473957396739773987399740074017402740374047405740674077408740974107411741274137414741574167417741874197420742174227423742474257426742774287429743074317432743374347435743674377438743974407441744274437444744574467447744874497450745174527453745474557456745774587459746074617462746374647465746674677468746974707471747274737474747574767477747874797480748174827483748474857486748774887489749074917492749374947495749674977498749975007501750275037504750575067507750875097510751175127513751475157516751775187519752075217522752375247525752675277528752975307531753275337534753575367537753875397540754175427543754475457546754775487549755075517552755375547555755675577558755975607561756275637564756575667567756875697570757175727573757475757576757775787579758075817582758375847585758675877588758975907591759275937594759575967597759875997600760176027603760476057606760776087609761076117612761376147615761676177618761976207621762276237624762576267627762876297630763176327633763476357636763776387639764076417642764376447645764676477648764976507651765276537654765576567657765876597660766176627663766476657666766776687669767076717672767376747675767676777678767976807681768276837684768576867687768876897690769176927693769476957696769776987699770077017702770377047705770677077708770977107711771277137714771577167717771877197720772177227723772477257726772777287729773077317732773377347735773677377738773977407741774277437744774577467747774877497750775177527753775477557756775777587759776077617762776377647765776677677768776977707771777277737774777577767777777877797780778177827783778477857786778777887789779077917792779377947795779677977798779978007801780278037804780578067807780878097810781178127813781478157816781778187819782078217822782378247825782678277828782978307831783278337834783578367837783878397840784178427843784478457846784778487849785078517852785378547855785678577858785978607861786278637864786578667867786878697870787178727873787478757876787778787879788078817882788378847885788678877888788978907891789278937894789578967897789878997900790179027903790479057906790779087909791079117912791379147915791679177918791979207921792279237924792579267927792879297930793179327933793479357936793779387939794079417942794379447945794679477948794979507951795279537954795579567957795879597960796179627963796479657966796779687969797079717972797379747975797679777978797979807981798279837984798579867987798879897990799179927993799479957996799779987999800080018002800380048005800680078008800980108011801280138014801580168017801880198020802180228023802480258026802780288029803080318032803380348035803680378038803980408041804280438044804580468047804880498050805180528053805480558056805780588059806080618062806380648065806680678068806980708071807280738074807580768077807880798080808180828083808480858086808780888089809080918092809380948095809680978098809981008101810281038104810581068107810881098110811181128113811481158116811781188119812081218122812381248125812681278128812981308131813281338134813581368137813881398140814181428143814481458146814781488149815081518152815381548155815681578158815981608161816281638164816581668167816881698170817181728173817481758176817781788179818081818182818381848185818681878188818981908191819281938194819581968197819881998200820182028203820482058206820782088209821082118212821382148215821682178218821982208221822282238224822582268227822882298230823182328233823482358236823782388239824082418242824382448245824682478248824982508251825282538254825582568257825882598260826182628263826482658266826782688269827082718272827382748275827682778278827982808281828282838284828582868287828882898290829182928293829482958296829782988299830083018302830383048305830683078308830983108311831283138314831583168317831883198320832183228323832483258326832783288329833083318332833383348335833683378338833983408341834283438344834583468347834883498350835183528353835483558356835783588359836083618362836383648365836683678368836983708371837283738374837583768377837883798380838183828383838483858386838783888389839083918392839383948395839683978398839984008401840284038404840584068407840884098410841184128413841484158416841784188419842084218422842384248425842684278428842984308431843284338434843584368437843884398440844184428443844484458446844784488449845084518452845384548455845684578458845984608461846284638464846584668467846884698470847184728473847484758476847784788479848084818482848384848485848684878488848984908491849284938494849584968497849884998500850185028503850485058506850785088509851085118512851385148515851685178518851985208521852285238524852585268527852885298530853185328533853485358536853785388539854085418542854385448545854685478548854985508551855285538554855585568557855885598560856185628563856485658566856785688569857085718572857385748575857685778578857985808581858285838584858585868587858885898590859185928593859485958596859785988599860086018602860386048605860686078608860986108611861286138614861586168617861886198620862186228623862486258626862786288629863086318632863386348635863686378638863986408641864286438644864586468647864886498650865186528653865486558656865786588659866086618662866386648665866686678668866986708671867286738674867586768677867886798680868186828683868486858686868786888689869086918692869386948695869686978698869987008701870287038704870587068707870887098710871187128713871487158716871787188719872087218722872387248725872687278728872987308731873287338734873587368737873887398740874187428743874487458746874787488749875087518752875387548755875687578758875987608761876287638764876587668767876887698770877187728773877487758776877787788779878087818782878387848785878687878788878987908791879287938794879587968797879887998800880188028803880488058806880788088809881088118812881388148815881688178818881988208821882288238824882588268827882888298830883188328833883488358836883788388839884088418842884388448845884688478848884988508851885288538854885588568857885888598860886188628863886488658866886788688869887088718872887388748875887688778878887988808881888288838884888588868887888888898890889188928893889488958896889788988899890089018902890389048905890689078908890989108911891289138914891589168917891889198920892189228923892489258926892789288929893089318932893389348935893689378938893989408941894289438944894589468947894889498950895189528953895489558956895789588959896089618962896389648965896689678968896989708971897289738974897589768977897889798980898189828983898489858986898789888989899089918992899389948995899689978998899990009001900290039004900590069007900890099010901190129013901490159016901790189019902090219022902390249025902690279028902990309031903290339034903590369037903890399040904190429043904490459046904790489049905090519052905390549055905690579058905990609061906290639064906590669067906890699070907190729073907490759076907790789079908090819082908390849085908690879088908990909091909290939094909590969097909890999100910191029103910491059106910791089109911091119112911391149115911691179118911991209121912291239124912591269127912891299130913191329133913491359136913791389139914091419142914391449145914691479148914991509151915291539154915591569157915891599160916191629163916491659166916791689169917091719172917391749175917691779178917991809181918291839184918591869187918891899190919191929193919491959196919791989199920092019202920392049205920692079208920992109211921292139214921592169217921892199220922192229223922492259226922792289229923092319232923392349235923692379238923992409241924292439244924592469247924892499250925192529253925492559256925792589259926092619262926392649265926692679268926992709271927292739274927592769277927892799280928192829283928492859286928792889289929092919292929392949295929692979298929993009301930293039304930593069307930893099310931193129313931493159316931793189319932093219322932393249325932693279328932993309331933293339334933593369337933893399340934193429343934493459346934793489349935093519352935393549355935693579358935993609361936293639364936593669367936893699370937193729373937493759376937793789379938093819382938393849385938693879388938993909391939293939394939593969397939893999400940194029403940494059406940794089409941094119412941394149415941694179418941994209421942294239424942594269427942894299430943194329433943494359436943794389439944094419442944394449445944694479448944994509451945294539454945594569457945894599460946194629463946494659466946794689469947094719472947394749475947694779478947994809481948294839484948594869487948894899490949194929493949494959496949794989499950095019502950395049505950695079508950995109511951295139514951595169517951895199520952195229523952495259526952795289529953095319532953395349535953695379538953995409541954295439544954595469547954895499550955195529553955495559556955795589559956095619562956395649565956695679568956995709571957295739574957595769577957895799580958195829583958495859586958795889589959095919592959395949595959695979598959996009601960296039604960596069607960896099610961196129613961496159616961796189619962096219622962396249625962696279628962996309631963296339634963596369637963896399640964196429643964496459646964796489649965096519652965396549655965696579658965996609661966296639664966596669667966896699670967196729673967496759676967796789679968096819682968396849685968696879688968996909691969296939694969596969697969896999700970197029703970497059706970797089709971097119712971397149715971697179718971997209721972297239724972597269727972897299730973197329733973497359736973797389739974097419742974397449745974697479748974997509751975297539754975597569757975897599760976197629763976497659766976797689769977097719772977397749775977697779778977997809781978297839784978597869787978897899790979197929793979497959796979797989799980098019802980398049805980698079808980998109811981298139814981598169817981898199820982198229823982498259826982798289829983098319832983398349835983698379838983998409841984298439844984598469847984898499850985198529853985498559856985798589859986098619862986398649865986698679868986998709871987298739874987598769877987898799880988198829883988498859886988798889889989098919892989398949895989698979898989999009901990299039904990599069907990899099910991199129913991499159916991799189919992099219922992399249925992699279928992999309931993299339934993599369937993899399940994199429943994499459946994799489949995099519952995399549955995699579958995999609961996299639964996599669967996899699970997199729973997499759976997799789979998099819982998399849985998699879988998999909991999299939994999599969997999899991000010001100021000310004100051000610007100081000910010100111001210013100141001510016100171001810019100201002110022100231002410025100261002710028100291003010031100321003310034100351003610037100381003910040100411004210043100441004510046100471004810049100501005110052100531005410055100561005710058100591006010061100621006310064100651006610067100681006910070100711007210073100741007510076100771007810079100801008110082100831008410085100861008710088100891009010091100921009310094100951009610097100981009910100101011010210103101041010510106101071010810109101101011110112101131011410115101161011710118101191012010121101221012310124101251012610127101281012910130101311013210133101341013510136101371013810139101401014110142101431014410145101461014710148101491015010151101521015310154101551015610157101581015910160101611016210163101641016510166101671016810169101701017110172101731017410175101761017710178101791018010181101821018310184101851018610187101881018910190101911019210193101941019510196101971019810199102001020110202102031020410205102061020710208102091021010211102121021310214102151021610217102181021910220102211022210223102241022510226102271022810229102301023110232102331023410235102361023710238102391024010241102421024310244102451024610247102481024910250102511025210253102541025510256102571025810259102601026110262102631026410265102661026710268102691027010271102721027310274102751027610277102781027910280102811028210283102841028510286102871028810289102901029110292102931029410295102961029710298102991030010301103021030310304103051030610307103081030910310103111031210313103141031510316103171031810319103201032110322103231032410325103261032710328103291033010331103321033310334103351033610337103381033910340103411034210343103441034510346103471034810349103501035110352103531035410355103561035710358103591036010361103621036310364103651036610367103681036910370103711037210373103741037510376103771037810379103801038110382103831038410385103861038710388103891039010391103921039310394103951039610397103981039910400104011040210403104041040510406104071040810409104101041110412104131041410415104161041710418104191042010421104221042310424104251042610427104281042910430104311043210433104341043510436104371043810439104401044110442104431044410445104461044710448104491045010451104521045310454104551045610457104581045910460104611046210463104641046510466104671046810469104701047110472104731047410475104761047710478104791048010481104821048310484104851048610487104881048910490104911049210493104941049510496104971049810499105001050110502105031050410505105061050710508105091051010511105121051310514105151051610517105181051910520105211052210523105241052510526105271052810529105301053110532105331053410535105361053710538105391054010541105421054310544105451054610547105481054910550105511055210553105541055510556105571055810559105601056110562105631056410565105661056710568105691057010571105721057310574105751057610577105781057910580105811058210583105841058510586105871058810589105901059110592105931059410595105961059710598105991060010601106021060310604106051060610607106081060910610106111061210613106141061510616106171061810619106201062110622106231062410625106261062710628106291063010631106321063310634106351063610637106381063910640106411064210643106441064510646106471064810649106501065110652106531065410655106561065710658106591066010661106621066310664106651066610667106681066910670106711067210673106741067510676106771067810679106801068110682106831068410685106861068710688106891069010691106921069310694106951069610697106981069910700107011070210703107041070510706107071070810709107101071110712107131071410715107161071710718107191072010721107221072310724107251072610727107281072910730107311073210733107341073510736107371073810739107401074110742107431074410745107461074710748107491075010751107521075310754107551075610757107581075910760107611076210763107641076510766107671076810769107701077110772107731077410775107761077710778107791078010781107821078310784107851078610787107881078910790107911079210793107941079510796107971079810799108001080110802108031080410805108061080710808108091081010811108121081310814108151081610817108181081910820108211082210823108241082510826108271082810829108301083110832108331083410835108361083710838108391084010841108421084310844108451084610847108481084910850108511085210853108541085510856108571085810859108601086110862108631086410865108661086710868108691087010871108721087310874108751087610877108781087910880108811088210883108841088510886108871088810889108901089110892108931089410895108961089710898108991090010901109021090310904109051090610907109081090910910109111091210913109141091510916109171091810919109201092110922109231092410925109261092710928109291093010931109321093310934109351093610937109381093910940109411094210943109441094510946109471094810949109501095110952109531095410955109561095710958109591096010961109621096310964109651096610967109681096910970109711097210973109741097510976109771097810979109801098110982109831098410985109861098710988109891099010991109921099310994109951099610997109981099911000110011100211003110041100511006110071100811009110101101111012110131101411015110161101711018110191102011021110221102311024110251102611027110281102911030110311103211033110341103511036110371103811039110401104111042110431104411045110461104711048110491105011051110521105311054110551105611057110581105911060110611106211063110641106511066110671106811069110701107111072110731107411075110761107711078110791108011081110821108311084110851108611087110881108911090110911109211093110941109511096110971109811099111001110111102111031110411105111061110711108111091111011111111121111311114111151111611117111181111911120111211112211123111241112511126111271112811129111301113111132111331113411135111361113711138111391114011141111421114311144111451114611147111481114911150111511115211153111541115511156111571115811159111601116111162111631116411165111661116711168111691117011171111721117311174111751117611177111781117911180111811118211183111841118511186111871118811189111901119111192111931119411195111961119711198111991120011201112021120311204112051120611207112081120911210112111121211213112141121511216112171121811219112201122111222112231122411225112261122711228112291123011231112321123311234112351123611237112381123911240112411124211243112441124511246112471124811249112501125111252112531125411255112561125711258112591126011261112621126311264112651126611267112681126911270112711127211273112741127511276112771127811279112801128111282112831128411285112861128711288112891129011291112921129311294112951129611297112981129911300113011130211303113041130511306113071130811309113101131111312113131131411315113161131711318113191132011321113221132311324113251132611327113281132911330113311133211333113341133511336113371133811339113401134111342113431134411345113461134711348113491135011351113521135311354113551135611357113581135911360113611136211363113641136511366113671136811369113701137111372113731137411375113761137711378113791138011381113821138311384113851138611387113881138911390113911139211393113941139511396113971139811399114001140111402114031140411405114061140711408114091141011411114121141311414114151141611417114181141911420114211142211423114241142511426114271142811429114301143111432114331143411435114361143711438114391144011441114421144311444114451144611447114481144911450114511145211453114541145511456114571145811459114601146111462114631146411465114661146711468114691147011471114721147311474114751147611477114781147911480114811148211483114841148511486114871148811489114901149111492114931149411495114961149711498114991150011501115021150311504115051150611507115081150911510115111151211513115141151511516115171151811519115201152111522115231152411525115261152711528115291153011531115321153311534115351153611537115381153911540115411154211543115441154511546115471154811549115501155111552115531155411555115561155711558115591156011561115621156311564115651156611567115681156911570115711157211573115741157511576115771157811579115801158111582115831158411585115861158711588115891159011591115921159311594115951159611597115981159911600116011160211603116041160511606116071160811609116101161111612116131161411615116161161711618116191162011621116221162311624116251162611627116281162911630116311163211633116341163511636116371163811639116401164111642116431164411645116461164711648116491165011651116521165311654116551165611657116581165911660116611166211663116641166511666116671166811669116701167111672116731167411675116761167711678116791168011681116821168311684116851168611687116881168911690116911169211693116941169511696116971169811699117001170111702117031170411705117061170711708117091171011711117121171311714117151171611717117181171911720117211172211723117241172511726117271172811729117301173111732117331173411735117361173711738117391174011741117421174311744117451174611747117481174911750117511175211753117541175511756117571175811759117601176111762117631176411765117661176711768117691177011771117721177311774117751177611777117781177911780117811178211783117841178511786117871178811789117901179111792117931179411795117961179711798117991180011801118021180311804118051180611807118081180911810118111181211813118141181511816118171181811819118201182111822118231182411825118261182711828118291183011831118321183311834118351183611837118381183911840118411184211843118441184511846118471184811849118501185111852118531185411855118561185711858118591186011861118621186311864118651186611867118681186911870118711187211873118741187511876118771187811879118801188111882118831188411885118861188711888118891189011891118921189311894118951189611897118981189911900119011190211903119041190511906119071190811909119101191111912119131191411915119161191711918119191192011921119221192311924119251192611927119281192911930119311193211933119341193511936119371193811939119401194111942119431194411945119461194711948119491195011951119521195311954119551195611957119581195911960119611196211963119641196511966119671196811969119701197111972119731197411975119761197711978119791198011981119821198311984119851198611987119881198911990119911199211993119941199511996119971199811999120001200112002120031200412005120061200712008120091201012011120121201312014120151201612017120181201912020120211202212023120241202512026120271202812029120301203112032120331203412035120361203712038120391204012041120421204312044120451204612047120481204912050120511205212053120541205512056120571205812059120601206112062120631206412065120661206712068120691207012071120721207312074120751207612077120781207912080120811208212083120841208512086120871208812089120901209112092120931209412095120961209712098120991210012101121021210312104121051210612107121081210912110121111211212113121141211512116121171211812119121201212112122121231212412125121261212712128121291213012131121321213312134121351213612137121381213912140121411214212143121441214512146121471214812149121501215112152121531215412155121561215712158121591216012161121621216312164121651216612167121681216912170121711217212173121741217512176121771217812179121801218112182121831218412185121861218712188121891219012191121921219312194121951219612197121981219912200122011220212203122041220512206122071220812209122101221112212122131221412215122161221712218122191222012221122221222312224122251222612227122281222912230122311223212233122341223512236122371223812239122401224112242122431224412245122461224712248122491225012251122521225312254122551225612257122581225912260122611226212263122641226512266122671226812269122701227112272122731227412275122761227712278122791228012281122821228312284122851228612287122881228912290122911229212293122941229512296122971229812299123001230112302123031230412305123061230712308123091231012311123121231312314123151231612317123181231912320123211232212323123241232512326123271232812329123301233112332123331233412335123361233712338123391234012341123421234312344123451234612347123481234912350123511235212353123541235512356123571235812359123601236112362123631236412365123661236712368123691237012371123721237312374123751237612377123781237912380123811238212383123841238512386123871238812389123901239112392123931239412395123961239712398123991240012401124021240312404124051240612407124081240912410124111241212413124141241512416124171241812419124201242112422124231242412425124261242712428124291243012431124321243312434124351243612437124381243912440124411244212443124441244512446124471244812449124501245112452124531245412455124561245712458124591246012461124621246312464124651246612467124681246912470124711247212473124741247512476124771247812479124801248112482124831248412485124861248712488124891249012491124921249312494124951249612497124981249912500125011250212503125041250512506125071250812509125101251112512125131251412515125161251712518125191252012521125221252312524125251252612527125281252912530125311253212533125341253512536125371253812539125401254112542125431254412545125461254712548125491255012551125521255312554125551255612557125581255912560125611256212563125641256512566125671256812569125701257112572125731257412575125761257712578125791258012581125821258312584125851258612587125881258912590125911259212593125941259512596125971259812599126001260112602126031260412605126061260712608126091261012611126121261312614126151261612617126181261912620126211262212623126241262512626126271262812629126301263112632126331263412635126361263712638126391264012641126421264312644126451264612647126481264912650126511265212653126541265512656126571265812659126601266112662126631266412665126661266712668126691267012671126721267312674126751267612677126781267912680126811268212683126841268512686126871268812689126901269112692126931269412695126961269712698126991270012701127021270312704127051270612707127081270912710127111271212713127141271512716127171271812719127201272112722127231272412725127261272712728127291273012731127321273312734127351273612737127381273912740127411274212743127441274512746127471274812749127501275112752127531275412755127561275712758127591276012761127621276312764127651276612767127681276912770127711277212773127741277512776127771277812779127801278112782127831278412785127861278712788127891279012791127921279312794127951279612797127981279912800128011280212803128041280512806128071280812809128101281112812128131281412815128161281712818128191282012821128221282312824128251282612827128281282912830128311283212833128341283512836128371283812839128401284112842128431284412845128461284712848128491285012851128521285312854128551285612857128581285912860128611286212863128641286512866128671286812869128701287112872128731287412875128761287712878128791288012881128821288312884128851288612887128881288912890128911289212893128941289512896128971289812899129001290112902129031290412905129061290712908129091291012911129121291312914129151291612917129181291912920129211292212923129241292512926129271292812929129301293112932129331293412935129361293712938129391294012941129421294312944129451294612947129481294912950129511295212953129541295512956129571295812959129601296112962129631296412965129661296712968129691297012971129721297312974129751297612977129781297912980129811298212983129841298512986129871298812989129901299112992129931299412995129961299712998129991300013001130021300313004130051300613007130081300913010130111301213013130141301513016130171301813019130201302113022130231302413025130261302713028130291303013031130321303313034130351303613037130381303913040130411304213043130441304513046130471304813049130501305113052130531305413055130561305713058130591306013061130621306313064130651306613067130681306913070130711307213073130741307513076130771307813079130801308113082130831308413085130861308713088130891309013091130921309313094130951309613097130981309913100131011310213103131041310513106131071310813109131101311113112131131311413115131161311713118131191312013121131221312313124131251312613127131281312913130131311313213133131341313513136131371313813139131401314113142131431314413145131461314713148131491315013151131521315313154131551315613157131581315913160131611316213163131641316513166131671316813169131701317113172131731317413175131761317713178131791318013181131821318313184131851318613187131881318913190131911319213193131941319513196131971319813199132001320113202132031320413205132061320713208132091321013211132121321313214132151321613217132181321913220132211322213223132241322513226132271322813229132301323113232132331323413235132361323713238132391324013241132421324313244132451324613247132481324913250132511325213253132541325513256132571325813259132601326113262132631326413265132661326713268132691327013271132721327313274132751327613277132781327913280132811328213283132841328513286132871328813289132901329113292132931329413295132961329713298132991330013301133021330313304133051330613307133081330913310133111331213313133141331513316133171331813319133201332113322133231332413325133261332713328133291333013331133321333313334133351333613337133381333913340133411334213343133441334513346133471334813349133501335113352133531335413355133561335713358133591336013361133621336313364133651336613367133681336913370133711337213373133741337513376133771337813379133801338113382133831338413385133861338713388133891339013391133921339313394133951339613397133981339913400134011340213403134041340513406134071340813409134101341113412134131341413415134161341713418134191342013421134221342313424134251342613427134281342913430134311343213433134341343513436134371343813439134401344113442134431344413445134461344713448134491345013451134521345313454134551345613457134581345913460134611346213463134641346513466134671346813469134701347113472134731347413475134761347713478134791348013481134821348313484134851348613487134881348913490134911349213493134941349513496134971349813499135001350113502135031350413505135061350713508135091351013511135121351313514135151351613517135181351913520135211352213523135241352513526135271352813529135301353113532135331353413535135361353713538135391354013541135421354313544135451354613547135481354913550135511355213553135541355513556135571355813559135601356113562135631356413565135661356713568135691357013571135721357313574135751357613577135781357913580135811358213583135841358513586135871358813589135901359113592135931359413595135961359713598135991360013601136021360313604136051360613607136081360913610136111361213613136141361513616136171361813619136201362113622136231362413625136261362713628136291363013631136321363313634136351363613637136381363913640136411364213643136441364513646136471364813649136501365113652136531365413655136561365713658136591366013661136621366313664136651366613667136681366913670136711367213673136741367513676136771367813679136801368113682136831368413685136861368713688136891369013691136921369313694136951369613697136981369913700137011370213703137041370513706137071370813709137101371113712137131371413715137161371713718137191372013721137221372313724137251372613727137281372913730137311373213733137341373513736137371373813739137401374113742137431374413745137461374713748137491375013751137521375313754137551375613757137581375913760137611376213763137641376513766137671376813769137701377113772137731377413775137761377713778137791378013781137821378313784137851378613787137881378913790137911379213793137941379513796137971379813799138001380113802138031380413805138061380713808138091381013811138121381313814138151381613817138181381913820138211382213823138241382513826138271382813829138301383113832138331383413835138361383713838138391384013841138421384313844138451384613847138481384913850138511385213853138541385513856138571385813859138601386113862138631386413865138661386713868138691387013871138721387313874138751387613877138781387913880138811388213883138841388513886138871388813889138901389113892138931389413895138961389713898138991390013901139021390313904139051390613907139081390913910139111391213913139141391513916139171391813919139201392113922139231392413925139261392713928139291393013931139321393313934139351393613937139381393913940139411394213943139441394513946139471394813949139501395113952139531395413955139561395713958139591396013961139621396313964139651396613967139681396913970139711397213973139741397513976139771397813979139801398113982139831398413985139861398713988139891399013991139921399313994139951399613997139981399914000140011400214003140041400514006140071400814009140101401114012140131401414015140161401714018140191402014021140221402314024140251402614027140281402914030140311403214033140341403514036140371403814039140401404114042140431404414045140461404714048140491405014051140521405314054140551405614057140581405914060140611406214063140641406514066140671406814069140701407114072140731407414075140761407714078140791408014081140821408314084140851408614087140881408914090140911409214093140941409514096140971409814099141001410114102141031410414105141061410714108141091411014111141121411314114141151411614117141181411914120141211412214123141241412514126141271412814129141301413114132141331413414135141361413714138141391414014141141421414314144141451414614147141481414914150141511415214153141541415514156141571415814159141601416114162141631416414165141661416714168141691417014171141721417314174141751417614177141781417914180141811418214183141841418514186141871418814189141901419114192141931419414195141961419714198141991420014201142021420314204142051420614207142081420914210142111421214213142141421514216142171421814219142201422114222142231422414225142261422714228142291423014231142321423314234142351423614237142381423914240142411424214243142441424514246142471424814249142501425114252142531425414255142561425714258142591426014261142621426314264142651426614267142681426914270142711427214273142741427514276142771427814279142801428114282142831428414285142861428714288142891429014291142921429314294142951429614297142981429914300143011430214303143041430514306143071430814309143101431114312143131431414315143161431714318143191432014321143221432314324143251432614327143281432914330143311433214333143341433514336143371433814339143401434114342143431434414345143461434714348143491435014351143521435314354143551435614357143581435914360143611436214363143641436514366143671436814369143701437114372143731437414375143761437714378143791438014381143821438314384143851438614387143881438914390143911439214393143941439514396143971439814399144001440114402144031440414405144061440714408144091441014411144121441314414144151441614417144181441914420144211442214423144241442514426144271442814429144301443114432144331443414435144361443714438144391444014441144421444314444144451444614447144481444914450144511445214453144541445514456144571445814459144601446114462144631446414465144661446714468144691447014471144721447314474144751447614477144781447914480144811448214483144841448514486144871448814489144901449114492144931449414495144961449714498144991450014501145021450314504145051450614507145081450914510145111451214513145141451514516145171451814519145201452114522145231452414525145261452714528145291453014531145321453314534145351453614537145381453914540145411454214543145441454514546145471454814549145501455114552145531455414555145561455714558145591456014561145621456314564145651456614567145681456914570145711457214573145741457514576145771457814579145801458114582145831458414585145861458714588145891459014591145921459314594145951459614597145981459914600146011460214603146041460514606146071460814609146101461114612146131461414615146161461714618146191462014621146221462314624146251462614627146281462914630146311463214633146341463514636146371463814639146401464114642146431464414645146461464714648146491465014651146521465314654146551465614657146581465914660146611466214663146641466514666146671466814669146701467114672146731467414675146761467714678146791468014681146821468314684146851468614687146881468914690146911469214693146941469514696146971469814699147001470114702147031470414705147061470714708147091471014711147121471314714147151471614717147181471914720147211472214723147241472514726147271472814729147301473114732147331473414735147361473714738147391474014741147421474314744147451474614747147481474914750147511475214753147541475514756147571475814759147601476114762147631476414765147661476714768147691477014771147721477314774147751477614777147781477914780147811478214783147841478514786147871478814789147901479114792147931479414795147961479714798147991480014801148021480314804148051480614807148081480914810148111481214813148141481514816148171481814819148201482114822148231482414825148261482714828148291483014831148321483314834148351483614837148381483914840148411484214843148441484514846148471484814849148501485114852148531485414855148561485714858148591486014861148621486314864148651486614867148681486914870148711487214873148741487514876148771487814879148801488114882148831488414885148861488714888148891489014891148921489314894148951489614897148981489914900149011490214903149041490514906149071490814909149101491114912149131491414915149161491714918149191492014921149221492314924149251492614927149281492914930149311493214933149341493514936149371493814939149401494114942149431494414945149461494714948149491495014951149521495314954149551495614957149581495914960149611496214963149641496514966149671496814969149701497114972149731497414975149761497714978149791498014981149821498314984149851498614987149881498914990149911499214993149941499514996149971499814999150001500115002150031500415005150061500715008150091501015011150121501315014150151501615017150181501915020150211502215023150241502515026150271502815029150301503115032150331503415035150361503715038150391504015041150421504315044150451504615047150481504915050150511505215053150541505515056150571505815059150601506115062150631506415065150661506715068150691507015071150721507315074150751507615077150781507915080150811508215083150841508515086150871508815089150901509115092150931509415095150961509715098150991510015101151021510315104151051510615107151081510915110151111511215113151141511515116151171511815119151201512115122151231512415125151261512715128151291513015131151321513315134151351513615137151381513915140151411514215143151441514515146151471514815149151501515115152151531515415155151561515715158151591516015161151621516315164151651516615167151681516915170151711517215173151741517515176151771517815179151801518115182151831518415185151861518715188151891519015191151921519315194151951519615197151981519915200152011520215203152041520515206152071520815209152101521115212152131521415215152161521715218152191522015221152221522315224152251522615227152281522915230152311523215233152341523515236152371523815239152401524115242152431524415245152461524715248152491525015251152521525315254152551525615257152581525915260152611526215263152641526515266152671526815269152701527115272152731527415275152761527715278152791528015281152821528315284152851528615287152881528915290152911529215293152941529515296152971529815299153001530115302153031530415305153061530715308153091531015311153121531315314153151531615317153181531915320153211532215323153241532515326153271532815329153301533115332153331533415335153361533715338153391534015341153421534315344153451534615347153481534915350153511535215353153541535515356153571535815359153601536115362153631536415365153661536715368153691537015371153721537315374153751537615377153781537915380153811538215383153841538515386153871538815389153901539115392153931539415395153961539715398153991540015401154021540315404154051540615407154081540915410154111541215413154141541515416154171541815419154201542115422154231542415425154261542715428154291543015431154321543315434154351543615437154381543915440154411544215443154441544515446154471544815449154501545115452154531545415455154561545715458154591546015461154621546315464154651546615467154681546915470154711547215473154741547515476154771547815479154801548115482154831548415485154861548715488154891549015491154921549315494154951549615497154981549915500155011550215503155041550515506155071550815509155101551115512155131551415515155161551715518155191552015521155221552315524155251552615527155281552915530155311553215533155341553515536155371553815539155401554115542155431554415545155461554715548155491555015551155521555315554155551555615557155581555915560155611556215563155641556515566155671556815569155701557115572155731557415575155761557715578155791558015581155821558315584155851558615587155881558915590155911559215593155941559515596155971559815599156001560115602156031560415605156061560715608156091561015611156121561315614156151561615617156181561915620156211562215623156241562515626156271562815629156301563115632156331563415635156361563715638156391564015641156421564315644156451564615647156481564915650156511565215653156541565515656156571565815659156601566115662156631566415665156661566715668156691567015671156721567315674156751567615677156781567915680156811568215683156841568515686156871568815689156901569115692156931569415695156961569715698156991570015701157021570315704157051570615707157081570915710157111571215713157141571515716157171571815719157201572115722157231572415725157261572715728157291573015731157321573315734157351573615737157381573915740157411574215743157441574515746157471574815749157501575115752157531575415755157561575715758157591576015761157621576315764157651576615767157681576915770157711577215773157741577515776157771577815779157801578115782157831578415785157861578715788157891579015791157921579315794157951579615797157981579915800158011580215803158041580515806158071580815809158101581115812158131581415815158161581715818158191582015821158221582315824158251582615827158281582915830158311583215833158341583515836158371583815839158401584115842158431584415845158461584715848158491585015851158521585315854158551585615857158581585915860158611586215863158641586515866158671586815869158701587115872158731587415875158761587715878158791588015881158821588315884158851588615887158881588915890158911589215893158941589515896158971589815899159001590115902159031590415905159061590715908159091591015911159121591315914159151591615917159181591915920159211592215923159241592515926159271592815929159301593115932159331593415935159361593715938159391594015941159421594315944159451594615947159481594915950159511595215953159541595515956159571595815959159601596115962159631596415965159661596715968159691597015971159721597315974159751597615977159781597915980159811598215983159841598515986159871598815989159901599115992159931599415995159961599715998159991600016001160021600316004160051600616007160081600916010160111601216013160141601516016160171601816019160201602116022160231602416025160261602716028160291603016031160321603316034160351603616037160381603916040160411604216043160441604516046160471604816049160501605116052160531605416055160561605716058160591606016061160621606316064160651606616067160681606916070160711607216073160741607516076160771607816079160801608116082160831608416085160861608716088160891609016091160921609316094160951609616097160981609916100161011610216103161041610516106161071610816109161101611116112161131611416115161161611716118161191612016121161221612316124161251612616127161281612916130161311613216133161341613516136161371613816139161401614116142161431614416145161461614716148161491615016151161521615316154161551615616157161581615916160161611616216163161641616516166161671616816169161701617116172161731617416175161761617716178161791618016181161821618316184161851618616187161881618916190161911619216193161941619516196161971619816199162001620116202162031620416205162061620716208162091621016211162121621316214162151621616217162181621916220162211622216223162241622516226162271622816229162301623116232162331623416235162361623716238162391624016241162421624316244162451624616247162481624916250162511625216253162541625516256162571625816259162601626116262162631626416265162661626716268162691627016271162721627316274162751627616277162781627916280162811628216283162841628516286162871628816289162901629116292162931629416295162961629716298162991630016301163021630316304163051630616307163081630916310163111631216313163141631516316163171631816319163201632116322163231632416325163261632716328163291633016331163321633316334163351633616337163381633916340163411634216343163441634516346163471634816349163501635116352163531635416355163561635716358163591636016361163621636316364163651636616367163681636916370163711637216373163741637516376163771637816379163801638116382163831638416385163861638716388163891639016391163921639316394163951639616397163981639916400164011640216403164041640516406164071640816409164101641116412164131641416415164161641716418164191642016421164221642316424164251642616427164281642916430164311643216433164341643516436164371643816439164401644116442164431644416445164461644716448164491645016451164521645316454164551645616457164581645916460164611646216463164641646516466164671646816469164701647116472164731647416475164761647716478164791648016481164821648316484164851648616487164881648916490164911649216493164941649516496164971649816499165001650116502165031650416505165061650716508165091651016511165121651316514165151651616517165181651916520165211652216523165241652516526165271652816529165301653116532165331653416535165361653716538165391654016541165421654316544165451654616547165481654916550165511655216553165541655516556165571655816559165601656116562165631656416565165661656716568165691657016571165721657316574165751657616577165781657916580165811658216583165841658516586165871658816589165901659116592165931659416595165961659716598165991660016601166021660316604166051660616607166081660916610166111661216613166141661516616166171661816619166201662116622166231662416625166261662716628166291663016631166321663316634166351663616637166381663916640166411664216643166441664516646166471664816649166501665116652166531665416655166561665716658166591666016661166621666316664166651666616667166681666916670166711667216673166741667516676166771667816679166801668116682166831668416685166861668716688166891669016691166921669316694166951669616697166981669916700167011670216703167041670516706167071670816709167101671116712167131671416715167161671716718167191672016721167221672316724167251672616727167281672916730167311673216733167341673516736167371673816739167401674116742167431674416745167461674716748167491675016751167521675316754167551675616757167581675916760167611676216763167641676516766167671676816769167701677116772167731677416775167761677716778167791678016781167821678316784167851678616787167881678916790167911679216793167941679516796167971679816799168001680116802168031680416805168061680716808168091681016811168121681316814168151681616817168181681916820168211682216823168241682516826168271682816829168301683116832168331683416835168361683716838168391684016841168421684316844168451684616847168481684916850168511685216853168541685516856168571685816859168601686116862168631686416865168661686716868168691687016871168721687316874168751687616877168781687916880168811688216883168841688516886168871688816889168901689116892168931689416895168961689716898168991690016901169021690316904169051690616907169081690916910169111691216913169141691516916169171691816919169201692116922169231692416925169261692716928169291693016931169321693316934169351693616937169381693916940169411694216943169441694516946169471694816949169501695116952169531695416955169561695716958169591696016961169621696316964169651696616967169681696916970169711697216973169741697516976169771697816979169801698116982169831698416985169861698716988169891699016991169921699316994169951699616997169981699917000170011700217003170041700517006170071700817009170101701117012170131701417015170161701717018170191702017021170221702317024170251702617027170281702917030170311703217033170341703517036170371703817039170401704117042170431704417045170461704717048170491705017051170521705317054170551705617057170581705917060170611706217063170641706517066170671706817069170701707117072170731707417075170761707717078170791708017081170821708317084170851708617087170881708917090170911709217093170941709517096170971709817099171001710117102171031710417105171061710717108171091711017111171121711317114171151711617117171181711917120171211712217123171241712517126171271712817129171301713117132171331713417135171361713717138171391714017141171421714317144171451714617147171481714917150171511715217153171541715517156171571715817159171601716117162171631716417165171661716717168171691717017171171721717317174171751717617177171781717917180171811718217183171841718517186171871718817189171901719117192171931719417195171961719717198171991720017201172021720317204172051720617207172081720917210172111721217213172141721517216172171721817219172201722117222172231722417225172261722717228172291723017231172321723317234172351723617237172381723917240172411724217243172441724517246172471724817249172501725117252172531725417255172561725717258172591726017261172621726317264172651726617267172681726917270172711727217273172741727517276172771727817279172801728117282172831728417285172861728717288172891729017291172921729317294172951729617297172981729917300173011730217303173041730517306173071730817309173101731117312173131731417315173161731717318173191732017321173221732317324173251732617327173281732917330173311733217333173341733517336173371733817339173401734117342173431734417345173461734717348173491735017351173521735317354173551735617357173581735917360173611736217363173641736517366173671736817369173701737117372173731737417375173761737717378173791738017381173821738317384173851738617387173881738917390173911739217393173941739517396173971739817399174001740117402174031740417405174061740717408174091741017411174121741317414174151741617417174181741917420174211742217423174241742517426174271742817429174301743117432174331743417435174361743717438174391744017441174421744317444174451744617447174481744917450174511745217453174541745517456174571745817459174601746117462174631746417465174661746717468174691747017471174721747317474174751747617477174781747917480174811748217483174841748517486174871748817489174901749117492174931749417495174961749717498174991750017501175021750317504175051750617507175081750917510175111751217513175141751517516175171751817519175201752117522175231752417525175261752717528175291753017531175321753317534175351753617537175381753917540175411754217543175441754517546175471754817549175501755117552175531755417555175561755717558175591756017561175621756317564175651756617567175681756917570175711757217573175741757517576175771757817579175801758117582175831758417585175861758717588175891759017591175921759317594175951759617597175981759917600176011760217603176041760517606176071760817609176101761117612176131761417615176161761717618176191762017621176221762317624176251762617627176281762917630176311763217633176341763517636176371763817639176401764117642176431764417645176461764717648176491765017651176521765317654176551765617657176581765917660176611766217663176641766517666176671766817669176701767117672176731767417675176761767717678176791768017681176821768317684176851768617687176881768917690176911769217693176941769517696176971769817699177001770117702177031770417705177061770717708177091771017711177121771317714177151771617717177181771917720177211772217723177241772517726177271772817729177301773117732177331773417735177361773717738177391774017741177421774317744177451774617747177481774917750177511775217753177541775517756177571775817759177601776117762177631776417765177661776717768177691777017771177721777317774177751777617777177781777917780177811778217783177841778517786177871778817789177901779117792177931779417795177961779717798177991780017801178021780317804178051780617807178081780917810178111781217813178141781517816178171781817819178201782117822178231782417825178261782717828178291783017831178321783317834178351783617837178381783917840178411784217843178441784517846178471784817849178501785117852178531785417855178561785717858178591786017861178621786317864178651786617867178681786917870178711787217873178741787517876178771787817879178801788117882178831788417885178861788717888178891789017891178921789317894178951789617897178981789917900179011790217903179041790517906179071790817909179101791117912179131791417915179161791717918179191792017921179221792317924179251792617927179281792917930179311793217933179341793517936179371793817939179401794117942179431794417945179461794717948179491795017951179521795317954179551795617957179581795917960179611796217963179641796517966179671796817969179701797117972179731797417975179761797717978179791798017981179821798317984179851798617987179881798917990179911799217993179941799517996179971799817999180001800118002180031800418005180061800718008180091801018011180121801318014180151801618017180181801918020180211802218023180241802518026180271802818029180301803118032180331803418035180361803718038180391804018041180421804318044180451804618047180481804918050180511805218053180541805518056180571805818059180601806118062180631806418065180661806718068180691807018071180721807318074180751807618077180781807918080180811808218083180841808518086180871808818089180901809118092180931809418095180961809718098180991810018101181021810318104181051810618107181081810918110181111811218113181141811518116181171811818119181201812118122181231812418125181261812718128181291813018131181321813318134181351813618137181381813918140181411814218143181441814518146181471814818149181501815118152181531815418155181561815718158181591816018161181621816318164181651816618167181681816918170181711817218173181741817518176181771817818179181801818118182181831818418185181861818718188181891819018191181921819318194181951819618197181981819918200182011820218203182041820518206182071820818209182101821118212182131821418215182161821718218182191822018221182221822318224182251822618227182281822918230182311823218233182341823518236182371823818239182401824118242182431824418245182461824718248182491825018251182521825318254182551825618257182581825918260182611826218263182641826518266182671826818269182701827118272182731827418275182761827718278182791828018281182821828318284182851828618287182881828918290182911829218293182941829518296182971829818299183001830118302183031830418305183061830718308183091831018311183121831318314183151831618317183181831918320183211832218323183241832518326183271832818329183301833118332183331833418335183361833718338183391834018341183421834318344183451834618347183481834918350183511835218353183541835518356183571835818359183601836118362183631836418365183661836718368183691837018371183721837318374183751837618377183781837918380183811838218383183841838518386183871838818389183901839118392183931839418395183961839718398183991840018401184021840318404184051840618407184081840918410184111841218413184141841518416184171841818419184201842118422184231842418425184261842718428184291843018431184321843318434184351843618437184381843918440184411844218443184441844518446184471844818449184501845118452184531845418455184561845718458184591846018461184621846318464184651846618467184681846918470184711847218473184741847518476184771847818479184801848118482184831848418485184861848718488184891849018491184921849318494184951849618497184981849918500185011850218503185041850518506185071850818509185101851118512185131851418515185161851718518185191852018521185221852318524185251852618527185281852918530185311853218533185341853518536185371853818539185401854118542185431854418545185461854718548185491855018551185521855318554185551855618557185581855918560185611856218563185641856518566185671856818569185701857118572185731857418575185761857718578185791858018581185821858318584185851858618587185881858918590185911859218593185941859518596185971859818599186001860118602186031860418605186061860718608186091861018611186121861318614186151861618617186181861918620186211862218623186241862518626186271862818629186301863118632186331863418635186361863718638186391864018641186421864318644186451864618647186481864918650186511865218653186541865518656186571865818659186601866118662186631866418665186661866718668186691867018671186721867318674186751867618677186781867918680186811868218683186841868518686186871868818689186901869118692186931869418695186961869718698186991870018701187021870318704187051870618707187081870918710187111871218713187141871518716187171871818719187201872118722187231872418725187261872718728187291873018731187321873318734187351873618737187381873918740187411874218743187441874518746187471874818749187501875118752187531875418755187561875718758187591876018761187621876318764187651876618767187681876918770187711877218773187741877518776187771877818779187801878118782187831878418785187861878718788187891879018791187921879318794187951879618797187981879918800188011880218803188041880518806188071880818809188101881118812188131881418815188161881718818188191882018821188221882318824188251882618827188281882918830188311883218833188341883518836188371883818839188401884118842188431884418845188461884718848188491885018851188521885318854188551885618857188581885918860188611886218863188641886518866188671886818869188701887118872188731887418875188761887718878188791888018881188821888318884188851888618887188881888918890188911889218893188941889518896188971889818899189001890118902189031890418905189061890718908189091891018911189121891318914189151891618917189181891918920189211892218923189241892518926189271892818929189301893118932189331893418935189361893718938189391894018941189421894318944189451894618947189481894918950189511895218953189541895518956189571895818959189601896118962189631896418965189661896718968189691897018971189721897318974189751897618977189781897918980189811898218983189841898518986189871898818989189901899118992189931899418995189961899718998189991900019001190021900319004190051900619007190081900919010190111901219013190141901519016190171901819019190201902119022190231902419025190261902719028190291903019031190321903319034190351903619037190381903919040190411904219043190441904519046190471904819049190501905119052190531905419055190561905719058190591906019061190621906319064190651906619067190681906919070190711907219073190741907519076190771907819079190801908119082190831908419085190861908719088190891909019091190921909319094190951909619097190981909919100191011910219103191041910519106191071910819109191101911119112191131911419115191161911719118191191912019121191221912319124191251912619127191281912919130191311913219133191341913519136191371913819139191401914119142191431914419145191461914719148191491915019151191521915319154191551915619157191581915919160191611916219163191641916519166191671916819169191701917119172191731917419175191761917719178191791918019181191821918319184191851918619187191881918919190191911919219193191941919519196191971919819199192001920119202192031920419205192061920719208192091921019211192121921319214192151921619217192181921919220192211922219223192241922519226192271922819229192301923119232192331923419235192361923719238192391924019241192421924319244192451924619247192481924919250192511925219253192541925519256192571925819259192601926119262192631926419265192661926719268192691927019271192721927319274192751927619277192781927919280192811928219283192841928519286192871928819289192901929119292192931929419295192961929719298192991930019301193021930319304193051930619307193081930919310193111931219313193141931519316193171931819319193201932119322193231932419325193261932719328193291933019331193321933319334193351933619337193381933919340193411934219343193441934519346193471934819349193501935119352193531935419355193561935719358193591936019361193621936319364193651936619367193681936919370193711937219373193741937519376193771937819379193801938119382193831938419385193861938719388193891939019391193921939319394193951939619397193981939919400194011940219403194041940519406194071940819409194101941119412194131941419415194161941719418194191942019421194221942319424194251942619427194281942919430194311943219433194341943519436194371943819439194401944119442194431944419445194461944719448194491945019451194521945319454194551945619457194581945919460194611946219463194641946519466194671946819469194701947119472194731947419475194761947719478194791948019481194821948319484194851948619487194881948919490194911949219493194941949519496194971949819499195001950119502195031950419505195061950719508195091951019511195121951319514195151951619517195181951919520195211952219523195241952519526195271952819529195301953119532195331953419535195361953719538195391954019541195421954319544195451954619547195481954919550195511955219553195541955519556195571955819559195601956119562195631956419565195661956719568195691957019571195721957319574195751957619577195781957919580195811958219583195841958519586195871958819589195901959119592195931959419595195961959719598195991960019601196021960319604196051960619607196081960919610196111961219613196141961519616196171961819619196201962119622196231962419625196261962719628196291963019631196321963319634196351963619637196381963919640196411964219643196441964519646196471964819649196501965119652196531965419655196561965719658196591966019661196621966319664196651966619667196681966919670196711967219673196741967519676196771967819679196801968119682196831968419685196861968719688196891969019691196921969319694196951969619697196981969919700197011970219703197041970519706197071970819709197101971119712197131971419715197161971719718197191972019721197221972319724197251972619727197281972919730197311973219733197341973519736197371973819739197401974119742197431974419745197461974719748197491975019751197521975319754197551975619757197581975919760197611976219763197641976519766197671976819769197701977119772197731977419775197761977719778197791978019781197821978319784197851978619787197881978919790197911979219793197941979519796197971979819799198001980119802198031980419805198061980719808198091981019811198121981319814198151981619817198181981919820198211982219823198241982519826198271982819829198301983119832198331983419835198361983719838198391984019841198421984319844198451984619847198481984919850198511985219853198541985519856198571985819859198601986119862198631986419865198661986719868198691987019871198721987319874198751987619877198781987919880198811988219883198841988519886198871988819889198901989119892198931989419895198961989719898198991990019901199021990319904199051990619907199081990919910199111991219913199141991519916199171991819919199201992119922199231992419925199261992719928199291993019931199321993319934199351993619937199381993919940199411994219943199441994519946199471994819949199501995119952199531995419955199561995719958199591996019961199621996319964199651996619967199681996919970199711997219973199741997519976199771997819979199801998119982199831998419985199861998719988199891999019991199921999319994199951999619997199981999920000200012000220003200042000520006200072000820009200102001120012200132001420015200162001720018200192002020021200222002320024200252002620027200282002920030200312003220033200342003520036200372003820039200402004120042200432004420045200462004720048200492005020051200522005320054200552005620057200582005920060200612006220063200642006520066200672006820069200702007120072200732007420075200762007720078200792008020081200822008320084200852008620087200882008920090200912009220093200942009520096200972009820099201002010120102201032010420105201062010720108201092011020111201122011320114201152011620117201182011920120201212012220123201242012520126201272012820129201302013120132201332013420135201362013720138201392014020141201422014320144201452014620147201482014920150201512015220153201542015520156201572015820159201602016120162201632016420165201662016720168201692017020171201722017320174201752017620177201782017920180201812018220183201842018520186201872018820189201902019120192201932019420195201962019720198201992020020201202022020320204202052020620207202082020920210202112021220213202142021520216202172021820219202202022120222202232022420225202262022720228202292023020231202322023320234202352023620237202382023920240202412024220243202442024520246202472024820249202502025120252202532025420255202562025720258202592026020261202622026320264202652026620267202682026920270202712027220273202742027520276202772027820279202802028120282202832028420285202862028720288202892029020291202922029320294202952029620297202982029920300203012030220303203042030520306203072030820309203102031120312203132031420315203162031720318203192032020321203222032320324203252032620327203282032920330203312033220333203342033520336203372033820339203402034120342203432034420345203462034720348203492035020351203522035320354203552035620357203582035920360203612036220363203642036520366203672036820369203702037120372203732037420375203762037720378203792038020381203822038320384203852038620387203882038920390203912039220393203942039520396203972039820399204002040120402204032040420405204062040720408204092041020411204122041320414204152041620417204182041920420204212042220423204242042520426204272042820429204302043120432204332043420435204362043720438204392044020441204422044320444204452044620447204482044920450204512045220453204542045520456204572045820459204602046120462204632046420465204662046720468204692047020471204722047320474204752047620477204782047920480204812048220483204842048520486204872048820489204902049120492204932049420495204962049720498204992050020501205022050320504205052050620507205082050920510205112051220513205142051520516205172051820519205202052120522205232052420525205262052720528205292053020531205322053320534205352053620537205382053920540205412054220543205442054520546205472054820549205502055120552205532055420555205562055720558205592056020561205622056320564205652056620567205682056920570205712057220573205742057520576205772057820579205802058120582205832058420585205862058720588205892059020591205922059320594205952059620597205982059920600206012060220603206042060520606206072060820609206102061120612206132061420615206162061720618206192062020621206222062320624206252062620627206282062920630206312063220633206342063520636206372063820639206402064120642206432064420645206462064720648206492065020651206522065320654206552065620657206582065920660206612066220663206642066520666206672066820669206702067120672206732067420675206762067720678206792068020681206822068320684206852068620687206882068920690206912069220693206942069520696206972069820699207002070120702207032070420705207062070720708207092071020711207122071320714207152071620717207182071920720207212072220723207242072520726207272072820729207302073120732207332073420735207362073720738207392074020741207422074320744207452074620747207482074920750207512075220753207542075520756207572075820759207602076120762207632076420765207662076720768207692077020771207722077320774207752077620777207782077920780207812078220783207842078520786207872078820789207902079120792207932079420795207962079720798207992080020801208022080320804208052080620807208082080920810208112081220813208142081520816208172081820819208202082120822208232082420825208262082720828208292083020831208322083320834208352083620837208382083920840208412084220843208442084520846208472084820849208502085120852208532085420855208562085720858208592086020861208622086320864208652086620867208682086920870208712087220873208742087520876208772087820879208802088120882208832088420885208862088720888208892089020891208922089320894208952089620897208982089920900209012090220903209042090520906209072090820909209102091120912209132091420915209162091720918209192092020921209222092320924209252092620927209282092920930209312093220933209342093520936209372093820939209402094120942209432094420945209462094720948209492095020951209522095320954209552095620957209582095920960209612096220963209642096520966209672096820969209702097120972209732097420975209762097720978209792098020981209822098320984209852098620987209882098920990209912099220993209942099520996209972099820999210002100121002210032100421005210062100721008210092101021011210122101321014210152101621017210182101921020210212102221023210242102521026210272102821029210302103121032210332103421035210362103721038210392104021041210422104321044210452104621047210482104921050210512105221053210542105521056210572105821059210602106121062210632106421065210662106721068210692107021071210722107321074210752107621077210782107921080210812108221083210842108521086210872108821089210902109121092210932109421095210962109721098210992110021101211022110321104211052110621107211082110921110211112111221113211142111521116211172111821119211202112121122211232112421125211262112721128211292113021131211322113321134211352113621137211382113921140211412114221143211442114521146211472114821149211502115121152211532115421155211562115721158211592116021161211622116321164211652116621167211682116921170211712117221173211742117521176211772117821179211802118121182211832118421185211862118721188211892119021191211922119321194211952119621197211982119921200212012120221203212042120521206212072120821209212102121121212212132121421215212162121721218212192122021221212222122321224212252122621227212282122921230212312123221233212342123521236212372123821239212402124121242212432124421245212462124721248212492125021251212522125321254212552125621257212582125921260212612126221263212642126521266212672126821269212702127121272212732127421275212762127721278212792128021281212822128321284212852128621287212882128921290212912129221293212942129521296212972129821299213002130121302213032130421305213062130721308213092131021311213122131321314213152131621317213182131921320213212132221323213242132521326213272132821329213302133121332213332133421335213362133721338213392134021341213422134321344213452134621347213482134921350213512135221353213542135521356213572135821359213602136121362213632136421365213662136721368213692137021371213722137321374213752137621377213782137921380213812138221383213842138521386213872138821389213902139121392213932139421395213962139721398213992140021401214022140321404214052140621407214082140921410214112141221413214142141521416214172141821419214202142121422214232142421425214262142721428214292143021431214322143321434214352143621437214382143921440214412144221443214442144521446214472144821449214502145121452214532145421455214562145721458214592146021461214622146321464214652146621467214682146921470214712147221473214742147521476214772147821479214802148121482214832148421485214862148721488214892149021491214922149321494214952149621497214982149921500215012150221503215042150521506215072150821509215102151121512215132151421515215162151721518215192152021521215222152321524215252152621527215282152921530215312153221533215342153521536215372153821539215402154121542215432154421545215462154721548215492155021551215522155321554215552155621557215582155921560215612156221563215642156521566215672156821569215702157121572215732157421575215762157721578215792158021581215822158321584215852158621587215882158921590215912159221593215942159521596215972159821599216002160121602216032160421605216062160721608216092161021611216122161321614216152161621617216182161921620216212162221623216242162521626216272162821629216302163121632216332163421635216362163721638216392164021641216422164321644216452164621647216482164921650216512165221653216542165521656216572165821659216602166121662216632166421665216662166721668216692167021671216722167321674216752167621677216782167921680216812168221683216842168521686216872168821689216902169121692216932169421695216962169721698216992170021701217022170321704217052170621707217082170921710217112171221713217142171521716217172171821719217202172121722217232172421725217262172721728217292173021731217322173321734217352173621737217382173921740217412174221743217442174521746217472174821749217502175121752217532175421755217562175721758217592176021761217622176321764217652176621767217682176921770217712177221773217742177521776217772177821779217802178121782217832178421785217862178721788217892179021791217922179321794217952179621797217982179921800218012180221803218042180521806218072180821809218102181121812218132181421815218162181721818218192182021821218222182321824218252182621827218282182921830218312183221833218342183521836218372183821839218402184121842218432184421845218462184721848218492185021851218522185321854218552185621857218582185921860218612186221863218642186521866218672186821869218702187121872218732187421875218762187721878218792188021881218822188321884218852188621887218882188921890218912189221893218942189521896218972189821899219002190121902219032190421905219062190721908219092191021911219122191321914219152191621917219182191921920219212192221923219242192521926219272192821929219302193121932219332193421935219362193721938219392194021941219422194321944219452194621947219482194921950219512195221953219542195521956219572195821959219602196121962219632196421965219662196721968219692197021971219722197321974219752197621977219782197921980219812198221983219842198521986219872198821989219902199121992219932199421995219962199721998219992200022001220022200322004220052200622007220082200922010220112201222013220142201522016220172201822019220202202122022220232202422025220262202722028220292203022031220322203322034220352203622037220382203922040220412204222043220442204522046220472204822049220502205122052220532205422055220562205722058220592206022061220622206322064220652206622067220682206922070220712207222073220742207522076220772207822079220802208122082220832208422085220862208722088220892209022091220922209322094220952209622097220982209922100221012210222103221042210522106221072210822109221102211122112221132211422115221162211722118221192212022121221222212322124221252212622127221282212922130221312213222133221342213522136221372213822139221402214122142221432214422145221462214722148221492215022151221522215322154221552215622157221582215922160221612216222163221642216522166221672216822169221702217122172221732217422175221762217722178221792218022181221822218322184221852218622187221882218922190221912219222193221942219522196221972219822199222002220122202222032220422205222062220722208222092221022211222122221322214222152221622217222182221922220222212222222223222242222522226222272222822229222302223122232222332223422235222362223722238222392224022241222422224322244222452224622247222482224922250222512225222253222542225522256222572225822259222602226122262222632226422265222662226722268222692227022271222722227322274222752227622277222782227922280222812228222283222842228522286222872228822289222902229122292222932229422295222962229722298222992230022301223022230322304223052230622307223082230922310223112231222313223142231522316223172231822319223202232122322223232232422325223262232722328223292233022331223322233322334223352233622337223382233922340223412234222343223442234522346223472234822349223502235122352223532235422355223562235722358223592236022361223622236322364223652236622367223682236922370223712237222373223742237522376223772237822379223802238122382223832238422385223862238722388223892239022391223922239322394223952239622397223982239922400224012240222403224042240522406224072240822409224102241122412224132241422415224162241722418224192242022421224222242322424224252242622427224282242922430224312243222433224342243522436224372243822439224402244122442224432244422445224462244722448224492245022451224522245322454224552245622457224582245922460224612246222463224642246522466224672246822469224702247122472224732247422475224762247722478224792248022481224822248322484224852248622487224882248922490224912249222493224942249522496224972249822499225002250122502225032250422505225062250722508225092251022511225122251322514225152251622517225182251922520225212252222523225242252522526225272252822529225302253122532225332253422535225362253722538225392254022541225422254322544225452254622547225482254922550225512255222553225542255522556225572255822559225602256122562225632256422565225662256722568225692257022571225722257322574225752257622577225782257922580225812258222583225842258522586225872258822589225902259122592225932259422595225962259722598225992260022601226022260322604226052260622607226082260922610226112261222613226142261522616226172261822619226202262122622226232262422625226262262722628226292263022631226322263322634226352263622637226382263922640226412264222643226442264522646226472264822649226502265122652226532265422655226562265722658226592266022661226622266322664226652266622667226682266922670226712267222673226742267522676226772267822679226802268122682226832268422685226862268722688226892269022691226922269322694226952269622697226982269922700227012270222703227042270522706227072270822709227102271122712227132271422715227162271722718227192272022721227222272322724227252272622727227282272922730227312273222733227342273522736227372273822739227402274122742227432274422745227462274722748227492275022751227522275322754227552275622757227582275922760227612276222763227642276522766227672276822769227702277122772227732277422775227762277722778227792278022781227822278322784227852278622787227882278922790227912279222793227942279522796227972279822799228002280122802228032280422805228062280722808228092281022811228122281322814228152281622817228182281922820228212282222823228242282522826228272282822829228302283122832228332283422835228362283722838228392284022841228422284322844228452284622847228482284922850228512285222853228542285522856228572285822859228602286122862228632286422865228662286722868228692287022871228722287322874228752287622877228782287922880228812288222883228842288522886228872288822889228902289122892228932289422895228962289722898228992290022901229022290322904229052290622907229082290922910229112291222913229142291522916229172291822919229202292122922229232292422925229262292722928229292293022931229322293322934229352293622937229382293922940229412294222943229442294522946229472294822949229502295122952229532295422955229562295722958229592296022961229622296322964229652296622967229682296922970229712297222973229742297522976229772297822979229802298122982229832298422985229862298722988229892299022991229922299322994229952299622997229982299923000230012300223003230042300523006230072300823009230102301123012230132301423015230162301723018230192302023021230222302323024230252302623027230282302923030230312303223033230342303523036230372303823039230402304123042230432304423045230462304723048230492305023051230522305323054230552305623057230582305923060230612306223063230642306523066230672306823069230702307123072230732307423075230762307723078230792308023081230822308323084230852308623087230882308923090230912309223093230942309523096230972309823099231002310123102231032310423105231062310723108231092311023111231122311323114231152311623117231182311923120231212312223123231242312523126231272312823129231302313123132231332313423135231362313723138231392314023141231422314323144231452314623147231482314923150231512315223153231542315523156231572315823159231602316123162231632316423165231662316723168231692317023171231722317323174231752317623177231782317923180231812318223183231842318523186231872318823189231902319123192231932319423195231962319723198231992320023201232022320323204232052320623207232082320923210232112321223213232142321523216232172321823219232202322123222232232322423225232262322723228232292323023231232322323323234232352323623237232382323923240232412324223243232442324523246232472324823249232502325123252232532325423255232562325723258232592326023261232622326323264232652326623267232682326923270232712327223273232742327523276232772327823279232802328123282232832328423285232862328723288232892329023291232922329323294232952329623297232982329923300233012330223303233042330523306233072330823309233102331123312233132331423315233162331723318233192332023321233222332323324233252332623327233282332923330233312333223333233342333523336233372333823339233402334123342233432334423345233462334723348233492335023351233522335323354233552335623357233582335923360233612336223363233642336523366233672336823369233702337123372233732337423375233762337723378233792338023381233822338323384233852338623387233882338923390233912339223393233942339523396233972339823399234002340123402234032340423405234062340723408234092341023411234122341323414234152341623417234182341923420234212342223423234242342523426234272342823429234302343123432234332343423435234362343723438234392344023441234422344323444234452344623447234482344923450234512345223453234542345523456234572345823459234602346123462234632346423465234662346723468234692347023471234722347323474234752347623477234782347923480234812348223483234842348523486234872348823489234902349123492234932349423495234962349723498234992350023501235022350323504235052350623507235082350923510235112351223513235142351523516235172351823519235202352123522235232352423525235262352723528235292353023531235322353323534235352353623537235382353923540235412354223543235442354523546235472354823549235502355123552235532355423555235562355723558235592356023561235622356323564235652356623567235682356923570235712357223573235742357523576235772357823579235802358123582235832358423585235862358723588235892359023591235922359323594235952359623597235982359923600236012360223603236042360523606236072360823609236102361123612236132361423615236162361723618236192362023621236222362323624236252362623627236282362923630236312363223633236342363523636236372363823639236402364123642236432364423645236462364723648236492365023651236522365323654236552365623657236582365923660236612366223663236642366523666236672366823669236702367123672236732367423675236762367723678236792368023681236822368323684236852368623687236882368923690236912369223693236942369523696236972369823699237002370123702237032370423705237062370723708237092371023711237122371323714237152371623717237182371923720237212372223723237242372523726237272372823729237302373123732237332373423735237362373723738237392374023741237422374323744237452374623747237482374923750237512375223753237542375523756237572375823759237602376123762237632376423765237662376723768237692377023771237722377323774237752377623777237782377923780237812378223783237842378523786237872378823789237902379123792237932379423795237962379723798237992380023801238022380323804238052380623807238082380923810238112381223813238142381523816238172381823819238202382123822238232382423825238262382723828238292383023831238322383323834238352383623837238382383923840238412384223843238442384523846238472384823849238502385123852238532385423855238562385723858238592386023861238622386323864238652386623867238682386923870238712387223873238742387523876238772387823879238802388123882238832388423885238862388723888238892389023891238922389323894238952389623897238982389923900239012390223903239042390523906239072390823909239102391123912239132391423915239162391723918239192392023921239222392323924239252392623927239282392923930239312393223933239342393523936239372393823939239402394123942239432394423945239462394723948239492395023951239522395323954239552395623957239582395923960239612396223963239642396523966239672396823969239702397123972239732397423975239762397723978239792398023981239822398323984239852398623987239882398923990239912399223993239942399523996239972399823999240002400124002240032400424005240062400724008240092401024011240122401324014240152401624017240182401924020240212402224023240242402524026240272402824029240302403124032240332403424035240362403724038240392404024041240422404324044240452404624047240482404924050240512405224053240542405524056240572405824059240602406124062240632406424065240662406724068240692407024071240722407324074240752407624077240782407924080240812408224083240842408524086240872408824089240902409124092240932409424095240962409724098240992410024101241022410324104241052410624107241082410924110241112411224113241142411524116241172411824119241202412124122241232412424125241262412724128241292413024131241322413324134241352413624137241382413924140241412414224143241442414524146241472414824149241502415124152241532415424155241562415724158241592416024161241622416324164241652416624167241682416924170241712417224173241742417524176241772417824179241802418124182241832418424185241862418724188241892419024191241922419324194241952419624197241982419924200242012420224203242042420524206242072420824209242102421124212242132421424215242162421724218242192422024221242222422324224242252422624227242282422924230242312423224233242342423524236242372423824239242402424124242242432424424245242462424724248242492425024251242522425324254242552425624257242582425924260242612426224263242642426524266242672426824269242702427124272242732427424275242762427724278242792428024281242822428324284242852428624287242882428924290242912429224293242942429524296242972429824299243002430124302243032430424305243062430724308243092431024311243122431324314243152431624317243182431924320243212432224323243242432524326243272432824329243302433124332243332433424335243362433724338243392434024341243422434324344243452434624347243482434924350243512435224353243542435524356243572435824359243602436124362243632436424365243662436724368243692437024371243722437324374243752437624377243782437924380243812438224383243842438524386243872438824389243902439124392243932439424395243962439724398243992440024401244022440324404244052440624407244082440924410244112441224413244142441524416244172441824419244202442124422244232442424425244262442724428244292443024431244322443324434244352443624437244382443924440244412444224443244442444524446244472444824449244502445124452244532445424455244562445724458244592446024461244622446324464244652446624467244682446924470244712447224473244742447524476244772447824479244802448124482244832448424485244862448724488244892449024491244922449324494244952449624497244982449924500245012450224503245042450524506245072450824509245102451124512245132451424515245162451724518245192452024521245222452324524245252452624527245282452924530245312453224533245342453524536245372453824539245402454124542245432454424545245462454724548245492455024551245522455324554245552455624557245582455924560245612456224563245642456524566245672456824569245702457124572245732457424575245762457724578245792458024581245822458324584245852458624587245882458924590245912459224593245942459524596245972459824599246002460124602246032460424605246062460724608246092461024611246122461324614246152461624617246182461924620246212462224623246242462524626246272462824629246302463124632246332463424635246362463724638246392464024641246422464324644246452464624647246482464924650246512465224653246542465524656246572465824659246602466124662246632466424665246662466724668246692467024671246722467324674246752467624677246782467924680246812468224683246842468524686246872468824689246902469124692246932469424695246962469724698246992470024701247022470324704247052470624707247082470924710247112471224713247142471524716247172471824719247202472124722247232472424725247262472724728247292473024731247322473324734247352473624737247382473924740247412474224743247442474524746247472474824749247502475124752247532475424755247562475724758247592476024761247622476324764247652476624767247682476924770247712477224773247742477524776247772477824779247802478124782247832478424785247862478724788247892479024791247922479324794247952479624797247982479924800248012480224803248042480524806248072480824809248102481124812248132481424815248162481724818248192482024821248222482324824248252482624827248282482924830248312483224833248342483524836248372483824839248402484124842248432484424845248462484724848248492485024851248522485324854248552485624857248582485924860248612486224863248642486524866248672486824869248702487124872248732487424875248762487724878248792488024881248822488324884248852488624887248882488924890248912489224893248942489524896248972489824899249002490124902249032490424905249062490724908249092491024911249122491324914249152491624917249182491924920249212492224923249242492524926249272492824929249302493124932249332493424935249362493724938249392494024941249422494324944249452494624947249482494924950249512495224953249542495524956249572495824959249602496124962249632496424965249662496724968249692497024971249722497324974249752497624977249782497924980249812498224983249842498524986249872498824989249902499124992249932499424995249962499724998249992500025001250022500325004250052500625007250082500925010250112501225013250142501525016250172501825019250202502125022250232502425025250262502725028250292503025031250322503325034250352503625037250382503925040250412504225043250442504525046250472504825049250502505125052250532505425055250562505725058250592506025061250622506325064250652506625067250682506925070250712507225073250742507525076250772507825079250802508125082250832508425085250862508725088250892509025091250922509325094250952509625097250982509925100251012510225103251042510525106251072510825109251102511125112251132511425115251162511725118251192512025121251222512325124251252512625127251282512925130251312513225133251342513525136251372513825139251402514125142251432514425145251462514725148251492515025151251522515325154251552515625157251582515925160251612516225163251642516525166251672516825169251702517125172251732517425175251762517725178251792518025181251822518325184251852518625187251882518925190251912519225193251942519525196251972519825199252002520125202252032520425205252062520725208252092521025211252122521325214252152521625217252182521925220252212522225223252242522525226252272522825229252302523125232252332523425235252362523725238252392524025241252422524325244252452524625247252482524925250252512525225253252542525525256252572525825259252602526125262252632526425265252662526725268252692527025271252722527325274252752527625277252782527925280252812528225283252842528525286252872528825289252902529125292252932529425295252962529725298252992530025301253022530325304253052530625307253082530925310253112531225313253142531525316253172531825319253202532125322253232532425325253262532725328253292533025331253322533325334253352533625337253382533925340253412534225343253442534525346253472534825349253502535125352253532535425355253562535725358253592536025361253622536325364253652536625367253682536925370253712537225373253742537525376253772537825379253802538125382253832538425385253862538725388253892539025391253922539325394253952539625397253982539925400254012540225403254042540525406254072540825409254102541125412254132541425415254162541725418254192542025421254222542325424254252542625427254282542925430254312543225433254342543525436254372543825439254402544125442254432544425445254462544725448254492545025451254522545325454254552545625457254582545925460254612546225463254642546525466254672546825469254702547125472254732547425475254762547725478254792548025481254822548325484254852548625487254882548925490254912549225493254942549525496254972549825499255002550125502255032550425505255062550725508255092551025511255122551325514255152551625517255182551925520255212552225523255242552525526255272552825529255302553125532255332553425535255362553725538255392554025541255422554325544255452554625547255482554925550255512555225553255542555525556255572555825559255602556125562255632556425565255662556725568255692557025571255722557325574255752557625577255782557925580255812558225583255842558525586255872558825589255902559125592255932559425595255962559725598255992560025601256022560325604256052560625607256082560925610256112561225613256142561525616256172561825619256202562125622256232562425625256262562725628256292563025631256322563325634256352563625637256382563925640256412564225643256442564525646256472564825649256502565125652256532565425655256562565725658256592566025661256622566325664256652566625667256682566925670256712567225673256742567525676256772567825679256802568125682256832568425685256862568725688256892569025691256922569325694256952569625697256982569925700257012570225703257042570525706257072570825709257102571125712257132571425715257162571725718257192572025721257222572325724257252572625727257282572925730257312573225733257342573525736257372573825739257402574125742257432574425745257462574725748257492575025751257522575325754257552575625757257582575925760257612576225763257642576525766257672576825769257702577125772257732577425775257762577725778257792578025781257822578325784257852578625787257882578925790257912579225793257942579525796257972579825799258002580125802258032580425805258062580725808258092581025811258122581325814258152581625817258182581925820258212582225823258242582525826258272582825829258302583125832258332583425835258362583725838258392584025841258422584325844258452584625847258482584925850258512585225853258542585525856258572585825859258602586125862258632586425865258662586725868258692587025871258722587325874258752587625877258782587925880258812588225883258842588525886258872588825889258902589125892258932589425895258962589725898258992590025901259022590325904259052590625907259082590925910259112591225913259142591525916259172591825919259202592125922259232592425925259262592725928259292593025931259322593325934259352593625937259382593925940259412594225943259442594525946259472594825949259502595125952259532595425955259562595725958259592596025961259622596325964259652596625967259682596925970259712597225973259742597525976259772597825979259802598125982259832598425985259862598725988259892599025991259922599325994259952599625997259982599926000260012600226003260042600526006260072600826009260102601126012260132601426015260162601726018260192602026021260222602326024260252602626027260282602926030260312603226033260342603526036260372603826039260402604126042260432604426045260462604726048260492605026051260522605326054260552605626057260582605926060260612606226063260642606526066260672606826069260702607126072260732607426075260762607726078260792608026081260822608326084260852608626087260882608926090260912609226093260942609526096260972609826099261002610126102261032610426105261062610726108261092611026111261122611326114261152611626117261182611926120261212612226123261242612526126261272612826129261302613126132261332613426135261362613726138261392614026141261422614326144261452614626147261482614926150261512615226153261542615526156261572615826159261602616126162261632616426165261662616726168261692617026171261722617326174261752617626177261782617926180261812618226183261842618526186261872618826189261902619126192261932619426195261962619726198261992620026201262022620326204262052620626207262082620926210262112621226213262142621526216262172621826219262202622126222262232622426225262262622726228262292623026231262322623326234262352623626237262382623926240262412624226243262442624526246262472624826249262502625126252262532625426255262562625726258262592626026261262622626326264262652626626267262682626926270262712627226273262742627526276262772627826279262802628126282262832628426285262862628726288262892629026291262922629326294262952629626297262982629926300263012630226303263042630526306263072630826309263102631126312263132631426315263162631726318263192632026321263222632326324263252632626327263282632926330263312633226333263342633526336263372633826339263402634126342263432634426345263462634726348263492635026351263522635326354263552635626357263582635926360263612636226363263642636526366263672636826369263702637126372263732637426375263762637726378263792638026381263822638326384263852638626387263882638926390263912639226393263942639526396263972639826399264002640126402264032640426405264062640726408264092641026411264122641326414264152641626417264182641926420264212642226423264242642526426264272642826429264302643126432264332643426435264362643726438264392644026441264422644326444264452644626447264482644926450264512645226453264542645526456264572645826459264602646126462264632646426465264662646726468264692647026471264722647326474264752647626477264782647926480264812648226483264842648526486264872648826489264902649126492264932649426495264962649726498264992650026501265022650326504265052650626507265082650926510265112651226513265142651526516265172651826519265202652126522265232652426525265262652726528265292653026531265322653326534265352653626537265382653926540265412654226543265442654526546265472654826549265502655126552265532655426555265562655726558265592656026561265622656326564265652656626567265682656926570265712657226573265742657526576265772657826579265802658126582265832658426585265862658726588265892659026591265922659326594265952659626597265982659926600266012660226603266042660526606266072660826609266102661126612266132661426615266162661726618266192662026621266222662326624266252662626627266282662926630266312663226633266342663526636266372663826639266402664126642266432664426645266462664726648266492665026651266522665326654266552665626657266582665926660266612666226663266642666526666266672666826669266702667126672266732667426675266762667726678266792668026681266822668326684266852668626687266882668926690266912669226693266942669526696266972669826699267002670126702267032670426705267062670726708267092671026711267122671326714267152671626717267182671926720267212672226723267242672526726267272672826729267302673126732267332673426735267362673726738267392674026741267422674326744267452674626747267482674926750267512675226753267542675526756267572675826759267602676126762267632676426765267662676726768267692677026771267722677326774267752677626777267782677926780267812678226783267842678526786267872678826789267902679126792267932679426795267962679726798267992680026801268022680326804268052680626807268082680926810268112681226813268142681526816268172681826819268202682126822268232682426825268262682726828268292683026831268322683326834268352683626837268382683926840268412684226843268442684526846268472684826849268502685126852268532685426855268562685726858268592686026861268622686326864268652686626867268682686926870268712687226873268742687526876268772687826879268802688126882268832688426885268862688726888268892689026891268922689326894268952689626897268982689926900269012690226903269042690526906269072690826909269102691126912269132691426915269162691726918269192692026921269222692326924269252692626927269282692926930269312693226933269342693526936269372693826939269402694126942269432694426945269462694726948269492695026951269522695326954269552695626957269582695926960269612696226963269642696526966269672696826969269702697126972269732697426975269762697726978269792698026981269822698326984269852698626987269882698926990269912699226993269942699526996269972699826999270002700127002270032700427005270062700727008270092701027011270122701327014270152701627017270182701927020270212702227023270242702527026270272702827029270302703127032270332703427035270362703727038270392704027041270422704327044270452704627047270482704927050270512705227053270542705527056270572705827059270602706127062270632706427065270662706727068270692707027071270722707327074270752707627077270782707927080270812708227083270842708527086270872708827089270902709127092270932709427095270962709727098270992710027101271022710327104271052710627107271082710927110271112711227113271142711527116271172711827119271202712127122271232712427125271262712727128271292713027131271322713327134271352713627137271382713927140271412714227143271442714527146271472714827149271502715127152271532715427155271562715727158271592716027161271622716327164271652716627167271682716927170271712717227173271742717527176271772717827179271802718127182271832718427185271862718727188271892719027191271922719327194271952719627197271982719927200272012720227203272042720527206272072720827209272102721127212272132721427215272162721727218272192722027221272222722327224272252722627227272282722927230272312723227233272342723527236272372723827239272402724127242272432724427245272462724727248272492725027251272522725327254272552725627257272582725927260272612726227263272642726527266272672726827269272702727127272272732727427275272762727727278272792728027281272822728327284272852728627287272882728927290272912729227293272942729527296272972729827299273002730127302273032730427305273062730727308273092731027311273122731327314273152731627317273182731927320273212732227323273242732527326273272732827329273302733127332273332733427335273362733727338273392734027341273422734327344273452734627347273482734927350273512735227353273542735527356273572735827359273602736127362273632736427365273662736727368273692737027371273722737327374273752737627377273782737927380273812738227383273842738527386273872738827389273902739127392273932739427395273962739727398273992740027401274022740327404274052740627407274082740927410274112741227413274142741527416274172741827419274202742127422274232742427425274262742727428274292743027431274322743327434274352743627437274382743927440274412744227443274442744527446274472744827449274502745127452274532745427455274562745727458274592746027461274622746327464274652746627467274682746927470274712747227473274742747527476274772747827479274802748127482274832748427485274862748727488274892749027491274922749327494274952749627497274982749927500275012750227503275042750527506275072750827509275102751127512275132751427515275162751727518275192752027521275222752327524275252752627527275282752927530275312753227533275342753527536275372753827539275402754127542275432754427545275462754727548275492755027551275522755327554275552755627557275582755927560275612756227563275642756527566275672756827569275702757127572275732757427575275762757727578275792758027581275822758327584275852758627587275882758927590275912759227593275942759527596275972759827599276002760127602276032760427605276062760727608276092761027611276122761327614276152761627617276182761927620276212762227623276242762527626276272762827629276302763127632276332763427635276362763727638276392764027641276422764327644276452764627647276482764927650276512765227653276542765527656276572765827659276602766127662276632766427665276662766727668276692767027671276722767327674276752767627677276782767927680276812768227683276842768527686276872768827689276902769127692276932769427695276962769727698276992770027701277022770327704277052770627707277082770927710277112771227713277142771527716277172771827719277202772127722277232772427725277262772727728277292773027731277322773327734277352773627737277382773927740277412774227743277442774527746277472774827749277502775127752277532775427755277562775727758277592776027761277622776327764277652776627767277682776927770277712777227773277742777527776277772777827779277802778127782277832778427785277862778727788277892779027791277922779327794277952779627797277982779927800278012780227803278042780527806278072780827809278102781127812278132781427815278162781727818278192782027821278222782327824278252782627827278282782927830278312783227833278342783527836278372783827839278402784127842278432784427845278462784727848278492785027851278522785327854278552785627857278582785927860278612786227863278642786527866278672786827869278702787127872278732787427875278762787727878278792788027881278822788327884278852788627887278882788927890278912789227893278942789527896278972789827899279002790127902279032790427905279062790727908279092791027911279122791327914279152791627917279182791927920279212792227923279242792527926279272792827929279302793127932279332793427935279362793727938279392794027941279422794327944279452794627947279482794927950279512795227953279542795527956279572795827959279602796127962279632796427965279662796727968279692797027971279722797327974279752797627977279782797927980279812798227983279842798527986279872798827989279902799127992279932799427995279962799727998279992800028001280022800328004280052800628007280082800928010280112801228013280142801528016280172801828019280202802128022280232802428025280262802728028280292803028031280322803328034280352803628037280382803928040280412804228043280442804528046280472804828049280502805128052280532805428055280562805728058280592806028061280622806328064280652806628067280682806928070280712807228073280742807528076280772807828079280802808128082280832808428085280862808728088280892809028091280922809328094280952809628097280982809928100281012810228103281042810528106281072810828109281102811128112281132811428115281162811728118281192812028121281222812328124281252812628127281282812928130281312813228133281342813528136281372813828139281402814128142281432814428145281462814728148281492815028151281522815328154281552815628157281582815928160281612816228163281642816528166281672816828169281702817128172281732817428175281762817728178281792818028181281822818328184281852818628187281882818928190281912819228193281942819528196281972819828199282002820128202282032820428205282062820728208282092821028211282122821328214282152821628217282182821928220282212822228223282242822528226282272822828229282302823128232282332823428235282362823728238282392824028241282422824328244282452824628247282482824928250282512825228253282542825528256282572825828259282602826128262282632826428265282662826728268282692827028271282722827328274282752827628277282782827928280282812828228283282842828528286282872828828289282902829128292282932829428295282962829728298282992830028301283022830328304283052830628307283082830928310283112831228313283142831528316283172831828319283202832128322283232832428325283262832728328283292833028331283322833328334283352833628337283382833928340283412834228343283442834528346283472834828349283502835128352283532835428355283562835728358283592836028361283622836328364283652836628367283682836928370283712837228373283742837528376283772837828379283802838128382283832838428385283862838728388283892839028391283922839328394283952839628397283982839928400284012840228403284042840528406284072840828409284102841128412284132841428415284162841728418284192842028421284222842328424284252842628427284282842928430284312843228433284342843528436284372843828439284402844128442284432844428445284462844728448284492845028451284522845328454284552845628457284582845928460284612846228463284642846528466284672846828469284702847128472284732847428475284762847728478284792848028481284822848328484284852848628487284882848928490284912849228493284942849528496284972849828499285002850128502285032850428505285062850728508285092851028511285122851328514285152851628517285182851928520285212852228523285242852528526285272852828529285302853128532285332853428535285362853728538285392854028541285422854328544285452854628547285482854928550285512855228553285542855528556285572855828559285602856128562285632856428565285662856728568285692857028571285722857328574285752857628577285782857928580285812858228583285842858528586285872858828589285902859128592285932859428595285962859728598285992860028601286022860328604286052860628607286082860928610286112861228613286142861528616286172861828619286202862128622286232862428625286262862728628286292863028631286322863328634286352863628637286382863928640286412864228643286442864528646286472864828649286502865128652286532865428655286562865728658286592866028661286622866328664286652866628667286682866928670286712867228673286742867528676286772867828679286802868128682286832868428685286862868728688286892869028691286922869328694286952869628697286982869928700287012870228703287042870528706287072870828709287102871128712287132871428715287162871728718287192872028721287222872328724287252872628727287282872928730287312873228733287342873528736287372873828739287402874128742287432874428745287462874728748287492875028751287522875328754287552875628757287582875928760287612876228763287642876528766287672876828769287702877128772287732877428775287762877728778287792878028781287822878328784287852878628787287882878928790287912879228793287942879528796287972879828799288002880128802288032880428805288062880728808288092881028811288122881328814288152881628817288182881928820288212882228823288242882528826288272882828829288302883128832288332883428835288362883728838288392884028841288422884328844288452884628847288482884928850288512885228853288542885528856288572885828859288602886128862288632886428865288662886728868288692887028871288722887328874288752887628877288782887928880288812888228883288842888528886288872888828889288902889128892288932889428895288962889728898288992890028901289022890328904289052890628907289082890928910289112891228913289142891528916289172891828919289202892128922289232892428925289262892728928289292893028931289322893328934289352893628937289382893928940289412894228943289442894528946289472894828949289502895128952289532895428955289562895728958289592896028961289622896328964289652896628967289682896928970289712897228973289742897528976289772897828979289802898128982289832898428985289862898728988289892899028991289922899328994289952899628997289982899929000290012900229003290042900529006290072900829009290102901129012290132901429015290162901729018290192902029021290222902329024290252902629027290282902929030290312903229033290342903529036290372903829039290402904129042290432904429045290462904729048290492905029051290522905329054290552905629057290582905929060290612906229063290642906529066290672906829069290702907129072290732907429075290762907729078290792908029081290822908329084290852908629087290882908929090290912909229093290942909529096290972909829099291002910129102291032910429105291062910729108291092911029111291122911329114291152911629117291182911929120291212912229123291242912529126291272912829129291302913129132291332913429135291362913729138291392914029141291422914329144291452914629147291482914929150291512915229153291542915529156291572915829159291602916129162291632916429165291662916729168291692917029171291722917329174291752917629177291782917929180291812918229183291842918529186291872918829189291902919129192291932919429195291962919729198291992920029201292022920329204292052920629207292082920929210292112921229213292142921529216292172921829219292202922129222292232922429225292262922729228292292923029231292322923329234292352923629237292382923929240292412924229243292442924529246292472924829249292502925129252292532925429255292562925729258292592926029261292622926329264292652926629267292682926929270292712927229273292742927529276292772927829279292802928129282292832928429285292862928729288292892929029291292922929329294292952929629297292982929929300293012930229303293042930529306293072930829309293102931129312293132931429315293162931729318293192932029321293222932329324293252932629327293282932929330293312933229333293342933529336293372933829339293402934129342293432934429345293462934729348293492935029351293522935329354293552935629357293582935929360293612936229363293642936529366293672936829369293702937129372293732937429375293762937729378293792938029381293822938329384293852938629387293882938929390293912939229393293942939529396293972939829399294002940129402294032940429405294062940729408294092941029411294122941329414294152941629417294182941929420294212942229423294242942529426294272942829429294302943129432294332943429435294362943729438294392944029441294422944329444294452944629447294482944929450294512945229453294542945529456294572945829459294602946129462294632946429465294662946729468294692947029471294722947329474294752947629477294782947929480294812948229483294842948529486294872948829489294902949129492294932949429495294962949729498294992950029501295022950329504295052950629507295082950929510295112951229513295142951529516295172951829519295202952129522295232952429525295262952729528295292953029531295322953329534295352953629537295382953929540295412954229543295442954529546295472954829549295502955129552295532955429555295562955729558295592956029561295622956329564295652956629567295682956929570295712957229573295742957529576295772957829579295802958129582295832958429585295862958729588295892959029591295922959329594295952959629597295982959929600296012960229603296042960529606296072960829609296102961129612296132961429615296162961729618296192962029621296222962329624296252962629627296282962929630296312963229633296342963529636296372963829639296402964129642296432964429645296462964729648296492965029651296522965329654296552965629657296582965929660296612966229663296642966529666296672966829669296702967129672296732967429675296762967729678296792968029681296822968329684296852968629687296882968929690296912969229693296942969529696296972969829699297002970129702297032970429705297062970729708297092971029711297122971329714297152971629717297182971929720297212972229723297242972529726297272972829729297302973129732297332973429735297362973729738297392974029741297422974329744297452974629747297482974929750297512975229753297542975529756297572975829759297602976129762297632976429765297662976729768297692977029771297722977329774297752977629777297782977929780297812978229783297842978529786297872978829789297902979129792297932979429795297962979729798297992980029801298022980329804298052980629807298082980929810298112981229813298142981529816298172981829819298202982129822298232982429825298262982729828298292983029831298322983329834298352983629837298382983929840298412984229843298442984529846298472984829849298502985129852298532985429855298562985729858298592986029861298622986329864298652986629867298682986929870298712987229873298742987529876298772987829879298802988129882298832988429885298862988729888298892989029891298922989329894298952989629897298982989929900299012990229903299042990529906299072990829909299102991129912299132991429915299162991729918299192992029921299222992329924299252992629927299282992929930299312993229933299342993529936299372993829939299402994129942299432994429945299462994729948299492995029951299522995329954299552995629957299582995929960299612996229963299642996529966299672996829969299702997129972299732997429975299762997729978299792998029981299822998329984299852998629987299882998929990299912999229993299942999529996299972999829999300003000130002300033000430005300063000730008300093001030011300123001330014300153001630017300183001930020300213002230023300243002530026300273002830029300303003130032300333003430035300363003730038300393004030041300423004330044300453004630047300483004930050300513005230053300543005530056300573005830059300603006130062300633006430065300663006730068300693007030071300723007330074300753007630077300783007930080300813008230083300843008530086300873008830089300903009130092300933009430095300963009730098300993010030101301023010330104301053010630107301083010930110301113011230113301143011530116301173011830119301203012130122301233012430125301263012730128301293013030131301323013330134301353013630137301383013930140301413014230143301443014530146301473014830149301503015130152301533015430155301563015730158301593016030161301623016330164301653016630167301683016930170301713017230173301743017530176301773017830179301803018130182301833018430185301863018730188301893019030191301923019330194301953019630197301983019930200302013020230203302043020530206302073020830209302103021130212302133021430215302163021730218302193022030221302223022330224302253022630227302283022930230302313023230233302343023530236302373023830239302403024130242302433024430245302463024730248302493025030251302523025330254302553025630257302583025930260302613026230263302643026530266302673026830269302703027130272302733027430275302763027730278302793028030281302823028330284302853028630287302883028930290302913029230293302943029530296302973029830299303003030130302303033030430305303063030730308303093031030311303123031330314303153031630317303183031930320303213032230323303243032530326303273032830329303303033130332303333033430335303363033730338303393034030341303423034330344303453034630347303483034930350303513035230353303543035530356303573035830359303603036130362303633036430365303663036730368303693037030371303723037330374303753037630377303783037930380303813038230383303843038530386303873038830389303903039130392303933039430395303963039730398303993040030401304023040330404304053040630407304083040930410304113041230413304143041530416304173041830419304203042130422304233042430425304263042730428304293043030431304323043330434304353043630437304383043930440304413044230443304443044530446304473044830449304503045130452304533045430455304563045730458304593046030461304623046330464304653046630467304683046930470304713047230473304743047530476304773047830479304803048130482304833048430485304863048730488304893049030491304923049330494304953049630497304983049930500305013050230503305043050530506305073050830509305103051130512305133051430515305163051730518305193052030521305223052330524305253052630527305283052930530305313053230533305343053530536305373053830539305403054130542305433054430545305463054730548305493055030551305523055330554305553055630557305583055930560305613056230563305643056530566305673056830569305703057130572305733057430575305763057730578305793058030581305823058330584305853058630587305883058930590305913059230593305943059530596305973059830599306003060130602306033060430605306063060730608306093061030611306123061330614306153061630617306183061930620306213062230623306243062530626306273062830629306303063130632306333063430635306363063730638306393064030641306423064330644306453064630647306483064930650306513065230653306543065530656306573065830659306603066130662306633066430665306663066730668306693067030671306723067330674306753067630677306783067930680306813068230683306843068530686306873068830689306903069130692306933069430695306963069730698306993070030701307023070330704307053070630707307083070930710307113071230713307143071530716307173071830719307203072130722307233072430725307263072730728307293073030731307323073330734307353073630737307383073930740307413074230743307443074530746307473074830749307503075130752307533075430755307563075730758307593076030761307623076330764307653076630767307683076930770307713077230773307743077530776307773077830779307803078130782307833078430785307863078730788307893079030791307923079330794307953079630797307983079930800308013080230803308043080530806308073080830809308103081130812308133081430815308163081730818308193082030821308223082330824308253082630827308283082930830308313083230833308343083530836308373083830839308403084130842308433084430845308463084730848308493085030851308523085330854308553085630857308583085930860308613086230863308643086530866308673086830869308703087130872308733087430875308763087730878308793088030881308823088330884308853088630887308883088930890308913089230893308943089530896308973089830899309003090130902309033090430905309063090730908309093091030911309123091330914309153091630917309183091930920309213092230923309243092530926309273092830929309303093130932309333093430935309363093730938309393094030941309423094330944309453094630947309483094930950309513095230953309543095530956309573095830959309603096130962309633096430965309663096730968309693097030971309723097330974309753097630977309783097930980309813098230983309843098530986309873098830989309903099130992309933099430995309963099730998309993100031001310023100331004310053100631007310083100931010310113101231013310143101531016310173101831019310203102131022310233102431025310263102731028310293103031031310323103331034310353103631037310383103931040310413104231043310443104531046310473104831049310503105131052310533105431055310563105731058310593106031061310623106331064310653106631067310683106931070310713107231073310743107531076310773107831079310803108131082310833108431085310863108731088310893109031091310923109331094310953109631097310983109931100311013110231103311043110531106311073110831109311103111131112311133111431115311163111731118311193112031121311223112331124311253112631127311283112931130311313113231133311343113531136311373113831139311403114131142311433114431145311463114731148311493115031151311523115331154311553115631157311583115931160311613116231163311643116531166311673116831169311703117131172311733117431175311763117731178311793118031181311823118331184311853118631187311883118931190311913119231193311943119531196311973119831199312003120131202312033120431205312063120731208312093121031211312123121331214312153121631217312183121931220312213122231223312243122531226312273122831229312303123131232312333123431235312363123731238312393124031241312423124331244312453124631247312483124931250312513125231253312543125531256312573125831259312603126131262312633126431265312663126731268312693127031271312723127331274312753127631277312783127931280312813128231283312843128531286312873128831289312903129131292312933129431295312963129731298312993130031301313023130331304313053130631307313083130931310313113131231313313143131531316313173131831319313203132131322313233132431325313263132731328313293133031331313323133331334313353133631337313383133931340313413134231343313443134531346313473134831349313503135131352313533135431355313563135731358313593136031361313623136331364313653136631367313683136931370313713137231373313743137531376313773137831379313803138131382313833138431385313863138731388313893139031391313923139331394313953139631397313983139931400314013140231403314043140531406314073140831409314103141131412314133141431415314163141731418314193142031421314223142331424314253142631427314283142931430314313143231433314343143531436314373143831439314403144131442314433144431445314463144731448314493145031451314523145331454314553145631457314583145931460314613146231463314643146531466314673146831469314703147131472314733147431475314763147731478314793148031481314823148331484314853148631487314883148931490314913149231493314943149531496314973149831499315003150131502315033150431505315063150731508315093151031511315123151331514315153151631517315183151931520315213152231523315243152531526315273152831529315303153131532315333153431535315363153731538315393154031541315423154331544315453154631547315483154931550315513155231553315543155531556315573155831559315603156131562315633156431565315663156731568315693157031571315723157331574315753157631577315783157931580315813158231583315843158531586315873158831589315903159131592315933159431595315963159731598315993160031601316023160331604316053160631607316083160931610316113161231613316143161531616316173161831619316203162131622316233162431625316263162731628316293163031631316323163331634316353163631637316383163931640316413164231643316443164531646316473164831649316503165131652316533165431655316563165731658316593166031661316623166331664316653166631667316683166931670316713167231673316743167531676316773167831679316803168131682316833168431685316863168731688316893169031691316923169331694316953169631697316983169931700317013170231703317043170531706317073170831709317103171131712317133171431715317163171731718317193172031721317223172331724317253172631727317283172931730317313173231733317343173531736317373173831739317403174131742317433174431745317463174731748317493175031751317523175331754317553175631757317583175931760317613176231763317643176531766317673176831769317703177131772317733177431775317763177731778317793178031781317823178331784317853178631787317883178931790317913179231793317943179531796317973179831799318003180131802318033180431805318063180731808318093181031811318123181331814318153181631817318183181931820318213182231823318243182531826318273182831829318303183131832318333183431835318363183731838318393184031841318423184331844318453184631847318483184931850318513185231853318543185531856318573185831859318603186131862318633186431865318663186731868318693187031871318723187331874318753187631877318783187931880318813188231883318843188531886318873188831889318903189131892318933189431895318963189731898318993190031901319023190331904319053190631907319083190931910319113191231913319143191531916319173191831919319203192131922319233192431925319263192731928319293193031931319323193331934319353193631937319383193931940319413194231943319443194531946319473194831949319503195131952319533195431955319563195731958319593196031961319623196331964319653196631967319683196931970319713197231973319743197531976319773197831979319803198131982319833198431985319863198731988319893199031991319923199331994319953199631997319983199932000320013200232003320043200532006320073200832009320103201132012320133201432015320163201732018320193202032021320223202332024320253202632027320283202932030320313203232033320343203532036320373203832039320403204132042320433204432045320463204732048320493205032051320523205332054320553205632057320583205932060320613206232063320643206532066320673206832069320703207132072320733207432075320763207732078320793208032081320823208332084320853208632087320883208932090320913209232093320943209532096320973209832099321003210132102321033210432105321063210732108321093211032111321123211332114321153211632117321183211932120321213212232123321243212532126321273212832129321303213132132321333213432135321363213732138321393214032141321423214332144321453214632147321483214932150321513215232153321543215532156321573215832159321603216132162321633216432165321663216732168321693217032171321723217332174321753217632177321783217932180321813218232183321843218532186321873218832189321903219132192321933219432195321963219732198321993220032201322023220332204322053220632207322083220932210322113221232213322143221532216322173221832219322203222132222322233222432225322263222732228322293223032231322323223332234322353223632237322383223932240322413224232243322443224532246322473224832249322503225132252322533225432255322563225732258322593226032261322623226332264322653226632267322683226932270322713227232273322743227532276322773227832279322803228132282322833228432285322863228732288322893229032291322923229332294322953229632297322983229932300323013230232303323043230532306323073230832309323103231132312323133231432315323163231732318323193232032321323223232332324323253232632327323283232932330323313233232333323343233532336323373233832339323403234132342323433234432345323463234732348323493235032351323523235332354323553235632357323583235932360323613236232363323643236532366323673236832369323703237132372323733237432375323763237732378323793238032381323823238332384323853238632387323883238932390323913239232393323943239532396323973239832399324003240132402324033240432405324063240732408324093241032411324123241332414324153241632417324183241932420324213242232423324243242532426324273242832429324303243132432324333243432435324363243732438324393244032441324423244332444324453244632447324483244932450324513245232453324543245532456324573245832459324603246132462324633246432465324663246732468324693247032471324723247332474324753247632477324783247932480324813248232483324843248532486324873248832489324903249132492324933249432495324963249732498324993250032501325023250332504325053250632507325083250932510325113251232513325143251532516325173251832519325203252132522325233252432525325263252732528325293253032531325323253332534325353253632537325383253932540325413254232543325443254532546325473254832549325503255132552325533255432555325563255732558325593256032561325623256332564325653256632567325683256932570325713257232573325743257532576325773257832579325803258132582325833258432585325863258732588325893259032591325923259332594325953259632597325983259932600326013260232603326043260532606326073260832609326103261132612326133261432615326163261732618326193262032621326223262332624326253262632627326283262932630326313263232633326343263532636326373263832639326403264132642326433264432645326463264732648326493265032651326523265332654326553265632657326583265932660326613266232663326643266532666326673266832669326703267132672326733267432675326763267732678326793268032681326823268332684326853268632687326883268932690326913269232693326943269532696326973269832699327003270132702327033270432705327063270732708327093271032711327123271332714327153271632717327183271932720327213272232723327243272532726327273272832729327303273132732327333273432735327363273732738327393274032741327423274332744327453274632747327483274932750327513275232753327543275532756327573275832759327603276132762327633276432765327663276732768327693277032771327723277332774327753277632777327783277932780327813278232783327843278532786327873278832789327903279132792327933279432795327963279732798327993280032801328023280332804328053280632807328083280932810328113281232813328143281532816328173281832819328203282132822328233282432825328263282732828328293283032831328323283332834328353283632837328383283932840328413284232843328443284532846328473284832849328503285132852328533285432855328563285732858328593286032861328623286332864328653286632867328683286932870328713287232873328743287532876328773287832879328803288132882328833288432885328863288732888328893289032891328923289332894328953289632897328983289932900329013290232903329043290532906329073290832909329103291132912329133291432915329163291732918329193292032921329223292332924329253292632927329283292932930329313293232933329343293532936329373293832939329403294132942329433294432945329463294732948329493295032951329523295332954329553295632957329583295932960329613296232963329643296532966329673296832969329703297132972329733297432975329763297732978329793298032981329823298332984329853298632987329883298932990329913299232993329943299532996329973299832999330003300133002330033300433005330063300733008330093301033011330123301333014330153301633017330183301933020330213302233023330243302533026330273302833029330303303133032330333303433035330363303733038330393304033041330423304333044330453304633047330483304933050330513305233053330543305533056330573305833059330603306133062330633306433065330663306733068330693307033071330723307333074330753307633077330783307933080330813308233083330843308533086330873308833089330903309133092330933309433095330963309733098330993310033101331023310333104331053310633107331083310933110331113311233113331143311533116331173311833119331203312133122331233312433125331263312733128331293313033131331323313333134331353313633137331383313933140331413314233143331443314533146331473314833149331503315133152331533315433155331563315733158331593316033161331623316333164331653316633167331683316933170331713317233173331743317533176331773317833179331803318133182331833318433185331863318733188331893319033191331923319333194331953319633197331983319933200332013320233203332043320533206332073320833209332103321133212332133321433215332163321733218332193322033221332223322333224332253322633227332283322933230332313323233233332343323533236332373323833239332403324133242332433324433245332463324733248332493325033251332523325333254332553325633257332583325933260332613326233263332643326533266332673326833269332703327133272332733327433275332763327733278332793328033281332823328333284332853328633287332883328933290332913329233293332943329533296332973329833299333003330133302333033330433305333063330733308333093331033311333123331333314333153331633317333183331933320333213332233323333243332533326333273332833329333303333133332333333333433335333363333733338333393334033341333423334333344333453334633347333483334933350333513335233353333543335533356333573335833359333603336133362333633336433365333663336733368333693337033371333723337333374333753337633377333783337933380333813338233383333843338533386333873338833389333903339133392333933339433395333963339733398333993340033401334023340333404334053340633407334083340933410334113341233413334143341533416334173341833419334203342133422334233342433425334263342733428334293343033431334323343333434334353343633437334383343933440334413344233443334443344533446334473344833449334503345133452334533345433455334563345733458334593346033461334623346333464334653346633467334683346933470334713347233473334743347533476334773347833479334803348133482334833348433485334863348733488334893349033491334923349333494334953349633497334983349933500335013350233503335043350533506335073350833509335103351133512335133351433515335163351733518335193352033521335223352333524335253352633527335283352933530335313353233533335343353533536335373353833539335403354133542335433354433545335463354733548335493355033551335523355333554335553355633557335583355933560335613356233563335643356533566335673356833569335703357133572335733357433575335763357733578335793358033581335823358333584335853358633587335883358933590335913359233593335943359533596335973359833599336003360133602336033360433605336063360733608336093361033611336123361333614336153361633617336183361933620336213362233623336243362533626336273362833629336303363133632336333363433635336363363733638336393364033641336423364333644336453364633647336483364933650336513365233653336543365533656336573365833659336603366133662336633366433665336663366733668336693367033671336723367333674336753367633677336783367933680336813368233683336843368533686336873368833689336903369133692336933369433695336963369733698336993370033701337023370333704337053370633707337083370933710337113371233713337143371533716337173371833719337203372133722337233372433725337263372733728337293373033731337323373333734337353373633737337383373933740337413374233743337443374533746337473374833749337503375133752337533375433755337563375733758337593376033761337623376333764337653376633767337683376933770337713377233773337743377533776337773377833779337803378133782337833378433785337863378733788337893379033791337923379333794337953379633797337983379933800338013380233803338043380533806338073380833809338103381133812338133381433815338163381733818338193382033821338223382333824338253382633827338283382933830338313383233833338343383533836338373383833839338403384133842338433384433845338463384733848338493385033851338523385333854338553385633857338583385933860338613386233863338643386533866338673386833869338703387133872338733387433875338763387733878338793388033881338823388333884338853388633887338883388933890338913389233893338943389533896338973389833899339003390133902339033390433905339063390733908339093391033911339123391333914339153391633917339183391933920339213392233923339243392533926339273392833929339303393133932339333393433935339363393733938339393394033941339423394333944339453394633947339483394933950339513395233953339543395533956339573395833959339603396133962339633396433965339663396733968339693397033971339723397333974339753397633977339783397933980339813398233983339843398533986339873398833989339903399133992339933399433995339963399733998339993400034001340023400334004340053400634007340083400934010340113401234013340143401534016340173401834019340203402134022340233402434025340263402734028340293403034031340323403334034340353403634037340383403934040340413404234043340443404534046340473404834049340503405134052340533405434055340563405734058340593406034061340623406334064340653406634067340683406934070340713407234073340743407534076340773407834079340803408134082340833408434085340863408734088340893409034091340923409334094340953409634097340983409934100341013410234103341043410534106341073410834109341103411134112341133411434115341163411734118341193412034121341223412334124341253412634127341283412934130341313413234133341343413534136341373413834139341403414134142341433414434145341463414734148341493415034151341523415334154341553415634157341583415934160341613416234163341643416534166341673416834169341703417134172341733417434175341763417734178341793418034181341823418334184341853418634187341883418934190341913419234193341943419534196341973419834199342003420134202342033420434205342063420734208342093421034211342123421334214342153421634217342183421934220342213422234223342243422534226342273422834229342303423134232342333423434235342363423734238342393424034241342423424334244342453424634247342483424934250342513425234253342543425534256342573425834259342603426134262342633426434265342663426734268342693427034271342723427334274342753427634277342783427934280342813428234283342843428534286342873428834289342903429134292342933429434295342963429734298342993430034301343023430334304343053430634307343083430934310343113431234313343143431534316343173431834319343203432134322343233432434325343263432734328343293433034331343323433334334343353433634337343383433934340343413434234343343443434534346343473434834349343503435134352343533435434355343563435734358343593436034361343623436334364343653436634367343683436934370343713437234373343743437534376343773437834379343803438134382343833438434385343863438734388343893439034391343923439334394343953439634397343983439934400344013440234403344043440534406344073440834409344103441134412344133441434415344163441734418344193442034421344223442334424344253442634427344283442934430344313443234433344343443534436344373443834439344403444134442344433444434445344463444734448344493445034451344523445334454344553445634457344583445934460344613446234463344643446534466344673446834469344703447134472344733447434475344763447734478344793448034481344823448334484344853448634487344883448934490344913449234493344943449534496344973449834499345003450134502345033450434505345063450734508345093451034511345123451334514345153451634517345183451934520345213452234523345243452534526345273452834529345303453134532345333453434535345363453734538345393454034541345423454334544345453454634547345483454934550345513455234553345543455534556345573455834559345603456134562345633456434565345663456734568345693457034571345723457334574345753457634577345783457934580345813458234583345843458534586345873458834589345903459134592345933459434595345963459734598345993460034601346023460334604346053460634607346083460934610346113461234613346143461534616346173461834619346203462134622346233462434625346263462734628346293463034631346323463334634346353463634637346383463934640346413464234643346443464534646346473464834649346503465134652346533465434655346563465734658346593466034661346623466334664346653466634667346683466934670346713467234673346743467534676346773467834679346803468134682346833468434685346863468734688346893469034691346923469334694346953469634697346983469934700347013470234703347043470534706347073470834709347103471134712347133471434715347163471734718347193472034721347223472334724347253472634727347283472934730347313473234733347343473534736347373473834739347403474134742347433474434745347463474734748347493475034751347523475334754347553475634757347583475934760347613476234763347643476534766347673476834769347703477134772347733477434775347763477734778347793478034781347823478334784347853478634787347883478934790347913479234793347943479534796347973479834799348003480134802348033480434805348063480734808348093481034811348123481334814348153481634817348183481934820348213482234823348243482534826348273482834829348303483134832348333483434835348363483734838348393484034841348423484334844348453484634847348483484934850348513485234853348543485534856348573485834859348603486134862348633486434865348663486734868348693487034871348723487334874348753487634877348783487934880348813488234883348843488534886348873488834889348903489134892348933489434895348963489734898348993490034901349023490334904349053490634907349083490934910349113491234913349143491534916349173491834919349203492134922349233492434925349263492734928349293493034931349323493334934349353493634937349383493934940349413494234943349443494534946349473494834949349503495134952349533495434955349563495734958349593496034961349623496334964349653496634967349683496934970349713497234973349743497534976349773497834979349803498134982349833498434985349863498734988349893499034991349923499334994349953499634997349983499935000350013500235003350043500535006350073500835009350103501135012350133501435015350163501735018350193502035021350223502335024350253502635027350283502935030350313503235033350343503535036350373503835039350403504135042350433504435045350463504735048350493505035051350523505335054350553505635057350583505935060350613506235063350643506535066350673506835069350703507135072350733507435075350763507735078350793508035081350823508335084350853508635087350883508935090350913509235093350943509535096350973509835099351003510135102351033510435105351063510735108351093511035111351123511335114351153511635117351183511935120351213512235123351243512535126351273512835129351303513135132351333513435135351363513735138351393514035141351423514335144351453514635147351483514935150351513515235153351543515535156351573515835159351603516135162351633516435165351663516735168351693517035171351723517335174351753517635177351783517935180351813518235183351843518535186351873518835189351903519135192351933519435195351963519735198351993520035201352023520335204352053520635207352083520935210352113521235213352143521535216352173521835219352203522135222352233522435225352263522735228352293523035231352323523335234352353523635237352383523935240352413524235243352443524535246352473524835249352503525135252352533525435255352563525735258352593526035261352623526335264352653526635267352683526935270352713527235273352743527535276352773527835279352803528135282352833528435285352863528735288352893529035291352923529335294352953529635297352983529935300353013530235303353043530535306353073530835309353103531135312353133531435315353163531735318353193532035321353223532335324353253532635327353283532935330353313533235333353343533535336353373533835339353403534135342353433534435345353463534735348353493535035351353523535335354353553535635357353583535935360353613536235363353643536535366353673536835369353703537135372353733537435375353763537735378353793538035381353823538335384353853538635387353883538935390353913539235393353943539535396353973539835399354003540135402354033540435405354063540735408354093541035411354123541335414354153541635417354183541935420354213542235423354243542535426354273542835429354303543135432354333543435435354363543735438354393544035441354423544335444354453544635447354483544935450354513545235453354543545535456354573545835459354603546135462354633546435465354663546735468
  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/QueryOrderQuoteMyq": {
  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": "页码",
  11332. "name": "page",
  11333. "in": "query"
  11334. },
  11335. {
  11336. "type": "integer",
  11337. "description": "每页条数",
  11338. "name": "pagesize",
  11339. "in": "query"
  11340. },
  11341. {
  11342. "type": "integer",
  11343. "description": "仓单贸易市场id",
  11344. "name": "marketid",
  11345. "in": "query"
  11346. },
  11347. {
  11348. "type": "integer",
  11349. "description": "0:仓单预售 1:仓单贸易",
  11350. "name": "haswr",
  11351. "in": "query",
  11352. "required": true
  11353. },
  11354. {
  11355. "type": "integer",
  11356. "description": "买卖方向 0-买 1-卖",
  11357. "name": "buyorsell",
  11358. "in": "query",
  11359. "required": true
  11360. }
  11361. ],
  11362. "responses": {
  11363. "200": {
  11364. "description": "OK",
  11365. "schema": {
  11366. "type": "array",
  11367. "items": {
  11368. "$ref": "#/definitions/models.WrQuoteOrderMyq"
  11369. }
  11370. }
  11371. },
  11372. "500": {
  11373. "description": "Internal Server Error",
  11374. "schema": {
  11375. "$ref": "#/definitions/app.Response"
  11376. }
  11377. }
  11378. }
  11379. }
  11380. },
  11381. "/WrTrade2/QueryPerformancePlan": {
  11382. "get": {
  11383. "security": [
  11384. {
  11385. "ApiKeyAuth": []
  11386. }
  11387. ],
  11388. "produces": [
  11389. "application/json"
  11390. ],
  11391. "tags": [
  11392. "仓单贸易v2"
  11393. ],
  11394. "summary": "查询履约信息",
  11395. "parameters": [
  11396. {
  11397. "type": "integer",
  11398. "description": "用户id",
  11399. "name": "userid",
  11400. "in": "query",
  11401. "required": true
  11402. },
  11403. {
  11404. "type": "integer",
  11405. "description": "买卖方向 0-买 1-卖",
  11406. "name": "buyorsell",
  11407. "in": "query",
  11408. "required": true
  11409. }
  11410. ],
  11411. "responses": {
  11412. "200": {
  11413. "description": "OK",
  11414. "schema": {
  11415. "type": "array",
  11416. "items": {
  11417. "$ref": "#/definitions/models.WrPerformancePlan"
  11418. }
  11419. }
  11420. },
  11421. "500": {
  11422. "description": "Internal Server Error",
  11423. "schema": {
  11424. "$ref": "#/definitions/app.Response"
  11425. }
  11426. }
  11427. }
  11428. }
  11429. },
  11430. "/WrTrade2/QueryWrAverageTradePrice": {
  11431. "get": {
  11432. "security": [
  11433. {
  11434. "ApiKeyAuth": []
  11435. }
  11436. ],
  11437. "produces": [
  11438. "application/json"
  11439. ],
  11440. "tags": [
  11441. "仓单贸易v2"
  11442. ],
  11443. "summary": "查询成交价(历史走势)",
  11444. "parameters": [
  11445. {
  11446. "type": "integer",
  11447. "description": "页码",
  11448. "name": "page",
  11449. "in": "query"
  11450. },
  11451. {
  11452. "type": "integer",
  11453. "description": "每页条数",
  11454. "name": "pagesize",
  11455. "in": "query"
  11456. },
  11457. {
  11458. "type": "integer",
  11459. "description": "0:仓单预售 1:仓单贸易",
  11460. "name": "haswr",
  11461. "in": "query",
  11462. "required": true
  11463. },
  11464. {
  11465. "type": "integer",
  11466. "description": "仓单要素id",
  11467. "name": "wrfactortypeid",
  11468. "in": "query",
  11469. "required": true
  11470. }
  11471. ],
  11472. "responses": {
  11473. "200": {
  11474. "description": "OK",
  11475. "schema": {
  11476. "type": "array",
  11477. "items": {
  11478. "$ref": "#/definitions/models.WrAverageTradePrice"
  11479. }
  11480. }
  11481. },
  11482. "500": {
  11483. "description": "Internal Server Error",
  11484. "schema": {
  11485. "$ref": "#/definitions/app.Response"
  11486. }
  11487. }
  11488. }
  11489. }
  11490. },
  11491. "/WrTrade2/QueryWrBsGoodsInfo": {
  11492. "get": {
  11493. "security": [
  11494. {
  11495. "ApiKeyAuth": []
  11496. }
  11497. ],
  11498. "description": "合约交易/买卖大厅/详情",
  11499. "produces": [
  11500. "application/json"
  11501. ],
  11502. "tags": [
  11503. "仓单贸易v2"
  11504. ],
  11505. "summary": "查询合约交易买卖大厅详情",
  11506. "parameters": [
  11507. {
  11508. "type": "integer",
  11509. "description": "商品id",
  11510. "name": "goodsid",
  11511. "in": "query",
  11512. "required": true
  11513. }
  11514. ],
  11515. "responses": {
  11516. "200": {
  11517. "description": "OK",
  11518. "schema": {
  11519. "type": "array",
  11520. "items": {
  11521. "$ref": "#/definitions/models.WrBsGoodsInfo"
  11522. }
  11523. }
  11524. },
  11525. "500": {
  11526. "description": "Internal Server Error",
  11527. "schema": {
  11528. "$ref": "#/definitions/app.Response"
  11529. }
  11530. }
  11531. }
  11532. }
  11533. },
  11534. "/WrTrade2/QueryWrBuybackDetail": {
  11535. "get": {
  11536. "security": [
  11537. {
  11538. "ApiKeyAuth": []
  11539. }
  11540. ],
  11541. "produces": [
  11542. "application/json"
  11543. ],
  11544. "tags": [
  11545. "仓单贸易v2"
  11546. ],
  11547. "summary": "查询仓单回购明细",
  11548. "parameters": [
  11549. {
  11550. "type": "integer",
  11551. "description": "融资合同id",
  11552. "name": "scfcontractid",
  11553. "in": "query"
  11554. }
  11555. ],
  11556. "responses": {
  11557. "200": {
  11558. "description": "OK",
  11559. "schema": {
  11560. "type": "array",
  11561. "items": {
  11562. "$ref": "#/definitions/models.WrBuybackDetail"
  11563. }
  11564. }
  11565. },
  11566. "500": {
  11567. "description": "Internal Server Error",
  11568. "schema": {
  11569. "$ref": "#/definitions/app.Response"
  11570. }
  11571. }
  11572. }
  11573. }
  11574. },
  11575. "/WrTrade2/QueryWrDeliveryDetail": {
  11576. "get": {
  11577. "security": [
  11578. {
  11579. "ApiKeyAuth": []
  11580. }
  11581. ],
  11582. "produces": [
  11583. "application/json"
  11584. ],
  11585. "tags": [
  11586. "仓单贸易v2"
  11587. ],
  11588. "summary": "查询交收",
  11589. "parameters": [
  11590. {
  11591. "type": "integer",
  11592. "description": "用户id",
  11593. "name": "userid",
  11594. "in": "query",
  11595. "required": true
  11596. },
  11597. {
  11598. "type": "integer",
  11599. "description": "资金账号id",
  11600. "name": "accountid",
  11601. "in": "query"
  11602. }
  11603. ],
  11604. "responses": {
  11605. "200": {
  11606. "description": "OK",
  11607. "schema": {
  11608. "type": "array",
  11609. "items": {
  11610. "$ref": "#/definitions/models.WrDeliveryDetail"
  11611. }
  11612. }
  11613. },
  11614. "500": {
  11615. "description": "Internal Server Error",
  11616. "schema": {
  11617. "$ref": "#/definitions/app.Response"
  11618. }
  11619. }
  11620. }
  11621. }
  11622. },
  11623. "/WrTrade2/QueryWrFactorTypeInfo": {
  11624. "get": {
  11625. "security": [
  11626. {
  11627. "ApiKeyAuth": []
  11628. }
  11629. ],
  11630. "produces": [
  11631. "application/json"
  11632. ],
  11633. "tags": [
  11634. "仓单贸易v2"
  11635. ],
  11636. "summary": "查询仓单要素详细信息",
  11637. "parameters": [
  11638. {
  11639. "type": "integer",
  11640. "description": "仓单要素id",
  11641. "name": "wrfactortypeid",
  11642. "in": "query",
  11643. "required": true
  11644. }
  11645. ],
  11646. "responses": {
  11647. "200": {
  11648. "description": "OK",
  11649. "schema": {
  11650. "type": "array",
  11651. "items": {
  11652. "$ref": "#/definitions/models.WrFactorTypeInfo"
  11653. }
  11654. }
  11655. },
  11656. "500": {
  11657. "description": "Internal Server Error",
  11658. "schema": {
  11659. "$ref": "#/definitions/app.Response"
  11660. }
  11661. }
  11662. }
  11663. }
  11664. },
  11665. "/WrTrade2/QueryWrFactorTypeInfoEx": {
  11666. "get": {
  11667. "security": [
  11668. {
  11669. "ApiKeyAuth": []
  11670. }
  11671. ],
  11672. "produces": [
  11673. "application/json"
  11674. ],
  11675. "tags": [
  11676. "仓单贸易v2"
  11677. ],
  11678. "summary": "查询仓单要素详细信息列表项",
  11679. "parameters": [
  11680. {
  11681. "type": "integer",
  11682. "description": "仓单要素id",
  11683. "name": "wrfactortypeid",
  11684. "in": "query",
  11685. "required": true
  11686. }
  11687. ],
  11688. "responses": {
  11689. "200": {
  11690. "description": "OK",
  11691. "schema": {
  11692. "type": "array",
  11693. "items": {
  11694. "$ref": "#/definitions/models.WrTypeItem"
  11695. }
  11696. }
  11697. },
  11698. "500": {
  11699. "description": "Internal Server Error",
  11700. "schema": {
  11701. "$ref": "#/definitions/app.Response"
  11702. }
  11703. }
  11704. }
  11705. }
  11706. },
  11707. "/WrTrade2/QueryWrFinanceBuyApply": {
  11708. "get": {
  11709. "security": [
  11710. {
  11711. "ApiKeyAuth": []
  11712. }
  11713. ],
  11714. "description": "页面 融资信息+ / 申请单",
  11715. "produces": [
  11716. "application/json"
  11717. ],
  11718. "tags": [
  11719. "仓单贸易v2"
  11720. ],
  11721. "summary": "查询融资购买申请",
  11722. "parameters": [
  11723. {
  11724. "type": "integer",
  11725. "description": "用户id",
  11726. "name": "userid",
  11727. "in": "query",
  11728. "required": true
  11729. }
  11730. ],
  11731. "responses": {
  11732. "200": {
  11733. "description": "OK",
  11734. "schema": {
  11735. "type": "array",
  11736. "items": {
  11737. "$ref": "#/definitions/models.WrFinanceBuyApply"
  11738. }
  11739. }
  11740. },
  11741. "500": {
  11742. "description": "Internal Server Error",
  11743. "schema": {
  11744. "$ref": "#/definitions/app.Response"
  11745. }
  11746. }
  11747. }
  11748. }
  11749. },
  11750. "/WrTrade2/QueryWrGoodsInfo": {
  11751. "get": {
  11752. "security": [
  11753. {
  11754. "ApiKeyAuth": []
  11755. }
  11756. ],
  11757. "produces": [
  11758. "application/json"
  11759. ],
  11760. "tags": [
  11761. "仓单贸易v2"
  11762. ],
  11763. "summary": "查询仓单商品信息",
  11764. "parameters": [
  11765. {
  11766. "type": "integer",
  11767. "description": "仓单贸易市场id",
  11768. "name": "marketid",
  11769. "in": "query"
  11770. },
  11771. {
  11772. "type": "integer",
  11773. "description": "0:仓单预售 1:仓单贸易",
  11774. "name": "haswr",
  11775. "in": "query",
  11776. "required": true
  11777. },
  11778. {
  11779. "type": "integer",
  11780. "description": "仓单要素id",
  11781. "name": "wrfactortypeid",
  11782. "in": "query",
  11783. "required": true
  11784. }
  11785. ],
  11786. "responses": {
  11787. "200": {
  11788. "description": "OK",
  11789. "schema": {
  11790. "type": "array",
  11791. "items": {
  11792. "$ref": "#/definitions/models.WrGoodsInfo"
  11793. }
  11794. }
  11795. },
  11796. "500": {
  11797. "description": "Internal Server Error",
  11798. "schema": {
  11799. "$ref": "#/definitions/app.Response"
  11800. }
  11801. }
  11802. }
  11803. }
  11804. },
  11805. "/WrTrade2/QueryWrMarketTradeConfig": {
  11806. "get": {
  11807. "security": [
  11808. {
  11809. "ApiKeyAuth": []
  11810. }
  11811. ],
  11812. "produces": [
  11813. "application/json"
  11814. ],
  11815. "tags": [
  11816. "仓单贸易v2"
  11817. ],
  11818. "summary": "查询市场交易参数配置",
  11819. "parameters": [
  11820. {
  11821. "type": "integer",
  11822. "description": "市场id",
  11823. "name": "marketid",
  11824. "in": "query"
  11825. }
  11826. ],
  11827. "responses": {
  11828. "200": {
  11829. "description": "OK",
  11830. "schema": {
  11831. "type": "array",
  11832. "items": {
  11833. "$ref": "#/definitions/models.WrMarketTradeConfig"
  11834. }
  11835. }
  11836. },
  11837. "500": {
  11838. "description": "Internal Server Error",
  11839. "schema": {
  11840. "$ref": "#/definitions/app.Response"
  11841. }
  11842. }
  11843. }
  11844. }
  11845. },
  11846. "/WrTrade2/QueryWrOrderDetail": {
  11847. "get": {
  11848. "security": [
  11849. {
  11850. "ApiKeyAuth": []
  11851. }
  11852. ],
  11853. "description": "页面 现货仓单 | 预售仓单 -\u003e 挂单",
  11854. "produces": [
  11855. "application/json"
  11856. ],
  11857. "tags": [
  11858. "仓单贸易v2"
  11859. ],
  11860. "summary": "查询仓单委托单(挂单)",
  11861. "parameters": [
  11862. {
  11863. "type": "integer",
  11864. "description": "页码",
  11865. "name": "page",
  11866. "in": "query"
  11867. },
  11868. {
  11869. "type": "integer",
  11870. "description": "每页条数",
  11871. "name": "pagesize",
  11872. "in": "query"
  11873. },
  11874. {
  11875. "type": "integer",
  11876. "description": "用户id",
  11877. "name": "userid",
  11878. "in": "query",
  11879. "required": true
  11880. },
  11881. {
  11882. "type": "integer",
  11883. "description": "仓单贸易市场id",
  11884. "name": "marketid",
  11885. "in": "query"
  11886. },
  11887. {
  11888. "type": "integer",
  11889. "description": "0:仓单预售 1:仓单贸易",
  11890. "name": "haswr",
  11891. "in": "query",
  11892. "required": true
  11893. }
  11894. ],
  11895. "responses": {
  11896. "200": {
  11897. "description": "OK",
  11898. "schema": {
  11899. "type": "array",
  11900. "items": {
  11901. "$ref": "#/definitions/models.WrOrderDetail"
  11902. }
  11903. }
  11904. },
  11905. "500": {
  11906. "description": "Internal Server Error",
  11907. "schema": {
  11908. "$ref": "#/definitions/app.Response"
  11909. }
  11910. }
  11911. }
  11912. }
  11913. },
  11914. "/WrTrade2/QueryWrOutInApply": {
  11915. "get": {
  11916. "security": [
  11917. {
  11918. "ApiKeyAuth": []
  11919. }
  11920. ],
  11921. "produces": [
  11922. "application/json"
  11923. ],
  11924. "tags": [
  11925. "仓单贸易v2"
  11926. ],
  11927. "summary": "查询提货申请",
  11928. "parameters": [
  11929. {
  11930. "type": "integer",
  11931. "description": "用户id",
  11932. "name": "userid",
  11933. "in": "query",
  11934. "required": true
  11935. }
  11936. ],
  11937. "responses": {
  11938. "200": {
  11939. "description": "OK",
  11940. "schema": {
  11941. "type": "array",
  11942. "items": {
  11943. "$ref": "#/definitions/models.WrOutInApply"
  11944. }
  11945. }
  11946. },
  11947. "500": {
  11948. "description": "Internal Server Error",
  11949. "schema": {
  11950. "$ref": "#/definitions/app.Response"
  11951. }
  11952. }
  11953. }
  11954. }
  11955. },
  11956. "/WrTrade2/QueryWrPerformancePlanStep": {
  11957. "get": {
  11958. "security": [
  11959. {
  11960. "ApiKeyAuth": []
  11961. }
  11962. ],
  11963. "produces": [
  11964. "application/json"
  11965. ],
  11966. "tags": [
  11967. "仓单贸易v2"
  11968. ],
  11969. "summary": "查询履约信息详情",
  11970. "parameters": [
  11971. {
  11972. "type": "integer",
  11973. "description": "履约计划id(performanceplanid)",
  11974. "name": "planid",
  11975. "in": "query",
  11976. "required": true
  11977. },
  11978. {
  11979. "type": "integer",
  11980. "description": "当前步骤id",
  11981. "name": "curstepid",
  11982. "in": "query"
  11983. }
  11984. ],
  11985. "responses": {
  11986. "200": {
  11987. "description": "OK",
  11988. "schema": {
  11989. "type": "array",
  11990. "items": {
  11991. "$ref": "#/definitions/models.WrPerformancePlanStep"
  11992. }
  11993. }
  11994. },
  11995. "500": {
  11996. "description": "Internal Server Error",
  11997. "schema": {
  11998. "$ref": "#/definitions/app.Response"
  11999. }
  12000. }
  12001. }
  12002. }
  12003. },
  12004. "/WrTrade2/QueryWrPosition": {
  12005. "get": {
  12006. "security": [
  12007. {
  12008. "ApiKeyAuth": []
  12009. }
  12010. ],
  12011. "description": "页面 现货仓单-\u003e现货汇总/库存汇总; 预售仓单-\u003e订单汇总",
  12012. "produces": [
  12013. "application/json"
  12014. ],
  12015. "tags": [
  12016. "仓单贸易v2"
  12017. ],
  12018. "summary": "查询现货(预售)仓单持仓",
  12019. "parameters": [
  12020. {
  12021. "type": "integer",
  12022. "description": "用户id",
  12023. "name": "userid",
  12024. "in": "query",
  12025. "required": true
  12026. },
  12027. {
  12028. "type": "integer",
  12029. "description": "查询类型 1-现货汇总 2-库存汇总(订单汇总)",
  12030. "name": "querytype",
  12031. "in": "query",
  12032. "required": true
  12033. },
  12034. {
  12035. "type": "integer",
  12036. "description": "0:仓单预售 1:仓单贸易",
  12037. "name": "haswr",
  12038. "in": "query",
  12039. "required": true
  12040. },
  12041. {
  12042. "type": "string",
  12043. "description": "商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm",
  12044. "name": "dgitemname",
  12045. "in": "query"
  12046. },
  12047. {
  12048. "type": "integer",
  12049. "description": "仓库id(筛选条件)",
  12050. "name": "warehouseid",
  12051. "in": "query"
  12052. },
  12053. {
  12054. "type": "integer",
  12055. "description": "品种id",
  12056. "name": "deliverygoodsid",
  12057. "in": "query"
  12058. },
  12059. {
  12060. "type": "integer",
  12061. "description": "品类id",
  12062. "name": "wrstandardid",
  12063. "in": "query"
  12064. }
  12065. ],
  12066. "responses": {
  12067. "200": {
  12068. "description": "OK",
  12069. "schema": {
  12070. "type": "array",
  12071. "items": {
  12072. "$ref": "#/definitions/models.WrPosition"
  12073. }
  12074. }
  12075. },
  12076. "500": {
  12077. "description": "Internal Server Error",
  12078. "schema": {
  12079. "$ref": "#/definitions/app.Response"
  12080. }
  12081. }
  12082. }
  12083. }
  12084. },
  12085. "/WrTrade2/QueryWrScfContract": {
  12086. "get": {
  12087. "security": [
  12088. {
  12089. "ApiKeyAuth": []
  12090. }
  12091. ],
  12092. "produces": [
  12093. "application/json"
  12094. ],
  12095. "tags": [
  12096. "仓单贸易v2"
  12097. ],
  12098. "summary": "查询仓单贸易融资合同",
  12099. "parameters": [
  12100. {
  12101. "type": "integer",
  12102. "description": "用户id",
  12103. "name": "userid",
  12104. "in": "query",
  12105. "required": true
  12106. },
  12107. {
  12108. "type": "integer",
  12109. "description": "融资合同id",
  12110. "name": "scfcontractid",
  12111. "in": "query"
  12112. }
  12113. ],
  12114. "responses": {
  12115. "200": {
  12116. "description": "OK",
  12117. "schema": {
  12118. "type": "array",
  12119. "items": {
  12120. "$ref": "#/definitions/models.WrScfContract"
  12121. }
  12122. }
  12123. },
  12124. "500": {
  12125. "description": "Internal Server Error",
  12126. "schema": {
  12127. "$ref": "#/definitions/app.Response"
  12128. }
  12129. }
  12130. }
  12131. }
  12132. },
  12133. "/WrTrade2/QueryWrScfContractInterest": {
  12134. "get": {
  12135. "security": [
  12136. {
  12137. "ApiKeyAuth": []
  12138. }
  12139. ],
  12140. "produces": [
  12141. "application/json"
  12142. ],
  12143. "tags": [
  12144. "仓单贸易v2"
  12145. ],
  12146. "summary": "查询融资合同费用明细",
  12147. "parameters": [
  12148. {
  12149. "type": "integer",
  12150. "description": "融资合同id",
  12151. "name": "scfcontractid",
  12152. "in": "query"
  12153. }
  12154. ],
  12155. "responses": {
  12156. "200": {
  12157. "description": "OK",
  12158. "schema": {
  12159. "type": "array",
  12160. "items": {
  12161. "$ref": "#/definitions/models.WrScfContractInterest"
  12162. }
  12163. }
  12164. },
  12165. "500": {
  12166. "description": "Internal Server Error",
  12167. "schema": {
  12168. "$ref": "#/definitions/app.Response"
  12169. }
  12170. }
  12171. }
  12172. }
  12173. },
  12174. "/WrTrade2/QueryWrSpecialMatchOrder": {
  12175. "get": {
  12176. "security": [
  12177. {
  12178. "ApiKeyAuth": []
  12179. }
  12180. ],
  12181. "description": "页面 现货仓单 | 预售仓单 -\u003e 指定成交",
  12182. "produces": [
  12183. "application/json"
  12184. ],
  12185. "tags": [
  12186. "仓单贸易v2"
  12187. ],
  12188. "summary": "查询指定成交",
  12189. "parameters": [
  12190. {
  12191. "type": "integer",
  12192. "description": "页码",
  12193. "name": "page",
  12194. "in": "query"
  12195. },
  12196. {
  12197. "type": "integer",
  12198. "description": "每页条数",
  12199. "name": "pagesize",
  12200. "in": "query"
  12201. },
  12202. {
  12203. "type": "integer",
  12204. "description": "用户id",
  12205. "name": "userid",
  12206. "in": "query",
  12207. "required": true
  12208. },
  12209. {
  12210. "type": "integer",
  12211. "description": "仓单贸易市场id",
  12212. "name": "marketid",
  12213. "in": "query"
  12214. },
  12215. {
  12216. "type": "integer",
  12217. "description": "0:仓单预售 1:仓单贸易",
  12218. "name": "haswr",
  12219. "in": "query",
  12220. "required": true
  12221. }
  12222. ],
  12223. "responses": {
  12224. "200": {
  12225. "description": "OK",
  12226. "schema": {
  12227. "type": "array",
  12228. "items": {
  12229. "$ref": "#/definitions/models.WrSpecialMatchOrder"
  12230. }
  12231. }
  12232. },
  12233. "500": {
  12234. "description": "Internal Server Error",
  12235. "schema": {
  12236. "$ref": "#/definitions/app.Response"
  12237. }
  12238. }
  12239. }
  12240. }
  12241. },
  12242. "/WrTrade2/QueryWrStandardFactoryItem": {
  12243. "get": {
  12244. "security": [
  12245. {
  12246. "ApiKeyAuth": []
  12247. }
  12248. ],
  12249. "produces": [
  12250. "application/json"
  12251. ],
  12252. "tags": [
  12253. "仓单贸易v2"
  12254. ],
  12255. "summary": "查询品类要素定义项",
  12256. "parameters": [
  12257. {
  12258. "type": "integer",
  12259. "description": "品类id",
  12260. "name": "wrstandardid",
  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.WrStandardFactoryItemEx"
  12272. }
  12273. }
  12274. },
  12275. "500": {
  12276. "description": "Internal Server Error",
  12277. "schema": {
  12278. "$ref": "#/definitions/app.Response"
  12279. }
  12280. }
  12281. }
  12282. }
  12283. },
  12284. "/WrTrade2/QueryWrTradeDetail": {
  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": "userid",
  12315. "in": "query",
  12316. "required": true
  12317. },
  12318. {
  12319. "type": "integer",
  12320. "description": "仓单贸易市场id",
  12321. "name": "marketid",
  12322. "in": "query"
  12323. },
  12324. {
  12325. "type": "integer",
  12326. "description": "0:仓单预售 1:仓单贸易",
  12327. "name": "haswr",
  12328. "in": "query",
  12329. "required": true
  12330. }
  12331. ],
  12332. "responses": {
  12333. "200": {
  12334. "description": "OK",
  12335. "schema": {
  12336. "type": "array",
  12337. "items": {
  12338. "$ref": "#/definitions/models.WrTradeDetail"
  12339. }
  12340. }
  12341. },
  12342. "500": {
  12343. "description": "Internal Server Error",
  12344. "schema": {
  12345. "$ref": "#/definitions/app.Response"
  12346. }
  12347. }
  12348. }
  12349. }
  12350. },
  12351. "/WrTrade2/QueryWrTradeOrderDetail": {
  12352. "get": {
  12353. "security": [
  12354. {
  12355. "ApiKeyAuth": []
  12356. }
  12357. ],
  12358. "produces": [
  12359. "application/json"
  12360. ],
  12361. "tags": [
  12362. "仓单贸易v2"
  12363. ],
  12364. "summary": "查询合约交易买卖大厅",
  12365. "parameters": [
  12366. {
  12367. "type": "integer",
  12368. "description": "页码",
  12369. "name": "page",
  12370. "in": "query"
  12371. },
  12372. {
  12373. "type": "integer",
  12374. "description": "每页条数",
  12375. "name": "pagesize",
  12376. "in": "query"
  12377. },
  12378. {
  12379. "type": "integer",
  12380. "description": "商品id",
  12381. "name": "goodsid",
  12382. "in": "query",
  12383. "required": true
  12384. },
  12385. {
  12386. "type": "integer",
  12387. "description": "买卖方向 0-买 1-卖",
  12388. "name": "buyorsell",
  12389. "in": "query",
  12390. "required": true
  12391. }
  12392. ],
  12393. "responses": {
  12394. "200": {
  12395. "description": "OK",
  12396. "schema": {
  12397. "type": "array",
  12398. "items": {
  12399. "$ref": "#/definitions/models.WrTradeOrderDetail"
  12400. }
  12401. }
  12402. },
  12403. "500": {
  12404. "description": "Internal Server Error",
  12405. "schema": {
  12406. "$ref": "#/definitions/app.Response"
  12407. }
  12408. }
  12409. }
  12410. }
  12411. }
  12412. },
  12413. "definitions": {
  12414. "app.Response": {
  12415. "type": "object",
  12416. "properties": {
  12417. "code": {
  12418. "type": "integer"
  12419. },
  12420. "data": {
  12421. "type": "object"
  12422. },
  12423. "msg": {
  12424. "type": "string"
  12425. },
  12426. "page": {
  12427. "description": "页码",
  12428. "type": "integer"
  12429. },
  12430. "pagesize": {
  12431. "description": "每页条数",
  12432. "type": "integer"
  12433. },
  12434. "total": {
  12435. "description": "总条数",
  12436. "type": "integer"
  12437. }
  12438. }
  12439. },
  12440. "common.ClientMenu": {
  12441. "type": "object",
  12442. "properties": {
  12443. "children": {
  12444. "description": "子菜单列表",
  12445. "type": "array",
  12446. "items": {
  12447. "$ref": "#/definitions/common.ClientMenu"
  12448. }
  12449. },
  12450. "code": {
  12451. "description": "ID",
  12452. "type": "string"
  12453. },
  12454. "isshow": {
  12455. "description": "是否显示",
  12456. "type": "boolean"
  12457. },
  12458. "remark": {
  12459. "description": "备注",
  12460. "type": "string"
  12461. },
  12462. "rulekey": {
  12463. "description": "对应权限主键,对应FUNCMENULIST表RESOURCECODE",
  12464. "type": "string"
  12465. },
  12466. "sort": {
  12467. "description": "排序",
  12468. "type": "integer"
  12469. },
  12470. "title": {
  12471. "description": "标题",
  12472. "type": "string"
  12473. },
  12474. "type": {
  12475. "description": "类型,1:菜单 2:按钮",
  12476. "type": "integer"
  12477. },
  12478. "url": {
  12479. "description": "URL",
  12480. "type": "string"
  12481. }
  12482. }
  12483. },
  12484. "common.QueryImageConfigsRsp": {
  12485. "type": "object",
  12486. "required": [
  12487. "configid"
  12488. ],
  12489. "properties": {
  12490. "areauserid": {
  12491. "description": "所属机构ID",
  12492. "type": "integer"
  12493. },
  12494. "configid": {
  12495. "description": "配置ID(SEQ_SZDZ2_IMAGECONFIG)",
  12496. "type": "integer"
  12497. },
  12498. "createdate": {
  12499. "description": "创建时间",
  12500. "type": "string"
  12501. },
  12502. "creatorid": {
  12503. "description": "创建人",
  12504. "type": "integer"
  12505. },
  12506. "imagepath": {
  12507. "description": "图片",
  12508. "type": "string"
  12509. },
  12510. "imagetype": {
  12511. "description": "类型 - 1:首页轮播(移动) 2:我的(移动)",
  12512. "type": "integer"
  12513. },
  12514. "isshow": {
  12515. "description": "是否展示 - 0:不展示 1:展示",
  12516. "type": "integer"
  12517. },
  12518. "marketid": {
  12519. "description": "市场ID",
  12520. "type": "integer"
  12521. },
  12522. "modifierid": {
  12523. "description": "操作人",
  12524. "type": "integer"
  12525. },
  12526. "sort": {
  12527. "description": "排序",
  12528. "type": "integer"
  12529. },
  12530. "title": {
  12531. "description": "标题",
  12532. "type": "string"
  12533. },
  12534. "trademode": {
  12535. "description": "交易模式",
  12536. "type": "integer"
  12537. },
  12538. "updatedate": {
  12539. "description": "修改时间",
  12540. "type": "string"
  12541. },
  12542. "url": {
  12543. "description": "链接(地址或商品ID)",
  12544. "type": "string"
  12545. },
  12546. "urltype": {
  12547. "description": "链接类型 - 1:直接地址 2:商品ID",
  12548. "type": "integer"
  12549. }
  12550. }
  12551. },
  12552. "common.QueryNoticeRsp": {
  12553. "type": "object",
  12554. "required": [
  12555. "autoid"
  12556. ],
  12557. "properties": {
  12558. "auditoruserid": {
  12559. "description": "审核人",
  12560. "type": "integer"
  12561. },
  12562. "auditremark": {
  12563. "description": "审核备注",
  12564. "type": "string"
  12565. },
  12566. "audittime": {
  12567. "description": "审核日期",
  12568. "type": "string"
  12569. },
  12570. "autoid": {
  12571. "description": "自增ID",
  12572. "type": "integer"
  12573. },
  12574. "content": {
  12575. "description": "内容",
  12576. "type": "string"
  12577. },
  12578. "createtime": {
  12579. "description": "创建时间",
  12580. "type": "string"
  12581. },
  12582. "creatorid": {
  12583. "description": "建仓人",
  12584. "type": "integer"
  12585. },
  12586. "endtime": {
  12587. "description": "结束时间",
  12588. "type": "string"
  12589. },
  12590. "istop": {
  12591. "description": "是否置顶 - 0:不置顶 1:置顶",
  12592. "type": "integer"
  12593. },
  12594. "msgiconurl": {
  12595. "description": "消息图标Url",
  12596. "type": "string"
  12597. },
  12598. "msgtype": {
  12599. "description": "消息类型 - 1:公告通知 2:系统消息 3:商品到期提货通知",
  12600. "type": "integer"
  12601. },
  12602. "publisher": {
  12603. "description": "消息发布者",
  12604. "type": "string"
  12605. },
  12606. "readed": {
  12607. "description": "是否已读",
  12608. "type": "boolean"
  12609. },
  12610. "scheduletime": {
  12611. "description": "计划发送时间",
  12612. "type": "string"
  12613. },
  12614. "sendtype": {
  12615. "description": "推送方式 - 1:全体广播 2:按会员广播 3:个人推送 4:按会员广播(仅会员)",
  12616. "type": "integer"
  12617. },
  12618. "sentstatus": {
  12619. "description": "推送状态 - 0:未推送 1:已推送 2:审核拒绝",
  12620. "type": "integer"
  12621. },
  12622. "title": {
  12623. "description": "标题",
  12624. "type": "string"
  12625. },
  12626. "userid": {
  12627. "description": "会员/投资者ID推送方式 为 个人时,填写投资者ID",
  12628. "type": "integer"
  12629. }
  12630. }
  12631. },
  12632. "common.QueryProvincesAndCitiesRsp": {
  12633. "type": "object",
  12634. "properties": {
  12635. "cities": {
  12636. "description": "市",
  12637. "type": "array",
  12638. "items": {
  12639. "$ref": "#/definitions/models.Division"
  12640. }
  12641. },
  12642. "province": {
  12643. "description": "省",
  12644. "type": "object",
  12645. "$ref": "#/definitions/models.Division"
  12646. }
  12647. }
  12648. },
  12649. "common.QueryTableDefineRsp": {
  12650. "type": "object",
  12651. "required": [
  12652. "tablekey"
  12653. ],
  12654. "properties": {
  12655. "columns": {
  12656. "description": "列头信息数组",
  12657. "type": "array",
  12658. "items": {
  12659. "$ref": "#/definitions/models.Tablecolumnconfig"
  12660. }
  12661. },
  12662. "remark": {
  12663. "description": "Remark",
  12664. "type": "string"
  12665. },
  12666. "tabelmenu": {
  12667. "description": "列表菜单",
  12668. "type": "string"
  12669. },
  12670. "tablekey": {
  12671. "description": "列表Key",
  12672. "type": "string"
  12673. },
  12674. "tablename": {
  12675. "description": "列表名称",
  12676. "type": "string"
  12677. },
  12678. "tabletype": {
  12679. "description": "列表类型 - 1:管理端 2:终端",
  12680. "type": "integer"
  12681. }
  12682. }
  12683. },
  12684. "common.QueryTraderMenuRsp": {
  12685. "type": "object",
  12686. "properties": {
  12687. "OperationMenu": {
  12688. "description": "功能菜单",
  12689. "type": "array",
  12690. "items": {
  12691. "$ref": "#/definitions/models.OperationPrimaryMenu"
  12692. }
  12693. },
  12694. "QuoteMenu": {
  12695. "description": "报价牌分类菜单",
  12696. "type": "array",
  12697. "items": {
  12698. "$ref": "#/definitions/models.QuotePrimaryMenu"
  12699. }
  12700. }
  12701. }
  12702. },
  12703. "cptrade.Cptradepositioncancel": {
  12704. "type": "object",
  12705. "required": [
  12706. "cancelid"
  12707. ],
  12708. "properties": {
  12709. "accountid": {
  12710. "description": "申请人账户ID",
  12711. "type": "integer"
  12712. },
  12713. "applystatus": {
  12714. "description": "申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  12715. "type": "integer"
  12716. },
  12717. "applytime": {
  12718. "description": "申请时间",
  12719. "type": "string"
  12720. },
  12721. "cancelid": {
  12722. "description": "注销ID(SEQ_CPTRADE_POSITIONCANCEL)",
  12723. "type": "integer"
  12724. },
  12725. "cancelqty": {
  12726. "description": "注销数量",
  12727. "type": "integer"
  12728. },
  12729. "createtime": {
  12730. "description": "创建时间",
  12731. "type": "string"
  12732. },
  12733. "creatorid": {
  12734. "description": "创建人ID",
  12735. "type": "integer"
  12736. },
  12737. "creatorname": {
  12738. "description": "创建人",
  12739. "type": "string"
  12740. },
  12741. "goodscode": {
  12742. "description": "订单商品代码",
  12743. "type": "string"
  12744. },
  12745. "goodsid": {
  12746. "description": "商品ID",
  12747. "type": "integer"
  12748. },
  12749. "goodsname": {
  12750. "description": "订单商品名称",
  12751. "type": "string"
  12752. },
  12753. "goodunit": {
  12754. "description": "报价单位",
  12755. "type": "string"
  12756. },
  12757. "handlestatus": {
  12758. "description": "处理状态",
  12759. "type": "integer"
  12760. },
  12761. "marketid": {
  12762. "description": "市场ID",
  12763. "type": "integer"
  12764. },
  12765. "marketname": {
  12766. "description": "市场名称",
  12767. "type": "string"
  12768. },
  12769. "tradedate": {
  12770. "description": "交易日(yyyyMMdd)",
  12771. "type": "string"
  12772. },
  12773. "userid": {
  12774. "description": "申请人ID",
  12775. "type": "integer"
  12776. }
  12777. }
  12778. },
  12779. "cptrade.Cptradepresaleapply": {
  12780. "type": "object",
  12781. "required": [
  12782. "applyid"
  12783. ],
  12784. "properties": {
  12785. "accountid": {
  12786. "description": "申请人账户ID",
  12787. "type": "integer"
  12788. },
  12789. "applyid": {
  12790. "description": "申请ID(181+Unix秒时间戳(10位)+xxxxxx)",
  12791. "type": "integer"
  12792. },
  12793. "applyremark": {
  12794. "description": "申请备注",
  12795. "type": "string"
  12796. },
  12797. "applystatus": {
  12798. "description": "申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  12799. "type": "integer"
  12800. },
  12801. "applytime": {
  12802. "description": "申请时间",
  12803. "type": "string"
  12804. },
  12805. "attachmenturl": {
  12806. "description": "附件地址",
  12807. "type": "string"
  12808. },
  12809. "endtime": {
  12810. "description": "预售结束时间",
  12811. "type": "string"
  12812. },
  12813. "goodscode": {
  12814. "description": "商品代码",
  12815. "type": "string"
  12816. },
  12817. "goodsid": {
  12818. "description": "商品ID",
  12819. "type": "integer"
  12820. },
  12821. "goodsname": {
  12822. "description": "商品名称",
  12823. "type": "string"
  12824. },
  12825. "goodunit": {
  12826. "description": "报价单位",
  12827. "type": "string"
  12828. },
  12829. "handlestatus": {
  12830. "description": "处理状态",
  12831. "type": "integer"
  12832. },
  12833. "marketid": {
  12834. "description": "预售市场ID",
  12835. "type": "integer"
  12836. },
  12837. "marketname": {
  12838. "description": "预售市场名称",
  12839. "type": "string"
  12840. },
  12841. "presaleqty": {
  12842. "description": "预售数量",
  12843. "type": "integer"
  12844. },
  12845. "relatedgoodscode": {
  12846. "description": "关联交易合约代码",
  12847. "type": "string"
  12848. },
  12849. "relatedgoodsid": {
  12850. "description": "关联交易合约ID",
  12851. "type": "integer"
  12852. },
  12853. "relatedgoodsname": {
  12854. "description": "关联交易合约名称",
  12855. "type": "string"
  12856. },
  12857. "starttime": {
  12858. "description": "预售开始时间",
  12859. "type": "string"
  12860. },
  12861. "tradedate": {
  12862. "description": "交易日(yyyyMMdd)",
  12863. "type": "string"
  12864. },
  12865. "trademode": {
  12866. "description": "交易模式 - 16:挂牌点选 21:大宗竞拍",
  12867. "type": "integer"
  12868. },
  12869. "userid": {
  12870. "description": "申请人ID",
  12871. "type": "integer"
  12872. }
  12873. }
  12874. },
  12875. "cptrade.Cptradeusergoodsdata": {
  12876. "type": "object",
  12877. "required": [
  12878. "accountid",
  12879. "goodsid"
  12880. ],
  12881. "properties": {
  12882. "EnabledQty": {
  12883. "description": "可用量",
  12884. "type": "integer"
  12885. },
  12886. "GoodsCode": {
  12887. "description": "订单商品代码",
  12888. "type": "string"
  12889. },
  12890. "GoodsName": {
  12891. "description": "订单商品名称",
  12892. "type": "string"
  12893. },
  12894. "WRStandardCode": {
  12895. "description": "仓单标准代码",
  12896. "type": "string"
  12897. },
  12898. "WRStandardName": {
  12899. "description": "仓单标准名称",
  12900. "type": "string"
  12901. },
  12902. "accountid": {
  12903. "description": "账户ID",
  12904. "type": "integer"
  12905. },
  12906. "cancelqty": {
  12907. "description": "注销量",
  12908. "type": "integer"
  12909. },
  12910. "curpresaleqty": {
  12911. "description": "当前预售量",
  12912. "type": "integer"
  12913. },
  12914. "deliveryqty": {
  12915. "description": "交割量",
  12916. "type": "integer"
  12917. },
  12918. "freezeamount": {
  12919. "description": "冻结金额",
  12920. "type": "number"
  12921. },
  12922. "goodsid": {
  12923. "description": "商品ID",
  12924. "type": "integer"
  12925. },
  12926. "goodunit": {
  12927. "description": "报价单位",
  12928. "type": "string"
  12929. },
  12930. "hasspotfreeze": {
  12931. "description": "是否有现货冻结 - 0:否 1:有",
  12932. "type": "integer"
  12933. },
  12934. "inqty": {
  12935. "description": "转入量(总数量)",
  12936. "type": "integer"
  12937. },
  12938. "marketid": {
  12939. "description": "市场ID",
  12940. "type": "integer"
  12941. },
  12942. "presaledamount": {
  12943. "description": "已预售总金额",
  12944. "type": "integer"
  12945. },
  12946. "presaledqty": {
  12947. "description": "已预售量",
  12948. "type": "integer"
  12949. },
  12950. "userid": {
  12951. "description": "用户ID",
  12952. "type": "integer"
  12953. },
  12954. "wrstandardid": {
  12955. "description": "仓单标准ID",
  12956. "type": "integer"
  12957. }
  12958. }
  12959. },
  12960. "cptrade.QueryCPTradeMyBidRsp": {
  12961. "type": "object",
  12962. "required": [
  12963. "accountid",
  12964. "goodsid",
  12965. "marketid",
  12966. "orderid",
  12967. "orderqty",
  12968. "ordertime",
  12969. "tradeprice",
  12970. "tradeqty"
  12971. ],
  12972. "properties": {
  12973. "accountid": {
  12974. "description": "账户ID[报价币种]",
  12975. "type": "integer"
  12976. },
  12977. "goodsid": {
  12978. "description": "商品ID",
  12979. "type": "integer"
  12980. },
  12981. "goodunit": {
  12982. "description": "报价单位",
  12983. "type": "string"
  12984. },
  12985. "marketid": {
  12986. "description": "市场ID",
  12987. "type": "integer"
  12988. },
  12989. "orderid": {
  12990. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  12991. "type": "integer"
  12992. },
  12993. "orderprice": {
  12994. "description": "委托价格",
  12995. "type": "number"
  12996. },
  12997. "orderqty": {
  12998. "description": "委托数量",
  12999. "type": "integer"
  13000. },
  13001. "ordertime": {
  13002. "description": "委托时间",
  13003. "type": "string"
  13004. },
  13005. "ordertotalprice": {
  13006. "description": "货款金额(委托总价格=委托价格*委托数量*合约单位)",
  13007. "type": "number"
  13008. },
  13009. "ordertotalweight": {
  13010. "description": "竞拍总重量(委托总重量=委托数量*合约单位)",
  13011. "type": "integer"
  13012. },
  13013. "totaltotalprice": {
  13014. "description": "成交货款金额(成交总价格=成交价格*成交数量*合约单位)",
  13015. "type": "number"
  13016. },
  13017. "tradeprice": {
  13018. "description": "成交价格",
  13019. "type": "number"
  13020. },
  13021. "tradeqty": {
  13022. "description": "成交数量",
  13023. "type": "integer"
  13024. }
  13025. }
  13026. },
  13027. "cptrade.QueryCPTradeOrderDetailRsq": {
  13028. "type": "object",
  13029. "required": [
  13030. "accountid",
  13031. "buildtype",
  13032. "buyorsell",
  13033. "goodsid",
  13034. "marketid",
  13035. "memberuserid",
  13036. "operatetype",
  13037. "orderqty",
  13038. "ordertime",
  13039. "pricemode",
  13040. "strorderid",
  13041. "tradedate",
  13042. "validtype"
  13043. ],
  13044. "properties": {
  13045. "accountid": {
  13046. "description": "账户ID[报价币种]",
  13047. "type": "integer"
  13048. },
  13049. "buildtype": {
  13050. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  13051. "type": "integer"
  13052. },
  13053. "buyorsell": {
  13054. "description": "买卖 - 0:买 1:卖",
  13055. "type": "integer"
  13056. },
  13057. "cancelorderid": {
  13058. "description": "撤单单号(撤单时填写)",
  13059. "type": "integer"
  13060. },
  13061. "cancelqty": {
  13062. "description": "撤单数量",
  13063. "type": "integer"
  13064. },
  13065. "clientordertime": {
  13066. "description": "客户端委托时间",
  13067. "type": "string"
  13068. },
  13069. "clientticket": {
  13070. "description": "客户端流水号",
  13071. "type": "string"
  13072. },
  13073. "clienttype": {
  13074. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  13075. "type": "integer"
  13076. },
  13077. "closeexchagechargevalue": {
  13078. "description": "平仓交易所手续费设置值",
  13079. "type": "number"
  13080. },
  13081. "closefeealgorithm": {
  13082. "description": "平仓手续费收取方式 1:比率 2:固定",
  13083. "type": "integer"
  13084. },
  13085. "closefreezecharge": {
  13086. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  13087. "type": "number"
  13088. },
  13089. "closememberchargevalue": {
  13090. "description": "平仓会员手续费设置值",
  13091. "type": "number"
  13092. },
  13093. "closeqty": {
  13094. "description": "平仓数量(先建后平操作 需要记录)",
  13095. "type": "integer"
  13096. },
  13097. "closetradeqty": {
  13098. "description": "平仓成交数量(先建后平操作,需要记录)",
  13099. "type": "integer"
  13100. },
  13101. "closeunfreezecharge": {
  13102. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  13103. "type": "number"
  13104. },
  13105. "delistingtype": {
  13106. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  13107. "type": "integer"
  13108. },
  13109. "freezecharge": {
  13110. "description": "冻结手续费",
  13111. "type": "number"
  13112. },
  13113. "freezemargin": {
  13114. "description": "冻结保证金(冻结交易金额)",
  13115. "type": "number"
  13116. },
  13117. "gcaccountid": {
  13118. "description": "账户ID[合约币种]",
  13119. "type": "integer"
  13120. },
  13121. "goodsid": {
  13122. "description": "商品ID",
  13123. "type": "integer"
  13124. },
  13125. "isconfirmexercise": {
  13126. "description": "是否确认行权- 0:否 1:是",
  13127. "type": "integer"
  13128. },
  13129. "ispreexercise": {
  13130. "description": "是否预申报- 0:否 1:是",
  13131. "type": "integer"
  13132. },
  13133. "listingselecttype": {
  13134. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  13135. "type": "integer"
  13136. },
  13137. "marginalgorithm": {
  13138. "description": "保证金收取方式 1:比率 2:固定",
  13139. "type": "integer"
  13140. },
  13141. "marginvalue": {
  13142. "description": "即市保证金设置值",
  13143. "type": "number"
  13144. },
  13145. "marketid": {
  13146. "description": "市场ID",
  13147. "type": "integer"
  13148. },
  13149. "marketmaxsub": {
  13150. "description": "市价最大偏移范围",
  13151. "type": "number"
  13152. },
  13153. "memberuserid": {
  13154. "description": "所属会员UserID",
  13155. "type": "integer"
  13156. },
  13157. "openexchagechargevalue": {
  13158. "description": "建仓交易所手续费设置值",
  13159. "type": "number"
  13160. },
  13161. "openfeealgorithm": {
  13162. "description": "建仓手续费收取方式 1:比率 2:固定",
  13163. "type": "integer"
  13164. },
  13165. "openfreezecharge": {
  13166. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  13167. "type": "number"
  13168. },
  13169. "openmemberchargevalue": {
  13170. "description": "建仓会员手续费设置值",
  13171. "type": "number"
  13172. },
  13173. "openqty": {
  13174. "description": "开仓数量(先建后平操作,需要记录)",
  13175. "type": "integer"
  13176. },
  13177. "opentradeqty": {
  13178. "description": "开仓成交数量(先建后平操作,需要记录)",
  13179. "type": "integer"
  13180. },
  13181. "openunfreezecharge": {
  13182. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  13183. "type": "number"
  13184. },
  13185. "operatetype": {
  13186. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  13187. "type": "integer"
  13188. },
  13189. "operatorid": {
  13190. "description": "登录账号(LoginID)",
  13191. "type": "integer"
  13192. },
  13193. "optiontype": {
  13194. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  13195. "type": "integer"
  13196. },
  13197. "orderprice": {
  13198. "description": "委托价格",
  13199. "type": "number"
  13200. },
  13201. "orderqty": {
  13202. "description": "委托数量",
  13203. "type": "integer"
  13204. },
  13205. "ordersrc": {
  13206. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  13207. "type": "integer"
  13208. },
  13209. "orderstatus": {
  13210. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  13211. "type": "integer"
  13212. },
  13213. "ordertime": {
  13214. "description": "委托时间",
  13215. "type": "string"
  13216. },
  13217. "preexerciseprice": {
  13218. "description": "预申报价格",
  13219. "type": "number"
  13220. },
  13221. "premium": {
  13222. "description": "权利金",
  13223. "type": "number"
  13224. },
  13225. "preorderid": {
  13226. "description": "关联预埋单号(止盈止损单时填写)",
  13227. "type": "integer"
  13228. },
  13229. "pricemode": {
  13230. "description": "取价方式 - 1:市价 2: 限价",
  13231. "type": "integer"
  13232. },
  13233. "quoteid": {
  13234. "description": "报价单ID",
  13235. "type": "integer"
  13236. },
  13237. "relatedid": {
  13238. "description": "关联单号(交割单)",
  13239. "type": "integer"
  13240. },
  13241. "retcode": {
  13242. "description": "错误代码",
  13243. "type": "integer"
  13244. },
  13245. "sessionid": {
  13246. "description": "会话ID",
  13247. "type": "integer"
  13248. },
  13249. "strorderid": {
  13250. "description": "委托单号",
  13251. "type": "string"
  13252. },
  13253. "tradedate": {
  13254. "description": "交易日(yyyyMMdd)",
  13255. "type": "string"
  13256. },
  13257. "tradeproperty": {
  13258. "description": "交易属性",
  13259. "type": "integer"
  13260. },
  13261. "tradeqty": {
  13262. "description": "成交数量",
  13263. "type": "integer"
  13264. },
  13265. "unfreezecharge": {
  13266. "description": "解冻手续费",
  13267. "type": "number"
  13268. },
  13269. "unfreezemargin": {
  13270. "description": "解冻保证金",
  13271. "type": "number"
  13272. },
  13273. "updatetime": {
  13274. "description": "更新时间",
  13275. "type": "string"
  13276. },
  13277. "uuid": {
  13278. "description": "发起端唯一id",
  13279. "type": "string"
  13280. },
  13281. "validtime": {
  13282. "description": "有效期限",
  13283. "type": "string"
  13284. },
  13285. "validtype": {
  13286. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  13287. "type": "integer"
  13288. },
  13289. "volumetype": {
  13290. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  13291. "type": "integer"
  13292. }
  13293. }
  13294. },
  13295. "cptrade.QueryMyCPTradeGoodsRsp": {
  13296. "type": "object",
  13297. "required": [
  13298. "goodscode",
  13299. "goodsid",
  13300. "goodsname",
  13301. "marketid",
  13302. "relatedgoodscode",
  13303. "relatedgoodsname"
  13304. ],
  13305. "properties": {
  13306. "accountid": {
  13307. "description": "卖方账户ID",
  13308. "type": "integer"
  13309. },
  13310. "agreeunit": {
  13311. "description": "合约单位",
  13312. "type": "number"
  13313. },
  13314. "applyid": {
  13315. "description": "关联申请ID",
  13316. "type": "integer"
  13317. },
  13318. "attachmenturl": {
  13319. "description": "附件地址",
  13320. "type": "string"
  13321. },
  13322. "createtime": {
  13323. "description": "创建时间",
  13324. "type": "string"
  13325. },
  13326. "currencyid": {
  13327. "description": "报价货币ID",
  13328. "type": "integer"
  13329. },
  13330. "decimalplace": {
  13331. "description": "报价小数位",
  13332. "type": "integer"
  13333. },
  13334. "endtime": {
  13335. "description": "预售结束时间",
  13336. "type": "string"
  13337. },
  13338. "floorprice": {
  13339. "description": "底价[大宗式竞拍]",
  13340. "type": "number"
  13341. },
  13342. "goodscode": {
  13343. "description": "商品代码(预售)",
  13344. "type": "string"
  13345. },
  13346. "goodsdetail": {
  13347. "description": "详情[大宗]",
  13348. "type": "string"
  13349. },
  13350. "goodsid": {
  13351. "description": "商品ID(自增ID SEQ_GOODS)",
  13352. "type": "integer"
  13353. },
  13354. "goodsname": {
  13355. "description": "商品名称(预售)",
  13356. "type": "string"
  13357. },
  13358. "goodunit": {
  13359. "description": "报价单位",
  13360. "type": "string"
  13361. },
  13362. "goodunitid": {
  13363. "description": "报价单位ID",
  13364. "type": "integer"
  13365. },
  13366. "marketid": {
  13367. "description": "所属市场ID",
  13368. "type": "integer"
  13369. },
  13370. "marketname": {
  13371. "description": "预售市场名称",
  13372. "type": "string"
  13373. },
  13374. "presaledamount": {
  13375. "description": "已预售总金额(预售结束时更新)",
  13376. "type": "number"
  13377. },
  13378. "presaledqty": {
  13379. "description": "已预售量(预售结束时更新)",
  13380. "type": "integer"
  13381. },
  13382. "presalemode": {
  13383. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  13384. "type": "integer"
  13385. },
  13386. "presaleqty": {
  13387. "description": "预售数量",
  13388. "type": "integer"
  13389. },
  13390. "refprice": {
  13391. "description": "参考价格[一口价]",
  13392. "type": "number"
  13393. },
  13394. "relatedgoodscode": {
  13395. "description": "商品代码(订单)",
  13396. "type": "string"
  13397. },
  13398. "relatedgoodsid": {
  13399. "description": "关联交易合约ID",
  13400. "type": "integer"
  13401. },
  13402. "relatedgoodsname": {
  13403. "description": "商品名称(订单)",
  13404. "type": "string"
  13405. },
  13406. "relatedmarketid": {
  13407. "description": "关联交易合约市场ID",
  13408. "type": "integer"
  13409. },
  13410. "sellstatus": {
  13411. "description": "卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理",
  13412. "type": "integer"
  13413. },
  13414. "startprice": {
  13415. "description": "起拍价[大宗式竞拍]",
  13416. "type": "number"
  13417. },
  13418. "starttime": {
  13419. "description": "预售开始时间",
  13420. "type": "string"
  13421. },
  13422. "tradedate": {
  13423. "description": "交易日(yyyyMMdd)",
  13424. "type": "string"
  13425. },
  13426. "tradeprice": {
  13427. "description": "成交价[大宗]",
  13428. "type": "number"
  13429. },
  13430. "userid": {
  13431. "description": "卖方用户ID",
  13432. "type": "integer"
  13433. }
  13434. }
  13435. },
  13436. "cptrade.QueryPresaleGoodsExRsp": {
  13437. "type": "object",
  13438. "required": [
  13439. "goodsid"
  13440. ],
  13441. "properties": {
  13442. "attachmenturl": {
  13443. "description": "附件地址",
  13444. "type": "string"
  13445. },
  13446. "createtime": {
  13447. "description": "创建时间",
  13448. "type": "string"
  13449. },
  13450. "endtime": {
  13451. "description": "预售结束时间",
  13452. "type": "string"
  13453. },
  13454. "floorprice": {
  13455. "description": "底价[大宗式竞拍]",
  13456. "type": "number"
  13457. },
  13458. "goodsdetail": {
  13459. "description": "详情[大宗]",
  13460. "type": "string"
  13461. },
  13462. "goodsid": {
  13463. "description": "商品ID(预售)",
  13464. "type": "integer"
  13465. },
  13466. "goodunit": {
  13467. "description": "报价单位",
  13468. "type": "string"
  13469. },
  13470. "marketid": {
  13471. "description": "预售市场ID - 根据预售模式选择市场",
  13472. "type": "integer"
  13473. },
  13474. "presaledamount": {
  13475. "description": "已预售总金额(预售结束时更新)",
  13476. "type": "number"
  13477. },
  13478. "presaledqty": {
  13479. "description": "已预售量(预售结束时更新)",
  13480. "type": "integer"
  13481. },
  13482. "presalemode": {
  13483. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  13484. "type": "integer"
  13485. },
  13486. "presaleqty": {
  13487. "description": "预售数量",
  13488. "type": "integer"
  13489. },
  13490. "refprice": {
  13491. "description": "参考价格[一口价]",
  13492. "type": "number"
  13493. },
  13494. "relatedgoodsid": {
  13495. "description": "关联交易合约ID",
  13496. "type": "integer"
  13497. },
  13498. "relatedmarketid": {
  13499. "description": "关联交易合约市场ID",
  13500. "type": "integer"
  13501. },
  13502. "sellstatus": {
  13503. "description": "卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理",
  13504. "type": "integer"
  13505. },
  13506. "startprice": {
  13507. "description": "起拍价[大宗式竞拍]",
  13508. "type": "number"
  13509. },
  13510. "starttime": {
  13511. "description": "预售开始时间",
  13512. "type": "string"
  13513. },
  13514. "tradedate": {
  13515. "description": "交易日(yyyyMMdd)",
  13516. "type": "string"
  13517. },
  13518. "tradeprice": {
  13519. "description": "成交价[大宗]",
  13520. "type": "number"
  13521. }
  13522. }
  13523. },
  13524. "delivery.QueryDeliveryRelationRsp": {
  13525. "type": "object",
  13526. "required": [
  13527. "begindate",
  13528. "enddate",
  13529. "goodsid",
  13530. "mindeliveryqty",
  13531. "xdeliveryratio"
  13532. ],
  13533. "properties": {
  13534. "begindate": {
  13535. "description": "起始日期(yyyyMMdd)",
  13536. "type": "string"
  13537. },
  13538. "buytemplateid": {
  13539. "description": "买履约计划模板ID",
  13540. "type": "integer"
  13541. },
  13542. "deliverygoodscode": {
  13543. "description": "品种代码",
  13544. "type": "string"
  13545. },
  13546. "deliverygoodsid": {
  13547. "description": "交割商品",
  13548. "type": "integer"
  13549. },
  13550. "deliverygoodsname": {
  13551. "description": "品种名称",
  13552. "type": "string"
  13553. },
  13554. "deliverymode": {
  13555. "description": "交割方式 - 1:点选式 2:申报式",
  13556. "type": "integer"
  13557. },
  13558. "deliverypricerule": {
  13559. "description": "交割价规则- 1:行情价 2:建仓价",
  13560. "type": "integer"
  13561. },
  13562. "deliverytype": {
  13563. "description": "交割模式 - 1:X交割 2:X+P交割 3:X+C交割 4:X+P+C交割",
  13564. "type": "integer"
  13565. },
  13566. "enddate": {
  13567. "description": "结束日期(yyyyMMdd)",
  13568. "type": "string"
  13569. },
  13570. "goodscode": {
  13571. "description": "商品代码",
  13572. "type": "string"
  13573. },
  13574. "goodsid": {
  13575. "description": "交易合约ID",
  13576. "type": "integer"
  13577. },
  13578. "goodsname": {
  13579. "description": "商品名称",
  13580. "type": "string"
  13581. },
  13582. "marketid": {
  13583. "description": "市场ID",
  13584. "type": "integer"
  13585. },
  13586. "mindeliveryqty": {
  13587. "description": "最小交割系数(K)",
  13588. "type": "integer"
  13589. },
  13590. "p2deliveryprice": {
  13591. "description": "P2合约价格(商品价时填写0,固定值时填写固定值)",
  13592. "type": "number"
  13593. },
  13594. "p2deliveryratio": {
  13595. "description": "P2合约系数(p)",
  13596. "type": "integer"
  13597. },
  13598. "p2goodsid": {
  13599. "description": "P2合约ID",
  13600. "type": "integer"
  13601. },
  13602. "p2pricemode": {
  13603. "description": "P2合约价格方式 - 1:商品价 2:固定值",
  13604. "type": "integer"
  13605. },
  13606. "pdeliveryprice": {
  13607. "description": "P合约价格(商品价时填写0,固定值时填写固定值)",
  13608. "type": "number"
  13609. },
  13610. "pdeliveryratio": {
  13611. "description": "P合约系数(n)",
  13612. "type": "integer"
  13613. },
  13614. "pgoodsid": {
  13615. "description": "P合约ID",
  13616. "type": "integer"
  13617. },
  13618. "ppricemode": {
  13619. "description": "P合约价格方式 - 1:商品价 2:固定值",
  13620. "type": "integer"
  13621. },
  13622. "rratio": {
  13623. "description": "兑换系数(R)",
  13624. "type": "integer"
  13625. },
  13626. "rratio1": {
  13627. "description": "兑换系数(交易合约)(R1)",
  13628. "type": "integer"
  13629. },
  13630. "rratio2": {
  13631. "description": "兑换系数(仓单标准)(R2)",
  13632. "type": "integer"
  13633. },
  13634. "selltemplateid": {
  13635. "description": "卖履约计划模板ID",
  13636. "type": "integer"
  13637. },
  13638. "wrstandardid": {
  13639. "description": "仓单标准ID",
  13640. "type": "integer"
  13641. },
  13642. "xdeliveryratio": {
  13643. "description": "交易合约系数(m)",
  13644. "type": "integer"
  13645. }
  13646. }
  13647. },
  13648. "ermcp.ExposureDetailRsp": {
  13649. "$ref": "#/definitions/models.ErmcpExposureDetailModel"
  13650. },
  13651. "ermcp.ExposureHedgePosDetailRsp": {
  13652. "$ref": "#/definitions/models.ErmcpHedgePositionDetail"
  13653. },
  13654. "ermcp.ExposureHedgePositionRsp": {
  13655. "$ref": "#/definitions/models.ErmcpHedgePosition"
  13656. },
  13657. "ermcp.ExposureSpotDetailRsp": {
  13658. "$ref": "#/definitions/models.ErmcpAreaSpotDetailModel"
  13659. },
  13660. "ermcp.ExposureSpotRsp": {
  13661. "$ref": "#/definitions/models.AreaSpotModel"
  13662. },
  13663. "ermcp.HisExposureRsp": {
  13664. "$ref": "#/definitions/models.ErmcpHisExposureS"
  13665. },
  13666. "ermcp.PendingAuditCntRsp": {
  13667. "$ref": "#/definitions/models.ErmcpPendingAudit"
  13668. },
  13669. "ermcp.QryAvalidGPRsp": {
  13670. "$ref": "#/definitions/models.ErmcpAvalidGoodsGroupModel"
  13671. },
  13672. "ermcp.QryBusinessDjRsp": {
  13673. "type": "object",
  13674. "properties": {
  13675. "amount": {
  13676. "description": "点价金额=(点价价格+升贴水)*点价数量",
  13677. "type": "number"
  13678. },
  13679. "applyid": {
  13680. "description": "申请人",
  13681. "type": "string"
  13682. },
  13683. "applyname": {
  13684. "description": "申请人名称",
  13685. "type": "string"
  13686. },
  13687. "applystatus": {
  13688. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  13689. "type": "integer"
  13690. },
  13691. "applytime": {
  13692. "description": "申请时间",
  13693. "type": "string"
  13694. },
  13695. "attachurl": {
  13696. "description": "附件",
  13697. "type": "string"
  13698. },
  13699. "auditid": {
  13700. "description": "审核人ID",
  13701. "type": "string"
  13702. },
  13703. "auditname": {
  13704. "description": "审核人名称",
  13705. "type": "string"
  13706. },
  13707. "audittime": {
  13708. "description": "审核时间",
  13709. "type": "string"
  13710. },
  13711. "buyusername": {
  13712. "description": "采购方名称",
  13713. "type": "string"
  13714. },
  13715. "contractno": {
  13716. "description": "合同编号",
  13717. "type": "string"
  13718. },
  13719. "contractstatus": {
  13720. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  13721. "type": "integer"
  13722. },
  13723. "contracttype": {
  13724. "description": "现货合同类型 - 1:采购 -1:销售",
  13725. "type": "integer"
  13726. },
  13727. "deliverygoodscode": {
  13728. "description": "现货品种代码",
  13729. "type": "string"
  13730. },
  13731. "deliverygoodsid": {
  13732. "description": "现货商品ID",
  13733. "type": "integer"
  13734. },
  13735. "deliverygoodsname": {
  13736. "description": "现货品种名称",
  13737. "type": "string"
  13738. },
  13739. "enumdicname": {
  13740. "description": "单位名称",
  13741. "type": "string"
  13742. },
  13743. "goodscode": {
  13744. "description": "点价合约",
  13745. "type": "string"
  13746. },
  13747. "goodsname": {
  13748. "description": "商品名称",
  13749. "type": "string"
  13750. },
  13751. "operateapplyid": {
  13752. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  13753. "type": "string"
  13754. },
  13755. "operateapplytype": {
  13756. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  13757. "type": "integer"
  13758. },
  13759. "pricedPrice": {
  13760. "description": "点价价格(非必填)",
  13761. "type": "number"
  13762. },
  13763. "pricedQty": {
  13764. "description": "点价数量(非必填)",
  13765. "type": "number"
  13766. },
  13767. "pricemove": {
  13768. "description": "升贴水",
  13769. "type": "number"
  13770. },
  13771. "pricetype": {
  13772. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  13773. "type": "integer"
  13774. },
  13775. "relatedid": {
  13776. "description": "现货合同ID",
  13777. "type": "string"
  13778. },
  13779. "sellusername": {
  13780. "description": "销售方名字",
  13781. "type": "string"
  13782. },
  13783. "userid": {
  13784. "description": "用户ID",
  13785. "type": "integer"
  13786. },
  13787. "wrstandardcode": {
  13788. "description": "品类代码",
  13789. "type": "string"
  13790. },
  13791. "wrstandardid": {
  13792. "description": "品类id",
  13793. "type": "integer"
  13794. },
  13795. "wrstandardname": {
  13796. "description": "品类名称",
  13797. "type": "string"
  13798. }
  13799. }
  13800. },
  13801. "ermcp.QryBussinessFpRsp": {
  13802. "type": "object",
  13803. "properties": {
  13804. "applyid": {
  13805. "description": "申请人",
  13806. "type": "string"
  13807. },
  13808. "applyname": {
  13809. "description": "申请人名称",
  13810. "type": "string"
  13811. },
  13812. "applystatus": {
  13813. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  13814. "type": "integer"
  13815. },
  13816. "applytime": {
  13817. "description": "申请时间",
  13818. "type": "string"
  13819. },
  13820. "attachurl": {
  13821. "description": "附件",
  13822. "type": "string"
  13823. },
  13824. "auditid": {
  13825. "description": "审核人ID",
  13826. "type": "string"
  13827. },
  13828. "auditname": {
  13829. "description": "审核人名称",
  13830. "type": "string"
  13831. },
  13832. "audittime": {
  13833. "description": "审核时间",
  13834. "type": "string"
  13835. },
  13836. "buyusername": {
  13837. "description": "采购方名称",
  13838. "type": "string"
  13839. },
  13840. "contractno": {
  13841. "description": "合同编号",
  13842. "type": "string"
  13843. },
  13844. "contractstatus": {
  13845. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  13846. "type": "integer"
  13847. },
  13848. "contracttype": {
  13849. "description": "现货合同类型 - 1:采购 -1:销售",
  13850. "type": "integer"
  13851. },
  13852. "deliverygoodscode": {
  13853. "description": "现货品种代码",
  13854. "type": "string"
  13855. },
  13856. "deliverygoodsid": {
  13857. "description": "现货商品ID",
  13858. "type": "integer"
  13859. },
  13860. "deliverygoodsname": {
  13861. "description": "现货品种名称",
  13862. "type": "string"
  13863. },
  13864. "enumdicname": {
  13865. "description": "单位名称",
  13866. "type": "string"
  13867. },
  13868. "goodscode": {
  13869. "description": "点价合约",
  13870. "type": "string"
  13871. },
  13872. "goodsname": {
  13873. "description": "商品名称",
  13874. "type": "string"
  13875. },
  13876. "invoiceAmount": {
  13877. "description": "已开收票金额(销售为开票,采购为收票)",
  13878. "type": "number"
  13879. },
  13880. "operateapplyid": {
  13881. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  13882. "type": "string"
  13883. },
  13884. "operateapplytype": {
  13885. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  13886. "type": "integer"
  13887. },
  13888. "pricemove": {
  13889. "description": "升贴水",
  13890. "type": "number"
  13891. },
  13892. "pricetype": {
  13893. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  13894. "type": "integer"
  13895. },
  13896. "relatedid": {
  13897. "description": "现货合同ID",
  13898. "type": "string"
  13899. },
  13900. "sellusername": {
  13901. "description": "销售方名字",
  13902. "type": "string"
  13903. },
  13904. "userid": {
  13905. "description": "用户ID",
  13906. "type": "integer"
  13907. },
  13908. "wrstandardcode": {
  13909. "description": "品类代码",
  13910. "type": "string"
  13911. },
  13912. "wrstandardid": {
  13913. "description": "品类id",
  13914. "type": "integer"
  13915. },
  13916. "wrstandardname": {
  13917. "description": "品类名称",
  13918. "type": "string"
  13919. }
  13920. }
  13921. },
  13922. "ermcp.QryBussinessJsExRsp": {
  13923. "type": "object",
  13924. "properties": {
  13925. "applyid": {
  13926. "description": "申请人",
  13927. "type": "string"
  13928. },
  13929. "applyname": {
  13930. "description": "申请人名称",
  13931. "type": "string"
  13932. },
  13933. "applystatus": {
  13934. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  13935. "type": "integer"
  13936. },
  13937. "applytime": {
  13938. "description": "申请时间",
  13939. "type": "string"
  13940. },
  13941. "attachurl": {
  13942. "description": "附件",
  13943. "type": "string"
  13944. },
  13945. "auditid": {
  13946. "description": "审核人ID",
  13947. "type": "string"
  13948. },
  13949. "auditname": {
  13950. "description": "审核人名称",
  13951. "type": "string"
  13952. },
  13953. "audittime": {
  13954. "description": "审核时间",
  13955. "type": "string"
  13956. },
  13957. "buyusername": {
  13958. "description": "采购方名称",
  13959. "type": "string"
  13960. },
  13961. "contractno": {
  13962. "description": "合同编号",
  13963. "type": "string"
  13964. },
  13965. "contractstatus": {
  13966. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  13967. "type": "integer"
  13968. },
  13969. "contracttype": {
  13970. "description": "现货合同类型 - 1:采购 -1:销售",
  13971. "type": "integer"
  13972. },
  13973. "deliverygoodscode": {
  13974. "description": "现货品种代码",
  13975. "type": "string"
  13976. },
  13977. "deliverygoodsid": {
  13978. "description": "现货商品ID",
  13979. "type": "integer"
  13980. },
  13981. "deliverygoodsname": {
  13982. "description": "现货品种名称",
  13983. "type": "string"
  13984. },
  13985. "enumdicname": {
  13986. "description": "单位名称",
  13987. "type": "string"
  13988. },
  13989. "goodscode": {
  13990. "description": "点价合约",
  13991. "type": "string"
  13992. },
  13993. "goodsname": {
  13994. "description": "商品名称",
  13995. "type": "string"
  13996. },
  13997. "operateapplyid": {
  13998. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  13999. "type": "string"
  14000. },
  14001. "operateapplytype": {
  14002. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  14003. "type": "integer"
  14004. },
  14005. "pricemove": {
  14006. "description": "升贴水",
  14007. "type": "number"
  14008. },
  14009. "pricetype": {
  14010. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  14011. "type": "integer"
  14012. },
  14013. "reckontype": {
  14014. "description": "结算类型",
  14015. "type": "string"
  14016. },
  14017. "reckonvalue": {
  14018. "description": "值",
  14019. "type": "number"
  14020. },
  14021. "relatedid": {
  14022. "description": "现货合同ID",
  14023. "type": "string"
  14024. },
  14025. "sellusername": {
  14026. "description": "销售方名字",
  14027. "type": "string"
  14028. },
  14029. "userid": {
  14030. "description": "用户ID",
  14031. "type": "integer"
  14032. },
  14033. "wrstandardcode": {
  14034. "description": "品类代码",
  14035. "type": "string"
  14036. },
  14037. "wrstandardid": {
  14038. "description": "品类id",
  14039. "type": "integer"
  14040. },
  14041. "wrstandardname": {
  14042. "description": "品类名称",
  14043. "type": "string"
  14044. }
  14045. }
  14046. },
  14047. "ermcp.QryBussinessJsRsp": {
  14048. "type": "object",
  14049. "properties": {
  14050. "addmargin": {
  14051. "description": "追加保证金(非必填)",
  14052. "type": "number"
  14053. },
  14054. "applyid": {
  14055. "description": "申请人",
  14056. "type": "string"
  14057. },
  14058. "applyname": {
  14059. "description": "申请人名称",
  14060. "type": "string"
  14061. },
  14062. "applystatus": {
  14063. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  14064. "type": "integer"
  14065. },
  14066. "applytime": {
  14067. "description": "申请时间",
  14068. "type": "string"
  14069. },
  14070. "attachurl": {
  14071. "description": "附件",
  14072. "type": "string"
  14073. },
  14074. "auditid": {
  14075. "description": "审核人ID",
  14076. "type": "string"
  14077. },
  14078. "auditname": {
  14079. "description": "审核人名称",
  14080. "type": "string"
  14081. },
  14082. "audittime": {
  14083. "description": "审核时间",
  14084. "type": "string"
  14085. },
  14086. "buyusername": {
  14087. "description": "采购方名称",
  14088. "type": "string"
  14089. },
  14090. "contractno": {
  14091. "description": "合同编号",
  14092. "type": "string"
  14093. },
  14094. "contractstatus": {
  14095. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  14096. "type": "integer"
  14097. },
  14098. "contracttype": {
  14099. "description": "现货合同类型 - 1:采购 -1:销售",
  14100. "type": "integer"
  14101. },
  14102. "decmargin": {
  14103. "description": "减少保证金(非必填)",
  14104. "type": "number"
  14105. },
  14106. "deliverygoodscode": {
  14107. "description": "现货品种代码",
  14108. "type": "string"
  14109. },
  14110. "deliverygoodsid": {
  14111. "description": "现货商品ID",
  14112. "type": "integer"
  14113. },
  14114. "deliverygoodsname": {
  14115. "description": "现货品种名称",
  14116. "type": "string"
  14117. },
  14118. "enumdicname": {
  14119. "description": "单位名称",
  14120. "type": "string"
  14121. },
  14122. "goodscode": {
  14123. "description": "点价合约",
  14124. "type": "string"
  14125. },
  14126. "goodsname": {
  14127. "description": "商品名称",
  14128. "type": "string"
  14129. },
  14130. "operateapplyid": {
  14131. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  14132. "type": "string"
  14133. },
  14134. "operateapplytype": {
  14135. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  14136. "type": "integer"
  14137. },
  14138. "pricemove": {
  14139. "description": "升贴水",
  14140. "type": "number"
  14141. },
  14142. "pricetype": {
  14143. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  14144. "type": "integer"
  14145. },
  14146. "reckonadjustamount": {
  14147. "description": "结算调整金额(非必填)",
  14148. "type": "number"
  14149. },
  14150. "reckonosamount": {
  14151. "description": "结算溢短金额(非必填)",
  14152. "type": "number"
  14153. },
  14154. "reckonotheramount": {
  14155. "description": "结算其他费用(非必填)",
  14156. "type": "number"
  14157. },
  14158. "reckonrealqty": {
  14159. "description": "结算实际数量(非必填)",
  14160. "type": "number"
  14161. },
  14162. "relatedid": {
  14163. "description": "现货合同ID",
  14164. "type": "string"
  14165. },
  14166. "sellusername": {
  14167. "description": "销售方名字",
  14168. "type": "string"
  14169. },
  14170. "userid": {
  14171. "description": "用户ID",
  14172. "type": "integer"
  14173. },
  14174. "wrstandardcode": {
  14175. "description": "品类代码",
  14176. "type": "string"
  14177. },
  14178. "wrstandardid": {
  14179. "description": "品类id",
  14180. "type": "integer"
  14181. },
  14182. "wrstandardname": {
  14183. "description": "品类名称",
  14184. "type": "string"
  14185. }
  14186. }
  14187. },
  14188. "ermcp.QryBussinessKxRsp": {
  14189. "type": "object",
  14190. "properties": {
  14191. "applyid": {
  14192. "description": "申请人",
  14193. "type": "string"
  14194. },
  14195. "applyname": {
  14196. "description": "申请人名称",
  14197. "type": "string"
  14198. },
  14199. "applystatus": {
  14200. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  14201. "type": "integer"
  14202. },
  14203. "applytime": {
  14204. "description": "申请时间",
  14205. "type": "string"
  14206. },
  14207. "attachurl": {
  14208. "description": "附件",
  14209. "type": "string"
  14210. },
  14211. "auditid": {
  14212. "description": "审核人ID",
  14213. "type": "string"
  14214. },
  14215. "auditname": {
  14216. "description": "审核人名称",
  14217. "type": "string"
  14218. },
  14219. "audittime": {
  14220. "description": "审核时间",
  14221. "type": "string"
  14222. },
  14223. "buyusername": {
  14224. "description": "采购方名称",
  14225. "type": "string"
  14226. },
  14227. "contractno": {
  14228. "description": "合同编号",
  14229. "type": "string"
  14230. },
  14231. "contractstatus": {
  14232. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  14233. "type": "integer"
  14234. },
  14235. "contracttype": {
  14236. "description": "现货合同类型 - 1:采购 -1:销售",
  14237. "type": "integer"
  14238. },
  14239. "deductamount": {
  14240. "description": "退款(非必填)",
  14241. "type": "number"
  14242. },
  14243. "deliverygoodscode": {
  14244. "description": "现货品种代码",
  14245. "type": "string"
  14246. },
  14247. "deliverygoodsid": {
  14248. "description": "现货商品ID",
  14249. "type": "integer"
  14250. },
  14251. "deliverygoodsname": {
  14252. "description": "现货品种名称",
  14253. "type": "string"
  14254. },
  14255. "enumdicname": {
  14256. "description": "单位名称",
  14257. "type": "string"
  14258. },
  14259. "goodscode": {
  14260. "description": "点价合约",
  14261. "type": "string"
  14262. },
  14263. "goodsname": {
  14264. "description": "商品名称",
  14265. "type": "string"
  14266. },
  14267. "kxtype": {
  14268. "description": "款项类型 1-收付款(PayAmount字段有值) 2-退款(DeductAmount字段有值) 3-收付款/退款(2个字段都有)",
  14269. "type": "integer"
  14270. },
  14271. "operateapplyid": {
  14272. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  14273. "type": "string"
  14274. },
  14275. "operateapplytype": {
  14276. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  14277. "type": "integer"
  14278. },
  14279. "payamount": {
  14280. "description": "收付款(非必填)",
  14281. "type": "number"
  14282. },
  14283. "pricemove": {
  14284. "description": "升贴水",
  14285. "type": "number"
  14286. },
  14287. "pricetype": {
  14288. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  14289. "type": "integer"
  14290. },
  14291. "relatedid": {
  14292. "description": "现货合同ID",
  14293. "type": "string"
  14294. },
  14295. "sellusername": {
  14296. "description": "销售方名字",
  14297. "type": "string"
  14298. },
  14299. "userid": {
  14300. "description": "用户ID",
  14301. "type": "integer"
  14302. },
  14303. "wrstandardcode": {
  14304. "description": "品类代码",
  14305. "type": "string"
  14306. },
  14307. "wrstandardid": {
  14308. "description": "品类id",
  14309. "type": "integer"
  14310. },
  14311. "wrstandardname": {
  14312. "description": "品类名称",
  14313. "type": "string"
  14314. }
  14315. }
  14316. },
  14317. "ermcp.QryGGCovertCfgRsp": {
  14318. "$ref": "#/definitions/models.ErmcpGGConvertCfg"
  14319. },
  14320. "ermcp.QryMGChangeLogRsp": {
  14321. "$ref": "#/definitions/models.ErmcpMiddleGoodsChangeLog"
  14322. },
  14323. "ermcp.QryMiddleGoodsDetailRsp": {
  14324. "$ref": "#/definitions/models.ErmcpMiddleGoodsDetail"
  14325. },
  14326. "ermcp.QryMiddleGoodsRsp": {
  14327. "$ref": "#/definitions/models.ErmcpMiddleGoodsModel"
  14328. },
  14329. "ermcp.QryOPLogRsp": {
  14330. "$ref": "#/definitions/models.ErmcpOPLogModel"
  14331. },
  14332. "ermcp.QryUserInfoRsp": {
  14333. "$ref": "#/definitions/models.ErmcpUserModel"
  14334. },
  14335. "ermcp.QryWarehouseRsp": {
  14336. "$ref": "#/definitions/models.ErmcpWareHouseInfo"
  14337. },
  14338. "ermcp.QueryErmcpTradePositionRsp": {
  14339. "type": "object",
  14340. "properties": {
  14341. "agreeunit": {
  14342. "description": "合约单位",
  14343. "type": "number"
  14344. },
  14345. "buyorsell": {
  14346. "description": "方向 - 0:买 1:卖",
  14347. "type": "integer"
  14348. },
  14349. "curpositionqty": {
  14350. "description": "持仓(总仓数量, 期末头寸)",
  14351. "type": "integer"
  14352. },
  14353. "curtdposition": {
  14354. "description": "今仓数量(期末今日头寸)",
  14355. "type": "integer"
  14356. },
  14357. "curtdpositionenabled": {
  14358. "description": "今仓可用",
  14359. "type": "integer"
  14360. },
  14361. "decimalplace": {
  14362. "description": "报价小数位",
  14363. "type": "integer"
  14364. },
  14365. "enableqty": {
  14366. "description": "可用(总仓可用)",
  14367. "type": "integer"
  14368. },
  14369. "exexchangename": {
  14370. "description": "外部交易所名称",
  14371. "type": "string"
  14372. },
  14373. "goodscode": {
  14374. "description": "商品代码(内部)",
  14375. "type": "string"
  14376. },
  14377. "goodsid": {
  14378. "description": "商品ID(自增ID SEQ_GOODS)",
  14379. "type": "integer"
  14380. },
  14381. "goodsname": {
  14382. "description": "商品名称",
  14383. "type": "string"
  14384. },
  14385. "last": {
  14386. "description": "现价",
  14387. "type": "number"
  14388. },
  14389. "marketid": {
  14390. "description": "所属市场ID",
  14391. "type": "integer"
  14392. },
  14393. "openaverageprice": {
  14394. "description": "开仓均价【头寸变化更新】 = 开仓成本 / 期末头寸 / 合约单位",
  14395. "type": "number"
  14396. },
  14397. "opencost": {
  14398. "description": "开仓成本",
  14399. "type": "number"
  14400. },
  14401. "openpl": {
  14402. "description": "逐笔浮盈【实时行情更新】(MTP:开仓盈亏、平仓盈亏) 买方向 = (最新价 - 开仓均价) * 买期末头寸 * 合约单位;卖方向 = (开仓均价 - 最新价) * 卖期末头寸 * 合约单位",
  14403. "type": "number"
  14404. },
  14405. "outgoodscode": {
  14406. "description": "商品代码(外部)",
  14407. "type": "string"
  14408. },
  14409. "positionaverageprice": {
  14410. "description": "持仓均价【头寸变化更新】= 持仓成本 / 期末头寸 / 合约单位",
  14411. "type": "number"
  14412. },
  14413. "positioncost": {
  14414. "description": "持仓成本",
  14415. "type": "number"
  14416. },
  14417. "positionpl": {
  14418. "description": "盯市浮盈【实时行情更新】(MTP:浮动盈亏、持仓盈亏) 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向 = (持仓均价 - 最新价) * 卖期末头寸 * 合约单位",
  14419. "type": "number"
  14420. },
  14421. "positionplrate": {
  14422. "description": "持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本",
  14423. "type": "number"
  14424. },
  14425. "usedmargin": {
  14426. "description": "占用保证金",
  14427. "type": "number"
  14428. }
  14429. }
  14430. },
  14431. "ermcp.RealtimeExposurePositionRsp": {
  14432. "$ref": "#/definitions/models.ErmcpExposurePostion"
  14433. },
  14434. "ermcp.RealtimeExposureRsp": {
  14435. "$ref": "#/definitions/models.ErmcpRealExposureModel"
  14436. },
  14437. "erms2.QueryArbitrageStrategyRsp": {
  14438. "type": "object",
  14439. "required": [
  14440. "asapplyid"
  14441. ],
  14442. "properties": {
  14443. "applybasis": {
  14444. "description": "申请基差",
  14445. "type": "number"
  14446. },
  14447. "asapplyid": {
  14448. "description": "策略申请ID(702+Unix秒时间戳(10位)+xxxxxx)",
  14449. "type": "string"
  14450. },
  14451. "asname": {
  14452. "description": "策略名称",
  14453. "type": "string"
  14454. },
  14455. "asno": {
  14456. "description": "策略编号",
  14457. "type": "string"
  14458. },
  14459. "basischangepl": {
  14460. "description": "基差变动损益[结算更新]",
  14461. "type": "number"
  14462. },
  14463. "biztype": {
  14464. "description": "业务类型 - 1:正向套利 -1:反向套利",
  14465. "type": "integer"
  14466. },
  14467. "closetradedate": {
  14468. "description": "完结交易日(yyyyMMdd)",
  14469. "type": "string"
  14470. },
  14471. "curbasis": {
  14472. "description": "当前基差[结算更新]",
  14473. "type": "number"
  14474. },
  14475. "deliverygoodsid": {
  14476. "description": "现货品种ID",
  14477. "type": "integer"
  14478. },
  14479. "futureavgprice": {
  14480. "description": "期货建仓均价",
  14481. "type": "number"
  14482. },
  14483. "futurecloseamount": {
  14484. "description": "期货平仓金额",
  14485. "type": "number"
  14486. },
  14487. "futurecloseqty": {
  14488. "description": "期货平仓数量",
  14489. "type": "number"
  14490. },
  14491. "futureopenamount": {
  14492. "description": "期货开仓金额",
  14493. "type": "number"
  14494. },
  14495. "futureopenqty": {
  14496. "description": "期货开仓数量",
  14497. "type": "number"
  14498. },
  14499. "futurepl": {
  14500. "description": "期货总盈亏[结算更新]",
  14501. "type": "number"
  14502. },
  14503. "futureqty": {
  14504. "description": "期货持仓数量",
  14505. "type": "number"
  14506. },
  14507. "futurequote": {
  14508. "description": "期货额度",
  14509. "type": "number"
  14510. },
  14511. "goodsgroupid": {
  14512. "description": "期货品种ID",
  14513. "type": "integer"
  14514. },
  14515. "marketid": {
  14516. "description": "市场ID",
  14517. "type": "integer"
  14518. },
  14519. "netexposure": {
  14520. "description": "单笔业务头寸净敞口 = 期货持仓数量 + 已定价现货不含税数量",
  14521. "type": "number"
  14522. },
  14523. "netexposurepl": {
  14524. "description": "净敞口损益 = TotalPL - BasisChangePL[结算更新]",
  14525. "type": "number"
  14526. },
  14527. "netexposurerate": {
  14528. "description": "净敞口比例 - 0:未结束 = (NetExposure/PriceSpotQtyNoTax) ; 已结束为0",
  14529. "type": "number"
  14530. },
  14531. "openbasis": {
  14532. "description": "建仓基差",
  14533. "type": "number"
  14534. },
  14535. "pricedspotqty": {
  14536. "description": "已定价现货数量",
  14537. "type": "number"
  14538. },
  14539. "pricedspotqtynotax": {
  14540. "description": "已定价现货不含税数量",
  14541. "type": "number"
  14542. },
  14543. "remark": {
  14544. "description": "备注",
  14545. "type": "string"
  14546. },
  14547. "spotavgprice": {
  14548. "description": "现货均价",
  14549. "type": "number"
  14550. },
  14551. "spotbuyamount": {
  14552. "description": "现货采购金额",
  14553. "type": "number"
  14554. },
  14555. "spotbuyqty": {
  14556. "description": "现货采购数量",
  14557. "type": "number"
  14558. },
  14559. "spotpl": {
  14560. "description": "现货总盈亏[结算更新]",
  14561. "type": "number"
  14562. },
  14563. "spotquota": {
  14564. "description": "现货额度",
  14565. "type": "number"
  14566. },
  14567. "spotsellamount": {
  14568. "description": "现货销售金额",
  14569. "type": "number"
  14570. },
  14571. "spotsellqty": {
  14572. "description": "现货销售数量",
  14573. "type": "number"
  14574. },
  14575. "spotusedquota": {
  14576. "description": "现货占用资金",
  14577. "type": "number"
  14578. },
  14579. "strategystatus": {
  14580. "description": "策略状态 - 0:未结束 1:已结束",
  14581. "type": "integer"
  14582. },
  14583. "totalpl": {
  14584. "description": "业务合计损益 = FuturePL + SpotPL [结算更新]",
  14585. "type": "number"
  14586. },
  14587. "tradedate": {
  14588. "description": "交易日(yyyyMMdd)",
  14589. "type": "string"
  14590. },
  14591. "updatetime": {
  14592. "description": "更新时间",
  14593. "type": "string"
  14594. },
  14595. "usedquota": {
  14596. "description": "已占用资金",
  14597. "type": "number"
  14598. },
  14599. "userid": {
  14600. "description": "所属机构",
  14601. "type": "integer"
  14602. }
  14603. }
  14604. },
  14605. "erms2.QueryInnerTradeDetailRsp": {
  14606. "type": "object",
  14607. "required": [
  14608. "asapplyid",
  14609. "buyorsell",
  14610. "goodscode",
  14611. "goodsgroupid",
  14612. "goodsgroupname",
  14613. "goodsname",
  14614. "tradeid"
  14615. ],
  14616. "properties": {
  14617. "accountid": {
  14618. "description": "账号ID",
  14619. "type": "integer"
  14620. },
  14621. "agreeunit": {
  14622. "description": "合约单位",
  14623. "type": "number"
  14624. },
  14625. "asapplyid": {
  14626. "description": "策略申请ID",
  14627. "type": "integer"
  14628. },
  14629. "asname": {
  14630. "description": "策略名称",
  14631. "type": "string"
  14632. },
  14633. "asno": {
  14634. "description": "策略编号",
  14635. "type": "string"
  14636. },
  14637. "buyorsell": {
  14638. "description": "方向 - 0:买 1:卖",
  14639. "type": "integer"
  14640. },
  14641. "channelbuildtype": {
  14642. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  14643. "type": "integer"
  14644. },
  14645. "closetype": {
  14646. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  14647. "type": "integer"
  14648. },
  14649. "decimalplace": {
  14650. "description": "报价小数位",
  14651. "type": "integer"
  14652. },
  14653. "detailtype": {
  14654. "description": "明细类型 - 1:套利对冲 2:期货换月 3:期货仓位调整",
  14655. "type": "integer"
  14656. },
  14657. "exexchangecode": {
  14658. "description": "外部交易所代码",
  14659. "type": "string"
  14660. },
  14661. "exexchangename": {
  14662. "description": "外部交易所名称",
  14663. "type": "string"
  14664. },
  14665. "goodscode": {
  14666. "description": "商品代码(合约)",
  14667. "type": "string"
  14668. },
  14669. "goodsgroupid": {
  14670. "description": "商品组ID(品种ID)",
  14671. "type": "integer"
  14672. },
  14673. "goodsgroupname": {
  14674. "description": "商品组名称(品种)",
  14675. "type": "string"
  14676. },
  14677. "goodsid": {
  14678. "description": "商品ID",
  14679. "type": "integer"
  14680. },
  14681. "goodsname": {
  14682. "description": "商品名称(合约)",
  14683. "type": "string"
  14684. },
  14685. "goodunit": {
  14686. "description": "报价单位",
  14687. "type": "string"
  14688. },
  14689. "marketid": {
  14690. "description": "市场ID",
  14691. "type": "integer"
  14692. },
  14693. "orderid": {
  14694. "description": "委托单号",
  14695. "type": "string"
  14696. },
  14697. "outgoodscode": {
  14698. "description": "商品代码(外部)",
  14699. "type": "string"
  14700. },
  14701. "relatedouttradeid": {
  14702. "description": "关联外部成交单ID",
  14703. "type": "string"
  14704. },
  14705. "remark": {
  14706. "description": "备注",
  14707. "type": "string"
  14708. },
  14709. "spotcontractid": {
  14710. "description": "现货合同ID [1:套利对冲 为合同ID,2:期货换月\\3:期货仓位调整时为0]",
  14711. "type": "integer"
  14712. },
  14713. "spotcontractno": {
  14714. "description": "现货合同编号",
  14715. "type": "string"
  14716. },
  14717. "tradeid": {
  14718. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  14719. "type": "string"
  14720. },
  14721. "tradeprice": {
  14722. "description": "成交价格",
  14723. "type": "number"
  14724. },
  14725. "tradeqty": {
  14726. "description": "成交数量",
  14727. "type": "integer"
  14728. },
  14729. "tradetime": {
  14730. "description": "成交时间",
  14731. "type": "string"
  14732. },
  14733. "updatetime": {
  14734. "description": "更新时间",
  14735. "type": "string"
  14736. }
  14737. }
  14738. },
  14739. "erms2.QuerySpotContractRsp": {
  14740. "type": "object",
  14741. "required": [
  14742. "spotcontractid"
  14743. ],
  14744. "properties": {
  14745. "accountid": {
  14746. "description": "资金账户ID",
  14747. "type": "integer"
  14748. },
  14749. "areauserid": {
  14750. "description": "所属机构",
  14751. "type": "integer"
  14752. },
  14753. "closedate": {
  14754. "description": "终止日期",
  14755. "type": "string"
  14756. },
  14757. "closeremark": {
  14758. "description": "结束备注",
  14759. "type": "string"
  14760. },
  14761. "closetradedate": {
  14762. "description": "完结交易日(yyyyMMdd)",
  14763. "type": "string"
  14764. },
  14765. "closetype": {
  14766. "description": "终止类型 - 1:违约 2:提前终止",
  14767. "type": "integer"
  14768. },
  14769. "contractamount": {
  14770. "description": "合同金额",
  14771. "type": "number"
  14772. },
  14773. "contractattachment": {
  14774. "description": "合同附件",
  14775. "type": "string"
  14776. },
  14777. "contractno": {
  14778. "description": "现货合同编号",
  14779. "type": "string"
  14780. },
  14781. "contractqty": {
  14782. "description": "合同数量(数值) (用于计算)",
  14783. "type": "number"
  14784. },
  14785. "contractqtychar": {
  14786. "description": "合同数量\\已订价数量 (用于显示)",
  14787. "type": "string"
  14788. },
  14789. "contractstatus": {
  14790. "description": "合同状态 - 0:未结束 1:已结束",
  14791. "type": "integer"
  14792. },
  14793. "contracttype": {
  14794. "description": "现货合同类型 - 1:采购合同 -1:销售合同",
  14795. "type": "integer"
  14796. },
  14797. "customeraccountid": {
  14798. "description": "客户资金账户ID",
  14799. "type": "integer"
  14800. },
  14801. "customeruserid": {
  14802. "description": "客户ID",
  14803. "type": "integer"
  14804. },
  14805. "deliverygoodsdesc": {
  14806. "description": "品种说明",
  14807. "type": "string"
  14808. },
  14809. "deliverygoodsid": {
  14810. "description": "现货品种ID",
  14811. "type": "integer"
  14812. },
  14813. "handlestatus": {
  14814. "description": "处理状态",
  14815. "type": "integer"
  14816. },
  14817. "invoiceatt": {
  14818. "description": "发票附件",
  14819. "type": "string"
  14820. },
  14821. "invoicedatetime": {
  14822. "description": "开收票更新时间",
  14823. "type": "string"
  14824. },
  14825. "invoiceopentime": {
  14826. "description": "开票时间",
  14827. "type": "string"
  14828. },
  14829. "invoiceremark": {
  14830. "description": "发票备注",
  14831. "type": "string"
  14832. },
  14833. "invoicestatus": {
  14834. "description": "开收票状态 - 0:未开票 1:已开票",
  14835. "type": "integer"
  14836. },
  14837. "lastdate": {
  14838. "description": "交货时间",
  14839. "type": "string"
  14840. },
  14841. "marketid": {
  14842. "description": "市场ID",
  14843. "type": "integer"
  14844. },
  14845. "paydatetime": {
  14846. "description": "收付款更新时间",
  14847. "type": "string"
  14848. },
  14849. "payremark": {
  14850. "description": "收付款备注",
  14851. "type": "string"
  14852. },
  14853. "paystatus": {
  14854. "description": "收付款状态 - 0:未支付 1:已收款 2:已付款",
  14855. "type": "integer"
  14856. },
  14857. "positionqty": {
  14858. "description": "头寸数量 - 合同数量去小数部分",
  14859. "type": "integer"
  14860. },
  14861. "producttype": {
  14862. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  14863. "type": "integer"
  14864. },
  14865. "relatedqty": {
  14866. "description": "已关联数量",
  14867. "type": "number"
  14868. },
  14869. "relatedstatus": {
  14870. "description": "关联完结状态 - 0:未结束 1:已结束",
  14871. "type": "integer"
  14872. },
  14873. "remark": {
  14874. "description": "备注",
  14875. "type": "string"
  14876. },
  14877. "signdate": {
  14878. "description": "签订日期",
  14879. "type": "string"
  14880. },
  14881. "spotcontractid": {
  14882. "description": "现货合同ID(701+Unix秒时间戳(10位)+xxxxxx)",
  14883. "type": "string"
  14884. },
  14885. "spotdatetime": {
  14886. "description": "收发货更新时间",
  14887. "type": "string"
  14888. },
  14889. "spotprice": {
  14890. "description": "价格",
  14891. "type": "number"
  14892. },
  14893. "spotremark": {
  14894. "description": "收发货备注",
  14895. "type": "string"
  14896. },
  14897. "spotstatus": {
  14898. "description": "收发货状态 - 0:未交收 1:已发货 2:已发货",
  14899. "type": "integer"
  14900. },
  14901. "tradedate": {
  14902. "description": "交易日(yyyyMMdd)",
  14903. "type": "string"
  14904. },
  14905. "userid": {
  14906. "description": "业务员用户ID",
  14907. "type": "integer"
  14908. },
  14909. "warehouseid": {
  14910. "description": "仓库ID",
  14911. "type": "integer"
  14912. },
  14913. "wrfactortypeid": {
  14914. "description": "仓单要素类型ID",
  14915. "type": "integer"
  14916. },
  14917. "wrstandardid": {
  14918. "description": "仓单标准ID(SEQ_WRSTANDARD)",
  14919. "type": "integer"
  14920. }
  14921. }
  14922. },
  14923. "erms3.AddErms2ASApplyReq": {
  14924. "type": "object",
  14925. "required": [
  14926. "asapplyid"
  14927. ],
  14928. "properties": {
  14929. "applybasis": {
  14930. "description": "申请基差",
  14931. "type": "number"
  14932. },
  14933. "applystatus": {
  14934. "description": "申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  14935. "type": "integer"
  14936. },
  14937. "asapplyid": {
  14938. "description": "策略申请ID(342+Unix秒时间戳(10位)+xxxxxx)",
  14939. "type": "integer"
  14940. },
  14941. "asname": {
  14942. "description": "策略名称",
  14943. "type": "string"
  14944. },
  14945. "asno": {
  14946. "description": "策略编号",
  14947. "type": "string"
  14948. },
  14949. "auditid": {
  14950. "description": "审核人",
  14951. "type": "integer"
  14952. },
  14953. "auditremark": {
  14954. "description": "审核备注",
  14955. "type": "string"
  14956. },
  14957. "audittime": {
  14958. "description": "审核时间",
  14959. "type": "string"
  14960. },
  14961. "biztype": {
  14962. "description": "业务类型 - 1:正向套利 2:反向套利",
  14963. "type": "integer"
  14964. },
  14965. "createtime": {
  14966. "description": "创建时间",
  14967. "type": "string"
  14968. },
  14969. "creatorid": {
  14970. "description": "创建人",
  14971. "type": "integer"
  14972. },
  14973. "deliverygoodsid": {
  14974. "description": "现货品种ID",
  14975. "type": "integer"
  14976. },
  14977. "futurequote": {
  14978. "description": "期货额度",
  14979. "type": "number"
  14980. },
  14981. "goodsgroupid": {
  14982. "description": "期货品种ID",
  14983. "type": "integer"
  14984. },
  14985. "marketid": {
  14986. "description": "市场ID",
  14987. "type": "integer"
  14988. },
  14989. "remark": {
  14990. "description": "备注",
  14991. "type": "string"
  14992. },
  14993. "spotquota": {
  14994. "description": "现货额度",
  14995. "type": "number"
  14996. },
  14997. "tradedate": {
  14998. "description": "交易日(yyyyMMdd)",
  14999. "type": "string"
  15000. },
  15001. "userid": {
  15002. "description": "所属机构",
  15003. "type": "integer"
  15004. }
  15005. }
  15006. },
  15007. "erms3.AddErms2SpotTradeApplyReq": {
  15008. "type": "object",
  15009. "required": [
  15010. "spottradeid"
  15011. ],
  15012. "properties": {
  15013. "applyjsondetail": {
  15014. "description": "申请明细(JSON)",
  15015. "type": "string"
  15016. },
  15017. "applystatus": {
  15018. "description": "申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  15019. "type": "integer"
  15020. },
  15021. "areauserid": {
  15022. "description": "所属机构",
  15023. "type": "integer"
  15024. },
  15025. "auditid": {
  15026. "description": "审核人",
  15027. "type": "integer"
  15028. },
  15029. "auditremark": {
  15030. "description": "审核备注",
  15031. "type": "string"
  15032. },
  15033. "audittime": {
  15034. "description": "审核时间",
  15035. "type": "string"
  15036. },
  15037. "createtime": {
  15038. "description": "创建时间",
  15039. "type": "string"
  15040. },
  15041. "creatorid": {
  15042. "description": "创建人",
  15043. "type": "integer"
  15044. },
  15045. "deliverygoodsid": {
  15046. "description": "现货品种ID",
  15047. "type": "integer"
  15048. },
  15049. "futureaccountid": {
  15050. "description": "期货资金账户",
  15051. "type": "integer"
  15052. },
  15053. "goodsgroupid": {
  15054. "description": "期货品种",
  15055. "type": "integer"
  15056. },
  15057. "marketid": {
  15058. "description": "市场ID",
  15059. "type": "integer"
  15060. },
  15061. "remark": {
  15062. "description": "备注",
  15063. "type": "string"
  15064. },
  15065. "spotaccountid": {
  15066. "description": "现货资金账户",
  15067. "type": "integer"
  15068. },
  15069. "spottradeid": {
  15070. "description": "业务ID(341+Unix秒时间戳(10位)+xxxxxx)",
  15071. "type": "integer"
  15072. },
  15073. "spottradename": {
  15074. "description": "业务名称",
  15075. "type": "string"
  15076. },
  15077. "spottradeno": {
  15078. "description": "业务编号",
  15079. "type": "string"
  15080. },
  15081. "tradedate": {
  15082. "description": "交易日(yyyyMMdd)",
  15083. "type": "string"
  15084. },
  15085. "wrstandardid": {
  15086. "description": "仓单标准ID",
  15087. "type": "integer"
  15088. }
  15089. }
  15090. },
  15091. "erms3.AddSpotContractApplyReq": {
  15092. "type": "object",
  15093. "required": [
  15094. "accountid",
  15095. "areauserid",
  15096. "contractno",
  15097. "contracttype",
  15098. "customeraccountid",
  15099. "customeruserid",
  15100. "details",
  15101. "orimargin",
  15102. "signdate"
  15103. ],
  15104. "properties": {
  15105. "accountid": {
  15106. "description": "资金账户ID",
  15107. "type": "integer"
  15108. },
  15109. "areauserid": {
  15110. "description": "所属机构",
  15111. "type": "integer"
  15112. },
  15113. "contractattachment": {
  15114. "description": "合同附件",
  15115. "type": "string"
  15116. },
  15117. "contractno": {
  15118. "description": "现货合同编号",
  15119. "type": "string"
  15120. },
  15121. "contracttype": {
  15122. "description": "现货合同类型 - 1:采购 -1:销售",
  15123. "type": "integer"
  15124. },
  15125. "creatorid": {
  15126. "description": "申请人",
  15127. "type": "integer"
  15128. },
  15129. "customeraccountid": {
  15130. "description": "客户资金账户ID",
  15131. "type": "integer"
  15132. },
  15133. "customeruserid": {
  15134. "description": "客户ID",
  15135. "type": "integer"
  15136. },
  15137. "details": {
  15138. "description": "明细",
  15139. "type": "array",
  15140. "items": {
  15141. "$ref": "#/definitions/erms3.SoptContractDetail"
  15142. }
  15143. },
  15144. "orimargin": {
  15145. "description": "初始保证金",
  15146. "type": "number"
  15147. },
  15148. "remark": {
  15149. "description": "备注",
  15150. "type": "string"
  15151. },
  15152. "signdate": {
  15153. "description": "签订日期",
  15154. "type": "string"
  15155. }
  15156. }
  15157. },
  15158. "erms3.AddSpotContractApplyRsp": {
  15159. "type": "object",
  15160. "required": [
  15161. "contractno"
  15162. ],
  15163. "properties": {
  15164. "contractno": {
  15165. "description": "现货合同编号",
  15166. "type": "string"
  15167. },
  15168. "spotcontractid": {
  15169. "description": "现货合同ID(345+Unix秒时间戳(10位)+xxxxxx)",
  15170. "type": "integer"
  15171. }
  15172. }
  15173. },
  15174. "erms3.AddUserInfoApplyReq": {
  15175. "type": "object",
  15176. "required": [
  15177. "userid"
  15178. ],
  15179. "properties": {
  15180. "accountid": {
  15181. "description": "交易系统帐号Id (加密存储)",
  15182. "type": "integer"
  15183. },
  15184. "areacode": {
  15185. "description": "机构代码",
  15186. "type": "string"
  15187. },
  15188. "areaid": {
  15189. "description": "机构Id",
  15190. "type": "integer"
  15191. },
  15192. "attachment1": {
  15193. "description": "附件1",
  15194. "type": "string"
  15195. },
  15196. "attachment2": {
  15197. "description": "附件2",
  15198. "type": "string"
  15199. },
  15200. "attachment3": {
  15201. "description": "附件3",
  15202. "type": "string"
  15203. },
  15204. "attachment4": {
  15205. "description": "附件4",
  15206. "type": "string"
  15207. },
  15208. "attachment5": {
  15209. "description": "附件5",
  15210. "type": "string"
  15211. },
  15212. "auditedby": {
  15213. "description": "审核人",
  15214. "type": "string"
  15215. },
  15216. "auditime": {
  15217. "description": "审核时间",
  15218. "type": "string"
  15219. },
  15220. "auditsrc": {
  15221. "description": "审核来源 - 1:管理端 2:终端",
  15222. "type": "integer"
  15223. },
  15224. "bankaccount": {
  15225. "description": "银行帐号 (加密存储)",
  15226. "type": "string"
  15227. },
  15228. "bankaccountname": {
  15229. "description": "收款人名称",
  15230. "type": "string"
  15231. },
  15232. "bankcardbackphotourl": {
  15233. "description": "银行卡背面照地址",
  15234. "type": "string"
  15235. },
  15236. "bankcardfrontphotourl": {
  15237. "description": "银行卡正面照地址",
  15238. "type": "string"
  15239. },
  15240. "bankid": {
  15241. "description": "银行编码",
  15242. "type": "string"
  15243. },
  15244. "bankname": {
  15245. "description": "银行名称",
  15246. "type": "string"
  15247. },
  15248. "bankpictureurl": {
  15249. "description": "银行卡正面地址",
  15250. "type": "string"
  15251. },
  15252. "biznature": {
  15253. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  15254. "type": "integer"
  15255. },
  15256. "bizscope": {
  15257. "description": "企业经营范围(企业)",
  15258. "type": "string"
  15259. },
  15260. "biztype": {
  15261. "description": "企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储",
  15262. "type": "integer"
  15263. },
  15264. "brokerid": {
  15265. "description": "经纪人ID(加密存储)",
  15266. "type": "string"
  15267. },
  15268. "cardaddress": {
  15269. "description": "证件地址 (加密存储)",
  15270. "type": "string"
  15271. },
  15272. "cardbackphotourl": {
  15273. "description": "背面证件照地址",
  15274. "type": "string"
  15275. },
  15276. "cardfrontphotourl": {
  15277. "description": "正面证件照地址",
  15278. "type": "string"
  15279. },
  15280. "cardnum": {
  15281. "description": "证件号码 (加密存储)",
  15282. "type": "string"
  15283. },
  15284. "cardtype": {
  15285. "description": "证件类型",
  15286. "type": "integer"
  15287. },
  15288. "cityid": {
  15289. "description": "市",
  15290. "type": "integer"
  15291. },
  15292. "company": {
  15293. "description": "公司(个人)",
  15294. "type": "string"
  15295. },
  15296. "contactcardbackphotourl": {
  15297. "description": "联系人证件背面图片地址",
  15298. "type": "string"
  15299. },
  15300. "contactcardfrontphotourl": {
  15301. "description": "联系人证件正面图片地址",
  15302. "type": "string"
  15303. },
  15304. "contactname": {
  15305. "description": "联系人",
  15306. "type": "string"
  15307. },
  15308. "countryid": {
  15309. "description": "国家",
  15310. "type": "integer"
  15311. },
  15312. "createtime": {
  15313. "description": "开户申请时间",
  15314. "type": "string"
  15315. },
  15316. "cusbankid": {
  15317. "description": "签约类型",
  15318. "type": "string"
  15319. },
  15320. "cusbankname": {
  15321. "description": "签约类型名称",
  15322. "type": "string"
  15323. },
  15324. "customername": {
  15325. "description": "客户名称(企业名称)",
  15326. "type": "string"
  15327. },
  15328. "districtid": {
  15329. "description": "地区",
  15330. "type": "integer"
  15331. },
  15332. "email": {
  15333. "description": "Email地址(加密存储)",
  15334. "type": "string"
  15335. },
  15336. "halfbodyphotourl": {
  15337. "description": "半身照地址",
  15338. "type": "string"
  15339. },
  15340. "headurl": {
  15341. "description": "头像地址",
  15342. "type": "string"
  15343. },
  15344. "ipaddress": {
  15345. "description": "IP地址",
  15346. "type": "string"
  15347. },
  15348. "isvalidate": {
  15349. "description": "是否有效 (删除后标记为失效) - 0:无效 1:有效",
  15350. "type": "string"
  15351. },
  15352. "legalcardbackphotourl": {
  15353. "description": "法人身份证背面照地址",
  15354. "type": "string"
  15355. },
  15356. "legalcardfrontphotourl": {
  15357. "description": "法人身份证正面照地址",
  15358. "type": "string"
  15359. },
  15360. "legalpersonname": {
  15361. "description": "法人姓名(企业)",
  15362. "type": "string"
  15363. },
  15364. "logincode": {
  15365. "description": "登录帐号 (加密存储)",
  15366. "type": "string"
  15367. },
  15368. "memberareaid": {
  15369. "description": "所属会员ID",
  15370. "type": "integer"
  15371. },
  15372. "mobile2": {
  15373. "description": "手机号码[明文-尚志]",
  15374. "type": "string"
  15375. },
  15376. "mobilephone": {
  15377. "description": "手机号码 (加密存储)",
  15378. "type": "string"
  15379. },
  15380. "modifiedby": {
  15381. "description": "修改人帐号",
  15382. "type": "integer"
  15383. },
  15384. "modifiedtime": {
  15385. "description": "修改时间",
  15386. "type": "string"
  15387. },
  15388. "nickname": {
  15389. "description": "昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)",
  15390. "type": "string"
  15391. },
  15392. "openmode": {
  15393. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)",
  15394. "type": "integer"
  15395. },
  15396. "otherurl": {
  15397. "description": "其它图片地址[使用分号分隔]",
  15398. "type": "string"
  15399. },
  15400. "postalcode": {
  15401. "description": "邮政编码",
  15402. "type": "string"
  15403. },
  15404. "provinceid": {
  15405. "description": "省",
  15406. "type": "integer"
  15407. },
  15408. "proxystatementurl": {
  15409. "description": "授权委托书",
  15410. "type": "string"
  15411. },
  15412. "qq": {
  15413. "description": "QQ(加密存储",
  15414. "type": "string"
  15415. },
  15416. "referral": {
  15417. "description": "推荐人编码",
  15418. "type": "string"
  15419. },
  15420. "remark": {
  15421. "description": "备注",
  15422. "type": "string"
  15423. },
  15424. "removebeforestatus": {
  15425. "description": "REMOVEBEFORESTATUS",
  15426. "type": "integer"
  15427. },
  15428. "sex": {
  15429. "description": "性别 - 0:女 1:男",
  15430. "type": "integer"
  15431. },
  15432. "signedstatus": {
  15433. "description": "账户一号签签约状态",
  15434. "type": "integer"
  15435. },
  15436. "signpdfurl": {
  15437. "description": "签约pdf文件",
  15438. "type": "string"
  15439. },
  15440. "subbranch": {
  15441. "description": "开户支行",
  15442. "type": "string"
  15443. },
  15444. "taxpayernum": {
  15445. "description": "纳税人识别号",
  15446. "type": "string"
  15447. },
  15448. "telphone": {
  15449. "description": "联系电话(加密存储)",
  15450. "type": "string"
  15451. },
  15452. "userid": {
  15453. "description": "用户ID(自增ID)SEQ_WSKH_USERINFO",
  15454. "type": "integer"
  15455. },
  15456. "userinfotype": {
  15457. "description": "用户信息类型 - 1:个人 2:企业",
  15458. "type": "integer"
  15459. },
  15460. "username": {
  15461. "description": "用户姓名",
  15462. "type": "string"
  15463. },
  15464. "userstate": {
  15465. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  15466. "type": "integer"
  15467. },
  15468. "usertype": {
  15469. "description": "用户类型 - 1:投资者 2:机构",
  15470. "type": "integer"
  15471. },
  15472. "videourl": {
  15473. "description": "视频地址",
  15474. "type": "string"
  15475. },
  15476. "wechat": {
  15477. "description": "微信号 (加密存储)",
  15478. "type": "string"
  15479. }
  15480. }
  15481. },
  15482. "erms3.CustomerInfo": {
  15483. "type": "object",
  15484. "required": [
  15485. "userid"
  15486. ],
  15487. "properties": {
  15488. "accountids": {
  15489. "description": "资金账户ID列表",
  15490. "type": "array",
  15491. "items": {
  15492. "type": "integer"
  15493. }
  15494. },
  15495. "customername": {
  15496. "description": "名称(企业名称)",
  15497. "type": "string"
  15498. },
  15499. "mobile": {
  15500. "description": "手机号码",
  15501. "type": "string"
  15502. },
  15503. "userid": {
  15504. "description": "用户ID",
  15505. "type": "integer"
  15506. }
  15507. }
  15508. },
  15509. "erms3.ModifyUserInfoApplyReq": {
  15510. "type": "object",
  15511. "required": [
  15512. "userid"
  15513. ],
  15514. "properties": {
  15515. "accountid": {
  15516. "description": "交易系统帐号Id (加密存储)",
  15517. "type": "integer"
  15518. },
  15519. "areacode": {
  15520. "description": "机构代码",
  15521. "type": "string"
  15522. },
  15523. "areaid": {
  15524. "description": "机构Id",
  15525. "type": "integer"
  15526. },
  15527. "attachment1": {
  15528. "description": "附件1",
  15529. "type": "string"
  15530. },
  15531. "attachment2": {
  15532. "description": "附件2",
  15533. "type": "string"
  15534. },
  15535. "attachment3": {
  15536. "description": "附件3",
  15537. "type": "string"
  15538. },
  15539. "attachment4": {
  15540. "description": "附件4",
  15541. "type": "string"
  15542. },
  15543. "attachment5": {
  15544. "description": "附件5",
  15545. "type": "string"
  15546. },
  15547. "auditedby": {
  15548. "description": "审核人",
  15549. "type": "string"
  15550. },
  15551. "auditime": {
  15552. "description": "审核时间",
  15553. "type": "string"
  15554. },
  15555. "auditsrc": {
  15556. "description": "审核来源 - 1:管理端 2:终端",
  15557. "type": "integer"
  15558. },
  15559. "bankaccount": {
  15560. "description": "银行帐号 (加密存储)",
  15561. "type": "string"
  15562. },
  15563. "bankaccountname": {
  15564. "description": "收款人名称",
  15565. "type": "string"
  15566. },
  15567. "bankcardbackphotourl": {
  15568. "description": "银行卡背面照地址",
  15569. "type": "string"
  15570. },
  15571. "bankcardfrontphotourl": {
  15572. "description": "银行卡正面照地址",
  15573. "type": "string"
  15574. },
  15575. "bankid": {
  15576. "description": "银行编码",
  15577. "type": "string"
  15578. },
  15579. "bankname": {
  15580. "description": "银行名称",
  15581. "type": "string"
  15582. },
  15583. "bankpictureurl": {
  15584. "description": "银行卡正面地址",
  15585. "type": "string"
  15586. },
  15587. "biznature": {
  15588. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  15589. "type": "integer"
  15590. },
  15591. "bizscope": {
  15592. "description": "企业经营范围(企业)",
  15593. "type": "string"
  15594. },
  15595. "biztype": {
  15596. "description": "企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储",
  15597. "type": "integer"
  15598. },
  15599. "brokerid": {
  15600. "description": "经纪人ID(加密存储)",
  15601. "type": "string"
  15602. },
  15603. "cardaddress": {
  15604. "description": "证件地址 (加密存储)",
  15605. "type": "string"
  15606. },
  15607. "cardbackphotourl": {
  15608. "description": "背面证件照地址",
  15609. "type": "string"
  15610. },
  15611. "cardfrontphotourl": {
  15612. "description": "正面证件照地址",
  15613. "type": "string"
  15614. },
  15615. "cardnum": {
  15616. "description": "证件号码 (加密存储)",
  15617. "type": "string"
  15618. },
  15619. "cardtype": {
  15620. "description": "证件类型",
  15621. "type": "integer"
  15622. },
  15623. "cityid": {
  15624. "description": "市",
  15625. "type": "integer"
  15626. },
  15627. "company": {
  15628. "description": "公司(个人)",
  15629. "type": "string"
  15630. },
  15631. "contactcardbackphotourl": {
  15632. "description": "联系人证件背面图片地址",
  15633. "type": "string"
  15634. },
  15635. "contactcardfrontphotourl": {
  15636. "description": "联系人证件正面图片地址",
  15637. "type": "string"
  15638. },
  15639. "contactname": {
  15640. "description": "联系人",
  15641. "type": "string"
  15642. },
  15643. "countryid": {
  15644. "description": "国家",
  15645. "type": "integer"
  15646. },
  15647. "createtime": {
  15648. "description": "开户申请时间",
  15649. "type": "string"
  15650. },
  15651. "cusbankid": {
  15652. "description": "签约类型",
  15653. "type": "string"
  15654. },
  15655. "cusbankname": {
  15656. "description": "签约类型名称",
  15657. "type": "string"
  15658. },
  15659. "customername": {
  15660. "description": "客户名称(企业名称)",
  15661. "type": "string"
  15662. },
  15663. "districtid": {
  15664. "description": "地区",
  15665. "type": "integer"
  15666. },
  15667. "email": {
  15668. "description": "Email地址(加密存储)",
  15669. "type": "string"
  15670. },
  15671. "halfbodyphotourl": {
  15672. "description": "半身照地址",
  15673. "type": "string"
  15674. },
  15675. "headurl": {
  15676. "description": "头像地址",
  15677. "type": "string"
  15678. },
  15679. "ipaddress": {
  15680. "description": "IP地址",
  15681. "type": "string"
  15682. },
  15683. "isvalidate": {
  15684. "description": "是否有效 (删除后标记为失效) - 0:无效 1:有效",
  15685. "type": "string"
  15686. },
  15687. "legalcardbackphotourl": {
  15688. "description": "法人身份证背面照地址",
  15689. "type": "string"
  15690. },
  15691. "legalcardfrontphotourl": {
  15692. "description": "法人身份证正面照地址",
  15693. "type": "string"
  15694. },
  15695. "legalpersonname": {
  15696. "description": "法人姓名(企业)",
  15697. "type": "string"
  15698. },
  15699. "logincode": {
  15700. "description": "登录帐号 (加密存储)",
  15701. "type": "string"
  15702. },
  15703. "memberareaid": {
  15704. "description": "所属会员ID",
  15705. "type": "integer"
  15706. },
  15707. "mobile2": {
  15708. "description": "手机号码[明文-尚志]",
  15709. "type": "string"
  15710. },
  15711. "mobilephone": {
  15712. "description": "手机号码 (加密存储)",
  15713. "type": "string"
  15714. },
  15715. "modifiedby": {
  15716. "description": "修改人帐号",
  15717. "type": "integer"
  15718. },
  15719. "modifiedtime": {
  15720. "description": "修改时间",
  15721. "type": "string"
  15722. },
  15723. "nickname": {
  15724. "description": "昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)",
  15725. "type": "string"
  15726. },
  15727. "openmode": {
  15728. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)",
  15729. "type": "integer"
  15730. },
  15731. "otherurl": {
  15732. "description": "其它图片地址[使用分号分隔]",
  15733. "type": "string"
  15734. },
  15735. "postalcode": {
  15736. "description": "邮政编码",
  15737. "type": "string"
  15738. },
  15739. "provinceid": {
  15740. "description": "省",
  15741. "type": "integer"
  15742. },
  15743. "proxystatementurl": {
  15744. "description": "授权委托书",
  15745. "type": "string"
  15746. },
  15747. "qq": {
  15748. "description": "QQ(加密存储",
  15749. "type": "string"
  15750. },
  15751. "referral": {
  15752. "description": "推荐人编码",
  15753. "type": "string"
  15754. },
  15755. "remark": {
  15756. "description": "备注",
  15757. "type": "string"
  15758. },
  15759. "removebeforestatus": {
  15760. "description": "REMOVEBEFORESTATUS",
  15761. "type": "integer"
  15762. },
  15763. "sex": {
  15764. "description": "性别 - 0:女 1:男",
  15765. "type": "integer"
  15766. },
  15767. "signedstatus": {
  15768. "description": "账户一号签签约状态",
  15769. "type": "integer"
  15770. },
  15771. "signpdfurl": {
  15772. "description": "签约pdf文件",
  15773. "type": "string"
  15774. },
  15775. "subbranch": {
  15776. "description": "开户支行",
  15777. "type": "string"
  15778. },
  15779. "taxpayernum": {
  15780. "description": "纳税人识别号",
  15781. "type": "string"
  15782. },
  15783. "telphone": {
  15784. "description": "联系电话(加密存储)",
  15785. "type": "string"
  15786. },
  15787. "userid": {
  15788. "description": "用户ID(自增ID)SEQ_WSKH_USERINFO",
  15789. "type": "integer"
  15790. },
  15791. "userinfotype": {
  15792. "description": "用户信息类型 - 1:个人 2:企业",
  15793. "type": "integer"
  15794. },
  15795. "username": {
  15796. "description": "用户姓名",
  15797. "type": "string"
  15798. },
  15799. "userstate": {
  15800. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  15801. "type": "integer"
  15802. },
  15803. "usertype": {
  15804. "description": "用户类型 - 1:投资者 2:机构",
  15805. "type": "integer"
  15806. },
  15807. "videourl": {
  15808. "description": "视频地址",
  15809. "type": "string"
  15810. },
  15811. "wechat": {
  15812. "description": "微信号 (加密存储)",
  15813. "type": "string"
  15814. }
  15815. }
  15816. },
  15817. "erms3.QryAuditContractRsp": {
  15818. "type": "object",
  15819. "required": [
  15820. "matchcustomername",
  15821. "spotcontractid"
  15822. ],
  15823. "properties": {
  15824. "accountid": {
  15825. "description": "交易员ID",
  15826. "type": "string"
  15827. },
  15828. "applystatus": {
  15829. "description": "申请状态 - 0:未审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  15830. "type": "integer"
  15831. },
  15832. "curdeliveryqty": {
  15833. "description": "未交收量",
  15834. "type": "integer"
  15835. },
  15836. "customername": {
  15837. "description": "采购方ID",
  15838. "type": "string"
  15839. },
  15840. "deliverygoodsid": {
  15841. "description": "品种ID",
  15842. "type": "string"
  15843. },
  15844. "deliveryqty": {
  15845. "description": "交收量",
  15846. "type": "integer"
  15847. },
  15848. "enumdicname": {
  15849. "description": "单位名称",
  15850. "type": "string"
  15851. },
  15852. "matchaccountid": {
  15853. "description": "业务员ID",
  15854. "type": "string"
  15855. },
  15856. "matchcustomername": {
  15857. "description": "销售方ID",
  15858. "type": "string"
  15859. },
  15860. "pricedqty": {
  15861. "description": "定价量",
  15862. "type": "number"
  15863. },
  15864. "signdate": {
  15865. "description": "签订日期",
  15866. "type": "string"
  15867. },
  15868. "spotcontractid": {
  15869. "description": "合同ID",
  15870. "type": "string"
  15871. },
  15872. "totaldqty": {
  15873. "description": "合同量",
  15874. "type": "number"
  15875. },
  15876. "unpricedqty": {
  15877. "description": "未定价量",
  15878. "type": "number"
  15879. },
  15880. "wrstandardname": {
  15881. "description": "商品名称",
  15882. "type": "string"
  15883. }
  15884. }
  15885. },
  15886. "erms3.QryPendingBizRsp": {
  15887. "$ref": "#/definitions/models.PendingAuditBizModel"
  15888. },
  15889. "erms3.QueryBusinessInfoRsp": {
  15890. "type": "object",
  15891. "properties": {
  15892. "businessid": {
  15893. "description": "业务ID.",
  15894. "type": "integer"
  15895. },
  15896. "buyamount": {
  15897. "description": "采购额.",
  15898. "type": "number"
  15899. },
  15900. "buyqty": {
  15901. "description": "采购量.",
  15902. "type": "string"
  15903. },
  15904. "futurepl": {
  15905. "description": "期货盈亏.",
  15906. "type": "number"
  15907. },
  15908. "futureqty": {
  15909. "description": "期货敞口.",
  15910. "type": "string"
  15911. },
  15912. "goodsid": {
  15913. "description": "商品名称/商品代码.",
  15914. "type": "string"
  15915. },
  15916. "hedgingqty": {
  15917. "description": "套保量.",
  15918. "type": "string"
  15919. },
  15920. "sellamount": {
  15921. "description": "销售额.",
  15922. "type": "number"
  15923. },
  15924. "sellqty": {
  15925. "description": "销售量.",
  15926. "type": "string"
  15927. },
  15928. "spotmarketvalue": {
  15929. "description": "现货市值.",
  15930. "type": "number"
  15931. },
  15932. "spotpl": {
  15933. "description": "浮动权益.",
  15934. "type": "number"
  15935. },
  15936. "spotqty": {
  15937. "description": "现货量.",
  15938. "type": "string"
  15939. },
  15940. "statu": {
  15941. "description": "状态,0-未结束 1-已结束.",
  15942. "type": "integer"
  15943. },
  15944. "totalpl": {
  15945. "description": "总盈亏.",
  15946. "type": "number"
  15947. },
  15948. "totalqty": {
  15949. "description": "总敞口.",
  15950. "type": "string"
  15951. },
  15952. "type": {
  15953. "description": "业务类型,1-期现套利,2-仓单回购,3-现货贸易.",
  15954. "type": "integer"
  15955. }
  15956. }
  15957. },
  15958. "erms3.QuerySpotContractAppleFormRsp": {
  15959. "type": "object",
  15960. "properties": {
  15961. "goodses": {
  15962. "description": "合约列表",
  15963. "type": "array",
  15964. "items": {
  15965. "$ref": "#/definitions/models.GoodsIDAndName"
  15966. }
  15967. },
  15968. "oppositeusers": {
  15969. "description": "对方账号列表",
  15970. "type": "array",
  15971. "items": {
  15972. "$ref": "#/definitions/erms3.CustomerInfo"
  15973. }
  15974. },
  15975. "ouruser": {
  15976. "description": "我方账号",
  15977. "type": "object",
  15978. "$ref": "#/definitions/erms3.CustomerInfo"
  15979. },
  15980. "warehouseinfos": {
  15981. "description": "仓库信息列表",
  15982. "type": "array",
  15983. "items": {
  15984. "$ref": "#/definitions/models.Warehouseinfo"
  15985. }
  15986. },
  15987. "wrstandards": {
  15988. "description": "仓单标准列表",
  15989. "type": "array",
  15990. "items": {
  15991. "$ref": "#/definitions/models.WRStandardInfo"
  15992. }
  15993. }
  15994. }
  15995. },
  15996. "erms3.QuerySpotContractInfoRsp": {
  15997. "type": "object",
  15998. "properties": {
  15999. "accountid": {
  16000. "description": "表示交易员ID.",
  16001. "type": "integer"
  16002. },
  16003. "curdeliveryqty": {
  16004. "description": "表示未交收量.",
  16005. "type": "number"
  16006. },
  16007. "customername": {
  16008. "description": "若合同类型为采购合同,表示采购方ID;若合同类型为销售合同,表示销售方ID.",
  16009. "type": "string"
  16010. },
  16011. "deliverygoodsid": {
  16012. "description": "表示品种ID.",
  16013. "type": "string"
  16014. },
  16015. "deliveryqty": {
  16016. "description": "表示交收量.",
  16017. "type": "number"
  16018. },
  16019. "matchaccountid": {
  16020. "description": "表示业务员ID.",
  16021. "type": "integer"
  16022. },
  16023. "matchcustomername": {
  16024. "description": "若合同类型为采购合同,表示销售方;若合同类型为销售合同,表示采购方ID.",
  16025. "type": "string"
  16026. },
  16027. "priceqty": {
  16028. "description": "表示定价量.",
  16029. "type": "number"
  16030. },
  16031. "relatedbizid": {
  16032. "description": "表示业务ID.",
  16033. "type": "string"
  16034. },
  16035. "signdate": {
  16036. "description": "表示签订日期.",
  16037. "type": "string"
  16038. },
  16039. "spotcontractid": {
  16040. "description": "合同ID",
  16041. "type": "string"
  16042. },
  16043. "status": {
  16044. "description": "表示状态,0-履约中 1-已完成.",
  16045. "type": "integer"
  16046. },
  16047. "totalqty": {
  16048. "description": "表示合同量.",
  16049. "type": "number"
  16050. },
  16051. "unpricedqty": {
  16052. "description": "表示未定价量.",
  16053. "type": "number"
  16054. },
  16055. "wrstandardname": {
  16056. "description": "表示商品ID.",
  16057. "type": "string"
  16058. }
  16059. }
  16060. },
  16061. "erms3.QueryUserInfoAppliesRsp": {
  16062. "type": "object",
  16063. "required": [
  16064. "userid"
  16065. ],
  16066. "properties": {
  16067. "biznature": {
  16068. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  16069. "type": "integer"
  16070. },
  16071. "contactname": {
  16072. "description": "联系人",
  16073. "type": "string"
  16074. },
  16075. "createtime": {
  16076. "description": "开户申请时间",
  16077. "type": "string"
  16078. },
  16079. "userid": {
  16080. "description": "用户ID(自增ID)",
  16081. "type": "integer"
  16082. },
  16083. "userinfotype": {
  16084. "description": "用户信息类型 - 1:个人 2:企业",
  16085. "type": "integer"
  16086. },
  16087. "username": {
  16088. "description": "用户姓名",
  16089. "type": "string"
  16090. },
  16091. "userstate": {
  16092. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  16093. "type": "integer"
  16094. }
  16095. }
  16096. },
  16097. "erms3.QueryUserInfosRsp": {
  16098. "type": "object",
  16099. "required": [
  16100. "userid"
  16101. ],
  16102. "properties": {
  16103. "biznature": {
  16104. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  16105. "type": "integer"
  16106. },
  16107. "contactname": {
  16108. "description": "联系人",
  16109. "type": "string"
  16110. },
  16111. "customername": {
  16112. "description": "客户名称(企业名称)",
  16113. "type": "string"
  16114. },
  16115. "userid": {
  16116. "description": "用户ID",
  16117. "type": "integer"
  16118. },
  16119. "userinfotype": {
  16120. "description": "用户信息类型 - 1:个人 2:企业",
  16121. "type": "integer"
  16122. },
  16123. "userstatus": {
  16124. "description": "用户状态 - 1:正常 2:注销",
  16125. "type": "integer"
  16126. }
  16127. }
  16128. },
  16129. "erms3.SoptContractDetail": {
  16130. "type": "object",
  16131. "required": [
  16132. "deliverygoodsid",
  16133. "producttype",
  16134. "unitname",
  16135. "warehouseid",
  16136. "wrstandardid",
  16137. "wrstandardname"
  16138. ],
  16139. "properties": {
  16140. "deliverygoodsdesc": {
  16141. "description": "现货品种说明",
  16142. "type": "string"
  16143. },
  16144. "deliverygoodsid": {
  16145. "description": "现货品种ID",
  16146. "type": "integer"
  16147. },
  16148. "deliverygoodsname": {
  16149. "description": "现货品种名称",
  16150. "type": "string"
  16151. },
  16152. "pointdesc": {
  16153. "description": "点价描述",
  16154. "type": "string"
  16155. },
  16156. "producttype": {
  16157. "description": "产品类型 1:标准仓单 2:等标 3:非标",
  16158. "type": "integer"
  16159. },
  16160. "producttypename": {
  16161. "description": "产品类型名称",
  16162. "type": "string"
  16163. },
  16164. "spotPointOrderVoList": {
  16165. "description": "点价列表",
  16166. "type": "array",
  16167. "items": {
  16168. "$ref": "#/definitions/erms3.SpotPointOrder"
  16169. }
  16170. },
  16171. "spotPriceOrderList": {
  16172. "description": "定价列表",
  16173. "type": "array",
  16174. "items": {
  16175. "$ref": "#/definitions/erms3.SpotPriceOrder"
  16176. }
  16177. },
  16178. "unitname": {
  16179. "description": "单位名称",
  16180. "type": "string"
  16181. },
  16182. "warehouseid": {
  16183. "description": "仓库ID",
  16184. "type": "integer"
  16185. },
  16186. "warehousename": {
  16187. "description": "仓库名称",
  16188. "type": "string"
  16189. },
  16190. "wrstandardid": {
  16191. "description": "交易标的ID",
  16192. "type": "integer"
  16193. },
  16194. "wrstandardname": {
  16195. "description": "交易标的名称",
  16196. "type": "string"
  16197. }
  16198. }
  16199. },
  16200. "erms3.SpotPointOrder": {
  16201. "type": "object",
  16202. "required": [
  16203. "basic",
  16204. "goodsid",
  16205. "qty"
  16206. ],
  16207. "properties": {
  16208. "basic": {
  16209. "description": "基差",
  16210. "type": "number"
  16211. },
  16212. "deliveryenddate": {
  16213. "description": "交收结束日期",
  16214. "type": "string"
  16215. },
  16216. "deliverystartdate": {
  16217. "description": "交收开始日期",
  16218. "type": "string"
  16219. },
  16220. "enddate": {
  16221. "description": "点价结束日期",
  16222. "type": "string"
  16223. },
  16224. "goodsid": {
  16225. "description": "商品ID",
  16226. "type": "integer"
  16227. },
  16228. "goodsname": {
  16229. "description": "商品名称",
  16230. "type": "string"
  16231. },
  16232. "qty": {
  16233. "description": "数量",
  16234. "type": "number"
  16235. },
  16236. "startdate": {
  16237. "description": "点价开始日期",
  16238. "type": "string"
  16239. }
  16240. }
  16241. },
  16242. "erms3.SpotPriceOrder": {
  16243. "type": "object",
  16244. "required": [
  16245. "amount",
  16246. "price",
  16247. "qty"
  16248. ],
  16249. "properties": {
  16250. "amount": {
  16251. "description": "金额",
  16252. "type": "number"
  16253. },
  16254. "deliveryenddate": {
  16255. "description": "交收结束日期",
  16256. "type": "string"
  16257. },
  16258. "deliverystartdate": {
  16259. "description": "交收开始日期",
  16260. "type": "string"
  16261. },
  16262. "price": {
  16263. "description": "价格",
  16264. "type": "number"
  16265. },
  16266. "qty": {
  16267. "description": "数量",
  16268. "type": "number"
  16269. }
  16270. }
  16271. },
  16272. "hsby.GetHsbyMyCountRsp": {
  16273. "type": "object",
  16274. "properties": {
  16275. "myCouponCount": {
  16276. "description": "我的优惠卷数量",
  16277. "type": "integer"
  16278. },
  16279. "myOrderDetailListingCount": {
  16280. "description": "我的订单求购中数量",
  16281. "type": "integer"
  16282. },
  16283. "myOrderDetailPreCount": {
  16284. "description": "我的订单抢购中数量",
  16285. "type": "integer"
  16286. },
  16287. "myPackageUnReceiveCount": {
  16288. "description": "我的包裹待收货数量",
  16289. "type": "integer"
  16290. },
  16291. "myPackageUnSendCount": {
  16292. "description": "我的包裹待发货数量",
  16293. "type": "integer"
  16294. },
  16295. "myPayOrderCount": {
  16296. "description": "我的订单待付款数量",
  16297. "type": "integer"
  16298. }
  16299. }
  16300. },
  16301. "hsby.QueryProvincesAndCitiesRsp": {
  16302. "type": "object",
  16303. "properties": {
  16304. "cities": {
  16305. "description": "市",
  16306. "type": "array",
  16307. "items": {
  16308. "$ref": "#/definitions/models.Division"
  16309. }
  16310. },
  16311. "province": {
  16312. "description": "省",
  16313. "type": "object",
  16314. "$ref": "#/definitions/models.Division"
  16315. }
  16316. }
  16317. },
  16318. "models.AreaSpotModel": {
  16319. "type": "object",
  16320. "properties": {
  16321. "areauserid": {
  16322. "description": "所属机构",
  16323. "type": "integer"
  16324. },
  16325. "decreaseqty": {
  16326. "description": "减少数量=-(销售已定价数量+采购计划数量)",
  16327. "type": "number"
  16328. },
  16329. "increaseqty": {
  16330. "description": "增加数量=销售计划数量+采购已定价数量",
  16331. "type": "number"
  16332. },
  16333. "oritoalspotqty": {
  16334. "description": "昨日数量",
  16335. "type": "number"
  16336. },
  16337. "totalspotqty": {
  16338. "description": "当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)",
  16339. "type": "number"
  16340. },
  16341. "updatetime": {
  16342. "description": "更新时间",
  16343. "type": "string"
  16344. },
  16345. "wrstandardcode": {
  16346. "description": "现货品种代码",
  16347. "type": "string"
  16348. },
  16349. "wrstandardid": {
  16350. "description": "现货商品ID",
  16351. "type": "integer"
  16352. },
  16353. "wrstandardname": {
  16354. "description": "现货品种",
  16355. "type": "string"
  16356. }
  16357. }
  16358. },
  16359. "models.Arearole": {
  16360. "type": "object",
  16361. "required": [
  16362. "roletype",
  16363. "userid"
  16364. ],
  16365. "properties": {
  16366. "createtime": {
  16367. "description": "创建时间",
  16368. "type": "string"
  16369. },
  16370. "creatorid": {
  16371. "description": "创建人ID",
  16372. "type": "integer"
  16373. },
  16374. "fromuserid": {
  16375. "description": "所属机构(组织机构)( OrgType = 1时为自己, = 2\\3时取上级机构的所属机构)",
  16376. "type": "integer"
  16377. },
  16378. "isreturnscore": {
  16379. "description": "是否返还积分 [经纪会员-辽东湾] - 0:不返还 1:返还",
  16380. "type": "integer"
  16381. },
  16382. "modifierid": {
  16383. "description": "修改人ID",
  16384. "type": "integer"
  16385. },
  16386. "modifytime": {
  16387. "description": "修改时间",
  16388. "type": "string"
  16389. },
  16390. "orgtype": {
  16391. "description": "组织机构类型 1:机构\\分支节点 2:交易员\\叶子节点 3:部门\\分支节点",
  16392. "type": "integer"
  16393. },
  16394. "outuserid": {
  16395. "description": "外部账户[场外期权做市商]",
  16396. "type": "string"
  16397. },
  16398. "parentuserid": {
  16399. "description": "上级组织机构(组织机构)",
  16400. "type": "integer"
  16401. },
  16402. "roletype": {
  16403. "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:门店",
  16404. "type": "integer"
  16405. },
  16406. "rootuserid": {
  16407. "description": "顶级组织机构用户ID(组织机构)",
  16408. "type": "integer"
  16409. },
  16410. "shoppassword": {
  16411. "description": "商城店铺登陆密码(商城店铺角色使用)",
  16412. "type": "string"
  16413. },
  16414. "sublevelpath": {
  16415. "description": "组织机构层级路径(逗号分隔,首尾加逗号)",
  16416. "type": "string"
  16417. },
  16418. "suborgtype": {
  16419. "description": "子机构类型(千海金) - 0:机构 1:代理 2:门店",
  16420. "type": "integer"
  16421. },
  16422. "tradeaccountid": {
  16423. "description": "默认交易资金账号ID(做市会员被动接单使用、商城店铺默认资金账 号、圈内会员默认资金账号) - 作废, 使用UserReckonAccount",
  16424. "type": "integer"
  16425. },
  16426. "transurl": {
  16427. "description": "物流地址(物流机构)",
  16428. "type": "string"
  16429. },
  16430. "userid": {
  16431. "description": "机构用户ID其他做市关系,都设置为 1",
  16432. "type": "integer"
  16433. }
  16434. }
  16435. },
  16436. "models.Clientfixedadconfig": {
  16437. "type": "object",
  16438. "required": [
  16439. "adsort",
  16440. "adtype"
  16441. ],
  16442. "properties": {
  16443. "adsort": {
  16444. "description": "排序",
  16445. "type": "integer"
  16446. },
  16447. "adtype": {
  16448. "description": "广告位类型 - 1:新品抢购(HSBY)",
  16449. "type": "integer"
  16450. },
  16451. "areauserid": {
  16452. "description": "所属机构ID",
  16453. "type": "integer"
  16454. },
  16455. "createdate": {
  16456. "description": "创建时间",
  16457. "type": "string"
  16458. },
  16459. "creatorid": {
  16460. "description": "创建人",
  16461. "type": "integer"
  16462. },
  16463. "imagepath": {
  16464. "description": "图片",
  16465. "type": "string"
  16466. },
  16467. "isshow": {
  16468. "description": "是否展示 - 0:不展示 1:展示",
  16469. "type": "integer"
  16470. },
  16471. "modifierid": {
  16472. "description": "操作人",
  16473. "type": "integer"
  16474. },
  16475. "recsize": {
  16476. "description": "推荐尺寸",
  16477. "type": "string"
  16478. },
  16479. "title": {
  16480. "description": "标题",
  16481. "type": "string"
  16482. },
  16483. "updatedate": {
  16484. "description": "更新时间",
  16485. "type": "string"
  16486. },
  16487. "urlcontent": {
  16488. "description": "链接(地址或商品ID)",
  16489. "type": "string"
  16490. },
  16491. "urltype": {
  16492. "description": "链接类型 - 1:直接地址 2:商品ID",
  16493. "type": "integer"
  16494. }
  16495. }
  16496. },
  16497. "models.Division": {
  16498. "type": "object",
  16499. "required": [
  16500. "autoid",
  16501. "divisioncode"
  16502. ],
  16503. "properties": {
  16504. "autoid": {
  16505. "description": "自增ID",
  16506. "type": "integer"
  16507. },
  16508. "divisioncode": {
  16509. "description": "行政代码",
  16510. "type": "string"
  16511. },
  16512. "divisionlevel": {
  16513. "description": "行政级别",
  16514. "type": "string"
  16515. },
  16516. "divisionname": {
  16517. "description": "行政名称",
  16518. "type": "string"
  16519. },
  16520. "modifierid": {
  16521. "description": "修改人",
  16522. "type": "integer"
  16523. },
  16524. "modifytime": {
  16525. "description": "修改时间",
  16526. "type": "string"
  16527. },
  16528. "parentcode": {
  16529. "description": "上级行政代码",
  16530. "type": "string"
  16531. },
  16532. "pathname": {
  16533. "description": "路径名称",
  16534. "type": "string"
  16535. },
  16536. "postcode": {
  16537. "description": "邮政编码",
  16538. "type": "string"
  16539. },
  16540. "separablename": {
  16541. "description": "可拆分的全称",
  16542. "type": "string"
  16543. },
  16544. "shortcode": {
  16545. "description": "地区简码",
  16546. "type": "string"
  16547. }
  16548. }
  16549. },
  16550. "models.Enumdicitem": {
  16551. "type": "object",
  16552. "required": [
  16553. "autoid",
  16554. "enumdiccode",
  16555. "enumdicid",
  16556. "enumitemname"
  16557. ],
  16558. "properties": {
  16559. "autoid": {
  16560. "description": "自增ID",
  16561. "type": "integer"
  16562. },
  16563. "bankmappedvalue": {
  16564. "description": "银行服务对应值",
  16565. "type": "string"
  16566. },
  16567. "enumdiccode": {
  16568. "description": "所属枚举代码",
  16569. "type": "string"
  16570. },
  16571. "enumdicid": {
  16572. "description": "所属枚举ID",
  16573. "type": "integer"
  16574. },
  16575. "enumdicname": {
  16576. "description": "枚举项名称",
  16577. "type": "string"
  16578. },
  16579. "enumitemname": {
  16580. "description": "枚举项值",
  16581. "type": "integer"
  16582. },
  16583. "enumitemstatus": {
  16584. "description": "枚举项状态 - 1.启用 2.不启用",
  16585. "type": "integer"
  16586. },
  16587. "enumitemvalue": {
  16588. "description": "通用值 - [币种通用简写]",
  16589. "type": "string"
  16590. },
  16591. "param1": {
  16592. "description": "参数1[币种:币种小数位]",
  16593. "type": "string"
  16594. },
  16595. "param2": {
  16596. "description": "参数1[币种:币种显示单位]",
  16597. "type": "string"
  16598. },
  16599. "remark": {
  16600. "description": "备注",
  16601. "type": "string"
  16602. }
  16603. }
  16604. },
  16605. "models.Ermcp3AreaSpot": {
  16606. "type": "object",
  16607. "properties": {
  16608. "areauserid": {
  16609. "description": "所属机构",
  16610. "type": "integer"
  16611. },
  16612. "decreaseqty": {
  16613. "description": "减少数量=-(销售已定价数量+采购计划数量)",
  16614. "type": "number"
  16615. },
  16616. "deliverygoodscode": {
  16617. "description": "现货品种代码",
  16618. "type": "string"
  16619. },
  16620. "deliverygoodsid": {
  16621. "description": "现货品种id",
  16622. "type": "integer"
  16623. },
  16624. "deliverygoodsname": {
  16625. "description": "现货品种名称",
  16626. "type": "string"
  16627. },
  16628. "enumdicname": {
  16629. "description": "单位名称",
  16630. "type": "string"
  16631. },
  16632. "goodsunitid": {
  16633. "description": "现货品种单位id",
  16634. "type": "integer"
  16635. },
  16636. "increaseqty": {
  16637. "description": "增加数量=销售计划数量+采购已定价数量",
  16638. "type": "number"
  16639. },
  16640. "oritoalspotqty": {
  16641. "description": "昨日数量",
  16642. "type": "number"
  16643. },
  16644. "totalspotqty": {
  16645. "description": "当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)",
  16646. "type": "number"
  16647. },
  16648. "updatetime": {
  16649. "description": "更新时间",
  16650. "type": "string"
  16651. }
  16652. }
  16653. },
  16654. "models.Ermcp3AreaSpotDetail": {
  16655. "type": "object",
  16656. "properties": {
  16657. "contracttype": {
  16658. "description": "合同类型 1-采购 -1-销售",
  16659. "type": "integer"
  16660. },
  16661. "createtime": {
  16662. "description": "创建时间",
  16663. "type": "string"
  16664. },
  16665. "deliverygoodscode": {
  16666. "description": "现货品种代码",
  16667. "type": "string"
  16668. },
  16669. "deliverygoodsid": {
  16670. "description": "现货品种id",
  16671. "type": "integer"
  16672. },
  16673. "deliverygoodsname": {
  16674. "description": "现货品种名称",
  16675. "type": "string"
  16676. },
  16677. "enumdicname": {
  16678. "description": "现货商品单位名称",
  16679. "type": "string"
  16680. },
  16681. "logtype": {
  16682. "description": "记录类型 1-套保 2-现货合同",
  16683. "type": "integer"
  16684. },
  16685. "qty": {
  16686. "description": "数量",
  16687. "type": "number"
  16688. },
  16689. "recordname": {
  16690. "description": "类型名称",
  16691. "type": "string"
  16692. },
  16693. "relatedid": {
  16694. "description": "套保计划ID/现货合同ID",
  16695. "type": "string"
  16696. },
  16697. "relatedno": {
  16698. "description": "编号",
  16699. "type": "string"
  16700. },
  16701. "strtime": {
  16702. "description": "时间",
  16703. "type": "string"
  16704. }
  16705. }
  16706. },
  16707. "models.Ermcp3AreaSpotPLReport": {
  16708. "type": "object",
  16709. "properties": {
  16710. "accountid": {
  16711. "description": "期货账户ID (作废, 默认为0)",
  16712. "type": "integer"
  16713. },
  16714. "accountname": {
  16715. "description": "机构名称",
  16716. "type": "string"
  16717. },
  16718. "actualpl": {
  16719. "description": "现货损益",
  16720. "type": "number"
  16721. },
  16722. "areauserid": {
  16723. "description": "所属机构\\交易用户ID",
  16724. "type": "integer"
  16725. },
  16726. "begindate": {
  16727. "description": "开始交易日",
  16728. "type": "string"
  16729. },
  16730. "biztype": {
  16731. "description": "业务类型 - 1:套保 2:套利",
  16732. "type": "integer"
  16733. },
  16734. "brandname": {
  16735. "description": "品牌名称",
  16736. "type": "string"
  16737. },
  16738. "curamount": {
  16739. "description": "期末额",
  16740. "type": "number"
  16741. },
  16742. "curaverageprice": {
  16743. "description": "期末均价",
  16744. "type": "number"
  16745. },
  16746. "curbuyamount": {
  16747. "description": "期末采购总额",
  16748. "type": "number"
  16749. },
  16750. "curbuyqty": {
  16751. "description": "期末采购总量",
  16752. "type": "number"
  16753. },
  16754. "curmarketvalue": {
  16755. "description": "参考市值(期末市值)",
  16756. "type": "number"
  16757. },
  16758. "curqty": {
  16759. "description": "期末量",
  16760. "type": "number"
  16761. },
  16762. "currencyid": {
  16763. "description": "结算币种ID【原值】",
  16764. "type": "integer"
  16765. },
  16766. "currencyname": {
  16767. "description": "币种名称",
  16768. "type": "string"
  16769. },
  16770. "cursellamount": {
  16771. "description": "期末销售总额",
  16772. "type": "number"
  16773. },
  16774. "cursellqty": {
  16775. "description": "期末销售总量",
  16776. "type": "number"
  16777. },
  16778. "curspotprice": {
  16779. "description": "参考市价(最新价)",
  16780. "type": "number"
  16781. },
  16782. "cycletime": {
  16783. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  16784. "type": "string"
  16785. },
  16786. "cycletype": {
  16787. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  16788. "type": "integer"
  16789. },
  16790. "deliverygoodscode": {
  16791. "description": "现货商品代码",
  16792. "type": "string"
  16793. },
  16794. "deliverygoodsid": {
  16795. "description": "现货品种ID",
  16796. "type": "integer"
  16797. },
  16798. "deliverygoodsname": {
  16799. "description": "现货商品名称",
  16800. "type": "string"
  16801. },
  16802. "enddate": {
  16803. "description": "结束交易日",
  16804. "type": "string"
  16805. },
  16806. "enumdicname": {
  16807. "description": "现货商品单位名称",
  16808. "type": "string"
  16809. },
  16810. "floatpl": {
  16811. "description": "浮动损益",
  16812. "type": "number"
  16813. },
  16814. "goodsunitid": {
  16815. "description": "现货商品单位id",
  16816. "type": "integer"
  16817. },
  16818. "oriamount": {
  16819. "description": "期初额",
  16820. "type": "number"
  16821. },
  16822. "oriaverageprice": {
  16823. "description": "期初均价",
  16824. "type": "number"
  16825. },
  16826. "oribuyamount": {
  16827. "description": "期初采购总额",
  16828. "type": "number"
  16829. },
  16830. "oribuyqty": {
  16831. "description": "期初采购总量",
  16832. "type": "number"
  16833. },
  16834. "oriqty": {
  16835. "description": "期初量",
  16836. "type": "number"
  16837. },
  16838. "orisellamount": {
  16839. "description": "期初销售总额",
  16840. "type": "number"
  16841. },
  16842. "orisellqty": {
  16843. "description": "期初销售总量",
  16844. "type": "number"
  16845. },
  16846. "reckondate": {
  16847. "description": "日照时期(yyyyMMdd)",
  16848. "type": "string"
  16849. },
  16850. "spotgoodsbrandid": {
  16851. "description": "现货品牌ID",
  16852. "type": "integer"
  16853. },
  16854. "todaybuyamount": {
  16855. "description": "今日采购额(今采购额)",
  16856. "type": "number"
  16857. },
  16858. "todaybuyaverageprice": {
  16859. "description": "今日采购均价",
  16860. "type": "number"
  16861. },
  16862. "todaybuyqty": {
  16863. "description": "今日采购量(今采购量)",
  16864. "type": "number"
  16865. },
  16866. "todayinqty": {
  16867. "description": "今日入库量(今入库量)",
  16868. "type": "number"
  16869. },
  16870. "todayoutqty": {
  16871. "description": "今日出库量(今出库量)",
  16872. "type": "number"
  16873. },
  16874. "todaysellamount": {
  16875. "description": "今日销售额(今销售额)",
  16876. "type": "number"
  16877. },
  16878. "todaysellaverageprice": {
  16879. "description": "今日销售均价",
  16880. "type": "number"
  16881. },
  16882. "todaysellqty": {
  16883. "description": "今日销售量(今销售量)",
  16884. "type": "number"
  16885. },
  16886. "unitid": {
  16887. "description": "品类单位id",
  16888. "type": "integer"
  16889. },
  16890. "unitidname": {
  16891. "description": "品类单位名称",
  16892. "type": "string"
  16893. },
  16894. "updatetime": {
  16895. "description": "更新时间",
  16896. "type": "string"
  16897. },
  16898. "wrfactortypeid": {
  16899. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  16900. "type": "integer"
  16901. },
  16902. "wrstandardcode": {
  16903. "description": "品类代码",
  16904. "type": "string"
  16905. },
  16906. "wrstandardid": {
  16907. "description": "现货品类ID",
  16908. "type": "integer"
  16909. },
  16910. "wrstandardname": {
  16911. "description": "品类名称",
  16912. "type": "string"
  16913. }
  16914. }
  16915. },
  16916. "models.Ermcp3AreaStock": {
  16917. "type": "object",
  16918. "required": [
  16919. "userid"
  16920. ],
  16921. "properties": {
  16922. "brandname": {
  16923. "description": "品牌名称",
  16924. "type": "string"
  16925. },
  16926. "curstock": {
  16927. "description": "期末库存量(今日量)",
  16928. "type": "number"
  16929. },
  16930. "deliverygoodscode": {
  16931. "description": "现货品种代码",
  16932. "type": "string"
  16933. },
  16934. "deliverygoodsid": {
  16935. "description": "现货品种id",
  16936. "type": "integer"
  16937. },
  16938. "deliverygoodsname": {
  16939. "description": "现货品种名称",
  16940. "type": "string"
  16941. },
  16942. "enumdicname": {
  16943. "description": "单位名称",
  16944. "type": "string"
  16945. },
  16946. "goodsunitid": {
  16947. "description": "现货商品单位id",
  16948. "type": "integer"
  16949. },
  16950. "oristock": {
  16951. "description": "期初库存量(昨日量)",
  16952. "type": "number"
  16953. },
  16954. "spotgoodsbrandid": {
  16955. "description": "现货品牌ID",
  16956. "type": "integer"
  16957. },
  16958. "todaybuyinqty": {
  16959. "description": "今日采购入库量",
  16960. "type": "number"
  16961. },
  16962. "todayproduceinqty": {
  16963. "description": "今日生产入库量",
  16964. "type": "number"
  16965. },
  16966. "todayproduceoutqty": {
  16967. "description": "今日生产出库量",
  16968. "type": "number"
  16969. },
  16970. "todayselloutqty": {
  16971. "description": "今日销售出库量",
  16972. "type": "number"
  16973. },
  16974. "unitid": {
  16975. "description": "单位id",
  16976. "type": "integer"
  16977. },
  16978. "updatetime": {
  16979. "description": "更新时间",
  16980. "type": "string"
  16981. },
  16982. "userid": {
  16983. "description": "机构ID",
  16984. "type": "integer"
  16985. },
  16986. "username": {
  16987. "description": "机构名称",
  16988. "type": "string"
  16989. },
  16990. "warehousecode": {
  16991. "description": "仓库代码",
  16992. "type": "string"
  16993. },
  16994. "warehouseinfoid": {
  16995. "description": "仓库ID",
  16996. "type": "string"
  16997. },
  16998. "warehousename": {
  16999. "description": "仓库名称",
  17000. "type": "string"
  17001. },
  17002. "warehousetype": {
  17003. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  17004. "type": "integer"
  17005. },
  17006. "wrstandardcode": {
  17007. "description": "品类代码",
  17008. "type": "string"
  17009. },
  17010. "wrstandardid": {
  17011. "description": "品类ID",
  17012. "type": "string"
  17013. },
  17014. "wrstandardname": {
  17015. "description": "品类名称",
  17016. "type": "string"
  17017. }
  17018. }
  17019. },
  17020. "models.Ermcp3AreaStockApply": {
  17021. "type": "object",
  17022. "properties": {
  17023. "applyid": {
  17024. "description": "申请人",
  17025. "type": "integer"
  17026. },
  17027. "applyname": {
  17028. "description": "申请人名称",
  17029. "type": "string"
  17030. },
  17031. "applyremark": {
  17032. "description": "申请备注",
  17033. "type": "string"
  17034. },
  17035. "applysrc": {
  17036. "description": "申请来源 - 1:管理端 2:终端",
  17037. "type": "integer"
  17038. },
  17039. "applystatus": {
  17040. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  17041. "type": "integer"
  17042. },
  17043. "applytime": {
  17044. "description": "申请时间",
  17045. "type": "string"
  17046. },
  17047. "auditid": {
  17048. "description": "审核人",
  17049. "type": "integer"
  17050. },
  17051. "auditname": {
  17052. "description": "审核人名称",
  17053. "type": "string"
  17054. },
  17055. "auditremark": {
  17056. "description": "审核备注",
  17057. "type": "string"
  17058. },
  17059. "auditsrc": {
  17060. "description": "审核来源 - 1:管理端 2:终端",
  17061. "type": "integer"
  17062. },
  17063. "audittime": {
  17064. "description": "审核时间",
  17065. "type": "string"
  17066. },
  17067. "audittradedate": {
  17068. "description": "审核交易日(yyyyMMdd)",
  17069. "type": "string"
  17070. },
  17071. "brandname": {
  17072. "description": "品牌名称",
  17073. "type": "string"
  17074. },
  17075. "buynickname": {
  17076. "description": "采购方昵称",
  17077. "type": "string"
  17078. },
  17079. "buyuserid": {
  17080. "description": "采购方userid",
  17081. "type": "integer"
  17082. },
  17083. "buyusername": {
  17084. "description": "采购方名称",
  17085. "type": "string"
  17086. },
  17087. "contractno": {
  17088. "description": "合同编号",
  17089. "type": "string"
  17090. },
  17091. "contractqty": {
  17092. "description": "合同量",
  17093. "type": "number"
  17094. },
  17095. "contracttype": {
  17096. "description": "现货合同类型 - 1:采购 -1:销售",
  17097. "type": "integer"
  17098. },
  17099. "deliverygoodscode": {
  17100. "description": "现货品种代码",
  17101. "type": "string"
  17102. },
  17103. "deliverygoodsid": {
  17104. "description": "现货品种id",
  17105. "type": "integer"
  17106. },
  17107. "deliverygoodsname": {
  17108. "description": "现货品种名称",
  17109. "type": "string"
  17110. },
  17111. "detailjson": {
  17112. "description": "明细数据",
  17113. "type": "string"
  17114. },
  17115. "enumdicname": {
  17116. "description": "现货商品单位名称",
  17117. "type": "string"
  17118. },
  17119. "inoutapplyid": {
  17120. "description": "申请ID(607+Unix秒时间戳(10位)+xxxxxx)",
  17121. "type": "string"
  17122. },
  17123. "inouttype": {
  17124. "description": "出入库类型 - 5:采购入库 6:销售出库 7:生产入库 8:生产出库",
  17125. "type": "integer"
  17126. },
  17127. "pricetype": {
  17128. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  17129. "type": "integer"
  17130. },
  17131. "qty": {
  17132. "description": "数量",
  17133. "type": "number"
  17134. },
  17135. "sellnickname": {
  17136. "description": "销售方昵称",
  17137. "type": "string"
  17138. },
  17139. "selluserid": {
  17140. "description": "销售方userid",
  17141. "type": "integer"
  17142. },
  17143. "sellusername": {
  17144. "description": "销售方名称",
  17145. "type": "string"
  17146. },
  17147. "spotcontractid": {
  17148. "description": "关联现货合同ID",
  17149. "type": "string"
  17150. },
  17151. "spotgoodsbrandid": {
  17152. "description": "现货品牌ID",
  17153. "type": "integer"
  17154. },
  17155. "unitid": {
  17156. "description": "单位id",
  17157. "type": "integer"
  17158. },
  17159. "userid": {
  17160. "description": "机构ID",
  17161. "type": "integer"
  17162. },
  17163. "warehousecode": {
  17164. "description": "仓库代码",
  17165. "type": "string"
  17166. },
  17167. "warehouseinfoid": {
  17168. "description": "现货仓库ID",
  17169. "type": "string"
  17170. },
  17171. "warehousename": {
  17172. "description": "仓库名称",
  17173. "type": "string"
  17174. },
  17175. "warehousetype": {
  17176. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  17177. "type": "integer"
  17178. },
  17179. "wrstandardcode": {
  17180. "description": "品类代码",
  17181. "type": "string"
  17182. },
  17183. "wrstandardid": {
  17184. "description": "品类ID",
  17185. "type": "integer"
  17186. },
  17187. "wrstandardname": {
  17188. "description": "品类名称",
  17189. "type": "string"
  17190. }
  17191. }
  17192. },
  17193. "models.Ermcp3AreaStockApplySum": {
  17194. "type": "object",
  17195. "properties": {
  17196. "brandname": {
  17197. "description": "品牌名称",
  17198. "type": "string"
  17199. },
  17200. "inouttype": {
  17201. "description": "出入库类型 - 5:采购入库 6:销售出库 7:生产入库 8:生产出库",
  17202. "type": "integer"
  17203. },
  17204. "spotcontractid": {
  17205. "description": "关联现货合同ID",
  17206. "type": "string"
  17207. },
  17208. "spotgoodsbrandid": {
  17209. "description": "品牌id",
  17210. "type": "integer"
  17211. },
  17212. "totalqty": {
  17213. "description": "总数量",
  17214. "type": "number"
  17215. },
  17216. "wrstandardid": {
  17217. "description": "品类id",
  17218. "type": "integer"
  17219. },
  17220. "wrstandardname": {
  17221. "description": "品类名称",
  17222. "type": "string"
  17223. }
  17224. }
  17225. },
  17226. "models.Ermcp3AreaStockReportEx": {
  17227. "type": "object",
  17228. "properties": {
  17229. "begindate": {
  17230. "description": "开始交易日",
  17231. "type": "string"
  17232. },
  17233. "brandname": {
  17234. "description": "品牌名称",
  17235. "type": "string"
  17236. },
  17237. "curstock": {
  17238. "description": "期末库存量",
  17239. "type": "number"
  17240. },
  17241. "cycletime": {
  17242. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  17243. "type": "string"
  17244. },
  17245. "cycletype": {
  17246. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  17247. "type": "integer"
  17248. },
  17249. "deliverygoodscode": {
  17250. "description": "现货品种代码",
  17251. "type": "string"
  17252. },
  17253. "deliverygoodsid": {
  17254. "description": "现货品种id",
  17255. "type": "integer"
  17256. },
  17257. "deliverygoodsname": {
  17258. "description": "现货品种名称",
  17259. "type": "string"
  17260. },
  17261. "diffqty": {
  17262. "description": "库存变化量 = 期末 - 期初",
  17263. "type": "number"
  17264. },
  17265. "enddate": {
  17266. "description": "结束交易日",
  17267. "type": "string"
  17268. },
  17269. "enumdicname": {
  17270. "description": "单位名称",
  17271. "type": "string"
  17272. },
  17273. "goodsunitid": {
  17274. "description": "现货单位id",
  17275. "type": "integer"
  17276. },
  17277. "oristock": {
  17278. "description": "期初库存量",
  17279. "type": "number"
  17280. },
  17281. "reckondate": {
  17282. "description": "日照时期(yyyyMMdd)",
  17283. "type": "string"
  17284. },
  17285. "spotgoodsbrandid": {
  17286. "description": "现货品牌ID",
  17287. "type": "integer"
  17288. },
  17289. "todaybuyinqty": {
  17290. "description": "今采购入库量",
  17291. "type": "number"
  17292. },
  17293. "todayproduceinqty": {
  17294. "description": "今内部入库量",
  17295. "type": "number"
  17296. },
  17297. "todayproduceoutqty": {
  17298. "description": "今内部出库量",
  17299. "type": "number"
  17300. },
  17301. "todayselloutqty": {
  17302. "description": "今销售出库量",
  17303. "type": "number"
  17304. },
  17305. "unbuyinqty": {
  17306. "description": "采购未入库量(数据库未找到相关字段?)",
  17307. "type": "number"
  17308. },
  17309. "unitid": {
  17310. "description": "品类单位id",
  17311. "type": "integer"
  17312. },
  17313. "unselloutqty": {
  17314. "description": "销售未出库量(数据库未找到相关字段?)",
  17315. "type": "number"
  17316. },
  17317. "updatetime": {
  17318. "description": "更新时间",
  17319. "type": "string"
  17320. },
  17321. "userid": {
  17322. "description": "机构ID",
  17323. "type": "integer"
  17324. },
  17325. "username": {
  17326. "description": "机构名称",
  17327. "type": "string"
  17328. },
  17329. "warehousecode": {
  17330. "description": "仓库代码",
  17331. "type": "string"
  17332. },
  17333. "warehouseinfoid": {
  17334. "description": "仓库ID",
  17335. "type": "string"
  17336. },
  17337. "warehousename": {
  17338. "description": "仓库名称",
  17339. "type": "string"
  17340. },
  17341. "warehousetype": {
  17342. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  17343. "type": "integer"
  17344. },
  17345. "wrstandardcode": {
  17346. "description": "品类代码",
  17347. "type": "string"
  17348. },
  17349. "wrstandardid": {
  17350. "description": "品类ID",
  17351. "type": "integer"
  17352. },
  17353. "wrstandardname": {
  17354. "description": "品类名称",
  17355. "type": "string"
  17356. }
  17357. }
  17358. },
  17359. "models.Ermcp3ArealSumPL": {
  17360. "type": "object",
  17361. "properties": {
  17362. "accountname": {
  17363. "description": "机构名称",
  17364. "type": "string"
  17365. },
  17366. "areauserid": {
  17367. "description": "所属机构\\交易用户ID",
  17368. "type": "integer"
  17369. },
  17370. "begindate": {
  17371. "description": "开始交易日",
  17372. "type": "string"
  17373. },
  17374. "currencyid": {
  17375. "description": "结算币种ID",
  17376. "type": "integer"
  17377. },
  17378. "currencyname": {
  17379. "description": "币种名称",
  17380. "type": "string"
  17381. },
  17382. "cycletime": {
  17383. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  17384. "type": "string"
  17385. },
  17386. "cycletype": {
  17387. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  17388. "type": "integer"
  17389. },
  17390. "enddate": {
  17391. "description": "结束交易日",
  17392. "type": "string"
  17393. },
  17394. "enumdicname": {
  17395. "description": "单位名称(套保品种)",
  17396. "type": "string"
  17397. },
  17398. "futureactualpl": {
  17399. "description": "期货损益",
  17400. "type": "number"
  17401. },
  17402. "futurefloatpl": {
  17403. "description": "期货浮动损益",
  17404. "type": "number"
  17405. },
  17406. "goodsunitid": {
  17407. "description": "套保品种单位id",
  17408. "type": "integer"
  17409. },
  17410. "middlegoodscode": {
  17411. "description": "套保品种代码",
  17412. "type": "string"
  17413. },
  17414. "middlegoodsid": {
  17415. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  17416. "type": "integer"
  17417. },
  17418. "middlegoodsname": {
  17419. "description": "套保品种名称",
  17420. "type": "string"
  17421. },
  17422. "reckondate": {
  17423. "description": "日照时期(yyyyMMdd)",
  17424. "type": "string"
  17425. },
  17426. "spotactualpl": {
  17427. "description": "现货损益",
  17428. "type": "number"
  17429. },
  17430. "spotfloatpl": {
  17431. "description": "现货浮动损益",
  17432. "type": "number"
  17433. },
  17434. "sumactualpl": {
  17435. "description": "实际损益 = (ActualPL + FutureActualPL)",
  17436. "type": "number"
  17437. },
  17438. "sumpl": {
  17439. "description": "汇总损益",
  17440. "type": "number"
  17441. },
  17442. "updatetime": {
  17443. "description": "更新时间",
  17444. "type": "string"
  17445. }
  17446. }
  17447. },
  17448. "models.Ermcp3Brand": {
  17449. "type": "object",
  17450. "properties": {
  17451. "areauserid": {
  17452. "description": "用户id",
  17453. "type": "integer"
  17454. },
  17455. "brandid": {
  17456. "description": "品牌id",
  17457. "type": "integer"
  17458. },
  17459. "brandname": {
  17460. "description": "品牌名称",
  17461. "type": "string"
  17462. },
  17463. "deliverygoodsid": {
  17464. "description": "品种ID",
  17465. "type": "integer"
  17466. }
  17467. }
  17468. },
  17469. "models.Ermcp3Contract": {
  17470. "type": "object",
  17471. "properties": {
  17472. "accountid": {
  17473. "description": "期货账户id",
  17474. "type": "string"
  17475. },
  17476. "amount": {
  17477. "description": "金额 [1:一口价、3:暂定价]",
  17478. "type": "number"
  17479. },
  17480. "attachment": {
  17481. "description": "附件",
  17482. "type": "string"
  17483. },
  17484. "auditremark": {
  17485. "description": "审核意见",
  17486. "type": "string"
  17487. },
  17488. "audittime": {
  17489. "description": "审核时间",
  17490. "type": "string"
  17491. },
  17492. "biztype": {
  17493. "description": "业务类型 1-套保 2-套利",
  17494. "type": "integer"
  17495. },
  17496. "brandname": {
  17497. "description": "品牌名称",
  17498. "type": "string"
  17499. },
  17500. "buynickname": {
  17501. "description": "销售方昵称",
  17502. "type": "string"
  17503. },
  17504. "buyuserid": {
  17505. "description": "采购方ID",
  17506. "type": "integer"
  17507. },
  17508. "buyusername": {
  17509. "description": "采购方名称",
  17510. "type": "string"
  17511. },
  17512. "contracctstatus": {
  17513. "description": "合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  17514. "type": "integer"
  17515. },
  17516. "contractmargin": {
  17517. "description": "合同保证金",
  17518. "type": "number"
  17519. },
  17520. "contractno": {
  17521. "description": "现货合同编号",
  17522. "type": "string"
  17523. },
  17524. "contracttype": {
  17525. "description": "现货合同类型 - 1:采购 -1:销售",
  17526. "type": "integer"
  17527. },
  17528. "convertfactor": {
  17529. "description": "标仓系数(品类)",
  17530. "type": "number"
  17531. },
  17532. "createtime": {
  17533. "description": "创建时间",
  17534. "type": "string"
  17535. },
  17536. "currencyid": {
  17537. "description": "币种id",
  17538. "type": "integer"
  17539. },
  17540. "currencyname": {
  17541. "description": "币种名称",
  17542. "type": "string"
  17543. },
  17544. "deliveryenddate": {
  17545. "description": "交收期(结束)",
  17546. "type": "string"
  17547. },
  17548. "deliverygoodscode": {
  17549. "description": "现货品种代码",
  17550. "type": "string"
  17551. },
  17552. "deliverygoodsid": {
  17553. "description": "现货品种ID",
  17554. "type": "integer"
  17555. },
  17556. "deliverygoodsname": {
  17557. "description": "现货品种名称",
  17558. "type": "string"
  17559. },
  17560. "deliverystartdate": {
  17561. "description": "交收期(开始)",
  17562. "type": "string"
  17563. },
  17564. "enddate": {
  17565. "description": "点价结束日期 [2:点价 3:暂定价]",
  17566. "type": "string"
  17567. },
  17568. "enumdicname": {
  17569. "description": "单位名称",
  17570. "type": "string"
  17571. },
  17572. "goodscode": {
  17573. "description": "点价合约代码",
  17574. "type": "string"
  17575. },
  17576. "goodsid": {
  17577. "description": "点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]",
  17578. "type": "integer"
  17579. },
  17580. "goodsname": {
  17581. "description": "点价商品名称",
  17582. "type": "string"
  17583. },
  17584. "margin": {
  17585. "description": "当前保证金",
  17586. "type": "number"
  17587. },
  17588. "meruserid": {
  17589. "description": "跟单员id",
  17590. "type": "integer"
  17591. },
  17592. "meruserlogincode": {
  17593. "description": "跟单员登录代码",
  17594. "type": "string"
  17595. },
  17596. "merusername": {
  17597. "description": "跟单员名称",
  17598. "type": "string"
  17599. },
  17600. "price": {
  17601. "description": "价格\\暂定价 [1:一口价、3:暂定价]",
  17602. "type": "number"
  17603. },
  17604. "pricemove": {
  17605. "description": "升贴水 [2:点价 3:暂定价]",
  17606. "type": "number"
  17607. },
  17608. "pricetype": {
  17609. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  17610. "type": "integer"
  17611. },
  17612. "producttype": {
  17613. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  17614. "type": "integer"
  17615. },
  17616. "qty": {
  17617. "description": "数量",
  17618. "type": "number"
  17619. },
  17620. "remark": {
  17621. "description": "备注",
  17622. "type": "string"
  17623. },
  17624. "saleuserid": {
  17625. "description": "业务员id",
  17626. "type": "integer"
  17627. },
  17628. "saleuserlogincode": {
  17629. "description": "业务员登录代码",
  17630. "type": "string"
  17631. },
  17632. "saleusername": {
  17633. "description": "业务员名称",
  17634. "type": "string"
  17635. },
  17636. "sellnickname": {
  17637. "description": "采购方昵称",
  17638. "type": "string"
  17639. },
  17640. "selluserid": {
  17641. "description": "销售方ID",
  17642. "type": "integer"
  17643. },
  17644. "sellusername": {
  17645. "description": "销售方名称",
  17646. "type": "string"
  17647. },
  17648. "spotcontractid": {
  17649. "description": "现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)",
  17650. "type": "string"
  17651. },
  17652. "spotgoodsbrandid": {
  17653. "description": "现货品牌ID(DGFactoryItem表的ID)",
  17654. "type": "integer"
  17655. },
  17656. "spotgoodsdesc": {
  17657. "description": "商品型号",
  17658. "type": "string"
  17659. },
  17660. "startdate": {
  17661. "description": "点价开始日期 [2:点价 3:暂定价]",
  17662. "type": "string"
  17663. },
  17664. "tradeuserid": {
  17665. "description": "交易员id",
  17666. "type": "integer"
  17667. },
  17668. "tradeuserlogincode": {
  17669. "description": "交易员登录代码",
  17670. "type": "string"
  17671. },
  17672. "tradeusername": {
  17673. "description": "交易员名称",
  17674. "type": "string"
  17675. },
  17676. "unitid": {
  17677. "description": "单位id(取品类上的单位id)",
  17678. "type": "integer"
  17679. },
  17680. "updatetime": {
  17681. "description": "更新时间",
  17682. "type": "string"
  17683. },
  17684. "userid": {
  17685. "description": "所属机构ID",
  17686. "type": "integer"
  17687. },
  17688. "wrstandardcode": {
  17689. "description": "品类代码",
  17690. "type": "string"
  17691. },
  17692. "wrstandardid": {
  17693. "description": "品类ID",
  17694. "type": "integer"
  17695. },
  17696. "wrstandardname": {
  17697. "description": "品类名称",
  17698. "type": "string"
  17699. }
  17700. }
  17701. },
  17702. "models.Ermcp3ExposureContractDetail": {
  17703. "type": "object",
  17704. "properties": {
  17705. "biztype": {
  17706. "description": "业务类型 1-套保 2-套利",
  17707. "type": "integer"
  17708. },
  17709. "brandname": {
  17710. "description": "品牌名称",
  17711. "type": "string"
  17712. },
  17713. "buyuserid": {
  17714. "description": "采购方id",
  17715. "type": "integer"
  17716. },
  17717. "buyusername": {
  17718. "description": "采购方名称",
  17719. "type": "string"
  17720. },
  17721. "contractno": {
  17722. "description": "合同编号",
  17723. "type": "string"
  17724. },
  17725. "contracttype": {
  17726. "description": "现货合同类型 - 1:采购 -1:销售",
  17727. "type": "integer"
  17728. },
  17729. "convertfactor": {
  17730. "description": "标仓系数",
  17731. "type": "number"
  17732. },
  17733. "convertratio": {
  17734. "description": "折算系数(套保品种)",
  17735. "type": "number"
  17736. },
  17737. "curqty": {
  17738. "description": "今定价量",
  17739. "type": "number"
  17740. },
  17741. "deliverygoodscode": {
  17742. "description": "现货商品代码",
  17743. "type": "string"
  17744. },
  17745. "deliverygoodsid": {
  17746. "description": "现货商品id",
  17747. "type": "integer"
  17748. },
  17749. "deliverygoodsname": {
  17750. "description": "现货商品名称",
  17751. "type": "string"
  17752. },
  17753. "diffhedgeqty": {
  17754. "description": "套保变动量",
  17755. "type": "number"
  17756. },
  17757. "diffneedhedgeqty": {
  17758. "description": "应套保变动量",
  17759. "type": "number"
  17760. },
  17761. "diffqty": {
  17762. "description": "套保品种今变动量",
  17763. "type": "number"
  17764. },
  17765. "enumdicname": {
  17766. "description": "单位名称",
  17767. "type": "string"
  17768. },
  17769. "mgunitname": {
  17770. "description": "套保品种单位名称",
  17771. "type": "string"
  17772. },
  17773. "middlegoodscode": {
  17774. "description": "套保品种代码",
  17775. "type": "string"
  17776. },
  17777. "middlegoodsid": {
  17778. "description": "套保品种id",
  17779. "type": "integer"
  17780. },
  17781. "middlegoodsname": {
  17782. "description": "套保品种名称",
  17783. "type": "string"
  17784. },
  17785. "needarbitrageratio": {
  17786. "description": "应套利比例",
  17787. "type": "number"
  17788. },
  17789. "needhedgeratio": {
  17790. "description": "应套保比例",
  17791. "type": "number"
  17792. },
  17793. "pricedqty": {
  17794. "description": "已定价量",
  17795. "type": "number"
  17796. },
  17797. "qty": {
  17798. "description": "合同量",
  17799. "type": "number"
  17800. },
  17801. "selluserid": {
  17802. "description": "销售方id",
  17803. "type": "integer"
  17804. },
  17805. "sellusername": {
  17806. "description": "销售方名称",
  17807. "type": "string"
  17808. },
  17809. "spotcontractid": {
  17810. "description": "合同id",
  17811. "type": "string"
  17812. },
  17813. "todaypricedqty": {
  17814. "description": "今定价量",
  17815. "type": "number"
  17816. },
  17817. "tradedate": {
  17818. "description": "交易日",
  17819. "type": "string"
  17820. },
  17821. "unitid": {
  17822. "description": "品类单位id",
  17823. "type": "integer"
  17824. },
  17825. "userid": {
  17826. "description": "机构id",
  17827. "type": "integer"
  17828. },
  17829. "username": {
  17830. "description": "交易用户",
  17831. "type": "string"
  17832. },
  17833. "wrstandardcode": {
  17834. "description": "品类代码",
  17835. "type": "string"
  17836. },
  17837. "wrstandardid": {
  17838. "description": "品类id",
  17839. "type": "integer"
  17840. },
  17841. "wrstandardname": {
  17842. "description": "品类名称",
  17843. "type": "string"
  17844. }
  17845. }
  17846. },
  17847. "models.Ermcp3ExposureDetail": {
  17848. "type": "object",
  17849. "properties": {
  17850. "areauserid": {
  17851. "description": "机构ID",
  17852. "type": "integer"
  17853. },
  17854. "changeQty": {
  17855. "description": "套保变动量",
  17856. "type": "number"
  17857. },
  17858. "contracttype": {
  17859. "description": "现货合同类型 - 1:采购 -1:销售",
  17860. "type": "integer"
  17861. },
  17862. "convertfactor": {
  17863. "description": "标仓系数",
  17864. "type": "number"
  17865. },
  17866. "convertratio": {
  17867. "description": "套保系数",
  17868. "type": "number"
  17869. },
  17870. "createtime": {
  17871. "description": "时间",
  17872. "type": "string"
  17873. },
  17874. "deliverygoodscode": {
  17875. "description": "现货品种代码",
  17876. "type": "string"
  17877. },
  17878. "deliverygoodsid": {
  17879. "description": "现货品种id",
  17880. "type": "integer"
  17881. },
  17882. "deliverygoodsname": {
  17883. "description": "现货品种名称",
  17884. "type": "string"
  17885. },
  17886. "enumdicname": {
  17887. "description": "现货商品单位名称",
  17888. "type": "string"
  17889. },
  17890. "logtype": {
  17891. "description": "类型 - 1:套保计划 2:现货合同",
  17892. "type": "integer"
  17893. },
  17894. "mgunitid": {
  17895. "description": "套保品种单位id",
  17896. "type": "integer"
  17897. },
  17898. "mgunitidname": {
  17899. "description": "套保品种单位名称",
  17900. "type": "string"
  17901. },
  17902. "middlegoodsId": {
  17903. "description": "套保商品id",
  17904. "type": "integer"
  17905. },
  17906. "middlegoodscode": {
  17907. "description": "套保商品代码",
  17908. "type": "string"
  17909. },
  17910. "middlegoodsname": {
  17911. "description": "套保商品名称",
  17912. "type": "string"
  17913. },
  17914. "qty": {
  17915. "description": "数量",
  17916. "type": "number"
  17917. },
  17918. "relateNo": {
  17919. "description": "现货合同/套保计划编号",
  17920. "type": "string"
  17921. }
  17922. }
  17923. },
  17924. "models.Ermcp3ExposureFutuDetail": {
  17925. "type": "object",
  17926. "properties": {
  17927. "accountid": {
  17928. "description": "交易账户id",
  17929. "type": "integer"
  17930. },
  17931. "accountname": {
  17932. "description": "交易账户",
  17933. "type": "string"
  17934. },
  17935. "begindate": {
  17936. "description": "开始交易日",
  17937. "type": "string"
  17938. },
  17939. "buyorsell": {
  17940. "description": "方向 0-买 1-卖",
  17941. "type": "integer"
  17942. },
  17943. "diffmgqty": {
  17944. "description": "套保品种今变化量",
  17945. "type": "number"
  17946. },
  17947. "diffneedqty": {
  17948. "description": "应套保总量变化量",
  17949. "type": "number"
  17950. },
  17951. "difftradeqty": {
  17952. "description": "交易品种今变化量",
  17953. "type": "number"
  17954. },
  17955. "enddate": {
  17956. "description": "结束交易日",
  17957. "type": "string"
  17958. },
  17959. "enumdicname": {
  17960. "description": "单位名称",
  17961. "type": "string"
  17962. },
  17963. "goodscode": {
  17964. "description": "商品代码",
  17965. "type": "string"
  17966. },
  17967. "goodsid": {
  17968. "description": "商品id",
  17969. "type": "integer"
  17970. },
  17971. "goodsname": {
  17972. "description": "商品名称",
  17973. "type": "string"
  17974. },
  17975. "holdqty": {
  17976. "description": "期末持仓量",
  17977. "type": "number"
  17978. },
  17979. "middlegoodscode": {
  17980. "description": "套保商品代码",
  17981. "type": "string"
  17982. },
  17983. "middlegoodsid": {
  17984. "description": "套保商品id",
  17985. "type": "integer"
  17986. },
  17987. "middlegoodsname": {
  17988. "description": "套保商品名称",
  17989. "type": "string"
  17990. },
  17991. "oriholdqty": {
  17992. "description": "期初持仓量",
  17993. "type": "number"
  17994. },
  17995. "todaycloseqty": {
  17996. "description": "今平仓量",
  17997. "type": "number"
  17998. },
  17999. "todayopenqty": {
  18000. "description": "今开仓量",
  18001. "type": "number"
  18002. },
  18003. "tradedate": {
  18004. "description": "交易日",
  18005. "type": "string"
  18006. }
  18007. }
  18008. },
  18009. "models.Ermcp3ExposureHedgeplanDetail": {
  18010. "type": "object",
  18011. "properties": {
  18012. "biztype": {
  18013. "description": "业务类型(期现用途,业务类型就是期现用途) 1-套保 2-套利",
  18014. "type": "integer"
  18015. },
  18016. "changqty": {
  18017. "description": "应套保总量变化量",
  18018. "type": "number"
  18019. },
  18020. "contracttype": {
  18021. "description": "计划类型 - 1:采购 -1:销售",
  18022. "type": "integer"
  18023. },
  18024. "convertratio": {
  18025. "description": "折算系数(套保品种)",
  18026. "type": "number"
  18027. },
  18028. "deliverygoodscode": {
  18029. "description": "现货商品代码",
  18030. "type": "string"
  18031. },
  18032. "deliverygoodsid": {
  18033. "description": "现货商品id",
  18034. "type": "integer"
  18035. },
  18036. "deliverygoodsname": {
  18037. "description": "现货商吕名称",
  18038. "type": "string"
  18039. },
  18040. "dgunitid": {
  18041. "description": "现货商品单位id",
  18042. "type": "integer"
  18043. },
  18044. "dgunitidname": {
  18045. "description": "单位名称(现货商品)",
  18046. "type": "string"
  18047. },
  18048. "diffqty": {
  18049. "description": "套保品种今变动量",
  18050. "type": "number"
  18051. },
  18052. "enumdicname": {
  18053. "description": "单位名称(品类)",
  18054. "type": "string"
  18055. },
  18056. "hedgeplanid": {
  18057. "description": "套保计划id",
  18058. "type": "string"
  18059. },
  18060. "hedgeplanno": {
  18061. "description": "套保计划名称",
  18062. "type": "string"
  18063. },
  18064. "hedgeplanstatus": {
  18065. "description": "套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  18066. "type": "integer"
  18067. },
  18068. "mgunitidname": {
  18069. "description": "单位名称(套保商品)",
  18070. "type": "string"
  18071. },
  18072. "middlegoodscode": {
  18073. "description": "套保品种代码",
  18074. "type": "string"
  18075. },
  18076. "middlegoodsid": {
  18077. "description": "套保品种id",
  18078. "type": "integer"
  18079. },
  18080. "middlegoodsname": {
  18081. "description": "套保品种名称",
  18082. "type": "string"
  18083. },
  18084. "needarbitrageratio": {
  18085. "description": "应套利比例",
  18086. "type": "number"
  18087. },
  18088. "needhedgeratio": {
  18089. "description": "应套保比例",
  18090. "type": "number"
  18091. },
  18092. "pricedqty": {
  18093. "description": "已定价量",
  18094. "type": "number"
  18095. },
  18096. "qty": {
  18097. "description": "合同量",
  18098. "type": "number"
  18099. },
  18100. "tradedate": {
  18101. "description": "交易日(登记日)",
  18102. "type": "string"
  18103. },
  18104. "unitid": {
  18105. "description": "品类单位id",
  18106. "type": "integer"
  18107. },
  18108. "userid": {
  18109. "description": "机构id",
  18110. "type": "integer"
  18111. },
  18112. "wrstandardcode": {
  18113. "description": "品类代码",
  18114. "type": "string"
  18115. },
  18116. "wrstandardid": {
  18117. "description": "品类id",
  18118. "type": "integer"
  18119. },
  18120. "wrstandardname": {
  18121. "description": "品类名称",
  18122. "type": "string"
  18123. }
  18124. }
  18125. },
  18126. "models.Ermcp3ExposureParamChLog": {
  18127. "type": "object",
  18128. "properties": {
  18129. "accountid": {
  18130. "description": "期货账户ID (作废, 默认为0)",
  18131. "type": "integer"
  18132. },
  18133. "aftervalue": {
  18134. "description": "应套保\\套利量变更后(调整后应套保总量)",
  18135. "type": "number"
  18136. },
  18137. "areauserid": {
  18138. "description": "所属机构\\交易用户ID",
  18139. "type": "integer"
  18140. },
  18141. "beforevalue": {
  18142. "description": "应套保\\套利量变更前(调整前应套保总量)",
  18143. "type": "number"
  18144. },
  18145. "begindate": {
  18146. "description": "开始交易日",
  18147. "type": "string"
  18148. },
  18149. "changelogtype": {
  18150. "description": "变更流水类型 - 1:套保比率变更 2:套利比率变更",
  18151. "type": "integer"
  18152. },
  18153. "curvalue": {
  18154. "description": "当前套保\\套利量(套保总量|套利总量)",
  18155. "type": "number"
  18156. },
  18157. "diffvalue": {
  18158. "description": "应套保总量变化量",
  18159. "type": "number"
  18160. },
  18161. "enddate": {
  18162. "description": "结束交易日",
  18163. "type": "string"
  18164. },
  18165. "logdatetime": {
  18166. "description": "流水日期",
  18167. "type": "string"
  18168. },
  18169. "logid": {
  18170. "description": "流水ID(609+Unix秒时间戳(10位)+xxxxxx)",
  18171. "type": "string"
  18172. },
  18173. "middlegoodscode": {
  18174. "description": "套保品种代码",
  18175. "type": "string"
  18176. },
  18177. "middlegoodsid": {
  18178. "description": "套保品种",
  18179. "type": "integer"
  18180. },
  18181. "middlegoodsname": {
  18182. "description": "套保品种名称",
  18183. "type": "string"
  18184. },
  18185. "paramaftervalue": {
  18186. "description": "参数变更后(调整后参数值)",
  18187. "type": "number"
  18188. },
  18189. "parambeforevalue": {
  18190. "description": "参数变更前(调整前参数值)",
  18191. "type": "number"
  18192. },
  18193. "tradedate": {
  18194. "description": "交易日(yyyyMMdd)",
  18195. "type": "string"
  18196. }
  18197. }
  18198. },
  18199. "models.Ermcp3ExpourseReport": {
  18200. "type": "object",
  18201. "properties": {
  18202. "accountid": {
  18203. "description": "期货账户ID (作废, 默认为0)",
  18204. "type": "integer"
  18205. },
  18206. "accountname": {
  18207. "description": "机构名称",
  18208. "type": "string"
  18209. },
  18210. "arbitrageqty": {
  18211. "description": "套利量",
  18212. "type": "number"
  18213. },
  18214. "areauserid": {
  18215. "description": "所属机构\\交易用户ID",
  18216. "type": "integer"
  18217. },
  18218. "begindate": {
  18219. "description": "开始交易日",
  18220. "type": "string"
  18221. },
  18222. "buyfutureqty": {
  18223. "description": "买入期货数量",
  18224. "type": "number"
  18225. },
  18226. "buyplanqty": {
  18227. "description": "采购计划数量",
  18228. "type": "number"
  18229. },
  18230. "buypricedqty": {
  18231. "description": "采购合同已定价数量",
  18232. "type": "number"
  18233. },
  18234. "cycletime": {
  18235. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  18236. "type": "string"
  18237. },
  18238. "cycletype": {
  18239. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  18240. "type": "integer"
  18241. },
  18242. "diffexposure": {
  18243. "description": "变动量(套保敞口)",
  18244. "type": "number"
  18245. },
  18246. "difffutuqty": {
  18247. "description": "变动量(期货)",
  18248. "type": "number"
  18249. },
  18250. "diffhedgeqty": {
  18251. "description": "变动量(现货应套保总量)",
  18252. "type": "number"
  18253. },
  18254. "diffmgqtya": {
  18255. "description": "套保变动量",
  18256. "type": "number"
  18257. },
  18258. "diffmgqtyb": {
  18259. "description": "套利变动量",
  18260. "type": "number"
  18261. },
  18262. "diffqty": {
  18263. "description": "变动量(总敞口)",
  18264. "type": "number"
  18265. },
  18266. "diffspotqty": {
  18267. "description": "变动量(现货)",
  18268. "type": "number"
  18269. },
  18270. "enddate": {
  18271. "description": "结束交易日",
  18272. "type": "string"
  18273. },
  18274. "enumdicname": {
  18275. "description": "单位名称",
  18276. "type": "string"
  18277. },
  18278. "hedgeqty": {
  18279. "description": "套保量",
  18280. "type": "number"
  18281. },
  18282. "mgneedhedgeratio": {
  18283. "description": "套保比例(套保品的)",
  18284. "type": "number"
  18285. },
  18286. "middlegoodsid": {
  18287. "description": "套保品种ID",
  18288. "type": "integer"
  18289. },
  18290. "middlegoodsname": {
  18291. "description": "套保商品名称",
  18292. "type": "string"
  18293. },
  18294. "middlgoodscode": {
  18295. "description": "套保商品代码",
  18296. "type": "string"
  18297. },
  18298. "needarbitrageqty": {
  18299. "description": "应套利量",
  18300. "type": "number"
  18301. },
  18302. "needarbitrageratio": {
  18303. "description": "套利比例(套保品的)",
  18304. "type": "number"
  18305. },
  18306. "needhedgeexposoure": {
  18307. "description": "应套保敞口(套保敞口)",
  18308. "type": "number"
  18309. },
  18310. "needhedgeqty": {
  18311. "description": "应套保量",
  18312. "type": "number"
  18313. },
  18314. "needhedgeratio": {
  18315. "description": "应套保敞口比例",
  18316. "type": "number"
  18317. },
  18318. "oriarbitrageqty": {
  18319. "description": "期初套利量",
  18320. "type": "number"
  18321. },
  18322. "oribuyfutureqty": {
  18323. "description": "期初买入期货数量",
  18324. "type": "number"
  18325. },
  18326. "oribuyplanqty": {
  18327. "description": "期初采购计划数量",
  18328. "type": "number"
  18329. },
  18330. "oribuypricedqty": {
  18331. "description": "期初采购合同已定价数量",
  18332. "type": "number"
  18333. },
  18334. "orihedgeqty": {
  18335. "description": "期初套保量",
  18336. "type": "number"
  18337. },
  18338. "orineedarbitrageqty": {
  18339. "description": "期初应套利量",
  18340. "type": "number"
  18341. },
  18342. "orineedhedgeexposoure": {
  18343. "description": "期初应套保敞口",
  18344. "type": "number"
  18345. },
  18346. "orineedhedgeqty": {
  18347. "description": "期初应套保量",
  18348. "type": "number"
  18349. },
  18350. "orisellfutureqty": {
  18351. "description": "期初卖出期货数量",
  18352. "type": "number"
  18353. },
  18354. "orisellplanqty": {
  18355. "description": "期初销售计划数量",
  18356. "type": "number"
  18357. },
  18358. "orisellpricedqty": {
  18359. "description": "期初销售合同已定价数量",
  18360. "type": "number"
  18361. },
  18362. "oritotalexposure": {
  18363. "description": "期初实时总敞口",
  18364. "type": "number"
  18365. },
  18366. "oritotalfutureqty": {
  18367. "description": "期初期货头寸总量",
  18368. "type": "number"
  18369. },
  18370. "oritotalneedhedgeqty": {
  18371. "description": "期初应套保总量",
  18372. "type": "number"
  18373. },
  18374. "oritotalspotqty": {
  18375. "description": "期初现货头寸总量",
  18376. "type": "number"
  18377. },
  18378. "reckondate": {
  18379. "description": "日照时期(yyyyMMdd)",
  18380. "type": "string"
  18381. },
  18382. "sellfutureqty": {
  18383. "description": "卖出期货数量",
  18384. "type": "number"
  18385. },
  18386. "sellplanqty": {
  18387. "description": "销售计划数量",
  18388. "type": "number"
  18389. },
  18390. "sellpricedqty": {
  18391. "description": "销售合同已定价数量",
  18392. "type": "number"
  18393. },
  18394. "totalexposure": {
  18395. "description": "实时总敞口(总敞口)",
  18396. "type": "number"
  18397. },
  18398. "totalfutureqty": {
  18399. "description": "期货头寸总量(期货总量)",
  18400. "type": "number"
  18401. },
  18402. "totalhedgeratio": {
  18403. "description": "敞口比例",
  18404. "type": "number"
  18405. },
  18406. "totalneedhedgeqty": {
  18407. "description": "应套保总量(现货应套保总量)",
  18408. "type": "number"
  18409. },
  18410. "totalspotqty": {
  18411. "description": "现货头寸总量",
  18412. "type": "number"
  18413. },
  18414. "unitid": {
  18415. "description": "单位id",
  18416. "type": "integer"
  18417. },
  18418. "updatetime": {
  18419. "description": "更新时间",
  18420. "type": "string"
  18421. }
  18422. }
  18423. },
  18424. "models.Ermcp3FinanceReport": {
  18425. "type": "object",
  18426. "properties": {
  18427. "accountname": {
  18428. "description": "机构名称",
  18429. "type": "string"
  18430. },
  18431. "areauserid": {
  18432. "description": "所属机构\\交易用户ID",
  18433. "type": "integer"
  18434. },
  18435. "begindate": {
  18436. "description": "开始交易日",
  18437. "type": "string"
  18438. },
  18439. "biztype": {
  18440. "description": "业务类型 - 1:套保 2:套利",
  18441. "type": "integer"
  18442. },
  18443. "brandname": {
  18444. "description": "品牌名称",
  18445. "type": "string"
  18446. },
  18447. "buypreinvoicedamount": {
  18448. "description": "采购预收票额(预收票额)",
  18449. "type": "number"
  18450. },
  18451. "buyprepaidamount": {
  18452. "description": "采购预付款额(预付货款额)",
  18453. "type": "number"
  18454. },
  18455. "buytodayinvoiceamount": {
  18456. "description": "采购今收票额(今收票额)",
  18457. "type": "number"
  18458. },
  18459. "buytodayrefundamount": {
  18460. "description": "采购今收退款额(今收退款额)",
  18461. "type": "number"
  18462. },
  18463. "buytodaysettleamount": {
  18464. "description": "采购今付款额(今付货款额)",
  18465. "type": "number"
  18466. },
  18467. "buyuninvoicedamount": {
  18468. "description": "采购应收票额(应收票额)",
  18469. "type": "number"
  18470. },
  18471. "buyunpaidamount": {
  18472. "description": "采购应付款额(应付货款额)",
  18473. "type": "number"
  18474. },
  18475. "currencyid": {
  18476. "description": "结算币种ID",
  18477. "type": "integer"
  18478. },
  18479. "currencyname": {
  18480. "description": "币种名称",
  18481. "type": "string"
  18482. },
  18483. "cycletime": {
  18484. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  18485. "type": "string"
  18486. },
  18487. "cycletype": {
  18488. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  18489. "type": "integer"
  18490. },
  18491. "deliverygoodscode": {
  18492. "description": "现货品种代码",
  18493. "type": "string"
  18494. },
  18495. "deliverygoodsid": {
  18496. "description": "现货品种ID",
  18497. "type": "integer"
  18498. },
  18499. "deliverygoodsname": {
  18500. "description": "现货品种名称",
  18501. "type": "string"
  18502. },
  18503. "enddate": {
  18504. "description": "结束交易日",
  18505. "type": "string"
  18506. },
  18507. "reckondate": {
  18508. "description": "日照时期(yyyyMMdd)",
  18509. "type": "string"
  18510. },
  18511. "sellpreinvoicedamount": {
  18512. "description": "销售预开票额(预开票额)",
  18513. "type": "number"
  18514. },
  18515. "sellprepaidamount": {
  18516. "description": "销售预收款额(预收货款额)",
  18517. "type": "number"
  18518. },
  18519. "selltodayinvoiceamount": {
  18520. "description": "销售今开票额(今开票额)",
  18521. "type": "number"
  18522. },
  18523. "selltodayrefundamount": {
  18524. "description": "销售今付退款额(今付退款额)",
  18525. "type": "number"
  18526. },
  18527. "selltodaysettleamount": {
  18528. "description": "销售今收款额(今收货款额)",
  18529. "type": "number"
  18530. },
  18531. "selluninvoicedamount": {
  18532. "description": "销售应开票额(应开票额)",
  18533. "type": "number"
  18534. },
  18535. "sellunpaidamount": {
  18536. "description": "销售应收款额(应收货款额)",
  18537. "type": "number"
  18538. },
  18539. "spotgoodsbrandid": {
  18540. "description": "现货品牌ID",
  18541. "type": "integer"
  18542. },
  18543. "todaypaysum": {
  18544. "description": "今付款合计",
  18545. "type": "number"
  18546. },
  18547. "todayreceivesum": {
  18548. "description": "今收款合计",
  18549. "type": "number"
  18550. },
  18551. "updatetime": {
  18552. "description": "更新时间",
  18553. "type": "string"
  18554. },
  18555. "wrfactortypeid": {
  18556. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  18557. "type": "integer"
  18558. },
  18559. "wrstandardcode": {
  18560. "description": "品类代码",
  18561. "type": "string"
  18562. },
  18563. "wrstandardid": {
  18564. "description": "现货商品ID",
  18565. "type": "integer"
  18566. },
  18567. "wrstandardname": {
  18568. "description": "品类名称",
  18569. "type": "string"
  18570. }
  18571. }
  18572. },
  18573. "models.Ermcp3Goods": {
  18574. "type": "object",
  18575. "properties": {
  18576. "agreeunit": {
  18577. "description": "合约单位(合约乘数)",
  18578. "type": "number"
  18579. },
  18580. "enumdicname": {
  18581. "description": "单位名称",
  18582. "type": "string"
  18583. },
  18584. "exexchangecode": {
  18585. "description": "交易所代码",
  18586. "type": "string"
  18587. },
  18588. "goodscode": {
  18589. "description": "期货商品代码",
  18590. "type": "string"
  18591. },
  18592. "goodsid": {
  18593. "description": "期货商品id",
  18594. "type": "integer"
  18595. },
  18596. "goodsname": {
  18597. "description": "期货商品名称",
  18598. "type": "string"
  18599. }
  18600. }
  18601. },
  18602. "models.Ermcp3GoodsGroup": {
  18603. "type": "object",
  18604. "required": [
  18605. "areauserid"
  18606. ],
  18607. "properties": {
  18608. "agreeunit": {
  18609. "description": "合约单位",
  18610. "type": "number"
  18611. },
  18612. "areauserid": {
  18613. "description": "所属机构id(套保品是有areauserid的,当要排除已配置商品组时需要areauserid过滤)",
  18614. "type": "integer"
  18615. },
  18616. "canshort": {
  18617. "description": "是否允许做空[通道交易] - 0:不能做空 1:可以做空",
  18618. "type": "integer"
  18619. },
  18620. "closepricemode": {
  18621. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  18622. "type": "integer"
  18623. },
  18624. "createtime": {
  18625. "description": "创建时间",
  18626. "type": "string"
  18627. },
  18628. "creatorid": {
  18629. "description": "创建人",
  18630. "type": "integer"
  18631. },
  18632. "currencyid": {
  18633. "description": "报价货币ID",
  18634. "type": "integer"
  18635. },
  18636. "decimalplace": {
  18637. "description": "报价小数位",
  18638. "type": "integer"
  18639. },
  18640. "enumdicname": {
  18641. "description": "单位名称",
  18642. "type": "string"
  18643. },
  18644. "exchangefullname": {
  18645. "description": "交易所全称",
  18646. "type": "string"
  18647. },
  18648. "excludecfg": {
  18649. "description": "排除套保品已配置期货分类下的商品组(但显示已配置商品组) 1-排除",
  18650. "type": "integer"
  18651. },
  18652. "exexchangecode": {
  18653. "description": "交易所代码",
  18654. "type": "string"
  18655. },
  18656. "exexchangeid": {
  18657. "description": "外部交易所ID[通道交易]",
  18658. "type": "integer"
  18659. },
  18660. "exexchangename": {
  18661. "description": "交易所名称",
  18662. "type": "string"
  18663. },
  18664. "goodsgroupid": {
  18665. "description": "商品组ID(自增ID)",
  18666. "type": "integer"
  18667. },
  18668. "goodsgroupname": {
  18669. "description": "商品组名称",
  18670. "type": "string"
  18671. },
  18672. "goodsgroupstatus": {
  18673. "description": "商品组状态 - 1:正常 2:注销",
  18674. "type": "integer"
  18675. },
  18676. "goodunitid": {
  18677. "description": "报价单位ID",
  18678. "type": "integer"
  18679. },
  18680. "groupcategroyid": {
  18681. "description": "品种分类ID",
  18682. "type": "integer"
  18683. },
  18684. "innerdealmode": {
  18685. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  18686. "type": "integer"
  18687. },
  18688. "marketid": {
  18689. "description": "所属市场ID",
  18690. "type": "integer"
  18691. },
  18692. "modifierid": {
  18693. "description": "修改人",
  18694. "type": "integer"
  18695. },
  18696. "modifytime": {
  18697. "description": "修改时间",
  18698. "type": "string"
  18699. },
  18700. "outerdealmode": {
  18701. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  18702. "type": "integer"
  18703. },
  18704. "outergroupcode": {
  18705. "description": "外部商品组代码[通道交易]",
  18706. "type": "string"
  18707. },
  18708. "quoteminunit": {
  18709. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  18710. "type": "integer"
  18711. },
  18712. "quotesourcegroupid": {
  18713. "description": "所属行情源分组ID[参考行情市场用\\通道交易]",
  18714. "type": "integer"
  18715. },
  18716. "syncgoodsqty": {
  18717. "description": "同步合约数[通道交易-投资管理用] - 0表示不限",
  18718. "type": "integer"
  18719. }
  18720. }
  18721. },
  18722. "models.Ermcp3GoodsGroupEx": {
  18723. "type": "object",
  18724. "properties": {
  18725. "convertratio": {
  18726. "description": "折算系数(品种系数)",
  18727. "type": "number"
  18728. },
  18729. "enumdicname": {
  18730. "description": "单位名称",
  18731. "type": "string"
  18732. },
  18733. "exexchangecode": {
  18734. "description": "交易所代码",
  18735. "type": "string"
  18736. },
  18737. "glist": {
  18738. "description": "合约列表",
  18739. "type": "array",
  18740. "items": {
  18741. "$ref": "#/definitions/models.Ermcp3Goods"
  18742. }
  18743. },
  18744. "goodsgroupid": {
  18745. "description": "商品组id",
  18746. "type": "integer"
  18747. },
  18748. "goodsgroupname": {
  18749. "description": "商品组名称",
  18750. "type": "string"
  18751. },
  18752. "goodsunitid": {
  18753. "description": "单位id",
  18754. "type": "integer"
  18755. },
  18756. "middlegoodsid": {
  18757. "description": "套保商品id",
  18758. "type": "integer"
  18759. }
  18760. }
  18761. },
  18762. "models.Ermcp3HedgePlan": {
  18763. "type": "object",
  18764. "properties": {
  18765. "accountid": {
  18766. "description": "资金账号",
  18767. "type": "integer"
  18768. },
  18769. "areauserid": {
  18770. "description": "用户ID",
  18771. "type": "integer"
  18772. },
  18773. "auditid": {
  18774. "description": "审核id",
  18775. "type": "integer"
  18776. },
  18777. "auditname": {
  18778. "description": "审核人名称",
  18779. "type": "string"
  18780. },
  18781. "auditremark": {
  18782. "description": "审核备注",
  18783. "type": "string"
  18784. },
  18785. "auditsrc": {
  18786. "description": "审核来源 1-管理端 2-终端",
  18787. "type": "integer"
  18788. },
  18789. "audittime": {
  18790. "description": "审核时间",
  18791. "type": "string"
  18792. },
  18793. "contracttype": {
  18794. "description": "计划类型 - 1:采购 -1:销售",
  18795. "type": "integer"
  18796. },
  18797. "convertfactor": {
  18798. "description": "标仓系数",
  18799. "type": "number"
  18800. },
  18801. "createtime": {
  18802. "description": "创建时间",
  18803. "type": "string"
  18804. },
  18805. "currencyid": {
  18806. "description": "币种id",
  18807. "type": "integer"
  18808. },
  18809. "currencyname": {
  18810. "description": "币种名称",
  18811. "type": "string"
  18812. },
  18813. "deliverygoodscode": {
  18814. "description": "现货品种代码",
  18815. "type": "string"
  18816. },
  18817. "deliverygoodsid": {
  18818. "description": "现货品种ID",
  18819. "type": "integer"
  18820. },
  18821. "deliverygoodsname": {
  18822. "description": "现货品种名称",
  18823. "type": "string"
  18824. },
  18825. "enumdicname": {
  18826. "description": "单位名称(现货商品)",
  18827. "type": "string"
  18828. },
  18829. "hedgeplanid": {
  18830. "description": "套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)",
  18831. "type": "string"
  18832. },
  18833. "hedgeplanno": {
  18834. "description": "套保计划编号(名称)",
  18835. "type": "string"
  18836. },
  18837. "hedgeplanstatus": {
  18838. "description": "套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  18839. "type": "integer"
  18840. },
  18841. "planqty": {
  18842. "description": "计划数量",
  18843. "type": "number"
  18844. },
  18845. "plantime": {
  18846. "description": "计划时间",
  18847. "type": "string"
  18848. },
  18849. "producttype": {
  18850. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  18851. "type": "integer"
  18852. },
  18853. "remark": {
  18854. "description": "备注",
  18855. "type": "string"
  18856. },
  18857. "spotgoodsdesc": {
  18858. "description": "商品型号",
  18859. "type": "string"
  18860. },
  18861. "taaccountname": {
  18862. "description": "资金账号名称",
  18863. "type": "string"
  18864. },
  18865. "tradeuserid": {
  18866. "description": "交易用户id",
  18867. "type": "integer"
  18868. },
  18869. "tradeusername": {
  18870. "description": "交易用户名称",
  18871. "type": "string"
  18872. },
  18873. "unitid": {
  18874. "description": "单位id(现货商品)",
  18875. "type": "integer"
  18876. },
  18877. "updatetime": {
  18878. "description": "更新时间",
  18879. "type": "string"
  18880. },
  18881. "wrstandardcode": {
  18882. "description": "品类代码",
  18883. "type": "string"
  18884. },
  18885. "wrstandardid": {
  18886. "description": "品类id",
  18887. "type": "integer"
  18888. },
  18889. "wrstandardname": {
  18890. "description": "品类名称",
  18891. "type": "string"
  18892. },
  18893. "wrunitid": {
  18894. "description": "品类单位id",
  18895. "type": "integer"
  18896. },
  18897. "wrunitidame": {
  18898. "description": "品类单位名称",
  18899. "type": "string"
  18900. }
  18901. }
  18902. },
  18903. "models.Ermcp3MiddleGoodsDetail2": {
  18904. "type": "object",
  18905. "properties": {
  18906. "convertratio": {
  18907. "description": "套保系数(折算系数)",
  18908. "type": "number"
  18909. },
  18910. "gplist": {
  18911. "description": "关联商品组列表",
  18912. "type": "array",
  18913. "items": {
  18914. "$ref": "#/definitions/models.Ermcp3GoodsGroupEx"
  18915. }
  18916. },
  18917. "mg": {
  18918. "description": "套保商品信息",
  18919. "type": "object",
  18920. "$ref": "#/definitions/models.ErmcpMiddleGoodsModel"
  18921. }
  18922. }
  18923. },
  18924. "models.Ermcp3MiddleGoodsDetailEx": {
  18925. "type": "object",
  18926. "properties": {
  18927. "dglist": {
  18928. "description": "关联的现货品种列表",
  18929. "type": "array",
  18930. "items": {
  18931. "$ref": "#/definitions/models.ErmcpDeliveryGoodsDetail2"
  18932. }
  18933. },
  18934. "gplist": {
  18935. "description": "关联商品组列表",
  18936. "type": "array",
  18937. "items": {
  18938. "$ref": "#/definitions/models.Ermcp3GoodsGroupEx"
  18939. }
  18940. },
  18941. "mg": {
  18942. "description": "套保商品信息",
  18943. "type": "object",
  18944. "$ref": "#/definitions/models.ErmcpMiddleGoodsModel"
  18945. }
  18946. }
  18947. },
  18948. "models.Ermcp3RootUserAccount": {
  18949. "type": "object",
  18950. "properties": {
  18951. "accountname": {
  18952. "description": "账户名称(机构名称)",
  18953. "type": "string"
  18954. },
  18955. "accountstatus": {
  18956. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  18957. "type": "integer"
  18958. },
  18959. "applysrc": {
  18960. "description": "申请来源 - 1:管理端 2:终端",
  18961. "type": "integer"
  18962. },
  18963. "auditremark": {
  18964. "description": "审核备注",
  18965. "type": "string"
  18966. },
  18967. "auditsrc": {
  18968. "description": "审核来源 - 1:管理端 2:终端",
  18969. "type": "integer"
  18970. },
  18971. "audittime": {
  18972. "description": "审核时间",
  18973. "type": "string"
  18974. },
  18975. "audituserid": {
  18976. "description": "审核人",
  18977. "type": "integer"
  18978. },
  18979. "broker": {
  18980. "description": "所属经纪人ID",
  18981. "type": "integer"
  18982. },
  18983. "canceltime": {
  18984. "description": "销户时间",
  18985. "type": "string"
  18986. },
  18987. "canceluserid": {
  18988. "description": "销户人",
  18989. "type": "integer"
  18990. },
  18991. "canrecommend": {
  18992. "description": "是否可推荐 - 0:不可 1;可",
  18993. "type": "integer"
  18994. },
  18995. "createtime": {
  18996. "description": "创建时间",
  18997. "type": "string"
  18998. },
  18999. "creatorid": {
  19000. "description": "创建人",
  19001. "type": "integer"
  19002. },
  19003. "hasauth": {
  19004. "description": "是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝",
  19005. "type": "integer"
  19006. },
  19007. "isanonymous": {
  19008. "description": "是否匿名下单 - 0:否 1:是",
  19009. "type": "integer"
  19010. },
  19011. "maxinvestornum": {
  19012. "description": "最大用户数(经纪会员下投资者个数)",
  19013. "type": "integer"
  19014. },
  19015. "memberuserid": {
  19016. "description": "所属会员ID",
  19017. "type": "integer"
  19018. },
  19019. "modifierid": {
  19020. "description": "修改人",
  19021. "type": "integer"
  19022. },
  19023. "modifyremark": {
  19024. "description": "变更备注",
  19025. "type": "string"
  19026. },
  19027. "modifystatus": {
  19028. "description": "变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)",
  19029. "type": "integer"
  19030. },
  19031. "modifytime": {
  19032. "description": "修改时间",
  19033. "type": "string"
  19034. },
  19035. "parenttopuser": {
  19036. "description": "上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的\"ParentTopUser\"]",
  19037. "type": "string"
  19038. },
  19039. "parentuserid": {
  19040. "description": "所属机构ID",
  19041. "type": "integer"
  19042. },
  19043. "reckonaccountid": {
  19044. "description": "默认结算资金账号ID(机构分润使用) 作废",
  19045. "type": "integer"
  19046. },
  19047. "refercount": {
  19048. "description": "推荐总人数",
  19049. "type": "integer"
  19050. },
  19051. "refereeuserid": {
  19052. "description": "推荐人ID",
  19053. "type": "integer"
  19054. },
  19055. "refernum": {
  19056. "description": "推荐码",
  19057. "type": "string"
  19058. },
  19059. "rootuserid": {
  19060. "description": "根用户ID",
  19061. "type": "integer"
  19062. },
  19063. "subaccountlevel": {
  19064. "description": "子账户层数",
  19065. "type": "integer"
  19066. },
  19067. "subarealevelpath": {
  19068. "description": "子机构层级路径(逗号分隔,首尾加逗号)",
  19069. "type": "string"
  19070. },
  19071. "userid": {
  19072. "description": "用户ID",
  19073. "type": "integer"
  19074. },
  19075. "usertype": {
  19076. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  19077. "type": "integer"
  19078. }
  19079. }
  19080. },
  19081. "models.Ermcp3SellBuyContract": {
  19082. "type": "object",
  19083. "properties": {
  19084. "accountid": {
  19085. "description": "期货账户id",
  19086. "type": "string"
  19087. },
  19088. "accountname": {
  19089. "description": "账户名称",
  19090. "type": "string"
  19091. },
  19092. "attachment": {
  19093. "description": "附件",
  19094. "type": "string"
  19095. },
  19096. "audittime": {
  19097. "description": "审核时间",
  19098. "type": "string"
  19099. },
  19100. "biztype": {
  19101. "description": "业务类型 1-套保 2-套利",
  19102. "type": "integer"
  19103. },
  19104. "brandname": {
  19105. "description": "品牌名称",
  19106. "type": "string"
  19107. },
  19108. "contracctstatus": {
  19109. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  19110. "type": "integer"
  19111. },
  19112. "contractmargin": {
  19113. "description": "合同保证金",
  19114. "type": "number"
  19115. },
  19116. "contractno": {
  19117. "description": "合同编号",
  19118. "type": "string"
  19119. },
  19120. "contracttype": {
  19121. "description": "合同类型 1-采购, -1-销售",
  19122. "type": "integer"
  19123. },
  19124. "convertfactor": {
  19125. "description": "标仓系数(品类)",
  19126. "type": "number"
  19127. },
  19128. "createtime": {
  19129. "description": "创建时间",
  19130. "type": "string"
  19131. },
  19132. "currencyid": {
  19133. "description": "币种id",
  19134. "type": "integer"
  19135. },
  19136. "currencyname": {
  19137. "description": "币种名称",
  19138. "type": "string"
  19139. },
  19140. "daikaiamount": {
  19141. "description": "应收(开)票额",
  19142. "type": "number"
  19143. },
  19144. "deliveryenddate": {
  19145. "description": "交割结束日",
  19146. "type": "string"
  19147. },
  19148. "deliverygoodscode": {
  19149. "description": "现货品种代码",
  19150. "type": "string"
  19151. },
  19152. "deliverygoodsid": {
  19153. "description": "现货商品ID",
  19154. "type": "integer"
  19155. },
  19156. "deliverygoodsname": {
  19157. "description": "现货品种名称",
  19158. "type": "string"
  19159. },
  19160. "deliverystartdate": {
  19161. "description": "交割开始日",
  19162. "type": "string"
  19163. },
  19164. "enddate": {
  19165. "description": "点价结束日",
  19166. "type": "string"
  19167. },
  19168. "enumdicname": {
  19169. "description": "单位名称",
  19170. "type": "string"
  19171. },
  19172. "goodscode": {
  19173. "description": "点价商品代码",
  19174. "type": "string"
  19175. },
  19176. "goodsid": {
  19177. "description": "点价商品ID",
  19178. "type": "integer"
  19179. },
  19180. "goodsname": {
  19181. "description": "点价商品名称",
  19182. "type": "string"
  19183. },
  19184. "invoiceamount": {
  19185. "description": "已开票额",
  19186. "type": "number"
  19187. },
  19188. "loanamount": {
  19189. "description": "贷款总额=已定价额+调整金额",
  19190. "type": "number"
  19191. },
  19192. "margin": {
  19193. "description": "保证金",
  19194. "type": "number"
  19195. },
  19196. "meruserid": {
  19197. "description": "跟单员id",
  19198. "type": "integer"
  19199. },
  19200. "meruserlogincode": {
  19201. "description": "跟单员登录代码",
  19202. "type": "string"
  19203. },
  19204. "merusername": {
  19205. "description": "跟单员名称",
  19206. "type": "string"
  19207. },
  19208. "nickname": {
  19209. "description": "账户昵称",
  19210. "type": "string"
  19211. },
  19212. "payamount": {
  19213. "description": "已收付额(收款或付款)",
  19214. "type": "number"
  19215. },
  19216. "preinvoiceamount": {
  19217. "description": "预收(开)票额",
  19218. "type": "number"
  19219. },
  19220. "prepayamount": {
  19221. "description": "预收付额",
  19222. "type": "number"
  19223. },
  19224. "price": {
  19225. "description": "价格",
  19226. "type": "number"
  19227. },
  19228. "pricedamount": {
  19229. "description": "已定价额",
  19230. "type": "number"
  19231. },
  19232. "pricedavg": {
  19233. "description": "已点均价",
  19234. "type": "number"
  19235. },
  19236. "pricedqty": {
  19237. "description": "已定价量",
  19238. "type": "number"
  19239. },
  19240. "pricemove": {
  19241. "description": "升贴水",
  19242. "type": "number"
  19243. },
  19244. "pricetype": {
  19245. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  19246. "type": "integer"
  19247. },
  19248. "producttype": {
  19249. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  19250. "type": "integer"
  19251. },
  19252. "qty": {
  19253. "description": "合同量",
  19254. "type": "number"
  19255. },
  19256. "reckonadjustamount": {
  19257. "description": "调整金额",
  19258. "type": "number"
  19259. },
  19260. "reckonedamount": {
  19261. "description": "实际已收付额(已确定额,已收付总额-已退款总额)",
  19262. "type": "number"
  19263. },
  19264. "reckonotheramount": {
  19265. "description": "其它费用",
  19266. "type": "number"
  19267. },
  19268. "reckonrealqty": {
  19269. "description": "已确定量",
  19270. "type": "number"
  19271. },
  19272. "remark": {
  19273. "description": "备注",
  19274. "type": "string"
  19275. },
  19276. "saleuserid": {
  19277. "description": "业务员id",
  19278. "type": "integer"
  19279. },
  19280. "saleuserlogincode": {
  19281. "description": "业务员登录代码",
  19282. "type": "string"
  19283. },
  19284. "saleusername": {
  19285. "description": "业务员名称",
  19286. "type": "string"
  19287. },
  19288. "spotcontractid": {
  19289. "description": "合同ID",
  19290. "type": "string"
  19291. },
  19292. "spotgoodsbrandid": {
  19293. "description": "现货品牌ID(DGFactoryItem表的ID)",
  19294. "type": "integer"
  19295. },
  19296. "spotgoodsdesc": {
  19297. "description": "商品型号(商品规格)",
  19298. "type": "string"
  19299. },
  19300. "startdate": {
  19301. "description": "点价开始日",
  19302. "type": "string"
  19303. },
  19304. "totalamount": {
  19305. "description": "合计总额",
  19306. "type": "number"
  19307. },
  19308. "tradeuserid": {
  19309. "description": "交易员id",
  19310. "type": "integer"
  19311. },
  19312. "tradeuserlogincode": {
  19313. "description": "交易员登录代码",
  19314. "type": "string"
  19315. },
  19316. "tradeusername": {
  19317. "description": "交易员名称",
  19318. "type": "string"
  19319. },
  19320. "unpayamount": {
  19321. "description": "应收付款额(应支付或应收款)",
  19322. "type": "number"
  19323. },
  19324. "unpricedqty": {
  19325. "description": "未定价量",
  19326. "type": "number"
  19327. },
  19328. "unsureqty": {
  19329. "description": "未确定量",
  19330. "type": "number"
  19331. },
  19332. "userid": {
  19333. "description": "机构ID",
  19334. "type": "integer"
  19335. },
  19336. "wrstandardcode": {
  19337. "description": "品类代码",
  19338. "type": "string"
  19339. },
  19340. "wrstandardid": {
  19341. "description": "品类ID",
  19342. "type": "integer"
  19343. },
  19344. "wrstandardname": {
  19345. "description": "品类名称",
  19346. "type": "string"
  19347. }
  19348. }
  19349. },
  19350. "models.Ermcp3SpotGoodsPrice": {
  19351. "type": "object",
  19352. "properties": {
  19353. "areauserid": {
  19354. "description": "所属机构id",
  19355. "type": "integer"
  19356. },
  19357. "brandname": {
  19358. "description": "品牌名称",
  19359. "type": "string"
  19360. },
  19361. "currencyid": {
  19362. "description": "报价货币ID",
  19363. "type": "integer"
  19364. },
  19365. "currencyname": {
  19366. "description": "币种名称",
  19367. "type": "string"
  19368. },
  19369. "deliverygoodscode": {
  19370. "description": "现货商品代码",
  19371. "type": "string"
  19372. },
  19373. "deliverygoodsid": {
  19374. "description": "现货商品id",
  19375. "type": "integer"
  19376. },
  19377. "deliverygoodsname": {
  19378. "description": "现货商品名称",
  19379. "type": "string"
  19380. },
  19381. "enumdicname": {
  19382. "description": "现货商品单位名称",
  19383. "type": "string"
  19384. },
  19385. "gbenumdicname": {
  19386. "description": "品类单位名称",
  19387. "type": "string"
  19388. },
  19389. "gmunitid": {
  19390. "description": "品类单位id",
  19391. "type": "integer"
  19392. },
  19393. "isvalid": {
  19394. "description": "是否有效 - 0:无效 1:有效",
  19395. "type": "integer"
  19396. },
  19397. "operateid": {
  19398. "description": "最后操作人",
  19399. "type": "integer"
  19400. },
  19401. "operatesrc": {
  19402. "description": "最后操作来源 - 1:管理端 2:终端",
  19403. "type": "integer"
  19404. },
  19405. "operatetime": {
  19406. "description": "最后操作时间",
  19407. "type": "string"
  19408. },
  19409. "operatorname": {
  19410. "description": "操作人名称",
  19411. "type": "string"
  19412. },
  19413. "spotgoodsbrandid": {
  19414. "description": "现货品牌ID(通用则为0, 不为0则须先有品类ID)",
  19415. "type": "integer"
  19416. },
  19417. "spotgoodsprice": {
  19418. "description": "现货价格",
  19419. "type": "number"
  19420. },
  19421. "tradedate": {
  19422. "description": "交易日(yyyyMMdd)",
  19423. "type": "string"
  19424. },
  19425. "unitid": {
  19426. "description": "现货商品单位id",
  19427. "type": "integer"
  19428. },
  19429. "wrstandardcode": {
  19430. "description": "品类代码",
  19431. "type": "string"
  19432. },
  19433. "wrstandardid": {
  19434. "description": "现货品类ID(通用则为0)",
  19435. "type": "integer"
  19436. },
  19437. "wrstandardname": {
  19438. "description": "品类名称",
  19439. "type": "string"
  19440. }
  19441. }
  19442. },
  19443. "models.Ermcp3SpotGoodsPriceLog": {
  19444. "type": "object",
  19445. "properties": {
  19446. "areauserid": {
  19447. "description": "所属机构id",
  19448. "type": "integer"
  19449. },
  19450. "brandname": {
  19451. "description": "品牌名称",
  19452. "type": "string"
  19453. },
  19454. "currencyid": {
  19455. "description": "报价货币ID",
  19456. "type": "integer"
  19457. },
  19458. "deliverygoodscode": {
  19459. "description": "现货商品代码",
  19460. "type": "string"
  19461. },
  19462. "deliverygoodsid": {
  19463. "description": "现货商品id",
  19464. "type": "integer"
  19465. },
  19466. "deliverygoodsname": {
  19467. "description": "现货商品名称",
  19468. "type": "string"
  19469. },
  19470. "enumdicname": {
  19471. "description": "现货商品单位名称",
  19472. "type": "string"
  19473. },
  19474. "gbenumdicname": {
  19475. "description": "品类单位名称",
  19476. "type": "string"
  19477. },
  19478. "gmunitid": {
  19479. "description": "品类单位id",
  19480. "type": "integer"
  19481. },
  19482. "logid": {
  19483. "description": "日志id",
  19484. "type": "integer"
  19485. },
  19486. "operateid": {
  19487. "description": "最后操作人",
  19488. "type": "integer"
  19489. },
  19490. "operatesrc": {
  19491. "description": "最后操作来源 - 1:管理端 2:终端",
  19492. "type": "integer"
  19493. },
  19494. "operatetime": {
  19495. "description": "最后操作时间",
  19496. "type": "string"
  19497. },
  19498. "operatorname": {
  19499. "description": "操作人名称",
  19500. "type": "string"
  19501. },
  19502. "spotgoodsbrandid": {
  19503. "description": "现货品牌ID(通用则为0, 不为0则须先有品类ID)",
  19504. "type": "integer"
  19505. },
  19506. "spotgoodsprice": {
  19507. "description": "现货价格",
  19508. "type": "number"
  19509. },
  19510. "tradedate": {
  19511. "description": "交易日(yyyyMMdd)",
  19512. "type": "string"
  19513. },
  19514. "unitid": {
  19515. "description": "现货商品单位id",
  19516. "type": "integer"
  19517. },
  19518. "wrstandardcode": {
  19519. "description": "品类代码",
  19520. "type": "string"
  19521. },
  19522. "wrstandardid": {
  19523. "description": "现货品类ID(通用则为0)",
  19524. "type": "integer"
  19525. },
  19526. "wrstandardname": {
  19527. "description": "品类名称",
  19528. "type": "string"
  19529. }
  19530. }
  19531. },
  19532. "models.Ermcp3TaFutuReDataReport": {
  19533. "type": "object",
  19534. "properties": {
  19535. "accountid": {
  19536. "description": "交易账户",
  19537. "type": "integer"
  19538. },
  19539. "accountname": {
  19540. "description": "交易账号名称",
  19541. "type": "string"
  19542. },
  19543. "agreeunit": {
  19544. "description": "商品合约单位",
  19545. "type": "number"
  19546. },
  19547. "begindate": {
  19548. "description": "开始交易日",
  19549. "type": "string"
  19550. },
  19551. "buyorsell": {
  19552. "description": "持仓方向",
  19553. "type": "integer"
  19554. },
  19555. "charge": {
  19556. "description": "手续费",
  19557. "type": "number"
  19558. },
  19559. "closeavgprice": {
  19560. "description": "平仓均价",
  19561. "type": "number"
  19562. },
  19563. "closepl": {
  19564. "description": "平仓损益",
  19565. "type": "number"
  19566. },
  19567. "currencyid": {
  19568. "description": "结算币种ID",
  19569. "type": "integer"
  19570. },
  19571. "currencyname": {
  19572. "description": "币种名称",
  19573. "type": "string"
  19574. },
  19575. "cycletime": {
  19576. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  19577. "type": "string"
  19578. },
  19579. "cycletype": {
  19580. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  19581. "type": "integer"
  19582. },
  19583. "enddate": {
  19584. "description": "结束交易日",
  19585. "type": "string"
  19586. },
  19587. "enumdicname": {
  19588. "description": "单位名称",
  19589. "type": "string"
  19590. },
  19591. "floatpl": {
  19592. "description": "浮动损益",
  19593. "type": "number"
  19594. },
  19595. "goodscode": {
  19596. "description": "交易合约代码",
  19597. "type": "string"
  19598. },
  19599. "goodsgroupid": {
  19600. "description": "交易品种",
  19601. "type": "integer"
  19602. },
  19603. "goodsgroupname": {
  19604. "description": "交易品种名称",
  19605. "type": "string"
  19606. },
  19607. "goodsgroupspotqty": {
  19608. "description": "交易品种期末量 (= 期末持仓量 * 合约乘数)",
  19609. "type": "number"
  19610. },
  19611. "goodsid": {
  19612. "description": "交易合约",
  19613. "type": "integer"
  19614. },
  19615. "goodsname": {
  19616. "description": "交易合约名称",
  19617. "type": "string"
  19618. },
  19619. "goodunitid": {
  19620. "description": "交易合约单位id",
  19621. "type": "integer"
  19622. },
  19623. "holdamount": {
  19624. "description": "期末持仓额",
  19625. "type": "number"
  19626. },
  19627. "holdqty": {
  19628. "description": "期末持仓量",
  19629. "type": "number"
  19630. },
  19631. "lastholdamount": {
  19632. "description": "当前持仓额",
  19633. "type": "number"
  19634. },
  19635. "lastprice": {
  19636. "description": "最新价",
  19637. "type": "number"
  19638. },
  19639. "middlegoodsid": {
  19640. "description": "套保品种id",
  19641. "type": "integer"
  19642. },
  19643. "middlegoodsname": {
  19644. "description": "套保商品名称",
  19645. "type": "string"
  19646. },
  19647. "middlegoodsqty": {
  19648. "description": "套保品种期末量 (=交易品种期末量 * 期货品种折算系数)",
  19649. "type": "number"
  19650. },
  19651. "middlgoodscode": {
  19652. "description": "套保商品代码",
  19653. "type": "string"
  19654. },
  19655. "openamount": {
  19656. "description": "期末开仓额",
  19657. "type": "number"
  19658. },
  19659. "openavgprice": {
  19660. "description": "开仓均价",
  19661. "type": "number"
  19662. },
  19663. "oriholdamount": {
  19664. "description": "期初持仓额",
  19665. "type": "number"
  19666. },
  19667. "oriholdqty": {
  19668. "description": "期初持仓量",
  19669. "type": "number"
  19670. },
  19671. "oriopenamount": {
  19672. "description": "期初开仓额",
  19673. "type": "number"
  19674. },
  19675. "outergroupcode": {
  19676. "description": "交易品种代码",
  19677. "type": "string"
  19678. },
  19679. "qtydecimalplace": {
  19680. "description": "成交量小数位",
  19681. "type": "integer"
  19682. },
  19683. "reckondate": {
  19684. "description": "日照时期(yyyyMMdd)",
  19685. "type": "string"
  19686. },
  19687. "reckonholdamount": {
  19688. "description": "结算持仓额",
  19689. "type": "number"
  19690. },
  19691. "reckonpl": {
  19692. "description": "结算损益",
  19693. "type": "number"
  19694. },
  19695. "reckonpl2": {
  19696. "description": "结算逐笔盈亏",
  19697. "type": "number"
  19698. },
  19699. "reckonprice": {
  19700. "description": "结算价",
  19701. "type": "number"
  19702. },
  19703. "relateduserid": {
  19704. "description": "账户关联用户ID",
  19705. "type": "integer"
  19706. },
  19707. "todaycloseamount": {
  19708. "description": "今平仓额",
  19709. "type": "number"
  19710. },
  19711. "todaycloseqty": {
  19712. "description": "今平仓量",
  19713. "type": "number"
  19714. },
  19715. "todaygoodsgroupspotqty": {
  19716. "description": "交易品种变化量 (=(期末持仓量 - 期初持仓量)* 合约乘数)",
  19717. "type": "number"
  19718. },
  19719. "todaymiddlegoodsqty": {
  19720. "description": "套保品种变化量 (= 交易品种变化量*期货品种折算系数)",
  19721. "type": "number"
  19722. },
  19723. "todayopenamount": {
  19724. "description": "今开仓额",
  19725. "type": "number"
  19726. },
  19727. "todayopenqty": {
  19728. "description": "今开仓量",
  19729. "type": "number"
  19730. },
  19731. "userid": {
  19732. "description": "账户所属用户ID",
  19733. "type": "integer"
  19734. }
  19735. }
  19736. },
  19737. "models.Ermcp3Wrstandard": {
  19738. "type": "object",
  19739. "properties": {
  19740. "areauserid": {
  19741. "description": "所属机构",
  19742. "type": "integer"
  19743. },
  19744. "cantrade": {
  19745. "description": "是否允许交易 - 0:不允许 1:允许 -1:未配置(数据库里没有记录)",
  19746. "type": "integer"
  19747. },
  19748. "convertfactor": {
  19749. "description": "标仓系数",
  19750. "type": "number"
  19751. },
  19752. "createtime": {
  19753. "description": "创建时间",
  19754. "type": "string"
  19755. },
  19756. "creatorid": {
  19757. "description": "创建人",
  19758. "type": "integer"
  19759. },
  19760. "deliverygoodsid": {
  19761. "description": "现货品种ID",
  19762. "type": "integer"
  19763. },
  19764. "enumdicname": {
  19765. "description": "品类单位名称",
  19766. "type": "string"
  19767. },
  19768. "isvalid": {
  19769. "description": "是否有效 0-无效(停用) 1-有效(正常)",
  19770. "type": "integer"
  19771. },
  19772. "minivalue": {
  19773. "description": "最小变动值",
  19774. "type": "integer"
  19775. },
  19776. "minivaluedp": {
  19777. "description": "最小变动值小数位",
  19778. "type": "integer"
  19779. },
  19780. "realminivalue": {
  19781. "description": "实际最小变动值",
  19782. "type": "integer"
  19783. },
  19784. "realminivaluedp": {
  19785. "description": "实际最小变动值小数位",
  19786. "type": "integer"
  19787. },
  19788. "remark": {
  19789. "description": "备注",
  19790. "type": "string"
  19791. },
  19792. "unitid": {
  19793. "description": "品类单位ID",
  19794. "type": "integer"
  19795. },
  19796. "updatetime": {
  19797. "description": "更新时间",
  19798. "type": "string"
  19799. },
  19800. "wrstandardcode": {
  19801. "description": "品类代码",
  19802. "type": "string"
  19803. },
  19804. "wrstandardid": {
  19805. "description": "品类ID(SEQ_WRSTANDARD)",
  19806. "type": "integer"
  19807. },
  19808. "wrstandardname": {
  19809. "description": "品类名称",
  19810. "type": "string"
  19811. }
  19812. }
  19813. },
  19814. "models.ErmcpAreaSpotDetailModel": {
  19815. "type": "object",
  19816. "properties": {
  19817. "contracttype": {
  19818. "description": "合同类型 1-采购 -1-销售",
  19819. "type": "integer"
  19820. },
  19821. "createtime": {
  19822. "description": "创建时间",
  19823. "type": "string"
  19824. },
  19825. "enumdicname": {
  19826. "description": "现货商品单位名称",
  19827. "type": "string"
  19828. },
  19829. "logtype": {
  19830. "description": "记录类型 1-套保 2-现货合同",
  19831. "type": "integer"
  19832. },
  19833. "qty": {
  19834. "description": "数量",
  19835. "type": "number"
  19836. },
  19837. "recordname": {
  19838. "description": "类型名称",
  19839. "type": "string"
  19840. },
  19841. "relatedid": {
  19842. "description": "套保计划ID/现货合同ID",
  19843. "type": "string"
  19844. },
  19845. "relatedno": {
  19846. "description": "编号",
  19847. "type": "string"
  19848. },
  19849. "strtime": {
  19850. "description": "时间",
  19851. "type": "string"
  19852. },
  19853. "wrstandardcode": {
  19854. "description": "现货商品代码",
  19855. "type": "string"
  19856. },
  19857. "wrstandardname": {
  19858. "description": "现货商品名称",
  19859. "type": "string"
  19860. }
  19861. }
  19862. },
  19863. "models.ErmcpAvalidGoodsGroupModel": {
  19864. "type": "object",
  19865. "properties": {
  19866. "goodsgroupid": {
  19867. "description": "期货品种id",
  19868. "type": "integer"
  19869. },
  19870. "goodsgroupname": {
  19871. "description": "期货品种名称",
  19872. "type": "string"
  19873. },
  19874. "goodunitid": {
  19875. "description": "品种单位id",
  19876. "type": "integer"
  19877. },
  19878. "goodunitname": {
  19879. "description": "品种单位名称",
  19880. "type": "string"
  19881. },
  19882. "outergroupcode": {
  19883. "description": "期货品种代码",
  19884. "type": "string"
  19885. }
  19886. }
  19887. },
  19888. "models.ErmcpBizGroupEx": {
  19889. "type": "object",
  19890. "properties": {
  19891. "acclist": {
  19892. "description": "账号列表",
  19893. "type": "array",
  19894. "items": {
  19895. "$ref": "#/definitions/models.ErmcpBizGroupTaAccount"
  19896. }
  19897. },
  19898. "bizgroupid": {
  19899. "description": "业务分组id",
  19900. "type": "integer"
  19901. },
  19902. "biztype": {
  19903. "description": "业务类型 1-套保 2-套利",
  19904. "type": "integer"
  19905. },
  19906. "wrlist": {
  19907. "description": "现货商品表",
  19908. "type": "array",
  19909. "items": {
  19910. "$ref": "#/definitions/models.ErmcpBizGroupSpotGoods"
  19911. }
  19912. }
  19913. }
  19914. },
  19915. "models.ErmcpBizGroupSpotGoods": {
  19916. "type": "object",
  19917. "properties": {
  19918. "areauserid": {
  19919. "description": "所属机构id",
  19920. "type": "integer"
  19921. },
  19922. "bizgroupid": {
  19923. "description": "分组id",
  19924. "type": "integer"
  19925. },
  19926. "biztype": {
  19927. "description": "业务类型 1-套保 2-套利",
  19928. "type": "integer"
  19929. },
  19930. "deliverygoodscode": {
  19931. "description": "现货商品代码",
  19932. "type": "string"
  19933. },
  19934. "deliverygoodsid": {
  19935. "description": "现货商品id",
  19936. "type": "integer"
  19937. },
  19938. "deliverygoodsname": {
  19939. "description": "现货商品名称",
  19940. "type": "string"
  19941. },
  19942. "unitid": {
  19943. "description": "现货商品单位id",
  19944. "type": "integer"
  19945. }
  19946. }
  19947. },
  19948. "models.ErmcpBizGroupTaAccount": {
  19949. "type": "object",
  19950. "properties": {
  19951. "accountid": {
  19952. "description": "账号id",
  19953. "type": "integer"
  19954. },
  19955. "accountname": {
  19956. "description": "账号名称",
  19957. "type": "string"
  19958. },
  19959. "areauserid": {
  19960. "description": "所属机构id",
  19961. "type": "integer"
  19962. },
  19963. "bizgroupid": {
  19964. "description": "业务分组id",
  19965. "type": "integer"
  19966. },
  19967. "ismain": {
  19968. "description": "是否主账号 1-是 0-否",
  19969. "type": "integer"
  19970. }
  19971. }
  19972. },
  19973. "models.ErmcpDGFactoryItem": {
  19974. "type": "object",
  19975. "properties": {
  19976. "areauserid": {
  19977. "description": "用户id",
  19978. "type": "integer"
  19979. },
  19980. "deliverygoodsid": {
  19981. "description": "现货品种ID",
  19982. "type": "integer"
  19983. },
  19984. "dgfactoryitemid": {
  19985. "description": "选择项ID(SEQ_DGFACTORYITEM)",
  19986. "type": "integer"
  19987. },
  19988. "dgfactoryitemtypeid": {
  19989. "description": "要素项类型",
  19990. "type": "integer"
  19991. },
  19992. "dgfactoryitemvalue": {
  19993. "description": "要素项值(类型为仓库时填写仓库名称)",
  19994. "type": "string"
  19995. },
  19996. "isvalid": {
  19997. "description": "是否有效 - 0:无效 1:有效",
  19998. "type": "integer"
  19999. },
  20000. "orderindex": {
  20001. "description": "顺序",
  20002. "type": "integer"
  20003. },
  20004. "warehouseid": {
  20005. "description": "仓库ID(类型为仓库时填写)",
  20006. "type": "integer"
  20007. }
  20008. }
  20009. },
  20010. "models.ErmcpDeliveryGoods": {
  20011. "type": "object",
  20012. "properties": {
  20013. "agreeunit": {
  20014. "description": "合约单位[散货时默认为1, 整装时默认为标准数量]",
  20015. "type": "integer"
  20016. },
  20017. "areauserid": {
  20018. "description": "所属机构",
  20019. "type": "integer"
  20020. },
  20021. "auditflag": {
  20022. "description": "交割是否需要审核 - 0:不需要 1:需要审核 默认为0",
  20023. "type": "integer"
  20024. },
  20025. "categoryid": {
  20026. "description": "类别ID(SEQ_WRCATEGORY)",
  20027. "type": "integer"
  20028. },
  20029. "deliverygoodscode": {
  20030. "description": "现货品种代码",
  20031. "type": "string"
  20032. },
  20033. "deliverygoodsid": {
  20034. "description": "现货品种ID(SEQ_DELIVERYGOODS)",
  20035. "type": "integer"
  20036. },
  20037. "deliverygoodsname": {
  20038. "description": "现货品种名称",
  20039. "type": "string"
  20040. },
  20041. "deliverygoodstype": {
  20042. "description": "现货品种类型: 1-整装不拆分 2-散装记录明细 3:整装拆分 4:散装不记录明细",
  20043. "type": "integer"
  20044. },
  20045. "dgstatus": {
  20046. "description": "品种状态 - 作废 - 0:未激活 1:正常",
  20047. "type": "integer"
  20048. },
  20049. "enumdicname": {
  20050. "description": "现货品种单位名称",
  20051. "type": "string"
  20052. },
  20053. "goodsunitid": {
  20054. "description": "现货品种单位ID",
  20055. "type": "integer"
  20056. },
  20057. "isvalid": {
  20058. "description": "是否有效 - 0:无效 1:有效",
  20059. "type": "integer"
  20060. },
  20061. "qtydecimalplace": {
  20062. "description": "成交量小数位",
  20063. "type": "integer"
  20064. },
  20065. "remark": {
  20066. "description": "备注",
  20067. "type": "string"
  20068. },
  20069. "standardqty": {
  20070. "description": "标准数量(库位数量) [标准品特有]",
  20071. "type": "integer"
  20072. },
  20073. "standardqtyrange": {
  20074. "description": "标准数量偏差范围 [标准品特有]",
  20075. "type": "integer"
  20076. }
  20077. }
  20078. },
  20079. "models.ErmcpDeliveryGoodsDetail2": {
  20080. "type": "object",
  20081. "properties": {
  20082. "convertratio": {
  20083. "description": "套保系数(折算系数)",
  20084. "type": "number"
  20085. },
  20086. "data": {
  20087. "description": "现货商品基本信息(交割品种)",
  20088. "type": "object",
  20089. "$ref": "#/definitions/models.ErmcpDeliveryGoods"
  20090. },
  20091. "gblist": {
  20092. "description": "品牌列表",
  20093. "type": "array",
  20094. "items": {
  20095. "$ref": "#/definitions/models.Ermcp3Brand"
  20096. }
  20097. },
  20098. "gmlist": {
  20099. "description": "品类列表(仓单标准)",
  20100. "type": "array",
  20101. "items": {
  20102. "$ref": "#/definitions/models.Ermcp3Wrstandard"
  20103. }
  20104. }
  20105. }
  20106. },
  20107. "models.ErmcpDeliveryGoodsDetailEx": {
  20108. "type": "object",
  20109. "properties": {
  20110. "data": {
  20111. "description": "现货商品基本信息(交割品种)",
  20112. "type": "object",
  20113. "$ref": "#/definitions/models.ErmcpDeliveryGoods"
  20114. },
  20115. "gblist": {
  20116. "description": "品牌列表",
  20117. "type": "array",
  20118. "items": {
  20119. "$ref": "#/definitions/models.Ermcp3Brand"
  20120. }
  20121. },
  20122. "gmlist": {
  20123. "description": "品类列表(仓单标准)",
  20124. "type": "array",
  20125. "items": {
  20126. "$ref": "#/definitions/models.Ermcp3Wrstandard"
  20127. }
  20128. },
  20129. "mgList": {
  20130. "description": "套保列表",
  20131. "type": "array",
  20132. "items": {
  20133. "$ref": "#/definitions/models.Ermcp3MiddleGoodsDetail2"
  20134. }
  20135. }
  20136. }
  20137. },
  20138. "models.ErmcpExposureDetailModel": {
  20139. "type": "object",
  20140. "properties": {
  20141. "areauserid": {
  20142. "description": "机构ID",
  20143. "type": "integer"
  20144. },
  20145. "changeQty": {
  20146. "description": "套保变动量",
  20147. "type": "number"
  20148. },
  20149. "contracttype": {
  20150. "description": "现货合同类型 - 1:采购 -1:销售",
  20151. "type": "integer"
  20152. },
  20153. "convertfactor": {
  20154. "description": "标仓系数",
  20155. "type": "number"
  20156. },
  20157. "convertratio": {
  20158. "description": "套保系数",
  20159. "type": "number"
  20160. },
  20161. "createtime": {
  20162. "description": "时间",
  20163. "type": "string"
  20164. },
  20165. "enumdicname": {
  20166. "description": "现货商品单位名称",
  20167. "type": "string"
  20168. },
  20169. "logtype": {
  20170. "description": "类型 - 1:套保计划 2:现货合同",
  20171. "type": "integer"
  20172. },
  20173. "middlegoodsId": {
  20174. "description": "套保商品id",
  20175. "type": "integer"
  20176. },
  20177. "middlegoodscode": {
  20178. "description": "套保商品代码",
  20179. "type": "string"
  20180. },
  20181. "middlegoodsname": {
  20182. "description": "套保商品名称",
  20183. "type": "string"
  20184. },
  20185. "qty": {
  20186. "description": "数量",
  20187. "type": "number"
  20188. },
  20189. "relateNo": {
  20190. "description": "现货合同/套保计划编号",
  20191. "type": "string"
  20192. },
  20193. "wrstandardcode": {
  20194. "description": "现货商品代码",
  20195. "type": "string"
  20196. },
  20197. "wrstandardid": {
  20198. "description": "现货商品ID",
  20199. "type": "integer"
  20200. },
  20201. "wrstandardname": {
  20202. "description": "现货商品名称",
  20203. "type": "string"
  20204. }
  20205. }
  20206. },
  20207. "models.ErmcpExposurePostion": {
  20208. "type": "object",
  20209. "properties": {
  20210. "agreeunit": {
  20211. "description": "合约单位",
  20212. "type": "string"
  20213. },
  20214. "areauserid": {
  20215. "description": "所属机构id",
  20216. "type": "integer"
  20217. },
  20218. "convertratio": {
  20219. "description": "期货品种系数(折算系数)",
  20220. "type": "number"
  20221. },
  20222. "curqty": {
  20223. "description": "当前持仓",
  20224. "type": "integer"
  20225. },
  20226. "diffhedgeqty": {
  20227. "description": "套保品种变动量=持仓变动量*期货合约单位*期货品种系数",
  20228. "type": "number"
  20229. },
  20230. "diffqty": {
  20231. "description": "持仓变动量=当前持仓-昨日持仓",
  20232. "type": "integer"
  20233. },
  20234. "goodscode": {
  20235. "description": "商品代码",
  20236. "type": "string"
  20237. },
  20238. "goodsid": {
  20239. "description": "商品id",
  20240. "type": "integer"
  20241. },
  20242. "goodsname": {
  20243. "description": "商品名称",
  20244. "type": "string"
  20245. },
  20246. "middlegoodsid": {
  20247. "description": "套保商品id",
  20248. "type": "integer"
  20249. },
  20250. "ydqty": {
  20251. "description": "昨日持仓",
  20252. "type": "integer"
  20253. }
  20254. }
  20255. },
  20256. "models.ErmcpFuturesCompany": {
  20257. "type": "object",
  20258. "properties": {
  20259. "brokerid": {
  20260. "description": "经纪公司代码",
  20261. "type": "string"
  20262. },
  20263. "channeladdress": {
  20264. "description": "对冲渠道服务地址(多个地址用逗号分隔) -- 192.168.30.10:3000,192.168.30.10:3001",
  20265. "type": "string"
  20266. },
  20267. "channelid": {
  20268. "description": "对冲渠道ID",
  20269. "type": "string"
  20270. },
  20271. "createtime": {
  20272. "description": "创建时间",
  20273. "type": "string"
  20274. },
  20275. "creatorid": {
  20276. "description": "创建人",
  20277. "type": "string"
  20278. },
  20279. "fcid": {
  20280. "description": "期货公司ID(SEQ_ERMCP_FUTURESCOMPANY)",
  20281. "type": "integer"
  20282. },
  20283. "fcname": {
  20284. "description": "期货公司名称",
  20285. "type": "string"
  20286. },
  20287. "isvalid": {
  20288. "description": "是否有效 - 0:无效 1:有效",
  20289. "type": "integer"
  20290. },
  20291. "mhpaddress": {
  20292. "description": "MHP服务地址(IP:Port)",
  20293. "type": "string"
  20294. },
  20295. "riskrulegroupid": {
  20296. "description": "风控规则组ID",
  20297. "type": "string"
  20298. },
  20299. "tradefeetmpid": {
  20300. "description": "手续费模板ID[TradeConfigTmpType为2]",
  20301. "type": "string"
  20302. },
  20303. "trademargintmpid": {
  20304. "description": "保证金模板ID [TradeConfigTmpType为1]",
  20305. "type": "string"
  20306. },
  20307. "traderatetmpid": {
  20308. "description": "汇率模板ID[TradeConfigTmpType为3]",
  20309. "type": "string"
  20310. },
  20311. "updatetime": {
  20312. "description": "更新时间",
  20313. "type": "string"
  20314. },
  20315. "updatorid": {
  20316. "description": "更新人",
  20317. "type": "string"
  20318. }
  20319. }
  20320. },
  20321. "models.ErmcpGGConvertCfg": {
  20322. "type": "object",
  20323. "properties": {
  20324. "convertratio": {
  20325. "description": "折算系数",
  20326. "type": "number"
  20327. },
  20328. "destgoodsgroupid": {
  20329. "description": "目标品种ID",
  20330. "type": "integer"
  20331. },
  20332. "dstcode": {
  20333. "description": "目录品种代码",
  20334. "type": "string"
  20335. },
  20336. "dstexchangecode": {
  20337. "description": "目标期货交易所",
  20338. "type": "string"
  20339. },
  20340. "dstname": {
  20341. "description": "目标品种名称",
  20342. "type": "string"
  20343. },
  20344. "dstunitid": {
  20345. "description": "目标品种单位ID",
  20346. "type": "integer"
  20347. },
  20348. "dstunitidname": {
  20349. "description": "目标品种单位名称",
  20350. "type": "string"
  20351. },
  20352. "modifytime": {
  20353. "description": "修改时间",
  20354. "type": "string"
  20355. },
  20356. "srccode": {
  20357. "description": "源品种代码",
  20358. "type": "string"
  20359. },
  20360. "srcexchangecode": {
  20361. "description": "源期货交易所",
  20362. "type": "string"
  20363. },
  20364. "srcgoodsgroupid": {
  20365. "description": "源品种ID",
  20366. "type": "integer"
  20367. },
  20368. "srcname": {
  20369. "description": "源品种名称",
  20370. "type": "string"
  20371. },
  20372. "srcunitid": {
  20373. "description": "源品种单位ID",
  20374. "type": "integer"
  20375. },
  20376. "srcunitidname": {
  20377. "description": "源品种单位名称",
  20378. "type": "string"
  20379. }
  20380. }
  20381. },
  20382. "models.ErmcpGoods": {
  20383. "type": "object",
  20384. "required": [
  20385. "goodscode",
  20386. "goodsid",
  20387. "goodsname",
  20388. "marketid"
  20389. ],
  20390. "properties": {
  20391. "agreeunit": {
  20392. "description": "合约单位",
  20393. "type": "number"
  20394. },
  20395. "areauserid": {
  20396. "description": "所属机构",
  20397. "type": "integer"
  20398. },
  20399. "auditaccountid": {
  20400. "description": "审核操作员账号",
  20401. "type": "integer"
  20402. },
  20403. "audittime": {
  20404. "description": "审核时间",
  20405. "type": "string"
  20406. },
  20407. "cancelaccountid": {
  20408. "description": "注销操作员账号",
  20409. "type": "integer"
  20410. },
  20411. "canceltime": {
  20412. "description": "注销时间",
  20413. "type": "string"
  20414. },
  20415. "closepricemode": {
  20416. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  20417. "type": "integer"
  20418. },
  20419. "closepriceparam": {
  20420. "description": "强平最新价浮动比例 - 方式为2时使用 (\u003c1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价",
  20421. "type": "number"
  20422. },
  20423. "createtime": {
  20424. "description": "创建时间",
  20425. "type": "string"
  20426. },
  20427. "creatorid": {
  20428. "description": "创建人",
  20429. "type": "integer"
  20430. },
  20431. "currencyid": {
  20432. "description": "报价货币ID",
  20433. "type": "integer"
  20434. },
  20435. "cutmode": {
  20436. "description": "斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓",
  20437. "type": "integer"
  20438. },
  20439. "decimalplace": {
  20440. "description": "报价小数位",
  20441. "type": "integer"
  20442. },
  20443. "delistingdate": {
  20444. "description": "商品退市时间(状态:退市) -- 已作废",
  20445. "type": "string"
  20446. },
  20447. "delistingmode": {
  20448. "description": "退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\\币币兑换)",
  20449. "type": "integer"
  20450. },
  20451. "deliveryflag": {
  20452. "description": "交割标志 - 0:不可交割 1:可交割",
  20453. "type": "integer"
  20454. },
  20455. "enumdicname": {
  20456. "description": "单位名称",
  20457. "type": "string"
  20458. },
  20459. "forceclosemode": {
  20460. "description": "定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]",
  20461. "type": "integer"
  20462. },
  20463. "forceclosevalue": {
  20464. "description": "定期强平参数 [收益权]",
  20465. "type": "integer"
  20466. },
  20467. "goodscode": {
  20468. "description": "商品代码(内部)",
  20469. "type": "string"
  20470. },
  20471. "goodscurrencyid": {
  20472. "description": "合约货币ID",
  20473. "type": "integer"
  20474. },
  20475. "goodsgroupid": {
  20476. "description": "所属商品组ID",
  20477. "type": "integer"
  20478. },
  20479. "goodsid": {
  20480. "description": "商品ID(自增ID SEQ_GOODS)",
  20481. "type": "integer"
  20482. },
  20483. "goodsname": {
  20484. "description": "商品名称",
  20485. "type": "string"
  20486. },
  20487. "goodsquotetype": {
  20488. "description": "合约报价类型: 1-直接报价 2-间接报价",
  20489. "type": "integer"
  20490. },
  20491. "goodsstatus": {
  20492. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  20493. "type": "integer"
  20494. },
  20495. "goodstradetype": {
  20496. "description": "商品交易权限类型 - 1:可建可平 3:不可建可平",
  20497. "type": "integer"
  20498. },
  20499. "goodunitid": {
  20500. "description": "报价单位ID",
  20501. "type": "integer"
  20502. },
  20503. "hasquoter": {
  20504. "description": "是否有报价商 - 0:无报价商 1:有报价商",
  20505. "type": "integer"
  20506. },
  20507. "hqprotecttime": {
  20508. "description": "行情保护时间(秒)",
  20509. "type": "integer"
  20510. },
  20511. "innerdealmode": {
  20512. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  20513. "type": "integer"
  20514. },
  20515. "isbuylimited": {
  20516. "description": "是否限制建仓量 - 0:不限制 1:限制",
  20517. "type": "integer"
  20518. },
  20519. "isvisible": {
  20520. "description": "游客是否可见 - 0:不可见 1:可见",
  20521. "type": "integer"
  20522. },
  20523. "lasttradedate": {
  20524. "description": "最后交易日期(状态:待退市)",
  20525. "type": "string"
  20526. },
  20527. "listingdate": {
  20528. "description": "交易开始日期",
  20529. "type": "string"
  20530. },
  20531. "marketid": {
  20532. "description": "所属市场ID",
  20533. "type": "integer"
  20534. },
  20535. "modifierid": {
  20536. "description": "修改人",
  20537. "type": "integer"
  20538. },
  20539. "modifystatus": {
  20540. "description": "变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核",
  20541. "type": "integer"
  20542. },
  20543. "modifytime": {
  20544. "description": "修改时间",
  20545. "type": "string"
  20546. },
  20547. "outerdealmode": {
  20548. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  20549. "type": "integer"
  20550. },
  20551. "outgoodscode": {
  20552. "description": "商品代码(外部)",
  20553. "type": "string"
  20554. },
  20555. "pictureurl": {
  20556. "description": "商品图片",
  20557. "type": "string"
  20558. },
  20559. "qtydecimalplace": {
  20560. "description": "成交量小数位",
  20561. "type": "integer"
  20562. },
  20563. "quotegear": {
  20564. "description": "行情档位(1-10)",
  20565. "type": "integer"
  20566. },
  20567. "quoteminunit": {
  20568. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  20569. "type": "integer"
  20570. },
  20571. "quoteshowtype": {
  20572. "description": "行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价",
  20573. "type": "integer"
  20574. },
  20575. "quoteshowtypeinterval": {
  20576. "description": "行情报价间隔时间(秒)(成交价时为0)",
  20577. "type": "integer"
  20578. },
  20579. "relatedgoodsid": {
  20580. "description": "关联参考商品ID",
  20581. "type": "integer"
  20582. },
  20583. "remark": {
  20584. "description": "备注",
  20585. "type": "string"
  20586. },
  20587. "trademode": {
  20588. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  20589. "type": "integer"
  20590. }
  20591. }
  20592. },
  20593. "models.ErmcpGoodsBrand": {
  20594. "type": "object",
  20595. "properties": {
  20596. "areauserid": {
  20597. "description": "所属机构",
  20598. "type": "integer"
  20599. },
  20600. "brandid": {
  20601. "description": "BrandID(SEQ_SPOTGOODSBRAND)",
  20602. "type": "integer"
  20603. },
  20604. "brandname": {
  20605. "description": "品牌名称",
  20606. "type": "string"
  20607. },
  20608. "createtime": {
  20609. "description": "创建时间",
  20610. "type": "string"
  20611. },
  20612. "creatorid": {
  20613. "description": "创建人",
  20614. "type": "integer"
  20615. },
  20616. "creatorsrc": {
  20617. "description": "创建人来源 - 1:管理端 2:终端",
  20618. "type": "integer"
  20619. },
  20620. "deliverygoodsid": {
  20621. "description": "现货品种ID",
  20622. "type": "integer"
  20623. },
  20624. "isvalid": {
  20625. "description": "是否有效 - 0:无效 1:有效",
  20626. "type": "integer"
  20627. },
  20628. "updatetime": {
  20629. "description": "更新时间",
  20630. "type": "string"
  20631. },
  20632. "updatorid": {
  20633. "description": "更新人",
  20634. "type": "integer"
  20635. },
  20636. "updatorsrc": {
  20637. "description": "更新人来源 - 1:管理端 2:终端",
  20638. "type": "integer"
  20639. },
  20640. "wrstandardid": {
  20641. "description": "现货商品ID",
  20642. "type": "integer"
  20643. }
  20644. }
  20645. },
  20646. "models.ErmcpGoodsModel": {
  20647. "type": "object",
  20648. "properties": {
  20649. "areauserid": {
  20650. "description": "所属机构",
  20651. "type": "integer"
  20652. },
  20653. "convertfactor": {
  20654. "description": "标仓系数",
  20655. "type": "number"
  20656. },
  20657. "createtime": {
  20658. "description": "创建时间",
  20659. "type": "string"
  20660. },
  20661. "creatorid": {
  20662. "description": "创建人",
  20663. "type": "integer"
  20664. },
  20665. "creatorsrc": {
  20666. "description": "创建人来源 - 1:管理端 2:终端",
  20667. "type": "integer"
  20668. },
  20669. "deliverygoodsid": {
  20670. "description": "现货品种ID",
  20671. "type": "integer"
  20672. },
  20673. "isvalid": {
  20674. "description": "是否有效 - 0:无效 1:有效",
  20675. "type": "integer"
  20676. },
  20677. "modelid": {
  20678. "description": "ModelID(SEQ_SPOTGOODSMODEL)",
  20679. "type": "integer"
  20680. },
  20681. "modelname": {
  20682. "description": "型号名称",
  20683. "type": "string"
  20684. },
  20685. "updatetime": {
  20686. "description": "更新时间",
  20687. "type": "string"
  20688. },
  20689. "updatorid": {
  20690. "description": "更新人",
  20691. "type": "integer"
  20692. },
  20693. "updatorsrc": {
  20694. "description": "更新人来源 - 1:管理端 2:终端",
  20695. "type": "integer"
  20696. },
  20697. "wrstandardid": {
  20698. "description": "现货商品ID",
  20699. "type": "integer"
  20700. }
  20701. }
  20702. },
  20703. "models.ErmcpHedgePosition": {
  20704. "type": "object",
  20705. "properties": {
  20706. "accountid": {
  20707. "description": "资金账号[外部母账户]",
  20708. "type": "integer"
  20709. },
  20710. "curbuyposition": {
  20711. "description": "期末买头寸",
  20712. "type": "integer"
  20713. },
  20714. "cursellposition": {
  20715. "description": "期末卖头寸",
  20716. "type": "integer"
  20717. },
  20718. "curtdbuyposition": {
  20719. "description": "期末今日买头寸",
  20720. "type": "integer"
  20721. },
  20722. "curtdsellposition": {
  20723. "description": "期末今日卖头寸",
  20724. "type": "integer"
  20725. },
  20726. "curydbuyposition": {
  20727. "description": "期末上日买头寸",
  20728. "type": "integer"
  20729. },
  20730. "curydsellposition": {
  20731. "description": "期末上日卖头寸",
  20732. "type": "integer"
  20733. },
  20734. "decreaseqty": {
  20735. "description": "减少数量 = (期末卖头寸 - 期初卖头寸)*-1",
  20736. "type": "integer"
  20737. },
  20738. "fretdbuyposition": {
  20739. "description": "冻结今日买头寸",
  20740. "type": "integer"
  20741. },
  20742. "fretdsellposition": {
  20743. "description": "冻结今日卖头寸",
  20744. "type": "integer"
  20745. },
  20746. "freydbuyposition": {
  20747. "description": "冻结上日买头寸",
  20748. "type": "integer"
  20749. },
  20750. "freydsellposition": {
  20751. "description": "冻结上日卖头寸",
  20752. "type": "integer"
  20753. },
  20754. "goodscode": {
  20755. "description": "商品代码",
  20756. "type": "string"
  20757. },
  20758. "goodsid": {
  20759. "description": "商品id",
  20760. "type": "integer"
  20761. },
  20762. "goodsname": {
  20763. "description": "商品名称",
  20764. "type": "string"
  20765. },
  20766. "hedgeaccountcode": {
  20767. "description": "对冲账号",
  20768. "type": "string"
  20769. },
  20770. "hedgegoodsid": {
  20771. "description": "对冲合约ID",
  20772. "type": "integer"
  20773. },
  20774. "increaseqty": {
  20775. "description": "增加数量 = 期末买头寸 - 期初买头寸",
  20776. "type": "integer"
  20777. },
  20778. "marketid": {
  20779. "description": "市场ID",
  20780. "type": "integer"
  20781. },
  20782. "relateduserid": {
  20783. "description": "关联用户id",
  20784. "type": "integer"
  20785. },
  20786. "totalcurqty": {
  20787. "description": "当前数量(净头寸) = 期末买头寸 - 期末卖头寸",
  20788. "type": "integer"
  20789. },
  20790. "totalydqty": {
  20791. "description": "昨日数量(净头寸) = 期初买头寸 - 期初卖头寸",
  20792. "type": "integer"
  20793. },
  20794. "tradedate": {
  20795. "description": "交易日(yyyyMMdd)",
  20796. "type": "string"
  20797. },
  20798. "ydbuyposition": {
  20799. "description": "期初买头寸",
  20800. "type": "integer"
  20801. },
  20802. "ydsellposition": {
  20803. "description": "期初卖头寸",
  20804. "type": "integer"
  20805. }
  20806. }
  20807. },
  20808. "models.ErmcpHedgePositionDetail": {
  20809. "type": "object",
  20810. "properties": {
  20811. "buyorsell": {
  20812. "description": "买卖方向 0-买 1-卖",
  20813. "type": "integer"
  20814. },
  20815. "channelbuildtype": {
  20816. "description": "开平方向 1-建仓 2-平仓",
  20817. "type": "integer"
  20818. },
  20819. "goodscode": {
  20820. "description": "商品代码",
  20821. "type": "string"
  20822. },
  20823. "goodsname": {
  20824. "description": "商品名称",
  20825. "type": "string"
  20826. },
  20827. "hedgegoodsid": {
  20828. "description": "商品id",
  20829. "type": "integer"
  20830. },
  20831. "tradeqty": {
  20832. "description": "数量(成交数量)",
  20833. "type": "integer"
  20834. },
  20835. "tradetime": {
  20836. "description": "时间(成交时间)",
  20837. "type": "string"
  20838. }
  20839. }
  20840. },
  20841. "models.ErmcpHisExposure": {
  20842. "type": "object",
  20843. "properties": {
  20844. "needhedgeexposoure": {
  20845. "description": "应套保敞口",
  20846. "type": "number"
  20847. },
  20848. "reckondate": {
  20849. "description": "日照时期(yyyyMMdd)",
  20850. "type": "string"
  20851. },
  20852. "totalexposure": {
  20853. "description": "总敞口",
  20854. "type": "number"
  20855. }
  20856. }
  20857. },
  20858. "models.ErmcpHisExposureS": {
  20859. "type": "object",
  20860. "properties": {
  20861. "data": {
  20862. "description": "历史敞口",
  20863. "type": "array",
  20864. "items": {
  20865. "$ref": "#/definitions/models.ErmcpHisExposure"
  20866. }
  20867. },
  20868. "enumdicname": {
  20869. "description": "单位名称",
  20870. "type": "string"
  20871. },
  20872. "middlegoodscode": {
  20873. "description": "套保品种代码",
  20874. "type": "string"
  20875. },
  20876. "middlegoodsid": {
  20877. "description": "套保品种ID",
  20878. "type": "integer"
  20879. },
  20880. "middlegoodsname": {
  20881. "description": "套保品种名称",
  20882. "type": "string"
  20883. }
  20884. }
  20885. },
  20886. "models.ErmcpLoginTaAccount": {
  20887. "type": "object",
  20888. "properties": {
  20889. "accountid": {
  20890. "description": "账号id",
  20891. "type": "integer"
  20892. },
  20893. "accountname": {
  20894. "description": "账号名称",
  20895. "type": "string"
  20896. }
  20897. }
  20898. },
  20899. "models.ErmcpLoginUser": {
  20900. "type": "object",
  20901. "properties": {
  20902. "acclist": {
  20903. "description": "关联资金账号",
  20904. "type": "array",
  20905. "items": {
  20906. "$ref": "#/definitions/models.ErmcpLoginTaAccount"
  20907. }
  20908. },
  20909. "accountname": {
  20910. "description": "用户名称",
  20911. "type": "string"
  20912. },
  20913. "clientroleid": {
  20914. "description": "角色id(usertype=2)",
  20915. "type": "integer"
  20916. },
  20917. "createtime": {
  20918. "description": "创建时间",
  20919. "type": "string"
  20920. },
  20921. "logincode": {
  20922. "description": "登录代码",
  20923. "type": "string"
  20924. },
  20925. "loginid": {
  20926. "description": "登录id(LOGINID)",
  20927. "type": "integer"
  20928. },
  20929. "loginname": {
  20930. "description": "登录名称(loginaccount表中的accountname字段)",
  20931. "type": "string"
  20932. },
  20933. "loginstatus": {
  20934. "description": "登录账户状态 - 1:正常 2:冻结 3:无效",
  20935. "type": "integer"
  20936. },
  20937. "memberuserid": {
  20938. "description": "所属会员id",
  20939. "type": "integer"
  20940. },
  20941. "mobile": {
  20942. "description": "手机号",
  20943. "type": "string"
  20944. },
  20945. "modifytime": {
  20946. "description": "修改时间",
  20947. "type": "string"
  20948. },
  20949. "password": {
  20950. "description": "密码(不可解密)",
  20951. "type": "string"
  20952. },
  20953. "rolename": {
  20954. "description": "角色名称",
  20955. "type": "string"
  20956. },
  20957. "rolestatus": {
  20958. "description": "角色状态 1-启用 2-停用",
  20959. "type": "integer"
  20960. },
  20961. "roletype": {
  20962. "description": "角色类型(逗号隔开,如22,23), 22:业务员 23:跟单员 24:交易员",
  20963. "type": "string"
  20964. },
  20965. "userid": {
  20966. "description": "用户id",
  20967. "type": "integer"
  20968. },
  20969. "usertype": {
  20970. "description": "用户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  20971. "type": "integer"
  20972. }
  20973. }
  20974. },
  20975. "models.ErmcpLoginUserEx": {
  20976. "type": "object",
  20977. "properties": {
  20978. "accountstatus": {
  20979. "description": "账户的状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  20980. "type": "integer"
  20981. },
  20982. "mobile": {
  20983. "description": "手机号",
  20984. "type": "string"
  20985. },
  20986. "querytype": {
  20987. "description": "查询类型 1-业务账户 2-交易账户 3-管理账户",
  20988. "type": "integer"
  20989. },
  20990. "roleid": {
  20991. "description": "角色id(交易账户-\u003e用户id)",
  20992. "type": "integer"
  20993. },
  20994. "rolename": {
  20995. "description": "角色名称(交易账户-\u003e用户名称)",
  20996. "type": "string"
  20997. },
  20998. "userlist": {
  20999. "description": "用户列表",
  21000. "type": "array",
  21001. "items": {
  21002. "$ref": "#/definitions/models.ErmcpLoginUser"
  21003. }
  21004. },
  21005. "usertype": {
  21006. "description": "用户类型 2-机构 7-企业成员(云平台)",
  21007. "type": "integer"
  21008. }
  21009. }
  21010. },
  21011. "models.ErmcpMiddleGoodsChangeLog": {
  21012. "type": "object",
  21013. "properties": {
  21014. "aftervalue": {
  21015. "description": "变更后",
  21016. "type": "number"
  21017. },
  21018. "applyid": {
  21019. "description": "操作人",
  21020. "type": "integer"
  21021. },
  21022. "applyname": {
  21023. "description": "操作人名称",
  21024. "type": "string"
  21025. },
  21026. "applysrc": {
  21027. "description": "操作来源 - 1:管理端 2:终端",
  21028. "type": "integer"
  21029. },
  21030. "beforevalue": {
  21031. "description": "变更前",
  21032. "type": "number"
  21033. },
  21034. "changelogtype": {
  21035. "description": "变更流水类型 - 1:套保比率变更",
  21036. "type": "integer"
  21037. },
  21038. "handlestatus": {
  21039. "description": "处理状态",
  21040. "type": "integer"
  21041. },
  21042. "logdatetime": {
  21043. "description": "流水日期",
  21044. "type": "string"
  21045. },
  21046. "logid": {
  21047. "description": "流水ID",
  21048. "type": "integer"
  21049. },
  21050. "logremark": {
  21051. "description": "流水备注",
  21052. "type": "string"
  21053. },
  21054. "middlegoodsid": {
  21055. "description": "套保品种ID",
  21056. "type": "integer"
  21057. },
  21058. "tradedate": {
  21059. "description": "交易日(yyyyMMdd)",
  21060. "type": "string"
  21061. },
  21062. "updatetime": {
  21063. "description": "更新时间",
  21064. "type": "string"
  21065. }
  21066. }
  21067. },
  21068. "models.ErmcpMiddleGoodsDetail": {
  21069. "type": "object",
  21070. "properties": {
  21071. "cvList": {
  21072. "description": "期货品种折算列表",
  21073. "type": "array",
  21074. "items": {
  21075. "$ref": "#/definitions/models.ErmcpGGConvertCfg"
  21076. }
  21077. },
  21078. "mg": {
  21079. "description": "套保品种基本信息",
  21080. "type": "object",
  21081. "$ref": "#/definitions/models.ErmcpMiddleGoodsModel"
  21082. },
  21083. "wrcList": {
  21084. "description": "现货品种列表(现货商品折算配置)",
  21085. "type": "array",
  21086. "items": {
  21087. "$ref": "#/definitions/models.WRSConverTDetail"
  21088. }
  21089. }
  21090. }
  21091. },
  21092. "models.ErmcpMiddleGoodsModel": {
  21093. "type": "object",
  21094. "properties": {
  21095. "areauserid": {
  21096. "description": "机构用户ID",
  21097. "type": "integer"
  21098. },
  21099. "createtime": {
  21100. "description": "修改时间",
  21101. "type": "string"
  21102. },
  21103. "enumdicname": {
  21104. "description": "单位名称",
  21105. "type": "string"
  21106. },
  21107. "evaluateratio": {
  21108. "description": "估价系数",
  21109. "type": "number"
  21110. },
  21111. "goodsgroupid": {
  21112. "description": "关联期货品种ID",
  21113. "type": "integer"
  21114. },
  21115. "goodsunitid": {
  21116. "description": "单位ID",
  21117. "type": "integer"
  21118. },
  21119. "isvalid": {
  21120. "description": "状态 0-无效(停用) 1-有效(正常)",
  21121. "type": "integer"
  21122. },
  21123. "middlegoodscode": {
  21124. "description": "套保品种代码",
  21125. "type": "string"
  21126. },
  21127. "middlegoodsid": {
  21128. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  21129. "type": "integer"
  21130. },
  21131. "middlegoodsname": {
  21132. "description": "套保品种名称",
  21133. "type": "string"
  21134. },
  21135. "modifytime": {
  21136. "description": "修改时间",
  21137. "type": "string"
  21138. },
  21139. "needarbitrageratio": {
  21140. "description": "套利比例",
  21141. "type": "number"
  21142. },
  21143. "needhedgeratio": {
  21144. "description": "套保比率",
  21145. "type": "number"
  21146. },
  21147. "qtydecimalplace": {
  21148. "description": "数量小数位",
  21149. "type": "integer"
  21150. },
  21151. "relatedgoodsid": {
  21152. "description": "关联交易商品ID",
  21153. "type": "integer"
  21154. },
  21155. "relatedgoodstype": {
  21156. "description": "关联商品类型 - 1:期货合约 2:现货品种",
  21157. "type": "integer"
  21158. },
  21159. "remark": {
  21160. "description": "备注",
  21161. "type": "string"
  21162. }
  21163. }
  21164. },
  21165. "models.ErmcpMiddlegoodsRelateGoods": {
  21166. "type": "object",
  21167. "properties": {
  21168. "agreeunit": {
  21169. "description": "合约乘数",
  21170. "type": "number"
  21171. },
  21172. "convertratio": {
  21173. "description": "折算系数",
  21174. "type": "number"
  21175. },
  21176. "enumdicname": {
  21177. "description": "单位名称(交易商品)",
  21178. "type": "string"
  21179. },
  21180. "goodscode": {
  21181. "description": "交易商品代码",
  21182. "type": "string"
  21183. },
  21184. "goodsgroupid": {
  21185. "description": "交易品种id",
  21186. "type": "integer"
  21187. },
  21188. "goodsid": {
  21189. "description": "商品Id",
  21190. "type": "integer"
  21191. },
  21192. "goodsname": {
  21193. "description": "交易商品名称",
  21194. "type": "string"
  21195. },
  21196. "goodunitid": {
  21197. "description": "交易商品单位id",
  21198. "type": "integer"
  21199. },
  21200. "middlegoodsid": {
  21201. "description": "套保商品id",
  21202. "type": "integer"
  21203. },
  21204. "middlegoodsname": {
  21205. "description": "套保商品名称",
  21206. "type": "string"
  21207. },
  21208. "middlegoodsswcode": {
  21209. "description": "套保商品代码",
  21210. "type": "string"
  21211. },
  21212. "needarbitrageratio": {
  21213. "description": "应套利比例",
  21214. "type": "number"
  21215. },
  21216. "needhedgeratio": {
  21217. "description": "应套保比例",
  21218. "type": "number"
  21219. }
  21220. }
  21221. },
  21222. "models.ErmcpOPLogModel": {
  21223. "type": "object",
  21224. "properties": {
  21225. "aftervalue": {
  21226. "description": "变更后",
  21227. "type": "number"
  21228. },
  21229. "applyid": {
  21230. "description": "操作人ID",
  21231. "type": "string"
  21232. },
  21233. "applyname": {
  21234. "description": "操作人名称",
  21235. "type": "string"
  21236. },
  21237. "beforevalue": {
  21238. "description": "变更前",
  21239. "type": "number"
  21240. },
  21241. "biztype": {
  21242. "description": "业务类型 - 1:套保计划 2:现货合同",
  21243. "type": "integer"
  21244. },
  21245. "contracttype": {
  21246. "description": "现货合同类型 - 1:采购 -1:销售",
  21247. "type": "integer"
  21248. },
  21249. "logvalue": {
  21250. "description": "数值",
  21251. "type": "number"
  21252. },
  21253. "operatelogtype": {
  21254. "description": "操作流水类型",
  21255. "type": "integer"
  21256. },
  21257. "operatelogtypedesc": {
  21258. "description": "操作流水类型名称",
  21259. "type": "string"
  21260. },
  21261. "relatedid": {
  21262. "description": "现货合同ID\\套保计划",
  21263. "type": "string"
  21264. },
  21265. "updatetime": {
  21266. "description": "更新时间",
  21267. "type": "string"
  21268. }
  21269. }
  21270. },
  21271. "models.ErmcpPendingAudit": {
  21272. "type": "object",
  21273. "properties": {
  21274. "areastockqty": {
  21275. "description": "待审核数量: 库存申请",
  21276. "type": "integer"
  21277. },
  21278. "businessdjqty": {
  21279. "description": "待审核数量: 点价",
  21280. "type": "integer"
  21281. },
  21282. "businessfpqty": {
  21283. "description": "待审核数量: 发票",
  21284. "type": "integer"
  21285. },
  21286. "businessjsqty": {
  21287. "description": "待审核数量: 结算",
  21288. "type": "integer"
  21289. },
  21290. "businesskxqty": {
  21291. "description": "待审核数量: 款项",
  21292. "type": "integer"
  21293. },
  21294. "hedgeplanqty": {
  21295. "description": "待审核数量: 套保计划",
  21296. "type": "integer"
  21297. },
  21298. "spotcontractqty": {
  21299. "description": "待审核数量: 现货合同",
  21300. "type": "integer"
  21301. },
  21302. "userqty": {
  21303. "description": "待审核数量: 用户",
  21304. "type": "integer"
  21305. }
  21306. }
  21307. },
  21308. "models.ErmcpRealExposureModel": {
  21309. "type": "object",
  21310. "properties": {
  21311. "AreaUserID": {
  21312. "description": "所属机构",
  21313. "type": "integer"
  21314. },
  21315. "BuyFutureQty": {
  21316. "description": "买入期货数量",
  21317. "type": "number"
  21318. },
  21319. "BuyPlanQty": {
  21320. "description": "采购计划数量",
  21321. "type": "number"
  21322. },
  21323. "BuyPricedQty": {
  21324. "description": "采购合同已定价数量",
  21325. "type": "number"
  21326. },
  21327. "MiddleGoodsCode": {
  21328. "description": "套保品种代码",
  21329. "type": "string"
  21330. },
  21331. "MiddleGoodsHedgeRatio": {
  21332. "description": "套保比例",
  21333. "type": "number"
  21334. },
  21335. "MiddleGoodsID": {
  21336. "description": "套保品种",
  21337. "type": "integer"
  21338. },
  21339. "MiddleGoodsName": {
  21340. "description": "套保品种名称",
  21341. "type": "string"
  21342. },
  21343. "NeedHedgeExposoure": {
  21344. "description": "应套保敞口(套保敞口)",
  21345. "type": "number"
  21346. },
  21347. "NeedHedgeRatio": {
  21348. "description": "应套保敞口比例",
  21349. "type": "number"
  21350. },
  21351. "OriBuyFutureQty": {
  21352. "description": "期初买入期货数量",
  21353. "type": "number"
  21354. },
  21355. "OriBuyPlanQty": {
  21356. "description": "期初采购计划数量",
  21357. "type": "number"
  21358. },
  21359. "OriBuyPricedQty": {
  21360. "description": "期初采购合同已定价数量",
  21361. "type": "number"
  21362. },
  21363. "OriSellFutureQty": {
  21364. "description": "期初卖出期货数量",
  21365. "type": "number"
  21366. },
  21367. "OriSellPlanQty": {
  21368. "description": "期初销售计划数量",
  21369. "type": "number"
  21370. },
  21371. "OriSellPricedQty": {
  21372. "description": "期初销售合同已定价数量",
  21373. "type": "number"
  21374. },
  21375. "SellFutureQty": {
  21376. "description": "卖出期货数量",
  21377. "type": "number"
  21378. },
  21379. "SellPlanQty": {
  21380. "description": "销售计划数量",
  21381. "type": "number"
  21382. },
  21383. "SellPricedQty": {
  21384. "description": "销售合同已定价数量",
  21385. "type": "number"
  21386. },
  21387. "TotalExposure": {
  21388. "description": "总敞口",
  21389. "type": "number"
  21390. },
  21391. "TotalFutureQty": {
  21392. "description": "期货总量",
  21393. "type": "number"
  21394. },
  21395. "TotalHedgeRatio": {
  21396. "description": "敞口比例",
  21397. "type": "number"
  21398. },
  21399. "TotalNeedHedgeQty": {
  21400. "description": "应套保总量(现货应套保总量)",
  21401. "type": "number"
  21402. },
  21403. "TotalSpotQty": {
  21404. "description": "现货总量",
  21405. "type": "number"
  21406. },
  21407. "arbitrageqty": {
  21408. "description": "套利量",
  21409. "type": "number"
  21410. },
  21411. "diffArbitrageQty": {
  21412. "description": "套利变动量",
  21413. "type": "number"
  21414. },
  21415. "diffExposoureQty": {
  21416. "description": "变动量(套保敞口)",
  21417. "type": "number"
  21418. },
  21419. "diffFutuQty": {
  21420. "description": "变动量(期货总量)",
  21421. "type": "number"
  21422. },
  21423. "diffHedgeQty": {
  21424. "description": "套保变动量",
  21425. "type": "number"
  21426. },
  21427. "diffQty": {
  21428. "description": "变动量(总敞口)",
  21429. "type": "number"
  21430. },
  21431. "diffSpotHedgeQty": {
  21432. "description": "变动量(现货应套保总量)",
  21433. "type": "number"
  21434. },
  21435. "diffSpotQty": {
  21436. "description": "变动量(现货总量) = 现货数量 - 期初现货数量",
  21437. "type": "number"
  21438. },
  21439. "enumdicname": {
  21440. "description": "单位名称",
  21441. "type": "string"
  21442. },
  21443. "hedgeqty": {
  21444. "description": "套保量",
  21445. "type": "number"
  21446. },
  21447. "needarbitrageqty": {
  21448. "description": "应套利量",
  21449. "type": "number"
  21450. },
  21451. "needarbitrageratio": {
  21452. "description": "套利比例",
  21453. "type": "number"
  21454. },
  21455. "needhedgeqty": {
  21456. "description": "应套保量",
  21457. "type": "number"
  21458. },
  21459. "oriTotalFutuQty": {
  21460. "description": "期初期货数量=期初买入期货数量-期初卖出期货数量",
  21461. "type": "number"
  21462. },
  21463. "oriTotalSpotQty": {
  21464. "description": "期初现货数量=(期初销售计划数量-期初销售合同已定价数量)-(期初采购计划数量-期初采购合同已定价数量)",
  21465. "type": "number"
  21466. },
  21467. "oriarbitrageqty": {
  21468. "description": "期初套利量",
  21469. "type": "number"
  21470. },
  21471. "orihedgeqty": {
  21472. "description": "期初套保量",
  21473. "type": "number"
  21474. },
  21475. "orineedhedgeexposoure": {
  21476. "description": "期初套保敞口",
  21477. "type": "number"
  21478. },
  21479. "oritotalexposure": {
  21480. "description": "期初总敞口",
  21481. "type": "number"
  21482. },
  21483. "oritotalfutureqty": {
  21484. "description": "期初期货总量",
  21485. "type": "number"
  21486. },
  21487. "oritotalneedhedgeqty": {
  21488. "description": "期初现货应套保量",
  21489. "type": "number"
  21490. }
  21491. }
  21492. },
  21493. "models.ErmcpRole": {
  21494. "type": "object",
  21495. "properties": {
  21496. "areauserid": {
  21497. "description": "所属机构",
  21498. "type": "integer"
  21499. },
  21500. "autoid": {
  21501. "description": "角色ID(自增ID)",
  21502. "type": "integer"
  21503. },
  21504. "modifierid": {
  21505. "description": "修改人(创建人)",
  21506. "type": "integer"
  21507. },
  21508. "modifiername": {
  21509. "description": "修改人名称",
  21510. "type": "string"
  21511. },
  21512. "modifytime": {
  21513. "description": "修改时间(创建时间)",
  21514. "type": "string"
  21515. },
  21516. "rolename": {
  21517. "description": "角色名称",
  21518. "type": "string"
  21519. },
  21520. "rolestatus": {
  21521. "description": "角色状态 - 1:启用 2:停用",
  21522. "type": "integer"
  21523. },
  21524. "roletype": {
  21525. "description": "角色类型 - 1- 管理端 2- 交易端",
  21526. "type": "integer"
  21527. }
  21528. }
  21529. },
  21530. "models.ErmcpRoleMenu": {
  21531. "type": "object",
  21532. "properties": {
  21533. "iconame": {
  21534. "description": "菜单图标",
  21535. "type": "string"
  21536. },
  21537. "ishadrole": {
  21538. "description": "是否有权限",
  21539. "type": "boolean"
  21540. },
  21541. "menutype": {
  21542. "description": "菜单类型 1:管理端 2:交易端 3:终端(企业云平台)",
  21543. "type": "integer"
  21544. },
  21545. "parentcode": {
  21546. "description": "上级资源代码",
  21547. "type": "string"
  21548. },
  21549. "remark": {
  21550. "description": "菜单备注",
  21551. "type": "string"
  21552. },
  21553. "resourcecode": {
  21554. "description": "菜单代码",
  21555. "type": "string"
  21556. },
  21557. "resourcelevel": {
  21558. "description": "级别",
  21559. "type": "integer"
  21560. },
  21561. "resourcename": {
  21562. "description": "菜单名称",
  21563. "type": "string"
  21564. },
  21565. "roleid": {
  21566. "description": "角色id",
  21567. "type": "integer"
  21568. },
  21569. "sort": {
  21570. "description": "排序",
  21571. "type": "integer"
  21572. },
  21573. "url": {
  21574. "description": "URL",
  21575. "type": "string"
  21576. },
  21577. "userid": {
  21578. "description": "用户id",
  21579. "type": "integer"
  21580. }
  21581. }
  21582. },
  21583. "models.ErmcpRoleMenuEx": {
  21584. "type": "object",
  21585. "properties": {
  21586. "menu": {
  21587. "description": "父级菜单",
  21588. "type": "object",
  21589. "$ref": "#/definitions/models.ErmcpRoleMenu"
  21590. },
  21591. "subMenu": {
  21592. "description": "子级菜单",
  21593. "type": "array",
  21594. "items": {
  21595. "$ref": "#/definitions/models.ErmcpRoleMenuEx"
  21596. }
  21597. }
  21598. }
  21599. },
  21600. "models.ErmcpTaAccount": {
  21601. "type": "object",
  21602. "properties": {
  21603. "accountid": {
  21604. "description": "账户id",
  21605. "type": "integer"
  21606. },
  21607. "accountname": {
  21608. "description": "账户名称",
  21609. "type": "string"
  21610. },
  21611. "currencyid": {
  21612. "description": "币种id",
  21613. "type": "integer"
  21614. },
  21615. "hedgeaccountcode": {
  21616. "description": "主账号登录代码(仅当是主账号时有值,子账号没有登录账号)",
  21617. "type": "string"
  21618. },
  21619. "ismain": {
  21620. "description": "是否主账户 0-否 1-是",
  21621. "type": "integer"
  21622. },
  21623. "parentaccountid": {
  21624. "description": "父账户id",
  21625. "type": "integer"
  21626. },
  21627. "relateduserid": {
  21628. "description": "关联userid",
  21629. "type": "integer"
  21630. },
  21631. "tradefeetmpid": {
  21632. "description": "手续费模板id",
  21633. "type": "integer"
  21634. },
  21635. "tradefeetmpname": {
  21636. "description": "手续费模板名称",
  21637. "type": "string"
  21638. },
  21639. "trademargintmpid": {
  21640. "description": "保证金模板id",
  21641. "type": "integer"
  21642. },
  21643. "trademargintmpname": {
  21644. "description": "保证金模板名称",
  21645. "type": "string"
  21646. },
  21647. "traderatetmpid": {
  21648. "description": "汇率模板id",
  21649. "type": "integer"
  21650. },
  21651. "traderatetmpname": {
  21652. "description": "汇率模板名称",
  21653. "type": "string"
  21654. },
  21655. "tradestatus": {
  21656. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  21657. "type": "integer"
  21658. },
  21659. "userid": {
  21660. "description": "用户id",
  21661. "type": "integer"
  21662. }
  21663. }
  21664. },
  21665. "models.ErmcpTaAccountEx": {
  21666. "type": "object",
  21667. "properties": {
  21668. "mainAcc": {
  21669. "description": "主账号",
  21670. "type": "object",
  21671. "$ref": "#/definitions/models.ErmcpTaAccountM"
  21672. },
  21673. "subacclist": {
  21674. "description": "子账号列表",
  21675. "type": "array",
  21676. "items": {
  21677. "$ref": "#/definitions/models.ErmcpTaAccount"
  21678. }
  21679. }
  21680. }
  21681. },
  21682. "models.ErmcpTaAccountInfo": {
  21683. "type": "object",
  21684. "properties": {
  21685. "accountid": {
  21686. "description": "资金账户ID",
  21687. "type": "integer"
  21688. },
  21689. "accountname": {
  21690. "description": "账户名称",
  21691. "type": "string"
  21692. },
  21693. "balance": {
  21694. "description": "期初余额",
  21695. "type": "number"
  21696. },
  21697. "capitalbalance": {
  21698. "description": "本金余额[外部子账户实际出入金余额]",
  21699. "type": "number"
  21700. },
  21701. "closepl": {
  21702. "description": "今日平仓盈亏",
  21703. "type": "number"
  21704. },
  21705. "creditdecrease": {
  21706. "description": "今日授信减少",
  21707. "type": "number"
  21708. },
  21709. "creditincrease": {
  21710. "description": "今日授信增加",
  21711. "type": "number"
  21712. },
  21713. "curdebt": {
  21714. "description": "期末欠款",
  21715. "type": "number"
  21716. },
  21717. "currencyid": {
  21718. "description": "货币ID",
  21719. "type": "integer"
  21720. },
  21721. "currentbalance": {
  21722. "description": "期末余额",
  21723. "type": "number"
  21724. },
  21725. "freezecharge": {
  21726. "description": "手续费冻结",
  21727. "type": "number"
  21728. },
  21729. "freezemargin": {
  21730. "description": "冻结保证金",
  21731. "type": "number"
  21732. },
  21733. "fromaccountid": {
  21734. "description": "所属上级账户",
  21735. "type": "integer"
  21736. },
  21737. "inamount": {
  21738. "description": "今日入金金额(包括三方入金)",
  21739. "type": "number"
  21740. },
  21741. "ismain": {
  21742. "description": "是否母账号 0:不是母账户 1:是母账户",
  21743. "type": "integer"
  21744. },
  21745. "mortgagecredit": {
  21746. "description": "授信金额",
  21747. "type": "number"
  21748. },
  21749. "oridebt": {
  21750. "description": "期初欠款",
  21751. "type": "number"
  21752. },
  21753. "orifreezecharge": {
  21754. "description": "期初手续费冻结",
  21755. "type": "number"
  21756. },
  21757. "orifreezemargin": {
  21758. "description": "期初冻结保证金",
  21759. "type": "number"
  21760. },
  21761. "orimortgagecredit": {
  21762. "description": "期初授信金额",
  21763. "type": "number"
  21764. },
  21765. "oriothercredit": {
  21766. "description": "期初其它授信金额",
  21767. "type": "number"
  21768. },
  21769. "oriotherfreezemargin": {
  21770. "description": "期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)",
  21771. "type": "number"
  21772. },
  21773. "orioutamountfreeze": {
  21774. "description": "期初出金冻结",
  21775. "type": "number"
  21776. },
  21777. "oriusedmargin": {
  21778. "description": "期初占用保证金",
  21779. "type": "number"
  21780. },
  21781. "othercredit": {
  21782. "description": "其它授信金额",
  21783. "type": "number"
  21784. },
  21785. "othercreditdecrease": {
  21786. "description": "今日其它授信减少",
  21787. "type": "number"
  21788. },
  21789. "othercreditincrease": {
  21790. "description": "今日其它授信增加",
  21791. "type": "number"
  21792. },
  21793. "otherfreezemargin": {
  21794. "description": "其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)",
  21795. "type": "number"
  21796. },
  21797. "outamount": {
  21798. "description": "今日出金金额(包括三方出金)",
  21799. "type": "number"
  21800. },
  21801. "outamountfreeze": {
  21802. "description": "出金冻结",
  21803. "type": "number"
  21804. },
  21805. "outthreshold": {
  21806. "description": "出金阈值",
  21807. "type": "number"
  21808. },
  21809. "parentaccountid": {
  21810. "description": "所属根账号",
  21811. "type": "integer"
  21812. },
  21813. "paycharge": {
  21814. "description": "今日手续费支出",
  21815. "type": "number"
  21816. },
  21817. "relateduserid": {
  21818. "description": "关联用户",
  21819. "type": "integer"
  21820. },
  21821. "signstatus": {
  21822. "description": "签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中",
  21823. "type": "integer"
  21824. },
  21825. "sublevelpath": {
  21826. "description": "账号层级路径(逗号分隔,首尾加逗号)",
  21827. "type": "string"
  21828. },
  21829. "taaccounttype": {
  21830. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  21831. "type": "integer"
  21832. },
  21833. "thirdinamount": {
  21834. "description": "今日三方入金",
  21835. "type": "number"
  21836. },
  21837. "thirdoutamount": {
  21838. "description": "今日三方出金",
  21839. "type": "number"
  21840. },
  21841. "tradestatus": {
  21842. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  21843. "type": "integer"
  21844. },
  21845. "transferamount": {
  21846. "description": "今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)",
  21847. "type": "number"
  21848. },
  21849. "usedmargin": {
  21850. "description": "占用保证金",
  21851. "type": "number"
  21852. },
  21853. "userid": {
  21854. "description": "用户ID",
  21855. "type": "integer"
  21856. }
  21857. }
  21858. },
  21859. "models.ErmcpTaAccountM": {
  21860. "type": "object",
  21861. "properties": {
  21862. "accountid": {
  21863. "description": "账户id",
  21864. "type": "integer"
  21865. },
  21866. "accountname": {
  21867. "description": "账户名称",
  21868. "type": "string"
  21869. },
  21870. "currencyid": {
  21871. "description": "币种id",
  21872. "type": "integer"
  21873. },
  21874. "fcid": {
  21875. "description": "期货公司id",
  21876. "type": "integer"
  21877. },
  21878. "fcname": {
  21879. "description": "期货公司代码",
  21880. "type": "string"
  21881. },
  21882. "hedgeaccountcode": {
  21883. "description": "主账号登录代码(仅当是主账号时有值,子账号没有登录账号)",
  21884. "type": "string"
  21885. },
  21886. "ismain": {
  21887. "description": "是否主账户 0-否 1-是",
  21888. "type": "integer"
  21889. },
  21890. "parentaccountid": {
  21891. "description": "父账户id",
  21892. "type": "integer"
  21893. },
  21894. "relateduserid": {
  21895. "description": "关联userid",
  21896. "type": "integer"
  21897. },
  21898. "tradefeetmpid": {
  21899. "description": "手续费模板id",
  21900. "type": "integer"
  21901. },
  21902. "tradefeetmpname": {
  21903. "description": "手续费模板名称",
  21904. "type": "string"
  21905. },
  21906. "trademargintmpid": {
  21907. "description": "保证金模板id",
  21908. "type": "integer"
  21909. },
  21910. "trademargintmpname": {
  21911. "description": "保证金模板名称",
  21912. "type": "string"
  21913. },
  21914. "traderatetmpid": {
  21915. "description": "汇率模板id",
  21916. "type": "integer"
  21917. },
  21918. "traderatetmpname": {
  21919. "description": "汇率模板名称",
  21920. "type": "string"
  21921. },
  21922. "tradestatus": {
  21923. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  21924. "type": "integer"
  21925. },
  21926. "userid": {
  21927. "description": "用户id",
  21928. "type": "integer"
  21929. }
  21930. }
  21931. },
  21932. "models.ErmcpTradeConfigTMP": {
  21933. "type": "object",
  21934. "properties": {
  21935. "areauserid": {
  21936. "description": "所属机构",
  21937. "type": "integer"
  21938. },
  21939. "basiccurrencyid": {
  21940. "description": "基本币种ID[汇率] - 目标币种",
  21941. "type": "integer"
  21942. },
  21943. "mainaccountid": {
  21944. "description": "主账户ID",
  21945. "type": "integer"
  21946. },
  21947. "modifierid": {
  21948. "description": "修改人",
  21949. "type": "integer"
  21950. },
  21951. "remark": {
  21952. "description": "备注",
  21953. "type": "string"
  21954. },
  21955. "tradeconfigtmpid": {
  21956. "description": "交易配置模板ID(SEQ_TRADECONFIGTMP)",
  21957. "type": "integer"
  21958. },
  21959. "tradeconfigtmpname": {
  21960. "description": "交易配置模板名称",
  21961. "type": "string"
  21962. },
  21963. "tradeconfigtmptype": {
  21964. "description": "交易配置模板类型 - 1:保证金 2:手续费 3:汇率",
  21965. "type": "integer"
  21966. },
  21967. "updatetime": {
  21968. "description": "更新时间",
  21969. "type": "string"
  21970. }
  21971. }
  21972. },
  21973. "models.ErmcpUserModel": {
  21974. "type": "object",
  21975. "properties": {
  21976. "address": {
  21977. "description": "通讯地址",
  21978. "type": "string"
  21979. },
  21980. "attachment1": {
  21981. "description": "附件1",
  21982. "type": "string"
  21983. },
  21984. "audittime": {
  21985. "description": "审核时间",
  21986. "type": "string"
  21987. },
  21988. "cardbackphotourl": {
  21989. "description": "证件反面图片地址",
  21990. "type": "string"
  21991. },
  21992. "cardfrontphotourl": {
  21993. "description": "证件正面图片地址",
  21994. "type": "string"
  21995. },
  21996. "cardnum": {
  21997. "description": "证件号码",
  21998. "type": "string"
  21999. },
  22000. "cardtype": {
  22001. "description": "证件类型",
  22002. "type": "integer"
  22003. },
  22004. "cardtypename": {
  22005. "description": "证件类型名称",
  22006. "type": "string"
  22007. },
  22008. "cityid": {
  22009. "description": "市",
  22010. "type": "integer"
  22011. },
  22012. "contactname": {
  22013. "description": "联系人",
  22014. "type": "string"
  22015. },
  22016. "countryid": {
  22017. "description": "国家",
  22018. "type": "integer"
  22019. },
  22020. "createtime": {
  22021. "description": "创建时间",
  22022. "type": "string"
  22023. },
  22024. "customername": {
  22025. "description": "企业名称",
  22026. "type": "string"
  22027. },
  22028. "districtid": {
  22029. "description": "区域",
  22030. "type": "integer"
  22031. },
  22032. "email": {
  22033. "description": "邮件",
  22034. "type": "string"
  22035. },
  22036. "legalpersonname": {
  22037. "description": "法人姓名(企业)",
  22038. "type": "string"
  22039. },
  22040. "memberuserid": {
  22041. "description": "所属机构ID",
  22042. "type": "integer"
  22043. },
  22044. "mobile": {
  22045. "description": "手机号码",
  22046. "type": "string"
  22047. },
  22048. "modifytime": {
  22049. "description": "修改时间",
  22050. "type": "string"
  22051. },
  22052. "nickname": {
  22053. "description": "昵称",
  22054. "type": "string"
  22055. },
  22056. "provinceid": {
  22057. "description": "省",
  22058. "type": "integer"
  22059. },
  22060. "remark": {
  22061. "description": "备注",
  22062. "type": "string"
  22063. },
  22064. "status": {
  22065. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销",
  22066. "type": "integer"
  22067. },
  22068. "statusdesc": {
  22069. "description": "账户状态中文描述",
  22070. "type": "string"
  22071. },
  22072. "taxpayernum": {
  22073. "description": "纳税人识别号",
  22074. "type": "string"
  22075. },
  22076. "telphone": {
  22077. "description": "联系电话",
  22078. "type": "string"
  22079. },
  22080. "userid": {
  22081. "description": "用户ID",
  22082. "type": "integer"
  22083. },
  22084. "userinfotype": {
  22085. "description": "客户类型",
  22086. "type": "string"
  22087. }
  22088. }
  22089. },
  22090. "models.ErmcpWareHouseInfo": {
  22091. "type": "object",
  22092. "properties": {
  22093. "address": {
  22094. "description": "详细地址",
  22095. "type": "string"
  22096. },
  22097. "areauserid": {
  22098. "description": "所属机构",
  22099. "type": "integer"
  22100. },
  22101. "autoid": {
  22102. "description": "自增ID(仓库ID)",
  22103. "type": "integer"
  22104. },
  22105. "cityid": {
  22106. "description": "市",
  22107. "type": "integer"
  22108. },
  22109. "contactname": {
  22110. "description": "联系人",
  22111. "type": "string"
  22112. },
  22113. "contactnum": {
  22114. "description": "联系电话",
  22115. "type": "string"
  22116. },
  22117. "countryid": {
  22118. "description": "国家",
  22119. "type": "integer"
  22120. },
  22121. "createtime": {
  22122. "description": "创建时间",
  22123. "type": "string"
  22124. },
  22125. "districtid": {
  22126. "description": "区",
  22127. "type": "integer"
  22128. },
  22129. "hasvideo": {
  22130. "description": "是否有视频 - 0:无 1:有",
  22131. "type": "integer"
  22132. },
  22133. "provinceid": {
  22134. "description": "省",
  22135. "type": "integer"
  22136. },
  22137. "remark": {
  22138. "description": "审核备注",
  22139. "type": "string"
  22140. },
  22141. "videourl": {
  22142. "description": "视频地址",
  22143. "type": "string"
  22144. },
  22145. "warehousecode": {
  22146. "description": "仓库代码",
  22147. "type": "string"
  22148. },
  22149. "warehousename": {
  22150. "description": "仓库名称",
  22151. "type": "string"
  22152. },
  22153. "warehousestatus": {
  22154. "description": "仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝",
  22155. "type": "integer"
  22156. },
  22157. "warehousetype": {
  22158. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  22159. "type": "integer"
  22160. }
  22161. }
  22162. },
  22163. "models.Externalexchange": {
  22164. "type": "object",
  22165. "required": [
  22166. "autoid"
  22167. ],
  22168. "properties": {
  22169. "autoid": {
  22170. "description": "AutoID - SEQ_EXTERNALEXCHANGE",
  22171. "type": "integer"
  22172. },
  22173. "exchangefullname": {
  22174. "description": "外部交易所全称",
  22175. "type": "string"
  22176. },
  22177. "exexchangecode": {
  22178. "description": "外部交易所代码",
  22179. "type": "string"
  22180. },
  22181. "exexchangename": {
  22182. "description": "外部交易所名称(简称)",
  22183. "type": "string"
  22184. },
  22185. "ismarketprice": {
  22186. "description": "是否支持市价 - 0:不支持 1:支持",
  22187. "type": "integer"
  22188. },
  22189. "quotegear": {
  22190. "description": "行情档位(1-10)",
  22191. "type": "integer"
  22192. },
  22193. "showbrokerflag": {
  22194. "description": "是否显示买卖经纪盘 - 0:不显示 1:显示",
  22195. "type": "integer"
  22196. },
  22197. "updatetime": {
  22198. "description": "更新时间",
  22199. "type": "string"
  22200. }
  22201. }
  22202. },
  22203. "models.Funcmenulist": {
  22204. "type": "object",
  22205. "required": [
  22206. "resourcecode"
  22207. ],
  22208. "properties": {
  22209. "iconame": {
  22210. "description": "菜单图标",
  22211. "type": "string"
  22212. },
  22213. "menutype": {
  22214. "description": "菜单类型 1-管理端 2-交易端 3-终端权限",
  22215. "type": "integer"
  22216. },
  22217. "parentcode": {
  22218. "description": "上级资源代码",
  22219. "type": "string"
  22220. },
  22221. "remark": {
  22222. "description": "备注",
  22223. "type": "string"
  22224. },
  22225. "resourcecode": {
  22226. "description": "资源代码",
  22227. "type": "string"
  22228. },
  22229. "resourcelevel": {
  22230. "description": "级别 1-一级 2-二级 3-三级 4-四级",
  22231. "type": "integer"
  22232. },
  22233. "resourcename": {
  22234. "description": "资源名",
  22235. "type": "string"
  22236. },
  22237. "sort": {
  22238. "description": "排序 - 一级时,是所有一级菜单的排序顺序;二级时是所属同一个一级菜单下的排序、三级时是同一个二级菜单下的排序",
  22239. "type": "integer"
  22240. },
  22241. "url": {
  22242. "description": "URL",
  22243. "type": "string"
  22244. }
  22245. }
  22246. },
  22247. "models.Goods": {
  22248. "type": "object",
  22249. "required": [
  22250. "goodscode",
  22251. "goodsid",
  22252. "goodsname",
  22253. "marketid"
  22254. ],
  22255. "properties": {
  22256. "agreeunit": {
  22257. "description": "合约单位",
  22258. "type": "number"
  22259. },
  22260. "areauserid": {
  22261. "description": "所属机构",
  22262. "type": "integer"
  22263. },
  22264. "auditaccountid": {
  22265. "description": "审核操作员账号",
  22266. "type": "integer"
  22267. },
  22268. "audittime": {
  22269. "description": "审核时间",
  22270. "type": "string"
  22271. },
  22272. "cancelaccountid": {
  22273. "description": "注销操作员账号",
  22274. "type": "integer"
  22275. },
  22276. "canceltime": {
  22277. "description": "注销时间",
  22278. "type": "string"
  22279. },
  22280. "closepricemode": {
  22281. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  22282. "type": "integer"
  22283. },
  22284. "closepriceparam": {
  22285. "description": "强平最新价浮动比例 - 方式为2时使用 (\u003c1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价",
  22286. "type": "number"
  22287. },
  22288. "createtime": {
  22289. "description": "创建时间",
  22290. "type": "string"
  22291. },
  22292. "creatorid": {
  22293. "description": "创建人",
  22294. "type": "integer"
  22295. },
  22296. "currencyid": {
  22297. "description": "报价货币ID",
  22298. "type": "integer"
  22299. },
  22300. "cutmode": {
  22301. "description": "斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓",
  22302. "type": "integer"
  22303. },
  22304. "decimalplace": {
  22305. "description": "报价小数位",
  22306. "type": "integer"
  22307. },
  22308. "delistingdate": {
  22309. "description": "商品退市时间(状态:退市) -- 已作废",
  22310. "type": "string"
  22311. },
  22312. "delistingmode": {
  22313. "description": "退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\\币币兑换)",
  22314. "type": "integer"
  22315. },
  22316. "deliveryflag": {
  22317. "description": "交割标志 - 0:不可交割 1:可交割",
  22318. "type": "integer"
  22319. },
  22320. "forceclosemode": {
  22321. "description": "定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]",
  22322. "type": "integer"
  22323. },
  22324. "forceclosevalue": {
  22325. "description": "定期强平参数 [收益权]",
  22326. "type": "integer"
  22327. },
  22328. "goodscode": {
  22329. "description": "商品代码(内部)",
  22330. "type": "string"
  22331. },
  22332. "goodscurrencyid": {
  22333. "description": "合约货币ID",
  22334. "type": "integer"
  22335. },
  22336. "goodsgroupid": {
  22337. "description": "所属商品组ID",
  22338. "type": "integer"
  22339. },
  22340. "goodsid": {
  22341. "description": "商品ID(自增ID SEQ_GOODS)",
  22342. "type": "integer"
  22343. },
  22344. "goodsname": {
  22345. "description": "商品名称",
  22346. "type": "string"
  22347. },
  22348. "goodsquotetype": {
  22349. "description": "合约报价类型: 1-直接报价 2-间接报价",
  22350. "type": "integer"
  22351. },
  22352. "goodsstatus": {
  22353. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  22354. "type": "integer"
  22355. },
  22356. "goodstradetype": {
  22357. "description": "商品交易权限类型 - 1:可建可平 3:不可建可平",
  22358. "type": "integer"
  22359. },
  22360. "goodunitid": {
  22361. "description": "报价单位ID",
  22362. "type": "integer"
  22363. },
  22364. "hasquoter": {
  22365. "description": "是否有报价商 - 0:无报价商 1:有报价商",
  22366. "type": "integer"
  22367. },
  22368. "hqprotecttime": {
  22369. "description": "行情保护时间(秒)",
  22370. "type": "integer"
  22371. },
  22372. "innerdealmode": {
  22373. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  22374. "type": "integer"
  22375. },
  22376. "isbuylimited": {
  22377. "description": "是否限制建仓量 - 0:不限制 1:限制",
  22378. "type": "integer"
  22379. },
  22380. "isvisible": {
  22381. "description": "游客是否可见 - 0:不可见 1:可见",
  22382. "type": "integer"
  22383. },
  22384. "lasttradedate": {
  22385. "description": "最后交易日期(状态:待退市)",
  22386. "type": "string"
  22387. },
  22388. "listingdate": {
  22389. "description": "交易开始日期",
  22390. "type": "string"
  22391. },
  22392. "marketid": {
  22393. "description": "所属市场ID",
  22394. "type": "integer"
  22395. },
  22396. "modifierid": {
  22397. "description": "修改人",
  22398. "type": "integer"
  22399. },
  22400. "modifystatus": {
  22401. "description": "变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核",
  22402. "type": "integer"
  22403. },
  22404. "modifytime": {
  22405. "description": "修改时间",
  22406. "type": "string"
  22407. },
  22408. "outerdealmode": {
  22409. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  22410. "type": "integer"
  22411. },
  22412. "outgoodscode": {
  22413. "description": "商品代码(外部)",
  22414. "type": "string"
  22415. },
  22416. "pictureurl": {
  22417. "description": "商品图片",
  22418. "type": "string"
  22419. },
  22420. "qtydecimalplace": {
  22421. "description": "成交量小数位",
  22422. "type": "integer"
  22423. },
  22424. "quotegear": {
  22425. "description": "行情档位(1-10)",
  22426. "type": "integer"
  22427. },
  22428. "quoteminunit": {
  22429. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  22430. "type": "integer"
  22431. },
  22432. "quoteshowtype": {
  22433. "description": "行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价",
  22434. "type": "integer"
  22435. },
  22436. "quoteshowtypeinterval": {
  22437. "description": "行情报价间隔时间(秒)(成交价时为0)",
  22438. "type": "integer"
  22439. },
  22440. "remark": {
  22441. "description": "备注",
  22442. "type": "string"
  22443. }
  22444. }
  22445. },
  22446. "models.GoodsIDAndName": {
  22447. "type": "object",
  22448. "required": [
  22449. "goodscode",
  22450. "goodsid",
  22451. "goodsname",
  22452. "marketid"
  22453. ],
  22454. "properties": {
  22455. "goodscode": {
  22456. "description": "商品代码(内部)",
  22457. "type": "string"
  22458. },
  22459. "goodsid": {
  22460. "description": "商品ID(自增ID SEQ_GOODS)",
  22461. "type": "integer"
  22462. },
  22463. "goodsname": {
  22464. "description": "商品名称",
  22465. "type": "string"
  22466. },
  22467. "marketid": {
  22468. "description": "所属市场ID",
  22469. "type": "integer"
  22470. }
  22471. }
  22472. },
  22473. "models.Goodsgroup": {
  22474. "type": "object",
  22475. "required": [
  22476. "goodsgroupid",
  22477. "goodsgroupname",
  22478. "goodsgroupstatus",
  22479. "marketid"
  22480. ],
  22481. "properties": {
  22482. "agreeunit": {
  22483. "description": "合约单位",
  22484. "type": "number"
  22485. },
  22486. "canshort": {
  22487. "description": "是否允许做空[通道交易] - 0:不能做空 1:可以做空",
  22488. "type": "integer"
  22489. },
  22490. "closepricemode": {
  22491. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  22492. "type": "integer"
  22493. },
  22494. "closepriceparam": {
  22495. "description": "强平最新价浮动比例 - 方式为2时使用",
  22496. "type": "number"
  22497. },
  22498. "createtime": {
  22499. "description": "创建时间",
  22500. "type": "string"
  22501. },
  22502. "creatorid": {
  22503. "description": "创建人",
  22504. "type": "integer"
  22505. },
  22506. "currencyid": {
  22507. "description": "报价货币ID",
  22508. "type": "integer"
  22509. },
  22510. "decimalplace": {
  22511. "description": "报价小数位",
  22512. "type": "integer"
  22513. },
  22514. "exercisetype": {
  22515. "description": "行权类型[场外期权]-1:欧式期权 2:美式期权",
  22516. "type": "integer"
  22517. },
  22518. "exexchangeid": {
  22519. "description": "外部交易所ID[通道交易]",
  22520. "type": "integer"
  22521. },
  22522. "goodsgroupid": {
  22523. "description": "商品组ID(自增ID)",
  22524. "type": "integer"
  22525. },
  22526. "goodsgroupname": {
  22527. "description": "商品组名称",
  22528. "type": "string"
  22529. },
  22530. "goodsgroupstatus": {
  22531. "description": "商品组状态 - 1:正常 2:注销",
  22532. "type": "integer"
  22533. },
  22534. "goodunitid": {
  22535. "description": "报价单位ID",
  22536. "type": "integer"
  22537. },
  22538. "innerdealmode": {
  22539. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  22540. "type": "integer"
  22541. },
  22542. "isbuylimited": {
  22543. "description": "是否限制建仓量 - 0:不限制 1:限制",
  22544. "type": "integer"
  22545. },
  22546. "marketid": {
  22547. "description": "所属市场ID",
  22548. "type": "integer"
  22549. },
  22550. "modifierid": {
  22551. "description": "修改人",
  22552. "type": "integer"
  22553. },
  22554. "modifytime": {
  22555. "description": "修改时间",
  22556. "type": "string"
  22557. },
  22558. "outerdealmode": {
  22559. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  22560. "type": "integer"
  22561. },
  22562. "outergroupcode": {
  22563. "description": "外部商品组代码[通道交易]",
  22564. "type": "string"
  22565. },
  22566. "premiumdecimalplace": {
  22567. "description": "权利金小数位[场外期权]",
  22568. "type": "integer"
  22569. },
  22570. "premiumspreadalgorithm": {
  22571. "description": "权利金点差方式[场外期权] 1:比率 2:固定",
  22572. "type": "integer"
  22573. },
  22574. "premiumspreadvalue": {
  22575. "description": "权利金点差值[场外期权]",
  22576. "type": "number"
  22577. },
  22578. "qtydecimalplace": {
  22579. "description": "成交量小数位",
  22580. "type": "integer"
  22581. },
  22582. "quotegear": {
  22583. "description": "行情档位(1-10)",
  22584. "type": "integer"
  22585. },
  22586. "quoteminunit": {
  22587. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  22588. "type": "integer"
  22589. },
  22590. "quoterid": {
  22591. "description": "报价商ID[场外期权]",
  22592. "type": "integer"
  22593. },
  22594. "quotesourcegroupid": {
  22595. "description": "所属行情源分组ID[参考行情市场用\\通道交易]",
  22596. "type": "integer"
  22597. },
  22598. "syncgoodsqty": {
  22599. "description": "同步合约数[通道交易-投资管理用] - 0表示不限",
  22600. "type": "integer"
  22601. }
  22602. }
  22603. },
  22604. "models.Goodssortbypreposition": {
  22605. "type": "object",
  22606. "required": [
  22607. "goodscode",
  22608. "tradedate"
  22609. ],
  22610. "properties": {
  22611. "goodscode": {
  22612. "description": "合约代码 - 易盛接口:合约代码=品种代码+合约代码",
  22613. "type": "string"
  22614. },
  22615. "goodsgroupcode": {
  22616. "description": "品种代码",
  22617. "type": "string"
  22618. },
  22619. "prepositionqty": {
  22620. "description": "昨持仓量",
  22621. "type": "integer"
  22622. },
  22623. "sortindex": {
  22624. "description": "排序",
  22625. "type": "integer"
  22626. },
  22627. "tradedate": {
  22628. "description": "交易日",
  22629. "type": "string"
  22630. },
  22631. "updatetime": {
  22632. "description": "更新时间",
  22633. "type": "string"
  22634. }
  22635. }
  22636. },
  22637. "models.Hedgeinnerholderdetail": {
  22638. "type": "object",
  22639. "required": [
  22640. "buyorsell",
  22641. "tradeid"
  22642. ],
  22643. "properties": {
  22644. "accountid": {
  22645. "description": "账号ID",
  22646. "type": "integer"
  22647. },
  22648. "buyorsell": {
  22649. "description": "方向 - 0:买 1:卖",
  22650. "type": "integer"
  22651. },
  22652. "freezeqty": {
  22653. "description": "冻结数量 - 按单平使用",
  22654. "type": "integer"
  22655. },
  22656. "goodsid": {
  22657. "description": "商品ID",
  22658. "type": "integer"
  22659. },
  22660. "holderamount": {
  22661. "description": "持仓金额 [商品币种]",
  22662. "type": "number"
  22663. },
  22664. "holderdays": {
  22665. "description": "剩余冻结天数",
  22666. "type": "integer"
  22667. },
  22668. "holderprice": {
  22669. "description": "持仓价格",
  22670. "type": "number"
  22671. },
  22672. "holderqty": {
  22673. "description": "持仓数量",
  22674. "type": "integer"
  22675. },
  22676. "marketid": {
  22677. "description": "市场ID",
  22678. "type": "integer"
  22679. },
  22680. "openprice": {
  22681. "description": "建仓价格",
  22682. "type": "number"
  22683. },
  22684. "openqty": {
  22685. "description": "建仓数量",
  22686. "type": "integer"
  22687. },
  22688. "parentaccountid": {
  22689. "description": "所属母账户",
  22690. "type": "integer"
  22691. },
  22692. "releaseamount": {
  22693. "description": "释放持仓金额[商品币种]",
  22694. "type": "number"
  22695. },
  22696. "tradeamount": {
  22697. "description": "成交金额[账户]",
  22698. "type": "number"
  22699. },
  22700. "tradedate": {
  22701. "description": "交易日(yyyyMMdd)",
  22702. "type": "string"
  22703. },
  22704. "tradeid": {
  22705. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  22706. "type": "string"
  22707. },
  22708. "tradetime": {
  22709. "description": "交易时间",
  22710. "type": "string"
  22711. }
  22712. }
  22713. },
  22714. "models.Hedgemarketopenlog": {
  22715. "type": "object",
  22716. "required": [
  22717. "accountid"
  22718. ],
  22719. "properties": {
  22720. "accountid": {
  22721. "description": "资金账号[外部母账户]",
  22722. "type": "integer"
  22723. },
  22724. "fcname": {
  22725. "description": "期货公司名称",
  22726. "type": "string"
  22727. },
  22728. "handlestatus": {
  22729. "description": "处理状态 - 1:登陆Mhp成功 2:登陆Mhp失败 3:登出Mhp",
  22730. "type": "integer"
  22731. },
  22732. "marketid": {
  22733. "description": "市场ID",
  22734. "type": "integer"
  22735. },
  22736. "status": {
  22737. "description": "状态 - 1:待开市 2:开市 4:手工休市 5:闭市 10:日终处理开始 11:日终处理成功 12:日终处理失败",
  22738. "type": "integer"
  22739. },
  22740. "tradedate": {
  22741. "description": "交易日(yyyyMMdd)",
  22742. "type": "string"
  22743. },
  22744. "updatetime": {
  22745. "description": "更新时间",
  22746. "type": "string"
  22747. }
  22748. }
  22749. },
  22750. "models.HsbyBuyMyPayOrder": {
  22751. "type": "object",
  22752. "required": [
  22753. "goodscode",
  22754. "goodsname",
  22755. "tradeid",
  22756. "trademode"
  22757. ],
  22758. "properties": {
  22759. "agreeunit": {
  22760. "description": "合约单位",
  22761. "type": "number"
  22762. },
  22763. "buyaccountid": {
  22764. "description": "买方账号ID[报价币种]",
  22765. "type": "integer"
  22766. },
  22767. "buyorderid": {
  22768. "description": "买方委托单号",
  22769. "type": "string"
  22770. },
  22771. "createtime": {
  22772. "description": "创建时间",
  22773. "type": "string"
  22774. },
  22775. "currencysign": {
  22776. "description": "货币符号",
  22777. "type": "string"
  22778. },
  22779. "decimalplace": {
  22780. "description": "报价小数位",
  22781. "type": "integer"
  22782. },
  22783. "goodscode": {
  22784. "description": "商品代码(内部)",
  22785. "type": "string"
  22786. },
  22787. "goodsid": {
  22788. "description": "商品ID",
  22789. "type": "integer"
  22790. },
  22791. "goodsname": {
  22792. "description": "商品名称",
  22793. "type": "string"
  22794. },
  22795. "marketid": {
  22796. "description": "市场ID",
  22797. "type": "integer"
  22798. },
  22799. "offamount": {
  22800. "description": "优惠金额",
  22801. "type": "number"
  22802. },
  22803. "originalamount": {
  22804. "description": "原金额 = TradeAmount + TradeCharge + OffAmount",
  22805. "type": "number"
  22806. },
  22807. "payamount": {
  22808. "description": "支付金额 = TradeAmount + TradeCharge",
  22809. "type": "number"
  22810. },
  22811. "payflag": {
  22812. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  22813. "type": "integer"
  22814. },
  22815. "paylimitedtime": {
  22816. "description": "支付期限",
  22817. "type": "string"
  22818. },
  22819. "paytime": {
  22820. "description": "付款时间",
  22821. "type": "string"
  22822. },
  22823. "picurls1": {
  22824. "description": "预售商品介绍图片[多张用逗号分隔]",
  22825. "type": "string"
  22826. },
  22827. "picurls2": {
  22828. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  22829. "type": "string"
  22830. },
  22831. "sellaccountid": {
  22832. "description": "卖方账号ID[报价币种]",
  22833. "type": "integer"
  22834. },
  22835. "sellorderid": {
  22836. "description": "卖方委托单号",
  22837. "type": "string"
  22838. },
  22839. "tradeamount": {
  22840. "description": "成交金额",
  22841. "type": "number"
  22842. },
  22843. "tradecharge": {
  22844. "description": "成交手续费(买方)",
  22845. "type": "number"
  22846. },
  22847. "tradedate": {
  22848. "description": "交易日(yyyyMMdd)",
  22849. "type": "string"
  22850. },
  22851. "tradeid": {
  22852. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  22853. "type": "string"
  22854. },
  22855. "trademode": {
  22856. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  22857. "type": "integer"
  22858. },
  22859. "tradeprice": {
  22860. "description": "成交价格",
  22861. "type": "number"
  22862. },
  22863. "tradeqty": {
  22864. "description": "成交数量",
  22865. "type": "integer"
  22866. },
  22867. "vendorname1": {
  22868. "description": "预售商品供应商名称",
  22869. "type": "string"
  22870. },
  22871. "vendorname2": {
  22872. "description": "挂牌商品供应商名称",
  22873. "type": "string"
  22874. }
  22875. }
  22876. },
  22877. "models.HsbyBuyMyTradeDetail": {
  22878. "type": "object",
  22879. "required": [
  22880. "accountid",
  22881. "buyorsell",
  22882. "goodscode",
  22883. "goodsid",
  22884. "goodsname",
  22885. "marketid",
  22886. "orderid",
  22887. "qty",
  22888. "time",
  22889. "trademode"
  22890. ],
  22891. "properties": {
  22892. "accountid": {
  22893. "description": "账户ID[报价币种]",
  22894. "type": "integer"
  22895. },
  22896. "agreeunit": {
  22897. "description": "合约单位",
  22898. "type": "number"
  22899. },
  22900. "amount": {
  22901. "description": "金额 = 价格 * 数量 * 合约单位",
  22902. "type": "number"
  22903. },
  22904. "buyorsell": {
  22905. "description": "买卖 - 0:买 1:卖",
  22906. "type": "integer"
  22907. },
  22908. "currencysign": {
  22909. "description": "货币符号",
  22910. "type": "string"
  22911. },
  22912. "decimalplace": {
  22913. "description": "报价小数位",
  22914. "type": "integer"
  22915. },
  22916. "goodscode": {
  22917. "description": "商品代码(内部)",
  22918. "type": "string"
  22919. },
  22920. "goodsid": {
  22921. "description": "商品ID",
  22922. "type": "integer"
  22923. },
  22924. "goodsname": {
  22925. "description": "商品名称",
  22926. "type": "string"
  22927. },
  22928. "marketid": {
  22929. "description": "市场ID",
  22930. "type": "integer"
  22931. },
  22932. "orderamount": {
  22933. "description": "委托金额",
  22934. "type": "number"
  22935. },
  22936. "orderid": {
  22937. "description": "单号(成交单号)",
  22938. "type": "string"
  22939. },
  22940. "picurls1": {
  22941. "description": "预售商品介绍图片[多张用逗号分隔]",
  22942. "type": "string"
  22943. },
  22944. "picurls2": {
  22945. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  22946. "type": "string"
  22947. },
  22948. "price": {
  22949. "description": "价格",
  22950. "type": "number"
  22951. },
  22952. "qty": {
  22953. "description": "数量",
  22954. "type": "integer"
  22955. },
  22956. "time": {
  22957. "description": "时间",
  22958. "type": "string"
  22959. },
  22960. "trademode": {
  22961. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  22962. "type": "integer"
  22963. },
  22964. "vendorname1": {
  22965. "description": "预售商品供应商名称",
  22966. "type": "string"
  22967. },
  22968. "vendorname2": {
  22969. "description": "挂牌商品供应商名称",
  22970. "type": "string"
  22971. }
  22972. }
  22973. },
  22974. "models.HsbyGoodsOrderDetail": {
  22975. "type": "object",
  22976. "required": [
  22977. "buyorsell",
  22978. "orderid",
  22979. "ordertime"
  22980. ],
  22981. "properties": {
  22982. "buyorsell": {
  22983. "description": "买卖 - 0:买 1:卖",
  22984. "type": "integer"
  22985. },
  22986. "currencysign": {
  22987. "description": "货币符号",
  22988. "type": "string"
  22989. },
  22990. "customername": {
  22991. "description": "客户名称(企业名称),已脱敏",
  22992. "type": "string"
  22993. },
  22994. "enableqty": {
  22995. "description": "可用数量",
  22996. "type": "integer"
  22997. },
  22998. "goodunit": {
  22999. "description": "报价单位",
  23000. "type": "string"
  23001. },
  23002. "orderid": {
  23003. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  23004. "type": "string"
  23005. },
  23006. "orderprice": {
  23007. "description": "委托价格",
  23008. "type": "number"
  23009. },
  23010. "ordertime": {
  23011. "description": "委托时间",
  23012. "type": "string"
  23013. }
  23014. }
  23015. },
  23016. "models.HsbyListingGoodsDetail": {
  23017. "type": "object",
  23018. "required": [
  23019. "goodscode",
  23020. "goodsid",
  23021. "goodsname",
  23022. "marketid",
  23023. "trademode"
  23024. ],
  23025. "properties": {
  23026. "agreeunit": {
  23027. "description": "合约单位",
  23028. "type": "number"
  23029. },
  23030. "buymaxqty": {
  23031. "description": "购买上限 [71] - 0为不限",
  23032. "type": "integer"
  23033. },
  23034. "currency": {
  23035. "description": "货币",
  23036. "type": "string"
  23037. },
  23038. "currencysign": {
  23039. "description": "货币符号",
  23040. "type": "string"
  23041. },
  23042. "decimalplace": {
  23043. "description": "报价小数位",
  23044. "type": "integer"
  23045. },
  23046. "desccityid": {
  23047. "description": "目的地(市)ID",
  23048. "type": "integer"
  23049. },
  23050. "descprovinceid": {
  23051. "description": "目的地(省)ID",
  23052. "type": "integer"
  23053. },
  23054. "goodscode": {
  23055. "description": "商品代码(内部)",
  23056. "type": "string"
  23057. },
  23058. "goodsdesc": {
  23059. "description": "商品详情",
  23060. "type": "string"
  23061. },
  23062. "goodsid": {
  23063. "description": "商品ID(自增ID SEQ_GOODS)",
  23064. "type": "integer"
  23065. },
  23066. "goodsname": {
  23067. "description": "商品名称",
  23068. "type": "string"
  23069. },
  23070. "goodsprice": {
  23071. "description": "商品价格",
  23072. "type": "number"
  23073. },
  23074. "hotindex": {
  23075. "description": "景点热度",
  23076. "type": "integer"
  23077. },
  23078. "last": {
  23079. "description": "现价",
  23080. "type": "number"
  23081. },
  23082. "limitdown": {
  23083. "description": "跌停价",
  23084. "type": "number"
  23085. },
  23086. "limitup": {
  23087. "description": "涨停价",
  23088. "type": "number"
  23089. },
  23090. "lotsize": {
  23091. "description": "手数最小变动单位",
  23092. "type": "integer"
  23093. },
  23094. "marketid": {
  23095. "description": "所属市场ID",
  23096. "type": "integer"
  23097. },
  23098. "picurls": {
  23099. "description": "介绍图片[多张用逗号分隔]",
  23100. "type": "string"
  23101. },
  23102. "quoteminunit": {
  23103. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  23104. "type": "integer"
  23105. },
  23106. "stepvalue": {
  23107. "description": "价格最小变动单位",
  23108. "type": "number"
  23109. },
  23110. "trademode": {
  23111. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  23112. "type": "integer"
  23113. },
  23114. "vendorattr": {
  23115. "description": "供应商附件(多张,逗号分隔)",
  23116. "type": "string"
  23117. },
  23118. "vendorname": {
  23119. "description": "供应商名称",
  23120. "type": "string"
  23121. },
  23122. "vendorphone": {
  23123. "description": "供应商客服电话",
  23124. "type": "string"
  23125. },
  23126. "videourls": {
  23127. "description": "介绍视频[多张用逗号分隔]",
  23128. "type": "string"
  23129. }
  23130. }
  23131. },
  23132. "models.HsbyMarketGoods": {
  23133. "type": "object",
  23134. "required": [
  23135. "accountid",
  23136. "buyorsell",
  23137. "goodscode",
  23138. "goodsid",
  23139. "goodsname",
  23140. "marketid",
  23141. "orderid",
  23142. "trademode"
  23143. ],
  23144. "properties": {
  23145. "accountid": {
  23146. "description": "账户ID[报价币种]",
  23147. "type": "integer"
  23148. },
  23149. "agreeunit": {
  23150. "description": "合约单位",
  23151. "type": "number"
  23152. },
  23153. "buyorsell": {
  23154. "description": "买卖 - 0:买 1:卖",
  23155. "type": "integer"
  23156. },
  23157. "categoryid": {
  23158. "description": "类别ID(WRCATEGORY)",
  23159. "type": "integer"
  23160. },
  23161. "currency": {
  23162. "description": "货币",
  23163. "type": "string"
  23164. },
  23165. "currencysign": {
  23166. "description": "货币符号",
  23167. "type": "string"
  23168. },
  23169. "customername": {
  23170. "description": "卖家名称",
  23171. "type": "string"
  23172. },
  23173. "decimalplace": {
  23174. "description": "报价小数位",
  23175. "type": "integer"
  23176. },
  23177. "goodscode": {
  23178. "description": "商品代码(内部)",
  23179. "type": "string"
  23180. },
  23181. "goodsid": {
  23182. "description": "商品ID",
  23183. "type": "integer"
  23184. },
  23185. "goodsname": {
  23186. "description": "商品名称",
  23187. "type": "string"
  23188. },
  23189. "goodsprice": {
  23190. "description": "商品价格",
  23191. "type": "number"
  23192. },
  23193. "hascoupon": {
  23194. "description": "是否可用优惠卷",
  23195. "type": "boolean"
  23196. },
  23197. "hotindex": {
  23198. "description": "景点热度",
  23199. "type": "integer"
  23200. },
  23201. "marketid": {
  23202. "description": "市场ID",
  23203. "type": "integer"
  23204. },
  23205. "orderid": {
  23206. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  23207. "type": "string"
  23208. },
  23209. "orderprice": {
  23210. "description": "委托价格",
  23211. "type": "number"
  23212. },
  23213. "orderstatus": {
  23214. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  23215. "type": "integer"
  23216. },
  23217. "picurls": {
  23218. "description": "介绍图片[多张用逗号分隔]",
  23219. "type": "string"
  23220. },
  23221. "quoteminunit": {
  23222. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  23223. "type": "integer"
  23224. },
  23225. "sellUserID": {
  23226. "description": "卖方UserID",
  23227. "type": "integer"
  23228. },
  23229. "trademode": {
  23230. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  23231. "type": "integer"
  23232. },
  23233. "videourls": {
  23234. "description": "介绍视频[多张用逗号分隔]",
  23235. "type": "string"
  23236. }
  23237. }
  23238. },
  23239. "models.HsbyMarketGoodsDetail": {
  23240. "type": "object",
  23241. "required": [
  23242. "accountid",
  23243. "buyorsell",
  23244. "goodscode",
  23245. "goodsid",
  23246. "goodsname",
  23247. "marketid",
  23248. "orderid",
  23249. "orderqty",
  23250. "trademode"
  23251. ],
  23252. "properties": {
  23253. "accountid": {
  23254. "description": "账户ID[报价币种]",
  23255. "type": "integer"
  23256. },
  23257. "agreeunit": {
  23258. "description": "合约单位",
  23259. "type": "number"
  23260. },
  23261. "buymaxqty": {
  23262. "description": "购买上限 [71] - 0为不限",
  23263. "type": "integer"
  23264. },
  23265. "buyorsell": {
  23266. "description": "买卖 - 0:买 1:卖",
  23267. "type": "integer"
  23268. },
  23269. "cancelqty": {
  23270. "description": "撤单数量",
  23271. "type": "integer"
  23272. },
  23273. "categoryid": {
  23274. "description": "类别ID(WRCATEGORY)",
  23275. "type": "integer"
  23276. },
  23277. "currency": {
  23278. "description": "货币",
  23279. "type": "string"
  23280. },
  23281. "currencysign": {
  23282. "description": "货币符号",
  23283. "type": "string"
  23284. },
  23285. "customername": {
  23286. "description": "卖家名称",
  23287. "type": "string"
  23288. },
  23289. "decimalplace": {
  23290. "description": "报价小数位",
  23291. "type": "integer"
  23292. },
  23293. "goodscode": {
  23294. "description": "商品代码(内部)",
  23295. "type": "string"
  23296. },
  23297. "goodsdesc": {
  23298. "description": "商品详情",
  23299. "type": "string"
  23300. },
  23301. "goodsid": {
  23302. "description": "商品ID",
  23303. "type": "integer"
  23304. },
  23305. "goodsname": {
  23306. "description": "商品名称",
  23307. "type": "string"
  23308. },
  23309. "goodsprice": {
  23310. "description": "商品价格",
  23311. "type": "number"
  23312. },
  23313. "hotindex": {
  23314. "description": "景点热度",
  23315. "type": "integer"
  23316. },
  23317. "lotsize": {
  23318. "description": "手数最小变动单位",
  23319. "type": "integer"
  23320. },
  23321. "marketid": {
  23322. "description": "市场ID",
  23323. "type": "integer"
  23324. },
  23325. "orderid": {
  23326. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  23327. "type": "string"
  23328. },
  23329. "orderprice": {
  23330. "description": "委托价格",
  23331. "type": "number"
  23332. },
  23333. "orderqty": {
  23334. "description": "委托数量",
  23335. "type": "integer"
  23336. },
  23337. "orderstatus": {
  23338. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  23339. "type": "integer"
  23340. },
  23341. "picurls": {
  23342. "description": "介绍图片[多张用逗号分隔]",
  23343. "type": "string"
  23344. },
  23345. "quoteminunit": {
  23346. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  23347. "type": "integer"
  23348. },
  23349. "sellUserID": {
  23350. "description": "卖方UserID",
  23351. "type": "integer"
  23352. },
  23353. "trademode": {
  23354. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  23355. "type": "integer"
  23356. },
  23357. "tradeqty": {
  23358. "description": "成交数量",
  23359. "type": "integer"
  23360. },
  23361. "vendorattr": {
  23362. "description": "供应商附件(多张,逗号分隔)",
  23363. "type": "string"
  23364. },
  23365. "vendorname": {
  23366. "description": "供应商名称",
  23367. "type": "string"
  23368. },
  23369. "vendorphone": {
  23370. "description": "供应商客服电话",
  23371. "type": "string"
  23372. },
  23373. "videourls": {
  23374. "description": "介绍视频[多张用逗号分隔]",
  23375. "type": "string"
  23376. }
  23377. }
  23378. },
  23379. "models.HsbyMarketInfo": {
  23380. "type": "object",
  23381. "required": [
  23382. "marketid",
  23383. "marketstatus",
  23384. "trademode"
  23385. ],
  23386. "properties": {
  23387. "marketid": {
  23388. "description": "市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务",
  23389. "type": "integer"
  23390. },
  23391. "marketname": {
  23392. "description": "市场名称",
  23393. "type": "string"
  23394. },
  23395. "marketstatus": {
  23396. "description": "生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销",
  23397. "type": "integer"
  23398. },
  23399. "trademode": {
  23400. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  23401. "type": "integer"
  23402. }
  23403. }
  23404. },
  23405. "models.HsbyMyGoods": {
  23406. "type": "object",
  23407. "required": [
  23408. "accountid",
  23409. "goodscode",
  23410. "goodsid",
  23411. "goodsname",
  23412. "marketid",
  23413. "trademode"
  23414. ],
  23415. "properties": {
  23416. "accountid": {
  23417. "description": "账号Id",
  23418. "type": "integer"
  23419. },
  23420. "agreeunit": {
  23421. "description": "合约单位",
  23422. "type": "number"
  23423. },
  23424. "buyaverageprice": {
  23425. "description": "持仓均价",
  23426. "type": "number"
  23427. },
  23428. "buycurholderamount": {
  23429. "description": "买当前持仓总金额[商品币种]",
  23430. "type": "number"
  23431. },
  23432. "buycurpositionqty": {
  23433. "description": "买当前持仓总数量",
  23434. "type": "integer"
  23435. },
  23436. "buymaxqty": {
  23437. "description": "购买上限 [71] - 0为不限",
  23438. "type": "integer"
  23439. },
  23440. "currencysign": {
  23441. "description": "货币符号",
  23442. "type": "string"
  23443. },
  23444. "decimalplace": {
  23445. "description": "报价小数位",
  23446. "type": "integer"
  23447. },
  23448. "enableqty": {
  23449. "description": "可用数量",
  23450. "type": "integer"
  23451. },
  23452. "goodscode": {
  23453. "description": "商品代码(内部)",
  23454. "type": "string"
  23455. },
  23456. "goodsid": {
  23457. "description": "商品Id",
  23458. "type": "integer"
  23459. },
  23460. "goodsname": {
  23461. "description": "商品名称",
  23462. "type": "string"
  23463. },
  23464. "goodsprice": {
  23465. "description": "商品价格",
  23466. "type": "number"
  23467. },
  23468. "goodsstatus": {
  23469. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  23470. "type": "integer"
  23471. },
  23472. "last": {
  23473. "description": "现价(仅使用于挂牌点选)",
  23474. "type": "number"
  23475. },
  23476. "limitdown": {
  23477. "description": "跌停价(仅使用于挂牌点选)",
  23478. "type": "number"
  23479. },
  23480. "limitup": {
  23481. "description": "涨停价(仅使用于挂牌点选)",
  23482. "type": "number"
  23483. },
  23484. "lotsize": {
  23485. "description": "手数最小变动单位",
  23486. "type": "integer"
  23487. },
  23488. "marketid": {
  23489. "description": "所属市场ID",
  23490. "type": "integer"
  23491. },
  23492. "picurls": {
  23493. "description": "介绍图片[多张用逗号分隔]",
  23494. "type": "string"
  23495. },
  23496. "quoteminunit": {
  23497. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  23498. "type": "integer"
  23499. },
  23500. "stepvalue": {
  23501. "description": "价格最小变动单位",
  23502. "type": "number"
  23503. },
  23504. "trademode": {
  23505. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  23506. "type": "integer"
  23507. }
  23508. }
  23509. },
  23510. "models.HsbyMyPackage": {
  23511. "type": "object",
  23512. "required": [
  23513. "goodscode",
  23514. "goodsname",
  23515. "takeorderid",
  23516. "trademode"
  23517. ],
  23518. "properties": {
  23519. "accountid": {
  23520. "description": "账户ID",
  23521. "type": "integer"
  23522. },
  23523. "address": {
  23524. "description": "提货人详细地址",
  23525. "type": "string"
  23526. },
  23527. "agreeunit": {
  23528. "description": "合约单位",
  23529. "type": "number"
  23530. },
  23531. "amount": {
  23532. "description": "提货金额",
  23533. "type": "number"
  23534. },
  23535. "auditer": {
  23536. "description": "审核人",
  23537. "type": "integer"
  23538. },
  23539. "audittime": {
  23540. "description": "审核时间",
  23541. "type": "string"
  23542. },
  23543. "averageprice": {
  23544. "description": "均价",
  23545. "type": "number"
  23546. },
  23547. "cardnum": {
  23548. "description": "提货人证件号码",
  23549. "type": "string"
  23550. },
  23551. "cardtypeid": {
  23552. "description": "提货人证件类型",
  23553. "type": "integer"
  23554. },
  23555. "checkremark": {
  23556. "description": "审核备注",
  23557. "type": "string"
  23558. },
  23559. "currencysign": {
  23560. "description": "货币符号",
  23561. "type": "string"
  23562. },
  23563. "decimalplace": {
  23564. "description": "报价小数位",
  23565. "type": "integer"
  23566. },
  23567. "goodscode": {
  23568. "description": "商品代码(内部)",
  23569. "type": "string"
  23570. },
  23571. "goodsid": {
  23572. "description": "商品ID",
  23573. "type": "integer"
  23574. },
  23575. "goodsname": {
  23576. "description": "商品名称",
  23577. "type": "string"
  23578. },
  23579. "handlestatus": {
  23580. "description": "处理状态",
  23581. "type": "integer"
  23582. },
  23583. "marketid": {
  23584. "description": "市场ID",
  23585. "type": "integer"
  23586. },
  23587. "phonenum": {
  23588. "description": "提货人联系方式",
  23589. "type": "string"
  23590. },
  23591. "picurls": {
  23592. "description": "介绍图片[多张用逗号分隔]",
  23593. "type": "string"
  23594. },
  23595. "qty": {
  23596. "description": "提货数量",
  23597. "type": "number"
  23598. },
  23599. "recivername": {
  23600. "description": "提货人姓名",
  23601. "type": "string"
  23602. },
  23603. "reqtime": {
  23604. "description": "更新时间",
  23605. "type": "string"
  23606. },
  23607. "takemode": {
  23608. "description": "提货方式 - 2:自提 3:配送",
  23609. "type": "integer"
  23610. },
  23611. "takeorderid": {
  23612. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  23613. "type": "string"
  23614. },
  23615. "takeorderstatus": {
  23616. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  23617. "type": "integer"
  23618. },
  23619. "takeremark": {
  23620. "description": "提货备注",
  23621. "type": "string"
  23622. },
  23623. "tradedate": {
  23624. "description": "交易日(yyyyMMdd)",
  23625. "type": "string"
  23626. },
  23627. "trademode": {
  23628. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  23629. "type": "integer"
  23630. },
  23631. "userid": {
  23632. "description": "用户ID",
  23633. "type": "integer"
  23634. },
  23635. "vendorname": {
  23636. "description": "供应商名称",
  23637. "type": "string"
  23638. }
  23639. }
  23640. },
  23641. "models.HsbyPreGoods": {
  23642. "type": "object",
  23643. "required": [
  23644. "goodscode",
  23645. "goodsid",
  23646. "goodsname",
  23647. "marketid",
  23648. "trademode"
  23649. ],
  23650. "properties": {
  23651. "agreeunit": {
  23652. "description": "合约单位",
  23653. "type": "number"
  23654. },
  23655. "currency": {
  23656. "description": "货币",
  23657. "type": "string"
  23658. },
  23659. "currencysign": {
  23660. "description": "货币符号",
  23661. "type": "string"
  23662. },
  23663. "decimalplace": {
  23664. "description": "报价小数位",
  23665. "type": "integer"
  23666. },
  23667. "desccityid": {
  23668. "description": "目的地(市)",
  23669. "type": "integer"
  23670. },
  23671. "descprovinceid": {
  23672. "description": "目的地(省)",
  23673. "type": "integer"
  23674. },
  23675. "enableqty": {
  23676. "description": "剩余数量",
  23677. "type": "integer"
  23678. },
  23679. "goodscode": {
  23680. "description": "商品代码(内部)",
  23681. "type": "string"
  23682. },
  23683. "goodsid": {
  23684. "description": "商品ID(自增ID SEQ_GOODS)",
  23685. "type": "integer"
  23686. },
  23687. "goodsname": {
  23688. "description": "商品名称",
  23689. "type": "string"
  23690. },
  23691. "goodsstatus": {
  23692. "description": "商品状态- 2:未上市 3:上市",
  23693. "type": "integer"
  23694. },
  23695. "lasttradedate": {
  23696. "description": "最后交易日期(状态:待退市)",
  23697. "type": "string"
  23698. },
  23699. "listingdate": {
  23700. "description": "交易开始日期",
  23701. "type": "string"
  23702. },
  23703. "marketid": {
  23704. "description": "所属市场ID",
  23705. "type": "integer"
  23706. },
  23707. "picurls": {
  23708. "description": "介绍图片[多张用逗号分隔]",
  23709. "type": "string"
  23710. },
  23711. "presaledqty": {
  23712. "description": "已预售量(预售结束时更新)",
  23713. "type": "integer"
  23714. },
  23715. "presaleqty": {
  23716. "description": "预售数量",
  23717. "type": "integer"
  23718. },
  23719. "quoteminunit": {
  23720. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  23721. "type": "integer"
  23722. },
  23723. "refprice": {
  23724. "description": "参考价格[一口价]",
  23725. "type": "number"
  23726. },
  23727. "relatedgoodsid": {
  23728. "description": "关联交易合约ID",
  23729. "type": "integer"
  23730. },
  23731. "trademode": {
  23732. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  23733. "type": "integer"
  23734. },
  23735. "videourls": {
  23736. "description": "介绍视频[多张用逗号分隔]",
  23737. "type": "string"
  23738. }
  23739. }
  23740. },
  23741. "models.HsbyPreGoodsDetail": {
  23742. "type": "object",
  23743. "required": [
  23744. "goodscode",
  23745. "goodsid",
  23746. "goodsname",
  23747. "marketid",
  23748. "trademode"
  23749. ],
  23750. "properties": {
  23751. "agreeunit": {
  23752. "description": "合约单位",
  23753. "type": "number"
  23754. },
  23755. "buymaxqty": {
  23756. "description": "购买上限 [71] - 0为不限",
  23757. "type": "integer"
  23758. },
  23759. "currency": {
  23760. "description": "货币",
  23761. "type": "string"
  23762. },
  23763. "currencysign": {
  23764. "description": "货币符号",
  23765. "type": "string"
  23766. },
  23767. "customername": {
  23768. "description": "发行单位",
  23769. "type": "string"
  23770. },
  23771. "decimalplace": {
  23772. "description": "报价小数位",
  23773. "type": "integer"
  23774. },
  23775. "desccityid": {
  23776. "description": "目的地(市)ID",
  23777. "type": "integer"
  23778. },
  23779. "descprovinceid": {
  23780. "description": "目的地(省)ID",
  23781. "type": "integer"
  23782. },
  23783. "enableqty": {
  23784. "description": "剩余数量",
  23785. "type": "integer"
  23786. },
  23787. "goodscode": {
  23788. "description": "商品代码(内部)",
  23789. "type": "string"
  23790. },
  23791. "goodsdesc": {
  23792. "description": "商品详情",
  23793. "type": "string"
  23794. },
  23795. "goodsid": {
  23796. "description": "商品ID(自增ID SEQ_GOODS)",
  23797. "type": "integer"
  23798. },
  23799. "goodsname": {
  23800. "description": "商品名称",
  23801. "type": "string"
  23802. },
  23803. "goodsstatus": {
  23804. "description": "商品状态- 2:未上市 3:上市",
  23805. "type": "integer"
  23806. },
  23807. "goodunit": {
  23808. "description": "报价单位",
  23809. "type": "string"
  23810. },
  23811. "lasttradedate": {
  23812. "description": "最后交易日期(状态:待退市)",
  23813. "type": "string"
  23814. },
  23815. "listingdate": {
  23816. "description": "交易开始日期",
  23817. "type": "string"
  23818. },
  23819. "lotsize": {
  23820. "description": "手数最小变动单位",
  23821. "type": "integer"
  23822. },
  23823. "marketid": {
  23824. "description": "所属市场ID",
  23825. "type": "integer"
  23826. },
  23827. "picurls": {
  23828. "description": "介绍图片[多张用逗号分隔]",
  23829. "type": "string"
  23830. },
  23831. "presaledqty": {
  23832. "description": "已预售量(预售结束时更新)",
  23833. "type": "integer"
  23834. },
  23835. "presaleqty": {
  23836. "description": "预售数量",
  23837. "type": "integer"
  23838. },
  23839. "quoteminunit": {
  23840. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  23841. "type": "integer"
  23842. },
  23843. "refprice": {
  23844. "description": "参考价格[一口价]",
  23845. "type": "number"
  23846. },
  23847. "relatedgoodsid": {
  23848. "description": "关联交易合约ID",
  23849. "type": "integer"
  23850. },
  23851. "stepvalue": {
  23852. "description": "价格最小变动单位",
  23853. "type": "number"
  23854. },
  23855. "trademode": {
  23856. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  23857. "type": "integer"
  23858. },
  23859. "vendorattr": {
  23860. "description": "供应商附件(多张,逗号分隔)",
  23861. "type": "string"
  23862. },
  23863. "vendorname": {
  23864. "description": "供应商名称",
  23865. "type": "string"
  23866. },
  23867. "vendorphone": {
  23868. "description": "供应商客服电话",
  23869. "type": "string"
  23870. },
  23871. "videourls": {
  23872. "description": "介绍视频[多张用逗号分隔]",
  23873. "type": "string"
  23874. }
  23875. }
  23876. },
  23877. "models.HsbySellCollectionOrder": {
  23878. "type": "object",
  23879. "required": [
  23880. "goodscode",
  23881. "goodsname",
  23882. "tradeid",
  23883. "trademode"
  23884. ],
  23885. "properties": {
  23886. "agreeunit": {
  23887. "description": "合约单位",
  23888. "type": "number"
  23889. },
  23890. "buyaccountid": {
  23891. "description": "买方账号ID[报价币种]",
  23892. "type": "integer"
  23893. },
  23894. "buyorderid": {
  23895. "description": "买方委托单号",
  23896. "type": "string"
  23897. },
  23898. "createtime": {
  23899. "description": "创建时间",
  23900. "type": "string"
  23901. },
  23902. "currencysign": {
  23903. "description": "货币符号",
  23904. "type": "string"
  23905. },
  23906. "decimalplace": {
  23907. "description": "报价小数位",
  23908. "type": "integer"
  23909. },
  23910. "goodscode": {
  23911. "description": "商品代码(内部)",
  23912. "type": "string"
  23913. },
  23914. "goodsid": {
  23915. "description": "商品ID",
  23916. "type": "integer"
  23917. },
  23918. "goodsname": {
  23919. "description": "商品名称",
  23920. "type": "string"
  23921. },
  23922. "marketid": {
  23923. "description": "市场ID",
  23924. "type": "integer"
  23925. },
  23926. "offamount": {
  23927. "description": "优惠金额",
  23928. "type": "number"
  23929. },
  23930. "payamount": {
  23931. "description": "支付金额 = TradeAmount + TradeCharge - OffAmount",
  23932. "type": "number"
  23933. },
  23934. "payflag": {
  23935. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  23936. "type": "integer"
  23937. },
  23938. "paylimitedtime": {
  23939. "description": "支付期限",
  23940. "type": "string"
  23941. },
  23942. "paytime": {
  23943. "description": "付款时间",
  23944. "type": "string"
  23945. },
  23946. "picurls": {
  23947. "description": "商品介绍图片[多张用逗号分隔]",
  23948. "type": "string"
  23949. },
  23950. "sellaccountid": {
  23951. "description": "卖方账号ID[报价币种]",
  23952. "type": "integer"
  23953. },
  23954. "sellorderid": {
  23955. "description": "卖方委托单号",
  23956. "type": "string"
  23957. },
  23958. "tradeamount": {
  23959. "description": "成交金额",
  23960. "type": "number"
  23961. },
  23962. "tradecharge": {
  23963. "description": "成交手续费(买方)",
  23964. "type": "number"
  23965. },
  23966. "tradedate": {
  23967. "description": "交易日(yyyyMMdd)",
  23968. "type": "string"
  23969. },
  23970. "tradeid": {
  23971. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  23972. "type": "string"
  23973. },
  23974. "trademode": {
  23975. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  23976. "type": "integer"
  23977. },
  23978. "tradeprice": {
  23979. "description": "成交价格",
  23980. "type": "number"
  23981. },
  23982. "tradeqty": {
  23983. "description": "成交数量",
  23984. "type": "integer"
  23985. }
  23986. }
  23987. },
  23988. "models.HsbySellMyDetail": {
  23989. "type": "object",
  23990. "required": [
  23991. "accountid",
  23992. "buyorsell",
  23993. "goodscode",
  23994. "goodsid",
  23995. "goodsname",
  23996. "marketid",
  23997. "orderid",
  23998. "time",
  23999. "trademode"
  24000. ],
  24001. "properties": {
  24002. "accountid": {
  24003. "description": "账户ID[报价币种]",
  24004. "type": "integer"
  24005. },
  24006. "agreeunit": {
  24007. "description": "合约单位",
  24008. "type": "number"
  24009. },
  24010. "buyorsell": {
  24011. "description": "买卖 - 0:买 1:卖",
  24012. "type": "integer"
  24013. },
  24014. "currencysign": {
  24015. "description": "货币符号",
  24016. "type": "string"
  24017. },
  24018. "decimalplace": {
  24019. "description": "报价小数位",
  24020. "type": "integer"
  24021. },
  24022. "goodscode": {
  24023. "description": "商品代码(内部)",
  24024. "type": "string"
  24025. },
  24026. "goodsid": {
  24027. "description": "商品ID",
  24028. "type": "integer"
  24029. },
  24030. "goodsname": {
  24031. "description": "商品名称",
  24032. "type": "string"
  24033. },
  24034. "marketid": {
  24035. "description": "市场ID",
  24036. "type": "integer"
  24037. },
  24038. "orderid": {
  24039. "description": "单号(发布中 - 委托单号;已完成 - 成交单号)",
  24040. "type": "string"
  24041. },
  24042. "ordertype": {
  24043. "description": "单据类型:0 - 发布中, 1 - 已完成",
  24044. "type": "integer"
  24045. },
  24046. "picurls": {
  24047. "description": "介绍图片[多张用逗号分隔]",
  24048. "type": "string"
  24049. },
  24050. "price": {
  24051. "description": "价格",
  24052. "type": "number"
  24053. },
  24054. "qty": {
  24055. "description": "数量",
  24056. "type": "integer"
  24057. },
  24058. "time": {
  24059. "description": "时间",
  24060. "type": "string"
  24061. },
  24062. "trademode": {
  24063. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  24064. "type": "integer"
  24065. },
  24066. "vendorname": {
  24067. "description": "供应商名称",
  24068. "type": "string"
  24069. }
  24070. }
  24071. },
  24072. "models.HsbyTopGoods": {
  24073. "type": "object",
  24074. "required": [
  24075. "goodscode",
  24076. "goodsid",
  24077. "goodsname",
  24078. "marketid",
  24079. "trademode"
  24080. ],
  24081. "properties": {
  24082. "agreeunit": {
  24083. "description": "合约单位",
  24084. "type": "number"
  24085. },
  24086. "currency": {
  24087. "description": "货币",
  24088. "type": "string"
  24089. },
  24090. "currencysign": {
  24091. "description": "货币符号",
  24092. "type": "string"
  24093. },
  24094. "decimalplace": {
  24095. "description": "报价小数位",
  24096. "type": "integer"
  24097. },
  24098. "desccityid": {
  24099. "description": "目的地(市)",
  24100. "type": "integer"
  24101. },
  24102. "descprovinceid": {
  24103. "description": "目的地(省)",
  24104. "type": "integer"
  24105. },
  24106. "goodscode": {
  24107. "description": "商品代码(内部)",
  24108. "type": "string"
  24109. },
  24110. "goodsid": {
  24111. "description": "商品ID(自增ID SEQ_GOODS)",
  24112. "type": "integer"
  24113. },
  24114. "goodsname": {
  24115. "description": "商品名称",
  24116. "type": "string"
  24117. },
  24118. "hotindex": {
  24119. "description": "景点热度",
  24120. "type": "integer"
  24121. },
  24122. "last": {
  24123. "description": "现价",
  24124. "type": "number"
  24125. },
  24126. "marketid": {
  24127. "description": "所属市场ID",
  24128. "type": "integer"
  24129. },
  24130. "picurls": {
  24131. "description": "介绍图片[多张用逗号分隔]",
  24132. "type": "string"
  24133. },
  24134. "quoteminunit": {
  24135. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  24136. "type": "integer"
  24137. },
  24138. "trademode": {
  24139. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  24140. "type": "integer"
  24141. },
  24142. "videourls": {
  24143. "description": "介绍视频[多张用逗号分隔]",
  24144. "type": "string"
  24145. }
  24146. }
  24147. },
  24148. "models.HybsMyBuyOrderDetail": {
  24149. "type": "object",
  24150. "required": [
  24151. "accountid",
  24152. "buyorsell",
  24153. "goodscode",
  24154. "goodsid",
  24155. "goodsname",
  24156. "marketid",
  24157. "orderid",
  24158. "orderqty",
  24159. "ordertime",
  24160. "trademode"
  24161. ],
  24162. "properties": {
  24163. "accountid": {
  24164. "description": "账户ID[报价币种]",
  24165. "type": "integer"
  24166. },
  24167. "agreeunit": {
  24168. "description": "合约单位",
  24169. "type": "number"
  24170. },
  24171. "buyorsell": {
  24172. "description": "买卖 - 0:买 1:卖",
  24173. "type": "integer"
  24174. },
  24175. "cancelqty": {
  24176. "description": "撤单数量",
  24177. "type": "integer"
  24178. },
  24179. "currencysign": {
  24180. "description": "货币符号",
  24181. "type": "string"
  24182. },
  24183. "decimalplace": {
  24184. "description": "报价小数位",
  24185. "type": "integer"
  24186. },
  24187. "goodscode": {
  24188. "description": "商品代码(内部)",
  24189. "type": "string"
  24190. },
  24191. "goodsid": {
  24192. "description": "商品ID",
  24193. "type": "integer"
  24194. },
  24195. "goodsname": {
  24196. "description": "商品名称",
  24197. "type": "string"
  24198. },
  24199. "listingselecttype": {
  24200. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  24201. "type": "integer"
  24202. },
  24203. "marketid": {
  24204. "description": "市场ID",
  24205. "type": "integer"
  24206. },
  24207. "mybuystatus": {
  24208. "description": "\"我的订单\"显示状态- 1:抢购中 2:求购中 3:已完成 4:已撤消 5:委托失败",
  24209. "type": "integer"
  24210. },
  24211. "orderamount": {
  24212. "description": "委托金额",
  24213. "type": "number"
  24214. },
  24215. "orderid": {
  24216. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  24217. "type": "string"
  24218. },
  24219. "orderprice": {
  24220. "description": "委托价格",
  24221. "type": "number"
  24222. },
  24223. "orderqty": {
  24224. "description": "委托数量",
  24225. "type": "integer"
  24226. },
  24227. "orderstatus": {
  24228. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  24229. "type": "integer"
  24230. },
  24231. "ordertime": {
  24232. "description": "委托时间",
  24233. "type": "string"
  24234. },
  24235. "picurls1": {
  24236. "description": "预售商品介绍图片[多张用逗号分隔]",
  24237. "type": "string"
  24238. },
  24239. "picurls2": {
  24240. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  24241. "type": "string"
  24242. },
  24243. "trademode": {
  24244. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  24245. "type": "integer"
  24246. },
  24247. "tradeqty": {
  24248. "description": "成交数量",
  24249. "type": "integer"
  24250. },
  24251. "vendorname1": {
  24252. "description": "预售商品供应商名称",
  24253. "type": "string"
  24254. },
  24255. "vendorname2": {
  24256. "description": "挂牌商品供应商名称",
  24257. "type": "string"
  24258. }
  24259. }
  24260. },
  24261. "models.Loginaccount": {
  24262. "type": "object",
  24263. "required": [
  24264. "loginid"
  24265. ],
  24266. "properties": {
  24267. "accountname": {
  24268. "description": "账户名称",
  24269. "type": "string"
  24270. },
  24271. "canoutin": {
  24272. "description": "是否可出入金 - 0:不可 1:可",
  24273. "type": "integer"
  24274. },
  24275. "clientroleid": {
  24276. "description": "终端角色ID",
  24277. "type": "integer"
  24278. },
  24279. "haslogined": {
  24280. "description": "是否已登录 - 0:未登录 1:已登录",
  24281. "type": "integer"
  24282. },
  24283. "hasupdatedpwd": {
  24284. "description": "是否已更改密码 - 0:未修改 1:已修改",
  24285. "type": "integer"
  24286. },
  24287. "lastloginip": {
  24288. "description": "最新登录地址",
  24289. "type": "string"
  24290. },
  24291. "lastloginmode": {
  24292. "description": "最新登录方式(客户端类型) - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  24293. "type": "integer"
  24294. },
  24295. "lastloginremark": {
  24296. "description": "最新登录描述",
  24297. "type": "string"
  24298. },
  24299. "lastlogintime": {
  24300. "description": "最新登录时间",
  24301. "type": "string"
  24302. },
  24303. "logincode": {
  24304. "description": "登录代码",
  24305. "type": "string"
  24306. },
  24307. "loginfailnum": {
  24308. "description": "连续登录失败次数(登录成功时清零)",
  24309. "type": "integer"
  24310. },
  24311. "loginid": {
  24312. "description": "登陆账号",
  24313. "type": "integer"
  24314. },
  24315. "loginport": {
  24316. "description": "最新登录端口",
  24317. "type": "integer"
  24318. },
  24319. "loginstatus": {
  24320. "description": "登录账号状态 1:正常 2:冻结(停用) 3:无效(注销)",
  24321. "type": "integer"
  24322. },
  24323. "loginusertype": {
  24324. "description": "登录账号类型 - 1:投资者 2:机构交易员",
  24325. "type": "integer"
  24326. },
  24327. "mobile": {
  24328. "description": "手机号码(加密存储)",
  24329. "type": "string"
  24330. },
  24331. "modifierid": {
  24332. "description": "修改人",
  24333. "type": "integer"
  24334. },
  24335. "modifysrc": {
  24336. "description": "审核来源 - 1:管理端 2:终端",
  24337. "type": "integer"
  24338. },
  24339. "modifytime": {
  24340. "description": "修改时间",
  24341. "type": "string"
  24342. },
  24343. "password": {
  24344. "description": "登陆密码",
  24345. "type": "string"
  24346. },
  24347. "pwdwrongcount": {
  24348. "description": "密码错误次数",
  24349. "type": "integer"
  24350. },
  24351. "relateduserid": {
  24352. "description": "关联用户ID(机构)",
  24353. "type": "integer"
  24354. },
  24355. "taaccountrighttype": {
  24356. "description": "资金账号权限类型 - 1:不选默认为所有权限 2:不选默认为无权限",
  24357. "type": "integer"
  24358. },
  24359. "unfreezetime": {
  24360. "description": "账户解冻时间",
  24361. "type": "string"
  24362. },
  24363. "userid": {
  24364. "description": "用户ID",
  24365. "type": "integer"
  24366. }
  24367. }
  24368. },
  24369. "models.MainAccountInfo": {
  24370. "type": "object",
  24371. "properties": {
  24372. "accountid": {
  24373. "description": "账号id",
  24374. "type": "integer"
  24375. },
  24376. "accountname": {
  24377. "description": "账号名称(taaccount表中的名称)",
  24378. "type": "string"
  24379. },
  24380. "appid": {
  24381. "description": "AppID",
  24382. "type": "string"
  24383. },
  24384. "authcode": {
  24385. "description": "授权码",
  24386. "type": "string"
  24387. },
  24388. "brokerid": {
  24389. "description": "经纪商id",
  24390. "type": "string"
  24391. },
  24392. "fcid": {
  24393. "description": "期货公司id",
  24394. "type": "integer"
  24395. },
  24396. "fcname": {
  24397. "description": "期货公司代码",
  24398. "type": "string"
  24399. },
  24400. "hedgeaccountcode": {
  24401. "description": "外部账号代码(主账号登录代码)",
  24402. "type": "string"
  24403. },
  24404. "hedgeaccountpwd": {
  24405. "description": "密码",
  24406. "type": "string"
  24407. },
  24408. "ismain": {
  24409. "description": "是否主账号",
  24410. "type": "integer"
  24411. },
  24412. "relateduserid": {
  24413. "description": "关联用户id",
  24414. "type": "integer"
  24415. },
  24416. "userid": {
  24417. "description": "关联用户id",
  24418. "type": "integer"
  24419. }
  24420. }
  24421. },
  24422. "models.Market": {
  24423. "type": "object",
  24424. "required": [
  24425. "marketid",
  24426. "marketstatus",
  24427. "openmethod",
  24428. "reckonpricealgorithm",
  24429. "trademode",
  24430. "tradeproperty"
  24431. ],
  24432. "properties": {
  24433. "auctionwrtype": {
  24434. "description": "竞拍仓单类型 - 1:无仓单 2:有仓单 3;有无仓单均可",
  24435. "type": "integer"
  24436. },
  24437. "canacceptquote": {
  24438. "description": "确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]",
  24439. "type": "integer"
  24440. },
  24441. "cangoodsexercise": {
  24442. "description": "[期权]是否可现货行权- 0:否 1:是",
  24443. "type": "integer"
  24444. },
  24445. "cangoodsexercisetype": {
  24446. "description": "可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]",
  24447. "type": "integer"
  24448. },
  24449. "canmanualquotestrike": {
  24450. "description": "是否可手动报行权价- 0:否 1:是 [期权]",
  24451. "type": "integer"
  24452. },
  24453. "canmutistage": {
  24454. "description": "是否可多段运行 – 0:不可 1:可 [挂牌期权]",
  24455. "type": "integer"
  24456. },
  24457. "canpreexercise": {
  24458. "description": "[期权]是否可预申报- 0:否 1:是",
  24459. "type": "integer"
  24460. },
  24461. "clearinterval": {
  24462. "description": "待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))",
  24463. "type": "integer"
  24464. },
  24465. "contracttmp": {
  24466. "description": "合同模板[荷兰式][竞价式][仓单贸易]",
  24467. "type": "string"
  24468. },
  24469. "exchareaid": {
  24470. "description": "所属交易所,可以没有",
  24471. "type": "integer"
  24472. },
  24473. "goodstype": {
  24474. "description": "商品类型 - 1:交易商品 2:仓单商品",
  24475. "type": "integer"
  24476. },
  24477. "hasrebate": {
  24478. "description": "是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏",
  24479. "type": "integer"
  24480. },
  24481. "hastradecredit": {
  24482. "description": "是否交易授信[做市收益权] - 0:不授信 1:授信",
  24483. "type": "integer"
  24484. },
  24485. "haswr": {
  24486. "description": "[竞拍]是否需要仓单 - 0:不需要 1:需要-作废",
  24487. "type": "integer"
  24488. },
  24489. "isdeductmargin": {
  24490. "description": "竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除",
  24491. "type": "integer"
  24492. },
  24493. "isrecordsource": {
  24494. "description": "是否记录成交源 - 0:不记录 1:记录 [所有权]",
  24495. "type": "integer"
  24496. },
  24497. "isreleasemargin": {
  24498. "description": "成交参与保证金是否释放[竞价式] - 0:不释放 1释放",
  24499. "type": "integer"
  24500. },
  24501. "marginformula": {
  24502. "description": "持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  24503. "type": "integer"
  24504. },
  24505. "marginformula2": {
  24506. "description": "持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  24507. "type": "integer"
  24508. },
  24509. "marketid": {
  24510. "description": "市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务",
  24511. "type": "integer"
  24512. },
  24513. "marketname": {
  24514. "description": "市场名称",
  24515. "type": "string"
  24516. },
  24517. "marketserviceid": {
  24518. "description": "市场服务ID",
  24519. "type": "integer"
  24520. },
  24521. "marketstatus": {
  24522. "description": "生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销",
  24523. "type": "integer"
  24524. },
  24525. "markettype": {
  24526. "description": "市场类型- 1:非交易服务 2:交易服务",
  24527. "type": "integer"
  24528. },
  24529. "matchermode": {
  24530. "description": "指定对手模式[仓单贸易模式专用] - 1:任意对手",
  24531. "type": "integer"
  24532. },
  24533. "openmethod": {
  24534. "description": "开盘模式 - 0 自动 1手动",
  24535. "type": "integer"
  24536. },
  24537. "otcuserid": {
  24538. "description": "场外期权做市商[场外期权]",
  24539. "type": "integer"
  24540. },
  24541. "outersynctime": {
  24542. "description": "外部同步时间点(h24:mi:ss)[场外期权]",
  24543. "type": "string"
  24544. },
  24545. "pendingflag": {
  24546. "description": "待开市时间标识[通道交易-对冲] - 0:当日 1:上日",
  24547. "type": "integer"
  24548. },
  24549. "pendingtime": {
  24550. "description": "待开市时间[通道交易-对冲](HH:mm)",
  24551. "type": "string"
  24552. },
  24553. "performancetempid": {
  24554. "description": "履约计划模板ID - 作废",
  24555. "type": "integer"
  24556. },
  24557. "premiumquotemode": {
  24558. "description": "权利金报价方式 - 1:自动 2:手动",
  24559. "type": "integer"
  24560. },
  24561. "rebateratio": {
  24562. "description": "返利比率[竞价式]",
  24563. "type": "number"
  24564. },
  24565. "reckonorder": {
  24566. "description": "结算顺序",
  24567. "type": "integer"
  24568. },
  24569. "reckonpricealgorithm": {
  24570. "description": "结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价 6.卖一价 7.买一卖一均价 8.外部结算价",
  24571. "type": "integer"
  24572. },
  24573. "reckonpriceparam": {
  24574. "description": "结算价参数",
  24575. "type": "integer"
  24576. },
  24577. "reckontime": {
  24578. "description": "结算时间[通道交易-对冲](HH:mm)",
  24579. "type": "string"
  24580. },
  24581. "roleprioritytype": {
  24582. "description": "角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]",
  24583. "type": "integer"
  24584. },
  24585. "selllistingauditflag": {
  24586. "description": "卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要",
  24587. "type": "integer"
  24588. },
  24589. "trademarkettype": {
  24590. "description": "交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场",
  24591. "type": "integer"
  24592. },
  24593. "trademode": {
  24594. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  24595. "type": "integer"
  24596. },
  24597. "tradeproperty": {
  24598. "description": "交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易 8:场外期权",
  24599. "type": "integer"
  24600. },
  24601. "tradetype": {
  24602. "description": "下单方式[通道交易] - 1:直接转单 2:净头寸下单",
  24603. "type": "integer"
  24604. }
  24605. }
  24606. },
  24607. "models.Marketrun": {
  24608. "type": "object",
  24609. "required": [
  24610. "marketid",
  24611. "nexttradedate",
  24612. "reckonflag",
  24613. "runstatus",
  24614. "tradedate",
  24615. "tradedate2"
  24616. ],
  24617. "properties": {
  24618. "afternexttradedate": {
  24619. "description": "下下交易日",
  24620. "type": "string"
  24621. },
  24622. "clearquoteflag": {
  24623. "description": "行情清盘标志- 1:未发送 2:已发送 3:已回复",
  24624. "type": "integer"
  24625. },
  24626. "lastreckondate": {
  24627. "description": "最新交易日(结算成功)",
  24628. "type": "string"
  24629. },
  24630. "machinedate": {
  24631. "description": "机器时间",
  24632. "type": "string"
  24633. },
  24634. "manualflag": {
  24635. "description": "手动开市标志- 0:否 1:是 (市场为手动时,是否触发了手动开市标志)",
  24636. "type": "integer"
  24637. },
  24638. "marketid": {
  24639. "description": "市场ID",
  24640. "type": "integer"
  24641. },
  24642. "nexttradedate": {
  24643. "description": "下一交易日",
  24644. "type": "string"
  24645. },
  24646. "pretradedate": {
  24647. "description": "上一交易日",
  24648. "type": "string"
  24649. },
  24650. "reckonflag": {
  24651. "description": "结算标识 - 0: 停止结算 1: 正常(管理端控制此字段,交易服务根据此字段判断是否做结算)",
  24652. "type": "integer"
  24653. },
  24654. "runstatus": {
  24655. "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.今日免清算",
  24656. "type": "integer"
  24657. },
  24658. "sectionid": {
  24659. "description": "时间段号[多时段时用]",
  24660. "type": "integer"
  24661. },
  24662. "tradedate": {
  24663. "description": "当前交易日(服务) 资金结算完成即变更,供交易服务使用",
  24664. "type": "string"
  24665. },
  24666. "tradedate2": {
  24667. "description": "当前交易日(行情) 在第一个市场待开市时变更为TradeDate,供行情及终端系统使用",
  24668. "type": "string"
  24669. },
  24670. "updatetime": {
  24671. "description": "更新时间",
  24672. "type": "string"
  24673. }
  24674. }
  24675. },
  24676. "models.Messageboard": {
  24677. "type": "object",
  24678. "required": [
  24679. "messageboardid"
  24680. ],
  24681. "properties": {
  24682. "contactnum": {
  24683. "description": "联系电话",
  24684. "type": "string"
  24685. },
  24686. "createtime": {
  24687. "description": "创建时间",
  24688. "type": "string"
  24689. },
  24690. "message": {
  24691. "description": "留言信息",
  24692. "type": "string"
  24693. },
  24694. "messageboardid": {
  24695. "description": "留言簿ID(SEQ_MessageBoard)",
  24696. "type": "integer"
  24697. },
  24698. "userid": {
  24699. "description": "用户ID",
  24700. "type": "integer"
  24701. }
  24702. }
  24703. },
  24704. "models.MyCoupon": {
  24705. "type": "object",
  24706. "required": [
  24707. "accountid",
  24708. "coupontypeid"
  24709. ],
  24710. "properties": {
  24711. "accountid": {
  24712. "description": "资金账户ID",
  24713. "type": "integer"
  24714. },
  24715. "areauserid": {
  24716. "description": "所属机构",
  24717. "type": "integer"
  24718. },
  24719. "conditionvalue": {
  24720. "description": "条件阈值(可为0)",
  24721. "type": "number"
  24722. },
  24723. "couponcategroy": {
  24724. "description": "种类 - 1:现金券 2:折扣券 3:折扣券(单张)",
  24725. "type": "integer"
  24726. },
  24727. "couponname": {
  24728. "description": "优惠券名称",
  24729. "type": "string"
  24730. },
  24731. "coupontypeid": {
  24732. "description": "优惠券类型ID",
  24733. "type": "string"
  24734. },
  24735. "couponvalue": {
  24736. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值]",
  24737. "type": "number"
  24738. },
  24739. "curfreezeqty": {
  24740. "description": "期末冻结数量",
  24741. "type": "integer"
  24742. },
  24743. "curqty": {
  24744. "description": "期末数量",
  24745. "type": "integer"
  24746. },
  24747. "isgeneral": {
  24748. "description": "是否通用券 - 0:否 1:是",
  24749. "type": "integer"
  24750. },
  24751. "isunusable": {
  24752. "description": "是否不可用",
  24753. "type": "boolean"
  24754. },
  24755. "limitedflag": {
  24756. "description": "是否指定商品 - 0:不限 1:限制",
  24757. "type": "integer"
  24758. },
  24759. "limitedgoodsids": {
  24760. "description": "指定商品IDs[逗号分隔,前后加逗号]",
  24761. "type": "string"
  24762. },
  24763. "orifreezeqty": {
  24764. "description": "期初冻结数量",
  24765. "type": "integer"
  24766. },
  24767. "oriqty": {
  24768. "description": "期初数量",
  24769. "type": "integer"
  24770. },
  24771. "reasontype": {
  24772. "description": "不可用原因 - 0:未确认 1:不可用于此商品 2:不可用于此卖家",
  24773. "type": "integer"
  24774. },
  24775. "todaydecrease": {
  24776. "description": "今日减少",
  24777. "type": "integer"
  24778. },
  24779. "todayincrease": {
  24780. "description": "今日增加",
  24781. "type": "integer"
  24782. },
  24783. "userid": {
  24784. "description": "用户ID",
  24785. "type": "integer"
  24786. },
  24787. "userscope": {
  24788. "description": "卖家范围(用户ID,逗号分隔,前后加逗号) [IsGeneral =0时使用]",
  24789. "type": "string"
  24790. }
  24791. }
  24792. },
  24793. "models.MyCouponHold": {
  24794. "type": "object",
  24795. "required": [
  24796. "couponholdid"
  24797. ],
  24798. "properties": {
  24799. "accountid": {
  24800. "description": "资金账户ID",
  24801. "type": "integer"
  24802. },
  24803. "conditionvalue": {
  24804. "description": "条件阈值(可为0)",
  24805. "type": "number"
  24806. },
  24807. "couponcategroy": {
  24808. "description": "种类 - 1:现金券 2:折扣券 3:折扣券(单个商品)",
  24809. "type": "integer"
  24810. },
  24811. "couponholdid": {
  24812. "description": "优惠券持仓ID(229+Unix秒时间戳(10位)+xxxxxx)",
  24813. "type": "string"
  24814. },
  24815. "couponname": {
  24816. "description": "优惠券名称",
  24817. "type": "string"
  24818. },
  24819. "coupontypeid": {
  24820. "description": "优惠券类型ID - SEQ_COUPONTYPE",
  24821. "type": "string"
  24822. },
  24823. "couponvalue": {
  24824. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值]",
  24825. "type": "number"
  24826. },
  24827. "createtime": {
  24828. "description": "创建时间",
  24829. "type": "string"
  24830. },
  24831. "enddate": {
  24832. "description": "结束日期",
  24833. "type": "string"
  24834. },
  24835. "giveapplyid": {
  24836. "description": "发放申请ID(SEQ_COUPONGIVEAPPLY)",
  24837. "type": "integer"
  24838. },
  24839. "holdstatus": {
  24840. "description": "持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期",
  24841. "type": "integer"
  24842. },
  24843. "isgeneral": {
  24844. "description": "是否通用券 - 0:否 1:是",
  24845. "type": "integer"
  24846. },
  24847. "limitedflag": {
  24848. "description": "是否指定商品 - 0:不限 1:限制",
  24849. "type": "integer"
  24850. },
  24851. "limitedgoodsids": {
  24852. "description": "指定商品IDs[逗号分隔]",
  24853. "type": "string"
  24854. },
  24855. "qty": {
  24856. "description": "数量(按1平铺)",
  24857. "type": "integer"
  24858. },
  24859. "startdate": {
  24860. "description": "开始日期",
  24861. "type": "string"
  24862. },
  24863. "userid": {
  24864. "description": "用户ID",
  24865. "type": "integer"
  24866. },
  24867. "userscope": {
  24868. "description": "卖家范围(用户ID,逗号分隔) [IsGeneral =0时使用]",
  24869. "type": "string"
  24870. }
  24871. }
  24872. },
  24873. "models.MyUsedCoupon": {
  24874. "type": "object",
  24875. "required": [
  24876. "coupontypeid",
  24877. "orderid"
  24878. ],
  24879. "properties": {
  24880. "accountid": {
  24881. "description": "资金账户ID(买方)",
  24882. "type": "integer"
  24883. },
  24884. "conditionvalue": {
  24885. "description": "条件阈值(可为0)",
  24886. "type": "number"
  24887. },
  24888. "couponcategroy": {
  24889. "description": "种类 - 1:现金券 2:折扣券",
  24890. "type": "integer"
  24891. },
  24892. "couponname": {
  24893. "description": "优惠券名称",
  24894. "type": "string"
  24895. },
  24896. "coupontypeid": {
  24897. "description": "优惠券类型ID(买方)",
  24898. "type": "string"
  24899. },
  24900. "couponvalue": {
  24901. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值(0-100)]",
  24902. "type": "number"
  24903. },
  24904. "createtime": {
  24905. "description": "创建时间",
  24906. "type": "string"
  24907. },
  24908. "goodsid": {
  24909. "description": "商品ID",
  24910. "type": "integer"
  24911. },
  24912. "handlestatus": {
  24913. "description": "处理状态",
  24914. "type": "integer"
  24915. },
  24916. "marketid": {
  24917. "description": "市场ID",
  24918. "type": "integer"
  24919. },
  24920. "offamount": {
  24921. "description": "优惠金额",
  24922. "type": "number"
  24923. },
  24924. "orderid": {
  24925. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  24926. "type": "string"
  24927. },
  24928. "sellaccountid": {
  24929. "description": "资金账户ID(卖方)",
  24930. "type": "integer"
  24931. },
  24932. "tradeamount": {
  24933. "description": "成交金额",
  24934. "type": "number"
  24935. },
  24936. "tradeid": {
  24937. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  24938. "type": "string"
  24939. },
  24940. "usedqty": {
  24941. "description": "使用数量",
  24942. "type": "integer"
  24943. }
  24944. }
  24945. },
  24946. "models.OperationPrimaryMenu": {
  24947. "type": "object",
  24948. "properties": {
  24949. "Children": {
  24950. "description": "二级功能菜单",
  24951. "type": "array",
  24952. "items": {
  24953. "$ref": "#/definitions/models.OperationSecondaryMenu"
  24954. }
  24955. },
  24956. "Key": {
  24957. "description": "菜单KEY",
  24958. "type": "string"
  24959. },
  24960. "Label": {
  24961. "description": "菜单标题",
  24962. "type": "string"
  24963. }
  24964. }
  24965. },
  24966. "models.OperationSecondaryMenu": {
  24967. "type": "object",
  24968. "properties": {
  24969. "Key": {
  24970. "description": "菜单KEY",
  24971. "type": "string"
  24972. },
  24973. "Label": {
  24974. "description": "菜单标题",
  24975. "type": "string"
  24976. },
  24977. "TabList": {
  24978. "description": "三级功能菜单",
  24979. "type": "array",
  24980. "items": {
  24981. "$ref": "#/definitions/models.OperationTabMenu"
  24982. }
  24983. }
  24984. }
  24985. },
  24986. "models.OperationTabMenu": {
  24987. "type": "object",
  24988. "properties": {
  24989. "Key": {
  24990. "description": "菜单KEY",
  24991. "type": "string"
  24992. },
  24993. "Label": {
  24994. "description": "菜单标题",
  24995. "type": "string"
  24996. }
  24997. }
  24998. },
  24999. "models.PendingAuditBizModel": {
  25000. "type": "object",
  25001. "properties": {
  25002. "accountid": {
  25003. "description": "现货账户",
  25004. "type": "string"
  25005. },
  25006. "areaname": {
  25007. "description": "所属部门",
  25008. "type": "string"
  25009. },
  25010. "bizid": {
  25011. "description": "业务ID",
  25012. "type": "string"
  25013. },
  25014. "bizname": {
  25015. "description": "业务名称",
  25016. "type": "string"
  25017. },
  25018. "status": {
  25019. "description": "状态,0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  25020. "type": "integer"
  25021. },
  25022. "type": {
  25023. "description": "业务类型,1-期现套利,2-仓单回购,3-现货贸易",
  25024. "type": "integer"
  25025. }
  25026. }
  25027. },
  25028. "models.QhjAccountOutInApply": {
  25029. "type": "object",
  25030. "properties": {
  25031. "accountcode": {
  25032. "description": "资金账号",
  25033. "type": "string"
  25034. },
  25035. "accountname": {
  25036. "description": "用户名称(名称)",
  25037. "type": "string"
  25038. },
  25039. "accountpwd": {
  25040. "description": "资金密码",
  25041. "type": "string"
  25042. },
  25043. "accountticket": {
  25044. "description": "最新账户服务流水号",
  25045. "type": "string"
  25046. },
  25047. "amount": {
  25048. "description": "金额",
  25049. "type": "number"
  25050. },
  25051. "applyremark": {
  25052. "description": "申请备注",
  25053. "type": "string"
  25054. },
  25055. "applystatus": {
  25056. "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: 复审通过,账户冻结金额检查中;",
  25057. "type": "integer"
  25058. },
  25059. "auditid": {
  25060. "description": "审核人",
  25061. "type": "integer"
  25062. },
  25063. "audittime": {
  25064. "description": "审核时间",
  25065. "type": "string"
  25066. },
  25067. "bank_apply_ticket": {
  25068. "description": "银行申请流水",
  25069. "type": "string"
  25070. },
  25071. "bankaccountname": {
  25072. "description": "银行账户名",
  25073. "type": "string"
  25074. },
  25075. "bankaccountno": {
  25076. "description": "银行卡号",
  25077. "type": "string"
  25078. },
  25079. "bankid": {
  25080. "description": "银行编号",
  25081. "type": "string"
  25082. },
  25083. "bankticket": {
  25084. "description": "银行流水",
  25085. "type": "string"
  25086. },
  25087. "branchbankid": {
  25088. "description": "银行支行号",
  25089. "type": "string"
  25090. },
  25091. "branchbankname": {
  25092. "description": "银行支行名称",
  25093. "type": "string"
  25094. },
  25095. "capamountout": {
  25096. "description": "出金(劣后本金) - 外部子账户",
  25097. "type": "number"
  25098. },
  25099. "certificatephotourl": {
  25100. "description": "凭证地址",
  25101. "type": "string"
  25102. },
  25103. "charge": {
  25104. "description": "手续费",
  25105. "type": "number"
  25106. },
  25107. "checkerrorflag": {
  25108. "description": "对账差错标志 - 1:为单边账;其它为正常出入金",
  25109. "type": "integer"
  25110. },
  25111. "currency": {
  25112. "description": "币种",
  25113. "type": "string"
  25114. },
  25115. "cusbankid": {
  25116. "description": "托管银行编号",
  25117. "type": "string"
  25118. },
  25119. "exchticket": {
  25120. "description": "银行服务流水号",
  25121. "type": "string"
  25122. },
  25123. "executetype": {
  25124. "description": "申请类型 - 1:出金 2:入金 3: 单边账调整:入金; 4:单边账调整:出金 5:外部母账户调整:入金 6:外部母账户调整:出金 7:外部子账户:入金 8:外部子账户:出金",
  25125. "type": "integer"
  25126. },
  25127. "extendinfo": {
  25128. "description": "扩展信息",
  25129. "type": "string"
  25130. },
  25131. "extoperateid": {
  25132. "description": "交易服务流水号",
  25133. "type": "integer"
  25134. },
  25135. "infamount": {
  25136. "description": "劣后金额(自有)",
  25137. "type": "number"
  25138. },
  25139. "logincode": {
  25140. "description": "登录账号(账号)",
  25141. "type": "string"
  25142. },
  25143. "netaddr": {
  25144. "description": "调转网址",
  25145. "type": "string"
  25146. },
  25147. "priamount": {
  25148. "description": "优先金额(授信)",
  25149. "type": "number"
  25150. },
  25151. "reauditid": {
  25152. "description": "复审人",
  25153. "type": "integer"
  25154. },
  25155. "reauditremark": {
  25156. "description": "复审备注",
  25157. "type": "string"
  25158. },
  25159. "reaudittime": {
  25160. "description": "复审时间",
  25161. "type": "string"
  25162. },
  25163. "relatedorderid": {
  25164. "description": "三方关联ID",
  25165. "type": "string"
  25166. },
  25167. "remark": {
  25168. "description": "备注",
  25169. "type": "string"
  25170. },
  25171. "remark2": {
  25172. "description": "备注(失败原因)",
  25173. "type": "string"
  25174. },
  25175. "soucreamount": {
  25176. "description": "原始出入金金额",
  25177. "type": "number"
  25178. },
  25179. "soucrecurrencyid": {
  25180. "description": "原始出入金币种",
  25181. "type": "integer"
  25182. },
  25183. "tradedate": {
  25184. "description": "交易日(yyyyMMdd)",
  25185. "type": "string"
  25186. },
  25187. "updatetime": {
  25188. "description": "更新时间(申请时间)",
  25189. "type": "string"
  25190. },
  25191. "userid": {
  25192. "description": "用户id",
  25193. "type": "integer"
  25194. },
  25195. "userinfotype": {
  25196. "description": "账户类型 1-个人 2-企业",
  25197. "type": "integer"
  25198. }
  25199. }
  25200. },
  25201. "models.QhjAgreementChangeLog": {
  25202. "type": "object",
  25203. "properties": {
  25204. "agreementcontent": {
  25205. "description": "协议内容",
  25206. "type": "string"
  25207. },
  25208. "agreementfrequency": {
  25209. "description": "协议频率 - 1:首次 2:每次 [登录为2, 其它为1]",
  25210. "type": "integer"
  25211. },
  25212. "agreementid": {
  25213. "description": "协议ID",
  25214. "type": "integer"
  25215. },
  25216. "agreementname": {
  25217. "description": "协议名称",
  25218. "type": "string"
  25219. },
  25220. "agreementno": {
  25221. "description": "协议编号",
  25222. "type": "string"
  25223. },
  25224. "agreementtype": {
  25225. "description": "协议类型 - 1:注册 2:登录 3:交易",
  25226. "type": "integer"
  25227. },
  25228. "agreementversion": {
  25229. "description": "协议版本号",
  25230. "type": "integer"
  25231. },
  25232. "logid": {
  25233. "description": "流水ID(SEQ_QHJ_AGREEMENTCHANGELOG)",
  25234. "type": "integer"
  25235. },
  25236. "reviserid": {
  25237. "description": "修改人",
  25238. "type": "integer"
  25239. },
  25240. "revisersrc": {
  25241. "description": "修改来源 - 1:管理端 2:终端",
  25242. "type": "integer"
  25243. },
  25244. "updatetime": {
  25245. "description": "更新时间",
  25246. "type": "string"
  25247. }
  25248. }
  25249. },
  25250. "models.QhjAgreementConfig": {
  25251. "type": "object",
  25252. "properties": {
  25253. "agreementcontent": {
  25254. "description": "协议内容",
  25255. "type": "string"
  25256. },
  25257. "agreementfrequency": {
  25258. "description": "协议频率 - 1:首次 2:每次 [登录为2, 其它为1]",
  25259. "type": "integer"
  25260. },
  25261. "agreementid": {
  25262. "description": "协议ID(SEQ_QHJ_AGREEMENTCONFIG)",
  25263. "type": "integer"
  25264. },
  25265. "agreementname": {
  25266. "description": "协议名称",
  25267. "type": "string"
  25268. },
  25269. "agreementno": {
  25270. "description": "协议编号",
  25271. "type": "string"
  25272. },
  25273. "agreementtype": {
  25274. "description": "协议类型 - 1:注册 2:登录 3:交易",
  25275. "type": "integer"
  25276. },
  25277. "agreementversion": {
  25278. "description": "协议版本号(从1开始每次修改加1)",
  25279. "type": "integer"
  25280. },
  25281. "createtime": {
  25282. "description": "创建时间",
  25283. "type": "string"
  25284. },
  25285. "creatorid": {
  25286. "description": "创建人",
  25287. "type": "integer"
  25288. },
  25289. "creatorsrc": {
  25290. "description": "创建来源 - 1:管理端 2:终端",
  25291. "type": "integer"
  25292. },
  25293. "isvalid": {
  25294. "description": "是否有效 - 是否有效 - 1:正常 2:停用 3:注销",
  25295. "type": "integer"
  25296. },
  25297. "reviserid": {
  25298. "description": "修改人",
  25299. "type": "integer"
  25300. },
  25301. "revisersrc": {
  25302. "description": "修改来源 - 1:管理端 2:终端",
  25303. "type": "integer"
  25304. },
  25305. "updatetime": {
  25306. "description": "更新时间",
  25307. "type": "string"
  25308. }
  25309. }
  25310. },
  25311. "models.QhjAreaFinanceConfig": {
  25312. "type": "object",
  25313. "properties": {
  25314. "additionalratio": {
  25315. "description": "追加款比例",
  25316. "type": "number"
  25317. },
  25318. "advanceratio": {
  25319. "description": "预付款比例",
  25320. "type": "number"
  25321. },
  25322. "alarmratio": {
  25323. "description": "告警比例",
  25324. "type": "number"
  25325. },
  25326. "consumptiondirectreward": {
  25327. "description": "消费直推奖励值",
  25328. "type": "number"
  25329. },
  25330. "consumptionenabled": {
  25331. "description": "是否启用消费奖励 - 0:不启用 1:启用",
  25332. "type": "integer"
  25333. },
  25334. "consumptionindirectreward": {
  25335. "description": "消费间推奖励值",
  25336. "type": "number"
  25337. },
  25338. "consumptionmodel": {
  25339. "description": "消费奖励方式 - 1:比率 2:固定",
  25340. "type": "integer"
  25341. },
  25342. "customerservicenum": {
  25343. "description": "客服电话",
  25344. "type": "string"
  25345. },
  25346. "dayinterestrate": {
  25347. "description": "日利率",
  25348. "type": "number"
  25349. },
  25350. "disableconsumptiontips": {
  25351. "description": "关闭消费奖励提示",
  25352. "type": "string"
  25353. },
  25354. "modifierid": {
  25355. "description": "修改人ID",
  25356. "type": "integer"
  25357. },
  25358. "modifysrc": {
  25359. "description": "审核来源 - 1:管理端 2:终端",
  25360. "type": "integer"
  25361. },
  25362. "modifytime": {
  25363. "description": "修改时间",
  25364. "type": "string"
  25365. },
  25366. "promotionvalue": {
  25367. "description": "推广奖励值(固定)",
  25368. "type": "number"
  25369. },
  25370. "scoreconfigvalue1": {
  25371. "description": "提货积分配置1",
  25372. "type": "integer"
  25373. },
  25374. "scoreconfigvalue2": {
  25375. "description": "提货积分配置2",
  25376. "type": "integer"
  25377. },
  25378. "userid": {
  25379. "description": "机构用户ID其他做市关系,都设置为 1",
  25380. "type": "integer"
  25381. },
  25382. "username": {
  25383. "description": "用户名称",
  25384. "type": "string"
  25385. }
  25386. }
  25387. },
  25388. "models.QhjBankAccountSign": {
  25389. "type": "object",
  25390. "properties": {
  25391. "accountcode": {
  25392. "description": "资金账号",
  25393. "type": "string"
  25394. },
  25395. "accountname": {
  25396. "description": "资金账号对应的账号名(UserName)",
  25397. "type": "string"
  25398. },
  25399. "accountname2": {
  25400. "description": "资金账号对应的账号名(UserName) - 密文",
  25401. "type": "string"
  25402. },
  25403. "accounttype": {
  25404. "description": "账户类型(UserType)",
  25405. "type": "integer"
  25406. },
  25407. "applicationtime": {
  25408. "description": "最后一次更新的时间",
  25409. "type": "string"
  25410. },
  25411. "applyexchticket": {
  25412. "description": "申请流水",
  25413. "type": "string"
  25414. },
  25415. "auditid": {
  25416. "description": "审核人",
  25417. "type": "integer"
  25418. },
  25419. "audittime": {
  25420. "description": "审核时间",
  25421. "type": "string"
  25422. },
  25423. "bankaccountname": {
  25424. "description": "签约银行卡账号名",
  25425. "type": "string"
  25426. },
  25427. "bankaccountname2": {
  25428. "description": "签约银行卡账号名 - 密文",
  25429. "type": "string"
  25430. },
  25431. "bankaccountno": {
  25432. "description": "银行卡号",
  25433. "type": "string"
  25434. },
  25435. "bankaccountno2": {
  25436. "description": "银行卡号 - 密文",
  25437. "type": "string"
  25438. },
  25439. "bankaccounttype": {
  25440. "description": "银行账户类型 - 1-对私; 2-对公",
  25441. "type": "integer"
  25442. },
  25443. "bankcardtype": {
  25444. "description": "银行卡类型",
  25445. "type": "integer"
  25446. },
  25447. "bankchildaccount": {
  25448. "description": "银行子账号(签约成功后,很多银行会返回对应的这个虚拟账号)",
  25449. "type": "string"
  25450. },
  25451. "bankcity": {
  25452. "description": "开户行城市",
  25453. "type": "string"
  25454. },
  25455. "bankid": {
  25456. "description": "签约银行ID",
  25457. "type": "string"
  25458. },
  25459. "bankname": {
  25460. "description": "签约银行名称",
  25461. "type": "string"
  25462. },
  25463. "bankprovince": {
  25464. "description": "开户行省份",
  25465. "type": "string"
  25466. },
  25467. "branchbankid": {
  25468. "description": "签约银行支行号",
  25469. "type": "string"
  25470. },
  25471. "branchbankname": {
  25472. "description": "签约银行支行名称",
  25473. "type": "string"
  25474. },
  25475. "cardno": {
  25476. "description": "证件号码",
  25477. "type": "string"
  25478. },
  25479. "cardno2": {
  25480. "description": "证件号码 - 密文",
  25481. "type": "string"
  25482. },
  25483. "cardtype": {
  25484. "description": "证件类型",
  25485. "type": "string"
  25486. },
  25487. "currency": {
  25488. "description": "币种",
  25489. "type": "string"
  25490. },
  25491. "cusbankid": {
  25492. "description": "托管银行编号",
  25493. "type": "string"
  25494. },
  25495. "direct": {
  25496. "description": "方向(可以判断那方先发起的签约)",
  25497. "type": "integer"
  25498. },
  25499. "exchticket": {
  25500. "description": "最后一次签约成功的流水号",
  25501. "type": "string"
  25502. },
  25503. "extendinfo": {
  25504. "description": "扩展信息(JSON字符串)",
  25505. "type": "string"
  25506. },
  25507. "mobilephone": {
  25508. "description": "手机号",
  25509. "type": "string"
  25510. },
  25511. "mobilephone2": {
  25512. "description": "手机号 - 密文",
  25513. "type": "string"
  25514. },
  25515. "netaddr": {
  25516. "description": "调转网址",
  25517. "type": "string"
  25518. },
  25519. "relateduserid": {
  25520. "description": "关联使用者userid",
  25521. "type": "integer"
  25522. },
  25523. "signstatus": {
  25524. "description": "签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中 10:审核拒绝 11:换签待审核",
  25525. "type": "integer"
  25526. },
  25527. "updatetime": {
  25528. "description": "更新时间(签解约更新时间)",
  25529. "type": "string"
  25530. }
  25531. }
  25532. },
  25533. "models.QhjBankInfo": {
  25534. "type": "object",
  25535. "properties": {
  25536. "bankid": {
  25537. "description": "银行ID",
  25538. "type": "string"
  25539. },
  25540. "bankname": {
  25541. "description": "银行名称",
  25542. "type": "string"
  25543. },
  25544. "clearbankno": {
  25545. "description": "清算系统银行编号",
  25546. "type": "string"
  25547. },
  25548. "orderindex": {
  25549. "description": "排序顺序",
  25550. "type": "integer"
  25551. },
  25552. "status": {
  25553. "description": "状态 - 0:正常 1:注销",
  25554. "type": "integer"
  25555. }
  25556. }
  25557. },
  25558. "models.QhjBrokerApply": {
  25559. "type": "object",
  25560. "properties": {
  25561. "applicantid": {
  25562. "description": "申请人",
  25563. "type": "integer"
  25564. },
  25565. "applysrc": {
  25566. "description": "申请来源 - 1:管理端 2:终端",
  25567. "type": "integer"
  25568. },
  25569. "applystatus": {
  25570. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  25571. "type": "integer"
  25572. },
  25573. "applytime": {
  25574. "description": "申请时间",
  25575. "type": "string"
  25576. },
  25577. "auditorid": {
  25578. "description": "审核人",
  25579. "type": "integer"
  25580. },
  25581. "auditremark": {
  25582. "description": "审核备注",
  25583. "type": "string"
  25584. },
  25585. "auditsrc": {
  25586. "description": "审核来源 - 1:管理端 2:终端",
  25587. "type": "integer"
  25588. },
  25589. "audittime": {
  25590. "description": "审核时间",
  25591. "type": "string"
  25592. },
  25593. "audittradedate": {
  25594. "description": "审核交易日(yyyyMMdd)",
  25595. "type": "string"
  25596. },
  25597. "brokerapplyid": {
  25598. "description": "申请ID(SEQ_BROKERAPPLY)",
  25599. "type": "integer"
  25600. },
  25601. "cardbackphotourl": {
  25602. "description": "证件背面图片地址",
  25603. "type": "string"
  25604. },
  25605. "cardfrontphotourl": {
  25606. "description": "证件正面图片地址",
  25607. "type": "string"
  25608. },
  25609. "cardnum": {
  25610. "description": "证件号码(加密存储) 注:数据库没存证件类型字段,产品说类型固定为身份证",
  25611. "type": "string"
  25612. },
  25613. "customername": {
  25614. "description": "姓名",
  25615. "type": "string"
  25616. },
  25617. "logincode": {
  25618. "description": "登录代码",
  25619. "type": "string"
  25620. },
  25621. "mobile": {
  25622. "description": "手机号码",
  25623. "type": "string"
  25624. },
  25625. "parentuserid": {
  25626. "description": "所属机构id",
  25627. "type": "integer"
  25628. },
  25629. "parentusername": {
  25630. "description": "所属机构名称",
  25631. "type": "string"
  25632. },
  25633. "refereeuserid": {
  25634. "description": "推荐人id(经纪人)",
  25635. "type": "integer"
  25636. },
  25637. "refernum": {
  25638. "description": "推荐码",
  25639. "type": "string"
  25640. },
  25641. "remark": {
  25642. "description": "备注",
  25643. "type": "string"
  25644. },
  25645. "subarealevelpath": {
  25646. "description": "层级路径",
  25647. "type": "string"
  25648. },
  25649. "tradedate": {
  25650. "description": "交易日(yyyyMMdd)",
  25651. "type": "string"
  25652. },
  25653. "userid": {
  25654. "description": "申请人用户ID",
  25655. "type": "integer"
  25656. },
  25657. "userinfotype": {
  25658. "description": "用户类型 1-个人 2-企业",
  25659. "type": "integer"
  25660. },
  25661. "username": {
  25662. "description": "用户名称",
  25663. "type": "string"
  25664. }
  25665. }
  25666. },
  25667. "models.QhjBrokerApplyEx": {
  25668. "type": "object",
  25669. "properties": {
  25670. "applylist": {
  25671. "description": "经纪人申请记录(只返回最新一条)",
  25672. "type": "array",
  25673. "items": {
  25674. "$ref": "#/definitions/models.QhjBrokerApply"
  25675. }
  25676. },
  25677. "canrecommend": {
  25678. "description": "是否经纪人 0-不是 1-是",
  25679. "type": "integer"
  25680. },
  25681. "refernum": {
  25682. "description": "推荐码",
  25683. "type": "string"
  25684. },
  25685. "userid": {
  25686. "description": "用户id",
  25687. "type": "integer"
  25688. },
  25689. "userinfotype": {
  25690. "description": "用户类型 1-个人 2-企业",
  25691. "type": "integer"
  25692. }
  25693. }
  25694. },
  25695. "models.QhjBrokerRewardLog": {
  25696. "type": "object",
  25697. "properties": {
  25698. "accountid": {
  25699. "description": "资金账号ID",
  25700. "type": "integer"
  25701. },
  25702. "createtime": {
  25703. "description": "创建时间(时间)",
  25704. "type": "string"
  25705. },
  25706. "handlestatus": {
  25707. "description": "处理状态",
  25708. "type": "integer"
  25709. },
  25710. "logid": {
  25711. "description": "奖励流水ID(912+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  25712. "type": "string"
  25713. },
  25714. "marketid": {
  25715. "description": "市场ID",
  25716. "type": "integer"
  25717. },
  25718. "mmaccountid": {
  25719. "description": "做市商资金账号ID",
  25720. "type": "string"
  25721. },
  25722. "mmuserid": {
  25723. "description": "做市商用户ID",
  25724. "type": "string"
  25725. },
  25726. "rewardamount": {
  25727. "description": "奖励金额",
  25728. "type": "number"
  25729. },
  25730. "rewardmodel": {
  25731. "description": "消费奖励方式 - 1:比率 2:固定",
  25732. "type": "integer"
  25733. },
  25734. "rewardtype": {
  25735. "description": "奖励类型 - 1:推广 2:消费1级 3:消费2级",
  25736. "type": "integer"
  25737. },
  25738. "rewardvalue": {
  25739. "description": "配置奖励值",
  25740. "type": "number"
  25741. },
  25742. "srcamount": {
  25743. "description": "成交金额 [消费奖励] (金额)",
  25744. "type": "number"
  25745. },
  25746. "srcgoodsid": {
  25747. "description": "来源商品ID [消费奖励]",
  25748. "type": "string"
  25749. },
  25750. "srctime": {
  25751. "description": "来源时间 (成交时间) [消费奖励]",
  25752. "type": "string"
  25753. },
  25754. "srctradeid": {
  25755. "description": "来源成交单ID [消费奖励] - 排除提货成交",
  25756. "type": "string"
  25757. },
  25758. "srcuserid": {
  25759. "description": "来源用户ID(推广账户)",
  25760. "type": "string"
  25761. },
  25762. "srcusername": {
  25763. "description": "推广账户名称",
  25764. "type": "string"
  25765. },
  25766. "tradedate": {
  25767. "description": "交易日(yyyyMMdd)",
  25768. "type": "string"
  25769. },
  25770. "userid": {
  25771. "description": "经纪人用户ID",
  25772. "type": "integer"
  25773. }
  25774. }
  25775. },
  25776. "models.QhjContract": {
  25777. "type": "object",
  25778. "properties": {
  25779. "contractconfirmtime": {
  25780. "description": "合同确认时间(时间)",
  25781. "type": "string"
  25782. },
  25783. "currisklevel": {
  25784. "description": "风险级别 - 1:正常 2:追加货款 3:支付尾款",
  25785. "type": "integer"
  25786. },
  25787. "decimalplace": {
  25788. "description": "商品报价小数位",
  25789. "type": "integer"
  25790. },
  25791. "enumdicname": {
  25792. "description": "单位名称",
  25793. "type": "string"
  25794. },
  25795. "goodscode": {
  25796. "description": "商品代码",
  25797. "type": "string"
  25798. },
  25799. "goodsid": {
  25800. "description": "商品ID [5:融资单]",
  25801. "type": "integer"
  25802. },
  25803. "goodsname": {
  25804. "description": "商品名称",
  25805. "type": "string"
  25806. },
  25807. "goodunitid": {
  25808. "description": "商品单位id",
  25809. "type": "integer"
  25810. },
  25811. "initmargin": {
  25812. "description": "初始保证金(首付款)",
  25813. "type": "number"
  25814. },
  25815. "lenderamount": {
  25816. "description": "贷款金额(总额|订单总额)",
  25817. "type": "number"
  25818. },
  25819. "marginratio": {
  25820. "description": "保证金比率(首付比例)",
  25821. "type": "number"
  25822. },
  25823. "payamount": {
  25824. "description": "已付(已付货款)",
  25825. "type": "number"
  25826. },
  25827. "reckonrecovermargin": {
  25828. "description": "结算应追缴保底金(结算时到过风险率时临时存储) - [仓单回购\\仓单质押]",
  25829. "type": "number"
  25830. },
  25831. "recoveredmargin": {
  25832. "description": "已追缴保证金",
  25833. "type": "number"
  25834. },
  25835. "remainamount": {
  25836. "description": "合同剩余金额(融资额)",
  25837. "type": "number"
  25838. },
  25839. "scfcontractid": {
  25840. "description": "SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)",
  25841. "type": "string"
  25842. },
  25843. "scfcontractstatus": {
  25844. "description": "合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束 9:违约结束 10:已注销 11:已关闭 99:未提交",
  25845. "type": "integer"
  25846. },
  25847. "scfcontracttype": {
  25848. "description": "合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单",
  25849. "type": "integer"
  25850. },
  25851. "totalinterest": {
  25852. "description": "已计总利息(利息)",
  25853. "type": "number"
  25854. },
  25855. "tradeprice": {
  25856. "description": "成交价格(成本价格)",
  25857. "type": "number"
  25858. },
  25859. "userid": {
  25860. "description": "用户ID",
  25861. "type": "integer"
  25862. },
  25863. "username": {
  25864. "description": "用户名称",
  25865. "type": "string"
  25866. },
  25867. "wrqty": {
  25868. "description": "仓单数量(数量)",
  25869. "type": "number"
  25870. }
  25871. }
  25872. },
  25873. "models.QhjContractLog": {
  25874. "type": "object",
  25875. "properties": {
  25876. "amount": {
  25877. "description": "支付金额",
  25878. "type": "number"
  25879. },
  25880. "amounttype": {
  25881. "description": "资金类型 - 1:首付款 2:尾款 3:利息 4:追加款",
  25882. "type": "integer"
  25883. },
  25884. "logid": {
  25885. "description": "LogID(315+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  25886. "type": "string"
  25887. },
  25888. "remainamount": {
  25889. "description": "剩余货款",
  25890. "type": "number"
  25891. },
  25892. "scfcontractid": {
  25893. "description": "SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)",
  25894. "type": "integer"
  25895. },
  25896. "updatetime": {
  25897. "description": "更新时间",
  25898. "type": "string"
  25899. }
  25900. }
  25901. },
  25902. "models.QhjCusBankSignBankEx": {
  25903. "type": "object",
  25904. "properties": {
  25905. "banklst": {
  25906. "description": "银行列表",
  25907. "type": "array",
  25908. "items": {
  25909. "$ref": "#/definitions/models.QhjBankInfo"
  25910. }
  25911. },
  25912. "canallot": {
  25913. "description": "是否支持跨行调拨 - 0:不支持 1:支持",
  25914. "type": "integer"
  25915. },
  25916. "canallotquery": {
  25917. "description": "是否支持跨行调拨查询 - 0:不支持 1:支持",
  25918. "type": "integer"
  25919. },
  25920. "canbindcard": {
  25921. "description": "是否可绑卡与解卡 - 0:不可 1:可以",
  25922. "type": "integer"
  25923. },
  25924. "caninamount": {
  25925. "description": "是否可入金 - 0:不可 1:可以",
  25926. "type": "integer"
  25927. },
  25928. "caninamount2": {
  25929. "description": "是否可入金(网银端) - 0:不可 1:可以",
  25930. "type": "integer"
  25931. },
  25932. "canmodifybankcard": {
  25933. "description": "是否可修改银行卡号 - 0:不可 1:可以",
  25934. "type": "integer"
  25935. },
  25936. "canmodifyphone": {
  25937. "description": "是否可修改手机号 - 0:不可 1:可以",
  25938. "type": "integer"
  25939. },
  25940. "canmodifysigninfo": {
  25941. "description": "是否可修改签约信息 - 0:不可 1:可以",
  25942. "type": "integer"
  25943. },
  25944. "canoutamount": {
  25945. "description": "是否可出金 - 0:不可 1:可以",
  25946. "type": "integer"
  25947. },
  25948. "canoutamount2": {
  25949. "description": "是否可出金(网银端) - 0:不可 1:可以",
  25950. "type": "integer"
  25951. },
  25952. "canrelease": {
  25953. "description": "是否可解约 - 0:不可 1:可以",
  25954. "type": "integer"
  25955. },
  25956. "canrelease2": {
  25957. "description": "是否可解约(网银端) - 0:不可 1:可以",
  25958. "type": "integer"
  25959. },
  25960. "cansign": {
  25961. "description": "是否可签约 - 0:不可 1:可以",
  25962. "type": "integer"
  25963. },
  25964. "cansign2": {
  25965. "description": "是否可签约(网银端) - 0:不可 1:可以",
  25966. "type": "integer"
  25967. },
  25968. "currency": {
  25969. "description": "币种",
  25970. "type": "string"
  25971. },
  25972. "cusbankid": {
  25973. "description": "托管银行编号(对应清算中心TRAN_NO)",
  25974. "type": "string"
  25975. },
  25976. "cusbankname": {
  25977. "description": "银行业务名称",
  25978. "type": "string"
  25979. },
  25980. "cusbankshortname": {
  25981. "description": "银行业务简称",
  25982. "type": "string"
  25983. },
  25984. "exchbankid": {
  25985. "description": "交易所开户银行ID",
  25986. "type": "string"
  25987. },
  25988. "exchpaybankaccname": {
  25989. "description": "交易所支出结算账户户名",
  25990. "type": "string"
  25991. },
  25992. "exchpaybankaccno": {
  25993. "description": "交易所支出结算账户",
  25994. "type": "string"
  25995. },
  25996. "isneedcheck": {
  25997. "description": "是否需要对账 - 0:需要 1:不需要 [不需要界面配置]",
  25998. "type": "integer"
  25999. },
  26000. "isneedclear": {
  26001. "description": "是否需要清算 - 0:不需要 1:需要",
  26002. "type": "integer"
  26003. },
  26004. "lastcheckstatus": {
  26005. "description": "最后对账状态 - 对账状态 - 1:未对账 2:对账成功 3:对账失败",
  26006. "type": "integer"
  26007. },
  26008. "lastchecktime": {
  26009. "description": "最后对账时间",
  26010. "type": "string"
  26011. },
  26012. "lastclearstatus": {
  26013. "description": "最后清算状态 - 1:未清算 2:清算成功 3:清算失败 4:清算部分成功",
  26014. "type": "integer"
  26015. },
  26016. "lastcleartime": {
  26017. "description": "最后清算时间",
  26018. "type": "string"
  26019. },
  26020. "lastsignintime": {
  26021. "description": "最后签到时间",
  26022. "type": "string"
  26023. },
  26024. "lastsignouttime": {
  26025. "description": "最后签退时间",
  26026. "type": "string"
  26027. },
  26028. "riskinfo": {
  26029. "description": "签约风险提示书",
  26030. "type": "string"
  26031. },
  26032. "signstatus": {
  26033. "description": "当前签到/签退状态 - 1:签到 2:签退",
  26034. "type": "integer"
  26035. },
  26036. "tradedate": {
  26037. "description": "交易日(yyyyMMdd)",
  26038. "type": "string"
  26039. },
  26040. "updatetime": {
  26041. "description": "当前签到/签退更新时间",
  26042. "type": "string"
  26043. }
  26044. }
  26045. },
  26046. "models.QhjCustomer": {
  26047. "type": "object",
  26048. "properties": {
  26049. "address": {
  26050. "description": "通讯地址",
  26051. "type": "string"
  26052. },
  26053. "attachment1": {
  26054. "description": "附件1",
  26055. "type": "string"
  26056. },
  26057. "audittime": {
  26058. "description": "审核时间",
  26059. "type": "string"
  26060. },
  26061. "cardbackphotourl": {
  26062. "description": "证件反面图片地址",
  26063. "type": "string"
  26064. },
  26065. "cardfrontphotourl": {
  26066. "description": "证件正面图片地址",
  26067. "type": "string"
  26068. },
  26069. "cardnum": {
  26070. "description": "证件号码",
  26071. "type": "string"
  26072. },
  26073. "cardtype": {
  26074. "description": "证件类型",
  26075. "type": "integer"
  26076. },
  26077. "cardtypename": {
  26078. "description": "证件类型名称",
  26079. "type": "string"
  26080. },
  26081. "cityid": {
  26082. "description": "市",
  26083. "type": "integer"
  26084. },
  26085. "cityname": {
  26086. "description": "城市名称",
  26087. "type": "string"
  26088. },
  26089. "contactname": {
  26090. "description": "联系人",
  26091. "type": "string"
  26092. },
  26093. "countryid": {
  26094. "description": "国家",
  26095. "type": "integer"
  26096. },
  26097. "countryname": {
  26098. "description": "国家名称",
  26099. "type": "string"
  26100. },
  26101. "createtime": {
  26102. "description": "创建时间",
  26103. "type": "string"
  26104. },
  26105. "customername": {
  26106. "description": "客户名称",
  26107. "type": "string"
  26108. },
  26109. "districtid": {
  26110. "description": "区域",
  26111. "type": "integer"
  26112. },
  26113. "districtname": {
  26114. "description": "地区名称",
  26115. "type": "string"
  26116. },
  26117. "email": {
  26118. "description": "邮件",
  26119. "type": "string"
  26120. },
  26121. "legalpersonname": {
  26122. "description": "法人姓名(企业)",
  26123. "type": "string"
  26124. },
  26125. "logincode": {
  26126. "description": "登录账号(代码)",
  26127. "type": "string"
  26128. },
  26129. "memberuserid": {
  26130. "description": "所属机构ID(所属会员)",
  26131. "type": "integer"
  26132. },
  26133. "memberusername": {
  26134. "description": "所属会员名称",
  26135. "type": "string"
  26136. },
  26137. "mobile": {
  26138. "description": "手机号码",
  26139. "type": "string"
  26140. },
  26141. "modifytime": {
  26142. "description": "修改时间",
  26143. "type": "string"
  26144. },
  26145. "nickname": {
  26146. "description": "昵称",
  26147. "type": "string"
  26148. },
  26149. "parentuserid": {
  26150. "description": "上级机构(所属机构)",
  26151. "type": "integer"
  26152. },
  26153. "parentusername": {
  26154. "description": "所属机构名称",
  26155. "type": "string"
  26156. },
  26157. "provinceid": {
  26158. "description": "省",
  26159. "type": "integer"
  26160. },
  26161. "provincename": {
  26162. "description": "省名称",
  26163. "type": "string"
  26164. },
  26165. "proxystatementurl": {
  26166. "description": "授权委托书",
  26167. "type": "string"
  26168. },
  26169. "remark": {
  26170. "description": "备注",
  26171. "type": "string"
  26172. },
  26173. "status": {
  26174. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销",
  26175. "type": "integer"
  26176. },
  26177. "statusdesc": {
  26178. "description": "账户状态中文描述",
  26179. "type": "string"
  26180. },
  26181. "taxpayernum": {
  26182. "description": "纳税人识别号",
  26183. "type": "string"
  26184. },
  26185. "telphone": {
  26186. "description": "联系电话",
  26187. "type": "string"
  26188. },
  26189. "userid": {
  26190. "description": "用户ID",
  26191. "type": "integer"
  26192. },
  26193. "userinfotype": {
  26194. "description": "客户类型 1-个人 2-企业",
  26195. "type": "integer"
  26196. },
  26197. "username": {
  26198. "description": "用户名称",
  26199. "type": "string"
  26200. }
  26201. }
  26202. },
  26203. "models.QhjCustomerSignLog": {
  26204. "type": "object",
  26205. "properties": {
  26206. "agreementcontent": {
  26207. "description": "协议内容",
  26208. "type": "string"
  26209. },
  26210. "agreementid": {
  26211. "description": "协议ID",
  26212. "type": "integer"
  26213. },
  26214. "agreementname": {
  26215. "description": "协议名称",
  26216. "type": "string"
  26217. },
  26218. "agreementno": {
  26219. "description": "协议编号",
  26220. "type": "string"
  26221. },
  26222. "agreementtype": {
  26223. "description": "协议类型 - 1:注册 2:登录 3:交易",
  26224. "type": "integer"
  26225. },
  26226. "agreementversion": {
  26227. "description": "协议版本号",
  26228. "type": "integer"
  26229. },
  26230. "createtime": {
  26231. "description": "创建时间",
  26232. "type": "string"
  26233. },
  26234. "goodscode": {
  26235. "description": "商品代码",
  26236. "type": "string"
  26237. },
  26238. "goodsid": {
  26239. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  26240. "type": "integer"
  26241. },
  26242. "goodsname": {
  26243. "description": "商品名称",
  26244. "type": "string"
  26245. },
  26246. "logid": {
  26247. "description": "流水ID(SEQ_QHJ_CUSTOMERSIGNLOG)",
  26248. "type": "integer"
  26249. },
  26250. "nodetype": {
  26251. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  26252. "type": "integer"
  26253. },
  26254. "signadressurl": {
  26255. "description": "签约文件地址",
  26256. "type": "string"
  26257. },
  26258. "signtimestamp": {
  26259. "description": "签约状态时间戳",
  26260. "type": "string"
  26261. },
  26262. "userid": {
  26263. "description": "客户ID",
  26264. "type": "integer"
  26265. },
  26266. "username": {
  26267. "description": "客户名称",
  26268. "type": "string"
  26269. }
  26270. }
  26271. },
  26272. "models.QhjCustomerSignStatus": {
  26273. "type": "object",
  26274. "properties": {
  26275. "createtime": {
  26276. "description": "创建时间",
  26277. "type": "string"
  26278. },
  26279. "goodscode": {
  26280. "description": "商品代码",
  26281. "type": "string"
  26282. },
  26283. "goodsid": {
  26284. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  26285. "type": "integer"
  26286. },
  26287. "goodsname": {
  26288. "description": "商品名称",
  26289. "type": "string"
  26290. },
  26291. "nodetype": {
  26292. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出 99:首次交易",
  26293. "type": "integer"
  26294. },
  26295. "signtimestamp": {
  26296. "description": "签约状态时间戳",
  26297. "type": "string"
  26298. },
  26299. "tradedate": {
  26300. "description": "创建交易日(yyyyMMdd)",
  26301. "type": "string"
  26302. },
  26303. "updatetime": {
  26304. "description": "更新时间",
  26305. "type": "string"
  26306. },
  26307. "userid": {
  26308. "description": "客户ID",
  26309. "type": "integer"
  26310. },
  26311. "username": {
  26312. "description": "客户名称",
  26313. "type": "string"
  26314. }
  26315. }
  26316. },
  26317. "models.QhjMgrAccountOutInApply": {
  26318. "type": "object",
  26319. "properties": {
  26320. "accountcode": {
  26321. "description": "资金账号",
  26322. "type": "string"
  26323. },
  26324. "accountname": {
  26325. "description": "用户名称(名称)",
  26326. "type": "string"
  26327. },
  26328. "accountpwd": {
  26329. "description": "资金密码",
  26330. "type": "string"
  26331. },
  26332. "accountticket": {
  26333. "description": "最新账户服务流水号",
  26334. "type": "string"
  26335. },
  26336. "amount": {
  26337. "description": "金额",
  26338. "type": "number"
  26339. },
  26340. "applyremark": {
  26341. "description": "申请备注",
  26342. "type": "string"
  26343. },
  26344. "applystatus": {
  26345. "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: 复审通过,账户冻结金额检查中;",
  26346. "type": "integer"
  26347. },
  26348. "auditid": {
  26349. "description": "审核人",
  26350. "type": "integer"
  26351. },
  26352. "audittime": {
  26353. "description": "审核时间",
  26354. "type": "string"
  26355. },
  26356. "bank_apply_ticket": {
  26357. "description": "银行申请流水",
  26358. "type": "string"
  26359. },
  26360. "bankaccountname": {
  26361. "description": "银行账户名",
  26362. "type": "string"
  26363. },
  26364. "bankaccountno": {
  26365. "description": "银行卡号",
  26366. "type": "string"
  26367. },
  26368. "bankid": {
  26369. "description": "银行编号",
  26370. "type": "string"
  26371. },
  26372. "bankname": {
  26373. "description": "银行名称",
  26374. "type": "string"
  26375. },
  26376. "bankticket": {
  26377. "description": "银行流水",
  26378. "type": "string"
  26379. },
  26380. "branchbankid": {
  26381. "description": "银行支行号",
  26382. "type": "string"
  26383. },
  26384. "branchbankname": {
  26385. "description": "银行支行名称",
  26386. "type": "string"
  26387. },
  26388. "capamountout": {
  26389. "description": "出金(劣后本金) - 外部子账户",
  26390. "type": "number"
  26391. },
  26392. "certificatephotourl": {
  26393. "description": "凭证地址",
  26394. "type": "string"
  26395. },
  26396. "charge": {
  26397. "description": "手续费",
  26398. "type": "number"
  26399. },
  26400. "checkerrorflag": {
  26401. "description": "对账差错标志 - 1:为单边账;其它为正常出入金",
  26402. "type": "integer"
  26403. },
  26404. "currency": {
  26405. "description": "币种",
  26406. "type": "string"
  26407. },
  26408. "cusbankid": {
  26409. "description": "托管银行编号",
  26410. "type": "string"
  26411. },
  26412. "exchticket": {
  26413. "description": "银行服务流水号",
  26414. "type": "string"
  26415. },
  26416. "executetype": {
  26417. "description": "申请类型 - 1:出金 2:入金 3: 单边账调整:入金; 4:单边账调整:出金 5:外部母账户调整:入金 6:外部母账户调整:出金 7:外部子账户:入金 8:外部子账户:出金",
  26418. "type": "integer"
  26419. },
  26420. "extendinfo": {
  26421. "description": "扩展信息",
  26422. "type": "string"
  26423. },
  26424. "extoperateid": {
  26425. "description": "交易服务流水号",
  26426. "type": "integer"
  26427. },
  26428. "infamount": {
  26429. "description": "劣后金额(自有)",
  26430. "type": "number"
  26431. },
  26432. "logincode": {
  26433. "description": "登录账号(账号)",
  26434. "type": "string"
  26435. },
  26436. "netaddr": {
  26437. "description": "调转网址",
  26438. "type": "string"
  26439. },
  26440. "priamount": {
  26441. "description": "优先金额(授信)",
  26442. "type": "number"
  26443. },
  26444. "reauditid": {
  26445. "description": "复审人",
  26446. "type": "integer"
  26447. },
  26448. "reauditremark": {
  26449. "description": "复审备注",
  26450. "type": "string"
  26451. },
  26452. "reaudittime": {
  26453. "description": "复审时间",
  26454. "type": "string"
  26455. },
  26456. "relatedorderid": {
  26457. "description": "三方关联ID",
  26458. "type": "string"
  26459. },
  26460. "remark": {
  26461. "description": "备注",
  26462. "type": "string"
  26463. },
  26464. "remark2": {
  26465. "description": "备注(失败原因)",
  26466. "type": "string"
  26467. },
  26468. "soucreamount": {
  26469. "description": "原始出入金金额",
  26470. "type": "number"
  26471. },
  26472. "soucrecurrencyid": {
  26473. "description": "原始出入金币种",
  26474. "type": "integer"
  26475. },
  26476. "tradedate": {
  26477. "description": "交易日(yyyyMMdd)",
  26478. "type": "string"
  26479. },
  26480. "updatetime": {
  26481. "description": "更新时间(申请时间)",
  26482. "type": "string"
  26483. },
  26484. "userid": {
  26485. "description": "用户id",
  26486. "type": "integer"
  26487. },
  26488. "userinfotype": {
  26489. "description": "账户类型 1-个人 2-企业",
  26490. "type": "integer"
  26491. }
  26492. }
  26493. },
  26494. "models.QhjMgrBrokerApply": {
  26495. "type": "object",
  26496. "properties": {
  26497. "applicantid": {
  26498. "description": "申请人",
  26499. "type": "integer"
  26500. },
  26501. "applysrc": {
  26502. "description": "申请来源 - 1:管理端 2:终端",
  26503. "type": "integer"
  26504. },
  26505. "applystatus": {
  26506. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  26507. "type": "integer"
  26508. },
  26509. "applytime": {
  26510. "description": "申请时间",
  26511. "type": "string"
  26512. },
  26513. "auditorid": {
  26514. "description": "审核人",
  26515. "type": "integer"
  26516. },
  26517. "auditremark": {
  26518. "description": "审核备注",
  26519. "type": "string"
  26520. },
  26521. "auditsrc": {
  26522. "description": "审核来源 - 1:管理端 2:终端",
  26523. "type": "integer"
  26524. },
  26525. "audittime": {
  26526. "description": "审核时间",
  26527. "type": "string"
  26528. },
  26529. "audittradedate": {
  26530. "description": "审核交易日(yyyyMMdd)",
  26531. "type": "string"
  26532. },
  26533. "brokerapplyid": {
  26534. "description": "申请ID(SEQ_BROKERAPPLY)",
  26535. "type": "integer"
  26536. },
  26537. "cardbackphotourl": {
  26538. "description": "证件背面图片地址",
  26539. "type": "string"
  26540. },
  26541. "cardfrontphotourl": {
  26542. "description": "证件正面图片地址",
  26543. "type": "string"
  26544. },
  26545. "cardnum": {
  26546. "description": "证件号码(加密存储) 注:数据库没存证件类型字段,产品说类型固定为身份证",
  26547. "type": "string"
  26548. },
  26549. "customername": {
  26550. "description": "姓名",
  26551. "type": "string"
  26552. },
  26553. "filterstatus": {
  26554. "description": "筛选条件",
  26555. "type": "string"
  26556. },
  26557. "logincode": {
  26558. "description": "登录代码",
  26559. "type": "string"
  26560. },
  26561. "mobile": {
  26562. "description": "手机号码",
  26563. "type": "string"
  26564. },
  26565. "parentuserid": {
  26566. "description": "所属机构id",
  26567. "type": "integer"
  26568. },
  26569. "parentusername": {
  26570. "description": "所属机构名称",
  26571. "type": "string"
  26572. },
  26573. "refereeuserid": {
  26574. "description": "推荐人id(经纪人)",
  26575. "type": "integer"
  26576. },
  26577. "refernum": {
  26578. "description": "推荐码",
  26579. "type": "string"
  26580. },
  26581. "remark": {
  26582. "description": "备注",
  26583. "type": "string"
  26584. },
  26585. "subarealevelpath": {
  26586. "description": "层级路径",
  26587. "type": "string"
  26588. },
  26589. "tradedate": {
  26590. "description": "交易日(yyyyMMdd)",
  26591. "type": "string"
  26592. },
  26593. "userid": {
  26594. "description": "申请人用户ID",
  26595. "type": "integer"
  26596. },
  26597. "userinfotype": {
  26598. "description": "用户类型 1-个人 2-企业",
  26599. "type": "integer"
  26600. },
  26601. "username": {
  26602. "description": "用户名称",
  26603. "type": "string"
  26604. }
  26605. }
  26606. },
  26607. "models.QhjMgrBrokerRewardReport": {
  26608. "type": "object",
  26609. "properties": {
  26610. "createtime": {
  26611. "description": "创建时间(注册时间)",
  26612. "type": "string"
  26613. },
  26614. "cycletime": {
  26615. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD) 全(0)【原值】",
  26616. "type": "string"
  26617. },
  26618. "cycletype": {
  26619. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  26620. "type": "integer"
  26621. },
  26622. "directtotalnum": {
  26623. "description": "直推总人数【期末】",
  26624. "type": "integer"
  26625. },
  26626. "indirecttotalnum": {
  26627. "description": "间推总人数【期末】",
  26628. "type": "integer"
  26629. },
  26630. "mobile": {
  26631. "description": "电话号码",
  26632. "type": "string"
  26633. },
  26634. "refereeuserid": {
  26635. "description": "推荐人id(经纪人id)",
  26636. "type": "integer"
  26637. },
  26638. "refereeusername": {
  26639. "description": "推荐人名称(经纪人) 上级经纪人名称",
  26640. "type": "string"
  26641. },
  26642. "refernum": {
  26643. "description": "推荐码",
  26644. "type": "string"
  26645. },
  26646. "subarealevelpath": {
  26647. "description": "用户层级路径",
  26648. "type": "string"
  26649. },
  26650. "todayrewardamount": {
  26651. "description": "奖励总金额【汇总】",
  26652. "type": "number"
  26653. },
  26654. "updatetime": {
  26655. "description": "更新时间",
  26656. "type": "string"
  26657. },
  26658. "userid": {
  26659. "description": "经纪人用户ID",
  26660. "type": "integer"
  26661. },
  26662. "userinfotype": {
  26663. "description": "用户类型 1-个人 2-企业",
  26664. "type": "integer"
  26665. },
  26666. "username": {
  26667. "description": "用户名称",
  26668. "type": "string"
  26669. }
  26670. }
  26671. },
  26672. "models.QhjMgrContract": {
  26673. "type": "object",
  26674. "properties": {
  26675. "contractconfirmtime": {
  26676. "description": "合同确认时间(时间)",
  26677. "type": "string"
  26678. },
  26679. "currisklevel": {
  26680. "description": "风险级别 - 1:正常 2:追加货款 3:支付尾款",
  26681. "type": "integer"
  26682. },
  26683. "decimalplace": {
  26684. "description": "商品报价小数位",
  26685. "type": "integer"
  26686. },
  26687. "enumdicname": {
  26688. "description": "单位名称",
  26689. "type": "string"
  26690. },
  26691. "goodscode": {
  26692. "description": "商品代码",
  26693. "type": "string"
  26694. },
  26695. "goodsid": {
  26696. "description": "商品ID [5:融资单]",
  26697. "type": "integer"
  26698. },
  26699. "goodsname": {
  26700. "description": "商品名称",
  26701. "type": "string"
  26702. },
  26703. "goodunitid": {
  26704. "description": "商品单位id",
  26705. "type": "integer"
  26706. },
  26707. "initmargin": {
  26708. "description": "初始保证金(首付款)",
  26709. "type": "number"
  26710. },
  26711. "lenderamount": {
  26712. "description": "贷款金额(总额|订单总额)",
  26713. "type": "number"
  26714. },
  26715. "logincode": {
  26716. "description": "账号(登录代码)",
  26717. "type": "string"
  26718. },
  26719. "marginratio": {
  26720. "description": "保证金比率(首付比例)",
  26721. "type": "number"
  26722. },
  26723. "mobile": {
  26724. "description": "电话号码(用户资料里的电话)",
  26725. "type": "string"
  26726. },
  26727. "payamount": {
  26728. "description": "已付(已付货款)",
  26729. "type": "number"
  26730. },
  26731. "reckonrecovermargin": {
  26732. "description": "结算应追缴保底金(结算时到过风险率时临时存储) - [仓单回购\\仓单质押]",
  26733. "type": "number"
  26734. },
  26735. "recoveredmargin": {
  26736. "description": "已追缴保证金",
  26737. "type": "number"
  26738. },
  26739. "remainamount": {
  26740. "description": "合同剩余金额(融资额)",
  26741. "type": "number"
  26742. },
  26743. "scfcontractid": {
  26744. "description": "SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)",
  26745. "type": "string"
  26746. },
  26747. "scfcontractstatus": {
  26748. "description": "合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束 9:违约结束 10:已注销 11:已关闭 99:未提交",
  26749. "type": "integer"
  26750. },
  26751. "scfcontracttype": {
  26752. "description": "合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单",
  26753. "type": "integer"
  26754. },
  26755. "totalinterest": {
  26756. "description": "已计总利息(利息)",
  26757. "type": "number"
  26758. },
  26759. "tradedate": {
  26760. "description": "交易日",
  26761. "type": "string"
  26762. },
  26763. "tradeprice": {
  26764. "description": "成交价格(成本价格)",
  26765. "type": "number"
  26766. },
  26767. "userid": {
  26768. "description": "用户ID",
  26769. "type": "integer"
  26770. },
  26771. "userinfotype": {
  26772. "description": "用户类型 1-个人 2-企业",
  26773. "type": "integer"
  26774. },
  26775. "username": {
  26776. "description": "用户名称",
  26777. "type": "string"
  26778. },
  26779. "wrqty": {
  26780. "description": "仓单数量(数量)",
  26781. "type": "number"
  26782. }
  26783. }
  26784. },
  26785. "models.QhjMgrCustomer": {
  26786. "type": "object",
  26787. "properties": {
  26788. "address": {
  26789. "description": "通讯地址",
  26790. "type": "string"
  26791. },
  26792. "attachment1": {
  26793. "description": "附件1",
  26794. "type": "string"
  26795. },
  26796. "audittime": {
  26797. "description": "审核时间",
  26798. "type": "string"
  26799. },
  26800. "cardbackphotourl": {
  26801. "description": "证件反面图片地址",
  26802. "type": "string"
  26803. },
  26804. "cardfrontphotourl": {
  26805. "description": "证件正面图片地址",
  26806. "type": "string"
  26807. },
  26808. "cardnum": {
  26809. "description": "证件号码",
  26810. "type": "string"
  26811. },
  26812. "cardtype": {
  26813. "description": "证件类型",
  26814. "type": "integer"
  26815. },
  26816. "cardtypename": {
  26817. "description": "证件类型名称",
  26818. "type": "string"
  26819. },
  26820. "cityid": {
  26821. "description": "市",
  26822. "type": "integer"
  26823. },
  26824. "cityname": {
  26825. "description": "城市名称",
  26826. "type": "string"
  26827. },
  26828. "contactname": {
  26829. "description": "联系人",
  26830. "type": "string"
  26831. },
  26832. "countryid": {
  26833. "description": "国家",
  26834. "type": "integer"
  26835. },
  26836. "countryname": {
  26837. "description": "国家名称",
  26838. "type": "string"
  26839. },
  26840. "createtime": {
  26841. "description": "创建时间",
  26842. "type": "string"
  26843. },
  26844. "customername": {
  26845. "description": "客户名称",
  26846. "type": "string"
  26847. },
  26848. "districtid": {
  26849. "description": "区域",
  26850. "type": "integer"
  26851. },
  26852. "districtname": {
  26853. "description": "地区名称",
  26854. "type": "string"
  26855. },
  26856. "email": {
  26857. "description": "邮件",
  26858. "type": "string"
  26859. },
  26860. "legalpersonname": {
  26861. "description": "法人姓名(企业)",
  26862. "type": "string"
  26863. },
  26864. "logincode": {
  26865. "description": "登录账号(代码)",
  26866. "type": "string"
  26867. },
  26868. "memberuserid": {
  26869. "description": "所属机构ID(所属会员)",
  26870. "type": "integer"
  26871. },
  26872. "memberusername": {
  26873. "description": "所属会员名称",
  26874. "type": "string"
  26875. },
  26876. "mobile": {
  26877. "description": "手机号码",
  26878. "type": "string"
  26879. },
  26880. "modifytime": {
  26881. "description": "修改时间",
  26882. "type": "string"
  26883. },
  26884. "nickname": {
  26885. "description": "昵称",
  26886. "type": "string"
  26887. },
  26888. "parentuserid": {
  26889. "description": "上级机构(所属机构)",
  26890. "type": "integer"
  26891. },
  26892. "parentusername": {
  26893. "description": "所属机构名称",
  26894. "type": "string"
  26895. },
  26896. "provinceid": {
  26897. "description": "省",
  26898. "type": "integer"
  26899. },
  26900. "provincename": {
  26901. "description": "省名称",
  26902. "type": "string"
  26903. },
  26904. "proxystatementurl": {
  26905. "description": "授权委托书",
  26906. "type": "string"
  26907. },
  26908. "querytype": {
  26909. "description": "查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用",
  26910. "type": "integer"
  26911. },
  26912. "remark": {
  26913. "description": "备注",
  26914. "type": "string"
  26915. },
  26916. "status": {
  26917. "description": "开户状态(网上开户表wskh_userinfo) 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过 ; 账户状态(正式表useraccount) 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  26918. "type": "integer"
  26919. },
  26920. "statusdesc": {
  26921. "description": "账户状态中文描述",
  26922. "type": "string"
  26923. },
  26924. "taxpayernum": {
  26925. "description": "纳税人识别号",
  26926. "type": "string"
  26927. },
  26928. "telphone": {
  26929. "description": "联系电话",
  26930. "type": "string"
  26931. },
  26932. "userid": {
  26933. "description": "用户ID",
  26934. "type": "integer"
  26935. },
  26936. "userinfotype": {
  26937. "description": "客户类型 1-个人 2-企业",
  26938. "type": "integer"
  26939. },
  26940. "username": {
  26941. "description": "用户名称",
  26942. "type": "string"
  26943. }
  26944. }
  26945. },
  26946. "models.QhjMgrPickGoods": {
  26947. "type": "object",
  26948. "properties": {
  26949. "enumdicname": {
  26950. "description": "单位名称(提货商品)",
  26951. "type": "string"
  26952. },
  26953. "goodsid": {
  26954. "description": "商品id",
  26955. "type": "integer"
  26956. },
  26957. "imageaddress": {
  26958. "description": "图片",
  26959. "type": "string"
  26960. },
  26961. "modifierid": {
  26962. "description": "修改人",
  26963. "type": "integer"
  26964. },
  26965. "modifiername": {
  26966. "description": "修改人名称",
  26967. "type": "string"
  26968. },
  26969. "modifysrc": {
  26970. "description": "修改来源 - 1:管理端 2:终端",
  26971. "type": "integer"
  26972. },
  26973. "pickupgoodsagreeunit": {
  26974. "description": "合约乘数",
  26975. "type": "number"
  26976. },
  26977. "pickupgoodsdesc": {
  26978. "description": "描述",
  26979. "type": "string"
  26980. },
  26981. "pickupgoodsid": {
  26982. "description": "提货商品ID",
  26983. "type": "string"
  26984. },
  26985. "pickupgoodsname": {
  26986. "description": "提货商品名称",
  26987. "type": "string"
  26988. },
  26989. "pickupgoodsstatus": {
  26990. "description": "状态 - 1:正常 2:停用 3:注销",
  26991. "type": "integer"
  26992. },
  26993. "pickupgoodsunitid": {
  26994. "description": "单位ID",
  26995. "type": "integer"
  26996. },
  26997. "pickupratio": {
  26998. "description": "提货系数",
  26999. "type": "number"
  27000. },
  27001. "preparedays": {
  27002. "description": "备货期(天)",
  27003. "type": "integer"
  27004. },
  27005. "remark": {
  27006. "description": "备注",
  27007. "type": "string"
  27008. },
  27009. "updatetime": {
  27010. "description": "更新时间",
  27011. "type": "string"
  27012. }
  27013. }
  27014. },
  27015. "models.QhjMgrPositionRsp": {
  27016. "type": "object",
  27017. "properties": {
  27018. "accountid": {
  27019. "description": "账号Id",
  27020. "type": "integer"
  27021. },
  27022. "accountname": {
  27023. "description": "用户名称",
  27024. "type": "string"
  27025. },
  27026. "agreeunit": {
  27027. "description": "合约乘数",
  27028. "type": "number"
  27029. },
  27030. "averageprice": {
  27031. "description": "均价",
  27032. "type": "number"
  27033. },
  27034. "avialqty": {
  27035. "description": "可用数量",
  27036. "type": "number"
  27037. },
  27038. "decimalplace": {
  27039. "description": "报价小数位",
  27040. "type": "integer"
  27041. },
  27042. "enumdicname": {
  27043. "description": "单位名称(商品)",
  27044. "type": "string"
  27045. },
  27046. "frozenqty": {
  27047. "description": "冻结数量",
  27048. "type": "number"
  27049. },
  27050. "goodscode": {
  27051. "description": "商品代码(内部)",
  27052. "type": "string"
  27053. },
  27054. "goodsid": {
  27055. "description": "商品Id",
  27056. "type": "integer"
  27057. },
  27058. "goodsname": {
  27059. "description": "商品名称",
  27060. "type": "string"
  27061. },
  27062. "goodunitid": {
  27063. "description": "报价单位ID",
  27064. "type": "integer"
  27065. },
  27066. "holderamount": {
  27067. "description": "金额",
  27068. "type": "number"
  27069. },
  27070. "holderqty": {
  27071. "description": "持有数量",
  27072. "type": "number"
  27073. },
  27074. "holdertype": {
  27075. "description": "持仓类别 - 1:单边持仓 2:双边持仓",
  27076. "type": "integer"
  27077. },
  27078. "logincode": {
  27079. "description": "登录代码(账户)",
  27080. "type": "string"
  27081. },
  27082. "marketid": {
  27083. "description": "市场id",
  27084. "type": "integer"
  27085. },
  27086. "qtydecimalplace": {
  27087. "description": "成交量小数位",
  27088. "type": "integer"
  27089. },
  27090. "trademode": {
  27091. "description": "交易模式",
  27092. "type": "integer"
  27093. },
  27094. "userid": {
  27095. "description": "用户id",
  27096. "type": "integer"
  27097. },
  27098. "userinfotype": {
  27099. "description": "账户类型 1-个人 2-企业",
  27100. "type": "integer"
  27101. }
  27102. }
  27103. },
  27104. "models.QhjMgrSubArea": {
  27105. "type": "object",
  27106. "properties": {
  27107. "accountname": {
  27108. "description": "账户名称(机构名称)",
  27109. "type": "string"
  27110. },
  27111. "memberuserid": {
  27112. "description": "所属会员ID",
  27113. "type": "integer"
  27114. },
  27115. "parenttopuser": {
  27116. "description": "上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的\"ParentTopUser\"]",
  27117. "type": "string"
  27118. },
  27119. "parentuserid": {
  27120. "description": "所属机构ID",
  27121. "type": "integer"
  27122. },
  27123. "rootuserid": {
  27124. "description": "根用户ID",
  27125. "type": "string"
  27126. },
  27127. "subaccountlevel": {
  27128. "description": "子账户层数",
  27129. "type": "integer"
  27130. },
  27131. "subarealevelpath": {
  27132. "description": "子机构层级路径(逗号分隔,首尾加逗号)",
  27133. "type": "string"
  27134. },
  27135. "userid": {
  27136. "description": "用户ID",
  27137. "type": "integer"
  27138. },
  27139. "usertype": {
  27140. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  27141. "type": "integer"
  27142. }
  27143. }
  27144. },
  27145. "models.QhjMgrTradeDetailRsp": {
  27146. "type": "object",
  27147. "properties": {
  27148. "accountid": {
  27149. "description": "资金账号",
  27150. "type": "integer"
  27151. },
  27152. "accountname": {
  27153. "description": "用户名称",
  27154. "type": "string"
  27155. },
  27156. "agreeunit": {
  27157. "description": "合约乘数",
  27158. "type": "number"
  27159. },
  27160. "buyorsell": {
  27161. "description": "成交类型(方向) 0:买 1:卖",
  27162. "type": "integer"
  27163. },
  27164. "decimalplace": {
  27165. "description": "报价小数位",
  27166. "type": "integer"
  27167. },
  27168. "enumdicname": {
  27169. "description": "单位名称(商品)",
  27170. "type": "string"
  27171. },
  27172. "goodscode": {
  27173. "description": "商品代码(内部)",
  27174. "type": "string"
  27175. },
  27176. "goodsid": {
  27177. "description": "商品id",
  27178. "type": "integer"
  27179. },
  27180. "goodsname": {
  27181. "description": "商品名称",
  27182. "type": "string"
  27183. },
  27184. "goodunitid": {
  27185. "description": "报价单位ID",
  27186. "type": "integer"
  27187. },
  27188. "logincode": {
  27189. "description": "登录代码(账户)",
  27190. "type": "string"
  27191. },
  27192. "marketid": {
  27193. "description": "市场id",
  27194. "type": "integer"
  27195. },
  27196. "orderid": {
  27197. "description": "关联委托单号",
  27198. "type": "string"
  27199. },
  27200. "qtydecimalplace": {
  27201. "description": "成交量小数位",
  27202. "type": "integer"
  27203. },
  27204. "tradeamount": {
  27205. "description": "金额",
  27206. "type": "number"
  27207. },
  27208. "tradedate": {
  27209. "description": "交易日",
  27210. "type": "string"
  27211. },
  27212. "tradeid": {
  27213. "description": "成交单号",
  27214. "type": "string"
  27215. },
  27216. "trademode": {
  27217. "description": "交易模式",
  27218. "type": "integer"
  27219. },
  27220. "tradeprice": {
  27221. "description": "价格",
  27222. "type": "number"
  27223. },
  27224. "tradeqty": {
  27225. "description": "数量",
  27226. "type": "number"
  27227. },
  27228. "tradetime": {
  27229. "description": "成交时间",
  27230. "type": "string"
  27231. },
  27232. "userid": {
  27233. "description": "用户id",
  27234. "type": "integer"
  27235. },
  27236. "userinfotype": {
  27237. "description": "账户类型 1-个人 2-企业",
  27238. "type": "integer"
  27239. }
  27240. }
  27241. },
  27242. "models.QhjMgrTradeOrderDetailRsp": {
  27243. "type": "object",
  27244. "properties": {
  27245. "accountid": {
  27246. "description": "资金账号",
  27247. "type": "integer"
  27248. },
  27249. "accountname": {
  27250. "description": "用户名称",
  27251. "type": "string"
  27252. },
  27253. "agreeunit": {
  27254. "description": "合约乘数",
  27255. "type": "number"
  27256. },
  27257. "amount": {
  27258. "description": "金额",
  27259. "type": "number"
  27260. },
  27261. "decimalplace": {
  27262. "description": "报价小数位",
  27263. "type": "integer"
  27264. },
  27265. "enumdicname": {
  27266. "description": "单位名称(商品)",
  27267. "type": "string"
  27268. },
  27269. "goodscode": {
  27270. "description": "商品代码(内部)",
  27271. "type": "string"
  27272. },
  27273. "goodsid": {
  27274. "description": "商品id",
  27275. "type": "integer"
  27276. },
  27277. "goodsname": {
  27278. "description": "商品名称",
  27279. "type": "string"
  27280. },
  27281. "goodunitid": {
  27282. "description": "报价单位ID",
  27283. "type": "integer"
  27284. },
  27285. "logincode": {
  27286. "description": "登录代码(账户)",
  27287. "type": "string"
  27288. },
  27289. "marketid": {
  27290. "description": "市场id",
  27291. "type": "integer"
  27292. },
  27293. "orderid": {
  27294. "description": "关联委托单号",
  27295. "type": "string"
  27296. },
  27297. "orderprice": {
  27298. "description": "价格",
  27299. "type": "number"
  27300. },
  27301. "orderqty": {
  27302. "description": "数量",
  27303. "type": "number"
  27304. },
  27305. "orderstatus": {
  27306. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  27307. "type": "integer"
  27308. },
  27309. "ordertime": {
  27310. "description": "委托时间",
  27311. "type": "string"
  27312. },
  27313. "qtydecimalplace": {
  27314. "description": "成交量小数位",
  27315. "type": "integer"
  27316. },
  27317. "tradedate": {
  27318. "description": "交易日",
  27319. "type": "string"
  27320. },
  27321. "trademode": {
  27322. "description": "交易模式",
  27323. "type": "integer"
  27324. },
  27325. "userid": {
  27326. "description": "用户id",
  27327. "type": "integer"
  27328. },
  27329. "userinfotype": {
  27330. "description": "账户类型 1-个人 2-企业",
  27331. "type": "integer"
  27332. }
  27333. }
  27334. },
  27335. "models.QhjMgrTradePayOrder": {
  27336. "type": "object",
  27337. "properties": {
  27338. "accountname": {
  27339. "description": "用户名称",
  27340. "type": "string"
  27341. },
  27342. "advanceratio": {
  27343. "description": "首付比率",
  27344. "type": "number"
  27345. },
  27346. "agreeunit": {
  27347. "description": "合约乘数",
  27348. "type": "number"
  27349. },
  27350. "buyaccountid": {
  27351. "description": "买方账号ID[报价币种]",
  27352. "type": "integer"
  27353. },
  27354. "buyorderid": {
  27355. "description": "买方委托单号(关联单号)",
  27356. "type": "string"
  27357. },
  27358. "createtime": {
  27359. "description": "创建时间",
  27360. "type": "string"
  27361. },
  27362. "decimalplace": {
  27363. "description": "报价小数位",
  27364. "type": "integer"
  27365. },
  27366. "enumdicname": {
  27367. "description": "单位名称(商品)",
  27368. "type": "string"
  27369. },
  27370. "goodscode": {
  27371. "description": "商品代码(内部)",
  27372. "type": "string"
  27373. },
  27374. "goodsid": {
  27375. "description": "商品ID",
  27376. "type": "integer"
  27377. },
  27378. "goodsname": {
  27379. "description": "商品名称",
  27380. "type": "string"
  27381. },
  27382. "goodunitid": {
  27383. "description": "报价单位ID",
  27384. "type": "integer"
  27385. },
  27386. "logincode": {
  27387. "description": "登录代码(账户)",
  27388. "type": "string"
  27389. },
  27390. "marketid": {
  27391. "description": "市场id",
  27392. "type": "integer"
  27393. },
  27394. "offamount": {
  27395. "description": "优惠金额",
  27396. "type": "number"
  27397. },
  27398. "operatetype": {
  27399. "description": "买委托操作类型 - 1:正常下单 16:融资买入",
  27400. "type": "integer"
  27401. },
  27402. "payamount": {
  27403. "description": "支付金额(金额)",
  27404. "type": "number"
  27405. },
  27406. "payflag": {
  27407. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  27408. "type": "integer"
  27409. },
  27410. "paylimitedtime": {
  27411. "description": "支付期限",
  27412. "type": "string"
  27413. },
  27414. "paytime": {
  27415. "description": "付款时间",
  27416. "type": "string"
  27417. },
  27418. "qtydecimalplace": {
  27419. "description": "成交量小数位",
  27420. "type": "integer"
  27421. },
  27422. "sellaccountid": {
  27423. "description": "卖方账号ID[报价币种]",
  27424. "type": "integer"
  27425. },
  27426. "sellorderid": {
  27427. "description": "卖方委托单号",
  27428. "type": "string"
  27429. },
  27430. "tradeamount": {
  27431. "description": "成交金额(优惠后金额)",
  27432. "type": "number"
  27433. },
  27434. "tradecharge": {
  27435. "description": "成交手续费(买方)",
  27436. "type": "number"
  27437. },
  27438. "tradedate": {
  27439. "description": "交易日(yyyyMMdd)",
  27440. "type": "string"
  27441. },
  27442. "tradeid": {
  27443. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  27444. "type": "string"
  27445. },
  27446. "trademode": {
  27447. "description": "交易模式",
  27448. "type": "integer"
  27449. },
  27450. "tradeprice": {
  27451. "description": "成交价格(价格)",
  27452. "type": "number"
  27453. },
  27454. "tradeqty": {
  27455. "description": "成交数量(数量)",
  27456. "type": "number"
  27457. },
  27458. "tradetime": {
  27459. "description": "成交时间",
  27460. "type": "string"
  27461. },
  27462. "userid": {
  27463. "description": "用户id",
  27464. "type": "integer"
  27465. },
  27466. "userinfotype": {
  27467. "description": "账户类型 1-个人 2-企业",
  27468. "type": "integer"
  27469. }
  27470. }
  27471. },
  27472. "models.QhjMyTeamEx": {
  27473. "type": "object",
  27474. "properties": {
  27475. "accountname": {
  27476. "description": "用户名称",
  27477. "type": "string"
  27478. },
  27479. "accountstatus": {
  27480. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  27481. "type": "integer"
  27482. },
  27483. "createtime": {
  27484. "description": "创建时间",
  27485. "type": "string"
  27486. },
  27487. "mobile": {
  27488. "description": "手机号码",
  27489. "type": "string"
  27490. },
  27491. "refereeuserid": {
  27492. "description": "推荐人id",
  27493. "type": "integer"
  27494. },
  27495. "refernum": {
  27496. "description": "推荐码",
  27497. "type": "string"
  27498. },
  27499. "subList": {
  27500. "type": "array",
  27501. "items": {
  27502. "$ref": "#/definitions/models.QhjMyTeamEx"
  27503. }
  27504. },
  27505. "userid": {
  27506. "description": "用户id",
  27507. "type": "integer"
  27508. },
  27509. "userinfotype": {
  27510. "description": "用户类型 1-个人 2-企业",
  27511. "type": "integer"
  27512. }
  27513. }
  27514. },
  27515. "models.QhjNodeAgreementConfig": {
  27516. "type": "object",
  27517. "properties": {
  27518. "agreementcontent": {
  27519. "description": "协议内容",
  27520. "type": "string"
  27521. },
  27522. "agreementid": {
  27523. "description": "协议ID",
  27524. "type": "integer"
  27525. },
  27526. "agreementname": {
  27527. "description": "协议名称",
  27528. "type": "string"
  27529. },
  27530. "agreementno": {
  27531. "description": "协议编号",
  27532. "type": "string"
  27533. },
  27534. "agreementtype": {
  27535. "description": "协议类型 - 1:注册 2:登录 3:交易",
  27536. "type": "integer"
  27537. },
  27538. "agreementversion": {
  27539. "description": "协议版本号",
  27540. "type": "integer"
  27541. },
  27542. "configid": {
  27543. "description": "配置(SEQ_QHJ_NODEAGREEMENTCONFIG)",
  27544. "type": "integer"
  27545. },
  27546. "createtime": {
  27547. "description": "创建时间",
  27548. "type": "string"
  27549. },
  27550. "goodsid": {
  27551. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  27552. "type": "integer"
  27553. },
  27554. "nodetype": {
  27555. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  27556. "type": "integer"
  27557. }
  27558. }
  27559. },
  27560. "models.QhjParentAreaList": {
  27561. "type": "object",
  27562. "properties": {
  27563. "accountname": {
  27564. "description": "账户名称(机构名称)",
  27565. "type": "string"
  27566. },
  27567. "userid": {
  27568. "description": "用户ID",
  27569. "type": "integer"
  27570. },
  27571. "usertype": {
  27572. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  27573. "type": "integer"
  27574. }
  27575. }
  27576. },
  27577. "models.QhjPayOrder": {
  27578. "type": "object",
  27579. "properties": {
  27580. "advanceratio": {
  27581. "description": "首付比率",
  27582. "type": "number"
  27583. },
  27584. "buyaccountid": {
  27585. "description": "买方账号ID[报价币种]",
  27586. "type": "integer"
  27587. },
  27588. "buyorderid": {
  27589. "description": "买方委托单号",
  27590. "type": "string"
  27591. },
  27592. "createtime": {
  27593. "description": "创建时间",
  27594. "type": "string"
  27595. },
  27596. "decimalplace": {
  27597. "description": "商品报价小数位",
  27598. "type": "integer"
  27599. },
  27600. "enumdicname": {
  27601. "description": "单位名称",
  27602. "type": "string"
  27603. },
  27604. "goodscode": {
  27605. "description": "商品代码",
  27606. "type": "string"
  27607. },
  27608. "goodsid": {
  27609. "description": "商品ID",
  27610. "type": "integer"
  27611. },
  27612. "goodsname": {
  27613. "description": "商品名称",
  27614. "type": "string"
  27615. },
  27616. "goodunitid": {
  27617. "description": "商品单位id",
  27618. "type": "integer"
  27619. },
  27620. "marketid": {
  27621. "description": "市场ID",
  27622. "type": "integer"
  27623. },
  27624. "offamount": {
  27625. "description": "优惠金额",
  27626. "type": "number"
  27627. },
  27628. "operatetype": {
  27629. "description": "买委托操作类型 - 1:正常下单 16:融资买入",
  27630. "type": "integer"
  27631. },
  27632. "payamount": {
  27633. "description": "支付金额",
  27634. "type": "number"
  27635. },
  27636. "payflag": {
  27637. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  27638. "type": "integer"
  27639. },
  27640. "paylimitedtime": {
  27641. "description": "支付期限",
  27642. "type": "string"
  27643. },
  27644. "paytime": {
  27645. "description": "付款时间",
  27646. "type": "string"
  27647. },
  27648. "qtydecimalplace": {
  27649. "description": "成交量小数位",
  27650. "type": "integer"
  27651. },
  27652. "sellaccountid": {
  27653. "description": "卖方账号ID[报价币种]",
  27654. "type": "integer"
  27655. },
  27656. "sellorderid": {
  27657. "description": "卖方委托单号",
  27658. "type": "string"
  27659. },
  27660. "tradeamount": {
  27661. "description": "成交金额(优惠后金额)",
  27662. "type": "number"
  27663. },
  27664. "tradecharge": {
  27665. "description": "成交手续费(买方)",
  27666. "type": "number"
  27667. },
  27668. "tradedate": {
  27669. "description": "交易日(yyyyMMdd)",
  27670. "type": "string"
  27671. },
  27672. "tradeid": {
  27673. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  27674. "type": "string"
  27675. },
  27676. "tradeprice": {
  27677. "description": "成交价格",
  27678. "type": "number"
  27679. },
  27680. "tradeqty": {
  27681. "description": "成交数量",
  27682. "type": "number"
  27683. }
  27684. }
  27685. },
  27686. "models.QhjPickArea": {
  27687. "type": "object",
  27688. "properties": {
  27689. "address": {
  27690. "description": "详细地址",
  27691. "type": "string"
  27692. },
  27693. "cityid": {
  27694. "description": "市",
  27695. "type": "integer"
  27696. },
  27697. "cityname": {
  27698. "description": "城市名称",
  27699. "type": "string"
  27700. },
  27701. "countryid": {
  27702. "description": "国家",
  27703. "type": "integer"
  27704. },
  27705. "countryname": {
  27706. "description": "国家名称",
  27707. "type": "string"
  27708. },
  27709. "districtid": {
  27710. "description": "地区",
  27711. "type": "integer"
  27712. },
  27713. "districtname": {
  27714. "description": "地区名称",
  27715. "type": "string"
  27716. },
  27717. "fromuserid": {
  27718. "description": "所属机构(组织机构)( OrgType = 1时为自己, = 2\\3时取上级机构的所属机构)",
  27719. "type": "integer"
  27720. },
  27721. "fromusername": {
  27722. "description": "所属机构名称",
  27723. "type": "string"
  27724. },
  27725. "provinceid": {
  27726. "description": "省",
  27727. "type": "integer"
  27728. },
  27729. "provincename": {
  27730. "description": "省名称",
  27731. "type": "string"
  27732. },
  27733. "suborgtype": {
  27734. "description": "子机构类型(千海金) - 0:机构 1:代理 2:门店",
  27735. "type": "integer"
  27736. },
  27737. "userid": {
  27738. "description": "机构用户ID 其他做市关系,都设置为 1",
  27739. "type": "integer"
  27740. },
  27741. "username": {
  27742. "description": "机构用户名称(门店门称)",
  27743. "type": "string"
  27744. }
  27745. }
  27746. },
  27747. "models.QhjPickGoods": {
  27748. "type": "object",
  27749. "properties": {
  27750. "enumdicname": {
  27751. "description": "单位名称(提货商品)",
  27752. "type": "string"
  27753. },
  27754. "goodsid": {
  27755. "description": "商品id",
  27756. "type": "integer"
  27757. },
  27758. "imageaddress": {
  27759. "description": "图片",
  27760. "type": "string"
  27761. },
  27762. "modifierid": {
  27763. "description": "修改人",
  27764. "type": "integer"
  27765. },
  27766. "modifiername": {
  27767. "description": "修改人名称",
  27768. "type": "string"
  27769. },
  27770. "modifysrc": {
  27771. "description": "修改来源 - 1:管理端 2:终端",
  27772. "type": "integer"
  27773. },
  27774. "pickupgoodsagreeunit": {
  27775. "description": "合约乘数",
  27776. "type": "number"
  27777. },
  27778. "pickupgoodsdesc": {
  27779. "description": "描述",
  27780. "type": "string"
  27781. },
  27782. "pickupgoodsid": {
  27783. "description": "提货商品ID",
  27784. "type": "string"
  27785. },
  27786. "pickupgoodsname": {
  27787. "description": "提货商品名称",
  27788. "type": "string"
  27789. },
  27790. "pickupgoodsstatus": {
  27791. "description": "状态 - 1:正常 2:停用 3:注销",
  27792. "type": "integer"
  27793. },
  27794. "pickupgoodsunitid": {
  27795. "description": "单位ID",
  27796. "type": "integer"
  27797. },
  27798. "pickupratio": {
  27799. "description": "提货系数",
  27800. "type": "number"
  27801. },
  27802. "preparedays": {
  27803. "description": "备货期(天)",
  27804. "type": "integer"
  27805. },
  27806. "remark": {
  27807. "description": "备注",
  27808. "type": "string"
  27809. },
  27810. "updatetime": {
  27811. "description": "更新时间",
  27812. "type": "string"
  27813. }
  27814. }
  27815. },
  27816. "models.QhjRSTriggerLog": {
  27817. "type": "object",
  27818. "properties": {
  27819. "accountid": {
  27820. "description": "用户资金账户",
  27821. "type": "integer"
  27822. },
  27823. "accountname": {
  27824. "description": "账号名称(ACCOUNTID对应的名称)",
  27825. "type": "string"
  27826. },
  27827. "currencyid": {
  27828. "description": "币种id",
  27829. "type": "integer"
  27830. },
  27831. "currencyname": {
  27832. "description": "币种名称",
  27833. "type": "string"
  27834. },
  27835. "decimalplace": {
  27836. "description": "商品报价小数位",
  27837. "type": "integer"
  27838. },
  27839. "enumdicname": {
  27840. "description": "单位名称",
  27841. "type": "string"
  27842. },
  27843. "goodscode": {
  27844. "description": "定投商品代码",
  27845. "type": "string"
  27846. },
  27847. "goodsid": {
  27848. "description": "定投商品ID",
  27849. "type": "integer"
  27850. },
  27851. "goodsname": {
  27852. "description": "定投商品名称",
  27853. "type": "string"
  27854. },
  27855. "goodunitid": {
  27856. "description": "定投商品单位id",
  27857. "type": "integer"
  27858. },
  27859. "logid": {
  27860. "description": "LogID(SEQ_QHJ_RSTRIGGERLOG)",
  27861. "type": "string"
  27862. },
  27863. "logincode": {
  27864. "description": "账号(登录代码)",
  27865. "type": "string"
  27866. },
  27867. "qtydecimalplace": {
  27868. "description": "成交量小数位",
  27869. "type": "integer"
  27870. },
  27871. "regularlycycle": {
  27872. "description": "定投频率 - 1:每周 2:每月",
  27873. "type": "integer"
  27874. },
  27875. "regularlycyclevalue": {
  27876. "description": "定投频率值 - 每周几(0-6) 或 每月几号(\u003c=28)",
  27877. "type": "string"
  27878. },
  27879. "regularlymode": {
  27880. "description": "定投方式 - 1:按数量 2:按金额",
  27881. "type": "integer"
  27882. },
  27883. "regularlymodevalue": {
  27884. "description": "定投方式值 - 数量或金额",
  27885. "type": "number"
  27886. },
  27887. "regularlystrategyid": {
  27888. "description": "定投策略ID",
  27889. "type": "integer"
  27890. },
  27891. "retcode": {
  27892. "description": "错误码",
  27893. "type": "string"
  27894. },
  27895. "tradeid": {
  27896. "description": "成交单ID",
  27897. "type": "string"
  27898. },
  27899. "triggeramount": {
  27900. "description": "触发金额",
  27901. "type": "number"
  27902. },
  27903. "triggerqty": {
  27904. "description": "触发数量",
  27905. "type": "number"
  27906. },
  27907. "triggerstatus": {
  27908. "description": "触发状态 - 1:成功 2:失败",
  27909. "type": "integer"
  27910. },
  27911. "triggertime": {
  27912. "description": "触发时间",
  27913. "type": "string"
  27914. },
  27915. "triggertradedate": {
  27916. "description": "触发交易日",
  27917. "type": "string"
  27918. },
  27919. "userid": {
  27920. "description": "所属用户ID",
  27921. "type": "integer"
  27922. },
  27923. "userinfotype": {
  27924. "description": "用户类型 1-个人 2-企业",
  27925. "type": "integer"
  27926. },
  27927. "username": {
  27928. "description": "用户名称(userid对应的名称)",
  27929. "type": "string"
  27930. }
  27931. }
  27932. },
  27933. "models.QhjRStrategy": {
  27934. "type": "object",
  27935. "properties": {
  27936. "accountid": {
  27937. "description": "用户资金账户",
  27938. "type": "integer"
  27939. },
  27940. "accountname": {
  27941. "description": "账号名称(ACCOUNTID对应的名称)",
  27942. "type": "string"
  27943. },
  27944. "currencyid": {
  27945. "description": "币种id",
  27946. "type": "integer"
  27947. },
  27948. "currencyname": {
  27949. "description": "币种名称",
  27950. "type": "string"
  27951. },
  27952. "decimalplace": {
  27953. "description": "商品报价小数位",
  27954. "type": "integer"
  27955. },
  27956. "enumdicname": {
  27957. "description": "单位名称",
  27958. "type": "string"
  27959. },
  27960. "goodscode": {
  27961. "description": "定投商品代码",
  27962. "type": "string"
  27963. },
  27964. "goodsid": {
  27965. "description": "定投商品ID",
  27966. "type": "integer"
  27967. },
  27968. "goodsname": {
  27969. "description": "定投商品名称",
  27970. "type": "string"
  27971. },
  27972. "goodunitid": {
  27973. "description": "定投商品单位id",
  27974. "type": "integer"
  27975. },
  27976. "lasteffecttradedate": {
  27977. "description": "最新生效交易日",
  27978. "type": "string"
  27979. },
  27980. "laststoptradedate": {
  27981. "description": "最新暂停交易日",
  27982. "type": "string"
  27983. },
  27984. "lasttriggertradedate": {
  27985. "description": "最新触发交易日",
  27986. "type": "string"
  27987. },
  27988. "logincode": {
  27989. "description": "账号(登录代码)",
  27990. "type": "string"
  27991. },
  27992. "nexttriggeramount": {
  27993. "description": "下次触发金额",
  27994. "type": "number"
  27995. },
  27996. "nexttriggerdate": {
  27997. "description": "下次触发日期",
  27998. "type": "string"
  27999. },
  28000. "nexttriggerqty": {
  28001. "description": "下次触发数量 [按小数位放大值]",
  28002. "type": "number"
  28003. },
  28004. "qtydecimalplace": {
  28005. "description": "成交量小数位",
  28006. "type": "integer"
  28007. },
  28008. "regularlycycle": {
  28009. "description": "定投频率 - 1:每周 2:每月",
  28010. "type": "integer"
  28011. },
  28012. "regularlycyclevalue": {
  28013. "description": "定投频率值 - 每周几(0-6) 或 每月几号(\u003c=28)",
  28014. "type": "string"
  28015. },
  28016. "regularlymode": {
  28017. "description": "定投方式 - 1:按数量 2:按金额",
  28018. "type": "integer"
  28019. },
  28020. "regularlymodevalue": {
  28021. "description": "定投方式值 - 数量或金额",
  28022. "type": "number"
  28023. },
  28024. "regularlystrategyid": {
  28025. "description": "定投策略ID (SEQ_QHJ_REGULARLYSTRATEGY)",
  28026. "type": "integer"
  28027. },
  28028. "regularlystrategystatus": {
  28029. "description": "策略状态 - 1:正常 2:暂停 3:终止",
  28030. "type": "integer"
  28031. },
  28032. "remark": {
  28033. "description": "备注",
  28034. "type": "string"
  28035. },
  28036. "triggersuccesstimes": {
  28037. "description": "累计定投成功次数",
  28038. "type": "string"
  28039. },
  28040. "triggertotalamount": {
  28041. "description": "累计定投金额(成功)",
  28042. "type": "number"
  28043. },
  28044. "triggertotalqty": {
  28045. "description": "累计定投数量(成功) [按小数位放大值]",
  28046. "type": "number"
  28047. },
  28048. "triggertotaltimes": {
  28049. "description": "累计定投总次数",
  28050. "type": "string"
  28051. },
  28052. "updatesrc": {
  28053. "description": "更新来源 - 1:管理端 2:终端",
  28054. "type": "integer"
  28055. },
  28056. "updatetime": {
  28057. "description": "更新时间",
  28058. "type": "string"
  28059. },
  28060. "updatorid": {
  28061. "description": "更新人",
  28062. "type": "string"
  28063. },
  28064. "userid": {
  28065. "description": "所属用户ID",
  28066. "type": "integer"
  28067. },
  28068. "userinfotype": {
  28069. "description": "用户类型 1-个人 2-企业",
  28070. "type": "integer"
  28071. },
  28072. "username": {
  28073. "description": "用户名称(userid对应的名称)",
  28074. "type": "string"
  28075. }
  28076. }
  28077. },
  28078. "models.QhjReckonPriceLog": {
  28079. "type": "object",
  28080. "properties": {
  28081. "decimalplace": {
  28082. "description": "商品报价小数位",
  28083. "type": "integer"
  28084. },
  28085. "goodscode": {
  28086. "description": "商品代码",
  28087. "type": "string"
  28088. },
  28089. "goodsid": {
  28090. "description": "商品ID",
  28091. "type": "integer"
  28092. },
  28093. "goodsname": {
  28094. "description": "商品名称",
  28095. "type": "string"
  28096. },
  28097. "lastreckonprice": {
  28098. "description": "上日结算价",
  28099. "type": "number"
  28100. },
  28101. "nextdnlimitprice": {
  28102. "description": "下个交易日跌停价",
  28103. "type": "number"
  28104. },
  28105. "nexttrade": {
  28106. "description": "下个交易日",
  28107. "type": "string"
  28108. },
  28109. "nextuplimitprice": {
  28110. "description": "下个交易日涨停价",
  28111. "type": "number"
  28112. },
  28113. "reckonprice": {
  28114. "description": "今日结算价(定投价)",
  28115. "type": "number"
  28116. },
  28117. "reckontime": {
  28118. "description": "结算时间",
  28119. "type": "string"
  28120. },
  28121. "totalholderqty": {
  28122. "description": "总持仓数",
  28123. "type": "integer"
  28124. },
  28125. "totalstock": {
  28126. "description": "总库存",
  28127. "type": "integer"
  28128. },
  28129. "tradedate": {
  28130. "description": "交易日",
  28131. "type": "string"
  28132. },
  28133. "updowncount": {
  28134. "description": "连续涨(跌)停天数 (涨跌停标志变为0时值归0,变成涨停或是跌停时值为1,连续涨停天数+1,连续跌停天数+1)",
  28135. "type": "integer"
  28136. },
  28137. "updownflag": {
  28138. "description": "连续涨跌停标志 - 0:无涨跌停 -1:跌停 1:涨停",
  28139. "type": "integer"
  28140. },
  28141. "updownrate": {
  28142. "description": "今日涨跌幅",
  28143. "type": "number"
  28144. },
  28145. "updownrate_2d": {
  28146. "description": "连续两日涨跌幅",
  28147. "type": "number"
  28148. },
  28149. "updownrate_3d": {
  28150. "description": "连续三日涨跌幅",
  28151. "type": "number"
  28152. }
  28153. }
  28154. },
  28155. "models.QhjScoreLog": {
  28156. "type": "object",
  28157. "properties": {
  28158. "accountid": {
  28159. "description": "账户ID",
  28160. "type": "integer"
  28161. },
  28162. "createtime": {
  28163. "description": "创建时间(时间)",
  28164. "type": "string"
  28165. },
  28166. "goodsid": {
  28167. "description": "商品ID",
  28168. "type": "integer"
  28169. },
  28170. "hasuploaded": {
  28171. "description": "是否已同步(千海金) 0:未同步 1;已同步",
  28172. "type": "integer"
  28173. },
  28174. "logid": {
  28175. "description": "流水ID(211+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  28176. "type": "string"
  28177. },
  28178. "marketid": {
  28179. "description": "市场ID",
  28180. "type": "integer"
  28181. },
  28182. "relatedamount": {
  28183. "description": "关联金额",
  28184. "type": "number"
  28185. },
  28186. "relatedorderid": {
  28187. "description": "关联单号(ScoreType=1为Trade_GoodsPickup)",
  28188. "type": "string"
  28189. },
  28190. "scoreconfigvalue1": {
  28191. "description": "积分配置1",
  28192. "type": "integer"
  28193. },
  28194. "scoreconfigvalue2": {
  28195. "description": "积分配置1",
  28196. "type": "integer"
  28197. },
  28198. "scoretype": {
  28199. "description": "积分类型 - 1:提货积分",
  28200. "type": "integer"
  28201. },
  28202. "scorevalue": {
  28203. "description": "积分",
  28204. "type": "number"
  28205. },
  28206. "tradedate": {
  28207. "description": "交易日(yyyyMMdd)",
  28208. "type": "string"
  28209. },
  28210. "uploadedtime": {
  28211. "description": "同步时间",
  28212. "type": "string"
  28213. },
  28214. "userid": {
  28215. "description": "用户ID",
  28216. "type": "integer"
  28217. }
  28218. }
  28219. },
  28220. "models.QhjSiteColumnDetail": {
  28221. "type": "object",
  28222. "properties": {
  28223. "author": {
  28224. "description": "作者",
  28225. "type": "string"
  28226. },
  28227. "brief": {
  28228. "description": "简介",
  28229. "type": "string"
  28230. },
  28231. "columnid": {
  28232. "description": "所属栏目",
  28233. "type": "integer"
  28234. },
  28235. "context": {
  28236. "description": "内容",
  28237. "type": "string"
  28238. },
  28239. "coverimage": {
  28240. "description": "封面图片",
  28241. "type": "string"
  28242. },
  28243. "creaedate": {
  28244. "description": "创建时间",
  28245. "type": "string"
  28246. },
  28247. "creatorid": {
  28248. "description": "创建人",
  28249. "type": "integer"
  28250. },
  28251. "hits": {
  28252. "description": "点击数",
  28253. "type": "integer"
  28254. },
  28255. "id": {
  28256. "description": "ID(SEQ_SITE_COLUMNDETAIL)",
  28257. "type": "integer"
  28258. },
  28259. "isshow": {
  28260. "description": "是否展示 - 0:不展示 1:展示",
  28261. "type": "integer"
  28262. },
  28263. "istop": {
  28264. "description": "是否置顶 - 0:不置 1:置顶",
  28265. "type": "integer"
  28266. },
  28267. "modifierid": {
  28268. "description": "操作人",
  28269. "type": "integer"
  28270. },
  28271. "publishdate": {
  28272. "description": "发布日期",
  28273. "type": "string"
  28274. },
  28275. "status": {
  28276. "description": "状态 - 1:暂存 10:待审核 20:审核通过 30:审核拒绝",
  28277. "type": "integer"
  28278. },
  28279. "title": {
  28280. "description": "标题",
  28281. "type": "string"
  28282. },
  28283. "updatedate": {
  28284. "description": "修改时间",
  28285. "type": "string"
  28286. },
  28287. "userid": {
  28288. "description": "用户ID(默认为0, 核心为为机构用户ID)",
  28289. "type": "integer"
  28290. },
  28291. "username": {
  28292. "description": "用户名称",
  28293. "type": "string"
  28294. }
  28295. }
  28296. },
  28297. "models.QhjTeamOrder": {
  28298. "type": "object",
  28299. "properties": {
  28300. "accountid": {
  28301. "description": "账户ID[报价币种]",
  28302. "type": "integer"
  28303. },
  28304. "accountname": {
  28305. "description": "账户名称",
  28306. "type": "string"
  28307. },
  28308. "agreeunit": {
  28309. "description": "合约乘数",
  28310. "type": "number"
  28311. },
  28312. "buyorsell": {
  28313. "description": "方向 - 0:买 1:卖",
  28314. "type": "integer"
  28315. },
  28316. "decimalplace": {
  28317. "description": "报价小数位",
  28318. "type": "integer"
  28319. },
  28320. "enumdicname": {
  28321. "description": "单位名称",
  28322. "type": "string"
  28323. },
  28324. "goodscode": {
  28325. "description": "商品代码(内部)",
  28326. "type": "string"
  28327. },
  28328. "goodsid": {
  28329. "description": "商品ID",
  28330. "type": "integer"
  28331. },
  28332. "goodsname": {
  28333. "description": "商品名称",
  28334. "type": "string"
  28335. },
  28336. "goodunitid": {
  28337. "description": "报价单位ID",
  28338. "type": "integer"
  28339. },
  28340. "marketid": {
  28341. "description": "市场ID",
  28342. "type": "integer"
  28343. },
  28344. "marketname": {
  28345. "description": "市场名称",
  28346. "type": "string"
  28347. },
  28348. "qtydecimalplace": {
  28349. "description": "成交量小数位",
  28350. "type": "integer"
  28351. },
  28352. "refereeuserid": {
  28353. "description": "推荐人ID",
  28354. "type": "integer"
  28355. },
  28356. "tradeamount": {
  28357. "description": "成交金额[账户币种,用于所有权]",
  28358. "type": "number"
  28359. },
  28360. "tradedate": {
  28361. "description": "交易日(yyyyMMdd)",
  28362. "type": "string"
  28363. },
  28364. "trademode": {
  28365. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  28366. "type": "integer"
  28367. },
  28368. "tradeprice": {
  28369. "description": "成交价格",
  28370. "type": "number"
  28371. },
  28372. "tradeqty": {
  28373. "description": "成交数量",
  28374. "type": "number"
  28375. },
  28376. "tradetime": {
  28377. "description": "成交时间",
  28378. "type": "string"
  28379. },
  28380. "userid": {
  28381. "description": "用户ID",
  28382. "type": "integer"
  28383. }
  28384. }
  28385. },
  28386. "models.QhjTradeGoodsPickup": {
  28387. "type": "object",
  28388. "properties": {
  28389. "accountid": {
  28390. "description": "账户ID",
  28391. "type": "integer"
  28392. },
  28393. "address": {
  28394. "description": "提货人详细地址",
  28395. "type": "string"
  28396. },
  28397. "amount": {
  28398. "description": "提货金额",
  28399. "type": "number"
  28400. },
  28401. "artradedate": {
  28402. "description": "自动收货交易日(yyyyMMdd)",
  28403. "type": "string"
  28404. },
  28405. "auditer": {
  28406. "description": "审核人",
  28407. "type": "integer"
  28408. },
  28409. "auditsrc": {
  28410. "description": "更新来源 - 1:管理端 2:终端",
  28411. "type": "integer"
  28412. },
  28413. "audittime": {
  28414. "description": "审核时间(发货时间 | 备货完成时间 都是这个字段)",
  28415. "type": "string"
  28416. },
  28417. "audittradedate": {
  28418. "description": "审核交易日(yyyyMMdd)",
  28419. "type": "string"
  28420. },
  28421. "cardnum": {
  28422. "description": "提货人证件号码",
  28423. "type": "string"
  28424. },
  28425. "cardtypeid": {
  28426. "description": "提货人证件类型",
  28427. "type": "integer"
  28428. },
  28429. "checkremark": {
  28430. "description": "审核备注",
  28431. "type": "string"
  28432. },
  28433. "cityid": {
  28434. "description": "市",
  28435. "type": "integer"
  28436. },
  28437. "cityname": {
  28438. "description": "城市名称",
  28439. "type": "string"
  28440. },
  28441. "confirmtime": {
  28442. "description": "取货时间 或 收货时间",
  28443. "type": "string"
  28444. },
  28445. "countryid": {
  28446. "description": "国家",
  28447. "type": "integer"
  28448. },
  28449. "countryname": {
  28450. "description": "国家名称",
  28451. "type": "string"
  28452. },
  28453. "decimalplace": {
  28454. "description": "商品报价小数位",
  28455. "type": "integer"
  28456. },
  28457. "districtid": {
  28458. "description": "地区",
  28459. "type": "integer"
  28460. },
  28461. "districtname": {
  28462. "description": "地区名称",
  28463. "type": "string"
  28464. },
  28465. "enumdicname": {
  28466. "description": "单位名称(提货商品)",
  28467. "type": "string"
  28468. },
  28469. "expresscompany": {
  28470. "description": "物流公司",
  28471. "type": "string"
  28472. },
  28473. "expressnum": {
  28474. "description": "物流单号",
  28475. "type": "string"
  28476. },
  28477. "goodsagreeunit": {
  28478. "description": "交易商品乘数",
  28479. "type": "number"
  28480. },
  28481. "goodscode": {
  28482. "description": "商品代码",
  28483. "type": "string"
  28484. },
  28485. "goodsid": {
  28486. "description": "商品ID",
  28487. "type": "integer"
  28488. },
  28489. "goodsname": {
  28490. "description": "商品名称",
  28491. "type": "string"
  28492. },
  28493. "goodsqty": {
  28494. "description": "交易商品手数(69模式按成交量小数位放大取整)",
  28495. "type": "number"
  28496. },
  28497. "handlestatus": {
  28498. "description": "处理状态",
  28499. "type": "integer"
  28500. },
  28501. "logincode": {
  28502. "description": "账号(登录代码, 有可能为空)",
  28503. "type": "string"
  28504. },
  28505. "marketid": {
  28506. "description": "市场ID",
  28507. "type": "integer"
  28508. },
  28509. "phonenum": {
  28510. "description": "提货人联系方式",
  28511. "type": "string"
  28512. },
  28513. "pickupgoodsagreeunit": {
  28514. "description": "提货商品合约乘数",
  28515. "type": "number"
  28516. },
  28517. "pickupgoodsid": {
  28518. "description": "提货商品ID",
  28519. "type": "string"
  28520. },
  28521. "pickupgoodsname": {
  28522. "description": "提货商品名称",
  28523. "type": "string"
  28524. },
  28525. "pickupgoodsqty": {
  28526. "description": "提货商品手数(数量)",
  28527. "type": "number"
  28528. },
  28529. "pickupgoodsunitid": {
  28530. "description": "单位ID(提货商品)",
  28531. "type": "integer"
  28532. },
  28533. "pickupratio": {
  28534. "description": "提货系数",
  28535. "type": "number"
  28536. },
  28537. "preparedays": {
  28538. "description": "备货期(天)-提货单明细表",
  28539. "type": "integer"
  28540. },
  28541. "provinceid": {
  28542. "description": "省",
  28543. "type": "integer"
  28544. },
  28545. "provincename": {
  28546. "description": "省名称",
  28547. "type": "string"
  28548. },
  28549. "qty": {
  28550. "description": "交易商品总手数(交易商品 - 69模式按成交量放大) - 明细表的交易商品手数汇总",
  28551. "type": "number"
  28552. },
  28553. "qtydecimalplace": {
  28554. "description": "商品数量小数位",
  28555. "type": "integer"
  28556. },
  28557. "recivername": {
  28558. "description": "提货人姓名",
  28559. "type": "string"
  28560. },
  28561. "reqtime": {
  28562. "description": "提货申请时间",
  28563. "type": "string"
  28564. },
  28565. "storeuserid": {
  28566. "description": "门店用户ID (千海金)",
  28567. "type": "integer"
  28568. },
  28569. "storeusername": {
  28570. "description": "门店用户名称",
  28571. "type": "string"
  28572. },
  28573. "takemode": {
  28574. "description": "提货方式 - 2:自提 3:配送(邮寄)",
  28575. "type": "integer"
  28576. },
  28577. "takeorderid": {
  28578. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  28579. "type": "string"
  28580. },
  28581. "takeorderstatus": {
  28582. "description": "提货状态 - 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄) 7:已拒绝 8:已撤销",
  28583. "type": "integer"
  28584. },
  28585. "takeremark": {
  28586. "description": "提货备注",
  28587. "type": "string"
  28588. },
  28589. "tradedate": {
  28590. "description": "交易日(yyyyMMdd)",
  28591. "type": "string"
  28592. },
  28593. "updatetime": {
  28594. "description": "更新时间",
  28595. "type": "string"
  28596. },
  28597. "userid": {
  28598. "description": "用户ID",
  28599. "type": "integer"
  28600. },
  28601. "userinfotype": {
  28602. "description": "客户类型 1-个人 2-企业",
  28603. "type": "integer"
  28604. },
  28605. "username": {
  28606. "description": "用户名称",
  28607. "type": "string"
  28608. }
  28609. }
  28610. },
  28611. "models.QhjUserNodeCfgAndStatus": {
  28612. "type": "object",
  28613. "properties": {
  28614. "agreementcontent": {
  28615. "description": "协议内容",
  28616. "type": "string"
  28617. },
  28618. "agreementid": {
  28619. "description": "协议ID",
  28620. "type": "integer"
  28621. },
  28622. "agreementname": {
  28623. "description": "协议名称",
  28624. "type": "string"
  28625. },
  28626. "agreementno": {
  28627. "description": "协议编号",
  28628. "type": "string"
  28629. },
  28630. "agreementtype": {
  28631. "description": "协议类型 - 1:注册 2:登录 3:交易",
  28632. "type": "integer"
  28633. },
  28634. "agreementversion": {
  28635. "description": "协议版本号",
  28636. "type": "integer"
  28637. },
  28638. "configid": {
  28639. "description": "配置(SEQ_QHJ_NODEAGREEMENTCONFIG)",
  28640. "type": "integer"
  28641. },
  28642. "createtime": {
  28643. "description": "创建时间",
  28644. "type": "string"
  28645. },
  28646. "goodsid": {
  28647. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  28648. "type": "integer"
  28649. },
  28650. "nodetype": {
  28651. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  28652. "type": "integer"
  28653. },
  28654. "signtimestamp": {
  28655. "description": "签约状态时间戳(最近一次)",
  28656. "type": "string"
  28657. },
  28658. "tradedate": {
  28659. "description": "签约交易日(yyyyMMdd)",
  28660. "type": "string"
  28661. },
  28662. "userid": {
  28663. "description": "客户ID",
  28664. "type": "integer"
  28665. }
  28666. }
  28667. },
  28668. "models.Qhjgoodsex": {
  28669. "type": "object",
  28670. "properties": {
  28671. "canfinance": {
  28672. "description": "是否支持融资 - 0:不支持 1:支持【69:铂金宝】",
  28673. "type": "integer"
  28674. },
  28675. "canregularlybuy": {
  28676. "description": "是否支持定投 - 0:不支持 1:支持【69:铂金宝】",
  28677. "type": "integer"
  28678. },
  28679. "defaulttradeuserid": {
  28680. "description": "默认交易用户ID",
  28681. "type": "integer"
  28682. },
  28683. "deliverygoodsid": {
  28684. "description": "现货品种ID",
  28685. "type": "integer"
  28686. },
  28687. "goodsid": {
  28688. "description": "商品ID(自增ID SEQ_GOODS)",
  28689. "type": "integer"
  28690. },
  28691. "minamount": {
  28692. "description": "最小购买金额",
  28693. "type": "number"
  28694. },
  28695. "regularlybuyminamount": {
  28696. "description": "定投最小金额",
  28697. "type": "number"
  28698. },
  28699. "regularlybuyminqty": {
  28700. "description": "定投最小数量",
  28701. "type": "number"
  28702. },
  28703. "spotgoodsbrandid": {
  28704. "description": "现货品牌ID - 存“DGFactoryItem”表\"DGFactoryItemID\"",
  28705. "type": "integer"
  28706. },
  28707. "visibilityforenterprise": {
  28708. "description": "企业客户是否可见 - 0:不可见 1:可见",
  28709. "type": "integer"
  28710. },
  28711. "visibilityforpersonal": {
  28712. "description": "个人客户是否可见 - 0:不可见 1:可见",
  28713. "type": "integer"
  28714. },
  28715. "wrstandardid": {
  28716. "description": "现货商品ID",
  28717. "type": "integer"
  28718. }
  28719. }
  28720. },
  28721. "models.QueryErrorInfosRsp": {
  28722. "type": "object",
  28723. "required": [
  28724. "errorid"
  28725. ],
  28726. "properties": {
  28727. "description": {
  28728. "description": "异常描述",
  28729. "type": "string"
  28730. },
  28731. "errorcode": {
  28732. "description": "异常代码",
  28733. "type": "string"
  28734. },
  28735. "errorid": {
  28736. "description": "异常ID",
  28737. "type": "integer"
  28738. },
  28739. "modulecode": {
  28740. "description": "所属模块",
  28741. "type": "string"
  28742. },
  28743. "operatecode": {
  28744. "description": "所属操作",
  28745. "type": "string"
  28746. },
  28747. "rownumber": {
  28748. "description": "行号",
  28749. "type": "string"
  28750. }
  28751. }
  28752. },
  28753. "models.QueryHedgeOrderDetailRsp": {
  28754. "type": "object",
  28755. "properties": {
  28756. "accountid": {
  28757. "description": "账户ID",
  28758. "type": "integer"
  28759. },
  28760. "buyorsell": {
  28761. "description": "买卖 - 0:买 1:卖",
  28762. "type": "integer"
  28763. },
  28764. "cancellogincode": {
  28765. "description": "撤单人",
  28766. "type": "string"
  28767. },
  28768. "channelbuildtype": {
  28769. "description": "开平标志 - 0:无 1:建仓 2:平仓",
  28770. "type": "integer"
  28771. },
  28772. "channelinnerorderstatus": {
  28773. "description": "委托状态 - 1:委托请求 2:冻结成功 3:委托失败 4:委托部成部失败 5:委托成功 6:全部撤销 7:部成部撤 8:部成部撤部失败 9:全部成交",
  28774. "type": "integer"
  28775. },
  28776. "channeloperatetype": {
  28777. "description": "操作类型 - 1:正常委托 2:斩仓委托 3:强平委托",
  28778. "type": "integer"
  28779. },
  28780. "closetype": {
  28781. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  28782. "type": "integer"
  28783. },
  28784. "curexchangerate": {
  28785. "description": "当前汇率",
  28786. "type": "number"
  28787. },
  28788. "exchangefullname": {
  28789. "description": "外部交易所全称",
  28790. "type": "string"
  28791. },
  28792. "goodscode": {
  28793. "description": "商品代码(内部)",
  28794. "type": "string"
  28795. },
  28796. "goodsid": {
  28797. "description": "商品ID",
  28798. "type": "integer"
  28799. },
  28800. "goodsname": {
  28801. "description": "商品名称",
  28802. "type": "string"
  28803. },
  28804. "marketid": {
  28805. "description": "市场ID",
  28806. "type": "integer"
  28807. },
  28808. "openfreezemargin": {
  28809. "description": "冻结保证金(冻结交易金额)",
  28810. "type": "number"
  28811. },
  28812. "orderid": {
  28813. "description": "委托单号(107+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  28814. "type": "string"
  28815. },
  28816. "orderlogincode": {
  28817. "description": "委托人",
  28818. "type": "string"
  28819. },
  28820. "orderprice": {
  28821. "description": "委托价格(账户)",
  28822. "type": "number"
  28823. },
  28824. "orderqty": {
  28825. "description": "委托数量",
  28826. "type": "integer"
  28827. },
  28828. "ordertime": {
  28829. "description": "委托时间",
  28830. "type": "string"
  28831. },
  28832. "pricemode": {
  28833. "description": "取价方式 - 1:市价 2: 限价",
  28834. "type": "integer"
  28835. },
  28836. "tradedate": {
  28837. "description": "交易日(yyyyMMdd)",
  28838. "type": "string"
  28839. },
  28840. "tradeqty": {
  28841. "description": "成交数量",
  28842. "type": "integer"
  28843. }
  28844. }
  28845. },
  28846. "models.QueryHedgeTradeDetailRsp": {
  28847. "type": "object",
  28848. "properties": {
  28849. "accountid": {
  28850. "description": "账号ID",
  28851. "type": "integer"
  28852. },
  28853. "buyorsell": {
  28854. "description": "方向 - 0:买 1:卖",
  28855. "type": "integer"
  28856. },
  28857. "channelbuildtype": {
  28858. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  28859. "type": "integer"
  28860. },
  28861. "closecharge": {
  28862. "description": "平仓手续费(账户)",
  28863. "type": "number"
  28864. },
  28865. "closecharge2": {
  28866. "description": "平仓手续费(商品)",
  28867. "type": "number"
  28868. },
  28869. "closepl": {
  28870. "description": "平仓盈亏(账户)",
  28871. "type": "number"
  28872. },
  28873. "closepl2": {
  28874. "description": "平仓盈亏(商品)",
  28875. "type": "number"
  28876. },
  28877. "closepl3": {
  28878. "description": "平仓盈亏(账户)(逐笔)",
  28879. "type": "number"
  28880. },
  28881. "closepl4": {
  28882. "description": "平仓盈亏(商品)(逐笔)",
  28883. "type": "number"
  28884. },
  28885. "closetype": {
  28886. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  28887. "type": "integer"
  28888. },
  28889. "curexchangerate": {
  28890. "description": "当前汇率",
  28891. "type": "number"
  28892. },
  28893. "exchangefullname": {
  28894. "description": "外部交易所全称",
  28895. "type": "string"
  28896. },
  28897. "goodscode": {
  28898. "description": "商品代码(内部)",
  28899. "type": "string"
  28900. },
  28901. "goodsid": {
  28902. "description": "商品ID",
  28903. "type": "integer"
  28904. },
  28905. "goodsname": {
  28906. "description": "商品名称",
  28907. "type": "string"
  28908. },
  28909. "marketid": {
  28910. "description": "市场ID",
  28911. "type": "integer"
  28912. },
  28913. "opencharge": {
  28914. "description": "建仓手续费(账户)",
  28915. "type": "number"
  28916. },
  28917. "opencharge2": {
  28918. "description": "建仓手续费(商品)",
  28919. "type": "number"
  28920. },
  28921. "orderid": {
  28922. "description": "委托单号",
  28923. "type": "string"
  28924. },
  28925. "orderlogincode": {
  28926. "description": "委托人",
  28927. "type": "string"
  28928. },
  28929. "tradeamount": {
  28930. "description": "成交金额(账户)",
  28931. "type": "number"
  28932. },
  28933. "tradedate": {
  28934. "description": "交易日(yyyyMMdd)",
  28935. "type": "string"
  28936. },
  28937. "tradeid": {
  28938. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  28939. "type": "string"
  28940. },
  28941. "tradeprice": {
  28942. "description": "成交价格",
  28943. "type": "number"
  28944. },
  28945. "tradeqty": {
  28946. "description": "成交数量",
  28947. "type": "integer"
  28948. },
  28949. "tradetime": {
  28950. "description": "成交时间",
  28951. "type": "string"
  28952. },
  28953. "tradetype": {
  28954. "description": "成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交",
  28955. "type": "integer"
  28956. }
  28957. }
  28958. },
  28959. "models.QuotePrimaryMenu": {
  28960. "type": "object",
  28961. "properties": {
  28962. "Index": {
  28963. "description": "序号",
  28964. "type": "integer"
  28965. },
  28966. "Key": {
  28967. "description": "键名",
  28968. "type": "string"
  28969. },
  28970. "Name": {
  28971. "description": "菜单名称",
  28972. "type": "string"
  28973. },
  28974. "SubMenus": {
  28975. "description": "子菜单",
  28976. "type": "array",
  28977. "items": {
  28978. "$ref": "#/definitions/models.QuoteSecondaryMenu"
  28979. }
  28980. },
  28981. "SubTitleType": {
  28982. "description": "子菜单标题模式:0-市场名称;1-外部交易所名称",
  28983. "type": "integer"
  28984. },
  28985. "TradeModes": {
  28986. "description": "包含市场交易类型",
  28987. "type": "string"
  28988. }
  28989. }
  28990. },
  28991. "models.QuoteSecondaryMenu": {
  28992. "type": "object",
  28993. "properties": {
  28994. "ExExchangeCode": {
  28995. "description": "外部交易所代码",
  28996. "type": "string"
  28997. },
  28998. "ExExchangeID": {
  28999. "description": "外部交易所ID",
  29000. "type": "integer"
  29001. },
  29002. "GoodsGroupIDs": {
  29003. "description": "商品组ID列表",
  29004. "type": "array",
  29005. "items": {
  29006. "type": "integer"
  29007. }
  29008. },
  29009. "Index": {
  29010. "description": "序号",
  29011. "type": "integer"
  29012. },
  29013. "MarketID": {
  29014. "description": "市场ID",
  29015. "type": "integer"
  29016. },
  29017. "MenuTitle": {
  29018. "description": "菜单标题(市场名称或外部交易所名称)",
  29019. "type": "string"
  29020. },
  29021. "TradeMode": {
  29022. "description": "交易模式",
  29023. "type": "integer"
  29024. }
  29025. }
  29026. },
  29027. "models.RoleMenu": {
  29028. "type": "object",
  29029. "properties": {
  29030. "hasright": {
  29031. "description": "是否有权限 0-没有权限 1-有权限",
  29032. "type": "integer"
  29033. },
  29034. "iconame": {
  29035. "description": "菜单图标",
  29036. "type": "string"
  29037. },
  29038. "menutype": {
  29039. "description": "菜单类型 1:管理端 2:交易端 3:终端(企业云平台)",
  29040. "type": "integer"
  29041. },
  29042. "parentcode": {
  29043. "description": "上级资源代码",
  29044. "type": "string"
  29045. },
  29046. "remark": {
  29047. "description": "菜单备注",
  29048. "type": "string"
  29049. },
  29050. "resourcecode": {
  29051. "description": "菜单代码",
  29052. "type": "string"
  29053. },
  29054. "resourcelevel": {
  29055. "description": "级别",
  29056. "type": "integer"
  29057. },
  29058. "resourcename": {
  29059. "description": "菜单名称",
  29060. "type": "string"
  29061. },
  29062. "roleid": {
  29063. "description": "角色id",
  29064. "type": "integer"
  29065. },
  29066. "sort": {
  29067. "description": "排序",
  29068. "type": "integer"
  29069. },
  29070. "subMenu": {
  29071. "description": "子级菜单(结构同上层一样, swag解析不出来)",
  29072. "type": "array",
  29073. "items": {
  29074. "$ref": "#/definitions/models.RoleMenu"
  29075. }
  29076. },
  29077. "url": {
  29078. "description": "URL",
  29079. "type": "string"
  29080. },
  29081. "userid": {
  29082. "description": "用户id",
  29083. "type": "integer"
  29084. }
  29085. }
  29086. },
  29087. "models.SearchGoods": {
  29088. "type": "object",
  29089. "required": [
  29090. "goodscode",
  29091. "goodsid",
  29092. "goodsname",
  29093. "marketid",
  29094. "trademode"
  29095. ],
  29096. "properties": {
  29097. "goodscode": {
  29098. "description": "商品代码(内部)",
  29099. "type": "string"
  29100. },
  29101. "goodsid": {
  29102. "description": "商品ID(自增ID SEQ_GOODS)",
  29103. "type": "integer"
  29104. },
  29105. "goodsname": {
  29106. "description": "商品名称",
  29107. "type": "string"
  29108. },
  29109. "marketid": {
  29110. "description": "所属市场ID",
  29111. "type": "integer"
  29112. },
  29113. "marketname": {
  29114. "description": "市场名称",
  29115. "type": "string"
  29116. },
  29117. "trademode": {
  29118. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  29119. "type": "integer"
  29120. }
  29121. }
  29122. },
  29123. "models.Systemparam": {
  29124. "type": "object",
  29125. "required": [
  29126. "paramcode"
  29127. ],
  29128. "properties": {
  29129. "loginid": {
  29130. "description": "更新用户账号,登录账号",
  29131. "type": "string"
  29132. },
  29133. "modifyflag": {
  29134. "description": "修改标志0 不允许修改 1 允许修改",
  29135. "type": "integer"
  29136. },
  29137. "paramcode": {
  29138. "description": "参数代码",
  29139. "type": "string"
  29140. },
  29141. "paramname": {
  29142. "description": "参数名",
  29143. "type": "string"
  29144. },
  29145. "paramtype": {
  29146. "description": "参数类型 0-通用 1-管理端 2-终端 3-后台 4-商城",
  29147. "type": "integer"
  29148. },
  29149. "paramvalue": {
  29150. "description": "参数值",
  29151. "type": "string"
  29152. },
  29153. "paramvalue2": {
  29154. "description": "参数值(CLOB)",
  29155. "type": "string"
  29156. },
  29157. "regexpress": {
  29158. "description": "正则表达式",
  29159. "type": "string"
  29160. },
  29161. "remark": {
  29162. "description": "备注",
  29163. "type": "string"
  29164. },
  29165. "serverip": {
  29166. "description": "限制服务器IP,备份参数,现在界面不用显示0.0.0.0则无限制,是通用参数192.168.0.211 指定服务器的参数配置",
  29167. "type": "string"
  29168. },
  29169. "showflag": {
  29170. "description": "是否显示0 不显示 1 显示",
  29171. "type": "integer"
  29172. },
  29173. "updatetime": {
  29174. "description": "更新时间",
  29175. "type": "string"
  29176. },
  29177. "userid": {
  29178. "description": "更新用户ID",
  29179. "type": "integer"
  29180. }
  29181. }
  29182. },
  29183. "models.Szdz3convertconfig": {
  29184. "type": "object",
  29185. "required": [
  29186. "converttype",
  29187. "innergoodsid",
  29188. "outergoodscode"
  29189. ],
  29190. "properties": {
  29191. "canin": {
  29192. "description": "是否可转入 - 0:不可 1:可 [5:花生米转交易]",
  29193. "type": "integer"
  29194. },
  29195. "canout": {
  29196. "description": "是否可转出 - 0:不可 1:可 [5:花生米转交易]",
  29197. "type": "integer"
  29198. },
  29199. "converttype": {
  29200. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)",
  29201. "type": "integer"
  29202. },
  29203. "createtime": {
  29204. "description": "创建时间",
  29205. "type": "string"
  29206. },
  29207. "creatorid": {
  29208. "description": "创建人",
  29209. "type": "integer"
  29210. },
  29211. "daymaxvalue": {
  29212. "description": "当日最大转入限制",
  29213. "type": "number"
  29214. },
  29215. "freezedays": {
  29216. "description": "冻结天数 [5:花生米转交易]",
  29217. "type": "integer"
  29218. },
  29219. "innergoodsid": {
  29220. "description": "内部商品ID[交易]",
  29221. "type": "integer"
  29222. },
  29223. "inratio": {
  29224. "description": "目标值",
  29225. "type": "integer"
  29226. },
  29227. "modifierid": {
  29228. "description": "修改人",
  29229. "type": "integer"
  29230. },
  29231. "modifytime": {
  29232. "description": "修改时间",
  29233. "type": "string"
  29234. },
  29235. "outergoodscode": {
  29236. "description": "外部商品代码[JD\\PD]",
  29237. "type": "string"
  29238. },
  29239. "outratio": {
  29240. "description": "源值",
  29241. "type": "integer"
  29242. },
  29243. "pddecimalplace": {
  29244. "description": "PD小数位",
  29245. "type": "integer"
  29246. },
  29247. "timemaxvalue": {
  29248. "description": "单次最大转入限制",
  29249. "type": "number"
  29250. },
  29251. "timeminvalue": {
  29252. "description": "单次最小转入限制",
  29253. "type": "number"
  29254. }
  29255. }
  29256. },
  29257. "models.Szdz3searchwhitelist": {
  29258. "type": "object",
  29259. "required": [
  29260. "userid"
  29261. ],
  29262. "properties": {
  29263. "createtime": {
  29264. "description": "创建时间",
  29265. "type": "string"
  29266. },
  29267. "creatorid": {
  29268. "description": "创建人",
  29269. "type": "integer"
  29270. },
  29271. "modifierid": {
  29272. "description": "修改人",
  29273. "type": "integer"
  29274. },
  29275. "modifytime": {
  29276. "description": "修改时间",
  29277. "type": "string"
  29278. },
  29279. "userid": {
  29280. "description": "用户ID",
  29281. "type": "integer"
  29282. }
  29283. }
  29284. },
  29285. "models.Taaccount": {
  29286. "type": "object",
  29287. "required": [
  29288. "accountid",
  29289. "userid"
  29290. ],
  29291. "properties": {
  29292. "accountflag": {
  29293. "description": "账户标识 - 0\\1 (默认为0, 当上级账户与本账户的关联用户均为自己时更新为1)",
  29294. "type": "integer"
  29295. },
  29296. "accountid": {
  29297. "description": "资金账户ID",
  29298. "type": "integer"
  29299. },
  29300. "accountname": {
  29301. "description": "账户名称",
  29302. "type": "string"
  29303. },
  29304. "balance": {
  29305. "description": "期初余额",
  29306. "type": "number"
  29307. },
  29308. "capitalbalance": {
  29309. "description": "本金余额[外部子账户实际出入金余额]",
  29310. "type": "number"
  29311. },
  29312. "changeflag": {
  29313. "description": "变动标志(当前账户资金有任何变动更新为1系统结算时更新0;供清算时使用) 0:无变动 1:有变动",
  29314. "type": "integer"
  29315. },
  29316. "changetime": {
  29317. "description": "账户状态变更时间",
  29318. "type": "string"
  29319. },
  29320. "closepl": {
  29321. "description": "今日平仓盈亏",
  29322. "type": "number"
  29323. },
  29324. "creditdecrease": {
  29325. "description": "今日授信减少",
  29326. "type": "number"
  29327. },
  29328. "creditincrease": {
  29329. "description": "今日授信增加",
  29330. "type": "number"
  29331. },
  29332. "curamount": {
  29333. "description": "总市值(从持仓中统计)",
  29334. "type": "number"
  29335. },
  29336. "currencyid": {
  29337. "description": "货币ID",
  29338. "type": "integer"
  29339. },
  29340. "currentbalance": {
  29341. "description": "期末余额",
  29342. "type": "number"
  29343. },
  29344. "freezecharge": {
  29345. "description": "手续费冻结",
  29346. "type": "number"
  29347. },
  29348. "freezemargin": {
  29349. "description": "冻结保证金",
  29350. "type": "number"
  29351. },
  29352. "fromaccountid": {
  29353. "description": "所属上级账户",
  29354. "type": "integer"
  29355. },
  29356. "inamount": {
  29357. "description": "今日入金金额(包括三方入金)",
  29358. "type": "number"
  29359. },
  29360. "ismain": {
  29361. "description": "是否母账号 0:不是母账户 1:是母账户",
  29362. "type": "integer"
  29363. },
  29364. "ismarketaccount": {
  29365. "description": "是否机构接单账号 0:不是 1:是",
  29366. "type": "integer"
  29367. },
  29368. "isreckonaccount": {
  29369. "description": "是否机构分润账号 0:不是 1:是",
  29370. "type": "integer"
  29371. },
  29372. "mortgagecredit": {
  29373. "description": "授信金额",
  29374. "type": "number"
  29375. },
  29376. "orifreezecharge": {
  29377. "description": "期初手续费冻结",
  29378. "type": "number"
  29379. },
  29380. "orifreezemargin": {
  29381. "description": "期初冻结保证金",
  29382. "type": "number"
  29383. },
  29384. "orimortgagecredit": {
  29385. "description": "期初授信金额",
  29386. "type": "number"
  29387. },
  29388. "oriothercredit": {
  29389. "description": "期初其它授信金额",
  29390. "type": "number"
  29391. },
  29392. "oriotherfreezemargin": {
  29393. "description": "期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)",
  29394. "type": "number"
  29395. },
  29396. "orioutamountfreeze": {
  29397. "description": "期初出金冻结",
  29398. "type": "number"
  29399. },
  29400. "oriusedmargin": {
  29401. "description": "期初占用保证金",
  29402. "type": "number"
  29403. },
  29404. "othercredit": {
  29405. "description": "其它授信金额",
  29406. "type": "number"
  29407. },
  29408. "othercreditdecrease": {
  29409. "description": "今日其它授信减少",
  29410. "type": "number"
  29411. },
  29412. "othercreditincrease": {
  29413. "description": "今日其它授信增加",
  29414. "type": "number"
  29415. },
  29416. "otherfreezemargin": {
  29417. "description": "其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)",
  29418. "type": "number"
  29419. },
  29420. "otherincome": {
  29421. "description": "其他收入(交割收款 申购收款 全款卖出 商城卖出 买家退货 会员手续费收入)",
  29422. "type": "number"
  29423. },
  29424. "otherpay": {
  29425. "description": "其他支出(交割付款 申购付款 全款买入 商城买入 卖家退货)",
  29426. "type": "number"
  29427. },
  29428. "outamount": {
  29429. "description": "今日出金金额(包括三方出金)",
  29430. "type": "number"
  29431. },
  29432. "outamountfreeze": {
  29433. "description": "出金冻结",
  29434. "type": "number"
  29435. },
  29436. "outthreshold": {
  29437. "description": "出金阈值",
  29438. "type": "number"
  29439. },
  29440. "parentaccountid": {
  29441. "description": "所属根账号",
  29442. "type": "integer"
  29443. },
  29444. "paycharge": {
  29445. "description": "今日手续费支出",
  29446. "type": "number"
  29447. },
  29448. "relatedaccountstatus": {
  29449. "description": "关联用户交易权限状态 - 1:正常(可交易) 2:受限(可平仓,不可建仓) 3:冻结(不可交易)",
  29450. "type": "integer"
  29451. },
  29452. "relateduserid": {
  29453. "description": "关联用户",
  29454. "type": "integer"
  29455. },
  29456. "remainamount": {
  29457. "description": "融资额(从融资合同中统计)",
  29458. "type": "number"
  29459. },
  29460. "serivcegroup": {
  29461. "description": "服务分组",
  29462. "type": "integer"
  29463. },
  29464. "signstatus": {
  29465. "description": "签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中",
  29466. "type": "integer"
  29467. },
  29468. "sublevelpath": {
  29469. "description": "账号层级路径(逗号分隔,首尾加逗号)",
  29470. "type": "string"
  29471. },
  29472. "taaccounttype": {
  29473. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  29474. "type": "integer"
  29475. },
  29476. "thirdinamount": {
  29477. "description": "今日三方入金",
  29478. "type": "number"
  29479. },
  29480. "thirdoutamount": {
  29481. "description": "今日三方出金",
  29482. "type": "number"
  29483. },
  29484. "tradestatus": {
  29485. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  29486. "type": "integer"
  29487. },
  29488. "tradestatuschangetime": {
  29489. "description": "激活时间",
  29490. "type": "string"
  29491. },
  29492. "transferamount": {
  29493. "description": "今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)",
  29494. "type": "number"
  29495. },
  29496. "usedmargin": {
  29497. "description": "占用保证金",
  29498. "type": "number"
  29499. },
  29500. "userid": {
  29501. "description": "用户ID",
  29502. "type": "integer"
  29503. }
  29504. }
  29505. },
  29506. "models.Tablecolumnconfig": {
  29507. "type": "object",
  29508. "required": [
  29509. "autoid"
  29510. ],
  29511. "properties": {
  29512. "aligntype": {
  29513. "description": "对齐方式 - 1:居中对齐 2:左对齐 3:右对齐",
  29514. "type": "integer"
  29515. },
  29516. "autoid": {
  29517. "description": "AutoID",
  29518. "type": "integer"
  29519. },
  29520. "columnfield": {
  29521. "description": "列字段",
  29522. "type": "string"
  29523. },
  29524. "columntitle": {
  29525. "description": "列Title",
  29526. "type": "string"
  29527. },
  29528. "columnwidth": {
  29529. "description": "列宽",
  29530. "type": "string"
  29531. },
  29532. "formatterstring": {
  29533. "description": "格式化字符",
  29534. "type": "string"
  29535. },
  29536. "formattertype": {
  29537. "description": "格式化类型",
  29538. "type": "string"
  29539. },
  29540. "groupname": {
  29541. "description": "表头分组名称",
  29542. "type": "string"
  29543. },
  29544. "isshow": {
  29545. "description": "是否显示 - 0:不显示 1:显示",
  29546. "type": "integer"
  29547. },
  29548. "needsummary": {
  29549. "description": "是否需要汇总 - 0:不需要 1:需要",
  29550. "type": "integer"
  29551. },
  29552. "orderindex": {
  29553. "description": "顺序",
  29554. "type": "integer"
  29555. },
  29556. "remark": {
  29557. "description": "备注",
  29558. "type": "string"
  29559. },
  29560. "summarytype": {
  29561. "description": "汇总类型 - 1:加总 2:最后一个",
  29562. "type": "integer"
  29563. },
  29564. "tablekey": {
  29565. "description": "列表Key",
  29566. "type": "string"
  29567. }
  29568. }
  29569. },
  29570. "models.UserCollectConfig": {
  29571. "type": "object",
  29572. "properties": {
  29573. "accountstatus": {
  29574. "description": "账户状态 - 1:正常 2:停用 3:注销",
  29575. "type": "integer"
  29576. },
  29577. "collectaccountname": {
  29578. "description": "收款人账户名称",
  29579. "type": "string"
  29580. },
  29581. "collectaccountno": {
  29582. "description": "收款人账户",
  29583. "type": "string"
  29584. },
  29585. "collectbankname": {
  29586. "description": "收款人开户行",
  29587. "type": "string"
  29588. },
  29589. "collectbranchbankname": {
  29590. "description": "收款人开户支行",
  29591. "type": "string"
  29592. },
  29593. "collectconfigid": {
  29594. "description": "收款账户配置ID(SEQ_USERCOLLECTCONFIG)",
  29595. "type": "string"
  29596. },
  29597. "remark": {
  29598. "description": "备注",
  29599. "type": "string"
  29600. },
  29601. "userid": {
  29602. "description": "收款人用户ID",
  29603. "type": "integer"
  29604. }
  29605. }
  29606. },
  29607. "models.UserReceiveInfo": {
  29608. "type": "object",
  29609. "properties": {
  29610. "address": {
  29611. "description": "提货人详细地址",
  29612. "type": "string"
  29613. },
  29614. "autoid": {
  29615. "description": "AutoID",
  29616. "type": "integer"
  29617. },
  29618. "cardnum": {
  29619. "description": "证件号码(加密存储)",
  29620. "type": "string"
  29621. },
  29622. "cardtypeid": {
  29623. "description": "证件类型",
  29624. "type": "integer"
  29625. },
  29626. "cityid": {
  29627. "description": "市",
  29628. "type": "integer"
  29629. },
  29630. "cityname": {
  29631. "description": "城市名称",
  29632. "type": "string"
  29633. },
  29634. "countryid": {
  29635. "description": "国家",
  29636. "type": "integer"
  29637. },
  29638. "countryname": {
  29639. "description": "国家名称",
  29640. "type": "string"
  29641. },
  29642. "districtid": {
  29643. "description": "地区",
  29644. "type": "integer"
  29645. },
  29646. "districtname": {
  29647. "description": "地区名称",
  29648. "type": "string"
  29649. },
  29650. "hasencrypt": {
  29651. "description": "数据是否已加密 - 0:未加密 1:已加密",
  29652. "type": "integer"
  29653. },
  29654. "isdefault": {
  29655. "description": "是否默认地址 - 0:否 1:是",
  29656. "type": "integer"
  29657. },
  29658. "phonenum": {
  29659. "description": "提货人联系方式(加密存储)",
  29660. "type": "string"
  29661. },
  29662. "provinceid": {
  29663. "description": "省",
  29664. "type": "integer"
  29665. },
  29666. "provincename": {
  29667. "description": "省名称",
  29668. "type": "string"
  29669. },
  29670. "receivername": {
  29671. "description": "提货人姓名",
  29672. "type": "string"
  29673. },
  29674. "takeremark": {
  29675. "description": "提货备注",
  29676. "type": "string"
  29677. },
  29678. "userid": {
  29679. "description": "用户ID",
  29680. "type": "integer"
  29681. }
  29682. }
  29683. },
  29684. "models.Useraccount": {
  29685. "type": "object",
  29686. "required": [
  29687. "userid"
  29688. ],
  29689. "properties": {
  29690. "accountname": {
  29691. "description": "账户名称(机构名称)",
  29692. "type": "string"
  29693. },
  29694. "accountstatus": {
  29695. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  29696. "type": "integer"
  29697. },
  29698. "applysrc": {
  29699. "description": "申请来源 - 1:管理端 2:终端",
  29700. "type": "integer"
  29701. },
  29702. "auditremark": {
  29703. "description": "审核备注",
  29704. "type": "string"
  29705. },
  29706. "auditsrc": {
  29707. "description": "审核来源 - 1:管理端 2:终端",
  29708. "type": "integer"
  29709. },
  29710. "audittime": {
  29711. "description": "审核时间",
  29712. "type": "string"
  29713. },
  29714. "audituserid": {
  29715. "description": "审核人",
  29716. "type": "integer"
  29717. },
  29718. "broker": {
  29719. "description": "所属经纪人ID",
  29720. "type": "integer"
  29721. },
  29722. "canceltime": {
  29723. "description": "销户时间",
  29724. "type": "string"
  29725. },
  29726. "canceluserid": {
  29727. "description": "销户人",
  29728. "type": "integer"
  29729. },
  29730. "canrecommend": {
  29731. "description": "是否可推荐 - 0:不可 1;可",
  29732. "type": "integer"
  29733. },
  29734. "createtime": {
  29735. "description": "创建时间",
  29736. "type": "string"
  29737. },
  29738. "creatorid": {
  29739. "description": "创建人",
  29740. "type": "integer"
  29741. },
  29742. "hasauth": {
  29743. "description": "是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝",
  29744. "type": "integer"
  29745. },
  29746. "isanonymous": {
  29747. "description": "是否匿名下单 - 0:否 1:是",
  29748. "type": "integer"
  29749. },
  29750. "maxinvestornum": {
  29751. "description": "最大用户数(经纪会员下投资者个数)",
  29752. "type": "integer"
  29753. },
  29754. "memberuserid": {
  29755. "description": "所属会员ID",
  29756. "type": "integer"
  29757. },
  29758. "modifierid": {
  29759. "description": "修改人",
  29760. "type": "integer"
  29761. },
  29762. "modifyremark": {
  29763. "description": "变更备注",
  29764. "type": "string"
  29765. },
  29766. "modifystatus": {
  29767. "description": "变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)",
  29768. "type": "integer"
  29769. },
  29770. "modifytime": {
  29771. "description": "修改时间",
  29772. "type": "string"
  29773. },
  29774. "parenttopuser": {
  29775. "description": "上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的\"ParentTopUser\"]",
  29776. "type": "string"
  29777. },
  29778. "parentuserid": {
  29779. "description": "所属机构ID",
  29780. "type": "integer"
  29781. },
  29782. "reckonaccountid": {
  29783. "description": "默认结算资金账号ID(机构分润使用) 作废",
  29784. "type": "integer"
  29785. },
  29786. "refercount": {
  29787. "description": "推荐总人数",
  29788. "type": "integer"
  29789. },
  29790. "refereeuserid": {
  29791. "description": "推荐人ID",
  29792. "type": "integer"
  29793. },
  29794. "refernum": {
  29795. "description": "推荐码",
  29796. "type": "string"
  29797. },
  29798. "rootuserid": {
  29799. "description": "根用户ID",
  29800. "type": "integer"
  29801. },
  29802. "subaccountlevel": {
  29803. "description": "子账户层数",
  29804. "type": "integer"
  29805. },
  29806. "subarealevelpath": {
  29807. "description": "子机构层级路径(逗号分隔,首尾加逗号)",
  29808. "type": "string"
  29809. },
  29810. "userid": {
  29811. "description": "用户ID",
  29812. "type": "integer"
  29813. },
  29814. "usertype": {
  29815. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  29816. "type": "integer"
  29817. }
  29818. }
  29819. },
  29820. "models.Userfavoritegoods": {
  29821. "type": "object",
  29822. "required": [
  29823. "goodsid"
  29824. ],
  29825. "properties": {
  29826. "goodsid": {
  29827. "description": "商品ID",
  29828. "type": "integer"
  29829. }
  29830. }
  29831. },
  29832. "models.Userinfo": {
  29833. "type": "object",
  29834. "required": [
  29835. "userid"
  29836. ],
  29837. "properties": {
  29838. "address": {
  29839. "description": "地址",
  29840. "type": "string"
  29841. },
  29842. "attachment1": {
  29843. "description": "附件1",
  29844. "type": "string"
  29845. },
  29846. "attachment2": {
  29847. "description": "附件2",
  29848. "type": "string"
  29849. },
  29850. "bankaccount": {
  29851. "description": "银行帐号 (加密存储)",
  29852. "type": "string"
  29853. },
  29854. "bankaccountname": {
  29855. "description": "收款人名称",
  29856. "type": "string"
  29857. },
  29858. "bankcardfrontphotourl": {
  29859. "description": "银行卡正面照地址",
  29860. "type": "string"
  29861. },
  29862. "bankid": {
  29863. "description": "银行编码",
  29864. "type": "string"
  29865. },
  29866. "bankname": {
  29867. "description": "银行名称",
  29868. "type": "string"
  29869. },
  29870. "biznature": {
  29871. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  29872. "type": "integer"
  29873. },
  29874. "bizscope": {
  29875. "description": "企业经营范围(企业)",
  29876. "type": "string"
  29877. },
  29878. "cardbackphotourl": {
  29879. "description": "证件背面图片地址",
  29880. "type": "string"
  29881. },
  29882. "cardfrontphotourl": {
  29883. "description": "证件正面图片地址",
  29884. "type": "string"
  29885. },
  29886. "cardnum": {
  29887. "description": "证件号码(加密存储)",
  29888. "type": "string"
  29889. },
  29890. "cardtypeid": {
  29891. "description": "证件类型ID",
  29892. "type": "integer"
  29893. },
  29894. "cityid": {
  29895. "description": "市",
  29896. "type": "integer"
  29897. },
  29898. "company": {
  29899. "description": "公司(个人)",
  29900. "type": "string"
  29901. },
  29902. "contactname": {
  29903. "description": "联系人",
  29904. "type": "string"
  29905. },
  29906. "countryid": {
  29907. "description": "国家",
  29908. "type": "integer"
  29909. },
  29910. "createtime": {
  29911. "description": "创建时间",
  29912. "type": "string"
  29913. },
  29914. "creatorid": {
  29915. "description": "创建人",
  29916. "type": "integer"
  29917. },
  29918. "customername": {
  29919. "description": "客户名称(企业名称)",
  29920. "type": "string"
  29921. },
  29922. "districtid": {
  29923. "description": "地区",
  29924. "type": "integer"
  29925. },
  29926. "email": {
  29927. "description": "邮件(加密存储)",
  29928. "type": "string"
  29929. },
  29930. "fax": {
  29931. "description": "传真(加密存储)",
  29932. "type": "string"
  29933. },
  29934. "halfbodyphotourl": {
  29935. "description": "半身照地址",
  29936. "type": "string"
  29937. },
  29938. "hasencrypt": {
  29939. "description": "数据是否已加密 - 0:未加密 1:已加密",
  29940. "type": "integer"
  29941. },
  29942. "headurl": {
  29943. "description": "头像地址",
  29944. "type": "string"
  29945. },
  29946. "legalcardbackphotourl": {
  29947. "description": "法人身份证背面照地址",
  29948. "type": "string"
  29949. },
  29950. "legalcardfrontphotourl": {
  29951. "description": "法人身份证正面照地址",
  29952. "type": "string"
  29953. },
  29954. "legalpersonname": {
  29955. "description": "法人姓名(企业)",
  29956. "type": "string"
  29957. },
  29958. "mobile": {
  29959. "description": "手机号码(加密存储)",
  29960. "type": "string"
  29961. },
  29962. "mobile2": {
  29963. "description": "手机号码[明文-尚志]",
  29964. "type": "string"
  29965. },
  29966. "modifierid": {
  29967. "description": "修改人",
  29968. "type": "integer"
  29969. },
  29970. "modifiertime": {
  29971. "description": "修改时间",
  29972. "type": "string"
  29973. },
  29974. "needinvoice": {
  29975. "description": "是否需要发票 - 0:不需要 1:需要",
  29976. "type": "integer"
  29977. },
  29978. "nickname": {
  29979. "description": "昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)",
  29980. "type": "string"
  29981. },
  29982. "openmode": {
  29983. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户",
  29984. "type": "integer"
  29985. },
  29986. "otherurl": {
  29987. "description": "其它图片地址[使用分号分隔]",
  29988. "type": "string"
  29989. },
  29990. "postalcode": {
  29991. "description": "邮政编码",
  29992. "type": "string"
  29993. },
  29994. "provinceid": {
  29995. "description": "省",
  29996. "type": "integer"
  29997. },
  29998. "qq": {
  29999. "description": "QQ(加密存储",
  30000. "type": "string"
  30001. },
  30002. "remark": {
  30003. "description": "备注",
  30004. "type": "string"
  30005. },
  30006. "sex": {
  30007. "description": "用户性别 0: 女 1: 男",
  30008. "type": "integer"
  30009. },
  30010. "signpdfurl": {
  30011. "description": "签约pdf文件",
  30012. "type": "string"
  30013. },
  30014. "telphone": {
  30015. "description": "联系电话(加密存储)",
  30016. "type": "string"
  30017. },
  30018. "userid": {
  30019. "description": "用户ID",
  30020. "type": "integer"
  30021. },
  30022. "userinfotype": {
  30023. "description": "用户信息类型 - 1:个人 2:企业",
  30024. "type": "integer"
  30025. },
  30026. "userstatus": {
  30027. "description": "用户状态 - 1:正常 2:注销",
  30028. "type": "integer"
  30029. },
  30030. "usertype": {
  30031. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户",
  30032. "type": "integer"
  30033. },
  30034. "wechat": {
  30035. "description": "微信(加密存储)",
  30036. "type": "string"
  30037. },
  30038. "wskhinfo": {
  30039. "description": "开户申请信息(JSON)",
  30040. "type": "string"
  30041. }
  30042. }
  30043. },
  30044. "models.WRSConverTDetail": {
  30045. "type": "object",
  30046. "properties": {
  30047. "convertratio": {
  30048. "description": "套保系数",
  30049. "type": "number"
  30050. },
  30051. "deliverygoodscode": {
  30052. "description": "现货商品代码",
  30053. "type": "string"
  30054. },
  30055. "deliverygoodsid": {
  30056. "description": "现货品种ID",
  30057. "type": "integer"
  30058. },
  30059. "deliverygoodsname": {
  30060. "description": "现货商品名称",
  30061. "type": "string"
  30062. },
  30063. "enumdicname": {
  30064. "description": "单位名称",
  30065. "type": "string"
  30066. },
  30067. "goodsunitid": {
  30068. "description": "套保品种单位id",
  30069. "type": "integer"
  30070. },
  30071. "middlegoodscode": {
  30072. "description": "套保品种代码",
  30073. "type": "string"
  30074. },
  30075. "middlegoodsid": {
  30076. "description": "套保品种ID",
  30077. "type": "integer"
  30078. },
  30079. "middlegoodsname": {
  30080. "description": "套保品种名称",
  30081. "type": "string"
  30082. },
  30083. "modifytime": {
  30084. "description": "修改时间",
  30085. "type": "string"
  30086. },
  30087. "wrstandardid": {
  30088. "description": "品类ID",
  30089. "type": "integer"
  30090. }
  30091. }
  30092. },
  30093. "models.WRStandardInfo": {
  30094. "type": "object",
  30095. "required": [
  30096. "wrstandardid"
  30097. ],
  30098. "properties": {
  30099. "areauserid": {
  30100. "description": "所属机构",
  30101. "type": "integer"
  30102. },
  30103. "convertfactor": {
  30104. "description": "标仓系数",
  30105. "type": "number"
  30106. },
  30107. "createtime": {
  30108. "description": "创建时间",
  30109. "type": "string"
  30110. },
  30111. "creatorid": {
  30112. "description": "创建人",
  30113. "type": "integer"
  30114. },
  30115. "deliverygoodsid": {
  30116. "description": "品种ID",
  30117. "type": "integer"
  30118. },
  30119. "deliverygoodsname": {
  30120. "description": "交割商品名称",
  30121. "type": "string"
  30122. },
  30123. "factoryitemjson": {
  30124. "description": "要素项定义Json[{\"DGFactoryItemTypeID\": ,\"ItemTypeMode\": ,\"FactoryItemIDs\": },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem-\u003eDGFactoryItemTypeIDItemTypeMode - 要素项类型模式 --DGFactoryItem-\u003eItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem-\u003eDGFactoryItemID, 逗号分隔",
  30125. "type": "string"
  30126. },
  30127. "isvalid": {
  30128. "description": "是否有效 - 0:无效 1:有效",
  30129. "type": "integer"
  30130. },
  30131. "minivalue": {
  30132. "description": "最小变动值",
  30133. "type": "integer"
  30134. },
  30135. "minivaluedp": {
  30136. "description": "最小变动值小数位",
  30137. "type": "integer"
  30138. },
  30139. "realminivalue": {
  30140. "description": "实际最小变动值",
  30141. "type": "integer"
  30142. },
  30143. "realminivaluedp": {
  30144. "description": "实际最小变动值小数位",
  30145. "type": "integer"
  30146. },
  30147. "remark": {
  30148. "description": "备注",
  30149. "type": "string"
  30150. },
  30151. "unitid": {
  30152. "description": "单位ID",
  30153. "type": "integer"
  30154. },
  30155. "unitname": {
  30156. "description": "单位",
  30157. "type": "string"
  30158. },
  30159. "updatetime": {
  30160. "description": "更新时间",
  30161. "type": "string"
  30162. },
  30163. "updatorid": {
  30164. "description": "更新人",
  30165. "type": "integer"
  30166. },
  30167. "wrsstatus": {
  30168. "description": "状态 - 作废 - 0:未激活 1:正常",
  30169. "type": "integer"
  30170. },
  30171. "wrstandardcode": {
  30172. "description": "现货品类代码",
  30173. "type": "string"
  30174. },
  30175. "wrstandardid": {
  30176. "description": "现货品类ID(SEQ_WRSTANDARD)",
  30177. "type": "integer"
  30178. },
  30179. "wrstandardname": {
  30180. "description": "现货品类名称",
  30181. "type": "string"
  30182. }
  30183. }
  30184. },
  30185. "models.Warehouseinfo": {
  30186. "type": "object",
  30187. "required": [
  30188. "autoid",
  30189. "warehousecode"
  30190. ],
  30191. "properties": {
  30192. "address": {
  30193. "description": "详细地址",
  30194. "type": "string"
  30195. },
  30196. "areauserid": {
  30197. "description": "所属机构",
  30198. "type": "integer"
  30199. },
  30200. "autoid": {
  30201. "description": "自增ID",
  30202. "type": "integer"
  30203. },
  30204. "cityid": {
  30205. "description": "市",
  30206. "type": "integer"
  30207. },
  30208. "contactname": {
  30209. "description": "联系人",
  30210. "type": "string"
  30211. },
  30212. "contactnum": {
  30213. "description": "联系电话",
  30214. "type": "string"
  30215. },
  30216. "countryid": {
  30217. "description": "国家",
  30218. "type": "integer"
  30219. },
  30220. "createtime": {
  30221. "description": "创建时间",
  30222. "type": "string"
  30223. },
  30224. "districtid": {
  30225. "description": "区",
  30226. "type": "integer"
  30227. },
  30228. "hasvideo": {
  30229. "description": "是否有视频 - 0:无 1:有",
  30230. "type": "integer"
  30231. },
  30232. "provinceid": {
  30233. "description": "省",
  30234. "type": "integer"
  30235. },
  30236. "remark": {
  30237. "description": "审核备注",
  30238. "type": "string"
  30239. },
  30240. "videourl": {
  30241. "description": "视频地址",
  30242. "type": "string"
  30243. },
  30244. "warehousecode": {
  30245. "description": "仓库代码",
  30246. "type": "string"
  30247. },
  30248. "warehousename": {
  30249. "description": "仓库名称",
  30250. "type": "string"
  30251. },
  30252. "warehousestatus": {
  30253. "description": "仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝",
  30254. "type": "integer"
  30255. },
  30256. "warehousetype": {
  30257. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  30258. "type": "integer"
  30259. }
  30260. }
  30261. },
  30262. "models.WrAverageTradePrice": {
  30263. "type": "object",
  30264. "properties": {
  30265. "averageprice": {
  30266. "description": "成交均价",
  30267. "type": "number"
  30268. },
  30269. "tradedate": {
  30270. "description": "交易日yyyymm",
  30271. "type": "string"
  30272. }
  30273. }
  30274. },
  30275. "models.WrBsGoodsInfo": {
  30276. "type": "object",
  30277. "properties": {
  30278. "buyorsell": {
  30279. "description": "买卖方向 0-买 1-卖",
  30280. "type": "integer"
  30281. },
  30282. "goodsid": {
  30283. "description": "交易合约ID",
  30284. "type": "integer"
  30285. },
  30286. "lstitem": {
  30287. "description": "商品信息项",
  30288. "type": "array",
  30289. "items": {
  30290. "$ref": "#/definitions/models.WrTypeItem"
  30291. }
  30292. },
  30293. "lststep": {
  30294. "description": "履约规则",
  30295. "type": "array",
  30296. "items": {
  30297. "$ref": "#/definitions/models.WrGoodsPerformanceStep"
  30298. }
  30299. }
  30300. }
  30301. },
  30302. "models.WrBuybackDetail": {
  30303. "type": "object",
  30304. "properties": {
  30305. "buybackamount": {
  30306. "description": "回购金额",
  30307. "type": "number"
  30308. },
  30309. "buybackqty": {
  30310. "description": "回购数量",
  30311. "type": "number"
  30312. },
  30313. "buybackreleasemargin": {
  30314. "description": "回购释放保证金",
  30315. "type": "number"
  30316. },
  30317. "buybacktime": {
  30318. "description": "回购时间",
  30319. "type": "string"
  30320. },
  30321. "errordesc": {
  30322. "description": "错误描述",
  30323. "type": "string"
  30324. },
  30325. "handlestatus": {
  30326. "description": "处理 - 1:待处理 2:处理成功 3:处理失败",
  30327. "type": "integer"
  30328. },
  30329. "relatedwrid": {
  30330. "description": "关联仓单ID",
  30331. "type": "integer"
  30332. },
  30333. "scfcontractid": {
  30334. "description": "SCF合同ID",
  30335. "type": "string"
  30336. },
  30337. "scfwrbuybackid": {
  30338. "description": "SCF仓单回购明细ID(312+Unix秒时间戳(10位)+xxxxxx)",
  30339. "type": "integer"
  30340. },
  30341. "tradedate": {
  30342. "description": "交易日(yyyyMMdd)",
  30343. "type": "string"
  30344. }
  30345. }
  30346. },
  30347. "models.WrDeliveryDetail": {
  30348. "type": "object",
  30349. "properties": {
  30350. "accountid": {
  30351. "description": "账号ID",
  30352. "type": "integer"
  30353. },
  30354. "buyorsell": {
  30355. "description": "方向 - 0:买 1:卖",
  30356. "type": "integer"
  30357. },
  30358. "deliveryamount": {
  30359. "description": "货款金额(X总货款+P总货款)",
  30360. "type": "number"
  30361. },
  30362. "deliveryorderid": {
  30363. "description": "申报单号",
  30364. "type": "string"
  30365. },
  30366. "deliverypricemove": {
  30367. "description": "升贴水(升贴水总额)",
  30368. "type": "number"
  30369. },
  30370. "deliveryqty": {
  30371. "description": "交收数量(点选数量)",
  30372. "type": "number"
  30373. },
  30374. "deliverystatus": {
  30375. "description": "状态 - 1:待成交 2:已成交 3:成交失败 4:履约完成",
  30376. "type": "integer"
  30377. },
  30378. "deliverytime": {
  30379. "description": "交割时间",
  30380. "type": "string"
  30381. },
  30382. "deliverytotalamount": {
  30383. "description": "交收金额",
  30384. "type": "number"
  30385. },
  30386. "matchaccountid": {
  30387. "description": "对手账号ID",
  30388. "type": "integer"
  30389. },
  30390. "matchusername": {
  30391. "description": "对手方名称(仓单持有人)",
  30392. "type": "string"
  30393. },
  30394. "p1goodsremainamount": {
  30395. "description": "点价货款 ps:当PPRICEMODE=2时, 界面需显示\"-\"",
  30396. "type": "number"
  30397. },
  30398. "pdeliverycloseqty": {
  30399. "description": "p合约平仓数量",
  30400. "type": "number"
  30401. },
  30402. "pdeliveryprice": {
  30403. "description": "点价价格 ps:当PPRICEMODE=2时, 界面需显示\"-\"",
  30404. "type": "number"
  30405. },
  30406. "pgoodscode": {
  30407. "description": "商品代码",
  30408. "type": "string"
  30409. },
  30410. "pgoodsid": {
  30411. "description": "p点选合约id",
  30412. "type": "integer"
  30413. },
  30414. "pgoodsname": {
  30415. "description": "商品名称",
  30416. "type": "string"
  30417. },
  30418. "ppricemode": {
  30419. "description": "点价价格方式 - 1:商品价 2:固定值",
  30420. "type": "integer"
  30421. },
  30422. "tradedate": {
  30423. "description": "交易日(yyyymmdd)",
  30424. "type": "string"
  30425. },
  30426. "userid": {
  30427. "description": "用户id",
  30428. "type": "integer"
  30429. },
  30430. "username": {
  30431. "description": "用户名称",
  30432. "type": "string"
  30433. },
  30434. "wrfactortypeid": {
  30435. "description": "仓单要素类型ID",
  30436. "type": "integer"
  30437. },
  30438. "xdeliverycloseqty": {
  30439. "description": "合约数量",
  30440. "type": "number"
  30441. },
  30442. "xgoodsamount": {
  30443. "description": "合约金额 = 货款金额(DELIVERYAMOUNT) - 点价货款(P1GOODSREMAINAMOUNT)",
  30444. "type": "number"
  30445. },
  30446. "xgoodscode": {
  30447. "description": "商品代码",
  30448. "type": "string"
  30449. },
  30450. "xgoodsid": {
  30451. "description": "x交易合约ID",
  30452. "type": "integer"
  30453. },
  30454. "xgoodsname": {
  30455. "description": "商品名称",
  30456. "type": "string"
  30457. }
  30458. }
  30459. },
  30460. "models.WrFAProductDetail": {
  30461. "type": "object",
  30462. "properties": {
  30463. "accountid": {
  30464. "description": "资金账号",
  30465. "type": "integer"
  30466. },
  30467. "areauserid": {
  30468. "description": "金融机构ID",
  30469. "type": "integer"
  30470. },
  30471. "financingdays": {
  30472. "description": "天数(天)",
  30473. "type": "integer"
  30474. },
  30475. "interestminlen": {
  30476. "description": "最小起息天数",
  30477. "type": "integer"
  30478. },
  30479. "interestrate": {
  30480. "description": "利率",
  30481. "type": "number"
  30482. },
  30483. "interestratemode": {
  30484. "description": "利率方式 - 1:年利率 2:日利率 3:日固定值",
  30485. "type": "integer"
  30486. },
  30487. "interestsettlemode": {
  30488. "description": "结息方式 - 1:按日结息 3:按月结息",
  30489. "type": "integer"
  30490. },
  30491. "interestsettlevalue": {
  30492. "description": "结息方式值",
  30493. "type": "integer"
  30494. },
  30495. "isautoloan": {
  30496. "description": "是否自动放款 0-手动 1-自动 (当为自动放款时,显示\"放款快\")",
  30497. "type": "integer"
  30498. },
  30499. "loantag": {
  30500. "description": "放款标识: \"放款快\" 或者为空",
  30501. "type": "string"
  30502. },
  30503. "marginratio": {
  30504. "description": "保证金比率质押率 - [仓单质押]",
  30505. "type": "number"
  30506. },
  30507. "productdetailid": {
  30508. "description": "产品组合ID(SEQ_FINANCEAREAPRODUCTDETAIL)",
  30509. "type": "integer"
  30510. },
  30511. "productid": {
  30512. "description": "金融产品ID",
  30513. "type": "integer"
  30514. },
  30515. "productname": {
  30516. "description": "产品名称",
  30517. "type": "string"
  30518. },
  30519. "updatetime": {
  30520. "description": "更新时间",
  30521. "type": "string"
  30522. },
  30523. "username": {
  30524. "description": "融出方",
  30525. "type": "string"
  30526. }
  30527. }
  30528. },
  30529. "models.WrFactorTypeInfo": {
  30530. "type": "object",
  30531. "properties": {
  30532. "deliverygoodscode": {
  30533. "description": "品种代码",
  30534. "type": "string"
  30535. },
  30536. "deliverygoodsname": {
  30537. "description": "品种名称",
  30538. "type": "string"
  30539. },
  30540. "dgfactoryitemid": {
  30541. "description": "选择项id",
  30542. "type": "integer"
  30543. },
  30544. "dgfactoryitemtypeid": {
  30545. "description": "要素选择项ID (1-仓库 2-品牌)",
  30546. "type": "integer"
  30547. },
  30548. "dgfactoryitemvalue": {
  30549. "description": "要素项值",
  30550. "type": "string"
  30551. },
  30552. "itemtypename": {
  30553. "description": "要素项名称",
  30554. "type": "string"
  30555. },
  30556. "optioncompare": {
  30557. "description": "选择比较串",
  30558. "type": "string"
  30559. },
  30560. "warehouseid": {
  30561. "description": "仓库id",
  30562. "type": "integer"
  30563. },
  30564. "wrfactortypeid": {
  30565. "description": "仓单要素ID",
  30566. "type": "string"
  30567. },
  30568. "wrfactortypename": {
  30569. "description": "要素名称",
  30570. "type": "string"
  30571. },
  30572. "wrfactortypename2": {
  30573. "description": "要素名称(不含仓库)",
  30574. "type": "string"
  30575. },
  30576. "wrstandardcode": {
  30577. "description": "品类代码",
  30578. "type": "string"
  30579. },
  30580. "wrstandardid": {
  30581. "description": "品类id",
  30582. "type": "integer"
  30583. },
  30584. "wrstandardname": {
  30585. "description": "品类名称",
  30586. "type": "string"
  30587. }
  30588. }
  30589. },
  30590. "models.WrFilterItem": {
  30591. "type": "object",
  30592. "properties": {
  30593. "itemcode": {
  30594. "description": "代码",
  30595. "type": "string"
  30596. },
  30597. "itemid": {
  30598. "description": "项id",
  30599. "type": "integer"
  30600. },
  30601. "itemname": {
  30602. "description": "名称",
  30603. "type": "string"
  30604. },
  30605. "itemtype": {
  30606. "description": "类型 1-品种 2-品类(商品) 3-仓库",
  30607. "type": "integer"
  30608. }
  30609. }
  30610. },
  30611. "models.WrFinanceBuyApply": {
  30612. "type": "object",
  30613. "properties": {
  30614. "applydate": {
  30615. "description": "申请时间",
  30616. "type": "string"
  30617. },
  30618. "applystatus": {
  30619. "description": "申请状态 - 1:待审核 2.审核中 3:审核通过 4:审核拒绝 5:审核失败 6:已撤销 7:自动审核 8:融资失败",
  30620. "type": "integer"
  30621. },
  30622. "applyuserid": {
  30623. "description": "申请人",
  30624. "type": "integer"
  30625. },
  30626. "auditdate": {
  30627. "description": "审核时间",
  30628. "type": "string"
  30629. },
  30630. "auditremark": {
  30631. "description": "审核备注",
  30632. "type": "string"
  30633. },
  30634. "audituserid": {
  30635. "description": "审核人",
  30636. "type": "integer"
  30637. },
  30638. "buyaccountid": {
  30639. "description": "买方资金账号",
  30640. "type": "integer"
  30641. },
  30642. "buyorsell": {
  30643. "description": "买卖 - 0:买 1:卖",
  30644. "type": "integer"
  30645. },
  30646. "buyuserid": {
  30647. "description": "买方用户ID",
  30648. "type": "integer"
  30649. },
  30650. "buyusername": {
  30651. "description": "买方名称",
  30652. "type": "string"
  30653. },
  30654. "buywrtradeorderid": {
  30655. "description": "融资方买委托单ID",
  30656. "type": "string"
  30657. },
  30658. "deliverygoodscode": {
  30659. "description": "品种代码",
  30660. "type": "string"
  30661. },
  30662. "deliverygoodsid": {
  30663. "description": "品种ID",
  30664. "type": "integer"
  30665. },
  30666. "deliverygoodsname": {
  30667. "description": "品种名称",
  30668. "type": "string"
  30669. },
  30670. "deliverymonth": {
  30671. "description": "交收月(yyyy-MM) [无仓单HasWR =0]",
  30672. "type": "string"
  30673. },
  30674. "enumdicname": {
  30675. "description": "单位名称",
  30676. "type": "string"
  30677. },
  30678. "financeaccountid": {
  30679. "description": "融资方资金帐户ID",
  30680. "type": "integer"
  30681. },
  30682. "financeapplyid": {
  30683. "description": "融资申请单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  30684. "type": "string"
  30685. },
  30686. "financeareauserid": {
  30687. "description": "融资方用户ID",
  30688. "type": "string"
  30689. },
  30690. "financename": {
  30691. "description": "融出方名称",
  30692. "type": "string"
  30693. },
  30694. "financetype": {
  30695. "description": "融资类型 1-融资回购",
  30696. "type": "integer"
  30697. },
  30698. "financingdays": {
  30699. "description": "天数(天)",
  30700. "type": "integer"
  30701. },
  30702. "freezebuymargin": {
  30703. "description": "冻结融资保证金(买方)",
  30704. "type": "number"
  30705. },
  30706. "handleremark": {
  30707. "description": "处理备注",
  30708. "type": "string"
  30709. },
  30710. "handlestatus": {
  30711. "description": "处理状态",
  30712. "type": "integer"
  30713. },
  30714. "interestminlen": {
  30715. "description": "最小起息天数",
  30716. "type": "integer"
  30717. },
  30718. "interestrate": {
  30719. "description": "利率",
  30720. "type": "number"
  30721. },
  30722. "interestratemode": {
  30723. "description": "利率方式 - 1:年利率 2:日利率 3:日固定值",
  30724. "type": "integer"
  30725. },
  30726. "interestsettlemode": {
  30727. "description": "结息方式 - 1:按日结息 3:按月结息",
  30728. "type": "integer"
  30729. },
  30730. "interestsettlevalue": {
  30731. "description": "结息方式值",
  30732. "type": "integer"
  30733. },
  30734. "isautoloan": {
  30735. "description": "是否自动放款 - 0:手动 1:自动",
  30736. "type": "integer"
  30737. },
  30738. "marginratio": {
  30739. "description": "保证金比率质押率 - [仓单质押]",
  30740. "type": "number"
  30741. },
  30742. "marketid": {
  30743. "description": "市场ID",
  30744. "type": "integer"
  30745. },
  30746. "minivalue": {
  30747. "description": "现货商品最小变动值",
  30748. "type": "integer"
  30749. },
  30750. "optioncompare": {
  30751. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  30752. "type": "string"
  30753. },
  30754. "orderqty": {
  30755. "description": "委托数量(商品数量)",
  30756. "type": "number"
  30757. },
  30758. "productdetailid": {
  30759. "description": "产品组合ID",
  30760. "type": "integer"
  30761. },
  30762. "productid": {
  30763. "description": "金融产品ID",
  30764. "type": "integer"
  30765. },
  30766. "productname": {
  30767. "description": "产品名称",
  30768. "type": "string"
  30769. },
  30770. "remark": {
  30771. "description": "备注",
  30772. "type": "string"
  30773. },
  30774. "scfcontractid": {
  30775. "description": "仓单回购合同ID",
  30776. "type": "string"
  30777. },
  30778. "sellaccountid": {
  30779. "description": "卖方资金账号",
  30780. "type": "integer"
  30781. },
  30782. "selluserid": {
  30783. "description": "卖方用户ID",
  30784. "type": "integer"
  30785. },
  30786. "sellwrtradeorderid": {
  30787. "description": "卖方委托单ID",
  30788. "type": "string"
  30789. },
  30790. "tradeamount": {
  30791. "description": "成交金额(借款金额)",
  30792. "type": "number"
  30793. },
  30794. "tradedate": {
  30795. "description": "交易日(yyyyMMdd)",
  30796. "type": "string"
  30797. },
  30798. "tradeprice": {
  30799. "description": "成交价格",
  30800. "type": "number"
  30801. },
  30802. "warehouseid": {
  30803. "description": "仓库ID",
  30804. "type": "integer"
  30805. },
  30806. "warehousename": {
  30807. "description": "仓库名称",
  30808. "type": "string"
  30809. },
  30810. "wrfactortypeid": {
  30811. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  30812. "type": "string"
  30813. },
  30814. "wrfactortypename": {
  30815. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  30816. "type": "string"
  30817. },
  30818. "wrpricetype": {
  30819. "description": "价格方式 - 1:固定价 2-浮动价 - [挂牌单]",
  30820. "type": "integer"
  30821. },
  30822. "wrstandardcode": {
  30823. "description": "现货商品代码",
  30824. "type": "string"
  30825. },
  30826. "wrstandardid": {
  30827. "description": "现货商品ID",
  30828. "type": "integer"
  30829. },
  30830. "wrstandardname": {
  30831. "description": "商品名称",
  30832. "type": "string"
  30833. },
  30834. "wrtypename": {
  30835. "description": "商品",
  30836. "type": "string"
  30837. }
  30838. }
  30839. },
  30840. "models.WrFtDeliveryGoods": {
  30841. "type": "object",
  30842. "properties": {
  30843. "deliverygoodscode": {
  30844. "description": "品种代码",
  30845. "type": "string"
  30846. },
  30847. "deliverygoodsid": {
  30848. "description": "品种ID",
  30849. "type": "integer"
  30850. },
  30851. "deliverygoodsname": {
  30852. "description": "品种名称",
  30853. "type": "string"
  30854. },
  30855. "wdlst": {
  30856. "description": "商品列表",
  30857. "type": "array",
  30858. "items": {
  30859. "$ref": "#/definitions/models.WrFtWrstandard"
  30860. }
  30861. }
  30862. }
  30863. },
  30864. "models.WrFtWrstandard": {
  30865. "type": "object",
  30866. "properties": {
  30867. "enumdicname": {
  30868. "description": "单位名称",
  30869. "type": "string"
  30870. },
  30871. "minivalue": {
  30872. "description": "最小变动值",
  30873. "type": "integer"
  30874. },
  30875. "wrstandardcode": {
  30876. "description": "现货商品代码",
  30877. "type": "string"
  30878. },
  30879. "wrstandardid": {
  30880. "description": "现货商品ID",
  30881. "type": "integer"
  30882. },
  30883. "wrstandardname": {
  30884. "description": "商品名称",
  30885. "type": "string"
  30886. }
  30887. }
  30888. },
  30889. "models.WrGoodsInfo": {
  30890. "type": "object",
  30891. "properties": {
  30892. "haswr": {
  30893. "description": "0:仓单预售 1:仓单贸易",
  30894. "type": "integer"
  30895. },
  30896. "lstitem": {
  30897. "description": "商品信息项",
  30898. "type": "array",
  30899. "items": {
  30900. "$ref": "#/definitions/models.WrTypeItem"
  30901. }
  30902. },
  30903. "lststep": {
  30904. "description": "履约规则",
  30905. "type": "array",
  30906. "items": {
  30907. "$ref": "#/definitions/models.WrGoodsPerformanceStep"
  30908. }
  30909. },
  30910. "marketid": {
  30911. "description": "市场id",
  30912. "type": "integer"
  30913. }
  30914. }
  30915. },
  30916. "models.WrGoodsPerformanceStep": {
  30917. "type": "object",
  30918. "properties": {
  30919. "autoid": {
  30920. "description": "AutoID",
  30921. "type": "integer"
  30922. },
  30923. "isauto": {
  30924. "description": "是否自动 - 0:不自动 1:自动",
  30925. "type": "integer"
  30926. },
  30927. "remark": {
  30928. "description": "备注",
  30929. "type": "string"
  30930. },
  30931. "stepdate": {
  30932. "description": "天数信息(T+N)",
  30933. "type": "string"
  30934. },
  30935. "stepdays": {
  30936. "description": "距离上一步天数",
  30937. "type": "integer"
  30938. },
  30939. "stepindex": {
  30940. "description": "步骤序号",
  30941. "type": "integer"
  30942. },
  30943. "stepinfo": {
  30944. "description": "步骤信息(步骤名称+步骤值)",
  30945. "type": "string"
  30946. },
  30947. "steptypeid": {
  30948. "description": "履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“",
  30949. "type": "integer"
  30950. },
  30951. "steptypename": {
  30952. "description": "步骤名称",
  30953. "type": "string"
  30954. },
  30955. "stepvalue": {
  30956. "description": "步骤值",
  30957. "type": "number"
  30958. },
  30959. "templateid": {
  30960. "description": "履约计划模板ID",
  30961. "type": "integer"
  30962. }
  30963. }
  30964. },
  30965. "models.WrHoldLB": {
  30966. "type": "object",
  30967. "properties": {
  30968. "accountid": {
  30969. "description": "持有人帐户ID",
  30970. "type": "integer"
  30971. },
  30972. "createtime": {
  30973. "description": "创建时间(过户时间)",
  30974. "type": "string"
  30975. },
  30976. "deliverygoodscode": {
  30977. "description": "品种代码",
  30978. "type": "string"
  30979. },
  30980. "deliverygoodsid": {
  30981. "description": "品种ID",
  30982. "type": "integer"
  30983. },
  30984. "deliverygoodsname": {
  30985. "description": "品种名称",
  30986. "type": "string"
  30987. },
  30988. "enableqty": {
  30989. "description": "可用数量",
  30990. "type": "number"
  30991. },
  30992. "enumdicname": {
  30993. "description": "单位名称",
  30994. "type": "string"
  30995. },
  30996. "freezerqty": {
  30997. "description": "冻结数量",
  30998. "type": "number"
  30999. },
  31000. "ladingbillid": {
  31001. "description": "提单ID(208+Unix秒时间戳(10位)+xxxxxx)",
  31002. "type": "string"
  31003. },
  31004. "minivalue": {
  31005. "description": "现货商品最小变动值",
  31006. "type": "integer"
  31007. },
  31008. "optioncompare": {
  31009. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  31010. "type": "string"
  31011. },
  31012. "parentsubnum": {
  31013. "description": "拆分父子单号",
  31014. "type": "integer"
  31015. },
  31016. "pledgeqty": {
  31017. "description": "质押数量",
  31018. "type": "number"
  31019. },
  31020. "qty": {
  31021. "description": "数量",
  31022. "type": "number"
  31023. },
  31024. "subnum": {
  31025. "description": "提单子单号",
  31026. "type": "integer"
  31027. },
  31028. "tradedate": {
  31029. "description": "交易日(yyyyMMdd)",
  31030. "type": "string"
  31031. },
  31032. "userid": {
  31033. "description": "持有人ID",
  31034. "type": "integer"
  31035. },
  31036. "warehouseid": {
  31037. "description": "仓库ID",
  31038. "type": "integer"
  31039. },
  31040. "warehousename": {
  31041. "description": "仓库名称",
  31042. "type": "string"
  31043. },
  31044. "wrfactortypeid": {
  31045. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  31046. "type": "string"
  31047. },
  31048. "wrfactortypename": {
  31049. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  31050. "type": "string"
  31051. },
  31052. "wrholdeno": {
  31053. "description": "仓单编号",
  31054. "type": "string"
  31055. },
  31056. "wrid": {
  31057. "description": "仓单变更ID",
  31058. "type": "string"
  31059. },
  31060. "wrstandardcode": {
  31061. "description": "现货商品代码",
  31062. "type": "string"
  31063. },
  31064. "wrstandardid": {
  31065. "description": "现货商品ID",
  31066. "type": "integer"
  31067. },
  31068. "wrstandardname": {
  31069. "description": "商品名称",
  31070. "type": "string"
  31071. },
  31072. "wrtypename": {
  31073. "description": "商品",
  31074. "type": "string"
  31075. }
  31076. }
  31077. },
  31078. "models.WrMarketTradeConfig": {
  31079. "type": "object",
  31080. "properties": {
  31081. "basisdownratio": {
  31082. "description": "浮动价基差下限比例(仓单贸易)",
  31083. "type": "number"
  31084. },
  31085. "basisupratio": {
  31086. "description": "浮动价基差上限比例(仓单贸易)",
  31087. "type": "number"
  31088. },
  31089. "buychargealgorithm": {
  31090. "description": "买方手续费收取方式 1:比率 2:固定",
  31091. "type": "integer"
  31092. },
  31093. "buychargealgorithm2": {
  31094. "description": "回购买方手续费收取方式 1:比率 2:固定 --77:现货商城",
  31095. "type": "integer"
  31096. },
  31097. "buychargealgorithmvalue": {
  31098. "description": "买方手续费设置值(交易所部分)",
  31099. "type": "number"
  31100. },
  31101. "buychargealgorithmvalue2": {
  31102. "description": "买方手续费设置值(会员部分)",
  31103. "type": "number"
  31104. },
  31105. "buychargealgorithmvalue3": {
  31106. "description": "回购买方手续费设置值(交易所部分) --77:现货商城",
  31107. "type": "number"
  31108. },
  31109. "buychargealgorithmvalue4": {
  31110. "description": "回购买方手续费设置值(会员部分) --77:现货商城",
  31111. "type": "number"
  31112. },
  31113. "buyfirstmarginalgorithm": {
  31114. "description": "买方出价保证金方式 - 1:比率 2:固定 - [竞拍]",
  31115. "type": "integer"
  31116. },
  31117. "buyfirstmarginvalue": {
  31118. "description": "买方出价保证金设置值 - [竞拍]",
  31119. "type": "number"
  31120. },
  31121. "buymarginalgorithm": {
  31122. "description": "买方保证金方式 - 1:比率 2:固定",
  31123. "type": "integer"
  31124. },
  31125. "buymarginvalue": {
  31126. "description": "买方保证金设置值",
  31127. "type": "number"
  31128. },
  31129. "buyreleaseratio": {
  31130. "description": "买方释放比率[2:分步履约]",
  31131. "type": "number"
  31132. },
  31133. "executemode": {
  31134. "description": "执行方式[2:分步履约] - 1:顺序执行 2:交叉执行",
  31135. "type": "integer"
  31136. },
  31137. "executeside": {
  31138. "description": "执行方[2:分步履约] - 1:买方 2:卖方",
  31139. "type": "integer"
  31140. },
  31141. "failedchargealgorithm": {
  31142. "description": "流拍手续费收取方式 1:比率 2:固定",
  31143. "type": "integer"
  31144. },
  31145. "failedchargevalue": {
  31146. "description": "流拍手续费设置值",
  31147. "type": "number"
  31148. },
  31149. "failedchargevalue2": {
  31150. "description": "流拍卖方手续费设置值",
  31151. "type": "number"
  31152. },
  31153. "holddays": {
  31154. "description": "合同期限[2:分步履约]",
  31155. "type": "integer"
  31156. },
  31157. "marketid": {
  31158. "description": "市场ID-仓单贸易、竞拍、预售",
  31159. "type": "integer"
  31160. },
  31161. "minqty": {
  31162. "description": "最小执行量[2:分步履约]",
  31163. "type": "number"
  31164. },
  31165. "modifierid": {
  31166. "description": "修改人",
  31167. "type": "integer"
  31168. },
  31169. "performancetempid": {
  31170. "description": "履约计划模板ID(有仓单) - 根据交货模式:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式: 立即执行(-1)",
  31171. "type": "integer"
  31172. },
  31173. "performancetempid2": {
  31174. "description": "履约计划模板ID(无仓单) - 根据交货模式:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式: 立即执行",
  31175. "type": "integer"
  31176. },
  31177. "performanceway": {
  31178. "description": "交货模式 - 1:履约计划 2:分步履约 3:分步提货[文昌]",
  31179. "type": "integer"
  31180. },
  31181. "sellchargealgorithm": {
  31182. "description": "卖方手续费收取方式 1:比率 2:固定",
  31183. "type": "integer"
  31184. },
  31185. "sellchargealgorithm2": {
  31186. "description": "回购卖方手续费收取方式 1:比率 2:固定 --77:现货商城",
  31187. "type": "integer"
  31188. },
  31189. "sellchargealgorithmvalue": {
  31190. "description": "卖方手续费设置值(交易所部分)",
  31191. "type": "number"
  31192. },
  31193. "sellchargealgorithmvalue2": {
  31194. "description": "卖方手续费设置值(会员部分)",
  31195. "type": "number"
  31196. },
  31197. "sellchargealgorithmvalue3": {
  31198. "description": "回购卖方手续费设置值(交易所部分) --77:现货商城",
  31199. "type": "number"
  31200. },
  31201. "sellchargealgorithmvalue4": {
  31202. "description": "回购卖方手续费设置值(会员部分) --77:现货商城",
  31203. "type": "number"
  31204. },
  31205. "sellmarginalgorithm": {
  31206. "description": "卖方保证金方式 - 1:比率 2:固定",
  31207. "type": "integer"
  31208. },
  31209. "sellmarginvalue": {
  31210. "description": "卖方保证金设置值",
  31211. "type": "number"
  31212. },
  31213. "sellmarginvalue2": {
  31214. "description": "卖方保证金设置值(无仓单)",
  31215. "type": "number"
  31216. },
  31217. "sellreleaseratio": {
  31218. "description": "卖方释放比率[2:分步履约]",
  31219. "type": "number"
  31220. },
  31221. "updatetime": {
  31222. "description": "更新时间",
  31223. "type": "string"
  31224. }
  31225. }
  31226. },
  31227. "models.WrOrderDetail": {
  31228. "type": "object",
  31229. "properties": {
  31230. "buyorsell": {
  31231. "description": "买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)",
  31232. "type": "integer"
  31233. },
  31234. "cancelqty": {
  31235. "description": "撤销数量",
  31236. "type": "number"
  31237. },
  31238. "deliverygoodscode": {
  31239. "description": "品种代码",
  31240. "type": "string"
  31241. },
  31242. "deliverygoodsid": {
  31243. "description": "品种ID",
  31244. "type": "integer"
  31245. },
  31246. "deliverygoodsname": {
  31247. "description": "品种名称",
  31248. "type": "string"
  31249. },
  31250. "deliverymonth": {
  31251. "description": "交收月",
  31252. "type": "string"
  31253. },
  31254. "enumdicname": {
  31255. "description": "单位名称",
  31256. "type": "string"
  31257. },
  31258. "fixedprice": {
  31259. "description": "固定价格 - [挂牌]",
  31260. "type": "number"
  31261. },
  31262. "futupricemove": {
  31263. "description": "期货升贴水",
  31264. "type": "number"
  31265. },
  31266. "futushow": {
  31267. "description": "期货合约/升贴水",
  31268. "type": "string"
  31269. },
  31270. "goodscode": {
  31271. "description": "期货合约",
  31272. "type": "string"
  31273. },
  31274. "goodsid": {
  31275. "description": "期货商品id",
  31276. "type": "integer"
  31277. },
  31278. "goodsname": {
  31279. "description": "商品名称",
  31280. "type": "string"
  31281. },
  31282. "haswr": {
  31283. "description": "是否有仓单-卖方 - 0:无仓单 1:有仓单",
  31284. "type": "integer"
  31285. },
  31286. "marketid": {
  31287. "description": "市场ID",
  31288. "type": "integer"
  31289. },
  31290. "minivalue": {
  31291. "description": "现货商品最小变动值",
  31292. "type": "integer"
  31293. },
  31294. "optioncompare": {
  31295. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  31296. "type": "string"
  31297. },
  31298. "orderqty": {
  31299. "description": "委托数量",
  31300. "type": "number"
  31301. },
  31302. "ordertime": {
  31303. "description": "委托时间(挂牌时间)",
  31304. "type": "string"
  31305. },
  31306. "pricemove": {
  31307. "description": "升贴水(浮动价时填写) - [挂牌]",
  31308. "type": "number"
  31309. },
  31310. "tradedate": {
  31311. "description": "交易日(yyyyMMdd)",
  31312. "type": "string"
  31313. },
  31314. "tradeprice": {
  31315. "description": "成交价格 - [摘牌] (浮动价 ((商品1价格*商品1价格系数+升贴水)* 商品1重量系数 + 商品2价格*商品2价格系数+商品2升贴水)* 商品2重量系数 ...)* 委托单价格系数 + 委托单升贴水)",
  31316. "type": "number"
  31317. },
  31318. "tradeqty": {
  31319. "description": "成交数量",
  31320. "type": "number"
  31321. },
  31322. "userid": {
  31323. "description": "用户ID",
  31324. "type": "integer"
  31325. },
  31326. "warehouseid": {
  31327. "description": "仓库ID",
  31328. "type": "integer"
  31329. },
  31330. "warehousename": {
  31331. "description": "仓库名称",
  31332. "type": "string"
  31333. },
  31334. "wrfactortypeid": {
  31335. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  31336. "type": "string"
  31337. },
  31338. "wrfactortypename": {
  31339. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  31340. "type": "string"
  31341. },
  31342. "wrpricetype": {
  31343. "description": "价格方式 - 1:固定价 2-浮动价 - [挂牌]",
  31344. "type": "integer"
  31345. },
  31346. "wrstandardcode": {
  31347. "description": "现货商品代码",
  31348. "type": "string"
  31349. },
  31350. "wrstandardid": {
  31351. "description": "现货商品ID",
  31352. "type": "integer"
  31353. },
  31354. "wrstandardname": {
  31355. "description": "商品名称",
  31356. "type": "string"
  31357. },
  31358. "wrtradeorderid": {
  31359. "description": "仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  31360. "type": "string"
  31361. },
  31362. "wrtradeorderstatus": {
  31363. "description": "委托状态 - 1:委托请求 2:待冻结 3:委托成功 4:委托失败 5:配对成功 6:已撤 7:已成 8:成交失败 9:委托拒绝 10:挂牌部分成交 11:仓单生成失败 12:首付扣款失败 13:履约失败 14:撤单解冻贷款失败 15:部成部撤",
  31364. "type": "integer"
  31365. },
  31366. "wrtradetype": {
  31367. "description": "仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)",
  31368. "type": "integer"
  31369. },
  31370. "wrtypename": {
  31371. "description": "商品",
  31372. "type": "string"
  31373. }
  31374. }
  31375. },
  31376. "models.WrOrderQuote": {
  31377. "type": "object",
  31378. "properties": {
  31379. "buyprice": {
  31380. "description": "买价",
  31381. "type": "number"
  31382. },
  31383. "buypricemove": {
  31384. "description": "买升贴水(基差)",
  31385. "type": "number"
  31386. },
  31387. "buyqty": {
  31388. "description": "买量",
  31389. "type": "number"
  31390. },
  31391. "deliverygoodscode": {
  31392. "description": "品种代码",
  31393. "type": "string"
  31394. },
  31395. "deliverygoodsid": {
  31396. "description": "品种id",
  31397. "type": "integer"
  31398. },
  31399. "deliverygoodsname": {
  31400. "description": "品种名称",
  31401. "type": "string"
  31402. },
  31403. "deliverymonth": {
  31404. "description": "交收月",
  31405. "type": "string"
  31406. },
  31407. "enumdicname": {
  31408. "description": "单位名称",
  31409. "type": "string"
  31410. },
  31411. "goodscode": {
  31412. "description": "商品合约(浮动价列表才有)",
  31413. "type": "string"
  31414. },
  31415. "goodsid": {
  31416. "description": "商品id(浮动价列表才有)",
  31417. "type": "integer"
  31418. },
  31419. "minivalue": {
  31420. "description": "现货商品最小变动值",
  31421. "type": "integer"
  31422. },
  31423. "sellprice": {
  31424. "description": "卖价",
  31425. "type": "number"
  31426. },
  31427. "sellpricemove": {
  31428. "description": "卖升贴水(基差)",
  31429. "type": "number"
  31430. },
  31431. "sellqty": {
  31432. "description": "卖量",
  31433. "type": "number"
  31434. },
  31435. "warehousecode": {
  31436. "description": "仓库代码",
  31437. "type": "string"
  31438. },
  31439. "warehouseid": {
  31440. "description": "仓库id",
  31441. "type": "integer"
  31442. },
  31443. "warehousename": {
  31444. "description": "仓库名称",
  31445. "type": "string"
  31446. },
  31447. "wrfactortypeid": {
  31448. "description": "仓单要素id",
  31449. "type": "string"
  31450. },
  31451. "wrfactortypename": {
  31452. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  31453. "type": "string"
  31454. },
  31455. "wrgoodsname": {
  31456. "description": "商品(商品名称+仓库要素名称 拼接)",
  31457. "type": "string"
  31458. },
  31459. "wrstandardcode": {
  31460. "description": "商品代码",
  31461. "type": "string"
  31462. },
  31463. "wrstandardid": {
  31464. "description": "商品id",
  31465. "type": "integer"
  31466. },
  31467. "wrstandardname": {
  31468. "description": "商品名称",
  31469. "type": "string"
  31470. }
  31471. }
  31472. },
  31473. "models.WrOrderQuoteDetail": {
  31474. "type": "object",
  31475. "properties": {
  31476. "buyorsell": {
  31477. "description": "买卖 - 0:买 1:卖",
  31478. "type": "integer"
  31479. },
  31480. "delistminqty": {
  31481. "description": "起摘数量",
  31482. "type": "number"
  31483. },
  31484. "deliverymonth": {
  31485. "description": "交收月",
  31486. "type": "string"
  31487. },
  31488. "enumdicname": {
  31489. "description": "单位名称",
  31490. "type": "string"
  31491. },
  31492. "fixedprice": {
  31493. "description": "买(卖)价",
  31494. "type": "number"
  31495. },
  31496. "minivalue": {
  31497. "description": "现货商品最小变动值",
  31498. "type": "integer"
  31499. },
  31500. "orderqty": {
  31501. "description": "买(卖)量(=委托量-成交量)",
  31502. "type": "number"
  31503. },
  31504. "ordertime": {
  31505. "description": "委托时间",
  31506. "type": "string"
  31507. },
  31508. "pricemove": {
  31509. "description": "买(卖)升贴水- 基差",
  31510. "type": "number"
  31511. },
  31512. "userid": {
  31513. "description": "购买方(销售方)用户ID",
  31514. "type": "integer"
  31515. },
  31516. "username": {
  31517. "description": "购买方(销售方)",
  31518. "type": "string"
  31519. },
  31520. "wrtradeorderid": {
  31521. "description": "仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  31522. "type": "string"
  31523. }
  31524. }
  31525. },
  31526. "models.WrOutInApply": {
  31527. "type": "object",
  31528. "properties": {
  31529. "applyid": {
  31530. "description": "申请单id",
  31531. "type": "string"
  31532. },
  31533. "applystatus": {
  31534. "description": "申请状态 - 0:预约成功 1:待初审 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  31535. "type": "integer"
  31536. },
  31537. "applytime": {
  31538. "description": "申请时间",
  31539. "type": "string"
  31540. },
  31541. "applytype": {
  31542. "description": "申请类型 - 1:预约入库 2:预约出库 3:入库注册 4:出库注销",
  31543. "type": "integer"
  31544. },
  31545. "deliverygoodscode": {
  31546. "description": "品种代码",
  31547. "type": "string"
  31548. },
  31549. "deliverygoodsid": {
  31550. "description": "品种ID",
  31551. "type": "integer"
  31552. },
  31553. "deliverygoodsname": {
  31554. "description": "品种名称",
  31555. "type": "string"
  31556. },
  31557. "enumdicname": {
  31558. "description": "单位名称",
  31559. "type": "string"
  31560. },
  31561. "expresscompany": {
  31562. "description": "物流公司",
  31563. "type": "string"
  31564. },
  31565. "expressnum": {
  31566. "description": "物流单号",
  31567. "type": "string"
  31568. },
  31569. "minivalue": {
  31570. "description": "现货商品最小变动值",
  31571. "type": "integer"
  31572. },
  31573. "optioncompare": {
  31574. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  31575. "type": "string"
  31576. },
  31577. "qty": {
  31578. "description": "数量",
  31579. "type": "integer"
  31580. },
  31581. "userid": {
  31582. "description": "用户id",
  31583. "type": "integer"
  31584. },
  31585. "warehouseid": {
  31586. "description": "仓库ID",
  31587. "type": "integer"
  31588. },
  31589. "warehousename": {
  31590. "description": "仓库名称",
  31591. "type": "string"
  31592. },
  31593. "wrfactortypeid": {
  31594. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  31595. "type": "string"
  31596. },
  31597. "wrfactortypename": {
  31598. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  31599. "type": "string"
  31600. },
  31601. "wrstandardcode": {
  31602. "description": "现货商品代码",
  31603. "type": "string"
  31604. },
  31605. "wrstandardid": {
  31606. "description": "现货商品ID",
  31607. "type": "integer"
  31608. },
  31609. "wrstandardname": {
  31610. "description": "商品名称",
  31611. "type": "string"
  31612. },
  31613. "wrtypename": {
  31614. "description": "商品",
  31615. "type": "string"
  31616. }
  31617. }
  31618. },
  31619. "models.WrPerformancePlan": {
  31620. "type": "object",
  31621. "required": [
  31622. "userid"
  31623. ],
  31624. "properties": {
  31625. "activatemonth": {
  31626. "description": "履约激活月 [无仓单的交易收月](yyyy-MM)",
  31627. "type": "string"
  31628. },
  31629. "amount": {
  31630. "description": "履约金额(总金额)",
  31631. "type": "number"
  31632. },
  31633. "buyaccountid": {
  31634. "description": "买方账号",
  31635. "type": "integer"
  31636. },
  31637. "buyerfreezeamount": {
  31638. "description": "履约冻结(买履约)",
  31639. "type": "number"
  31640. },
  31641. "buyerfreezeamountremain": {
  31642. "description": "履约冻结剩余(买履约)",
  31643. "type": "number"
  31644. },
  31645. "buyorsell": {
  31646. "description": "买卖方向 0-买 1-卖",
  31647. "type": "integer"
  31648. },
  31649. "buypaidamount": {
  31650. "description": "买方已冻/已扣金额 (已付金额)",
  31651. "type": "number"
  31652. },
  31653. "buyusername": {
  31654. "description": "买方名字",
  31655. "type": "string"
  31656. },
  31657. "contractid": {
  31658. "description": "合同ID",
  31659. "type": "integer"
  31660. },
  31661. "createtime": {
  31662. "description": "创建时间",
  31663. "type": "string"
  31664. },
  31665. "creatorid": {
  31666. "description": "创建人",
  31667. "type": "integer"
  31668. },
  31669. "curstepdeadline": {
  31670. "description": "当前步骤到期时间",
  31671. "type": "string"
  31672. },
  31673. "curstepid": {
  31674. "description": "当前步骤ID",
  31675. "type": "string"
  31676. },
  31677. "curstepname": {
  31678. "description": "当前步骤名称",
  31679. "type": "string"
  31680. },
  31681. "deliverygoodscode": {
  31682. "description": "品种代码",
  31683. "type": "string"
  31684. },
  31685. "deliverygoodsid": {
  31686. "description": "品种ID",
  31687. "type": "integer"
  31688. },
  31689. "deliverygoodsname": {
  31690. "description": "品种名称",
  31691. "type": "string"
  31692. },
  31693. "enumdicname": {
  31694. "description": "单位名称",
  31695. "type": "string"
  31696. },
  31697. "expressfee": {
  31698. "description": "运费",
  31699. "type": "number"
  31700. },
  31701. "expressfeeconfirmed": {
  31702. "description": "是否确认运费 - 0:无 1:买方确认 2:卖方确认",
  31703. "type": "integer"
  31704. },
  31705. "hasovershort": {
  31706. "description": "是否确认溢短 - 0:没有 1:买方确认 2:卖方确认",
  31707. "type": "integer"
  31708. },
  31709. "haswr": {
  31710. "description": "类型 0-仓单预售 1-仓单贸易",
  31711. "type": "integer"
  31712. },
  31713. "marketid": {
  31714. "description": "市场ID",
  31715. "type": "integer"
  31716. },
  31717. "middleaccountid": {
  31718. "description": "中间商资金账号ID",
  31719. "type": "integer"
  31720. },
  31721. "middleuserid": {
  31722. "description": "中间商用户ID",
  31723. "type": "integer"
  31724. },
  31725. "minivalue": {
  31726. "description": "现货商品最小变动值",
  31727. "type": "integer"
  31728. },
  31729. "optioncompare": {
  31730. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  31731. "type": "string"
  31732. },
  31733. "overshortamount": {
  31734. "description": "溢短金额",
  31735. "type": "number"
  31736. },
  31737. "overshortqty": {
  31738. "description": "溢短数量",
  31739. "type": "number"
  31740. },
  31741. "paymenttype": {
  31742. "description": "付款方式 - 1:冻结 2:扣款",
  31743. "type": "integer"
  31744. },
  31745. "performanceplanid": {
  31746. "description": "履约计划ID(130+yyMMddHHmmss+xxxx)",
  31747. "type": "string"
  31748. },
  31749. "performancestatus": {
  31750. "description": "履约状态 - 1:初始化 2:正常 3:处理错误 4:违约待处理 5:违约处理中 6:完成 7.违约已完成 8:释放冻结失败 9:超时待处理 10:超时关闭",
  31751. "type": "integer"
  31752. },
  31753. "performancetype": {
  31754. "description": "履约类型 - 0:通用 1:交割 2:仓单贸易 3:预售集采 4:竞拍-降价式 (无仓单) 5:挂牌期权 6:竞拍-降价式 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式 10:法币C2C 11:报价系统 12:挂牌系统",
  31755. "type": "integer"
  31756. },
  31757. "qty": {
  31758. "description": "履约数量",
  31759. "type": "number"
  31760. },
  31761. "relatedorderid": {
  31762. "description": "关联单号(履约类型的关联单号)",
  31763. "type": "string"
  31764. },
  31765. "remark": {
  31766. "description": "备注",
  31767. "type": "string"
  31768. },
  31769. "sellaccountid": {
  31770. "description": "卖方账号",
  31771. "type": "integer"
  31772. },
  31773. "sellerfreezeamount": {
  31774. "description": "履约冻结(卖履约)",
  31775. "type": "number"
  31776. },
  31777. "sellerfreezeamountremain": {
  31778. "description": "履约冻结剩余(卖履约)",
  31779. "type": "number"
  31780. },
  31781. "sellreceivedamount": {
  31782. "description": "卖方已收金额",
  31783. "type": "number"
  31784. },
  31785. "sellusername": {
  31786. "description": "卖方名字",
  31787. "type": "string"
  31788. },
  31789. "shipremark": {
  31790. "description": "发货备注[物流单号]",
  31791. "type": "string"
  31792. },
  31793. "starttime": {
  31794. "description": "开始时间",
  31795. "type": "string"
  31796. },
  31797. "steptypeid": {
  31798. "description": "履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“",
  31799. "type": "integer"
  31800. },
  31801. "unpaidamount": {
  31802. "description": "剩余款(待支付金额)",
  31803. "type": "number"
  31804. },
  31805. "userid": {
  31806. "description": "用户id",
  31807. "type": "integer"
  31808. },
  31809. "warehouseid": {
  31810. "description": "仓库ID",
  31811. "type": "integer"
  31812. },
  31813. "warehousename": {
  31814. "description": "仓库名称",
  31815. "type": "string"
  31816. },
  31817. "wrfactortypeid": {
  31818. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  31819. "type": "string"
  31820. },
  31821. "wrfactortypename": {
  31822. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  31823. "type": "string"
  31824. },
  31825. "wrstandardcode": {
  31826. "description": "现货商品代码",
  31827. "type": "string"
  31828. },
  31829. "wrstandardid": {
  31830. "description": "现货商品ID",
  31831. "type": "integer"
  31832. },
  31833. "wrstandardname": {
  31834. "description": "商品名称",
  31835. "type": "string"
  31836. },
  31837. "wrtransferuserid": {
  31838. "description": "仓单受让用户",
  31839. "type": "integer"
  31840. },
  31841. "wrtypename": {
  31842. "description": "商品",
  31843. "type": "string"
  31844. }
  31845. }
  31846. },
  31847. "models.WrPerformancePlanStep": {
  31848. "type": "object",
  31849. "properties": {
  31850. "delaydays": {
  31851. "description": "延期申请天数",
  31852. "type": "integer"
  31853. },
  31854. "deliverygoodscode": {
  31855. "description": "品种代码",
  31856. "type": "string"
  31857. },
  31858. "deliverygoodsid": {
  31859. "description": "品种ID",
  31860. "type": "integer"
  31861. },
  31862. "deliverygoodsname": {
  31863. "description": "品种名称",
  31864. "type": "string"
  31865. },
  31866. "endtime": {
  31867. "description": "结束日期",
  31868. "type": "string"
  31869. },
  31870. "enumdicname": {
  31871. "description": "单位名称",
  31872. "type": "string"
  31873. },
  31874. "executeside": {
  31875. "description": "步骤执行方 - 1:买方 2:卖方",
  31876. "type": "integer"
  31877. },
  31878. "handlestatus": {
  31879. "description": "处理状态 - 1:开始 2:结束 3:冻结请求 4:冻结返回成功 5:冻结返回失败 6:扣款请求 7:扣款返回成功 8:扣款返回失败 9:仓单转移请求 10:仓单转移返回成功 11:仓单转移返回失败 12:加钱请求 13:加钱返回成功 14:加钱返回失败 15:解冻仓单头寸请求 16:解冻仓单头寸返回成功 17:解冻仓单头寸返回失败 18:解冻库位请求 19:解冻库位返回成功 20:解冻库位返回失败",
  31880. "type": "integer"
  31881. },
  31882. "isauto": {
  31883. "description": "是否自动 - 0:不自动 1:自动",
  31884. "type": "integer"
  31885. },
  31886. "islastreceivestep": {
  31887. "description": "是否最后收款步骤 - 0:不是 1:是 (暂时不用,由服务自己判断是否为最后一步付款或收款)",
  31888. "type": "integer"
  31889. },
  31890. "minivalue": {
  31891. "description": "现货商品最小变动值",
  31892. "type": "integer"
  31893. },
  31894. "optioncompare": {
  31895. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  31896. "type": "string"
  31897. },
  31898. "overdays": {
  31899. "description": "超期天数 = 当前时间(数据库时间) - 结束日期",
  31900. "type": "integer"
  31901. },
  31902. "performancestepid": {
  31903. "description": "履约步骤ID(131+Unix秒时间戳(10位)+xxxxxx)",
  31904. "type": "string"
  31905. },
  31906. "planid": {
  31907. "description": "所属履约计划ID",
  31908. "type": "string"
  31909. },
  31910. "realamount": {
  31911. "description": "实际完成金额",
  31912. "type": "number"
  31913. },
  31914. "relatedorderid": {
  31915. "description": "关联单号",
  31916. "type": "string"
  31917. },
  31918. "remaindays": {
  31919. "description": "剩余天数",
  31920. "type": "integer"
  31921. },
  31922. "remark": {
  31923. "description": "错误备注",
  31924. "type": "string"
  31925. },
  31926. "starttime": {
  31927. "description": "开始日期",
  31928. "type": "string"
  31929. },
  31930. "stepamount": {
  31931. "description": "步骤金额",
  31932. "type": "number"
  31933. },
  31934. "stepdays": {
  31935. "description": "距离上一步天数(分钟)",
  31936. "type": "integer"
  31937. },
  31938. "stepindex": {
  31939. "description": "步骤序号",
  31940. "type": "integer"
  31941. },
  31942. "steplanchtype": {
  31943. "description": "步骤启动类型 - 1:系统自动 2:手动",
  31944. "type": "integer"
  31945. },
  31946. "stepremark": {
  31947. "description": "步骤备注",
  31948. "type": "string"
  31949. },
  31950. "stepstatus": {
  31951. "description": "步骤状态 - 1:待开始 2:进行中 3:已完成 4:延期(进行中) 5:失败 6:自动完成 7:超时关闭",
  31952. "type": "integer"
  31953. },
  31954. "steptypeid": {
  31955. "description": "履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“",
  31956. "type": "integer"
  31957. },
  31958. "steptypename": {
  31959. "description": "步骤名称",
  31960. "type": "string"
  31961. },
  31962. "stepvalue": {
  31963. "description": "步骤值",
  31964. "type": "number"
  31965. },
  31966. "warehouseid": {
  31967. "description": "仓库ID",
  31968. "type": "integer"
  31969. },
  31970. "warehousename": {
  31971. "description": "仓库名称",
  31972. "type": "string"
  31973. },
  31974. "wrfactortypeid": {
  31975. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  31976. "type": "string"
  31977. },
  31978. "wrfactortypename": {
  31979. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  31980. "type": "string"
  31981. },
  31982. "wrstandardcode": {
  31983. "description": "现货商品代码",
  31984. "type": "string"
  31985. },
  31986. "wrstandardid": {
  31987. "description": "现货商品ID",
  31988. "type": "integer"
  31989. },
  31990. "wrstandardname": {
  31991. "description": "商品名称",
  31992. "type": "string"
  31993. },
  31994. "wrtypename": {
  31995. "description": "商品",
  31996. "type": "string"
  31997. }
  31998. }
  31999. },
  32000. "models.WrPosition": {
  32001. "type": "object",
  32002. "properties": {
  32003. "accountid": {
  32004. "description": "帐户ID",
  32005. "type": "integer"
  32006. },
  32007. "buyexcuteqty": {
  32008. "description": "采购履约中数量",
  32009. "type": "number"
  32010. },
  32011. "creditcurqty": {
  32012. "description": "授信当前数量(预售仓单:预售当前量)",
  32013. "type": "number"
  32014. },
  32015. "creditenableqty": {
  32016. "description": "授信可用数量(预售仓单: 可用数量)",
  32017. "type": "number"
  32018. },
  32019. "creditfreezeqty": {
  32020. "description": "授信冻结数量(预售仓单: 当前数量)",
  32021. "type": "number"
  32022. },
  32023. "credittotalqty": {
  32024. "description": "授信总数量(预售仓单:预售总量)",
  32025. "type": "number"
  32026. },
  32027. "credittradeqty": {
  32028. "description": "授信成交数量(预售仓单:成交总量)",
  32029. "type": "number"
  32030. },
  32031. "deliverygoodscode": {
  32032. "description": "品种代码",
  32033. "type": "string"
  32034. },
  32035. "deliverygoodsid": {
  32036. "description": "品种ID",
  32037. "type": "integer"
  32038. },
  32039. "deliverygoodsname": {
  32040. "description": "品种名称",
  32041. "type": "string"
  32042. },
  32043. "enalbeqty": {
  32044. "description": "可用数量",
  32045. "type": "number"
  32046. },
  32047. "enumdicname": {
  32048. "description": "单位名称",
  32049. "type": "string"
  32050. },
  32051. "freezeqty": {
  32052. "description": "总冻结数量",
  32053. "type": "number"
  32054. },
  32055. "haswr": {
  32056. "description": "是否有仓单-卖方 - 0:无仓单 1:有仓单",
  32057. "type": "integer"
  32058. },
  32059. "minivalue": {
  32060. "description": "现货商品最小变动值",
  32061. "type": "integer"
  32062. },
  32063. "modifytime": {
  32064. "description": "修改时间(过户时间)",
  32065. "type": "string"
  32066. },
  32067. "optioncompare": {
  32068. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  32069. "type": "string"
  32070. },
  32071. "pledgeqty": {
  32072. "description": "质押数量",
  32073. "type": "number"
  32074. },
  32075. "querytype": {
  32076. "description": "查询类型 1-现货汇总 2-库存汇总(订单汇总)",
  32077. "type": "integer"
  32078. },
  32079. "sellexcuteqty": {
  32080. "description": "销售履约中数量",
  32081. "type": "number"
  32082. },
  32083. "totalqty": {
  32084. "description": "总数量(库存数量)",
  32085. "type": "number"
  32086. },
  32087. "warehouseid": {
  32088. "description": "仓库ID",
  32089. "type": "integer"
  32090. },
  32091. "warehousename": {
  32092. "description": "仓库名称",
  32093. "type": "string"
  32094. },
  32095. "wrfactortypeid": {
  32096. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  32097. "type": "string"
  32098. },
  32099. "wrfactortypename": {
  32100. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  32101. "type": "string"
  32102. },
  32103. "wrpositionid": {
  32104. "description": "仓单头寸ID(201+Unix秒时间戳(10位)+xxxxxx)",
  32105. "type": "string"
  32106. },
  32107. "wrpositionno": {
  32108. "description": "仓单编号",
  32109. "type": "string"
  32110. },
  32111. "wrstandardcode": {
  32112. "description": "现货商品代码",
  32113. "type": "string"
  32114. },
  32115. "wrstandardid": {
  32116. "description": "现货商品ID",
  32117. "type": "integer"
  32118. },
  32119. "wrstandardname": {
  32120. "description": "商品名称",
  32121. "type": "string"
  32122. },
  32123. "wrtypename": {
  32124. "description": "商品",
  32125. "type": "string"
  32126. },
  32127. "wruserid": {
  32128. "description": "持有人ID",
  32129. "type": "integer"
  32130. }
  32131. }
  32132. },
  32133. "models.WrQuoteOrderMyq": {
  32134. "type": "object",
  32135. "properties": {
  32136. "buyorsell": {
  32137. "description": "买卖 - 0:买 1:卖",
  32138. "type": "integer"
  32139. },
  32140. "canbargain": {
  32141. "description": "是否可议价 - 0:不可 1:可",
  32142. "type": "integer"
  32143. },
  32144. "canpart": {
  32145. "description": "是否允许部份摘牌 - 0:不允许 1:允许",
  32146. "type": "integer"
  32147. },
  32148. "delistminqty": {
  32149. "description": "起摘数量",
  32150. "type": "number"
  32151. },
  32152. "deliverymonth": {
  32153. "description": "交收月",
  32154. "type": "string"
  32155. },
  32156. "enumdicname": {
  32157. "description": "单位名称",
  32158. "type": "string"
  32159. },
  32160. "fixedprice": {
  32161. "description": "买(卖)价",
  32162. "type": "number"
  32163. },
  32164. "goodscode": {
  32165. "description": "商品合约代码",
  32166. "type": "string"
  32167. },
  32168. "marginflag": {
  32169. "description": "挂牌是否指定保证金 - 0:未指定 1:指定",
  32170. "type": "integer"
  32171. },
  32172. "marginvalue": {
  32173. "description": "保证金设置值",
  32174. "type": "number"
  32175. },
  32176. "minivalue": {
  32177. "description": "现货商品最小变动值",
  32178. "type": "integer"
  32179. },
  32180. "orderqty": {
  32181. "description": "买(卖)量(=委托量-成交量)",
  32182. "type": "number"
  32183. },
  32184. "ordertime": {
  32185. "description": "委托时间",
  32186. "type": "string"
  32187. },
  32188. "performancetemplateid": {
  32189. "description": "履约模板id",
  32190. "type": "integer"
  32191. },
  32192. "pricemove": {
  32193. "description": "买(卖)升贴水- 基差",
  32194. "type": "number"
  32195. },
  32196. "templatename": {
  32197. "description": "履约模板名称",
  32198. "type": "string"
  32199. },
  32200. "userid": {
  32201. "description": "购买方(销售方)用户ID",
  32202. "type": "integer"
  32203. },
  32204. "username": {
  32205. "description": "购买方(销售方)",
  32206. "type": "string"
  32207. },
  32208. "validtime": {
  32209. "description": "有效期限",
  32210. "type": "string"
  32211. },
  32212. "validtype": {
  32213. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效",
  32214. "type": "integer"
  32215. },
  32216. "warehousename": {
  32217. "description": "仓库名称",
  32218. "type": "string"
  32219. },
  32220. "wrtradeorderid": {
  32221. "description": "仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  32222. "type": "string"
  32223. },
  32224. "wrtypename": {
  32225. "description": "商品",
  32226. "type": "string"
  32227. }
  32228. }
  32229. },
  32230. "models.WrScfContract": {
  32231. "type": "object",
  32232. "properties": {
  32233. "borroweruserid": {
  32234. "description": "借款用户ID",
  32235. "type": "integer"
  32236. },
  32237. "buybackwrpositionqty": {
  32238. "description": "已回购仓单头寸数量 - [仓单回购\\仓单质押] -\u003e 已回购数量",
  32239. "type": "number"
  32240. },
  32241. "closeinterest": {
  32242. "description": "已结利息 -\u003e 已结费用",
  32243. "type": "number"
  32244. },
  32245. "currisklevel": {
  32246. "description": "风险级别 - 1:正常 2:追加货款 3:支付尾款",
  32247. "type": "integer"
  32248. },
  32249. "deadline": {
  32250. "description": "截止日期(yyyyMMdd) -\u003e 借款到期时间",
  32251. "type": "string"
  32252. },
  32253. "deliverygoodscode": {
  32254. "description": "品种代码",
  32255. "type": "string"
  32256. },
  32257. "deliverygoodsid": {
  32258. "description": "品种ID",
  32259. "type": "integer"
  32260. },
  32261. "deliverygoodsname": {
  32262. "description": "品种名称",
  32263. "type": "string"
  32264. },
  32265. "enumdicname": {
  32266. "description": "单位名称",
  32267. "type": "string"
  32268. },
  32269. "financingdays": {
  32270. "description": "天数(天)",
  32271. "type": "integer"
  32272. },
  32273. "initmargin": {
  32274. "description": "保证金 - [仓单回购]",
  32275. "type": "number"
  32276. },
  32277. "interestamount": {
  32278. "description": "计息金额=合同剩余金额 - 初始保证金 - 追缴保证金 \\ 合同剩余金额",
  32279. "type": "number"
  32280. },
  32281. "interestdebt": {
  32282. "description": "利息欠款(记录负数) -\u003e 费用欠款",
  32283. "type": "number"
  32284. },
  32285. "interestminlen": {
  32286. "description": "最小起息天数",
  32287. "type": "integer"
  32288. },
  32289. "interestrate": {
  32290. "description": "利率",
  32291. "type": "number"
  32292. },
  32293. "interestratemode": {
  32294. "description": "利率方式 - 1:年利率 2:日利率 3:日固定值",
  32295. "type": "integer"
  32296. },
  32297. "interestsettlemode": {
  32298. "description": "结息方式 - 1:按日结息 3:按月结息",
  32299. "type": "integer"
  32300. },
  32301. "interestsettlevalue": {
  32302. "description": "结息方式值",
  32303. "type": "integer"
  32304. },
  32305. "isautoloan": {
  32306. "description": "是否自动放款 - 0:手动 1:自动 - [仓单质押]",
  32307. "type": "integer"
  32308. },
  32309. "lastcloseinterestday": {
  32310. "description": "最近结息日(yyyyMMdd)",
  32311. "type": "string"
  32312. },
  32313. "lenderamount": {
  32314. "description": "贷款金额 -\u003e 借款金额",
  32315. "type": "number"
  32316. },
  32317. "lenderuserid": {
  32318. "description": "贷款方用户ID -\u003e 融出方用户ID",
  32319. "type": "integer"
  32320. },
  32321. "lenderusername": {
  32322. "description": "融出方",
  32323. "type": "string"
  32324. },
  32325. "marginratio": {
  32326. "description": "保证金比率质押率 - [仓单质押]",
  32327. "type": "number"
  32328. },
  32329. "marketid": {
  32330. "description": "市场ID - 拆成三个独立模式后,根据市场ID处理",
  32331. "type": "integer"
  32332. },
  32333. "minivalue": {
  32334. "description": "现货商品最小变动值",
  32335. "type": "integer"
  32336. },
  32337. "optioncompare": {
  32338. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  32339. "type": "string"
  32340. },
  32341. "pricemove": {
  32342. "description": "估值升贴水值",
  32343. "type": "number"
  32344. },
  32345. "productdetailid": {
  32346. "description": "产品组合ID",
  32347. "type": "integer"
  32348. },
  32349. "productid": {
  32350. "description": "金融产品ID",
  32351. "type": "integer"
  32352. },
  32353. "productname": {
  32354. "description": "产品名称",
  32355. "type": "string"
  32356. },
  32357. "remainamount": {
  32358. "description": "合同剩余金额 -\u003e 剩余金额",
  32359. "type": "number"
  32360. },
  32361. "remainwrpositionqty": {
  32362. "description": "剩余仓单头寸数量 - [仓单回购\\仓单质押] -\u003e 剩余数量(待回购数量)",
  32363. "type": "number"
  32364. },
  32365. "remark": {
  32366. "description": "备注",
  32367. "type": "string"
  32368. },
  32369. "scfcontractid": {
  32370. "description": "SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)",
  32371. "type": "string"
  32372. },
  32373. "scfcontractstatus": {
  32374. "description": "合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束 9:违约结束 10:已注销 11:已关闭 99:未提交",
  32375. "type": "integer"
  32376. },
  32377. "scfcontracttype": {
  32378. "description": "合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单 6:融资回购",
  32379. "type": "integer"
  32380. },
  32381. "startinterestday": {
  32382. "description": "计息开始日(yyyyMMdd) -\u003e 开始计费日期",
  32383. "type": "string"
  32384. },
  32385. "totalinterest": {
  32386. "description": "已计利息 -\u003e 已计费用",
  32387. "type": "number"
  32388. },
  32389. "unpaidinterest": {
  32390. "description": "未结费用",
  32391. "type": "number"
  32392. },
  32393. "updatetime": {
  32394. "description": "更新时间",
  32395. "type": "string"
  32396. },
  32397. "warehouseid": {
  32398. "description": "仓库ID",
  32399. "type": "integer"
  32400. },
  32401. "warehousename": {
  32402. "description": "仓库名称",
  32403. "type": "string"
  32404. },
  32405. "wrfactortypeid": {
  32406. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  32407. "type": "string"
  32408. },
  32409. "wrfactortypename": {
  32410. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  32411. "type": "string"
  32412. },
  32413. "wrqty": {
  32414. "description": "仓单数量 - [仓单回购\\仓单质押] -\u003e 数量",
  32415. "type": "number"
  32416. },
  32417. "wrstandardcode": {
  32418. "description": "现货商品代码",
  32419. "type": "string"
  32420. },
  32421. "wrstandardid": {
  32422. "description": "现货商品ID",
  32423. "type": "integer"
  32424. },
  32425. "wrstandardname": {
  32426. "description": "商品名称",
  32427. "type": "string"
  32428. },
  32429. "wrtypename": {
  32430. "description": "商品",
  32431. "type": "string"
  32432. }
  32433. }
  32434. },
  32435. "models.WrScfContractInterest": {
  32436. "type": "object",
  32437. "properties": {
  32438. "closeinterest": {
  32439. "description": "已结利息",
  32440. "type": "number"
  32441. },
  32442. "closeintereststatus": {
  32443. "description": "结息状态 - 1:未结 2:已结",
  32444. "type": "integer"
  32445. },
  32446. "closetime": {
  32447. "description": "结息时间",
  32448. "type": "string"
  32449. },
  32450. "closetradedate": {
  32451. "description": "结息交易日",
  32452. "type": "string"
  32453. },
  32454. "creatorid": {
  32455. "description": "操作人ID",
  32456. "type": "integer"
  32457. },
  32458. "dayrate": {
  32459. "description": "日利率(根据利率配置计算出的日利率值,年利率则除以360,保留5位小数)",
  32460. "type": "number"
  32461. },
  32462. "interest": {
  32463. "description": "利息",
  32464. "type": "number"
  32465. },
  32466. "interestamount": {
  32467. "description": "计息金额",
  32468. "type": "number"
  32469. },
  32470. "interestday": {
  32471. "description": "计息日(yyyyMMdd)",
  32472. "type": "string"
  32473. },
  32474. "scfcontractid": {
  32475. "description": "SCF合同ID",
  32476. "type": "string"
  32477. },
  32478. "scfcontractinterestid": {
  32479. "description": "SCF合同计息ID(313+Unix秒时间戳(10位)+xxxxxx)",
  32480. "type": "integer"
  32481. },
  32482. "updatetime": {
  32483. "description": "更新时间",
  32484. "type": "string"
  32485. }
  32486. }
  32487. },
  32488. "models.WrSpecialMatchOrder": {
  32489. "type": "object",
  32490. "properties": {
  32491. "amount": {
  32492. "description": "金额 = 数量 * 价格",
  32493. "type": "number"
  32494. },
  32495. "buyorsell": {
  32496. "description": "买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)",
  32497. "type": "integer"
  32498. },
  32499. "cancelqty": {
  32500. "description": "撤销数量",
  32501. "type": "number"
  32502. },
  32503. "deliverygoodscode": {
  32504. "description": "品种代码",
  32505. "type": "string"
  32506. },
  32507. "deliverygoodsid": {
  32508. "description": "品种ID",
  32509. "type": "integer"
  32510. },
  32511. "deliverygoodsname": {
  32512. "description": "品种名称",
  32513. "type": "string"
  32514. },
  32515. "enumdicname": {
  32516. "description": "单位名称",
  32517. "type": "string"
  32518. },
  32519. "fixedprice": {
  32520. "description": "固定价格(价格)",
  32521. "type": "number"
  32522. },
  32523. "haswr": {
  32524. "description": "是否有仓单-卖方 - 0:无仓单 1:有仓单",
  32525. "type": "integer"
  32526. },
  32527. "marketid": {
  32528. "description": "市场ID",
  32529. "type": "integer"
  32530. },
  32531. "matchuserid": {
  32532. "description": "指定方资金账号(字段名为userid,实际存的是accountid by:邓工)",
  32533. "type": "integer"
  32534. },
  32535. "matchusername": {
  32536. "description": "指定方",
  32537. "type": "string"
  32538. },
  32539. "minivalue": {
  32540. "description": "现货商品最小变动值",
  32541. "type": "integer"
  32542. },
  32543. "optioncompare": {
  32544. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  32545. "type": "string"
  32546. },
  32547. "orderqty": {
  32548. "description": "委托数量",
  32549. "type": "number"
  32550. },
  32551. "ordertime": {
  32552. "description": "委托时间",
  32553. "type": "string"
  32554. },
  32555. "pricemove": {
  32556. "description": "升贴水(浮动价时填写) - [挂牌]",
  32557. "type": "number"
  32558. },
  32559. "tradedate": {
  32560. "description": "交易日(yyyyMMdd)",
  32561. "type": "string"
  32562. },
  32563. "tradeprice": {
  32564. "description": "成交价格",
  32565. "type": "number"
  32566. },
  32567. "tradeqty": {
  32568. "description": "成交数量",
  32569. "type": "number"
  32570. },
  32571. "userid": {
  32572. "description": "用户ID",
  32573. "type": "integer"
  32574. },
  32575. "username": {
  32576. "description": "发起方",
  32577. "type": "string"
  32578. },
  32579. "warehouseid": {
  32580. "description": "仓库ID",
  32581. "type": "integer"
  32582. },
  32583. "warehousename": {
  32584. "description": "仓库名称",
  32585. "type": "string"
  32586. },
  32587. "wrfactortypeid": {
  32588. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  32589. "type": "string"
  32590. },
  32591. "wrfactortypename": {
  32592. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  32593. "type": "string"
  32594. },
  32595. "wrpricetype": {
  32596. "description": "价格方式 - 1:固定价 2-浮动价 - [挂牌]",
  32597. "type": "integer"
  32598. },
  32599. "wrstandardcode": {
  32600. "description": "现货商品代码",
  32601. "type": "string"
  32602. },
  32603. "wrstandardid": {
  32604. "description": "现货商品ID",
  32605. "type": "integer"
  32606. },
  32607. "wrstandardname": {
  32608. "description": "商品名称",
  32609. "type": "string"
  32610. },
  32611. "wrtradeorderid": {
  32612. "description": "仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  32613. "type": "string"
  32614. },
  32615. "wrtradeorderstatus": {
  32616. "description": "委托状态 - 1:委托请求 2:待冻结 3:委托成功 4:委托失败 5:配对成功 6:已撤 7:已成 8:成交失败 9:委托拒绝 10:挂牌部分成交 11:仓单生成失败 12:首付扣款失败 13:履约失败 14:撤单解冻贷款失败 15:部成部撤",
  32617. "type": "integer"
  32618. },
  32619. "wrtradetype": {
  32620. "description": "仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)",
  32621. "type": "integer"
  32622. },
  32623. "wrtypename": {
  32624. "description": "商品",
  32625. "type": "string"
  32626. }
  32627. }
  32628. },
  32629. "models.WrStandardFactoryItem": {
  32630. "type": "object",
  32631. "properties": {
  32632. "dgfactoryitemid": {
  32633. "description": "选择项id",
  32634. "type": "integer"
  32635. },
  32636. "dgfactoryitemvalue": {
  32637. "description": "要素项值",
  32638. "type": "string"
  32639. },
  32640. "warehouseid": {
  32641. "description": "仓库id",
  32642. "type": "integer"
  32643. }
  32644. }
  32645. },
  32646. "models.WrStandardFactoryItemEx": {
  32647. "type": "object",
  32648. "properties": {
  32649. "dgfactoryitemtypeid": {
  32650. "description": "要素项类型id(1-999:预留为特殊类型 1:仓库 2:品牌)",
  32651. "type": "integer"
  32652. },
  32653. "itemlst": {
  32654. "description": "要素项列表",
  32655. "type": "array",
  32656. "items": {
  32657. "$ref": "#/definitions/models.WrStandardFactoryItem"
  32658. }
  32659. },
  32660. "itemtypename": {
  32661. "description": "要素项类型名称",
  32662. "type": "string"
  32663. },
  32664. "wrstandardid": {
  32665. "description": "品类",
  32666. "type": "integer"
  32667. }
  32668. }
  32669. },
  32670. "models.WrTradeDetail": {
  32671. "type": "object",
  32672. "properties": {
  32673. "accountid": {
  32674. "description": "资金账号",
  32675. "type": "integer"
  32676. },
  32677. "buyorsell": {
  32678. "description": "买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)",
  32679. "type": "integer"
  32680. },
  32681. "deliverygoodscode": {
  32682. "description": "品种代码",
  32683. "type": "string"
  32684. },
  32685. "deliverygoodsid": {
  32686. "description": "品种ID",
  32687. "type": "integer"
  32688. },
  32689. "deliverygoodsname": {
  32690. "description": "品种名称",
  32691. "type": "string"
  32692. },
  32693. "deliverymonth": {
  32694. "description": "交收月",
  32695. "type": "string"
  32696. },
  32697. "enumdicname": {
  32698. "description": "单位名称",
  32699. "type": "string"
  32700. },
  32701. "haswr": {
  32702. "description": "是否有仓单-卖方 - 0:无仓单 1:有仓单",
  32703. "type": "integer"
  32704. },
  32705. "marketid": {
  32706. "description": "市场ID",
  32707. "type": "integer"
  32708. },
  32709. "matchaccountid": {
  32710. "description": "对手账号",
  32711. "type": "integer"
  32712. },
  32713. "matchusername": {
  32714. "description": "对手方",
  32715. "type": "string"
  32716. },
  32717. "minivalue": {
  32718. "description": "现货商品最小变动值",
  32719. "type": "integer"
  32720. },
  32721. "optioncompare": {
  32722. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  32723. "type": "string"
  32724. },
  32725. "tradedate": {
  32726. "description": "交易日(yyyyMMdd)",
  32727. "type": "string"
  32728. },
  32729. "tradeprice": {
  32730. "description": "成交价格",
  32731. "type": "number"
  32732. },
  32733. "tradeqty": {
  32734. "description": "成交数量",
  32735. "type": "number"
  32736. },
  32737. "tradetime": {
  32738. "description": "成交时间",
  32739. "type": "string"
  32740. },
  32741. "userid": {
  32742. "description": "用户ID",
  32743. "type": "integer"
  32744. },
  32745. "warehouseid": {
  32746. "description": "仓库ID",
  32747. "type": "integer"
  32748. },
  32749. "warehousename": {
  32750. "description": "仓库名称",
  32751. "type": "string"
  32752. },
  32753. "wrfactortypeid": {
  32754. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  32755. "type": "string"
  32756. },
  32757. "wrfactortypename": {
  32758. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  32759. "type": "string"
  32760. },
  32761. "wrstandardcode": {
  32762. "description": "现货商品代码",
  32763. "type": "string"
  32764. },
  32765. "wrstandardid": {
  32766. "description": "现货商品ID",
  32767. "type": "integer"
  32768. },
  32769. "wrstandardname": {
  32770. "description": "商品名称",
  32771. "type": "string"
  32772. },
  32773. "wrtradedetailid": {
  32774. "description": "仓单贸易成交单ID(321+Unix秒时间戳(10位)+xxxxxx)",
  32775. "type": "string"
  32776. },
  32777. "wrtradetype": {
  32778. "description": "仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)",
  32779. "type": "integer"
  32780. },
  32781. "wrtypename": {
  32782. "description": "商品",
  32783. "type": "string"
  32784. }
  32785. }
  32786. },
  32787. "models.WrTradeOrderDetail": {
  32788. "type": "object",
  32789. "properties": {
  32790. "buyorsell": {
  32791. "description": "买卖方向 0-买 1-卖",
  32792. "type": "integer"
  32793. },
  32794. "goodsid": {
  32795. "description": "商品id",
  32796. "type": "integer"
  32797. },
  32798. "orderid": {
  32799. "description": "委托单号",
  32800. "type": "string"
  32801. },
  32802. "orderprice": {
  32803. "description": "委托价格",
  32804. "type": "number"
  32805. },
  32806. "orderqty": {
  32807. "description": "委托数量",
  32808. "type": "integer"
  32809. },
  32810. "userid": {
  32811. "description": "用户id",
  32812. "type": "integer"
  32813. },
  32814. "username": {
  32815. "description": "用户名称(已脱敏)",
  32816. "type": "string"
  32817. }
  32818. }
  32819. },
  32820. "models.WrTypeItem": {
  32821. "type": "object",
  32822. "properties": {
  32823. "name": {
  32824. "description": "名称",
  32825. "type": "string"
  32826. },
  32827. "value": {
  32828. "description": "值",
  32829. "type": "string"
  32830. }
  32831. }
  32832. },
  32833. "order.QueryHisTradeDetailRsp": {
  32834. "type": "object",
  32835. "required": [
  32836. "accountid",
  32837. "buyorsell",
  32838. "goodsid",
  32839. "histradedate",
  32840. "marketid",
  32841. "memberuserid",
  32842. "orderid",
  32843. "tradeamount",
  32844. "tradedate",
  32845. "tradeid",
  32846. "tradeprice",
  32847. "tradeqty",
  32848. "tradetime"
  32849. ],
  32850. "properties": {
  32851. "accountid": {
  32852. "description": "账户ID[报价币种]",
  32853. "type": "integer"
  32854. },
  32855. "advanceratio": {
  32856. "description": "首付比率",
  32857. "type": "number"
  32858. },
  32859. "buildtype": {
  32860. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  32861. "type": "integer"
  32862. },
  32863. "buyorsell": {
  32864. "description": "方向 - 0:买 1:卖",
  32865. "type": "integer"
  32866. },
  32867. "charge": {
  32868. "description": "手续费",
  32869. "type": "number"
  32870. },
  32871. "closecharge": {
  32872. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  32873. "type": "number"
  32874. },
  32875. "closeexchagechargevalue": {
  32876. "description": "平仓交易所手续费设置值",
  32877. "type": "number"
  32878. },
  32879. "closefeealgorithm": {
  32880. "description": "平仓手续费收取方式 1:比率 2:固定",
  32881. "type": "integer"
  32882. },
  32883. "closememberchargevalue": {
  32884. "description": "平仓会员手续费设置值",
  32885. "type": "number"
  32886. },
  32887. "closepl": {
  32888. "description": "平仓盈亏",
  32889. "type": "number"
  32890. },
  32891. "closepl2": {
  32892. "description": "平仓盈亏[逐笔]",
  32893. "type": "number"
  32894. },
  32895. "closeqty": {
  32896. "description": "平仓数量(先建后平操作 需要记录)",
  32897. "type": "number"
  32898. },
  32899. "creditamount": {
  32900. "description": "授信金额",
  32901. "type": "number"
  32902. },
  32903. "decimalplace": {
  32904. "description": "商品报价小数位",
  32905. "type": "integer"
  32906. },
  32907. "enumdicname": {
  32908. "description": "单位名称",
  32909. "type": "string"
  32910. },
  32911. "gcaccountid": {
  32912. "description": "账户ID[合约币种]",
  32913. "type": "integer"
  32914. },
  32915. "goodscode": {
  32916. "description": "商品代码",
  32917. "type": "string"
  32918. },
  32919. "goodsid": {
  32920. "description": "商品ID",
  32921. "type": "integer"
  32922. },
  32923. "goodsname": {
  32924. "description": "商品名称",
  32925. "type": "string"
  32926. },
  32927. "goodunitid": {
  32928. "description": "商品单位id",
  32929. "type": "integer"
  32930. },
  32931. "histradedate": {
  32932. "description": "历史交易日",
  32933. "type": "string"
  32934. },
  32935. "intclosepl": {
  32936. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  32937. "type": "integer"
  32938. },
  32939. "isconfirmexercise": {
  32940. "description": "是否确认行权- 0:否 1:是",
  32941. "type": "integer"
  32942. },
  32943. "ismain": {
  32944. "description": "是否主单 - 0:不是 1:是",
  32945. "type": "integer"
  32946. },
  32947. "ispreexercise": {
  32948. "description": "是否预申报- 0:否 1:是",
  32949. "type": "integer"
  32950. },
  32951. "isreckoned": {
  32952. "description": "是否结算 - 0:未结算 1:已结算",
  32953. "type": "integer"
  32954. },
  32955. "isvaliddata": {
  32956. "description": "是否有效 - 0:无效 1:有效",
  32957. "type": "integer"
  32958. },
  32959. "listingselecttype": {
  32960. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  32961. "type": "integer"
  32962. },
  32963. "marketid": {
  32964. "description": "市场ID",
  32965. "type": "integer"
  32966. },
  32967. "marketname": {
  32968. "description": "市场名称",
  32969. "type": "string"
  32970. },
  32971. "matchaccountid": {
  32972. "description": "对手账号id",
  32973. "type": "integer"
  32974. },
  32975. "memberuserid": {
  32976. "description": "会员id 个人投资者 需要填写",
  32977. "type": "integer"
  32978. },
  32979. "opencharge": {
  32980. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  32981. "type": "number"
  32982. },
  32983. "openexchagechargevalue": {
  32984. "description": "建仓交易所手续费设置值",
  32985. "type": "number"
  32986. },
  32987. "openfeealgorithm": {
  32988. "description": "建仓手续费收取方式 1:比率 2:固定",
  32989. "type": "integer"
  32990. },
  32991. "openmemberchargevalue": {
  32992. "description": "建仓会员手续费设置值",
  32993. "type": "number"
  32994. },
  32995. "openqty": {
  32996. "description": "开仓数量(先建后平操作 需要记录)",
  32997. "type": "number"
  32998. },
  32999. "optiontype": {
  33000. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  33001. "type": "integer"
  33002. },
  33003. "orderid": {
  33004. "description": "委托单号",
  33005. "type": "string"
  33006. },
  33007. "payamount": {
  33008. "description": "支付金额(付款金额)",
  33009. "type": "number"
  33010. },
  33011. "performanceplanid": {
  33012. "description": "履约计划ID[期权]",
  33013. "type": "integer"
  33014. },
  33015. "performancestatus": {
  33016. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  33017. "type": "integer"
  33018. },
  33019. "preexerciseprice": {
  33020. "description": "预申报价格",
  33021. "type": "number"
  33022. },
  33023. "premium": {
  33024. "description": "权利金 - [持仓单的权利金]",
  33025. "type": "number"
  33026. },
  33027. "qtydecimalplace": {
  33028. "description": "商品报价小数位",
  33029. "type": "integer"
  33030. },
  33031. "recvamount": {
  33032. "description": "到账金额 = 成交金额 - 手续费",
  33033. "type": "number"
  33034. },
  33035. "relatedouttradeid": {
  33036. "description": "关联外部成交单ID",
  33037. "type": "integer"
  33038. },
  33039. "status": {
  33040. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  33041. "type": "integer"
  33042. },
  33043. "totalamount": {
  33044. "description": "订单总额 = 成交金额 + 手续费",
  33045. "type": "number"
  33046. },
  33047. "tradeamount": {
  33048. "description": "成交金额[账户币种,用于所有权]",
  33049. "type": "number"
  33050. },
  33051. "tradedate": {
  33052. "description": "交易日(yyyyMMdd)",
  33053. "type": "string"
  33054. },
  33055. "tradeid": {
  33056. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  33057. "type": "string"
  33058. },
  33059. "trademode": {
  33060. "description": "交易模式",
  33061. "type": "integer"
  33062. },
  33063. "tradeprice": {
  33064. "description": "成交价格",
  33065. "type": "number"
  33066. },
  33067. "tradeproperty": {
  33068. "description": "交易属性",
  33069. "type": "integer"
  33070. },
  33071. "tradeqty": {
  33072. "description": "成交数量",
  33073. "type": "number"
  33074. },
  33075. "tradetime": {
  33076. "description": "成交时间",
  33077. "type": "string"
  33078. },
  33079. "tradetype": {
  33080. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  33081. "type": "integer"
  33082. }
  33083. }
  33084. },
  33085. "order.QueryHisTradeOrderDetailRsp": {
  33086. "type": "object",
  33087. "required": [
  33088. "accountid",
  33089. "buildtype",
  33090. "buyorsell",
  33091. "goodsid",
  33092. "histradedate",
  33093. "marketid",
  33094. "memberuserid",
  33095. "operatetype",
  33096. "orderid",
  33097. "orderqty",
  33098. "ordertime",
  33099. "pricemode",
  33100. "tradedate",
  33101. "validtype"
  33102. ],
  33103. "properties": {
  33104. "accountid": {
  33105. "description": "账户ID[报价币种]",
  33106. "type": "integer"
  33107. },
  33108. "buildtype": {
  33109. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  33110. "type": "integer"
  33111. },
  33112. "buyorsell": {
  33113. "description": "买卖 - 0:买 1:卖",
  33114. "type": "integer"
  33115. },
  33116. "cancelorderid": {
  33117. "description": "撤单单号(撤单时填写)",
  33118. "type": "string"
  33119. },
  33120. "cancelqty": {
  33121. "description": "撤单数量",
  33122. "type": "number"
  33123. },
  33124. "clientordertime": {
  33125. "description": "客户端委托时间",
  33126. "type": "string"
  33127. },
  33128. "clientticket": {
  33129. "description": "客户端流水号",
  33130. "type": "string"
  33131. },
  33132. "clienttype": {
  33133. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  33134. "type": "integer"
  33135. },
  33136. "closeexchagechargevalue": {
  33137. "description": "平仓交易所手续费设置值",
  33138. "type": "number"
  33139. },
  33140. "closefeealgorithm": {
  33141. "description": "平仓手续费收取方式 1:比率 2:固定",
  33142. "type": "integer"
  33143. },
  33144. "closefreezecharge": {
  33145. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  33146. "type": "number"
  33147. },
  33148. "closememberchargevalue": {
  33149. "description": "平仓会员手续费设置值",
  33150. "type": "number"
  33151. },
  33152. "closeqty": {
  33153. "description": "平仓数量(先建后平操作 需要记录)",
  33154. "type": "number"
  33155. },
  33156. "closetradeqty": {
  33157. "description": "平仓成交数量(先建后平操作,需要记录)",
  33158. "type": "number"
  33159. },
  33160. "closeunfreezecharge": {
  33161. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  33162. "type": "number"
  33163. },
  33164. "decimalplace": {
  33165. "description": "商品报价小数位",
  33166. "type": "integer"
  33167. },
  33168. "delistingtype": {
  33169. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  33170. "type": "integer"
  33171. },
  33172. "enumdicname": {
  33173. "description": "单位名称",
  33174. "type": "string"
  33175. },
  33176. "freezecharge": {
  33177. "description": "冻结手续费",
  33178. "type": "number"
  33179. },
  33180. "freezemargin": {
  33181. "description": "冻结保证金(冻结交易金额)",
  33182. "type": "number"
  33183. },
  33184. "gcaccountid": {
  33185. "description": "账户ID[合约币种]",
  33186. "type": "integer"
  33187. },
  33188. "goodscode": {
  33189. "description": "商品代码",
  33190. "type": "string"
  33191. },
  33192. "goodsid": {
  33193. "description": "商品ID",
  33194. "type": "integer"
  33195. },
  33196. "goodsname": {
  33197. "description": "商品名称",
  33198. "type": "string"
  33199. },
  33200. "goodunitid": {
  33201. "description": "商品单位id",
  33202. "type": "integer"
  33203. },
  33204. "histradedate": {
  33205. "description": "历史交易日",
  33206. "type": "string"
  33207. },
  33208. "isconfirmexercise": {
  33209. "description": "是否确认行权- 0:否 1:是",
  33210. "type": "integer"
  33211. },
  33212. "ispreexercise": {
  33213. "description": "是否预申报- 0:否 1:是",
  33214. "type": "integer"
  33215. },
  33216. "isvaliddata": {
  33217. "description": "是否有效 - 0:无效 1:有效",
  33218. "type": "integer"
  33219. },
  33220. "listingselecttype": {
  33221. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  33222. "type": "integer"
  33223. },
  33224. "marginalgorithm": {
  33225. "description": "保证金收取方式 1:比率 2:固定",
  33226. "type": "integer"
  33227. },
  33228. "marginvalue": {
  33229. "description": "即市保证金设置值",
  33230. "type": "number"
  33231. },
  33232. "marketid": {
  33233. "description": "市场ID",
  33234. "type": "integer"
  33235. },
  33236. "marketmaxsub": {
  33237. "description": "市价最大偏移范围",
  33238. "type": "number"
  33239. },
  33240. "marketname": {
  33241. "description": "市场名称",
  33242. "type": "string"
  33243. },
  33244. "memberuserid": {
  33245. "description": "所属会员UserID",
  33246. "type": "integer"
  33247. },
  33248. "openexchagechargevalue": {
  33249. "description": "建仓交易所手续费设置值",
  33250. "type": "number"
  33251. },
  33252. "openfeealgorithm": {
  33253. "description": "建仓手续费收取方式 1:比率 2:固定",
  33254. "type": "integer"
  33255. },
  33256. "openfreezecharge": {
  33257. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  33258. "type": "number"
  33259. },
  33260. "openmemberchargevalue": {
  33261. "description": "建仓会员手续费设置值",
  33262. "type": "number"
  33263. },
  33264. "openqty": {
  33265. "description": "开仓数量(先建后平操作,需要记录)",
  33266. "type": "number"
  33267. },
  33268. "opentradeqty": {
  33269. "description": "开仓成交数量(先建后平操作,需要记录)",
  33270. "type": "number"
  33271. },
  33272. "openunfreezecharge": {
  33273. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  33274. "type": "number"
  33275. },
  33276. "operatetype": {
  33277. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  33278. "type": "integer"
  33279. },
  33280. "operatorid": {
  33281. "description": "登录账号(LoginID)",
  33282. "type": "integer"
  33283. },
  33284. "optiontype": {
  33285. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  33286. "type": "integer"
  33287. },
  33288. "orderid": {
  33289. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  33290. "type": "string"
  33291. },
  33292. "orderprice": {
  33293. "description": "委托价格",
  33294. "type": "number"
  33295. },
  33296. "orderqty": {
  33297. "description": "委托数量",
  33298. "type": "number"
  33299. },
  33300. "ordersrc": {
  33301. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  33302. "type": "integer"
  33303. },
  33304. "orderstatus": {
  33305. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  33306. "type": "integer"
  33307. },
  33308. "ordertime": {
  33309. "description": "委托时间",
  33310. "type": "string"
  33311. },
  33312. "preexerciseprice": {
  33313. "description": "预申报价格",
  33314. "type": "number"
  33315. },
  33316. "premium": {
  33317. "description": "权利金",
  33318. "type": "number"
  33319. },
  33320. "preorderid": {
  33321. "description": "关联预埋单号(止盈止损单时填写)",
  33322. "type": "string"
  33323. },
  33324. "pricemode": {
  33325. "description": "取价方式 - 1:市价 2: 限价",
  33326. "type": "integer"
  33327. },
  33328. "qtydecimalplace": {
  33329. "description": "成交量小数位",
  33330. "type": "integer"
  33331. },
  33332. "quoteid": {
  33333. "description": "报价单ID",
  33334. "type": "integer"
  33335. },
  33336. "relatedid": {
  33337. "description": "关联单号(交割单)",
  33338. "type": "string"
  33339. },
  33340. "retcode": {
  33341. "description": "错误代码",
  33342. "type": "integer"
  33343. },
  33344. "sessionid": {
  33345. "description": "会话ID",
  33346. "type": "integer"
  33347. },
  33348. "tradedate": {
  33349. "description": "交易日(yyyyMMdd)",
  33350. "type": "string"
  33351. },
  33352. "trademode": {
  33353. "description": "交易模式",
  33354. "type": "integer"
  33355. },
  33356. "tradeproperty": {
  33357. "description": "交易属性",
  33358. "type": "integer"
  33359. },
  33360. "tradeqty": {
  33361. "description": "成交数量",
  33362. "type": "number"
  33363. },
  33364. "unfreezecharge": {
  33365. "description": "解冻手续费",
  33366. "type": "number"
  33367. },
  33368. "unfreezemargin": {
  33369. "description": "解冻保证金",
  33370. "type": "number"
  33371. },
  33372. "updatetime": {
  33373. "description": "更新时间",
  33374. "type": "string"
  33375. },
  33376. "uuid": {
  33377. "description": "发起端唯一id",
  33378. "type": "string"
  33379. },
  33380. "validtime": {
  33381. "description": "有效期限",
  33382. "type": "string"
  33383. },
  33384. "validtype": {
  33385. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  33386. "type": "integer"
  33387. },
  33388. "volumetype": {
  33389. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  33390. "type": "integer"
  33391. }
  33392. }
  33393. },
  33394. "order.QueryTradeDetailRsp": {
  33395. "type": "object",
  33396. "required": [
  33397. "accountid",
  33398. "buyorsell",
  33399. "goodsid",
  33400. "marketid",
  33401. "memberuserid",
  33402. "orderid",
  33403. "tradeamount",
  33404. "tradedate",
  33405. "tradeid",
  33406. "tradeprice",
  33407. "tradeqty",
  33408. "tradetime"
  33409. ],
  33410. "properties": {
  33411. "accountid": {
  33412. "description": "账户ID[报价币种]",
  33413. "type": "integer"
  33414. },
  33415. "advanceratio": {
  33416. "description": "首付比率",
  33417. "type": "number"
  33418. },
  33419. "buildtype": {
  33420. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  33421. "type": "integer"
  33422. },
  33423. "buyorsell": {
  33424. "description": "方向 - 0:买 1:卖",
  33425. "type": "integer"
  33426. },
  33427. "charge": {
  33428. "description": "手续费",
  33429. "type": "number"
  33430. },
  33431. "closecharge": {
  33432. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  33433. "type": "number"
  33434. },
  33435. "closeexchagechargevalue": {
  33436. "description": "平仓交易所手续费设置值",
  33437. "type": "number"
  33438. },
  33439. "closefeealgorithm": {
  33440. "description": "平仓手续费收取方式 1:比率 2:固定",
  33441. "type": "integer"
  33442. },
  33443. "closememberchargevalue": {
  33444. "description": "平仓会员手续费设置值",
  33445. "type": "number"
  33446. },
  33447. "closepl": {
  33448. "description": "平仓盈亏",
  33449. "type": "number"
  33450. },
  33451. "closepl2": {
  33452. "description": "平仓盈亏[逐笔]",
  33453. "type": "number"
  33454. },
  33455. "closeqty": {
  33456. "description": "平仓数量(先建后平操作 需要记录)",
  33457. "type": "number"
  33458. },
  33459. "creditamount": {
  33460. "description": "授信金额",
  33461. "type": "number"
  33462. },
  33463. "decimalplace": {
  33464. "description": "商品报价小数位",
  33465. "type": "integer"
  33466. },
  33467. "enumdicname": {
  33468. "description": "单位名称",
  33469. "type": "string"
  33470. },
  33471. "gcaccountid": {
  33472. "description": "账户ID[合约币种]",
  33473. "type": "integer"
  33474. },
  33475. "goodscode": {
  33476. "description": "商品代码",
  33477. "type": "string"
  33478. },
  33479. "goodsid": {
  33480. "description": "商品ID",
  33481. "type": "integer"
  33482. },
  33483. "goodsname": {
  33484. "description": "商品名称",
  33485. "type": "string"
  33486. },
  33487. "goodunitid": {
  33488. "description": "商品单位id",
  33489. "type": "integer"
  33490. },
  33491. "intclosepl": {
  33492. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  33493. "type": "integer"
  33494. },
  33495. "isconfirmexercise": {
  33496. "description": "是否确认行权- 0:否 1:是",
  33497. "type": "integer"
  33498. },
  33499. "ismain": {
  33500. "description": "是否主单 - 0:不是 1:是",
  33501. "type": "integer"
  33502. },
  33503. "ispreexercise": {
  33504. "description": "是否预申报- 0:否 1:是",
  33505. "type": "integer"
  33506. },
  33507. "isreckoned": {
  33508. "description": "是否结算 - 0:未结算 1:已结算",
  33509. "type": "integer"
  33510. },
  33511. "listingselecttype": {
  33512. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  33513. "type": "integer"
  33514. },
  33515. "marketid": {
  33516. "description": "市场ID",
  33517. "type": "integer"
  33518. },
  33519. "marketname": {
  33520. "description": "市场名称",
  33521. "type": "string"
  33522. },
  33523. "matchaccountid": {
  33524. "description": "对手账号id",
  33525. "type": "integer"
  33526. },
  33527. "memberuserid": {
  33528. "description": "会员id 个人投资者 需要填写",
  33529. "type": "integer"
  33530. },
  33531. "opencharge": {
  33532. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  33533. "type": "number"
  33534. },
  33535. "openexchagechargevalue": {
  33536. "description": "建仓交易所手续费设置值",
  33537. "type": "number"
  33538. },
  33539. "openfeealgorithm": {
  33540. "description": "建仓手续费收取方式 1:比率 2:固定",
  33541. "type": "integer"
  33542. },
  33543. "openmemberchargevalue": {
  33544. "description": "建仓会员手续费设置值",
  33545. "type": "number"
  33546. },
  33547. "openqty": {
  33548. "description": "开仓数量(先建后平操作 需要记录)",
  33549. "type": "number"
  33550. },
  33551. "optiontype": {
  33552. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  33553. "type": "integer"
  33554. },
  33555. "orderid": {
  33556. "description": "委托单号",
  33557. "type": "string"
  33558. },
  33559. "payamount": {
  33560. "description": "支付金额(付款金额)",
  33561. "type": "number"
  33562. },
  33563. "performanceplanid": {
  33564. "description": "履约计划ID[期权]",
  33565. "type": "integer"
  33566. },
  33567. "performancestatus": {
  33568. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  33569. "type": "integer"
  33570. },
  33571. "preexerciseprice": {
  33572. "description": "预申报价格",
  33573. "type": "number"
  33574. },
  33575. "premium": {
  33576. "description": "权利金 - [持仓单的权利金]",
  33577. "type": "number"
  33578. },
  33579. "qtydecimalplace": {
  33580. "description": "商品报价小数位",
  33581. "type": "integer"
  33582. },
  33583. "recvamount": {
  33584. "description": "到账金额 = 成交金额 - 手续费",
  33585. "type": "number"
  33586. },
  33587. "relatedouttradeid": {
  33588. "description": "关联外部成交单ID",
  33589. "type": "integer"
  33590. },
  33591. "status": {
  33592. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  33593. "type": "integer"
  33594. },
  33595. "totalamount": {
  33596. "description": "订单总额 = 成交金额 + 手续费",
  33597. "type": "number"
  33598. },
  33599. "tradeamount": {
  33600. "description": "成交金额[账户币种,用于所有权]",
  33601. "type": "number"
  33602. },
  33603. "tradedate": {
  33604. "description": "交易日(yyyyMMdd)",
  33605. "type": "string"
  33606. },
  33607. "tradeid": {
  33608. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  33609. "type": "string"
  33610. },
  33611. "trademode": {
  33612. "description": "交易模式",
  33613. "type": "integer"
  33614. },
  33615. "tradeprice": {
  33616. "description": "成交价格",
  33617. "type": "number"
  33618. },
  33619. "tradeproperty": {
  33620. "description": "交易属性",
  33621. "type": "integer"
  33622. },
  33623. "tradeqty": {
  33624. "description": "成交数量",
  33625. "type": "number"
  33626. },
  33627. "tradetime": {
  33628. "description": "成交时间",
  33629. "type": "string"
  33630. },
  33631. "tradetype": {
  33632. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  33633. "type": "integer"
  33634. }
  33635. }
  33636. },
  33637. "order.QueryTradeOrderDetailRsp": {
  33638. "type": "object",
  33639. "required": [
  33640. "accountid",
  33641. "buildtype",
  33642. "buyorsell",
  33643. "goodsid",
  33644. "marketid",
  33645. "operatetype",
  33646. "orderqty",
  33647. "ordertime",
  33648. "pricemode",
  33649. "tradedate",
  33650. "validtype"
  33651. ],
  33652. "properties": {
  33653. "accountid": {
  33654. "description": "账户ID[报价币种]",
  33655. "type": "integer"
  33656. },
  33657. "buildtype": {
  33658. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  33659. "type": "integer"
  33660. },
  33661. "buyorsell": {
  33662. "description": "买卖 - 0:买 1:卖",
  33663. "type": "integer"
  33664. },
  33665. "cancelorderid": {
  33666. "description": "撤单单号(撤单时填写)",
  33667. "type": "string"
  33668. },
  33669. "cancelqty": {
  33670. "description": "撤单数量",
  33671. "type": "number"
  33672. },
  33673. "clienttype": {
  33674. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  33675. "type": "integer"
  33676. },
  33677. "closefreezecharge": {
  33678. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  33679. "type": "number"
  33680. },
  33681. "closeqty": {
  33682. "description": "平仓数量(先建后平操作 需要记录)",
  33683. "type": "number"
  33684. },
  33685. "closetradeqty": {
  33686. "description": "平仓成交数量(先建后平操作,需要记录)",
  33687. "type": "number"
  33688. },
  33689. "closeunfreezecharge": {
  33690. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  33691. "type": "number"
  33692. },
  33693. "decimalplace": {
  33694. "description": "商品报价小数位",
  33695. "type": "integer"
  33696. },
  33697. "delistingtype": {
  33698. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  33699. "type": "integer"
  33700. },
  33701. "enableqty": {
  33702. "description": "可用数量 = 委托数量 - 成交数量 - 撤单数量",
  33703. "type": "number"
  33704. },
  33705. "enumdicname": {
  33706. "description": "单位名称",
  33707. "type": "string"
  33708. },
  33709. "freezecharge": {
  33710. "description": "冻结手续费",
  33711. "type": "number"
  33712. },
  33713. "freezemargin": {
  33714. "description": "冻结保证金(冻结交易金额)",
  33715. "type": "number"
  33716. },
  33717. "goodscode": {
  33718. "description": "商品代码",
  33719. "type": "string"
  33720. },
  33721. "goodsid": {
  33722. "description": "商品ID",
  33723. "type": "integer"
  33724. },
  33725. "goodsname": {
  33726. "description": "商品名称",
  33727. "type": "string"
  33728. },
  33729. "goodunitid": {
  33730. "description": "商品单位id",
  33731. "type": "integer"
  33732. },
  33733. "listingselecttype": {
  33734. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  33735. "type": "integer"
  33736. },
  33737. "marketid": {
  33738. "description": "市场ID",
  33739. "type": "integer"
  33740. },
  33741. "marketname": {
  33742. "description": "市场名称",
  33743. "type": "string"
  33744. },
  33745. "openfreezecharge": {
  33746. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  33747. "type": "number"
  33748. },
  33749. "openqty": {
  33750. "description": "开仓数量(先建后平操作,需要记录)",
  33751. "type": "number"
  33752. },
  33753. "opentradeqty": {
  33754. "description": "开仓成交数量(先建后平操作,需要记录)",
  33755. "type": "number"
  33756. },
  33757. "openunfreezecharge": {
  33758. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  33759. "type": "number"
  33760. },
  33761. "operatetype": {
  33762. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  33763. "type": "integer"
  33764. },
  33765. "operatorid": {
  33766. "description": "登录账号(LoginID)",
  33767. "type": "integer"
  33768. },
  33769. "orderid": {
  33770. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  33771. "type": "string"
  33772. },
  33773. "orderprice": {
  33774. "description": "委托价格",
  33775. "type": "number"
  33776. },
  33777. "orderqty": {
  33778. "description": "委托数量",
  33779. "type": "number"
  33780. },
  33781. "ordersrc": {
  33782. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  33783. "type": "integer"
  33784. },
  33785. "orderstatus": {
  33786. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  33787. "type": "integer"
  33788. },
  33789. "ordertime": {
  33790. "description": "委托时间",
  33791. "type": "string"
  33792. },
  33793. "preorderid": {
  33794. "description": "关联预埋单号(止盈止损单时填写)",
  33795. "type": "string"
  33796. },
  33797. "pricemode": {
  33798. "description": "取价方式 - 1:市价 2: 限价",
  33799. "type": "integer"
  33800. },
  33801. "qtydecimalplace": {
  33802. "description": "商品报价小数位",
  33803. "type": "integer"
  33804. },
  33805. "relatedid": {
  33806. "description": "关联单号(交割单)",
  33807. "type": "string"
  33808. },
  33809. "tradedate": {
  33810. "description": "交易日(yyyyMMdd)",
  33811. "type": "string"
  33812. },
  33813. "trademode": {
  33814. "description": "交易模式",
  33815. "type": "integer"
  33816. },
  33817. "tradeqty": {
  33818. "description": "成交数量",
  33819. "type": "number"
  33820. },
  33821. "unfreezecharge": {
  33822. "description": "解冻手续费",
  33823. "type": "number"
  33824. },
  33825. "unfreezemargin": {
  33826. "description": "解冻保证金",
  33827. "type": "number"
  33828. },
  33829. "validtime": {
  33830. "description": "有效期限",
  33831. "type": "string"
  33832. },
  33833. "validtype": {
  33834. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  33835. "type": "integer"
  33836. },
  33837. "volumetype": {
  33838. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  33839. "type": "integer"
  33840. }
  33841. }
  33842. },
  33843. "order.QueryTradePositionRsp": {
  33844. "type": "object",
  33845. "required": [
  33846. "goodsid"
  33847. ],
  33848. "properties": {
  33849. "accountid": {
  33850. "description": "资金账户",
  33851. "type": "integer"
  33852. },
  33853. "agreeunit": {
  33854. "description": "合约单位",
  33855. "type": "number"
  33856. },
  33857. "averageprice": {
  33858. "description": "持仓均价",
  33859. "type": "number"
  33860. },
  33861. "buyorsell": {
  33862. "description": "方向 - 0:买 1:卖",
  33863. "type": "integer"
  33864. },
  33865. "closetotalqty": {
  33866. "description": "平仓总数量",
  33867. "type": "number"
  33868. },
  33869. "curholderamount": {
  33870. "description": "当前持仓总金额[商品币种]",
  33871. "type": "number"
  33872. },
  33873. "curpositionqty": {
  33874. "description": "当前持仓总数量",
  33875. "type": "number"
  33876. },
  33877. "currencyid": {
  33878. "description": "报价货币ID",
  33879. "type": "integer"
  33880. },
  33881. "curtdposition": {
  33882. "description": "期末今日头寸",
  33883. "type": "number"
  33884. },
  33885. "decimalplace": {
  33886. "description": "报价小数位",
  33887. "type": "integer"
  33888. },
  33889. "enableqty": {
  33890. "description": "可用量",
  33891. "type": "number"
  33892. },
  33893. "fretdposition": {
  33894. "description": "冻结今日头寸",
  33895. "type": "number"
  33896. },
  33897. "frozenqty": {
  33898. "description": "持仓冻结数量",
  33899. "type": "number"
  33900. },
  33901. "goodscode": {
  33902. "description": "商品代码",
  33903. "type": "string"
  33904. },
  33905. "goodsid": {
  33906. "description": "商品Id",
  33907. "type": "integer"
  33908. },
  33909. "goodsname": {
  33910. "description": "商品名称",
  33911. "type": "string"
  33912. },
  33913. "goodunit": {
  33914. "description": "报价单位",
  33915. "type": "string"
  33916. },
  33917. "goodunitid": {
  33918. "description": "报价单位ID",
  33919. "type": "integer"
  33920. },
  33921. "holderamount": {
  33922. "description": "期初持仓总金额[商品币种]",
  33923. "type": "number"
  33924. },
  33925. "lastprice": {
  33926. "description": "最新价",
  33927. "type": "number"
  33928. },
  33929. "marketamount": {
  33930. "description": "市值",
  33931. "type": "number"
  33932. },
  33933. "marketid": {
  33934. "description": "所属市场ID",
  33935. "type": "integer"
  33936. },
  33937. "openreqqty": {
  33938. "description": "开仓申请数量(用于比较最大持仓数量)",
  33939. "type": "number"
  33940. },
  33941. "opentotalqty": {
  33942. "description": "开仓总数量",
  33943. "type": "number"
  33944. },
  33945. "otherfrozenqty": {
  33946. "description": "持仓其他冻结数量(交割冻结)",
  33947. "type": "number"
  33948. },
  33949. "positionpl": {
  33950. "description": "持仓盈亏 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向 = (持仓均价 - 最新价) * 卖期末头寸 * 合约单位",
  33951. "type": "number"
  33952. },
  33953. "positionplrate": {
  33954. "description": "持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本",
  33955. "type": "number"
  33956. },
  33957. "positionqty": {
  33958. "description": "期初持仓数量",
  33959. "type": "number"
  33960. },
  33961. "qtydecimalplace": {
  33962. "description": "成交量小数位",
  33963. "type": "integer"
  33964. },
  33965. "tnqty": {
  33966. "description": "T+N冻结总量",
  33967. "type": "number"
  33968. },
  33969. "tnusedqty": {
  33970. "description": "T+N使用量(可以使用T+N的冻结数量)",
  33971. "type": "number"
  33972. },
  33973. "trademode": {
  33974. "description": "交易模式",
  33975. "type": "integer"
  33976. },
  33977. "usedmargin": {
  33978. "description": "占用保证金[商品币种]",
  33979. "type": "number"
  33980. }
  33981. }
  33982. },
  33983. "quote.HistoryData": {
  33984. "type": "object",
  33985. "properties": {
  33986. "c": {
  33987. "description": "收盘价",
  33988. "type": "number"
  33989. },
  33990. "f": {
  33991. "description": "是否补充数据",
  33992. "type": "boolean"
  33993. },
  33994. "h": {
  33995. "description": "最高价",
  33996. "type": "number"
  33997. },
  33998. "hv": {
  33999. "description": "持仓量",
  34000. "type": "integer"
  34001. },
  34002. "l": {
  34003. "description": "最低价",
  34004. "type": "number"
  34005. },
  34006. "o": {
  34007. "description": "开盘价",
  34008. "type": "number"
  34009. },
  34010. "s": {
  34011. "description": "结算价,日线周期(包括)以上才有",
  34012. "type": "number"
  34013. },
  34014. "ts": {
  34015. "description": "时间",
  34016. "type": "string"
  34017. },
  34018. "tt": {
  34019. "description": "总金额",
  34020. "type": "number"
  34021. },
  34022. "tv": {
  34023. "description": "总量",
  34024. "type": "integer"
  34025. }
  34026. }
  34027. },
  34028. "quote.HistoryTikData": {
  34029. "type": "object",
  34030. "properties": {
  34031. "AV": {
  34032. "description": "卖量",
  34033. "type": "integer"
  34034. },
  34035. "Ask": {
  34036. "description": "卖价",
  34037. "type": "number"
  34038. },
  34039. "BV": {
  34040. "description": "买量",
  34041. "type": "integer"
  34042. },
  34043. "Bid": {
  34044. "description": "买价",
  34045. "type": "number"
  34046. },
  34047. "HI": {
  34048. "description": "单笔持仓",
  34049. "type": "integer"
  34050. },
  34051. "HV": {
  34052. "description": "持仓量",
  34053. "type": "integer"
  34054. },
  34055. "PE": {
  34056. "description": "现价",
  34057. "type": "number"
  34058. },
  34059. "TDR": {
  34060. "description": "交易方向,0:买 1:卖",
  34061. "type": "integer"
  34062. },
  34063. "TK": {
  34064. "description": "交易类型",
  34065. "type": "integer"
  34066. },
  34067. "TS": {
  34068. "description": "行情时间文本",
  34069. "type": "string"
  34070. },
  34071. "TT": {
  34072. "description": "现金额",
  34073. "type": "number"
  34074. },
  34075. "Vol": {
  34076. "description": "现量",
  34077. "type": "integer"
  34078. }
  34079. }
  34080. },
  34081. "quote.QueryQuoteDayRsp": {
  34082. "type": "object",
  34083. "properties": {
  34084. "ask": {
  34085. "description": "卖1",
  34086. "type": "number"
  34087. },
  34088. "ask10": {
  34089. "description": "卖10",
  34090. "type": "number"
  34091. },
  34092. "ask2": {
  34093. "description": "卖2",
  34094. "type": "number"
  34095. },
  34096. "ask3": {
  34097. "description": "卖3",
  34098. "type": "number"
  34099. },
  34100. "ask4": {
  34101. "description": "卖4",
  34102. "type": "number"
  34103. },
  34104. "ask5": {
  34105. "description": "卖5",
  34106. "type": "number"
  34107. },
  34108. "ask6": {
  34109. "description": "卖6",
  34110. "type": "number"
  34111. },
  34112. "ask7": {
  34113. "description": "卖7",
  34114. "type": "number"
  34115. },
  34116. "ask8": {
  34117. "description": "卖8",
  34118. "type": "number"
  34119. },
  34120. "ask9": {
  34121. "description": "卖9",
  34122. "type": "number"
  34123. },
  34124. "askorderid": {
  34125. "description": "卖单号1",
  34126. "type": "integer"
  34127. },
  34128. "askorderid2": {
  34129. "description": "卖单号2",
  34130. "type": "integer"
  34131. },
  34132. "askorderid3": {
  34133. "description": "卖单号3",
  34134. "type": "integer"
  34135. },
  34136. "askorderid4": {
  34137. "description": "卖单号4",
  34138. "type": "integer"
  34139. },
  34140. "askorderid5": {
  34141. "description": "卖单号5",
  34142. "type": "integer"
  34143. },
  34144. "askordervolume": {
  34145. "description": "卖单量1",
  34146. "type": "integer"
  34147. },
  34148. "askordervolume10": {
  34149. "description": "卖单量10",
  34150. "type": "integer"
  34151. },
  34152. "askordervolume2": {
  34153. "description": "卖单量2",
  34154. "type": "integer"
  34155. },
  34156. "askordervolume3": {
  34157. "description": "卖单量3",
  34158. "type": "integer"
  34159. },
  34160. "askordervolume4": {
  34161. "description": "卖单量4",
  34162. "type": "integer"
  34163. },
  34164. "askordervolume5": {
  34165. "description": "卖单量5",
  34166. "type": "integer"
  34167. },
  34168. "askordervolume6": {
  34169. "description": "卖单量6",
  34170. "type": "integer"
  34171. },
  34172. "askordervolume7": {
  34173. "description": "卖单量7",
  34174. "type": "integer"
  34175. },
  34176. "askordervolume8": {
  34177. "description": "卖单量8",
  34178. "type": "integer"
  34179. },
  34180. "askordervolume9": {
  34181. "description": "卖单量9",
  34182. "type": "integer"
  34183. },
  34184. "askqueueinfo": {
  34185. "description": "大利市卖港股用",
  34186. "type": "string"
  34187. },
  34188. "askvolume": {
  34189. "description": "卖量1",
  34190. "type": "integer"
  34191. },
  34192. "askvolume10": {
  34193. "description": "卖量10",
  34194. "type": "integer"
  34195. },
  34196. "askvolume2": {
  34197. "description": "卖量2",
  34198. "type": "integer"
  34199. },
  34200. "askvolume3": {
  34201. "description": "卖量3",
  34202. "type": "integer"
  34203. },
  34204. "askvolume4": {
  34205. "description": "卖量4",
  34206. "type": "integer"
  34207. },
  34208. "askvolume5": {
  34209. "description": "卖量5",
  34210. "type": "integer"
  34211. },
  34212. "askvolume6": {
  34213. "description": "卖量6",
  34214. "type": "integer"
  34215. },
  34216. "askvolume7": {
  34217. "description": "卖量7",
  34218. "type": "integer"
  34219. },
  34220. "askvolume8": {
  34221. "description": "卖量8",
  34222. "type": "integer"
  34223. },
  34224. "askvolume9": {
  34225. "description": "卖量9",
  34226. "type": "integer"
  34227. },
  34228. "averageprice": {
  34229. "description": "均价",
  34230. "type": "number"
  34231. },
  34232. "bid": {
  34233. "description": "买1",
  34234. "type": "number"
  34235. },
  34236. "bid10": {
  34237. "description": "买10",
  34238. "type": "number"
  34239. },
  34240. "bid2": {
  34241. "description": "买2",
  34242. "type": "number"
  34243. },
  34244. "bid3": {
  34245. "description": "买3",
  34246. "type": "number"
  34247. },
  34248. "bid4": {
  34249. "description": "买4",
  34250. "type": "number"
  34251. },
  34252. "bid5": {
  34253. "description": "买5",
  34254. "type": "number"
  34255. },
  34256. "bid6": {
  34257. "description": "买6",
  34258. "type": "number"
  34259. },
  34260. "bid7": {
  34261. "description": "买7",
  34262. "type": "number"
  34263. },
  34264. "bid8": {
  34265. "description": "买8",
  34266. "type": "number"
  34267. },
  34268. "bid9": {
  34269. "description": "买9",
  34270. "type": "number"
  34271. },
  34272. "bidorderid": {
  34273. "description": "买单号1",
  34274. "type": "integer"
  34275. },
  34276. "bidorderid2": {
  34277. "description": "买单号2",
  34278. "type": "integer"
  34279. },
  34280. "bidorderid3": {
  34281. "description": "买单号3",
  34282. "type": "integer"
  34283. },
  34284. "bidorderid4": {
  34285. "description": "买单号4",
  34286. "type": "integer"
  34287. },
  34288. "bidorderid5": {
  34289. "description": "买单号5",
  34290. "type": "integer"
  34291. },
  34292. "bidordervolume": {
  34293. "description": "买单量1",
  34294. "type": "integer"
  34295. },
  34296. "bidordervolume10": {
  34297. "description": "买单量10",
  34298. "type": "integer"
  34299. },
  34300. "bidordervolume2": {
  34301. "description": "买单量2",
  34302. "type": "integer"
  34303. },
  34304. "bidordervolume3": {
  34305. "description": "买单量3",
  34306. "type": "integer"
  34307. },
  34308. "bidordervolume4": {
  34309. "description": "买单量4",
  34310. "type": "integer"
  34311. },
  34312. "bidordervolume5": {
  34313. "description": "买单量5",
  34314. "type": "integer"
  34315. },
  34316. "bidordervolume6": {
  34317. "description": "买单量6",
  34318. "type": "integer"
  34319. },
  34320. "bidordervolume7": {
  34321. "description": "买单量7",
  34322. "type": "integer"
  34323. },
  34324. "bidordervolume8": {
  34325. "description": "买单量8",
  34326. "type": "integer"
  34327. },
  34328. "bidordervolume9": {
  34329. "description": "买单量9",
  34330. "type": "integer"
  34331. },
  34332. "bidqueueinfo": {
  34333. "description": "大利市买港股用",
  34334. "type": "string"
  34335. },
  34336. "bidvolume": {
  34337. "description": "买量1",
  34338. "type": "integer"
  34339. },
  34340. "bidvolume10": {
  34341. "description": "买量10",
  34342. "type": "integer"
  34343. },
  34344. "bidvolume2": {
  34345. "description": "买量2",
  34346. "type": "integer"
  34347. },
  34348. "bidvolume3": {
  34349. "description": "买量3",
  34350. "type": "integer"
  34351. },
  34352. "bidvolume4": {
  34353. "description": "买量4",
  34354. "type": "integer"
  34355. },
  34356. "bidvolume5": {
  34357. "description": "买量5",
  34358. "type": "integer"
  34359. },
  34360. "bidvolume6": {
  34361. "description": "买量6",
  34362. "type": "integer"
  34363. },
  34364. "bidvolume7": {
  34365. "description": "买量7",
  34366. "type": "integer"
  34367. },
  34368. "bidvolume8": {
  34369. "description": "买量8",
  34370. "type": "integer"
  34371. },
  34372. "bidvolume9": {
  34373. "description": "买量9",
  34374. "type": "integer"
  34375. },
  34376. "calloptionpremiums": {
  34377. "description": "认购期权1",
  34378. "type": "integer"
  34379. },
  34380. "calloptionpremiums2": {
  34381. "description": "认购期权2",
  34382. "type": "integer"
  34383. },
  34384. "calloptionpremiums3": {
  34385. "description": "认购期权3",
  34386. "type": "integer"
  34387. },
  34388. "calloptionpremiums4": {
  34389. "description": "认购期权4",
  34390. "type": "integer"
  34391. },
  34392. "calloptionpremiums5": {
  34393. "description": "认购期权5",
  34394. "type": "integer"
  34395. },
  34396. "cleartime": {
  34397. "description": "清盘时间",
  34398. "type": "integer"
  34399. },
  34400. "exchangecode": {
  34401. "description": "交易所代码",
  34402. "type": "integer"
  34403. },
  34404. "exchangedate": {
  34405. "description": "交易日",
  34406. "type": "integer"
  34407. },
  34408. "goodscode": {
  34409. "description": "商品代码",
  34410. "type": "string"
  34411. },
  34412. "grepmarketprice": {
  34413. "description": "暗盘价 港股专用",
  34414. "type": "number"
  34415. },
  34416. "highest": {
  34417. "description": "最高价",
  34418. "type": "number"
  34419. },
  34420. "holdincrement": {
  34421. "description": "单笔持仓",
  34422. "type": "integer"
  34423. },
  34424. "holdvolume": {
  34425. "description": "持仓",
  34426. "type": "integer"
  34427. },
  34428. "iep": {
  34429. "description": "平衡价 港股专用",
  34430. "type": "number"
  34431. },
  34432. "iev": {
  34433. "description": "平衡量 港股专用",
  34434. "type": "number"
  34435. },
  34436. "inventory": {
  34437. "description": "库存",
  34438. "type": "integer"
  34439. },
  34440. "iscleared": {
  34441. "description": "是否清盘标志",
  34442. "type": "integer"
  34443. },
  34444. "issettled": {
  34445. "description": "是否结算标志",
  34446. "type": "integer"
  34447. },
  34448. "last": {
  34449. "description": "最新价",
  34450. "type": "number"
  34451. },
  34452. "lastlot": {
  34453. "description": "最新成交手数",
  34454. "type": "integer"
  34455. },
  34456. "lasttime": {
  34457. "description": "行情时间(只有现价变化行情时间才变化)",
  34458. "type": "string"
  34459. },
  34460. "lastturnover": {
  34461. "description": "最新成交金额",
  34462. "type": "number"
  34463. },
  34464. "lastvolume": {
  34465. "description": "最新成交量",
  34466. "type": "integer"
  34467. },
  34468. "limitdown": {
  34469. "description": "跌停价",
  34470. "type": "number"
  34471. },
  34472. "limitup": {
  34473. "description": "涨停价",
  34474. "type": "number"
  34475. },
  34476. "lowest": {
  34477. "description": "最低价",
  34478. "type": "number"
  34479. },
  34480. "nontotalholdervolume": {
  34481. "description": "非交易持仓量",
  34482. "type": "integer"
  34483. },
  34484. "nontotallot": {
  34485. "description": "非交易总手数",
  34486. "type": "integer"
  34487. },
  34488. "nontotalturnover": {
  34489. "description": "非交易总金额",
  34490. "type": "integer"
  34491. },
  34492. "nontotalvolume": {
  34493. "description": "非交易总量",
  34494. "type": "integer"
  34495. },
  34496. "opened": {
  34497. "description": "开盘价",
  34498. "type": "number"
  34499. },
  34500. "opentime": {
  34501. "description": "开盘时间",
  34502. "type": "string"
  34503. },
  34504. "orderid": {
  34505. "description": "序号",
  34506. "type": "integer"
  34507. },
  34508. "preclose": {
  34509. "description": "昨收",
  34510. "type": "number"
  34511. },
  34512. "preholdvolume": {
  34513. "description": "昨持仓",
  34514. "type": "integer"
  34515. },
  34516. "presettle": {
  34517. "description": "昨结价",
  34518. "type": "number"
  34519. },
  34520. "publictradetype": {
  34521. "description": "公共交易标志类型 港股专用",
  34522. "type": "string"
  34523. },
  34524. "putoptionpremiums": {
  34525. "description": "认沽期权1",
  34526. "type": "integer"
  34527. },
  34528. "putoptionpremiums2": {
  34529. "description": "认沽期权2",
  34530. "type": "integer"
  34531. },
  34532. "putoptionpremiums3": {
  34533. "description": "认沽期权3",
  34534. "type": "integer"
  34535. },
  34536. "putoptionpremiums4": {
  34537. "description": "认沽期权4",
  34538. "type": "integer"
  34539. },
  34540. "putoptionpremiums5": {
  34541. "description": "认沽期权5",
  34542. "type": "integer"
  34543. },
  34544. "settle": {
  34545. "description": "结算价",
  34546. "type": "number"
  34547. },
  34548. "strikeprice": {
  34549. "description": "发行价",
  34550. "type": "number"
  34551. },
  34552. "totalaskvolume": {
  34553. "description": "内盘",
  34554. "type": "integer"
  34555. },
  34556. "totalbidvolume": {
  34557. "description": "外盘",
  34558. "type": "integer"
  34559. },
  34560. "totallot": {
  34561. "description": "总手数",
  34562. "type": "integer"
  34563. },
  34564. "totalturnover": {
  34565. "description": "总金额",
  34566. "type": "number"
  34567. },
  34568. "totalvolume": {
  34569. "description": "总量",
  34570. "type": "integer"
  34571. },
  34572. "utclasttime": {
  34573. "description": "utc的行情时间",
  34574. "type": "string"
  34575. }
  34576. }
  34577. },
  34578. "quote.QueryTSDataRsp": {
  34579. "type": "object",
  34580. "properties": {
  34581. "Count": {
  34582. "description": "交易日应有数据个数",
  34583. "type": "integer"
  34584. },
  34585. "decimalPlace": {
  34586. "description": "小数位",
  34587. "type": "integer"
  34588. },
  34589. "endTime": {
  34590. "description": "结束时间",
  34591. "type": "string"
  34592. },
  34593. "goodsCode": {
  34594. "description": "商品代码",
  34595. "type": "string"
  34596. },
  34597. "historyDatas": {
  34598. "description": "历史数据",
  34599. "type": "array",
  34600. "items": {
  34601. "$ref": "#/definitions/quote.HistoryData"
  34602. }
  34603. },
  34604. "outGoodsCode": {
  34605. "description": "外部商品代码",
  34606. "type": "string"
  34607. },
  34608. "preSettle": {
  34609. "description": "昨结价",
  34610. "type": "number"
  34611. },
  34612. "runSteps": {
  34613. "description": "交易日开休市计划",
  34614. "type": "array",
  34615. "items": {
  34616. "$ref": "#/definitions/quote.TSDataRunStep"
  34617. }
  34618. },
  34619. "startTime": {
  34620. "description": "开始时间",
  34621. "type": "string"
  34622. },
  34623. "tradeDate": {
  34624. "description": "交易日",
  34625. "type": "string"
  34626. }
  34627. }
  34628. },
  34629. "quote.TSDataRunStep": {
  34630. "type": "object",
  34631. "properties": {
  34632. "end": {
  34633. "description": "真实结束时间",
  34634. "type": "string"
  34635. },
  34636. "endflag": {
  34637. "description": "结束日标识 - (-1:上日 0:当日 1:次日 )",
  34638. "type": "integer"
  34639. },
  34640. "endtime": {
  34641. "description": "结束时间(HH:mm)",
  34642. "type": "string"
  34643. },
  34644. "endweekday": {
  34645. "description": "结束周几",
  34646. "type": "integer"
  34647. },
  34648. "groupid": {
  34649. "description": "分组ID",
  34650. "type": "integer"
  34651. },
  34652. "runstep": {
  34653. "description": "运行阶段 - 2:连续交易",
  34654. "type": "integer"
  34655. },
  34656. "sectionid": {
  34657. "description": "从 1 开始 往下编 [0为系统清盘、结算时间] SectionId = 0时,开始时间=清盘时间 开始周几= 清盘周几, 结束时间=结算时间 结束周几=结算周几",
  34658. "type": "integer"
  34659. },
  34660. "start": {
  34661. "description": "真实开始时间",
  34662. "type": "string"
  34663. },
  34664. "startflag": {
  34665. "description": "开始日标识 - (-1:上日 0:当日 1:次日 )",
  34666. "type": "integer"
  34667. },
  34668. "starttime": {
  34669. "description": "起始时间(HH:mm)",
  34670. "type": "string"
  34671. },
  34672. "startweekday": {
  34673. "description": "起始周几",
  34674. "type": "integer"
  34675. },
  34676. "tradeweekday": {
  34677. "description": "交易日归属 - 0:星期天、1:星期一、2:星期二、3:星期三、4:星期四、5:星期五、6:星期六",
  34678. "type": "integer"
  34679. }
  34680. }
  34681. },
  34682. "szdz.QueryConvertLogRsp": {
  34683. "type": "object",
  34684. "required": [
  34685. "logid"
  34686. ],
  34687. "properties": {
  34688. "accountid": {
  34689. "description": "资金账户ID",
  34690. "type": "integer"
  34691. },
  34692. "clientticket": {
  34693. "description": "客户端流水号",
  34694. "type": "string"
  34695. },
  34696. "converttype": {
  34697. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍",
  34698. "type": "integer"
  34699. },
  34700. "createtime": {
  34701. "description": "记账时间",
  34702. "type": "string"
  34703. },
  34704. "daymaxvalue": {
  34705. "description": "配置当日最大转入限制",
  34706. "type": "number"
  34707. },
  34708. "daymaxvalue2": {
  34709. "description": "配置当日最大转入限制(转入)",
  34710. "type": "number"
  34711. },
  34712. "goodscode": {
  34713. "description": "商品代码",
  34714. "type": "string"
  34715. },
  34716. "goodsname": {
  34717. "description": "商品名称",
  34718. "type": "string"
  34719. },
  34720. "handlestatus": {
  34721. "description": "处理状态",
  34722. "type": "integer"
  34723. },
  34724. "innergoodsid": {
  34725. "description": "内部商品ID",
  34726. "type": "integer"
  34727. },
  34728. "inratio": {
  34729. "description": "配置转入比值",
  34730. "type": "integer"
  34731. },
  34732. "invalue": {
  34733. "description": "目标值",
  34734. "type": "number"
  34735. },
  34736. "logid": {
  34737. "description": "LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  34738. "type": "integer"
  34739. },
  34740. "mobile": {
  34741. "description": "手机号码(加密存储)",
  34742. "type": "string"
  34743. },
  34744. "outergoodscode": {
  34745. "description": "外部商品代码[JD\\PD]",
  34746. "type": "string"
  34747. },
  34748. "outratio": {
  34749. "description": "配置转出比值",
  34750. "type": "integer"
  34751. },
  34752. "outvalue": {
  34753. "description": "源值",
  34754. "type": "number"
  34755. },
  34756. "pddecimalplace": {
  34757. "description": "PD小数位",
  34758. "type": "integer"
  34759. },
  34760. "qty": {
  34761. "description": "数量",
  34762. "type": "string"
  34763. },
  34764. "remark": {
  34765. "description": "备注",
  34766. "type": "string"
  34767. },
  34768. "sessionid": {
  34769. "description": "会话ID",
  34770. "type": "integer"
  34771. },
  34772. "timemaxvalue": {
  34773. "description": "配置单次最大转入限制",
  34774. "type": "number"
  34775. },
  34776. "timemaxvalue2": {
  34777. "description": "配置单次最大转入限制(转入)",
  34778. "type": "number"
  34779. },
  34780. "timeminvalue": {
  34781. "description": "配置单次最小数量限制",
  34782. "type": "number"
  34783. },
  34784. "timeminvalue2": {
  34785. "description": "配置单次最小数量限制(转入)",
  34786. "type": "number"
  34787. },
  34788. "tradedate": {
  34789. "description": "交易日(yyyyMMdd)",
  34790. "type": "string"
  34791. },
  34792. "userid": {
  34793. "description": "用户ID",
  34794. "type": "integer"
  34795. }
  34796. }
  34797. },
  34798. "szdz.QueryGoodsPickupRsp": {
  34799. "type": "object",
  34800. "required": [
  34801. "takeorderid"
  34802. ],
  34803. "properties": {
  34804. "accountid": {
  34805. "description": "账户ID",
  34806. "type": "integer"
  34807. },
  34808. "address": {
  34809. "description": "提货人详细地址",
  34810. "type": "string"
  34811. },
  34812. "auditer": {
  34813. "description": "审核人",
  34814. "type": "integer"
  34815. },
  34816. "audittime": {
  34817. "description": "审核时间",
  34818. "type": "string"
  34819. },
  34820. "cardnum": {
  34821. "description": "提货人证件号码",
  34822. "type": "string"
  34823. },
  34824. "cardtypeid": {
  34825. "description": "提货人证件类型",
  34826. "type": "integer"
  34827. },
  34828. "checkremark": {
  34829. "description": "审核备注",
  34830. "type": "string"
  34831. },
  34832. "goodscode": {
  34833. "description": "商品代码",
  34834. "type": "string"
  34835. },
  34836. "goodsid": {
  34837. "description": "商品ID",
  34838. "type": "integer"
  34839. },
  34840. "goodsname": {
  34841. "description": "商品名称",
  34842. "type": "string"
  34843. },
  34844. "handlestatus": {
  34845. "description": "处理状态",
  34846. "type": "integer"
  34847. },
  34848. "marketid": {
  34849. "description": "市场ID",
  34850. "type": "integer"
  34851. },
  34852. "phonenum": {
  34853. "description": "提货人联系方式",
  34854. "type": "string"
  34855. },
  34856. "qty": {
  34857. "description": "提货数量",
  34858. "type": "number"
  34859. },
  34860. "recivername": {
  34861. "description": "提货人姓名",
  34862. "type": "string"
  34863. },
  34864. "reqtime": {
  34865. "description": "更新时间",
  34866. "type": "string"
  34867. },
  34868. "takemode": {
  34869. "description": "提货方式 - 2:自提 3:配送",
  34870. "type": "integer"
  34871. },
  34872. "takeorderid": {
  34873. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  34874. "type": "string"
  34875. },
  34876. "takeorderstatus": {
  34877. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  34878. "type": "integer"
  34879. },
  34880. "takeremark": {
  34881. "description": "提货备注",
  34882. "type": "string"
  34883. },
  34884. "tradedate": {
  34885. "description": "交易日(yyyyMMdd)",
  34886. "type": "string"
  34887. },
  34888. "userid": {
  34889. "description": "用户ID",
  34890. "type": "integer"
  34891. }
  34892. }
  34893. },
  34894. "szdz.QueryRecieptOrderRsp": {
  34895. "type": "object",
  34896. "required": [
  34897. "ordertime"
  34898. ],
  34899. "properties": {
  34900. "accountName": {
  34901. "description": "所属账号名称(已脱敏)",
  34902. "type": "string"
  34903. },
  34904. "accountid": {
  34905. "description": "资金账号",
  34906. "type": "integer"
  34907. },
  34908. "buyorsell": {
  34909. "description": "方向 - 0:买 1:卖",
  34910. "type": "integer"
  34911. },
  34912. "enableqty": {
  34913. "description": "可摘数量",
  34914. "type": "integer"
  34915. },
  34916. "goodscode": {
  34917. "description": "商品代码",
  34918. "type": "string"
  34919. },
  34920. "goodsid": {
  34921. "description": "商品ID",
  34922. "type": "integer"
  34923. },
  34924. "goodsname": {
  34925. "description": "商品名称",
  34926. "type": "string"
  34927. },
  34928. "orderid": {
  34929. "description": "委托单号",
  34930. "type": "string"
  34931. },
  34932. "orderprice": {
  34933. "description": "委托价格",
  34934. "type": "number"
  34935. },
  34936. "ordertime": {
  34937. "description": "委托时间",
  34938. "type": "string"
  34939. },
  34940. "tradedate": {
  34941. "description": "交易日(yyyyMMdd)",
  34942. "type": "string"
  34943. }
  34944. }
  34945. },
  34946. "szdz.QuerySZDZTradePositionRsp": {
  34947. "type": "object",
  34948. "properties": {
  34949. "accountid": {
  34950. "description": "账号Id",
  34951. "type": "integer"
  34952. },
  34953. "agreeunit": {
  34954. "description": "合约单位",
  34955. "type": "number"
  34956. },
  34957. "averageprice": {
  34958. "description": "持仓均价",
  34959. "type": "number"
  34960. },
  34961. "buyorsell": {
  34962. "description": "方向 - 0:买 1:卖",
  34963. "type": "integer"
  34964. },
  34965. "closetotalqty": {
  34966. "description": "平仓总数量",
  34967. "type": "integer"
  34968. },
  34969. "curholderamount": {
  34970. "description": "当前持仓总金额",
  34971. "type": "number"
  34972. },
  34973. "curpositionqty": {
  34974. "description": "当前持仓总数量",
  34975. "type": "integer"
  34976. },
  34977. "currencyid": {
  34978. "description": "报价货币ID",
  34979. "type": "integer"
  34980. },
  34981. "curtdposition": {
  34982. "description": "期末今日头寸",
  34983. "type": "integer"
  34984. },
  34985. "decimalplace": {
  34986. "description": "报价小数位",
  34987. "type": "integer"
  34988. },
  34989. "enableqty": {
  34990. "description": "可用量",
  34991. "type": "integer"
  34992. },
  34993. "fretdposition": {
  34994. "description": "冻结今日头寸",
  34995. "type": "integer"
  34996. },
  34997. "frozenqty": {
  34998. "description": "持仓冻结数量",
  34999. "type": "integer"
  35000. },
  35001. "goodscode": {
  35002. "description": "商品代码(内部)",
  35003. "type": "string"
  35004. },
  35005. "goodsid": {
  35006. "description": "商品Id",
  35007. "type": "integer"
  35008. },
  35009. "goodsname": {
  35010. "description": "商品名称",
  35011. "type": "string"
  35012. },
  35013. "goodunit": {
  35014. "description": "报价单位",
  35015. "type": "string"
  35016. },
  35017. "goodunitid": {
  35018. "description": "报价单位ID",
  35019. "type": "integer"
  35020. },
  35021. "holderamount": {
  35022. "description": "期初持仓总金额",
  35023. "type": "number"
  35024. },
  35025. "marketid": {
  35026. "description": "市场ID",
  35027. "type": "integer"
  35028. },
  35029. "openreqqty": {
  35030. "description": "开仓申请数量",
  35031. "type": "integer"
  35032. },
  35033. "opentotalqty": {
  35034. "description": "开仓总数量",
  35035. "type": "integer"
  35036. },
  35037. "otherfrozenqty": {
  35038. "description": "持仓其他冻结数量(交割冻结)",
  35039. "type": "integer"
  35040. },
  35041. "positionqty": {
  35042. "description": "期初持仓数量",
  35043. "type": "integer"
  35044. },
  35045. "szdz3freezqty": {
  35046. "description": "尚志大宗转换冻结总数量",
  35047. "type": "integer"
  35048. },
  35049. "tnqty": {
  35050. "description": "T+N冻结总量",
  35051. "type": "integer"
  35052. },
  35053. "tnusedqty": {
  35054. "description": "T+N使用量",
  35055. "type": "integer"
  35056. },
  35057. "trademode": {
  35058. "description": "交易模式",
  35059. "type": "integer"
  35060. },
  35061. "usedmargin": {
  35062. "description": "占用保证金",
  35063. "type": "number"
  35064. }
  35065. }
  35066. },
  35067. "taaccount.QueryAmountLogRsp": {
  35068. "type": "object",
  35069. "required": [
  35070. "accountid",
  35071. "amount",
  35072. "amountadjusttype",
  35073. "autoid",
  35074. "balance",
  35075. "createtime",
  35076. "currentbalance",
  35077. "operatetype"
  35078. ],
  35079. "properties": {
  35080. "OPERATETYPENAME": {
  35081. "description": "资金操作类型名称",
  35082. "type": "string"
  35083. },
  35084. "accountid": {
  35085. "description": "资金账户ID",
  35086. "type": "integer"
  35087. },
  35088. "agoodscode": {
  35089. "description": "竞拍商品代码",
  35090. "type": "string"
  35091. },
  35092. "agoodsname": {
  35093. "description": "竞拍商品名称",
  35094. "type": "string"
  35095. },
  35096. "amount": {
  35097. "description": "资金金额",
  35098. "type": "number"
  35099. },
  35100. "amountadjusttype": {
  35101. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  35102. "type": "integer"
  35103. },
  35104. "autoid": {
  35105. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  35106. "type": "integer"
  35107. },
  35108. "balance": {
  35109. "description": "期初余额",
  35110. "type": "number"
  35111. },
  35112. "businesscode": {
  35113. "description": "业务编号",
  35114. "type": "integer"
  35115. },
  35116. "createtime": {
  35117. "description": "发生时间",
  35118. "type": "string"
  35119. },
  35120. "currencyid": {
  35121. "description": "币种ID",
  35122. "type": "integer"
  35123. },
  35124. "currentbalance": {
  35125. "description": "期末余额(变动后金额)",
  35126. "type": "number"
  35127. },
  35128. "dgoodscode": {
  35129. "description": "交割商品代码",
  35130. "type": "string"
  35131. },
  35132. "dgoodsname": {
  35133. "description": "交割商品名称",
  35134. "type": "string"
  35135. },
  35136. "goodscode": {
  35137. "description": "商品代码",
  35138. "type": "string"
  35139. },
  35140. "goodsid": {
  35141. "description": "商品ID",
  35142. "type": "integer"
  35143. },
  35144. "goodsname": {
  35145. "description": "商品名称",
  35146. "type": "string"
  35147. },
  35148. "marketid": {
  35149. "description": "市场ID",
  35150. "type": "integer"
  35151. },
  35152. "marketname": {
  35153. "description": "市场名称",
  35154. "type": "string"
  35155. },
  35156. "moneyticket": {
  35157. "description": "资金流水号:银行端流水号",
  35158. "type": "integer"
  35159. },
  35160. "operatetype": {
  35161. "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:营销收款",
  35162. "type": "integer"
  35163. },
  35164. "relationorderid": {
  35165. "description": "关联单号",
  35166. "type": "string"
  35167. },
  35168. "remark": {
  35169. "description": "备注",
  35170. "type": "string"
  35171. },
  35172. "trademode": {
  35173. "description": "交易模式",
  35174. "type": "integer"
  35175. }
  35176. }
  35177. },
  35178. "taaccount.QueryHisAmountLogRsp": {
  35179. "type": "object",
  35180. "required": [
  35181. "accountid",
  35182. "amount",
  35183. "amountadjusttype",
  35184. "autoid",
  35185. "balance",
  35186. "createtime",
  35187. "currentbalance",
  35188. "histradedate",
  35189. "operatetype"
  35190. ],
  35191. "properties": {
  35192. "OPERATETYPENAME": {
  35193. "description": "资金操作类型名称",
  35194. "type": "string"
  35195. },
  35196. "accountid": {
  35197. "description": "资金账户ID",
  35198. "type": "integer"
  35199. },
  35200. "agoodscode": {
  35201. "description": "竞拍商品代码",
  35202. "type": "string"
  35203. },
  35204. "agoodsname": {
  35205. "description": "竞拍商品名称",
  35206. "type": "string"
  35207. },
  35208. "amount": {
  35209. "description": "资金金额",
  35210. "type": "number"
  35211. },
  35212. "amountadjusttype": {
  35213. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  35214. "type": "integer"
  35215. },
  35216. "autoid": {
  35217. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  35218. "type": "integer"
  35219. },
  35220. "balance": {
  35221. "description": "期初余额",
  35222. "type": "number"
  35223. },
  35224. "businesscode": {
  35225. "description": "业务编号",
  35226. "type": "integer"
  35227. },
  35228. "createtime": {
  35229. "description": "发生时间",
  35230. "type": "string"
  35231. },
  35232. "currencyid": {
  35233. "description": "币种ID",
  35234. "type": "integer"
  35235. },
  35236. "currentbalance": {
  35237. "description": "期末余额(变动后金额)",
  35238. "type": "number"
  35239. },
  35240. "dgoodscode": {
  35241. "description": "交割商品代码",
  35242. "type": "string"
  35243. },
  35244. "dgoodsname": {
  35245. "description": "交割商品名称",
  35246. "type": "string"
  35247. },
  35248. "goodscode": {
  35249. "description": "商品代码",
  35250. "type": "string"
  35251. },
  35252. "goodsid": {
  35253. "description": "商品ID",
  35254. "type": "integer"
  35255. },
  35256. "goodsname": {
  35257. "description": "商品名称",
  35258. "type": "string"
  35259. },
  35260. "histradedate": {
  35261. "description": "历史交易日",
  35262. "type": "string"
  35263. },
  35264. "isvaliddata": {
  35265. "description": "是否有效 - 0:无效 1:有效",
  35266. "type": "integer"
  35267. },
  35268. "marketid": {
  35269. "description": "市场ID",
  35270. "type": "integer"
  35271. },
  35272. "marketname": {
  35273. "description": "市场名称",
  35274. "type": "string"
  35275. },
  35276. "moneyticket": {
  35277. "description": "资金流水号:银行端流水号",
  35278. "type": "integer"
  35279. },
  35280. "operatetype": {
  35281. "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:营销收款",
  35282. "type": "integer"
  35283. },
  35284. "relationorderid": {
  35285. "description": "关联单号",
  35286. "type": "string"
  35287. },
  35288. "remark": {
  35289. "description": "备注",
  35290. "type": "string"
  35291. },
  35292. "trademode": {
  35293. "description": "交易模式",
  35294. "type": "integer"
  35295. }
  35296. }
  35297. },
  35298. "trade.QueryRecieptOrderRsp": {
  35299. "type": "object",
  35300. "required": [
  35301. "ordertime"
  35302. ],
  35303. "properties": {
  35304. "accountName": {
  35305. "description": "所属账号名称(已脱敏)",
  35306. "type": "string"
  35307. },
  35308. "accountid": {
  35309. "description": "资金账号",
  35310. "type": "integer"
  35311. },
  35312. "buyorsell": {
  35313. "description": "方向 - 0:买 1:卖",
  35314. "type": "integer"
  35315. },
  35316. "enableqty": {
  35317. "description": "可摘数量",
  35318. "type": "integer"
  35319. },
  35320. "goodscode": {
  35321. "description": "商品代码",
  35322. "type": "string"
  35323. },
  35324. "goodsid": {
  35325. "description": "商品ID",
  35326. "type": "integer"
  35327. },
  35328. "goodsname": {
  35329. "description": "商品名称",
  35330. "type": "string"
  35331. },
  35332. "orderid": {
  35333. "description": "委托单号",
  35334. "type": "string"
  35335. },
  35336. "orderprice": {
  35337. "description": "委托价格",
  35338. "type": "number"
  35339. },
  35340. "ordertime": {
  35341. "description": "委托时间",
  35342. "type": "string"
  35343. },
  35344. "tradedate": {
  35345. "description": "交易日(yyyyMMdd)",
  35346. "type": "string"
  35347. }
  35348. }
  35349. },
  35350. "user.LoginQueryRsp": {
  35351. "type": "object",
  35352. "properties": {
  35353. "areaRoles": {
  35354. "description": "所属角色信息",
  35355. "type": "array",
  35356. "items": {
  35357. "$ref": "#/definitions/models.Arearole"
  35358. }
  35359. },
  35360. "externalExchanges": {
  35361. "description": "外部交易所",
  35362. "type": "array",
  35363. "items": {
  35364. "$ref": "#/definitions/models.Externalexchange"
  35365. }
  35366. },
  35367. "goodsgroups": {
  35368. "description": "商品组",
  35369. "type": "array",
  35370. "items": {
  35371. "$ref": "#/definitions/models.Goodsgroup"
  35372. }
  35373. },
  35374. "loginAccount": {
  35375. "description": "登录账号",
  35376. "type": "object",
  35377. "$ref": "#/definitions/models.Loginaccount"
  35378. },
  35379. "markets": {
  35380. "description": "市场",
  35381. "type": "array",
  35382. "items": {
  35383. "$ref": "#/definitions/models.Market"
  35384. }
  35385. },
  35386. "systemParams": {
  35387. "description": "系统参数",
  35388. "type": "array",
  35389. "items": {
  35390. "$ref": "#/definitions/models.Systemparam"
  35391. }
  35392. },
  35393. "userAccount": {
  35394. "description": "用户账号",
  35395. "type": "object",
  35396. "$ref": "#/definitions/models.Useraccount"
  35397. },
  35398. "userInfo": {
  35399. "description": "用户信息",
  35400. "type": "object",
  35401. "$ref": "#/definitions/models.Userinfo"
  35402. },
  35403. "username": {
  35404. "description": "用户姓名",
  35405. "type": "string"
  35406. }
  35407. }
  35408. }
  35409. },
  35410. "securityDefinitions": {
  35411. "ApiKeyAuth": {
  35412. "type": "apiKey",
  35413. "name": "Authorization",
  35414. "in": "header"
  35415. }
  35416. }
  35417. }`
  35418. type swaggerInfo struct {
  35419. Version string
  35420. Host string
  35421. BasePath string
  35422. Schemes []string
  35423. Title string
  35424. Description string
  35425. }
  35426. // SwaggerInfo holds exported Swagger Info so clients can modify it
  35427. var SwaggerInfo = swaggerInfo{
  35428. Version: "1.0",
  35429. Host: "",
  35430. BasePath: "/api",
  35431. Schemes: []string{},
  35432. Title: "MTP2.0 查询服务 API",
  35433. Description: "新的查询服务,替代原通用查询服务。游客Token:c886a057f3d820d4dbc41473686c7c2d",
  35434. }
  35435. type s struct{}
  35436. func (s *s) ReadDoc() string {
  35437. sInfo := SwaggerInfo
  35438. sInfo.Description = strings.Replace(sInfo.Description, "\n", "\\n", -1)
  35439. t, err := template.New("swagger_info").Funcs(template.FuncMap{
  35440. "marshal": func(v interface{}) string {
  35441. a, _ := json.Marshal(v)
  35442. return string(a)
  35443. },
  35444. }).Parse(doc)
  35445. if err != nil {
  35446. return doc
  35447. }
  35448. var tpl bytes.Buffer
  35449. if err := t.Execute(&tpl, sInfo); err != nil {
  35450. return doc
  35451. }
  35452. return tpl.String()
  35453. }
  35454. func init() {
  35455. swag.Register(swag.Name, &s{})
  35456. }